-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop PHP 8.1, add Symfony 7 support #460
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
dependencies: | ||
- "locked" | ||
php-version: | ||
- "8.1" | ||
- "8.2" | ||
operating-system: | ||
- "ubuntu-latest" | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
dependencies: | ||
- "locked" | ||
php-version: | ||
- "8.1" | ||
- "8.2" | ||
operating-system: | ||
- "ubuntu-latest" | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ jobs: | |
- "highest" | ||
- "locked" | ||
php-version: | ||
- "8.1" | ||
- "8.2" | ||
- "8.3" | ||
operating-system: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
dependencies: | ||
- "locked" | ||
php-version: | ||
- "8.1" | ||
- "8.2" | ||
operating-system: | ||
- "ubuntu-latest" | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
dependencies: | ||
- "locked" | ||
php-version: | ||
- "8.1" | ||
- "8.2" | ||
operating-system: | ||
- "ubuntu-latest" | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,11 +26,11 @@ | |
} | ||
], | ||
"require": { | ||
"php": "~8.1.0 || ~8.2.0 || ~8.3.0", | ||
"php": "~8.2.0 || ~8.3.0", | ||
"ext-phar": "*", | ||
"composer-runtime-api": "^2.0.0", | ||
"nikic/php-parser": "^4.17.1", | ||
"symfony/console": "^6.4.1", | ||
"symfony/console": "^7.0.1", | ||
"webmozart/assert": "^1.11.0", | ||
"webmozart/glob": "^4.6.0" | ||
}, | ||
|
@@ -48,7 +48,7 @@ | |
"optimize-autoloader": true, | ||
"sort-packages": true, | ||
"platform": { | ||
"php": "8.1.99" | ||
"php": "8.2.99" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wait, this change is not valid: we're still supporting There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should I add some Ci to check we can install symfony 7 ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm also fine with dropping PHP 8.1 and calling it a day, tbh, but don't have a clean solution right now 🤔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 8.1 is still used by around 37% of requests to packagist.org, 8.2 and up is only 33%. And the installation instructions state: Just download the latest PHAR and run it. Just sayin... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The percentage of existing users on 8.1 is totally irrelevant: we have old releases for that, which are very much valid. Problem here is testing Symfony 7 while still enforcing a At that point, I'd say that dropping PHP 8.1 is the simplest way forward instead: I got shit to do, and making everyone happy won't get me paid anyway :P There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I updated the PR and tried to drop PHP 8.1 then There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is fine here, thanks! Please relax the symfony constraint though: we need at least one release allowing both major versions there |
||
}, | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true, | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to still allow
symfony/console:^6
to allow others to upgrade? Otherwise we're punching them with a heavy multi-dependency bump 🤔There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I updated the PR