https://blog.canopas.com/autom....ation-php-code-forma

Automation — PHP Code Formatting before(pre) git commit | by Sumita K | Canopas
blog.canopas.com

Automation — PHP Code Formatting before(pre) git commit | by Sumita K | Canopas

Git hooks are scripts that will run when a certain event occurs in git like git push, git pull, git commit, etc… We can find git hooks at .git/hooks in a particular git repository. Pre-commit is a…