Skip to content

Commit

Permalink
Support laravel 11 (#171)
Browse files Browse the repository at this point in the history
* add laravel 11 support

* exclude php 8.1 from laravel 11 tests

* allow phpunit 10
  • Loading branch information
mokhosh authored Feb 26, 2024
1 parent de0cd49 commit d210dee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.3, 8.2, 8.1]
laravel: [10.*, 9.*]
laravel: [11.*, 10.*, 9.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
exclude:
- laravel: 11.*
php: 8.1

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
"license": "MIT",
"require": {
"php": "^8.1",
"illuminate/database": "^9.0|^10.0",
"illuminate/support": "^9.0|^10.0",
"nesbot/carbon": "^2.63",
"illuminate/database": "^9.0|^10.0|^11.0",
"illuminate/support": "^9.0|^10.0|^11.0",
"nesbot/carbon": "^2.63|^3.0",
"spatie/laravel-package-tools": "^1.9"
},
"require-dev": {
"phpunit/phpunit" : "^9.5",
"orchestra/testbench": "^7.0|^8.0"
"phpunit/phpunit" : "^9.5|^10.0",
"orchestra/testbench": "^7.0|^8.0|^9.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit d210dee

Please sign in to comment.