Skip to content

Commit b96ceea

Browse files
committed
Cleanup Compoer Scripts
1 parent e72be81 commit b96ceea

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

composer.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,15 @@
4141
},
4242
"scripts": {
4343
"format": "php-cs-fixer fix",
44-
"test": "composer run test:unit && composer run test:formatted && composer run test:lint",
44+
"test": [
45+
"@test:unit",
46+
"@test:formatted",
47+
"@test:lint"
48+
],
4549
"test:unit": "phpunit --coverage-clover=coverage.clover.xml --coverage-html cov",
46-
"test:unit:slow": "composer run test:unit -- --group slow",
47-
"test:unit:fast": "composer run test:unit -- --exclude-group slow",
48-
"test:formatted": "composer run format -- --dry-run --stop-on-violation --using-cache=no",
50+
"test:unit:slow": "@test:unit --group slow",
51+
"test:unit:fast": "@test:unit --exclude-group slow",
52+
"test:formatted": "@format --dry-run --stop-on-violation --using-cache=no",
4953
"test:lint": "psalm --stats --show-info=true --find-unused-psalm-suppress",
5054
"coverage:report": "php-coveralls --coverage_clover=coverage.clover.xml --json_path=coveralls-upload.json --insecure",
5155
"install:tools": "phive install --trust-gpg-keys 0x67F861C3D889C656",

0 commit comments

Comments
 (0)