Skip to content

Commit 750e04a

Browse files
committed
Update
1 parent a7f153c commit 750e04a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
description: 'with PHPUnit 12'
8080
php-version: '8.4'
8181
install-phpunit-12: true
82+
with-php-cs-fixer-from-master: true # @todo: remove this
8283
- os: ubuntu-latest
8384
php-version: '8.5'
8485
runs-on: ${{ matrix.os }}
@@ -121,14 +122,16 @@ jobs:
121122
run: composer require --dev php-coveralls/php-coveralls --no-update
122123

123124
- if: matrix.install-phpunit-12
124-
run: composer require --dev friendsofphp/php-cs-fixer:dev-master phpunit/phpunit:^12.0.2 --no-update
125+
run: composer require --dev phpunit/phpunit:^12.0.2 --no-update
125126

126127
- run: composer update --no-progress --classmap-authoritative ${{ matrix.composer-flags }}
127128

128129
- if: matrix.install-phpunit-12
129130
env:
130131
PHP_CS_FIXER_IGNORE_ENV: 1
131-
run: ./vendor/bin/php-cs-fixer fix --quiet --rules=php_unit_attributes
132+
run: |
133+
composer install-dev-tools
134+
./vendor/bin/php-cs-fixer fix --quiet --rules=php_unit_attributes
132135
133136
- run: composer show | grep php-cs-fixer
134137

0 commit comments

Comments
 (0)