PHP_CodeSniffer tokenises PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.
PHP JavaScript Other
Pull request Compare This branch is even with SnapInteractive:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CodeSniffer
scripts
tests
.gitattributes
.travis.yml
CodeSniffer.conf
CodeSniffer.php
README.markdown
composer.json
licence.txt
package.xml

README.markdown

About

This is Snap Interactive's fork of PHP_CodeSniffer; to view the original README see https://github.com/squizlabs/PHP_CodeSniffer.

PHP_CodeSniffer is a PHP5 script that tokenises 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.

Installation

Clone this repo and link to scripts/phpcs from somewhere in your executable path.