Skip to content

Commit

Permalink
Merge pull request #394 from doctrine/3.3.x
Browse files Browse the repository at this point in the history
Merge 3.3.x up into 3.4.x
  • Loading branch information
greg0ire authored Oct 26, 2024
2 parents 0ba24bf + 55c7240 commit 4be79f9
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ public function testItThrowsWhenAttemptingToGetMetadataForShortAlias(): void
{
$cmf = $this->getMockForAbstractClass(AbstractClassMetadataFactory::class);
$this->expectException(MappingException::class);
/**
* @phpstan-suppress ArgumentTypeCoercion
* @phpstan-suppress UndefinedClass
*/
// @phpstan-ignore-next-line
$cmf->getMetadataFor('App:Test');
}
Expand All @@ -71,10 +67,6 @@ public function testItThrowsWhenAttemptingToCheckTransientForShortAlias(): void
{
$cmf = $this->getMockForAbstractClass(AbstractClassMetadataFactory::class);
$this->expectException(MappingException::class);
/**
* @phpstan-suppress ArgumentTypeCoercion
* @phpstan-suppress UndefinedClass
*/
// @phpstan-ignore-next-line
$cmf->isTransient('App:Test');
}
Expand All @@ -89,7 +81,6 @@ public function testItGetsTheSameMetadataForBackslashedClassName(): void
self::createStub(ClassMetadata::class)
);

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

0 comments on commit 4be79f9

Please sign in to comment.