Conditions | 3 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
48 | 6 | private function getLineAndFile(CallerData $caller): string |
|
49 | { |
||
50 | 6 | if (($this->options & static::SHOW_LINE_AND_FILE) && self::STR_UNDEFINED !== $caller->getFunction()) { |
|
51 | return |
||
52 | 4 | sprintf( |
|
53 | 4 | '[%s:"%s"] ', |
|
54 | 4 | $caller->getLine(), |
|
55 | 4 | $caller->getFile() |
|
56 | ); |
||
57 | } |
||
58 | 2 | return ''; |
|
59 | } |
||
74 |