From bc5894bba8dcf570b9e88f1a927cf26945e38f78 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 17 Dec 2025 15:33:02 +0100 Subject: [PATCH] Keep support for SF 7 --- .github/workflows/ci.yaml | 4 ++++ UPGRADE.md | 2 +- composer.json | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c9edde7..d7977d4 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 9033437..fa55124 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -4,7 +4,7 @@ UPGRADE From 3.x to 4.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 constructor of password constraints has changed, see (Upgrade instructions of the validator library)[https://github.com/rollerworks/PasswordStrengthValidator/blob/main/UPGRADE.md] diff --git a/composer.json b/composer.json index 335cf4f..31d16d7 100644 --- a/composer.json +++ b/composer.json @@ -22,13 +22,13 @@ "require": { "php": ">=8.4", "rollerworks/password-strength-validator": "^3.0", - "symfony/framework-bundle": "^8.0" + "symfony/framework-bundle": "^7.4 || ^8.0" }, "require-dev": { "matthiasnoback/symfony-dependency-injection-test": "^6.2", "phpunit/phpunit": "^12.4", "rollerscapes/standards": "^1.0", - "symfony/phpunit-bridge": "^8.0" + "symfony/phpunit-bridge": "^7.4 || ^8.0" }, "minimum-stability": "dev", "prefer-stable": true,