Skip to content

Commit 90104e7

Browse files
Added support for Laravel 11 (#37)
1 parent e8261c2 commit 90104e7

File tree

6 files changed

+25
-16
lines changed

6 files changed

+25
-16
lines changed

.github/workflows/analyse.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [8.1]
13-
laravel: [10.*]
12+
php: [8.3]
13+
laravel: [10.*, 11.*]
1414
stability: [prefer-stable]
1515
include:
1616
- laravel: 10.*
1717
testbench: 8.*
18+
- laravel: 11.*
19+
testbench: 9.*
1820

1921
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2022

2123
steps:
2224
- name: Checkout code
23-
uses: actions/checkout@v2
25+
uses: actions/checkout@v4
2426

2527
- name: Setup PHP
2628
uses: shivammathur/setup-php@v2

.github/workflows/coverage.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [8.1]
13-
laravel: [10.*]
12+
php: [8.3]
13+
laravel: [10.*, 11.*]
1414
stability: [prefer-stable]
1515
include:
1616
- laravel: 10.*
1717
testbench: 8.*
18+
- laravel: 11.*
19+
testbench: 9.*
1820

1921
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2022

2123
steps:
2224
- name: Checkout code
23-
uses: actions/checkout@v2
25+
uses: actions/checkout@v4
2426

2527
- name: Setup PHP
2628
uses: shivammathur/setup-php@v2

.github/workflows/style.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111

1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515

1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: 8.2
19+
php-version: 8.3
2020
extensions: dom, curl, libxml, mbstring, zip, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
2121
coverage: none
2222

.github/workflows/tests.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,24 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
os: [ubuntu-20.04, ubuntu-22.04]
12-
php: [8.1, 8.2]
13-
laravel: [10.*]
11+
os: [ubuntu-latest]
12+
php: [8.1, 8.2, 8.3]
13+
laravel: [10.*, 11.*]
1414
stability: [prefer-lowest, prefer-stable]
1515
include:
1616
- laravel: 10.*
1717
testbench: 8.*
18+
- laravel: 11.*
19+
testbench: 9.*
20+
exclude:
21+
- laravel: 11.*
22+
php: 8.1
1823

1924
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2025

2126
steps:
2227
- name: Checkout code
23-
uses: actions/checkout@v2
28+
uses: actions/checkout@v4
2429

2530
- name: Setup PHP
2631
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
"require": {
77
"php": "^8.1",
88
"guzzlehttp/guzzle": "^7.5",
9-
"laravel/framework": "^10.0",
9+
"laravel/framework": "^10.0|^11.0",
1010
"league/oauth1-client": "^1.10"
1111
},
1212
"require-dev": {
1313
"laravel/pint": "^1.7",
14-
"nunomaduro/larastan": "^2.5",
14+
"larastan/larastan": "^2.5",
1515
"phpstan/phpstan-mockery": "^1.1",
1616
"phpunit/phpunit": "^10.1",
17-
"orchestra/testbench": "^8.0"
17+
"orchestra/testbench": "^8.0|^9.0"
1818
},
1919
"authors": [
2020
{

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
includes:
2-
- ./vendor/nunomaduro/larastan/extension.neon
2+
- ./vendor/larastan/larastan/extension.neon
33
- ./vendor/phpstan/phpstan-mockery/extension.neon
44

55
parameters:

0 commit comments

Comments
 (0)