PHP Composter PHP Code Sniffer PSR-2 (pre-commit).
This Composer package will start to check your PHP files upon each commit to make sure they comply to the PSR-2 Coding Style Guide.
This is a PHP Composter Action.
Uses the wonderful PHP CodeSniffer Project.
Just add as a development requirement to your
composer.json, and it should work automagically:
composer require --dev php-composter/php-composter-phpcs-psr2
It should just work when you
All feedback / bug reports / pull requests are welcome.