Skip to content

Make imports consistent - #38

Merged
nunomaduro merged 1 commit into
mainfrom
consistent-imports
Mar 10, 2026
Merged

nunomaduro merged 1 commit into
mainfrom
consistent-imports

Conversation

@WendellAdriel

Copy link
Copy Markdown
Member

Use explicit use imports for UserFactory and User instead of inline fully-qualified class names in docblock annotations, aligning with the new fully_qualified_strict_types Pint rule (laravel/pint#425).

Applies laravel/livewire-starter-kit#264 across all starter kit layers.

Approach

  • Added use Database\Factories\UserFactory to all User model variants and shortened the @use HasFactory docblock
  • Added use App\Models\User to all UserFactory variants and shortened the @extends Factory docblock

@WendellAdriel
WendellAdriel marked this pull request as ready for review March 10, 2026 17:11
@nunomaduro
nunomaduro marked this pull request as draft March 10, 2026 19:04
@nunomaduro
nunomaduro marked this pull request as ready for review March 10, 2026 19:54
@nunomaduro
nunomaduro merged commit 364158d into main Mar 10, 2026
17 checks passed
@WendellAdriel
WendellAdriel deleted the consistent-imports branch March 10, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants