diff --git a/src/Maker/MakeAuthenticator.php b/src/Maker/MakeAuthenticator.php index 17854f7cb..718e3d337 100644 --- a/src/Maker/MakeAuthenticator.php +++ b/src/Maker/MakeAuthenticator.php @@ -54,8 +54,6 @@ use Symfony\Component\Security\Http\Util\TargetPathTrait; use Symfony\Component\Yaml\Yaml; -trigger_deprecation('symfony/maker-bundle', 'v1.59.0', 'The "%s" class is deprecated, use any of the Security\Make* commands instead.', MakeAuthenticator::class); - /** * @deprecated since MakerBundle v1.59.0, use any of the Security/Make* instead. * @@ -99,6 +97,8 @@ public function configureCommand(Command $command, InputConfiguration $inputConf public function interact(InputInterface $input, ConsoleStyle $io, Command $command): void { + trigger_deprecation('symfony/maker-bundle', 'v1.59.0', 'The "%s" class is deprecated, use any of the Security\Make* commands instead.', self::class); + $io->caution('"make:auth" is deprecated, use any of the "make:security" commands instead.'); if (!$this->fileManager->fileExists($path = 'config/packages/security.yaml')) {