-
Notifications
You must be signed in to change notification settings - Fork 384
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
Bump minimum PHP version from 5.6 to 7.0 #7088
Conversation
dc13e04
to
e4bc052
Compare
Currently, The GH action is failing for PHP 8.0 because of the PHPUnit package. It uses the Finding a workaround to fix this. |
fd4452c
to
b5025b4
Compare
Codecov Report
@@ Coverage Diff @@
## develop #7088 +/- ##
==============================================
+ Coverage 64.88% 77.95% +13.07%
- Complexity 0 7097 +7097
==============================================
Files 67 273 +206
Lines 1159 21991 +20832
==============================================
+ Hits 752 17143 +16391
- Misses 407 4848 +4441
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Plugin builds for e0ac132 are ready 🛎️!
|
@@ -90,7 +90,8 @@ | |||
}, | |||
"patches": { | |||
"phpunit/phpunit-mock-objects": { | |||
"Fix ReflectionParameter warnings on PHP 8": "patches/phpunit-mock-objects.patch" | |||
"Fix ReflectionParameter warnings on PHP 8": "patches/phpunit-mock-objects.patch", | |||
"Remove 'match' keyword from uses <https://github.com/sebastianbergmann/phpunit/issues/4373>": "patches/remove-match-keyword.patch" |
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.
Regarding #7088 (comment), I'm curious how you were able to find the solution.
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.
"Fix ReflectionParameter warnings on PHP 8": "patches/phpunit-mock-objects.patch" | ||
"Fix ReflectionParameter warnings on PHP 8": "patches/phpunit-mock-objects.patch", |
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.
Did this patch just need to be refreshed?
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.
Or rather, I'm curious how you came up with this change: 4725407
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.
@@ -4,7 +4,7 @@ | |||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", | |||
"This file is @generated automatically" | |||
], | |||
"content-hash": "5e242b23d84049cea21e9551fed88cc1", | |||
"content-hash": "7fd6292577e257a09b6b3155ad9f771b", |
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.
Curious how you updated the composer.lock
. Did you just remove it and then run composer install
?
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.
Yes, I removed vendors
and composer.lock
and then install the dependency.
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.
Changes look good. Just would like to learn more re: the comments I left prior to merging.
Summary
Fixes #7031
Checklist