From 6320927930b682cf21e805aeca8c386b556558fd Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 17 Dec 2025 11:32:15 +0100 Subject: [PATCH] Keep SF 7 support --- .github/workflows/ci.yaml | 4 ++++ UPGRADE.md | 2 +- composer.json | 8 ++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index df2c19d..8e1e3d3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -107,6 +107,10 @@ jobs: php-version: '8.4' composer-options: '--prefer-stable' symfony-version: '^8.0' + - + php-version: '8.4' + composer-options: '--prefer-stable' + symfony-version: '^7.4' steps: - diff --git a/UPGRADE.md b/UPGRADE.md index c6404b2..b02bc82 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -3,7 +3,7 @@ UPGRADE ## Upgrade from 2.x to 3.0 -* Support for Symfony 6 and 7 was removed, PHP 8.4 and Symfony 8.0 is now the minimum required version. +* Support for Symfony 6 was removed, PHP 8.4 and Symfony 7.4 is now the minimum required version. * The constraints constructor was changed to better support the new Symfony validator. diff --git a/composer.json b/composer.json index 0bc6dc7..d6ff04d 100644 --- a/composer.json +++ b/composer.json @@ -20,14 +20,14 @@ ], "require": { "php": ">=8.4", - "symfony/config": "^8.0", + "symfony/config": "^7.4 || ^8.0", "symfony/polyfill-mbstring": "^1.5.0", - "symfony/translation": "^8.0", - "symfony/validator": "^8.0" + "symfony/translation": "^7.4 || ^8.0", + "symfony/validator": "^7.4 || ^8.0" }, "require-dev": { "phpunit/phpunit": "^12.4", - "symfony/phpunit-bridge": "^8.0", + "symfony/phpunit-bridge": "^7.4 || ^8.0", "rollerscapes/standards": "^1.0" }, "minimum-stability": "dev",