| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2.0625 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 14 | 1 | public function getTraceAsStringRelativePath(): string |
|
| 15 | { |
||
| 16 | try { |
||
| 17 | 1 | return "\n\n".str_replace( |
|
| 18 | 1 | Config::getProjectRootDirectory(), |
|
| 19 | 1 | '', |
|
| 20 | 1 | parent::getTraceAsString() |
|
| 21 | 1 | )."\n\n"; |
|
| 22 | } catch (DoctrineStaticMetaException $e) { |
||
| 23 | return parent::getTraceAsString(); |
||
| 24 | } |
||
| 27 |