A coding standard to check against the Symfony coding standards, copied from escapestudios/Symfony2-coding-standard which itself was copied from the -disappeared- opensky/Symfony2-coding-standard repository.
Composer integration has been additionally enabled.
Require PHP_CodeSniffer and this sniff in your project composer.json:
{
"require-dev": {
"squizlabs/php_codesniffer": "~2.3",
"metasyntactical/symfony-coding-standard": "~1.0"
}
}Afterwards call CodeSniffer with the standard:
$ vendor/bin/phpcs $FILENAME --standard=vendor/metasyntactical/composer-codesniffer-hooks/Symfony2/ruleset.xml