Skip to content

Commit 4f19a08

Browse files
Added PHPUnit 12 support
1 parent f895811 commit 4f19a08

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.github/workflows/php.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
build:
1313
strategy:
1414
matrix:
15-
php: ['8.0', '8.1', '8.2', '8.3']
16-
phpunit: ['8.0', '9.0', '10.0', '11.0']
15+
php: ['8.1', '8.2', '8.3', '8.4']
16+
phpunit: ['8.0', '9.0', '10.0', '11.0', '12.0']
1717
exclude:
18-
- php: '8.0'
19-
phpunit: '10.0'
2018
- php: '8.1'
2119
phpunit: '11.0'
22-
- php: '8.0'
23-
phpunit: '11.0'
20+
- php: '8.1'
21+
phpunit: '12.0'
22+
- php: '8.2'
23+
phpunit: '12.0'
2424
runs-on: ubuntu-latest
2525
name: PHP ${{ matrix.php }}, PHPUnit ${{ matrix.phpunit }}
2626

.github/workflows/php_coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup PHP
1515
uses: shivammathur/setup-php@v2
1616
with:
17-
php-version: 8.3
17+
php-version: 8.4
1818
extensions: mbstring, intl, json
1919
coverage: pcov
2020

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/build/
22
/composer.lock
33
/vendor/
4-
.phpunit.result.cache
4+
.phpunit.cache
55

66
/.idea/

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ This library is [MIT-licensed](LICENSE.txt).
2323

2424
There are several release branches of this library, each of these being compatible with different releases of PHPUnit and PHP. The following table should give an easy overview:
2525

26-
| "JSON assertion" version | PHPUnit 4 | PHPUnit 5 | PHPUnit 6 | PHPUnit 7 | PHPUnit 8 | PHPUnit 9 | PHPUnit 10 | PHPUnit 11 |
27-
| ------------------------ | --------- | --------- | --------- | --------- | --------- | --------- | ---------- |------------|
28-
| v1 (branch `v1`), **unsupported** | :white_check_mark: | :white_check_mark: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: |
29-
| v2 (branch `v2`) | :no_entry_sign: | :no_entry_sign: | :white_check_mark: | :white_check_mark: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: |
30-
| v3 (branch `master`) | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
26+
| "JSON assertion" version | PHPUnit 4 | PHPUnit 5 | PHPUnit 6 | PHPUnit 7 | PHPUnit 8 | PHPUnit 9 | PHPUnit 10 | PHPUnit 11 | PHPUnit 12 |
27+
| ------------------------ | --------- | --------- | --------- | --------- | --------- | --------- | ---------- |------------|------------|
28+
| v1 (branch `v1`), **unsupported** | :white_check_mark: | :white_check_mark: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: |
29+
| v2 (branch `v2`) | :no_entry_sign: | :no_entry_sign: | :white_check_mark: | :white_check_mark: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: |
30+
| v3 (branch `master`) | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :no_entry_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
3131

3232
When you are using `composer require` and have already declared a dependency to `phpunit/phpunit` in your `composer.json` file, Composer should pick latest compatible version automatically.
3333

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
}
1010
],
1111
"require": {
12-
"php": "^8.0",
12+
"php": "^8.1",
1313
"softcreatr/jsonpath": "^0.8",
1414
"justinrainbow/json-schema": "^5.0"
1515
},
1616
"conflict": {
1717
"phpunit/phpunit": "<8.0 || >= 12.0"
1818
},
1919
"require-dev": {
20-
"phpunit/phpunit": "^8.0 || ^9.0 || ^10.0 || ^11.0"
20+
"phpunit/phpunit": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0"
2121
},
2222
"autoload": {
2323
"psr-4": {

0 commit comments

Comments
 (0)