Conditions | 1 |
Paths | 1 |
Total Lines | 3 |
Code Lines | 1 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
32 | public function exceptionMessageOnTestFailure($parameterName, $value, $itemType = false) |
||
33 | { |
||
34 | return sprintf('sprintf(\'Invalid value %%s, the value must at most contain %1$d digits, "%%d" given\', var_export($%2$s, true), strlen(substr($%2$s, strpos($%2$s, \'.\'))))', $value, $parameterName); |
||
35 | } |
||
37 |