Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function boot() |
||
14 | { |
||
15 | $this->loadViewsFrom(__DIR__.'/../resources/views', 'laravel-sitemap'); |
||
16 | |||
17 | $this->publishes([ |
||
18 | __DIR__.'/../resources/views' => base_path('resources/views/vendor/laravel-sitemap'), |
||
19 | ], 'views'); |
||
20 | |||
21 | $this->publishes([ |
||
22 | __DIR__.'/../config/sitemap.php' => config_path('sitemap.php'), |
||
23 | ], 'config'); |
||
24 | |||
25 | $this->app->when(SitemapGenerator::class) |
||
26 | ->needs(Crawler::class) |
||
27 | ->give(function () { |
||
28 | return Crawler::create(config('sitemap.guzzle_options')); |
||
29 | }); |
||
40 |
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