Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
29 | private static function getLogger(): Logger |
||
30 | { |
||
31 | if (self::$logger === null) { |
||
32 | self::$logger = new Logger('stu'); |
||
33 | self::$logger->pushHandler( |
||
34 | new StreamHandler( |
||
35 | Init::getContainer() |
||
36 | ->get(StuConfigInterface::class) |
||
37 | ->getDebugSettings() |
||
38 | ->getLogfilePath() |
||
39 | ), |
||
40 | ); |
||
41 | } |
||
42 | |||
43 | return self::$logger; |
||
44 | } |
||
46 |
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