From ef2d97b3d26912d6623f4ce8c21a6dfc16c8f50b Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Thu, 4 Jul 2024 11:58:47 +0200 Subject: [PATCH] Remove usage of the deprecated base extension from HttpKernel 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/DependencyInjection/KeenIOExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DependencyInjection/KeenIOExtension.php b/src/DependencyInjection/KeenIOExtension.php index a4aff69..7fe5565 100755 --- a/src/DependencyInjection/KeenIOExtension.php +++ b/src/DependencyInjection/KeenIOExtension.php @@ -3,9 +3,9 @@ namespace KeenIO\Bundle\KeenIOBundle\DependencyInjection; use Symfony\Component\DependencyInjection\Alias; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Definition; +use Symfony\Component\DependencyInjection\Extension\Extension; /** * @final