From 10875c9fc78a4577f5e94d59fa9222b4eafb8f84 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 3 Jun 2024 15:51:38 +0200 Subject: [PATCH] [Symfony Bundle] Fix the usage of a deprecated class (#1717) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix the usage of a deprecated class * Add an entry to the CHANGELOG.md * Update src/Integration/Symfony/Bundle/CHANGELOG.md --------- Co-authored-by: Jérémy Derussé --- CHANGELOG.md | 5 +++++ src/DependencyInjection/AsyncAwsExtension.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c608e04..94736bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## NOT RELEASED +### Changed + +- Replace deprecated Extension by Symfony\Component\DependencyInjection\Extension\Extension + instead of the deprecated Symfony\Component\HttpKernel\DependencyInjection\Extension class + ## 1.12.1 ### Changed diff --git a/src/DependencyInjection/AsyncAwsExtension.php b/src/DependencyInjection/AsyncAwsExtension.php index e7f6189..39c1310 100644 --- a/src/DependencyInjection/AsyncAwsExtension.php +++ b/src/DependencyInjection/AsyncAwsExtension.php @@ -15,8 +15,8 @@ use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\Definition; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Reference; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Contracts\Cache\CacheInterface; use Symfony\Contracts\HttpClient\HttpClientInterface;