Skip to content

Commit 71a544c

Browse files
committed
re-added Laravel v11 support and updated CI workflow for Laravel 12 / PHP 8.4
1 parent 1305258 commit 71a544c

File tree

3 files changed

+20
-13
lines changed

3 files changed

+20
-13
lines changed

.editorconfig

+3
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ trim_trailing_whitespace = true
1313

1414
[*.md]
1515
trim_trailing_whitespace = false
16+
17+
[ci.yml]
18+
indent_size = 2

.github/workflows/ci.yml

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
68
phplint:
@@ -12,14 +14,14 @@ jobs:
1214
- name: Checkout
1315
uses: actions/checkout@v4
1416

15-
- name: "laravel-pint"
17+
- name: laravel-pint
1618
uses: aglipanci/laravel-pint-action@latest
1719
with:
1820
preset: laravel
1921
verboseMode: true
2022
testMode: true
21-
configPath: "pint.json"
22-
pintVersion: 1.18.2
23+
configPath: pint.json
24+
pintVersion: 1.21.0
2325
onlyDirty: true
2426

2527
test:
@@ -28,12 +30,14 @@ jobs:
2830
max-parallel: 15
2931
fail-fast: false
3032
matrix:
31-
php: [8.3, 8.2]
32-
laravel: [11.*]
33+
php: [8.4, 8.3, 8.2]
34+
laravel: ['11.*', '12.*']
3335
stability: [prefer-lowest, prefer-stable]
3436
include:
3537
- laravel: 11.*
3638
testbench: 9.*
39+
- laravel: 12.*
40+
testbench: 10.*
3741

3842
name: PHP${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
3943

composer.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@
3737
"require": {
3838
"php": "^8.2",
3939
"twilio/sdk": "^7.16 || ^8.3",
40-
"illuminate/notifications": "^12.0",
41-
"illuminate/support": "^12.0",
42-
"illuminate/events": "^12.0",
43-
"illuminate/queue": "^12.0"
40+
"illuminate/notifications": "^11.0 || ^12.0",
41+
"illuminate/support": "^11.0 || ^12.0",
42+
"illuminate/events": "^11.0 || ^12.0",
43+
"illuminate/queue": "^11.0 || ^12.0"
4444
},
4545
"require-dev": {
46-
"laravel/pint": "^1.18",
46+
"laravel/pint": "^1.21",
4747
"mockery/mockery": "^1.0",
48-
"orchestra/testbench": "^10.0",
49-
"phpunit/phpunit": "^11.5"
48+
"orchestra/testbench": "^9.0 || ^10.0",
49+
"phpunit/phpunit": "^10.5 || ^11.5.10"
5050
},
5151
"autoload": {
5252
"psr-4": {

0 commit comments

Comments
 (0)