-
Notifications
You must be signed in to change notification settings - Fork 800
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
Integrate PHPCompatibility sniffs into CI toolchain #8126
Comments
This is great, thanks for letting us know about this! But I have a question: we have been looking at Do you know if there's a way to mark such occurences as false positives? |
I see this only happening in Line 5350 in 2d531ca
To my understanding, the two other contexts I identified ( Also, is there a reason you don't simply switch to
Yes, you have two options:
|
This issue has been marked as stale. This happened because:
No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation. |
Fixed in #9905 |
The PHPCompatibility sniffs help to identify PHP compatibility issues between versions. It would be helpful to integrate into the CI toolchain so Jetpack developers know when code changes have/introduce incompatible code.
In a data analysis project I'm doing right now, Jetpack is the most common failed plugin. The failure is caused by use of removed
$HTTP_RAW_POST_DATA
(explanation):jetpack/modules/markdown/easy-markdown.php
Line 660 in edddd6b
jetpack/class.jetpack.php
Line 5478 in 2d531ca
jetpack/class.jetpack-signature.php
Line 65 in 32e2d44
For further reference, here's a cache of Jetpack v5.4 scan results.
Related #4346
The text was updated successfully, but these errors were encountered: