From fb4db485652701171cfc9816450b0491b3120ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20L=C3=A9v=C3=AAque?= Date: Fri, 22 Nov 2024 11:34:03 +0100 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. --- DependencyInjection/SpiriitFormFilterExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DependencyInjection/SpiriitFormFilterExtension.php b/DependencyInjection/SpiriitFormFilterExtension.php index de5f778..d006802 100644 --- a/DependencyInjection/SpiriitFormFilterExtension.php +++ b/DependencyInjection/SpiriitFormFilterExtension.php @@ -14,9 +14,9 @@ use Spiriit\Bundle\FormFilterBundle\Filter\FilterOperands; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Loader; use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; /** * This is the class that loads and manages your bundle configuration