Conditions | 2 |
Paths | 2 |
Total Lines | 18 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | public static function environment() |
||
39 | { |
||
40 | if (is_null(self::$definition)) { |
||
41 | self::$definition = (new Definition()) |
||
42 | ->addConfig('dev') |
||
43 | ->addConfig('test') |
||
44 | ->inheritFrom('dev') |
||
45 | ->addConfig('staging') |
||
46 | ->inheritFrom('dev') |
||
47 | ->addConfig('prod') |
||
48 | ->inheritFrom('staging') |
||
49 | ->inheritFrom('dev') |
||
50 | ->setCache(['dev', 'test'], new NoCacheEngine()) |
||
51 | ->setCache(['prod', 'staging'], new FileSystemCacheEngine()) |
||
52 | ; |
||
53 | } |
||
54 | |||
55 | return self::$definition; |
||
56 | } |
||
58 |
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