| Conditions | 2 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function register() |
||
| 27 | { |
||
| 28 | $this->mergeConfigFrom(__DIR__ . '/config/config.php', 'laravel-serpapi'); |
||
| 29 | |||
| 30 | $this->app->bind('laravel-serpapi-search', function () { |
||
| 31 | |||
| 32 | $api_key = config('laravel-serpapi.api_key'); |
||
| 33 | $engine = config('laravel-serpapi.search_engine') ?: 'google'; |
||
| 34 | |||
| 35 | return new SerpApiSearch($api_key, $engine); |
||
| 36 | }); |
||
| 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