Conditions | 2 |
Paths | 1 |
Total Lines | 3 |
Code Lines | 1 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
35 | 132 | final public function exceptionMessageOnTestFailure($parameterName, $value, $itemType = false) |
|
36 | { |
||
37 | 132 | return sprintf('sprintf(\'Invalid value %%s, the value must be %s %s %s\', var_export($%4$s, true))', is_numeric($value) ? 'numerically' : 'chronologically', $this->comparisonString(), $value, $parameterName); |
|
38 | } |
||
40 |