mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
style: validate commit messages
This commit is contained in:
@@ -155,6 +155,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"check-syntax": "test `find ./src -iname \"*.php\" | xargs -n1 -P6 php -l | grep -Fv \"No syntax errors\" | wc -l` -eq 0",
|
||||
"lint": "git diff --staged | php ./vendor/bin/grumphp run",
|
||||
"normalize-composer": "find src -name \"composer.json\" -exec composer normalize {} \\;",
|
||||
"normalize-packs": "find packs -name \"composer.json\" -exec composer normalize {} \\;",
|
||||
"validate-composer": "find src -name \"composer.json\" -exec composer validate --strict {} \\;"
|
||||
|
||||
Reference in New Issue
Block a user