Skip to content

Commit fd35a20

Browse files
committed
improve test command
1 parent d156fb4 commit fd35a20

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

composer.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,17 @@
3232
}
3333
},
3434
"scripts": {
35-
"codestyle": "php-cs-fixer fix --verbose --diff",
35+
"codestyle": "php-cs-fixer fix",
3636
"coverage": "phpunit --coverage-html=\".phpunit.cache/code-coverage\"",
3737
"phpstan": "phpstan analyze --memory-limit 512M --configuration .phpstan.neon",
3838
"phpunit": "phpunit",
3939
"reuse-annotate": "pipx run reuse annotate src tests --license=\"GPL-3.0-or-later\" --copyright=\"2015-2023 Artur Weigandt https://wlabs.de/kontakt\" --recursive --exclude-year --copyright-style=\"spdx\"",
40-
"reuse-lint": "pipx run reuse --suppress-deprecation lint"
40+
"reuse-lint": "pipx run reuse --suppress-deprecation lint",
41+
"test": [
42+
"@codestyle --verbose --diff",
43+
"@phpstan",
44+
"@phpunit"
45+
]
4146
},
4247
"config": {
4348
"sort-packages": true

0 commit comments

Comments
 (0)