Git hooks to encourage well-written WordPress.
composer.json
(#41).phpcs.xml
from being checked by PHP_CodeSniffer (#27).composer.json
, add GitHub URLs.--diff-filter
in the pre-commit hook to ensure PHP_CodeSniffer doesn't attempt to tokenize files that have been deleted (#29). Props @JoeyBlake.vendor/bin
(previously removed in #3) within the pre-commit Git hook (#11). Props @leewillis77.--help
and --version
options to the wp-enforcer
command for easier usage (and setting us up for more fun options in the future, #8). Props @daveross.--vip
option to the wp-enforcer
command to use WordPress.com VIP coding standards (#7). Props @daveross.Initial public release of WP Enforcer.