Custom pre-commit Configuration
Procedure
You can get the pre-commit hook from here:
https://github.com/kenzo0107/git-hooks
- PHP syntax check (php -l)
- Prohibit commits on master
- The code conversion to PSR compliance via php-cs-fixer is commented out
You can get the pre-commit hook from here:
https://github.com/kenzo0107/git-hooks