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