Conditions | 3 |
Paths | 4 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 3.0175 |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
49 | 3 | protected function setupAssets() |
|
50 | { |
||
51 | 3 | if ($this->app instanceof LumenApplication) { |
|
52 | $this->app->configure('apps'); |
||
53 | } |
||
54 | |||
55 | 3 | $this->mergeConfigFrom(__DIR__.'/../config/apps.php', 'apps'); |
|
56 | |||
57 | 3 | if (! $this->app['config']->has('apps.domain')) { |
|
58 | 3 | $this->app['config']['apps.domain'] = array_map(function ($url) { |
|
59 | 3 | return parse_url($url, PHP_URL_HOST); |
|
60 | 3 | }, $this->app['config']['apps.url']); |
|
61 | } |
||
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