Conditions | 4 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 4.3731 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | 38 | private function setupConfig($app) |
|
35 | { |
||
36 | 38 | $source = realpath(__DIR__ . '/../config/butler.php'); |
|
37 | |||
38 | 38 | if ($app instanceof LaravelApplication && $app->runningInConsole()) { |
|
39 | 38 | $this->publishes([$source => config_path('butler.php')]); |
|
40 | } elseif ($app instanceof LumenApplication) { |
||
41 | $app->configure('butler'); |
||
42 | } |
||
43 | |||
44 | 38 | $this->mergeConfigFrom($source, 'butler'); |
|
45 | } |
||
47 |
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