Skip to content

Commit 42bc990

Browse files
committed
bug #240 Deprecate eraseCredentials (symfony 7.3 compatibility) (fxbt)
This PR was merged into the 1.x-dev branch. Discussion ---------- Deprecate eraseCredentials (symfony 7.3 compatibility) Since symfony/security-http 7.3: Implementing "eraseCredentials()" is deprecated https://symfony.com/blog/new-in-symfony-7-3-security-improvements#deprecate-erasecredentials-method Commits ------- f510322 Deprecate eraseCredentials (symfony 7.3 compatibility)
2 parents 6a084a1 + f510322 commit 42bc990

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Security/User/ClientCredentialsUser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public function getRoles(): array
3434
return [];
3535
}
3636

37+
#[\Deprecated]
3738
public function eraseCredentials(): void
3839
{
3940
return;

0 commit comments

Comments
 (0)