|Classes of Simo||>||CodeIgniter Plugin for Z-Ray||>||zray/vendor/PHP_CodeSniffer-2.2.0/README.md||>||Download|
PHP\_CodeSniffer is a set of two PHP scripts; the main
PHP\_CodeSniffer requires PHP version 5.1.2 or greater, although individual sniffs may have additional requirements such as external applications and scripts. See the Configuration Options manual page for a list of these requirements.
The SVN pre-commit hook requires PHP version 5.2.4 or greater due to its use of the vertical whitespace character.
The easiest way to get started with PHP\_CodeSniffer is to download the Phar files for each of the commands:
If you use PEAR, you can install PHP\_CodeSniffer using the PEAR installer. This will make the
If you prefer using Composer you can easily install PHP_CodeSniffer system-wide with the following command:
Make sure you have
Or alternatively, include a dependency for
You will then be able to run PHP_CodeSniffer from the vendor bin directory:
You can also download the PHP\_CodeSniffer source and run the
The documentation for PHP\_CodeSniffer is available on the Github wiki.
Information about upcoming features and releases is available on the Squiz Labs blog.
See CONTRIBUTING.md for information.