Skip to content

Document missing coding standard rules in CLAUDE.md#22

Merged
ondrejmirtes merged 1 commit into2.xfrom
update-claude-md-missing-rules
Feb 19, 2026
Merged

Document missing coding standard rules in CLAUDE.md#22
ondrejmirtes merged 1 commit into2.xfrom
update-claude-md-missing-rules

Conversation

@phpstan-bot
Copy link

Summary

  • Audited all rules in phpcs.xml and consistence.xml against the documented "Key Coding Standard Rules" section in CLAUDE.md
  • Added 30 previously undocumented rules covering formatting (short syntax, type casts, class member spacing, trait use), naming (camelCase, UPPER_CASE constants, ::class syntax), type hints (short forms, nullable defaults), and code quality (condition restrictions, exception handling, deprecated functions, comment hygiene)

Test plan

  • Review added rule descriptions against phpcs.xml and consistence.xml for accuracy
  • Verify no existing documentation was removed or altered

🤖 Generated with Claude Code

Audit phpcs.xml and consistence.xml against the Key Coding Standard
Rules section and add all undocumented rules: short syntax
requirements, type cast and type hint shorthands, class member
spacing, naming conventions, condition restrictions, exception
handling rules, and various code quality checks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ondrejmirtes ondrejmirtes merged commit 6212b50 into 2.x Feb 19, 2026
13 checks passed
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