Skip to content

Commit 3c36484

Browse files
committed
Ignore deprecated eraseCredentials method call in test - this method will be removed when Symfony 8 is released
1 parent 1543f66 commit 3c36484

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Unit/Security/SecurityUserTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public function testThatPasswordIsPresentAfterEraseCredential(): void
6767

6868
$securityUser = new SecurityUser((new User())->setPassword($encoder, 'foobar'));
6969

70+
/** @phpstan-ignore-next-line */
7071
$securityUser->eraseCredentials();
7172

7273
self::assertSame('sbbone', $securityUser->getPassword());

0 commit comments

Comments
 (0)