Substituted HEAD with $against so that check will work on first commits.
|Failed to load latest commit information.|
|README||Added a section informing the user that the file needs to be executab…|
|config||add sniff option to disable sniffs from the coding standard|
|pre-commit||Merge pull request #3 from jrgns/patch-1|
PHP Codesniffer Pre-Commit Hook for GIT Author: Soenke Ruempler <email@example.com> Website: http://github.com/s0enke/git-hooks REQUIREMENTS * Bash * PHP CodeSniffer: http://pear.php.net/package/PHP_CodeSniffer/redirected FEATURES * Check Coding style and forbid the commit if violations are found * Configuration file for Coding Standard, Path to PHPCS, Ignore List * Shows output in a 'less' pipe following the smart git principles USAGE * Put the script "pre-commit" into your .git/hooks directory * OR: add the script to your pre-commit "chain" (you probably know what to do then) * Put the Config file "config" into the same dir as the "pre-commit" script and edit it to your requirements * Ensure that the script is executable.