You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tests which cover invalid data for annotations are allowing some mutations to exist:
x) src/Validator.php:33 [M] Throw_
--- Original
+++ New
@@ @@
public function requiredScalar(string $attribute, string $type, $value) : void
{
if ($value === null) {
- throw AnnotationException::requiredError($attribute, $this->annotation, $this->context, $type);
+ AnnotationException::requiredError($attribute, $this->annotation, $this->context, $type);
}
$this->verifyType($attribute, $type, $value);
}
That happens because of an exception of the expected type is thrown by Validator#verifyType(). We should add the expected exception message and be able to remove these mutations.
The text was updated successfully, but these errors were encountered:
The tests which cover invalid data for annotations are allowing some mutations to exist:
That happens because of an exception of the expected type is thrown by
Validator#verifyType()
. We should add the expected exception message and be able to remove these mutations.The text was updated successfully, but these errors were encountered: