Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | protected static function getRules() |
||
29 | 12 | { |
|
30 | 12 | if (null !== self::$rules) { |
|
31 | return self::$rules; |
||
32 | } |
||
33 | 3 | ||
34 | $reflector = new \ReflectionClass("Pdp\Rules"); |
||
35 | $base = \dirname($reflector->getFileName(), 2); |
||
36 | |||
37 | return self::$rules = Rules::fromPath($base.'/test_data/public_suffix_list.dat'); |
||
38 | |||
42 |
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