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

Run PHPCS on PHP 8 #1400

Merged
merged 1 commit into from
Sep 11, 2021
Merged

Conversation

derrabus
Copy link
Member

No description provided.

@@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps we should run it with 7.1, that's the compatibility we need to maintain.

Copy link
Member Author

Choose a reason for hiding this comment

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

I've added 7.1 as well.

Copy link
Member

Choose a reason for hiding this comment

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

🤔 I think one run should be enough, if we add <config name="php_version" value="70100"/> to the configuration.

Copy link
Member Author

Choose a reason for hiding this comment

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

Let's check that. 🙂

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, that does the trick. I could even remove two more rules from the exclude list now. 🎉

@derrabus derrabus force-pushed the improvement/phpcs-on-php8 branch from ada2550 to a955bb1 Compare September 11, 2021 19:44
Signed-off-by: Alexander M. Turek <me@derrabus.de>
@derrabus derrabus force-pushed the improvement/phpcs-on-php8 branch from a955bb1 to d761625 Compare September 11, 2021 21:08
@derrabus derrabus merged commit 62a188c into doctrine:2.4.x Sep 11, 2021
@derrabus derrabus deleted the improvement/phpcs-on-php8 branch September 11, 2021 21:20
@derrabus derrabus added the CI label Sep 11, 2021
@derrabus derrabus added this to the 2.4.3 milestone Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants