Skip to content

Commit 8d55897

Browse files
add composer script for quickly running all checks
1 parent edc4c3b commit 8d55897

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
"phpstan/extension-installer": "^1.4"
3333
},
3434
"scripts": {
35+
"all-checks": [
36+
"@check-syntax",
37+
"@check-codestyle",
38+
"@static-analysis",
39+
"@test"
40+
],
3541
"check-syntax": "find . -name '*.php' -not -path './vendor/*' -not -path './node_modules/*' -print0 | xargs -0 -n1 php -l",
3642
"check-codestyle": "vendor/bin/phpcs -sn",
3743
"static-analysis": "vendor/bin/phpstan analyse",

0 commit comments

Comments
 (0)