Skip to content

Commit cc33a01

Browse files
committed
Add support for Laravel 11
1 parent 31e6c6c commit cc33a01

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

.github/workflows/run-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,18 @@ jobs:
99
strategy:
1010
fail-fast: true
1111
matrix:
12-
php: ['8.1', '8.2']
13-
laravel: ['10.*']
12+
php: ['8.1', '8.2', '8.3']
13+
laravel: ['10.*', '11.*']
1414
composer-flags: ['--prefer-stable']
1515
can-fail: [false]
1616
include:
1717
- php: '8.1'
1818
laravel: '10.*'
1919
composer-flags: '--prefer-stable --prefer-lowest'
2020
can-fail: false
21+
exclude:
22+
- php: '8.1'
23+
laravel: '11.*'
2124

2225
name: "PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}"
2326

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
"require": {
1010
"php": "^8.1",
1111
"facade/ignition-contracts": "^1.0",
12-
"illuminate/collections": "^10.0",
13-
"illuminate/events": "^10.0",
14-
"illuminate/filesystem": "^10.0",
15-
"illuminate/routing": "^10.0",
16-
"illuminate/support": "^10.0",
17-
"illuminate/view": "^10.0"
12+
"illuminate/collections": "^10.0 || ^11.0",
13+
"illuminate/events": "^10.0 || ^11.0",
14+
"illuminate/filesystem": "^10.0 || ^11.0",
15+
"illuminate/routing": "^10.0 || ^11.0",
16+
"illuminate/support": "^10.0 || ^11.0",
17+
"illuminate/view": "^10.0 || ^11.0"
1818
},
1919
"require-dev": {
20-
"laravel/framework": "^10.0",
21-
"orchestra/testbench": "^8.0",
22-
"phpunit/phpunit": "^10.0",
20+
"laravel/framework": "^10.0 || ^11.0",
21+
"orchestra/testbench": "^8.0 || ^9.0",
22+
"phpunit/phpunit": "^10.0 || ^11.0",
2323
"spatie/phpunit-snapshot-assertions": "^5.0"
2424
},
2525
"autoload": {

0 commit comments

Comments
 (0)