Set up PHPCS pre-commit hook
This commit is contained in:
parent
2b6d7bf29b
commit
bcf2e0340b
2 changed files with 128 additions and 0 deletions
13
composer.json
Normal file
13
composer.json
Normal 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"
|
||||
}
|
||||
}
|
Reference in a new issue