-
Notifications
You must be signed in to change notification settings - Fork 44
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
upkeep/php-reqs: Update PHP compat check to prevent fatal error #291
Conversation
This solves it nicely in my testing. 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.
@Sidsector9 LGTM but Cypress and Linting workflows are failing, could you please check/address them?
@Sidsector9 still seeing Cypress/WP trunk check failing here, can you help look into resolving that? |
…s into upkeep/php-reqs
@jeffpaul this is expected because the All tests are passing locally: |
@@ -10,10 +10,10 @@ jobs: | |||
name: Push to trunk | |||
runs-on: ubuntu-latest | |||
steps: | |||
- name: Checkout code |
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.
any reason this was removed? they can be helpful when reviewing check runs that fail to see where things are going wrong
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.
You're correct, removed it mistakenly, fixed it in bbf74d7.
Description of the Change
Recently Publisher Media Kit reported a fatal issue caused due to redeclaration of a function across our 10up plugins.
Ref: 10up/publisher-media-kit#196
This PR fixes that by using 10up/wp-compat-validation-tool.
How to test the Change
Try running this PR on a PHP env lesser than the minimum supported version (7.4) and see the plugin gracefully exit with an error message in the admin screen.
Changelog Entry
Credits
Props @Sidsector9
Checklist: