Total Complexity | 3 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class ThetellaraServiceProvider extends ServiceProvider |
||
17 | { |
||
18 | /* |
||
19 | * Indicates if loading of the provider is deferred. |
||
20 | * |
||
21 | * @var bool |
||
22 | */ |
||
23 | protected $defer = false; |
||
24 | |||
25 | /** |
||
26 | * Publishes all the config file this package needs to function |
||
27 | */ |
||
28 | public function boot() |
||
34 | ]); |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Register the application services. |
||
39 | */ |
||
40 | public function register() |
||
41 | { |
||
42 | $this->app->bind('thetellara', function () { |
||
43 | |||
44 | return new Thetellara; |
||
45 | |||
46 | }); |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * Get the services provided by the provider |
||
51 | * @return array |
||
52 | */ |
||
53 | public function provides() |
||
56 | } |
||
57 | } |
||
58 |
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