Created
April 22, 2012 07:47
-
-
Save antonbabenko/2462549 to your computer and use it in GitHub Desktop.
git pre-commit phpcs hook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/s0enke/git-hooks/tree/master/phpcs-pre-commit/ | |
curl -o .git/hooks/pre-commit https://raw.github.com/s0enke/git-hooks/master/phpcs-pre-commit/pre-commit | |
chmod +x .git/hooks/pre-commit | |
Specify Symfony2 as standards in pre-commit. | |
Also there is Netbeans plugin to verify coding style. | |
Profit! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment