Skip to content
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

CI: Run Symfony 6 compat check on PHP 8.1 #7383

Merged
merged 1 commit into from Oct 22, 2023

Conversation

derrabus
Copy link
Contributor

Symfony 6 has dropped support for PHP 8.0, see https://symfony.com/blog/symfony-6-1-will-require-php-8-1

PHP CS Fixer's CI has a job that pins all Symfony dependencies to version 6. This job runs with outdated and unmaintained Symfony 6.0.x packages which I believe was not intended. I propose to run that job on PHP 8.1 instead.

@derrabus derrabus changed the title Run Symfony 6 compat check on PHP 8.1 CI: Run Symfony 6 compat check on PHP 8.1 Oct 21, 2023
@coveralls
Copy link

Coverage Status

coverage: 94.603%. remained the same when pulling 2dd830a on derrabus:ci/symfony-6 into 1041f8a on PHP-CS-Fixer:master.

@Wirone
Copy link
Member

Wirone commented Oct 21, 2023

It was already refactored in #7366 but is waiting for the review. Since Symfony 6 bumped required version to 8.1 and we don't want to test 6.0 and 6.1+ separately, I just removed that constraint there. Please take a look and tell what you think about that approach 🙂.

@derrabus
Copy link
Contributor Author

I just removed that constraint there.

The execute-flex-with-symfony-version: '^6' constraint makes sure that no Symfony component is downgraded to version 5 by accident. If you think that you don't need to safeguard against that, I wonder why you've kept the execute-flex-with-symfony-version: '^5' job though.

@keradus keradus merged commit 25da939 into PHP-CS-Fixer:master Oct 22, 2023
16 checks passed
@keradus
Copy link
Member

keradus commented Oct 22, 2023

we want to test explcitly with ^5 and with ^6

@derrabus derrabus deleted the ci/symfony-6 branch October 22, 2023 19:14
Wirone added a commit to Wirone/PHP-CS-Fixer that referenced this pull request Oct 23, 2023
Wirone added a commit to Wirone/PHP-CS-Fixer that referenced this pull request Oct 26, 2023
Wirone added a commit to Wirone/PHP-CS-Fixer that referenced this pull request Nov 2, 2023
Wirone added a commit to Wirone/PHP-CS-Fixer that referenced this pull request Nov 2, 2023
Wirone added a commit to Wirone/PHP-CS-Fixer that referenced this pull request Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants