WordPress Coding Standards at Version 1.0
Congratulations to the open source WordPress Coding Standards (WPCS) project for its recent milestone release of version 1.0. WPCS provides WordPress-specific rulesets for PHP Codesniffer (PHPCS) to help developers learn about and adhere to WordPress coding conventions. The 1.0 release contains important breaking changes and “tons of bug fixes”.
The release of version 1.0 is a landmark moment and a culmination of 9 years of work. We are very proud of our participation in the WPCS project over the years, and will continue to do so into the future. With 54 contributors since the project began, 5 of them from VIP, and 7 for this latest release, WPCS has been a hugely successful team effort.
Of the many changes present within this release, the deprecation of the
WordPress-VIP ruleset is probably the most relevant to VIP clients. This ruleset has not been valid for some time, as we have our own VIP coding standards, available for public use. VIPCS rulesets include
If you are a VIP client and you are not using the alternative rulesets, then we would strongly recommend switching to these. If you used the
WordPress-VIP ruleset for any other reason, you should use
As with all open source projects, WPCS are always grateful for any contributions, from reporting bugs in the current rulesets to assistance with the actual code. If you are interested in assisting them, please get in touch with them via their Github page.
Featured image credit: WordCamp London Contributor Day 2017, photo by Pradeep Singh.