Skip to content

Commit

Permalink
Test against PHP 8.4 (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric authored Nov 6, 2024
1 parent 2690140 commit 0ac15fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ "8.3", "8.2", "8.1" ]
php: [ "8.4", "8.3", "8.2", "8.1" ]
packages:
# All versions below only support PHP ^8.1 (Laravel requirement)
- { laravel: ^10.0, testbench: ^8.0, phpunit: 9.6.* }
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ "8.3", "8.2", "8.1", "8.0", "7.4", "7.3", "7.2" ]
php: [ "8.4", "8.3", "8.2", "8.1", "8.0", "7.4", "7.3", "7.2" ]
packages:
# All versions below should be test on PHP ^7.1 (Sentry SDK requirement) and PHP < 8.0 (PHPUnit requirement)
- { laravel: ^6.0, testbench: 4.7.*, phpunit: 8.4.* }
Expand Down Expand Up @@ -126,6 +126,13 @@ jobs:
- php: "8.3"
packages: { laravel: ^8.0, testbench: ^6.0, phpunit: 9.3.* }

- php: "8.4"
packages: { laravel: ^6.0, testbench: 4.7.*, phpunit: 8.4.* }
- php: "8.4"
packages: { laravel: ^7.0, testbench: 5.1.*, phpunit: 8.4.* }
- php: "8.4"
packages: { laravel: ^8.0, testbench: ^6.0, phpunit: 9.3.* }

name: phpunit (PHP:${{ matrix.php }}, Laravel:${{ matrix.packages.laravel }})

steps:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"require": {
"php": "^7.2 | ^8.0",
"illuminate/support": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0",
"sentry/sentry": "^4.9",
"sentry/sentry": "^4.10",
"symfony/psr-http-message-bridge": "^1.0 | ^2.0 | ^6.0 | ^7.0",
"nyholm/psr7": "^1.0"
},
Expand Down

0 comments on commit 0ac15fa

Please sign in to comment.