Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Support PHP 8 and Symfony 6 #982

Merged
merged 1 commit into from Mar 3, 2022
Merged

Support PHP 8 and Symfony 6 #982

merged 1 commit into from Mar 3, 2022

Conversation

mwansinck
Copy link
Contributor

No description provided.

@mwansinck mwansinck mentioned this pull request Feb 5, 2022
@Eloar
Copy link
Contributor

Eloar commented Feb 5, 2022

Would you like squash all those commits into one?

@mwansinck
Copy link
Contributor Author

Would you like squash all those commits into one?

Done

@Eloar
Copy link
Contributor

Eloar commented Feb 16, 2022

@stephanvierkant @stwe @Seb33300 would you like to review and merge this code? It looks ok

composer.json Outdated
"phpunit/phpunit": "^7.5|^8.5",
"friendsofphp/php-cs-fixer": "^2.15"
"phpunit/phpunit": "^8.5|^9.5",
"friendsofphp/php-cs-fixer": "^3.0"
Copy link
Collaborator

@Seb33300 Seb33300 Feb 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you upgrade PHP-cs-fixer from version 2 to 3, you need to upgrade the config file .php_cs.dist to the new format .php-cs-fixer.dist.php

Copy link
Contributor Author

@mwansinck mwansinck Feb 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you also prefer that I commit all changes made by php-cs-fixer when running?
It changes 13 files unrelated to my modifications but due to updated rules.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO it should be better to upgrade php-cs-fixer in a separate PR first with all related changes
And then this PR only for PHP 8 / SF 6 upgrade

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed that if possible that should be better.. however php-cs-fixer ^2 doesn't support Symfony 6 at all, so composer won't install Symfony 6 if I keep composer ^2 and I couldn't create this PR :-)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but I will merge the other PR before this one

Copy link
Contributor Author

@mwansinck mwansinck Feb 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Seb33300
Copy link
Collaborator

PR for php-cs-fixer is merged.

Please rebase this PR

@mwansinck
Copy link
Contributor Author

PR for php-cs-fixer is merged.

Please rebase this PR

done :-)

@Seb33300 Seb33300 merged commit 7762593 into stwe:master Mar 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants