Skip to content

Commit

Permalink
fix: suppress irrelevant psalm inspection in tests
Browse files Browse the repository at this point in the history
Signed-off-by: vdmorozov <[email protected]>
  • Loading branch information
vdmorozov committed Dec 11, 2024
1 parent b0937fd commit 5722eaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/Proxy/LazyServiceFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public function testDoesNotResetInitializerWhenCallbackThrowsException(): void
->expects(self::once())
->method('createProxy')
->willReturnCallback(
/** @psalm-suppress UnusedVariable */
static function (string $className, callable $initializer) use ($expectedService, $proxy): MockObject {
$wrappedInstance = null;
$initializer($wrappedInstance, $proxy);
Expand Down

0 comments on commit 5722eaa

Please sign in to comment.