Skip to content

Drop spot-lazy-traits command in favor of symplify PHPStan rule - #146

Merged
TomasVotruba merged 1 commit into
mainfrom
drop-spot-lazy-traits-command
Sep 29, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
drop-spot-lazy-traits-command

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Removes the standalone spot-lazy-traits command and its supporting classes (TraitSpotter, TraitFilesFinder, trait value objects, tests).

The functionality moves to a native, configurable PHPStan rule PreferInlineTraitRule in symplify/phpstan-rules (symplify/phpstan-rules#330). The rule runs in the existing PHPStan pass and resolves real trait FQNs instead of the previous fuzzy short-name matching.

README updated - section removed and later sections renumbered.

@TomasVotruba
TomasVotruba merged commit bfcb659 into main Sep 29, 2026
8 checks passed
@TomasVotruba
TomasVotruba deleted the drop-spot-lazy-traits-command branch September 29, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant