Set up PHPCS pre-commit hook

This commit is contained in:
Ben Goldsworthy 2021-02-20 20:15:44 +00:00
parent 2b6d7bf29b
commit bcf2e0340b
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"
}
}