diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php b/src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php index 0e9681b75149d..3170346b92094 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php @@ -109,7 +109,7 @@ public static function getSubscribedServices() /** * Returns true if the service id is defined. * - * @deprecated since 5.4, use method or constructor injection in your controller instead + * @deprecated since Symfony 5.4, use method or constructor injection in your controller instead */ protected function has(string $id): bool { @@ -123,7 +123,7 @@ protected function has(string $id): bool * * @return object The service * - * @deprecated since 5.4, use method or constructor injection in your controller instead + * @deprecated since Symfony 5.4, use method or constructor injection in your controller instead */ protected function get(string $id): object { @@ -379,7 +379,7 @@ protected function createFormBuilder($data = null, array $options = []): FormBui * * @throws \LogicException If DoctrineBundle is not available * - * @deprecated since 5.4, inject an instance of ManagerRegistry in your controller instead + * @deprecated since Symfony 5.4, inject an instance of ManagerRegistry in your controller instead */ protected function getDoctrine(): ManagerRegistry { @@ -439,7 +439,7 @@ protected function isCsrfTokenValid(string $id, ?string $token): bool * * @param object|Envelope $message The message or the message pre-wrapped in an envelope * - * @deprecated since 5.4, inject an instance of MessageBusInterface in your controller instead + * @deprecated since Symfony 5.4, inject an instance of MessageBusInterface in your controller instead */ protected function dispatchMessage(object $message, array $stamps = []): Envelope { diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php index 92c2d168e2a01..455f1112ad00e 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php @@ -1043,7 +1043,7 @@ private function createRequestMatcher(ContainerBuilder $container, string $path } /** - * @deprecated since 5.4, use "addAuthenticatorFactory()" instead + * @deprecated since Symfony 5.4, use "addAuthenticatorFactory()" instead */ public function addSecurityListenerFactory(SecurityFactoryInterface $factory) {