From 35571bdee5b4cab9765e9b92c5e1103a47b94216 Mon Sep 17 00:00:00 2001 From: Florian Guimier Date: Tue, 29 Sep 2026 20:41:08 +0200 Subject: [PATCH 1/2] Require Symfony 7.4 or later Drops Symfony 7.0 to 7.3, which are no longer maintained. It also unlocks the requireTld option of the Url constraint, added in 7.1. Refs IT9PE1-32062 Co-Authored-By: Claude Opus 5.5 --- composer.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 741656e..728c146 100755 --- a/composer.json +++ b/composer.json @@ -31,19 +31,19 @@ } }, "require-dev": { - "symfony/yaml": "^7.0|^8.0", - "symfony/validator": "^7.0|^8.0", + "symfony/yaml": "^7.4|^8.0", + "symfony/validator": "^7.4|^8.0", "phpstan/phpstan-symfony": "^2", "assoconnect/php-quality-config": "^2.2", - "symfony/security-core": "^7.0|^8.0", - "symfony/var-exporter": "^7.0|^8.0" + "symfony/security-core": "^7.4|^8.0", + "symfony/var-exporter": "^7.4|^8.0" }, "require": { "php": "^8.4", - "symfony/framework-bundle": "^7.0|^8.0", + "symfony/framework-bundle": "^7.4|^8.0", "doctrine/dbal": "^3.6|^4.0", - "symfony/serializer": "^7.0|^8.0", - "symfony/property-access": "^7.0|^8.0", + "symfony/serializer": "^7.4|^8.0", + "symfony/property-access": "^7.4|^8.0", "doctrine/doctrine-bundle": "^2.12|^3.0", "doctrine/orm": "^2.20|^3.0", "moneyphp/money": "^3.2|^4.0", From 9b629412960ab5ab0250b424716242a4f0b0acb6 Mon Sep 17 00:00:00 2001 From: Florian Guimier Date: Tue, 29 Sep 2026 21:00:21 +0200 Subject: [PATCH 2/2] Raise the lowest tooling floors the Symfony 7.4 floor exposes With Symfony 7.4 as the lowest set, three versions break the lowest CI: - symfony/config 7.4.0 ships TreeBuilder generics that PHPStan rejects, fixed in 7.4.1; - phpstan/phpstan-symfony below 2.0.9 cannot read them; - symfony/polyfill-php85 below 1.33 lacks array_last(), which the latest Rector calls on PHP 8.4. symfony/config becomes an explicit requirement: the bundle builds its configuration tree with it. Refs IT9PE1-32062 Co-Authored-By: Claude Opus 5.5 --- composer.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 728c146..d58766d 100755 --- a/composer.json +++ b/composer.json @@ -33,10 +33,11 @@ "require-dev": { "symfony/yaml": "^7.4|^8.0", "symfony/validator": "^7.4|^8.0", - "phpstan/phpstan-symfony": "^2", + "phpstan/phpstan-symfony": "^2.0.9", "assoconnect/php-quality-config": "^2.2", "symfony/security-core": "^7.4|^8.0", - "symfony/var-exporter": "^7.4|^8.0" + "symfony/var-exporter": "^7.4|^8.0", + "symfony/polyfill-php85": "^1.33" }, "require": { "php": "^8.4", @@ -50,7 +51,8 @@ "ext-json": "*", "ramsey/uuid": "^4.3", "ramsey/uuid-doctrine": "^1.4|^2.0", - "thecodingmachine/safe": "^3.4" + "thecodingmachine/safe": "^3.4", + "symfony/config": "^7.4.1|^8.0" }, "config": { "allow-plugins": {