Skip to content

Commit f664fb2

Browse files
committed
add laravel 12 support
1 parent c60223b commit f664fb2

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

.github/workflows/run-tests.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
fail-fast: true
2020
matrix:
2121
os: [ubuntu-latest, windows-latest]
22-
php: [8.1, 8.2]
23-
laravel: [9.*, 10.*, 11.*]
22+
php: [8.1, 8.2, 8.3]
23+
laravel: [9.*, 10.*, 11.*, 12.*]
2424
stability: [prefer-lowest, prefer-stable]
2525
include:
2626
- laravel: 9.*
@@ -29,11 +29,17 @@ jobs:
2929
testbench: 8.*
3030
- laravel: 11.*
3131
testbench: 9.*
32+
- laravel: 12.*
33+
testbench: 10.*
3234
exclude:
3335
- laravel: 9.*
3436
php: 8.2
37+
- laravel: 9.*
38+
php: 8.3
3539
- larvel: 11.*
3640
php: 8.1
41+
- laravel: 12.*
42+
php: 8.1
3743

3844
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3945

composer.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
"require": {
1919
"php": "^8.1",
2020
"spatie/laravel-package-tools": "^1.13.0",
21-
"illuminate/contracts": "^9.0|^10.0|^11.0"
21+
"illuminate/contracts": "^9.0|^10.0|^11.0|^12.0"
2222
},
2323
"require-dev": {
2424
"laravel/pint": "^1.0",
2525
"nunomaduro/collision": "^6.0|^7.0|^8.0",
26-
"nunomaduro/larastan": "^2.0.1",
27-
"orchestra/testbench": "^7.0|^8.0|^9.0",
28-
"pestphp/pest": "^1.21",
29-
"pestphp/pest-plugin-laravel": "^1.1",
26+
"nunomaduro/larastan": "^2.0.1|^3.0",
27+
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0",
28+
"phpunit/phpunit": "^9.5|^10.0|^11.0",
29+
"pestphp/pest": "^1.21|^2.0|^3.7",
30+
"pestphp/pest-plugin-arch": "^2.0|^3.0",
3031
"phpstan/extension-installer": "^1.1",
31-
"phpstan/phpstan-deprecation-rules": "^1.0",
32-
"phpstan/phpstan-phpunit": "^1.0",
33-
"phpunit/phpunit": "^9.5|^10.0|^11.0"
32+
"phpstan/phpstan-deprecation-rules": "^1.0|^2.0",
33+
"phpstan/phpstan-phpunit": "^1.0|^2.0"
3434
},
3535
"autoload": {
3636
"psr-4": {

config/laravel_ticket.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@
8181
'message' => \Coderflex\LaravelTicket\Models\Message::class,
8282
'category' => \Coderflex\LaravelTicket\Models\Category::class,
8383
'label' => \Coderflex\LaravelTicket\Models\Label::class,
84-
]
84+
],
8585
];

tests/Database/Migrations/create_users_table.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class() extends Migration
7+
return new class extends Migration
88
{
99
public function up()
1010
{

0 commit comments

Comments
 (0)