Conditions | 3 |
Paths | 3 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3.2098 |
Changes | 0 |
1 | <?php |
||
46 | 1 | protected function setupConfig(): void |
|
47 | { |
||
48 | 1 | $source = \dirname(__DIR__) . '/config/phpcs.php'; |
|
49 | 1 | if ($this->app instanceof LaravelApplication) { |
|
50 | 1 | $this->publishes([$source => config_path('phpcs.php')]); |
|
51 | } elseif ($this->app instanceof LumenApplication) { |
||
52 | $this->app->configure('phpcs'); |
||
53 | } |
||
54 | 1 | $this->mergeConfigFrom($source, 'phpcs'); |
|
55 | 1 | } |
|
57 |
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