Repository navigation
[IT9PE1-32062] Require Symfony 7.4 or later - #44
Conversation
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
|
|
🤖 Review gate — 0 error / 0 warning / 1 info Human review needed: no — dependency constraints only: every 🧪 Coverage: 0/0 behavior changes — every change is a dependency constraint |



Summary
Refs IT9PE1-32062
symfony/*constraint from^7.0|^8.0to^7.4|^8.0: 7.0 to 7.3 are no longer maintained, and 7.4 is the LTS line.symfony/config^7.4.1|^8.0, now an explicit requirement since the bundle builds its configuration tree with it: 7.4.0 shipsTreeBuildergenerics PHPStan rejects;phpstan/phpstan-symfony^2.0.9: earlier releases cannot read those generics;symfony/polyfill-php85^1.33(dev): 1.32 lacksarray_last(), which the latest Rector calls on PHP 8.4.requireTldexplicitly on theUrlconstraint ofLog::$requestUrl: that option only exists since symfony/validator 7.1.Test plan
Shipping
Merging this PR ships nothing: it needs a semver tag / GitHub release, then a
composer require assoconnect/log-bundle:^x.ybump PR in the backend. Two reviews total. The release is meant to go out together with therequireTldfix.🤖 Generated with Claude Code