Skip to content

Commit 55c7240

Browse files
authored
Merge pull request #391 from greg0ire/search-and-replace-issues
Remove phpstan-suppress annotations
2 parents dd6bbae + a17744e commit 55c7240

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/Persistence/Mapping/AbstractClassMetadataFactoryTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ public function testItThrowsWhenAttemptingToGetMetadataForShortAlias(): void
5959
{
6060
$cmf = $this->getMockForAbstractClass(AbstractClassMetadataFactory::class);
6161
$this->expectException(MappingException::class);
62-
/**
63-
* @phpstan-suppress ArgumentTypeCoercion
64-
* @phpstan-suppress UndefinedClass
65-
*/
6662
// @phpstan-ignore-next-line
6763
$cmf->getMetadataFor('App:Test');
6864
}
@@ -71,10 +67,6 @@ public function testItThrowsWhenAttemptingToCheckTransientForShortAlias(): void
7167
{
7268
$cmf = $this->getMockForAbstractClass(AbstractClassMetadataFactory::class);
7369
$this->expectException(MappingException::class);
74-
/**
75-
* @phpstan-suppress ArgumentTypeCoercion
76-
* @phpstan-suppress UndefinedClass
77-
*/
7870
// @phpstan-ignore-next-line
7971
$cmf->isTransient('App:Test');
8072
}
@@ -89,7 +81,6 @@ public function testItGetsTheSameMetadataForBackslashedClassName(): void
8981
self::createStub(ClassMetadata::class)
9082
);
9183

92-
/** @phpstan-suppress ArgumentTypeCoercion */
9384
self::assertSame($cmf->getMetadataFor(SomeOtherEntity::class), $cmf->getMetadataFor('\\' . SomeOtherEntity::class));
9485
}
9586
}

0 commit comments

Comments
 (0)