Skip to content

Commit

Permalink
re-added Laravel v11 support and updated CI workflow for Laravel 12 /…
Browse files Browse the repository at this point in the history
… PHP 8.4
  • Loading branch information
onlime committed Mar 3, 2025
1 parent 1305258 commit 71a544c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[ci.yml]
indent_size = 2
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: CI

on: [push, pull_request]
on:
- push
- pull_request

jobs:
phplint:
Expand All @@ -12,14 +14,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: "laravel-pint"
- name: laravel-pint
uses: aglipanci/laravel-pint-action@latest
with:
preset: laravel
verboseMode: true
testMode: true
configPath: "pint.json"
pintVersion: 1.18.2
configPath: pint.json
pintVersion: 1.21.0
onlyDirty: true

test:
Expand All @@ -28,12 +30,14 @@ jobs:
max-parallel: 15
fail-fast: false
matrix:
php: [8.3, 8.2]
laravel: [11.*]
php: [8.4, 8.3, 8.2]
laravel: ['11.*', '12.*']
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 12.*
testbench: 10.*

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

Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@
"require": {
"php": "^8.2",
"twilio/sdk": "^7.16 || ^8.3",
"illuminate/notifications": "^12.0",
"illuminate/support": "^12.0",
"illuminate/events": "^12.0",
"illuminate/queue": "^12.0"
"illuminate/notifications": "^11.0 || ^12.0",
"illuminate/support": "^11.0 || ^12.0",
"illuminate/events": "^11.0 || ^12.0",
"illuminate/queue": "^11.0 || ^12.0"
},
"require-dev": {
"laravel/pint": "^1.18",
"laravel/pint": "^1.21",
"mockery/mockery": "^1.0",
"orchestra/testbench": "^10.0",
"phpunit/phpunit": "^11.5"
"orchestra/testbench": "^9.0 || ^10.0",
"phpunit/phpunit": "^10.5 || ^11.5.10"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 71a544c

Please sign in to comment.