-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Upgrade to Symfony 6.1 #1339
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
Merged
Merged
Upgrade to Symfony 6.1 #1339
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,11 @@ | |
"symfony/polyfill-php72": "*", | ||
"symfony/polyfill-php73": "*", | ||
"symfony/polyfill-php74": "*", | ||
"symfony/polyfill-php80": "*" | ||
"symfony/polyfill-php80": "*", | ||
"symfony/polyfill-php81": "*" | ||
}, | ||
"require": { | ||
"php": ">=8.0.2", | ||
"php": ">=8.1", | ||
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. do not forget the readme file's requirements :) |
||
"ext-pdo_sqlite": "*", | ||
"doctrine/dbal": "^3.1", | ||
"doctrine/doctrine-bundle": "^2.5", | ||
|
@@ -21,26 +22,27 @@ | |
"league/commonmark": "^2.1", | ||
"sensio/framework-extra-bundle": "^6.2", | ||
"symfony/apache-pack": "^1.0", | ||
"symfony/asset": "^6.0", | ||
"symfony/console": "^6.0", | ||
"symfony/dotenv": "^6.0", | ||
"symfony/expression-language": "^6.0", | ||
"symfony/asset": "^6.1", | ||
"symfony/console": "^6.1", | ||
"symfony/dotenv": "^6.1", | ||
"symfony/expression-language": "^6.1", | ||
"symfony/flex": "^2.0", | ||
"symfony/form": "^6.0", | ||
"symfony/framework-bundle": "^6.0", | ||
"symfony/intl": "^6.0", | ||
"symfony/mailer": "^6.0", | ||
"symfony/form": "^6.1", | ||
"symfony/framework-bundle": "^6.1", | ||
"symfony/html-sanitizer": "^6.1", | ||
"symfony/http-client": "^6.1", | ||
"symfony/intl": "^6.1", | ||
"symfony/mailer": "^6.1", | ||
"symfony/monolog-bundle": "^3.7", | ||
"symfony/polyfill-intl-messageformatter": "^1.12", | ||
"symfony/runtime": "^6.0", | ||
"symfony/security-bundle": "^6.0", | ||
"symfony/string": "^6.0", | ||
"symfony/translation": "^6.0", | ||
"symfony/twig-bundle": "^6.0", | ||
"symfony/validator": "^6.0", | ||
"symfony/runtime": "^6.1", | ||
"symfony/security-bundle": "^6.1", | ||
"symfony/string": "^6.1", | ||
"symfony/translation": "^6.1", | ||
"symfony/twig-bundle": "^6.1", | ||
"symfony/validator": "^6.1", | ||
"symfony/webpack-encore-bundle": "^1.13", | ||
"symfony/yaml": "^6.0", | ||
"tgalopin/html-sanitizer-bundle": "^1.4", | ||
"symfony/yaml": "^6.1", | ||
"twig/extra-bundle": "^3.3", | ||
"twig/intl-extra": "^3.3", | ||
"twig/markdown-extra": "^3.3" | ||
|
@@ -49,17 +51,17 @@ | |
"dama/doctrine-test-bundle": "^7.0", | ||
"doctrine/doctrine-fixtures-bundle": "^3.4", | ||
"phpstan/phpstan": "^1.2", | ||
"symfony/browser-kit": "^6.0", | ||
"symfony/css-selector": "^6.0", | ||
"symfony/debug-bundle": "^6.0", | ||
"symfony/browser-kit": "^6.1", | ||
"symfony/css-selector": "^6.1", | ||
"symfony/debug-bundle": "^6.1", | ||
"symfony/maker-bundle": "^1.36", | ||
"symfony/phpunit-bridge": "^6.0", | ||
"symfony/stopwatch": "^6.0", | ||
"symfony/web-profiler-bundle": "^6.0" | ||
"symfony/phpunit-bridge": "^6.1", | ||
"symfony/stopwatch": "^6.1", | ||
"symfony/web-profiler-bundle": "^6.1" | ||
}, | ||
"config": { | ||
"platform": { | ||
"php": "8.0.2" | ||
"php": "8.1.0" | ||
}, | ||
"preferred-install": { | ||
"*": "dist" | ||
|
@@ -93,13 +95,10 @@ | |
"@auto-scripts" | ||
] | ||
}, | ||
"conflict": { | ||
"symfony/symfony": "*" | ||
}, | ||
"extra": { | ||
"symfony": { | ||
"allow-contrib": true, | ||
"require": "6.0.*" | ||
"require": "6.1.*" | ||
} | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
both can be removed as now the php version is forced via the require
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.
I'm not sure ... all these are in the
replace
section ofcomposer.json
. If I'm right, listing them here means that Composer won't download those packages even if some dependency requires them. So, the idea is that you add new polyfills when you upgrade your minimum required PHP version.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.
ho right! I did not pay attention where the location were at first :s my bad
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.
this is indeed the list of polyfills that are replaced by the project platform requirements. So they should be added, not removed.