Conditions | 3 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | public static function parametres(?array $config = null, bool $shared = true): Parametres |
||
25 | { |
||
26 | if (true === $shared && isset(static::$instances[Parametres::class])) { |
||
27 | 2 | return static::$instances[Parametres::class]; |
|
28 | } |
||
29 | |||
30 | 2 | return static::$instances[Parametres::class] = new Parametres($config ?? config('parametres')); |
|
31 | } |
||
33 |
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