| Conditions | 6 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 42 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 25 | protected function inTrace(array $frames): bool |
||
| 26 | { |
||
| 27 | foreach ($frames as $frame) { |
||
| 28 | if (array_key_exists('file', $frame) && $this->exception->getFile() == $frame['file'] && |
||
| 29 | array_key_exists('line', $frame) && $this->exception->getLine() == $frame['line']) { |
||
| 30 | return true; |
||
| 31 | } |
||
| 32 | } |
||
| 33 | |||
| 34 | return false; |
||
| 35 | } |
||
| 70 |