-
Notifications
You must be signed in to change notification settings - Fork 118
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 compatibility #313
PHP 8 compatibility #313
Conversation
…into php_8_compat
Contains #312 |
Hi all, is there any ETA when this will be merged? |
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.
can you please try to make it compatible with php 7.2? (otherwise all the other changes are ok for me)
composer.json
Outdated
@@ -17,20 +17,22 @@ | |||
} | |||
], | |||
"require": { | |||
"php": "^7.2", | |||
"php": "^7.3 | ^8.0", |
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.
why increasing php from 7.2 to 7.3?
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.
yep, phpunit 9 requirers >=7.3 https://packagist.org/packages/phpunit/phpunit
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.
ok, but by using "phpunit/phpunit": "^7 | ^9",
we should be able to stay on 7.2 since phpunit 7 requires php 7.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.
done
It was dropped by @W0rma but from what I remember phpunit forced that. |
Thank you for your work |
@ahilles107 @goetas Thanks a lot! |
adjust tests for phpunit 9, fix broken methods signatures for php8