mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 16:45:35 +08:00
Update hooks
This commit is contained in:
@@ -73,10 +73,10 @@
|
|||||||
"post-merge": "composer install",
|
"post-merge": "composer install",
|
||||||
"pre-commit": [
|
"pre-commit": [
|
||||||
"echo committing as $(git config user.name)",
|
"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": [
|
"pre-push": [
|
||||||
"./vendor/bin/php-cs-fixer fix --dry-run --diff ./src",
|
"composer cs-fix -- --dry-run --diff",
|
||||||
"composer analyse"
|
"composer analyse"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user