2323use Doctrine \ORM \Mapping \AssociationMapping ;
2424use Doctrine \ORM \Mapping \ClassMetadata ;
2525use Doctrine \ORM \Mapping \FieldMapping ;
26- use Doctrine \ORM \Mapping \ManyToManyOwningSideMapping ;
2726use PHPUnit \Framework \Attributes \DataProvider ;
2827use PHPUnit \Framework \Attributes \TestDox ;
2928use RuntimeException ;
@@ -262,9 +261,7 @@ public function testThatGetterReturnsExpectedValue(
262261 //if (array_key_exists('columnName', $meta) || array_key_exists('joinColumns', $meta)) {
263262 if (isset($meta->fieldName) && $meta->columnDefinition === null) {
264263 $value = PhpUnitUtil::getValidValueForType($type, $meta);
265-
266264 $entity->{$setter}($value);
267-
268265 self::assertSame(
269266 $value,
270267 $callable(),
@@ -278,10 +275,9 @@ public function testThatGetterReturnsExpectedValue(
278275 );
279276 } else {
280277 $type = ArrayCollection::class;
281-
282278 self::assertInstanceOf($type, $callable());
283279 }
284- */
280+ */
285281
286282 try {
287283 $ method = 'assertIs ' . ucfirst ($ type );
@@ -367,8 +363,6 @@ public function testThatManyToManyAssociationMethodsWorksAsExpected(
367363
368364 self ::assertTrue ($ collection ->contains ($ e ));
369365
370-
371-
372366 if (isset ($ m ['mappedBy ' ])) {
373367 /** @var ArrayCollection<int, EntityInterface> $collection */
374368 $ collection = $ e ->{'get ' . ucfirst ((string )$ m ['mappedBy ' ])}();
0 commit comments