PHP_CodeSniffer
PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" PHP, JavaScript and CSS files 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.
- Introduction — Описание and simple usage example
- Requirements — A list of software requirements
- Usage — Standard usage information
- Advanced Usage — Advanced usage information
- Reporting — Report types and options
- Configuration Options — A list of configuration options
- Coding Standard Tutorial — A guide to writing your own code sniffs
- Annotated ruleset.xml — A sample ruleset.xml file that describes all features of the format
- Using the Subversion pre-commit Hook — How to configure the Subversion pre-commit hook
- FAQ — Frequently asked questions