-
Notifications
You must be signed in to change notification settings - Fork 62
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
Make parser warnings more clear #395
Make parser warnings more clear #395
Conversation
https://meta.trac.wordpress.org/ticket/7412 This will add more parser warnings. It'd be better if we incorporate those changes here also. |
55274b5
to
a58a056
Compare
PR is updated and new warnings are also incorporated. |
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 @ernilambar for the PR. Great start. Left some feedback for your consideration.
Additionally.
- Add unit tests that demonstrate all warnings that you listed.
- Add unit test that ignore all these warnings. I think we can archive it using
add_filter( 'wp_plugin_check_ignored_readme_warnings', '__return_empty_array' );
.
5e7bca5
to
6ea8955
Compare
Its the opposite. Sending empty array in that filter will disable ignoring and all warnings are displayed. |
6ea8955
to
3f2a463
Compare
cec8e01
to
f2ff3a2
Compare
tests/phpunit/tests/Checker/Checks/Plugin_Readme_Check_Tests.php
Outdated
Show resolved
Hide resolved
f2ff3a2
to
595cd97
Compare
Fixes #394