Skip to content

Commit 9d6f24d

Browse files
committed
dev bits
1 parent f73e39e commit 9d6f24d

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
path: vendor
4141
key: vendor-${{ hashFiles('composer.json') }}
4242
- uses: php-actions/composer@v6
43-
- run: composer stan
43+
- run: composer analyse-ci
4444

4545
format:
4646
name: Formatting

composer.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,17 @@
3030
]
3131
},
3232
"scripts": {
33-
"test": "XDEBUG_MODE=coverage phpunit",
34-
"analyse": "phpstan analyse",
35-
"format": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix"
33+
"check": [
34+
"@format",
35+
"@analyse",
36+
"@test"
37+
],
38+
"stan": [
39+
"@analyse"
40+
],
41+
"format": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix",
42+
"analyse-ci": "phpstan analyse --error-format=github",
43+
"analyse": "phpstan analyse --error-format=raw",
44+
"test": "XDEBUG_MODE=coverage phpunit"
3645
}
3746
}

0 commit comments

Comments
 (0)