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 length, please provide an array with %1$d element(s) or a scalar of %1$d character(s) at most, "%%d" length given\', is_scalar($%2$s) ? strlen($%2$s) : count($%2$s))', $value, $parameterName); |
||
35 | } |
||
37 |