This is a fork of the Symfony coding standards enabling their installation via composer. All additions, please contribute to the upstream repository.
-
Install via composer:
mkdir CodeSniffer cd CodeSniffer composer require aoe/Symfony2-coding-standard
-
Profit!
cd /path/to/my/project CodeSniffer/vendor/bin/phpcs CodeSniffer/vendor/bin/phpcs path/to/my/file.php
If you do contribute code to these sniffs, please make sure to contribute to the uplink repository at https://github.com/escapestudios/Symfony2-coding-standard.