Skip to content

Instantly share code, notes, and snippets.

@angryhans
angryhans / config
Created May 26, 2016 13:06
PHP CodeSniffer pre-commit hook for git. Works nicely with https://github.com/klaussilveira/phpcs-psr.
# path to phpcs "binary"
PHPCS_BIN=/usr/bin/phpcs
# the coding standard, you can also specify a path to your own standard here
# e. g. /path/to/my/standard/dir/
PHPCS_CODING_STANDARD=PSR
# comma-separated list of file patterns being ignored
PHPCS_IGNORE=