Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
67 | 3 | private function countedExceptions(int $added, int $benchmarked): string |
|
68 | { |
||
69 | 3 | if (0 !== $exceptions = $added - $benchmarked) { |
|
70 | return |
||
71 | 3 | sprintf( |
|
72 | 3 | '%s %s', |
|
73 | 3 | static::EXCEPTIONS, |
|
74 | 3 | $exceptions |
|
75 | ); |
||
76 | } |
||
77 | // @codeCoverageIgnoreStart |
||
78 | return ''; |
||
79 | // @codeCoverageIgnoreEnd |
||
82 |