KeycloakClientBundle icon indicating copy to clipboard operation
KeycloakClientBundle copied to clipboard

Deprecation

Open Huluti opened this issue 3 months ago • 0 comments

Hello!

In our logs I can see such deprecations messages: [2025-10-21T14:01:49.079956+00:00] deprecation.INFO: User Deprecated: Since symfony/security-http 7.3: Implementing "Mainick\KeycloakClientBundle\Token\KeycloakResourceOwner::eraseCredentials()" is deprecated since Symfony 7.3; add the #[\Deprecated] attribute on the method to signal its either empty or that you moved the logic elsewhere, typically to the "__serialize()" method. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since symfony/security-http 7.3: Implementing \"Mainick\\KeycloakClientBundle\\Token\\KeycloakResourceOwner::eraseCredentials()\" is deprecated since Symfony 7.3; add the #[\\Deprecated] attribute on the method to signal its either empty or that you moved the logic elsewhere, typically to the \"__serialize()\" method. at /var/www/html/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:321)"} []

Not sure about the way to handle it for best compatibility with the versions you support.

Thanks!

Huluti avatar Oct 21 '25 16:10 Huluti