Skip to content

martiadrogue/php-pre-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PHP PRE-COMMIT

Fancy pre-commit script designed for PHP projects. It lints all staged PHP files. Change permissions to allow its execution and then move the file to .git/hooks/pre-commit.

It's based on https://gist.github.com/filipekiss/8340999

sudo chmod +x pre-commit
mv pre-commit .git/hooks/pre-commit

Happy coding

About

Fancy pre-commit script designed for PHP projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages