| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class FlickrServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | public function boot(): void |
||
| 10 | { |
||
| 11 | // |
||
| 12 | } |
||
| 13 | |||
| 14 | public function register(): void |
||
| 15 | { |
||
| 16 | $this->app->singleton('flickr', function ($app) { |
||
| 17 | $api = new Api(config('services.flickr.key', env('FLICKR_KEY'))); |
||
| 18 | |||
| 19 | return new Flickr($api); |
||
| 20 | }); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function provides(): array |
||
| 26 | } |
||
| 27 | } |
||
| 28 |
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