A coding standard to check against the Symfony coding standards, originally shamelessly copied from the -disappeared- opensky/Symfony2-coding-standard repository.
This standard can be installed with the Composer dependency manager.
- 
Install the coding standard as a dependency of your project
composer require --dev escapestudios/symfony2-coding-standard:dev-master - 
Add the coding standard to the PHP_CodeSniffer install path
bin/phpcs --config-set installed_paths vendor/escapestudios/symfony2-coding-standard - 
Check the installed coding standards for "Symfony2" and "Ulabox"
bin/phpcs -i - 
Set the default coding standars to "Ulabox"
bin/phpcs --config-set default_standard Ulabox - 
Done!
vendor/bin/phpcs /path/to/code 
