Skip to content

Commit

Permalink
Psalm: suppress bogus MissingDependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ostrolucky committed Jul 13, 2022
1 parent e9fd82e commit 24ec74e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/RegistryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ public function testResetGhostObject(): void
self::markTestSkipped('This test requires ORM and VarExporter 6.2+');
}

/** @psalm-suppress MissingDependency https://github.com/vimeo/psalm/issues/8258 */
$ghostManager = $this->createMock(LazyGhostObjectEntityManagerInterface::class);
$ghostManager->expects($this->once())
->method('resetLazyGhostObject')
->willReturn(true);
/** @psalm-suppress MissingDependency https://github.com/vimeo/psalm/issues/8258 */
$ghostManager->expects($this->once())->method('resetLazyGhostObject')->willReturn(true);

$container = $this->getMockBuilder(ContainerInterface::class)->getMock();
$container->expects($this->any())
Expand Down

0 comments on commit 24ec74e

Please sign in to comment.