codzo / phpcodesniffer-git-hook
GIT hook for PHP-Codesniffer
Installs: 287
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Shell
Type:tool
Requires
This package is auto-updated.
Last update: 2025-03-10 19:33:39 UTC
README
GIT hook for php-codesniffer
System Requirement
This requires git 2.9+ (June 2016).
Install
Clone the project, then run following code in this repo directory.
composer install
During the process a new git hook will be applied globally.
Features
Once installed, git commit
command will trigger the check of codesniffer on your repo. If it's something codesniffer can fix it will fix the problem automatically.