From 1e17417a118eee9def29f48fa5d38b85a4922836 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Sun, 7 Jul 2024 15:50:39 +0300 Subject: [PATCH 1/2] fix: deprecation warning on DI extension --- src/DependencyInjection/SncRedisExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DependencyInjection/SncRedisExtension.php b/src/DependencyInjection/SncRedisExtension.php index bbe5ef08..f3e7d5b7 100644 --- a/src/DependencyInjection/SncRedisExtension.php +++ b/src/DependencyInjection/SncRedisExtension.php @@ -29,7 +29,7 @@ use Symfony\Component\DependencyInjection\Definition; use Symfony\Component\DependencyInjection\Loader\PhpFileLoader; use Symfony\Component\DependencyInjection\Reference; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; +use Symfony\Component\DependencyInjection\Extension\Extension; use function array_map; use function assert; From 1fab27507b009c733a34fa1f56cbf04398c0d516 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Sun, 7 Jul 2024 16:37:47 +0300 Subject: [PATCH 2/2] style --- src/DependencyInjection/SncRedisExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DependencyInjection/SncRedisExtension.php b/src/DependencyInjection/SncRedisExtension.php index f3e7d5b7..797efd4e 100644 --- a/src/DependencyInjection/SncRedisExtension.php +++ b/src/DependencyInjection/SncRedisExtension.php @@ -27,9 +27,9 @@ use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Definition; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Loader\PhpFileLoader; use Symfony\Component\DependencyInjection\Reference; -use Symfony\Component\DependencyInjection\Extension\Extension; use function array_map; use function assert;