Skip to content

Commit

Permalink
feat: Support for PHPUnit 11
Browse files Browse the repository at this point in the history
  • Loading branch information
michalbundyra committed Feb 10, 2024
1 parent 5610b36 commit 7c0fcdc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- '7.1'
- '7.0'
phpunit-version:
- '11.0.0'
- '10.5.0'
- '10.4.0'
- '10.3.0'
Expand Down Expand Up @@ -148,6 +149,8 @@ jobs:
phpunit-version: '6.0.0'

# PHP 8.1 Exclusions
- php-version: '8.1'
phpunit-version: '11.0.0'
- php-version: '8.1'
phpunit-version: '9.4.0'
- php-version: '8.1'
Expand Down Expand Up @@ -194,6 +197,8 @@ jobs:
phpunit-version: '6.0.0'

# PHP 8.0 Exclusions
- php-version: '8.0'
phpunit-version: '11.0.0'
- php-version: '8.0'
phpunit-version: '10.5.0'
- php-version: '8.0'
Expand Down Expand Up @@ -248,6 +253,8 @@ jobs:
phpunit-version: '6.0.0'

# PHP 7.4 Exclusions
- php-version: '7.4'
phpunit-version: '11.0.0'
- php-version: '7.4'
phpunit-version: '10.5.0'
- php-version: '7.4'
Expand Down Expand Up @@ -288,6 +295,8 @@ jobs:
phpunit-version: '6.0.0'

# PHP 7.3 Exclusions
- php-version: '7.3'
phpunit-version: '11.0.0'
- php-version: '7.3'
phpunit-version: '10.5.0'
- php-version: '7.3'
Expand All @@ -302,6 +311,8 @@ jobs:
phpunit-version: '10.0.0'

# PHP 7.2 Exclusions
- php-version: '7.2'
phpunit-version: '11.0.0'
- php-version: '7.2'
phpunit-version: '10.5.0'
- php-version: '7.2'
Expand Down Expand Up @@ -330,6 +341,8 @@ jobs:
phpunit-version: '9.0.0'

# PHP 7.1 Exclusions
- php-version: '7.1'
phpunit-version: '11.0.0'
- php-version: '7.1'
phpunit-version: '10.5.0'
- php-version: '7.1'
Expand Down Expand Up @@ -370,6 +383,8 @@ jobs:
phpunit-version: '8.0.0'

# PHP 7.0 Exclusions
- php-version: '7.0'
phpunit-version: '11.0.0'
- php-version: '7.0'
phpunit-version: '10.5.0'
- php-version: '7.0'
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"require": {
"php": ">=7",
"phpunit/phpunit": "^6 || ^7 || ^8 || ^9 || ^10.0.17",
"phpunit/phpunit": "^6 || ^7 || ^8 || ^9 || ^10.0.17 || ^11",
"php-mock/php-mock-integration": "^2.2.1"
},
"require-dev": {
Expand Down

0 comments on commit 7c0fcdc

Please sign in to comment.