-
Notifications
You must be signed in to change notification settings - Fork 4
Allow PHP 8 #13
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
Allow PHP 8 #13
Conversation
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.
if the ci agrees, this looks good to merge 👍
@@ -10,6 +10,7 @@ php: | |||
- 7.2 | |||
- 7.3 | |||
- 7.4 | |||
- 8.0snapshot |
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.
Php-cs-fixer does not suppor PHP8 yet, but you can run composer with --ignore-platform-req=php
And add this env var to run php-cs-fixer:
PHP_CS_FIXER_IGNORE_ENV: 1
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.
Removed the dep for now, as suggested by @Nyholm.
Let's remove php-cs-fixer from composer.json and use a github action or phar instead. |
What about StyleCI: does that already validate against PHPCS? |
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.
Thank you
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.
looks good 👍
What's in this PR?
Allow this package to be installed on PHP 8.
Checklist