Skip to content

Commit 8e9c040

Browse files
authored
laravel 11 support (#64)
* laravel 11 support
1 parent 04d3d4c commit 8e9c040

File tree

2 files changed

+10
-19
lines changed

2 files changed

+10
-19
lines changed

.github/workflows/run-tests.yml

+8-17
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,15 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
os: [ubuntu-latest, windows-latest]
12-
php: [8.0, 8.1, 8.2]
13-
laravel: [^8.83.27, ^9.51.0, ^10.0.0]
14-
stability: [prefer-lowest, prefer-stable]
11+
os: [ubuntu-latest]
12+
php: [8.3, 8.2]
13+
laravel: [10.*, 11.*]
14+
stability: [prefer-stable]
1515
include:
16-
- laravel: ^10.0.0
17-
testbench: ^8.0.0
18-
- laravel: ^9.51.0
19-
testbench: ^7.22.0
20-
- laravel: ^8.83.27
21-
testbench: ^6.25.1
22-
exclude:
23-
- php: 8.0
24-
laravel: ^10.0.0
25-
- php: 8.1
26-
laravel: ^8.83.27
27-
16+
- laravel: 11.*
17+
testbench: 9.*
18+
- laravel: 10.*
19+
testbench: 8.*
2820

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

@@ -48,7 +40,6 @@ jobs:
4840
run: |
4941
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
5042
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
51-
composer require nesbot/carbon:^2.68.1
5243
5344
- name: List Installed Dependencies
5445
run: composer show -D

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
],
2424
"require": {
2525
"php": "^8.0",
26-
"illuminate/contracts": "^8.83.27|^9.51.0|^10.0.0",
26+
"illuminate/contracts": "^8.83.27|^9.51.0|^10.0.0|^11.0",
2727
"spatie/laravel-package-tools": "^1.12"
2828
},
2929
"require-dev": {
30-
"orchestra/testbench": "^6.25.1|^7.22.0|^8.0.0",
30+
"orchestra/testbench": "^6.25.1|^7.22.0|^8.0.0|^9.0",
3131
"mockery/mockery": "^0.9.4 || ~1.0",
3232
"pestphp/pest": "^1.23.1|^2.11",
3333
"pestphp/pest-plugin-laravel": "^1.4|^2.1",

0 commit comments

Comments
 (0)