From 170a316f712d9d2e2c3a2375af984d82b5dfb9f5 Mon Sep 17 00:00:00 2001 From: Jeroen de Graaf Date: Mon, 1 Jul 2024 13:42:46 +0200 Subject: [PATCH 1/2] Update `Extension` to meet Symfony 7.1 deprecation Symfony 7.1 deprecation: 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. --- src/DependencyInjection/OverblogDataLoaderExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DependencyInjection/OverblogDataLoaderExtension.php b/src/DependencyInjection/OverblogDataLoaderExtension.php index 1be658f..5dd2e26 100644 --- a/src/DependencyInjection/OverblogDataLoaderExtension.php +++ b/src/DependencyInjection/OverblogDataLoaderExtension.php @@ -13,9 +13,9 @@ use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; use Symfony\Component\DependencyInjection\Reference; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; final class OverblogDataLoaderExtension extends Extension { From 95d643aa5c5727685916eb86f76efc3c0d222da5 Mon Sep 17 00:00:00 2001 From: Jeroen de Graaf Date: Mon, 1 Jul 2024 13:45:12 +0200 Subject: [PATCH 2/2] Update PHP and Symfony versions in CI --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd46548..e36420c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,12 @@ jobs: php-version: - '8.1' - '8.2' + - '8.3' symfony-version: - '5.4.*' - '6.3.*' - '7.0.*' + - '7.1.*' dependencies: - 'lowest' - 'highest' @@ -30,6 +32,8 @@ jobs: exclude: - php-version: '8.1' symfony-version: '7.0.*' + - php-version: '8.1' + symfony-version: '7.1.*' steps: - name: "Checkout"