From 9cd2852dfc2c81cc858f4c97c95b86d65a25901f Mon Sep 17 00:00:00 2001 From: Herbert Roth Date: Thu, 6 Aug 2026 16:36:23 +0200 Subject: [PATCH] [Symfony 8] Extend the DependencyInjection Extension base class HttpKernel's DependencyInjection\Extension is deprecated in Symfony 8.1. The replacement already exists in 7.4 and is that class's own parent, so this only changes the import: "class ... extends Extension" stays as written and instanceof is unaffected. ConfigurableExtension, which lives in the same namespace, is a separate deprecation and is not touched. Co-Authored-By: Claude --- src/DependencyInjection/PimcoreStaticResolverExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DependencyInjection/PimcoreStaticResolverExtension.php b/src/DependencyInjection/PimcoreStaticResolverExtension.php index 293b01b..8a2b1d6 100644 --- a/src/DependencyInjection/PimcoreStaticResolverExtension.php +++ b/src/DependencyInjection/PimcoreStaticResolverExtension.php @@ -16,8 +16,8 @@ use Exception; 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; /** * This is the class that loads and manages your bundle configuration.