Skip to content

Commit e1f7e79

Browse files
feat: Support PHPUnit 11 (#67)
1 parent 5610b36 commit e1f7e79

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/workflows/tests.yml

+15
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- '7.1'
2424
- '7.0'
2525
phpunit-version:
26+
- '11.0.0'
2627
- '10.5.0'
2728
- '10.4.0'
2829
- '10.3.0'
@@ -148,6 +149,8 @@ jobs:
148149
phpunit-version: '6.0.0'
149150

150151
# PHP 8.1 Exclusions
152+
- php-version: '8.1'
153+
phpunit-version: '11.0.0'
151154
- php-version: '8.1'
152155
phpunit-version: '9.4.0'
153156
- php-version: '8.1'
@@ -194,6 +197,8 @@ jobs:
194197
phpunit-version: '6.0.0'
195198

196199
# PHP 8.0 Exclusions
200+
- php-version: '8.0'
201+
phpunit-version: '11.0.0'
197202
- php-version: '8.0'
198203
phpunit-version: '10.5.0'
199204
- php-version: '8.0'
@@ -248,6 +253,8 @@ jobs:
248253
phpunit-version: '6.0.0'
249254

250255
# PHP 7.4 Exclusions
256+
- php-version: '7.4'
257+
phpunit-version: '11.0.0'
251258
- php-version: '7.4'
252259
phpunit-version: '10.5.0'
253260
- php-version: '7.4'
@@ -288,6 +295,8 @@ jobs:
288295
phpunit-version: '6.0.0'
289296

290297
# PHP 7.3 Exclusions
298+
- php-version: '7.3'
299+
phpunit-version: '11.0.0'
291300
- php-version: '7.3'
292301
phpunit-version: '10.5.0'
293302
- php-version: '7.3'
@@ -302,6 +311,8 @@ jobs:
302311
phpunit-version: '10.0.0'
303312

304313
# PHP 7.2 Exclusions
314+
- php-version: '7.2'
315+
phpunit-version: '11.0.0'
305316
- php-version: '7.2'
306317
phpunit-version: '10.5.0'
307318
- php-version: '7.2'
@@ -330,6 +341,8 @@ jobs:
330341
phpunit-version: '9.0.0'
331342

332343
# PHP 7.1 Exclusions
344+
- php-version: '7.1'
345+
phpunit-version: '11.0.0'
333346
- php-version: '7.1'
334347
phpunit-version: '10.5.0'
335348
- php-version: '7.1'
@@ -370,6 +383,8 @@ jobs:
370383
phpunit-version: '8.0.0'
371384

372385
# PHP 7.0 Exclusions
386+
- php-version: '7.0'
387+
phpunit-version: '11.0.0'
373388
- php-version: '7.0'
374389
phpunit-version: '10.5.0'
375390
- php-version: '7.0'

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
},
2020
"require": {
2121
"php": ">=7",
22-
"phpunit/phpunit": "^6 || ^7 || ^8 || ^9 || ^10.0.17",
23-
"php-mock/php-mock-integration": "^2.2.1"
22+
"phpunit/phpunit": "^6 || ^7 || ^8 || ^9 || ^10.0.17 || ^11",
23+
"php-mock/php-mock-integration": "^2.3"
2424
},
2525
"require-dev": {
2626
"mockery/mockery": "^1.3.6"

0 commit comments

Comments
 (0)