Skip to content

Commit 3702fd5

Browse files
committed
PHPUnit 11
1 parent d9fe623 commit 3702fd5

File tree

7 files changed

+700
-533
lines changed

7 files changed

+700
-533
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
php-version: "${{ matrix.php-version }}"
4141

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

4646
- name: "Install dependencies"

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
extensions: mbstring
5050

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

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
php-version:
35-
- "8.1"
3635
- "8.2"
3736
- "8.3"
3837
- "8.4"
@@ -159,6 +158,7 @@ jobs:
159158
php-version:
160159
- "7.4"
161160
- "8.0"
161+
- "8.1"
162162
operating-system: [ ubuntu-latest, windows-latest ]
163163

164164
steps:

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"MIT"
66
],
77
"require": {
8-
"php": "^8.1",
8+
"php": "^8.2",
99
"composer-runtime-api": "^2.0",
1010
"clue/ndjson-react": "^1.0",
1111
"composer/ca-bundle": "^1.2",
@@ -38,7 +38,7 @@
3838
"react/promise": "^3.2",
3939
"react/socket": "^1.3",
4040
"react/stream": "^1.1",
41-
"sebastian/diff": "^5.0",
41+
"sebastian/diff": "^6.0.2",
4242
"symfony/console": "^5.4.3",
4343
"symfony/finder": "^5.4.3",
4444
"symfony/polyfill-intl-grapheme": "^1.23",
@@ -61,14 +61,14 @@
6161
"phpstan/phpstan-nette": "^2.0",
6262
"phpstan/phpstan-phpunit": "^2.0.7",
6363
"phpstan/phpstan-strict-rules": "^2.0",
64-
"phpunit/phpunit": "10.5.31",
64+
"phpunit/phpunit": "^11.5.23",
6565
"shipmonk/composer-dependency-analyser": "^1.5",
6666
"shipmonk/dead-code-detector": "^0.12.0",
6767
"shipmonk/name-collision-detector": "^2.0"
6868
},
6969
"config": {
7070
"platform": {
71-
"php": "8.1.99"
71+
"php": "8.2.99"
7272
},
7373
"platform-check": false,
7474
"sort-packages": true,

0 commit comments

Comments
 (0)