Skip to content

Add missing rule descriptions to README#303

Open
phpstan-bot wants to merge 1 commit into2.0.xfrom
readme-add-missing-rule-descriptions
Open

Add missing rule descriptions to README#303
phpstan-bot wants to merge 1 commit into2.0.xfrom
readme-add-missing-rule-descriptions

Conversation

@phpstan-bot
Copy link

Summary

  • Added descriptions for 4 rules that were present in src/ and rules.neon but missing from the README features table: uselessCast, disallowedImplicitArrayCreation, strictArrayFilter, and illegalConstructorMethodCall.
  • Expanded the numericOperandsInArithmeticOperators description to include the binary arithmetic operators (+, -, *, /, %, **) which were omitted — the old description only mentioned unary and increment/decrement operators.

Test plan

  • Verified all rules in src/Rules/ are now represented in the features table
  • Cross-checked parameter names against rules.neon
  • Descriptions match actual rule behavior from source code

🤖 Generated with Claude Code

The features table was missing descriptions for four rules that are
implemented in src/ and registered in rules.neon: uselessCast,
disallowedImplicitArrayCreation, strictArrayFilter, and
illegalConstructorMethodCall. Also expanded the
numericOperandsInArithmeticOperators description to include
binary arithmetic operators (+, -, *, /, %, **) which were omitted.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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

Comments