From 76caab8675c68956d56a2dd03f66384251e0aa7c Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Wed, 3 Jul 2024 19:54:12 +0200 Subject: [PATCH] Remove usage of the deprecated base extension from HttpKernel (#1204) The base extension available in HttpKernel only adds support for registering some classes to be added in the cache warmer of the doctrine/annotations parser, compared to the base class of the DI component. As annotations are not supported anymore in Symfony 7, this base class has been deprecated in Symfony 7.1. As this bundle does not rely on the extra feature, it can use the base class from DI directly. --- src/Bridge/Symfony/DependencyInjection/NelmioAliceExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bridge/Symfony/DependencyInjection/NelmioAliceExtension.php b/src/Bridge/Symfony/DependencyInjection/NelmioAliceExtension.php index a74a9ec2..909daa55 100644 --- a/src/Bridge/Symfony/DependencyInjection/NelmioAliceExtension.php +++ b/src/Bridge/Symfony/DependencyInjection/NelmioAliceExtension.php @@ -17,9 +17,9 @@ use InvalidArgumentException; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; use Symfony\Component\Finder\Finder; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; /** * @private