From 1ffa4b438534531d1dae3819fdcb0df8bed30d80 Mon Sep 17 00:00:00 2001 From: roble Date: Sat, 31 Oct 2026 21:48:56 +0000 Subject: [PATCH] fix: list the User's interfaces one per line so module patches combine Matches core 2.8.1's stub. Pint's class_definition keeps the layout. Co-Authored-By: Claude Opus 5.5 --- app/Models/User.php | 6 +++++- pint.json | 9 ++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/app/Models/User.php b/app/Models/User.php index 69aa5029..e2919a8a 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -15,7 +15,11 @@ // use Illuminate\Contracts\Auth\MustVerifyEmail; -class User extends Authenticatable implements FilamentUser, HasLocalePreference, HasMedia +// One interface per line: modules add theirs with patches, each on its own line. +class User extends Authenticatable implements + FilamentUser, + HasLocalePreference, + HasMedia // , MustVerifyEmail { use HasFactory; diff --git a/pint.json b/pint.json index 93061b6b..3291d990 100644 --- a/pint.json +++ b/pint.json @@ -1,3 +1,10 @@ { - "preset": "laravel" + "preset": "laravel", + "rules": { + "class_definition": { + "multi_line_extends_each_single_line": true, + "single_item_single_line": true, + "single_line": false + } + } }