Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class Provider extends ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Bootstrap the application events. |
||
12 | */ |
||
13 | public function boot(Router $router) |
||
14 | { |
||
15 | $this->publishes([ |
||
16 | __DIR__ . '/Config/signed-url.php' => config_path('signed-url.php'), |
||
17 | ], 'signed-url'); |
||
18 | |||
19 | $this->app->singleton('signed-url', function () { |
||
20 | return new SignedUrl(); |
||
21 | }); |
||
22 | |||
23 | $router->aliasMiddleware('signed-url', config('signed-url.middleware')); |
||
24 | |||
25 | $this->app->alias(SignedUrl::class, 'signed-url'); |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Register the application services. |
||
30 | * |
||
31 | * @return void |
||
32 | */ |
||
33 | public function register() |
||
36 | } |
||
37 | } |
||
38 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths