Skip to content

Deprecation #50

@Huluti

Description

@Huluti

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions