-
Notifications
You must be signed in to change notification settings - Fork 92
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
Support PHP 8.0 #814
Support PHP 8.0 #814
Conversation
This PR is throwing an erroneous codecov failure for unknown reasons. It is detecting code changes in files that weren't changed. Once this is reviewed I'm going to force merge this and hopefully that will resolve the coverage diff issues. |
@lbalmaceda Thanks for your feedback! I addressed your questions and committed a few changes, whenever you get time to re-review. Thanks! |
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.
Passing back to Lucho but left a couple of comments.
This PR includes changes necessary to improve compatibility with PHP 8, updates our CircleCI configuration, updates our unit test configuration to reflect and target the minimum PHP and WordPress versions we support, and fixes a number of issues with our documentation around parameter types (they remain functionally unchanged; our docblocks were just incorrect in their existing usage.)
To test these changes locally you will need a local MySQL installation. From the root directory run
bin/install-wp-tests.sh
which will output the proper command syntax. Provide your local database details. For the target WordPress version, specify5.6
for this PR. After the command finishes, runcomposer checkup
to run the test suite.