From b1346fcec7cef5b06bb2cb206200a92fb4a5c64a Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 27 Oct 2023 14:35:42 +0200 Subject: [PATCH] allow the bundle to be used with Symfony 7 --- .github/workflows/ci.yaml | 6 ++++++ CHANGELOG.md | 1 + composer.json | 18 +++++++++--------- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 48339ef..3c9a7a6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -79,12 +79,18 @@ jobs: - php-version: '8.2' composer-options: '--prefer-stable' symfony-version: '6.4.*' + - php-version: '8.2' + composer-options: '--prefer-stable' + symfony-version: '7.0.*' - php-version: '8.3' composer-options: '--prefer-stable' symfony-version: '6.3.*' - php-version: '8.3' composer-options: '--prefer-stable' symfony-version: '6.4.*' + - php-version: '8.3' + composer-options: '--prefer-stable' + symfony-version: '7.0.*' steps: - name: 'Check out' diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bd367a..404b50e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ CHANGELOG 0.4.0 ----- +* add Symfony 7 support * the following classes are internal and can break BC at any time: * `RegisterExceptionHandlersPass` * `RichModelFormsExtension` diff --git a/composer.json b/composer.json index 4635e3e..57b8fa4 100644 --- a/composer.json +++ b/composer.json @@ -17,17 +17,17 @@ "require": { "php": "^8.1", "psr/container": "^1.0||^2.0", - "symfony/config": "^6.3", - "symfony/dependency-injection": "^6.3", - "symfony/form": "^6.3", - "symfony/framework-bundle": "^6.3", - "symfony/http-kernel": "^6.3", - "symfony/options-resolver": "^6.3", - "symfony/property-access": "^6.3" + "symfony/config": "^6.3||^7.0", + "symfony/dependency-injection": "^6.3||^7.0", + "symfony/form": "^6.3||^7.0", + "symfony/framework-bundle": "^6.3||^7.0", + "symfony/http-kernel": "^6.3||^7.0", + "symfony/options-resolver": "^6.3||^7.0", + "symfony/property-access": "^6.3||^7.0" }, "require-dev": { - "symfony/phpunit-bridge": "^6.3", - "symfony/translation": "^6.3" + "symfony/phpunit-bridge": "^6.3||^7.0", + "symfony/translation": "^6.3||^7.0" }, "conflict": { "sensiolabs-de/rich-model-forms-bundle": "0.8.*"