Merge pull request #1487 from ergebnis/dependabot/composer/phpstan/ph… #4055
Annotations
1 warning
Run mutation tests with Xdebug and infection/infection:
src/FixtureFactory.php#L459
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
}
$classMetadataOfFieldValue = $this->entityManager->getClassMetadata($fieldValue::class);
$collection = $classMetadataOfFieldValue->getFieldValue($fieldValue, $inversedBy);
- if (!$collection instanceof Common\Collections\Collection) {
+ if (!true) {
return;
}
$collection->add($entity);
|
Loading