Skip to content

codzo/phpcodesniffer-git-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpcodesniffer-git-hook

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.

About

GIT hook for php-codesniffer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published