Skip to content

Commit f5bce09

Browse files
committed
[2.x] chore: raise the Symfony floor to 7.4
The Symfony constraints read `^7.0`, which permits 7.0 through 7.3 — all of them end of life. A fresh install resolves 7.4 anyway, so this only rules out the versions nobody should be getting. 7.4 is the current LTS, released alongside 8.0 with the same features, and is maintained in step with it. There are no behavioural changes between 7.0 and 7.4 to account for; the lock file is unchanged by this, since every one of these already resolves to 7.4.x. Left at their own version lines: `polyfill-intl-messageformatter` (^1.27) and `translation-contracts` (^2.5). Not widened to `^7.4 || ^8.0`, which Laravel 13 does. Symfony 8 requires PHP 8.4 and makes `OutputInterface::isSilent()` a fatal for anything implementing that interface directly, and changes `ProgressIndicator::finish()` in a way that breaks subclasses overriding it. Extensions do both, so allowing 8.0 would break them on 8.4+ hosts with no opt-in. That belongs in a major, with an upgrade note.
1 parent a24740d commit f5bce09

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -168,16 +168,16 @@
168168
"pusher/pusher-php-server": "^7.2",
169169
"psy/psysh": "^0.12",
170170
"s9e/text-formatter": "^2.13",
171-
"symfony/config": "^7.0",
172-
"symfony/console": "^7.0",
173-
"symfony/event-dispatcher": "^7.0",
174-
"symfony/http-client": "^7.0",
175-
"symfony/mailgun-mailer": "^7.0",
176-
"symfony/mime": "^7.0",
171+
"symfony/config": "^7.4",
172+
"symfony/console": "^7.4",
173+
"symfony/event-dispatcher": "^7.4",
174+
"symfony/http-client": "^7.4",
175+
"symfony/mailgun-mailer": "^7.4",
176+
"symfony/mime": "^7.4",
177177
"symfony/polyfill-intl-messageformatter": "^1.27",
178-
"symfony/postmark-mailer": "^7.0",
179-
"symfony/translation": "^7.0",
180-
"symfony/yaml": "^7.0",
178+
"symfony/postmark-mailer": "^7.4",
179+
"symfony/translation": "^7.4",
180+
"symfony/yaml": "^7.4",
181181
"wikimedia/less.php": "^5.3"
182182
},
183183
"require-dev": {
@@ -186,7 +186,7 @@
186186
"mockery/mockery": "^1.5",
187187
"phpstan/phpstan": "^2.1",
188188
"phpunit/phpunit": "^12.5.22",
189-
"symfony/var-dumper": "^7.0"
189+
"symfony/var-dumper": "^7.4"
190190
},
191191
"config": {
192192
"sort-packages": true

framework/core/composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,22 @@
8282
"psr/http-server-middleware": "^1.0.2",
8383
"psy/psysh": "^0.12",
8484
"s9e/text-formatter": "^2.13",
85-
"symfony/config": "^7.0",
86-
"symfony/console": "^7.0",
87-
"symfony/event-dispatcher": "^7.0",
88-
"symfony/http-client": "^7.0",
89-
"symfony/mailgun-mailer": "^7.0",
90-
"symfony/mime": "^7.0",
85+
"symfony/config": "^7.4",
86+
"symfony/console": "^7.4",
87+
"symfony/event-dispatcher": "^7.4",
88+
"symfony/http-client": "^7.4",
89+
"symfony/mailgun-mailer": "^7.4",
90+
"symfony/mime": "^7.4",
9191
"symfony/polyfill-intl-messageformatter": "^1.27",
92-
"symfony/postmark-mailer": "^7.0",
93-
"symfony/translation": "^7.0",
92+
"symfony/postmark-mailer": "^7.4",
93+
"symfony/translation": "^7.4",
9494
"symfony/translation-contracts": "^2.5",
95-
"symfony/yaml": "^7.0",
95+
"symfony/yaml": "^7.4",
9696
"wikimedia/less.php": "^5.3"
9797
},
9898
"require-dev": {
9999
"flarum/testing": "^2.0",
100-
"symfony/var-dumper": "^7.0"
100+
"symfony/var-dumper": "^7.4"
101101
},
102102
"autoload": {
103103
"psr-4": {

0 commit comments

Comments
 (0)