Please use a fixed fork of CodeSniffer
WIP
To use this ruleset, you have to download Code Sniffer and have it in your include path.
Then go to your sources directory and run following command:
phpcs --standard=/path/to/ruleset.xml .
Run tests with PHPUnit, but don't forget to add CodeSniffer source code to include_path
:
phpunit -dinclude_path=.:vendor/CodeSniffer:/usr/local/lib/php