-
Notifications
You must be signed in to change notification settings - Fork 3
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
PHP 8 Support #7
Comments
Hm, perhaps I can simply replace |
I tried doing an install with --ignore-platform-reqs, but then the tool was still checking the PHP version and failing at runtime, so I don't know if replacing it with a binary would solve the problem. |
What I meant is:
I don't like the fact that this approach implies putting 3rd party tool under version control, but I've seen some projects doing this for PHPUnit as well. |
I remember this interesting discussion on the subject: https://twitter.com/infection_php/status/969453737428357121. |
Oh, yeah, I think I understood it, but I didn't notice the cs checks are done only in one PHP version, which allows doing it in the smallest supported version only, so that approach would work 🙂 |
Hey! I was revisiting this and I saw you already created this PR to add PHP8 support to another package https://github.com/nikolaposa/version/pull/34/files Do you want me to contribute pull requests to this project to:
I can also do the same on the monolog-factory package, if you are ok with it. |
Migrating from Travis to GitHub Actions would be amazing. 🙏🏻 As for PHP CS Fixer issues, I'm still having a dilemma what to do about dev dependencies in general, but I think we can now simply update it to a new version, as it seems that they've finally added PHP 8 support: ergebnis/php-cs-fixer-config#265. I look forward to your contributions, thank you! |
That simplifies things a lot 🙂 I'll start with the first PR then 💪🏼 |
I have just created the PR that adds Github Actions and support for PHP 8. I have also removed support for PHP 7.0 and 7.1, which is something that we didn't discuss. If you want to keep support for those versions, let me know and I'll try to get it back. BTW, I'm not sure why, but the workflow is not getting run. Maybe it doesn't work until it is merged? 🤔 |
Yep, I believe that's the case. |
I have just created the second PR that bumps dependencies #9 Having Github Actions simplifies the process 🙂 |
Hey!
I was creating a PR here to add support for PHP 8 on the project, in preparation to do the same on
nikolaposa/monolog-factory
, but I see this project has a dev dependency onphp-cs-fixer
, which does not support PHP 8 and doesn't seem to be something close in time.Since you just seem to be checking styles against PSR-2, would you be open to change it by
PHP_CodeSniffer
which already supports PHP8?The text was updated successfully, but these errors were encountered: