GIT hook for php-codesniffer
This requires git 2.9+ (June 2016).
Clone the project, then run following code in this repo directory.
composer install
During the process a new git hook will be applied globally.
Once installed, git commit
command will trigger the check of codesniffer on your repo. If it's something codesniffer can fix it will fix the problem automatically.