Set up PHPCS pre-commit hook

This commit is contained in:
Ben Goldsworthy 2021-02-20 20:15:44 +00:00 committed by Rumperuu
parent fa067c7a7c
commit df97cb2fe5
2 changed files with 128 additions and 0 deletions

13
composer.json Normal file
View file

@ -0,0 +1,13 @@
{
"scripts": {
"post-install-cmd": [
"PHPCodeChecker\\Installer::postInstall"
],
"post-update-cmd": [
"PHPCodeChecker\\Installer::postInstall"
]
},
"require": {
"wickedreports/phpcs-pre-commit-hook": "^0.7.0"
}
}