Skip to content

Commit 0a9ba5e

Browse files
committed
PHPUnit 10.x is compatible with PHP 8.1
Don't downgrade to 9.6.x
1 parent dd41088 commit 0a9ba5e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ jobs:
4141
php-version: "${{ matrix.php-version }}"
4242

4343
- name: "Downgrade PHPUnit"
44-
if: matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1'
44+
if: matrix.php-version == '7.4' || matrix.php-version == '8.0'
4545
run: "composer require --dev phpunit/phpunit:^9.6 sebastian/diff:^4.0 --update-with-dependencies --ignore-platform-reqs"
4646

4747
- name: "Install dependencies"
4848
run: "composer install --no-interaction --no-progress"
4949

5050
- name: "Transform source code"
51-
if: matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1'
51+
if: matrix.php-version == '7.4' || matrix.php-version == '8.0'
5252
run: |
5353
composer install --no-interaction --no-progress --working-dir=compiler
5454
./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}

.github/workflows/static-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ jobs:
5050
extensions: mbstring
5151

5252
- name: "Downgrade PHPUnit"
53-
if: matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1'
53+
if: matrix.php-version == '7.4' || matrix.php-version == '8.0'
5454
shell: bash
5555
run: "composer require --dev phpunit/phpunit:^9.6 sebastian/diff:^4.0 --update-with-dependencies --ignore-platform-reqs"
5656

5757
- name: "Install dependencies"
5858
run: "composer install --no-interaction --no-progress"
5959

6060
- name: "Transform source code"
61-
if: matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1'
61+
if: matrix.php-version == '7.4' || matrix.php-version == '8.0'
6262
shell: bash
6363
run: |
6464
composer install --no-interaction --no-progress --working-dir=compiler

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
php-version:
35+
- "8.1"
3536
- "8.2"
3637
- "8.3"
3738
- "8.4"
@@ -159,7 +160,6 @@ jobs:
159160
php-version:
160161
- "7.4"
161162
- "8.0"
162-
- "8.1"
163163
operating-system: [ ubuntu-latest, windows-latest ]
164164

165165
steps:

0 commit comments

Comments
 (0)