Skip to content

Commit 9288871

Browse files
committed
Update
1 parent d357a2b commit 9288871

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ jobs:
125125

126126
- if: matrix.install-phpunit-12
127127
run: |
128-
composer install-dev-tools
129-
./vendor/bin/php-cs-fixer fix --quiet --rules=php_unit_attributes
128+
composer apply-php_unit_attributes
130129
131130
- run: composer show | grep php-cs-fixer
132131

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
"php-cs-fixer check --ansi --show-progress=dots --diff --verbose",
3636
"@composer --no-interaction --working-dir=.dev-tools analyse"
3737
],
38+
"apply-php_unit_attributes": [
39+
"@prepare-dev-tools",
40+
"php-cs-fixer fix --quiet --rules=php_unit_attributes || exit 0"
41+
],
3842
"fix": [
3943
"@prepare-dev-tools",
4044
"php-cs-fixer fix --ansi --verbose || exit 0",

0 commit comments

Comments
 (0)