Total Complexity | 7 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 95% |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class AppsServiceProvider extends ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Bootstrap the service provider. |
||
12 | * |
||
13 | * @return void |
||
14 | */ |
||
15 | 3 | public function boot() |
|
16 | { |
||
17 | 3 | if ($this->app->runningInConsole()) { |
|
18 | 3 | $this->publishAssets(); |
|
19 | } |
||
20 | 3 | } |
|
21 | |||
22 | /** |
||
23 | * Publish assets from package. |
||
24 | * |
||
25 | * @return void |
||
26 | */ |
||
27 | 3 | protected function publishAssets() |
|
28 | { |
||
29 | 3 | $this->publishes([ |
|
30 | 3 | __DIR__.'/../config/apps.php' => base_path('config/apps.php'), |
|
31 | 3 | ], 'laravel-apps'); |
|
32 | 3 | } |
|
33 | |||
34 | /** |
||
35 | * Register the service provider. |
||
36 | * |
||
37 | * @return void |
||
38 | */ |
||
39 | 3 | public function register() |
|
42 | 3 | } |
|
43 | |||
44 | /** |
||
45 | * Setup package assets. |
||
46 | * |
||
47 | * @return void |
||
48 | */ |
||
49 | 3 | protected function setupAssets() |
|
64 |
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