PHP_CodeSniffer

Table of Contents
Introduction -- Description and simple usage example
Usage -- Standard usage information
Advanced Usage -- Advanced usage information
Configuration Options -- A list of configuration options
Coding Standard Tutorial -- A guide to writing your own code sniffs
Coding Standard Class Methods -- Information about overriding coding standard class methods
Using the Subversion pre-commit Hook -- How to configure the Subversion pre-commit hook
FAQ -- Frequently asked questions

PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" PHP and JavaScript code to detect violations of a defined coding standard. 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.