Top Level :: PHP

Package Information: PHP_CodeSniffer

» Summary » License
PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files to detect and fix violations of a defined set of coding standards. BSD 3-Clause License
» Current Release » Bug Summary
2.6.0 (stable) was released on 2016-04-03 by squiz (Changelog)
Easy Install

Not sure? Get more info.

pear install PHP_CodeSniffer

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/PHP_CodeSniffer

Development Roadmap
  • Package Maintenance Rank: 3 of 221 packages with open bugs
  • Number of open bugs: 1 (578 total bugs)
  • Average age of open bugs: 46 days
  • Oldest open bug: 46 days
  • Number of open feature requests: 20 (200 total feature requests)

Report a new bug to PHP_CodeSniffer
» Description
PHP_CodeSniffer is a set of two PHP scripts; the main phpcs script that tokenizes PHP, JavaScript and CSS files to detect violations of a defined coding standard, and a second phpcbf script to automatically correct coding standard violations. PHP_CodeSniffer is an essential development tool that ensures your code remains clean and consistent.
» Maintainers » More Information

Dependencies for PHP_CodeSniffer

  • PHP 5.1.2
  • PEAR Installer 1.4.0b1
  • tokenizer extension
  • xmlwriter extension
  • simplexml extension