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
[New sniff?] Check for non-printable characters #94
Comments
For this sniff we can most likely use the token |
i would like to try this. |
…sniff for php, js and css files Reference WPTT#94
From: #103 (comment)
It basically needs to become clear whether just checking for the BOM is enough, or checking for more non-printables is needed. If the latter, PR #103 contains the basic principle of a sniff for that, but should in that case probably be pulled upstream, either in WPCS or - even better - in PHPCS itself. |
Rule type:
Warning
Rule:
Ref: https://make.wordpress.org/themes/handbook/review/required/theme-check-plugin/#info
Theme check file covering this rule:
https://github.com/WordPress/theme-check/blob/master/checks/nonprintable.php
Notes for implementation:
To do:
The text was updated successfully, but these errors were encountered: