Skip to content

Commit

Permalink
Laravel 11 compatibility (#3)
Browse files Browse the repository at this point in the history
* Laravel 11 compatibility

* exclude incompatible laaravel/php versions in test action

* updates collision
  • Loading branch information
syropian authored Mar 7, 2024
1 parent 9bee521 commit a195d7d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,20 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.2, 8.1]
laravel: [10.*]
laravel: [10.*, 11.*]
stability: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
testbench: ^8.0
carbon: ^2.63
- laravel: 11.*
testbench: ^9.0
carbon: ^2.63
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.1

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

Expand Down
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@
"require": {
"php": "^8.1",
"spatie/laravel-package-tools": "^1.14.0",
"illuminate/contracts": "^10.0"
"illuminate/mail": "^10.0|^11.0",
"illuminate/notifications": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0"
},
"require-dev": {
"larastan/larastan": "^2.9",
"laravel/pint": "^1.0",
"nunomaduro/collision": "^7.8",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^8.8",
"nunomaduro/collision": "^7.8|^8.1",
"orchestra/testbench": "^8.8|^9.0",
"pestphp/pest": "^2.20",
"pestphp/pest-plugin-arch": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
Expand Down

0 comments on commit a195d7d

Please sign in to comment.