Update hooks

This commit is contained in:
crazywhalecc 2022-04-02 17:07:24 +08:00
parent 299f36dcc0
commit 65cc2a948a

View File

@ -73,10 +73,10 @@
"post-merge": "composer install",
"pre-commit": [
"echo committing as $(git config user.name)",
"./vendor/bin/php-cs-fixer fix --dry-run --diff ./src"
"composer cs-fix -- --dry-run --diff"
],
"pre-push": [
"./vendor/bin/php-cs-fixer fix --dry-run --diff ./src",
"composer cs-fix -- --dry-run --diff",
"composer analyse"
]
},