|
38 | 38 | - name: "Install dependencies"
|
39 | 39 | run: "composer install --no-interaction --no-progress --no-suggest"
|
40 | 40 |
|
41 |
| - - name: "Update PHPUnit" |
42 |
| - if: matrix.php-version == '7.4' || matrix.php-version == '8.0' |
43 |
| - run: "composer require --dev phpunit/phpunit:'^9.5' --update-with-dependencies" |
44 |
| - |
| 41 | + - name: "Downgrade PHPUnit" |
| 42 | + if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3' |
| 43 | + run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies" |
45 | 44 |
|
46 | 45 | - name: "Lint"
|
47 | 46 | run: "make lint"
|
@@ -111,9 +110,9 @@ jobs:
|
111 | 110 | if: ${{ matrix.dependencies == 'highest' }}
|
112 | 111 | run: "composer update --no-interaction --no-progress --no-suggest"
|
113 | 112 |
|
114 |
| - - name: "Update PHPUnit" |
115 |
| - if: matrix.php-version == '7.4' || matrix.php-version == '8.0' |
116 |
| - run: "composer require --dev phpunit/phpunit:'^9.5' --update-with-dependencies" |
| 113 | + - name: "Downgrade PHPUnit" |
| 114 | + if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3' |
| 115 | + run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies" |
117 | 116 |
|
118 | 117 | - name: "Tests"
|
119 | 118 | run: "make tests"
|
@@ -155,9 +154,9 @@ jobs:
|
155 | 154 | if: ${{ matrix.dependencies == 'highest' }}
|
156 | 155 | run: "composer update --no-interaction --no-progress --no-suggest"
|
157 | 156 |
|
158 |
| - - name: "Update PHPUnit" |
159 |
| - if: matrix.php-version == '7.4' || matrix.php-version == '8.0' |
160 |
| - run: "composer require --dev phpunit/phpunit:'^9.5' --update-with-dependencies" |
| 157 | + - name: "Downgrade PHPUnit" |
| 158 | + if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3' |
| 159 | + run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies" |
161 | 160 |
|
162 | 161 | - name: "PHPStan"
|
163 | 162 | run: "make phpstan"
|
0 commit comments