indieweb / wordpress-indieweb

Helps you establish your IndieWeb identity by extending the user profile to provide rel-me and h-card fields. It also includes a bundled installer for a core set of IndieWeb-related plugins.
https://wordpress.org/plugins/indieweb/
MIT License
80 stars 17 forks source link

WordPress coding standard #41

Closed pfefferle closed 8 years ago

pfefferle commented 8 years ago

There are a lot of coding standard issues mainly in the classes of the includes folder.

dshanske commented 8 years ago

Fixed four strict comparison errors, and it now runs through the included phpcs file.

dshanske commented 8 years ago

However, if you change the parameters to the standard WordPress codesniffer, there are several more which could be fixed in terms of validation. Would suggest we decide on the parameters being checked.

pfefferle commented 8 years ago

You can't fully rely on checkers and plugins, because they don't find any "problem": https://github.com/indieweb/wordpress-indieweb/commit/5d1efeb76a8333adbe51c626d54e47a67b676905