| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class SerpApiServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Boot the service provider. |
||
| 11 | */ |
||
| 12 | public function boot() |
||
| 13 | { |
||
| 14 | if (function_exists('config_path')) { |
||
| 15 | $this->publishes([ |
||
| 16 | __DIR__ . '/config/config.php' => config_path('laravel-serpapi.php'), |
||
| 17 | ], 'serpapi-config'); |
||
| 18 | } |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Register the service provider. |
||
| 23 | * |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | public function register() |
||
| 36 | }); |
||
| 37 | } |
||
| 39 |
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