Add README tip to prefer group toggles over specific rules by TomasVotruba · Pull Request #366 · symplify/phpstan-rules · GitHub
Skip to content

Add README tip to prefer group toggles over specific rules - #366

Merged
TomasVotruba merged 1 commit into
mainfrom
readme-prefer-groups
Oct 13, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
readme-prefer-groups

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Adds a short note in the Usage section encouraging users to toggle rule groups via the symplify.* true/false parameters instead of registering individual rules by class.

Groups are the stable public API; specific rules are added or removed based on real-world testing, so a hard-coded rule list can break on upgrade. Configurable rules remain the exception, wired up explicitly on purpose.

@TomasVotruba
TomasVotruba merged commit df19d02 into main Oct 13, 2026
9 checks passed
@TomasVotruba
TomasVotruba deleted the readme-prefer-groups branch October 13, 2026 20:33
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.

1 participant