The PEAR toolbox
PEAR provides some tools to help developers keep their code clean and free of coding standards related errors.
For one there is PHP_CodeSniffer which can be used to detect coding standard errors in your scripts. Further, whole PEAR SVN repository is checked each night for violations - the results can be found at PEAR QA results overview page as well as on the linked subpages which explain the errors in detail.