This hook check saving code before you save commit.
- copy files into
.git/hooks/
folder of project - delete not needed executors from
pre-commit.d
folder
php-vardump
- check for absence in php filesvar_dump
andprint_r
functionsjs-consolelog
- check for absence in js filesconsole.log
functionphpunit
- runphpunit
fromvendor/bin
and check for errorsphpstan
- runphpstan
fromvendor/bin
and check for errorscodeception
- runcodecept
fromvendor/bin
and check for errorsrobo-parallel
- runrobo
fromvendor/bin
and check for errors
If you know what you are doing:
git commit --no-verify