This hook check saving code before you save commit.
- copy files into
.git/hooks/folder of project - delete not needed executors from
pre-commit.dfolder
php-vardump- check for absence in php filesvar_dumpandprint_rfunctionsjs-consolelog- check for absence in js filesconsole.logfunctionphpunit- runphpunitfromvendor/binand check for errorsphpstan- runphpstanfromvendor/binand check for errorscodeception- runcodeceptfromvendor/binand check for errorsrobo-parallel- runrobofromvendor/binand check for errors
If you know what you are doing:
git commit --no-verify