Skip to content
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

Merged
merged 29 commits into from
Feb 2, 2021
Merged

Support PHP 8.0 #814

merged 29 commits into from
Feb 2, 2021

Conversation

evansims
Copy link
Member

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, specify 5.6 for this PR. After the command finishes, run composer checkup to run the test suite.

@evansims evansims closed this Jan 26, 2021
@evansims evansims reopened this Jan 26, 2021
@evansims evansims marked this pull request as ready for review January 26, 2021 15:56
@evansims evansims requested a review from a team as a code owner January 26, 2021 15:56
@evansims evansims marked this pull request as draft January 26, 2021 15:57
@evansims evansims marked this pull request as ready for review January 26, 2021 18:05
@evansims
Copy link
Member Author

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.

functions.php Outdated Show resolved Hide resolved
lib/WP_Auth0_Import_Settings.php Show resolved Hide resolved
lib/WP_Auth0_UsersRepo.php Show resolved Hide resolved
lib/api/WP_Auth0_Api_Client_Credentials.php Outdated Show resolved Hide resolved
phpcs.xml.dist Outdated Show resolved Hide resolved
@evansims
Copy link
Member Author

@lbalmaceda Thanks for your feedback! I addressed your questions and committed a few changes, whenever you get time to re-review. Thanks!

Copy link
Member

@cocojoe cocojoe left a 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.

functions.php Show resolved Hide resolved
lib/WP_Auth0_LoginManager.php Show resolved Hide resolved
@lbalmaceda lbalmaceda merged commit 2f03e3b into master Feb 2, 2021
@lbalmaceda lbalmaceda deleted the update-php8 branch February 2, 2021 14:46
@evansims evansims added this to the 4.2.0 milestone Feb 2, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants