Skip to content

Commit 7e7b8a7

Browse files
committed
PHPunit doesn't like an explanation with its @codeCoverageIgnore...
1 parent 1fdb514 commit 7e7b8a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/JsonSchema/Constraints/StringConstraint.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ private function strlen($string)
5555
return mb_strlen($string, mb_detect_encoding($string));
5656
}
5757

58-
return strlen($string); // @codeCoverageIgnore because mbstring is present on all test platforms
58+
// obstring is present on all test platforms, so strlen() can be ignored for coverage
59+
return strlen($string); // @codeCoverageIgnore
5960
}
6061
}

0 commit comments

Comments
 (0)