-
Notifications
You must be signed in to change notification settings - Fork 140
Use correct number of arguments in filter callback #634
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
Conversation
joemcgill
left a comment
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.
This looks correct to me. Thanks for the PR, @aaronjorbin!
😲 There are a bit more than 1 problems in Would you like me to copy-paste here the output of static analysis? composer require --dev szepeviktor/phpstan-wordpress
vendor/bin/phpstan analyse -c vendor/szepeviktor/phpstan-wordpress/extension.neon admin/ modules/ server-timing/ *.php --level=0 |
PHPStan level 0 outputYou will meet 👧🏻 Ms. Stability on level 4-5. |
felixarntz
left a comment
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.
Thanks @aaronjorbin!
Though I would advise, since this is not the only problem spotted in #622, we change the PR description from "Fixes ..." to just "See ...", since there's more work to do to fix that issue.
szepeviktor
left a comment
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.
Thank you.
The `webp_uploads_update_image_onchange` function takes 5 arguments. See #622
7138d54 to
f352269
Compare
The
webp_uploads_update_image_onchangefunction takes 5 arguments.See #622
[Focus]orInfrastructurelabel.[Type]label.no milestonelabel.