Skip to content

Commit 4e7f8f3

Browse files
Add Support for Laravel 11 (#19)
* Support Laravel 11 * Run Tests for Laravel 11 * Upgrade actions/checkout
1 parent aa0c4ce commit 4e7f8f3

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,28 @@ jobs:
1010
matrix:
1111
os: [ubuntu-latest]
1212
php: [8.3, 8.2, 8.1, 8.0]
13-
laravel: [9.*, 10.*]
13+
laravel: [9.*, 10.*, 11.*]
1414
dependency-version: [prefer-stable]
1515
include:
1616
- laravel: 9.*
1717
testbench: 7.*
1818
- laravel: 10.*
1919
testbench: 8.*
20+
- laravel: 11.*
21+
testbench: 9.*
2022
exclude:
2123
- laravel: 10.*
2224
php: 8.0
25+
- laravel: 11.*
26+
php: 8.0
27+
- laravel: 11.*
28+
php: 8.1
2329

2430
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
2531

2632
steps:
2733
- name: Checkout code
28-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
2935

3036
- name: Setup PHP
3137
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"require": {
2020
"php": "^8.0",
2121
"spatie/laravel-package-tools": "^1.9.2",
22-
"illuminate/contracts": "^9.0 | ^10.0"
22+
"illuminate/contracts": "^9.0 | ^10.0 | ^11.0"
2323
},
2424
"require-dev": {
2525
"friendsofphp/php-cs-fixer": "^3.4",
26-
"nunomaduro/collision": "^5.10 |^6.0 | ^7.0",
27-
"nunomaduro/larastan": "^2.0",
28-
"orchestra/testbench": "^7 | ^8",
26+
"nunomaduro/collision": "^5.10 |^6.0 | ^7.0 | ^8.0",
27+
"larastan/larastan": "^2.0",
28+
"orchestra/testbench": "^7 | ^8 | ^9",
2929
"pestphp/pest": "^1.21 | ^2.0",
3030
"pestphp/pest-plugin-laravel": "^1.1 | ^2.0",
3131
"phpstan/extension-installer": "^1.1",

0 commit comments

Comments
 (0)