File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed
Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 4242 - name : " Install dependencies"
4343 run : " composer install --no-interaction --no-progress"
4444
45+ - name : " Downgrade PHPUnit"
46+ if : matrix.php-version == '7.4' || matrix.php-version == '8.0'
47+ run : " composer require --dev phpunit/phpunit:^9.6 --update-with-dependencies"
48+
4549 - name : " Transform source code"
46- if : matrix.php-version != '8.1' && matrix.php-version ! = '8.2' && matrix.php-version != '8.3' && matrix.php-version ! = '8.4 '
50+ if : matrix.php-version = = '7.4' || matrix.php-version = = '8.0 '
4751 run : |
4852 composer install --no-interaction --no-progress --working-dir=compiler
4953 ./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ jobs:
100100 run : " composer install --no-interaction --no-progress"
101101
102102 - name : " Transform source code"
103- if : matrix.php-version != '8.1' && matrix.php-version ! = '8.2' && matrix.php-version != '8.3' && matrix.php-version ! = '8.4 '
103+ if : matrix.php-version = = '7.4' || matrix.php-version = = '8.0 '
104104 run : |
105105 composer install --no-interaction --no-progress --working-dir=compiler
106106 ./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
@@ -121,8 +121,12 @@ jobs:
121121 - name : " Install dependencies"
122122 run : " composer install --no-interaction --no-progress"
123123
124+ - name : " Downgrade PHPUnit"
125+ if : matrix.php-version == '7.4' || matrix.php-version == '8.0'
126+ run : " composer require --dev phpunit/phpunit:^9.6 --update-with-dependencies"
127+
124128 - name : " Transform source code"
125- if : matrix.php-version != '8.1' && matrix.php-version ! = '8.2' && matrix.php-version != '8.3' && matrix.php-version ! = '8.4 '
129+ if : matrix.php-version = = '7.4' || matrix.php-version = = '8.0 '
126130 run : |
127131 composer install --no-interaction --no-progress --working-dir=compiler
128132 ./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
Original file line number Diff line number Diff line change @@ -51,15 +51,18 @@ jobs:
5151 - name : " Install dependencies"
5252 run : " composer install --no-interaction --no-progress"
5353
54+ - name : " Downgrade PHPUnit"
55+ if : matrix.php-version == '7.4' || matrix.php-version == '8.0'
56+ run : " composer require --dev phpunit/phpunit:^9.6 --update-with-dependencies"
57+
5458 - name : " Transform source code"
55- if : matrix.php-version != '8.1' && matrix.php-version ! = '8.2' && matrix.php-version != '8.3' && matrix.php-version ! = '8.4 '
59+ if : matrix.php-version = = '7.4' || matrix.php-version = = '8.0 '
5660 shell : bash
5761 run : |
5862 composer install --no-interaction --no-progress --working-dir=compiler
5963 ./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
6064 composer dump
6165
62-
6366 - name : " PHPStan"
6467 run : " make phpstan"
6568
You can’t perform that action at this time.
0 commit comments