Skip to content

Commit

Permalink
Add Laravel 12 support (#7)
Browse files Browse the repository at this point in the history
* Add Laravel 12 support

* Update GH action
  • Loading branch information
tjardoo authored Feb 24, 2025
1 parent 6577ae7 commit 9c10ed2
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.2]
laravel: [11.*]
dependency-version: [prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
include:
- php: 8.2
laravel: '11.*'
testbench: '9.*'
dependency-version: prefer-stable
os: ubuntu-latest
- php: 8.2
laravel: '12.*'
testbench: '10.*'
dependency-version: prefer-stable
os: ubuntu-latest

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Mailviewer enables you to view and filter mail that is sent by your Laravel appl

| Version | Release |
|---------|---------|
| 12.x | ^3.0 |
| 11.x | ^3.0 |
| 10.x | ^3.0 |

## Limitations

Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
],
"require": {
"php": "^8.2",
"illuminate/auth": "^11.0",
"illuminate/routing": "^11.0",
"illuminate/support": "^11.0",
"illuminate/database": "^11.0"
"illuminate/auth": "^11.0|^12.0",
"illuminate/routing": "^11.0|^12.0",
"illuminate/support": "^11.0|^12.0",
"illuminate/database": "^11.0|^12.0"
},
"require-dev": {
"orchestra/testbench": "^9.0",
"larastan/larastan": "^3.0",
"laravel/pint": "^1.20"
"orchestra/testbench": "^9.0|^10.0",
"larastan/larastan": "^3.1",
"laravel/pint": "^1.21"
},
"extra": {
"laravel": {
Expand Down
5 changes: 1 addition & 4 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ parameters:
- identifier: missingType.iterableValue
- identifier: missingType.generics
- identifier: larastan.noEnvCallsOutsideOfConfig

-
message: '#Parameter [a-zA-Z0-9\\_]+ $time of static method Carbon\Carbon::parse() expects DateTimeInterface|string|null, array|string|null given.#'
path: src/Http/Controllers/MailViewerController.php
- identifier: argument.type
-
message: '#Unable to resolve the template type TKey in call to function collect#'
path: src/Models/MailViewerItem.php
Expand Down

0 comments on commit 9c10ed2

Please sign in to comment.