| Conditions | 3 |
| Paths | 3 |
| Total Lines | 17 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 39 | private function parsePhpSpyCompatible(array $buffer): ParsedCallTrace |
||
| 40 | { |
||
| 41 | $frames = []; |
||
| 42 | foreach ($buffer as $line_buffer) { |
||
| 43 | $result = explode(' ', $line_buffer); |
||
| 44 | [$depth, $name, $file_line] = $result; |
||
| 45 | if ($depth === '#') { // comment |
||
| 46 | continue; |
||
| 47 | } |
||
| 48 | [$file, $line] = explode(':', $file_line); |
||
| 49 | $frames[] = new ParsedCallFrame( |
||
| 50 | $name, |
||
| 51 | $file, |
||
| 52 | Cast::toInt($line), |
||
| 53 | ); |
||
| 54 | } |
||
| 55 | return new ParsedCallTrace(...$frames); |
||
| 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