Skip to content

Commit 7b0f1c1

Browse files
authored
Merge pull request #145 from laravel-shift/l11-compatibility
Laravel 11.x Compatibility
2 parents c1c4819 + 65624f4 commit 7b0f1c1

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

.github/workflows/run-tests.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,22 @@ name: run-tests
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- main
67
pull_request:
7-
branches: [main]
8+
branches:
9+
- main
810

911
jobs:
1012
test:
1113
runs-on: ${{ matrix.os }}
14+
1215
strategy:
1316
fail-fast: false
1417
matrix:
1518
os: [ubuntu-latest]
1619
php: [8.2, 8.1, 8.0]
17-
laravel: [9.*, 8.*, 10.*]
20+
laravel: ['8.*', '9.*', '10.*', '11.*']
1821
stability: [prefer-lowest, prefer-stable]
1922
include:
2023
- laravel: 10.*
@@ -23,9 +26,15 @@ jobs:
2326
testbench: 7.*
2427
- laravel: 8.*
2528
testbench: ^6.23
29+
- laravel: 11.*
30+
testbench: 9.*
2631
exclude:
2732
- laravel: 10.*
28-
php: 8.0
33+
php: 8.0
34+
- laravel: 11.*
35+
php: 8.1
36+
- laravel: 11.*
37+
php: 8.0
2938

3039
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3140

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
],
1818
"require": {
1919
"php": "^8.0",
20-
"illuminate/support": "^7.0|^8.0|^9.0|^10.0",
20+
"illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0",
2121
"league/flysystem": "^1.0.41|^2.0|^3.0",
2222
"spatie/db-dumper": "^3.3",
2323
"spatie/laravel-package-tools": "^1.6",
2424
"spatie/temporary-directory": "^2.0"
2525
},
2626
"require-dev": {
2727
"mockery/mockery": "^1.4",
28-
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0",
29-
"pestphp/pest-plugin-laravel": "^1.3",
30-
"phpunit/phpunit": "^9.5"
28+
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0",
29+
"pestphp/pest-plugin-laravel": "^1.3|^2.3",
30+
"phpunit/phpunit": "^9.5|^10.5"
3131
},
3232
"autoload": {
3333
"psr-4": {

0 commit comments

Comments
 (0)