Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public static function run($file) |
||
21 | { |
||
22 | $content = trim($file->content, '\''); |
||
23 | $ranges = explode('|', $content); |
||
24 | |||
25 | $pretty = '[' . PHP_EOL; |
||
26 | |||
27 | foreach ($ranges as $range) { |
||
28 | $pretty .= "\t'". $range . "'," . PHP_EOL; |
||
29 | } |
||
30 | |||
31 | $pretty .= ']' . PHP_EOL; |
||
32 | |||
33 | return $pretty; |
||
34 | } |
||
36 |
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