From d5ea628e6587bdfd67364532635b27ecc8d40cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20Nork=C5=ABnas?= Date: Tue, 11 Jun 2024 09:53:37 +0300 Subject: [PATCH] Fix DI Extension class deprecation with Symfony 7.1 (#344) The "Symfony\Component\HttpKernel\DependencyInjection\Extension" class is considered internal since Symfony 7.1, to be deprecated in 8.1; use Symfony\Component\DependencyInjection\Extension\Extension instead. It may change without further notice. You should not use it from "Presta\SitemapBundle\DependencyInjection\PrestaSitemapExtension". --- src/DependencyInjection/PrestaSitemapExtension.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/DependencyInjection/PrestaSitemapExtension.php b/src/DependencyInjection/PrestaSitemapExtension.php index c6cc77d..cc39365 100644 --- a/src/DependencyInjection/PrestaSitemapExtension.php +++ b/src/DependencyInjection/PrestaSitemapExtension.php @@ -11,12 +11,10 @@ namespace Presta\SitemapBundle\DependencyInjection; -use Presta\SitemapBundle\Event\SitemapAddUrlEvent; -use Presta\SitemapBundle\Event\SitemapPopulateEvent; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Loader; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\Messenger\MessageBusInterface; /**