Skip to content

Commit b765bd1

Browse files
Laravel 11.x Compatibility (#507)
1 parent a5dac8f commit b765bd1

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

.github/workflows/tests.yml

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
11
name: Tests
2-
on: [push]
2+
3+
on:
4+
- push
5+
36
jobs:
47
run:
58
runs-on: ubuntu-latest
9+
610
strategy:
711
matrix:
812
php: ['8.1', '8.2']
9-
laravel: [10.*]
13+
laravel: ['10.*', '11.*']
1014
dependency-version: [prefer-stable]
1115
include:
1216
- laravel: 10.*
1317
testbench: 8.*
18+
- laravel: 11.*
19+
testbench: 9.*
20+
exclude:
21+
- laravel: 11.*
22+
php: '8.1'
23+
1424
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
25+
1526
steps:
1627
- name: Checkout code
1728
uses: actions/checkout@v4

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@
2929
"ext-json": "*",
3030
"ext-zip": "*",
3131
"guzzlehttp/guzzle": "^7.5.0",
32-
"illuminate/support": "^10",
33-
"league/uri": "~6.7 || ~6.8",
32+
"illuminate/support": "^10 || ^11.0",
33+
"league/uri": "~6.7 || ~6.8 || ^7.4",
3434
"phpstan/extension-installer": "^1.2",
3535
"phpstan/phpstan-phpunit": "^1.2"
3636
},
3737
"require-dev": {
3838
"dg/bypass-finals": "^1.4",
3939
"mikey179/vfsstream": "^1.6",
4040
"mockery/mockery": "^1.5",
41-
"orchestra/testbench": "^8.1",
42-
"phpunit/phpunit": "^9.5.26"
41+
"orchestra/testbench": "^8.1 || ^9.0",
42+
"phpunit/phpunit": "^9.5.26 || ^10.5"
4343
},
4444
"minimum-stability": "dev",
4545
"prefer-stable": true,

0 commit comments

Comments
 (0)