Skip to content

[Symfony 2.8] Add rename of Simple(Pre|Form)AuthenticatorInterface from Core to Http namespace - #1031

Merged
TomasVotruba merged 1 commit into
mainfrom
rename-simple-pre-authenticator-interface
Aug 11, 2026
Merged

[Symfony 2.8] Add rename of Simple(Pre|Form)AuthenticatorInterface from Core to Http namespace#1031
TomasVotruba merged 1 commit into
mainfrom
rename-simple-pre-authenticator-interface

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Symfony 2.8 deprecated the Simple*AuthenticatorInterface interfaces in the Security\Core namespace and moved them to Security\Http. They were removed later, so the rename is a required upgrade step.

Added to composer-based.php, bonded to symfony/symfony >=2.8.

-use Symfony\Component\Security\Core\Authentication\SimplePreAuthenticatorInterface;
+use Symfony\Component\Security\Http\Authentication\SimplePreAuthenticatorInterface;

-use Symfony\Component\Security\Core\Authentication\SimpleFormAuthenticatorInterface;
+use Symfony\Component\Security\Http\Authentication\SimpleFormAuthenticatorInterface;

Ref: https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.8.md#security

@TomasVotruba
TomasVotruba merged commit b9fd994 into main Aug 11, 2026
7 checks passed
@TomasVotruba
TomasVotruba deleted the rename-simple-pre-authenticator-interface branch August 11, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant