Skip to content

Commit 7957041

Browse files
authored
Merge pull request #3 from worksome/feature/laravel-11
feat: add support for Laravel 11
2 parents de81147 + 4b797df commit 7957041

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: PHPStan
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2

.github/workflows/tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,20 @@ jobs:
1515
fail-fast: true
1616
matrix:
1717
os: [ubuntu-latest]
18-
php: [8.2]
19-
laravel: [10.*]
18+
php: [8.2, 8.3]
19+
laravel: [10.*, 11.*]
2020
stability: [prefer-lowest, prefer-stable]
2121
include:
2222
- laravel: 10.*
2323
testbench: 8.*
24+
- laravel: 11.*
25+
testbench: 9.*
2426

2527
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2628

2729
steps:
2830
- name: Checkout code
29-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3032

3133
- name: Setup PHP
3234
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
],
1818
"require": {
1919
"php": "^8.2",
20-
"spatie/laravel-package-tools": "^1.14.1",
21-
"illuminate/contracts": "^10.0"
20+
"spatie/laravel-package-tools": "^1.16",
21+
"illuminate/contracts": "^10.0 || ^11.0"
2222
},
2323
"require-dev": {
24-
"nunomaduro/collision": "^7.0",
25-
"nunomaduro/larastan": "^2.5.1",
26-
"orchestra/testbench": "^8.0.8",
27-
"pestphp/pest": "^2.0",
28-
"pestphp/pest-plugin-laravel": "^2.0",
29-
"worksome/coding-style": "^2.5"
24+
"nunomaduro/collision": "^7.0 || ^8.1",
25+
"larastan/larastan": "^2.6",
26+
"orchestra/testbench": "^8.0.8 || ^9.0",
27+
"pestphp/pest": "^2.33",
28+
"pestphp/pest-plugin-laravel": "^2.2",
29+
"worksome/coding-style": "^2.8"
3030
},
3131
"autoload": {
3232
"psr-4": {

0 commit comments

Comments
 (0)