Set up PHPCS pre-commit hook
This commit is contained in:
parent
fa067c7a7c
commit
df97cb2fe5
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