Skip to content

Commit 8003a3c

Browse files
committed
feat: laravel 12 support
1 parent c443da8 commit 8003a3c

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

.github/workflows/phpstan.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
name: phpstan
1212
runs-on: ubuntu-latest
1313
steps:
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.4'
2020
coverage: none
2121

2222
- name: Install composer dependencies
23-
uses: ramsey/composer-install@v1
23+
uses: ramsey/composer-install@v2
2424

2525
- name: Run PHPStan
2626
run: ./vendor/bin/phpstan --error-format=github

.github/workflows/run-tests.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.2]
13-
laravel: [11.*]
12+
php: [8.2, 8.3, 8.4]
13+
laravel: [11.*, 12.*]
1414
stability: [prefer-stable]
1515
include:
1616
- laravel: 11.*
1717
testbench: 9.*
18+
- laravel: 12.*
19+
testbench: 10.*
1820

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

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

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

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.1|^8.2",
20-
"illuminate/contracts": "^11.0",
19+
"php": "^8.1|^8.2|^8.3|^8.4",
20+
"illuminate/contracts": "^11.0|^12.0",
2121
"laravel/slack-notification-channel": "^3.2",
2222
"ext-json": "*"
2323
},
2424
"require-dev": {
2525
"friendsofphp/php-cs-fixer": "^3.2",
26-
"laravel/sanctum": "^4.0",
27-
"orchestra/testbench": "^9.0",
26+
"laravel/sanctum": "^4.0|^5.0",
27+
"orchestra/testbench": "^9.0|^10.0",
2828
"phpunit/phpunit": "^10.0|^11.0",
29-
"symfony/stopwatch": "^4.4|^5.0",
29+
"symfony/stopwatch": "^4.4|^5.0|^6.0|^7.0",
3030
"nunomaduro/larastan": "^2.0",
3131
"phpstan/extension-installer": "^1.1"
3232
},

0 commit comments

Comments
 (0)