Configure Renovate #2
build.yaml
on: pull_request
Matrix: Code Coverage
Matrix: Coding Standards
Matrix: Dependency Analysis
Matrix: Mutation tests
Matrix: Static Code Analysis
Matrix: Unit tests
Annotations
1 error and 3 warnings
Mutation tests (8.2, highest)
Process completed with exit code 1.
|
Mutation tests (8.2, highest):
src/ORMTrait.php#L59
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
{
$cls = is_object($obj) ? $obj::class : $obj;
$repository = $this->getManager($cls)->getRepository($cls);
- if (null !== $expectedType && !$repository instanceof $expectedType) {
+ if (null !== $expectedType && !true) {
throw new \InvalidArgumentException(sprintf('Expected repository to be of type %s, but got %s', $expectedType, $repository::class));
}
return $repository;
}
}
|
Mutation tests (8.2, highest):
src/ORMTrait.php#L59
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
{
$cls = is_object($obj) ? $obj::class : $obj;
$repository = $this->getManager($cls)->getRepository($cls);
- if (null !== $expectedType && !$repository instanceof $expectedType) {
+ if (null !== $expectedType && !false) {
throw new \InvalidArgumentException(sprintf('Expected repository to be of type %s, but got %s', $expectedType, $repository::class));
}
return $repository;
}
}
|
Mutation tests (8.2, highest):
src/ORMTrait.php#L59
Escaped Mutant for Mutator "LogicalNot":
--- Original
+++ New
@@ @@
{
$cls = is_object($obj) ? $obj::class : $obj;
$repository = $this->getManager($cls)->getRepository($cls);
- if (null !== $expectedType && !$repository instanceof $expectedType) {
+ if (null !== $expectedType && $repository instanceof $expectedType) {
throw new \InvalidArgumentException(sprintf('Expected repository to be of type %s, but got %s', $expectedType, $repository::class));
}
return $repository;
}
}
|