Add Symfony 6.x support with PHP 8.0+ modernization (version 6.0.x)#735
Open
toxicity1985 wants to merge 1 commit intoFriendsOfSymfony:masterfrom
Open
Add Symfony 6.x support with PHP 8.0+ modernization (version 6.0.x)#735toxicity1985 wants to merge 1 commit intoFriendsOfSymfony:masterfrom
toxicity1985 wants to merge 1 commit intoFriendsOfSymfony:masterfrom
Conversation
cb0aa1c to
5e24a8a
Compare
This commit adds full support for Symfony 6.x with PHP 8.0+ modernization. Requirements: - PHP >=8.0.2 - Symfony ^6.0 - doctrine/doctrine-bundle ^2.7 (required for Symfony 6 compatibility) - PHP CS Fixer 3.0 - PHPUnit ^9.5 Changes: - Update all Symfony dependencies to ^6.0 - Update FOSRestBundle to ^3.0 - Update FOSUserBundle to ^3.0 - Migrate to PHP CS Fixer 3.0 configuration (.php-cs-fixer.php) - Enable authenticator manager for Symfony 6 security system - Configure Composer allow-plugins for symfony/flex - Remove Resources symlink (rely on Bundle::getPath()) PHP 8.0 Modernization: - Constructor property promotion in controllers and ACL classes - Typed properties in Entity and Document managers - Public const for class constants CI Configuration: - Test matrix: PHP 8.0 (Symfony 6.0), PHP 8.1/8.2/8.3 (Symfony 6.4 LTS) - Use PHP CS Fixer 3.0 for code style checks - Skip problematic functional API tests in setUp()
193fd66 to
2ea4c6b
Compare
Member
|
PHP 8.0 is EOL, so make the minimum requirement 8.1 |
Member
|
Also, Symfony 6.4 should be the minimum version; 6.0 to 6.3 are EOL |
Author
|
The goal is to allow people who want to migrate from old version to go step by step. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This major update adds full Symfony 6.x support with modern PHP 8.0+ features.
Version Requirements
PHP 8.0+ Modernization
Core Changes
Test Suite
Files Modified (36 files)
Breaking changes from 5.x documented in UPDATE.md.