| 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 |
||
| 39 | 34 | private function setupConfig($app) |
|
| 40 | { |
||
| 41 | 34 | $source = realpath(__DIR__ . '/../config/butler.php'); |
|
| 42 | |||
| 43 | 34 | if ($app instanceof LaravelApplication && $app->runningInConsole()) { |
|
| 44 | 34 | $this->publishes([$source => config_path('butler.php')]); |
|
| 45 | } elseif ($app instanceof LumenApplication) { |
||
| 46 | $app->configure('butler'); |
||
| 47 | } |
||
| 48 | |||
| 49 | 34 | $this->mergeConfigFrom($source, 'butler'); |
|
| 50 | 34 | } |
|
| 52 |
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