WordPress CodeSniffer Standard
CodeSniffer is a PEAR package that checks PHP code for violations of coding standards. According to the developers:
It is an essential development tool that ensures your code remains clean and consistent. It can also help prevent some common semantic errors made by developers.
While it won't make you bug-free, it is another tool to help you produce better quality code, and is very useful when working with a team of developers. CodeSniffer thoughtfully comes with several standards to verify code against the PEAR, Zend, and Squiz coding standards. What follows is a CodeSniffer standard that adheres to the WordPress Coding Standard. Hurray for coding violations!
Read more here…






