Skip to content

Commit 33ccbe6

Browse files
authored
Laravel 10 compatibility (#17)
* allow illuminate/contracts ^10.0 * github actions laravel 10 * exclude laravel 10 and php 8.0 * add orchestra testbench ^8.0
1 parent 751c759 commit 33ccbe6

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/run-tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,17 @@ jobs:
1515
fail-fast: true
1616
matrix:
1717
os: [ ubuntu-latest, windows-latest ]
18-
php: [ 8.0 ]
19-
laravel: [ 9.* ]
18+
php: [ 8.0, 8.1 ]
19+
laravel: [ 10.*, 9.* ]
2020
stability: [ prefer-lowest, prefer-stable ]
2121
include:
22+
- laravel: 10.*
23+
testbench: 8.*
2224
- laravel: 9.*
23-
testbench: ^7.0
25+
testbench: 7.*
26+
exclude:
27+
- laravel: 10.*
28+
php: 8.0
2429

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

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
"require": {
2525
"php": "^8.0.2",
2626
"filament/filament": "^2.16",
27-
"illuminate/contracts": "^9.0",
27+
"illuminate/contracts": "^9.0|^10.0",
2828
"spatie/laravel-package-tools": "^1.13.0"
2929
},
3030
"require-dev": {
3131
"laravel/pint": "^1.0",
3232
"nunomaduro/collision": "^6.0",
3333
"nunomaduro/larastan": "^2.0.1",
34-
"orchestra/testbench": "^7.0",
34+
"orchestra/testbench": "^7.0|^8.0",
3535
"pestphp/pest": "^1.21",
3636
"pestphp/pest-plugin-laravel": "^1.1",
3737
"phpstan/extension-installer": "^1.1",

0 commit comments

Comments
 (0)