Repository navigation
fix: list the User's interfaces one per line so module patches combine - #404
Conversation
Matches core 2.8.1's stub. Pint's class_definition keeps the layout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Class declaration formatting pint.json, app/Models/User.php |
Pint adds three class definition rules. The User class lists FilamentUser, HasLocalePreference, and HasMedia on separate lines. A comment describes the one-interface-per-line patch convention. |
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Bug fix
Possibly related PRs
- saucebase-dev/saucebase#372: Adds
HasLocalePreferenceto theUserclass interface declaration, which this change reformats.
Merge Risk: 
Minimal · up to 1ffa4
-
No actionable merge risk was identified.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)
-
Finishing Touches
-
Generate docstrings
-
- Commit to this branch
- Create a new PR
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
|



Why
Same change as saucebase-dev/core#35, for the starter's own copy of
app/Models/User.php. Module patches that add an interface (auth'sPasskeyUser, billing'sBillingOwner) each insert their own line instead of editing one sharedimplementsline, so they apply in any order.Changes
app/Models/User.php: identical to core's new stub.pint.json:class_definition.single_line: false, sopintkeeps one interface per line.Tests
patch -p1andgit apply.Merge after core#35 and the 2.8.1 release.
🤖 Generated with Claude Code
Summary by CodeRabbit