Skip to content

Commit

Permalink
Supports PHPUnit 12
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jan 28, 2025
1 parent d0f1858 commit 2f9b31e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/strict-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ jobs:
- 8.4
phpunit:
- "~11.5.3"
- "~12.0.0"
experimental:
- false
exclude:
- php: 8.2
phpunit: "~12.0.0"

name: PHP:${{ matrix.php }} / PHPUnit:${{ matrix.phpunit }}

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ jobs:
- 8.4
phpunit:
- "~11.5.3"
- "~12.0.0"
dependencies:
- "highest"
- "lowest"
experimental:
- false
exclude:
- php: 8.2
phpunit: "~12.0.0"

name: PHP:${{ matrix.php }} / PHPUnit:${{ matrix.phpunit }} ${{ matrix.dependencies == 'highest' && '⬆️' || '⬇️' }}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"laravel/framework": "12.x-dev",
"laravel/tinker": "dev-develop",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^10.5.35 || ^11.3.6"
"phpunit/phpunit": "^11.5.3 || ^12.0.0"
},
"config": {
"preferred-install": {
Expand Down

0 comments on commit 2f9b31e

Please sign in to comment.