Skip to content

Commit a195d7d

Browse files
authored
Laravel 11 compatibility (#3)
* Laravel 11 compatibility * exclude incompatible laaravel/php versions in test action * updates collision
1 parent 9bee521 commit a195d7d

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,20 @@ jobs:
1414
matrix:
1515
os: [ubuntu-latest]
1616
php: [8.2, 8.1]
17-
laravel: [10.*]
17+
laravel: [10.*, 11.*]
1818
stability: [prefer-stable]
1919
include:
2020
- laravel: 10.*
21-
testbench: 8.*
21+
testbench: ^8.0
2222
carbon: ^2.63
23+
- laravel: 11.*
24+
testbench: ^9.0
25+
carbon: ^2.63
26+
exclude:
27+
- laravel: 10.*
28+
php: 8.0
29+
- laravel: 11.*
30+
php: 8.1
2331

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

composer.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@
2020
"require": {
2121
"php": "^8.1",
2222
"spatie/laravel-package-tools": "^1.14.0",
23-
"illuminate/contracts": "^10.0"
23+
"illuminate/mail": "^10.0|^11.0",
24+
"illuminate/notifications": "^10.0|^11.0",
25+
"illuminate/support": "^10.0|^11.0"
2426
},
2527
"require-dev": {
28+
"larastan/larastan": "^2.9",
2629
"laravel/pint": "^1.0",
27-
"nunomaduro/collision": "^7.8",
28-
"nunomaduro/larastan": "^2.0.1",
29-
"orchestra/testbench": "^8.8",
30+
"nunomaduro/collision": "^7.8|^8.1",
31+
"orchestra/testbench": "^8.8|^9.0",
3032
"pestphp/pest": "^2.20",
3133
"pestphp/pest-plugin-arch": "^2.0",
3234
"pestphp/pest-plugin-laravel": "^2.0",

0 commit comments

Comments
 (0)