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 🛎️!
|
| "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.
Regarding #7088 (comment), I'm curious how you were able to find the solution.
| "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", |
There was a problem hiding this comment.
Did this patch just need to be refreshed?
There was a problem hiding this comment.
Or rather, I'm curious how you came up with this change: 4725407
| "This file is @generated automatically" | ||
| ], | ||
| "content-hash": "5e242b23d84049cea21e9551fed88cc1", | ||
| "content-hash": "7fd6292577e257a09b6b3155ad9f771b", |
There was a problem hiding this comment.
Curious how you updated the composer.lock. Did you just remove it and then run composer install?
There was a problem hiding this comment.
Yes, I removed vendors and composer.lock and then install the dependency.
westonruter
left a comment
There was a problem hiding this comment.
Changes look good. Just would like to learn more re: the comments I left prior to merging.
Summary
Fixes #7031
Checklist