| Conditions | 5 |
| Paths | 4 |
| Total Lines | 18 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function parseTrace($index, array $trace) |
||
| 19 | { |
||
| 20 | $frame = (object) [ |
||
| 21 | 'index' => $index, |
||
| 22 | 'name' => null, |
||
| 23 | 'line' => isset($trace['line']) ? $trace['line'] : '?', |
||
| 24 | ]; |
||
| 25 | |||
| 26 | if (isset($trace['class']) && |
||
| 27 | isset($trace['file']) && |
||
| 28 | !$this->fileIsInExcludedPath($trace['file']) |
||
| 29 | ) { |
||
| 30 | $frame->name = $this->normalizeFilename($trace['file']); |
||
| 31 | |||
| 32 | return $frame; |
||
| 33 | } |
||
| 34 | |||
| 35 | return false; |
||
| 36 | } |
||
| 76 | } |