From 49ccd3913f030f546f94b744867082c0cc85f3f1 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Tue, 11 Aug 2026 14:05:05 +0200 Subject: [PATCH] [Symfony 2.8] Add rename of Simple(Pre|Form)AuthenticatorInterface from Core to Http namespace --- config/sets/symfony/composer-based.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/sets/symfony/composer-based.php b/config/sets/symfony/composer-based.php index 36129825..d9810880 100644 --- a/config/sets/symfony/composer-based.php +++ b/config/sets/symfony/composer-based.php @@ -397,6 +397,13 @@ ), ], 'symfony/routing', '>=2.8'); + // symfony/symfony 2.8 + $rectorConfig->ruleWithConfigurationComposerVersionBound(RenameClassRector::class, [ + // @see https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.8.md#security + 'Symfony\Component\Security\Core\Authentication\SimplePreAuthenticatorInterface' => 'Symfony\Component\Security\Http\Authentication\SimplePreAuthenticatorInterface', + 'Symfony\Component\Security\Core\Authentication\SimpleFormAuthenticatorInterface' => 'Symfony\Component\Security\Http\Authentication\SimpleFormAuthenticatorInterface', + ], 'symfony/symfony', '>=2.8'); + // symfony/bridge-swift-mailer 3.0 $rectorConfig->ruleWithConfigurationComposerVersionBound(RenameClassRector::class, [ // swift mailer