Skip to content

Instantly share code, notes, and snippets.

@ka2n
ka2n / config
Created September 2, 2012 04:18
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=