Skip to content

Add CS phpdoc_line_span rule for class/method docblocks#2048

Merged
DerManoMann merged 1 commit into
zircote:masterfrom
DerManoMann:cs/phpdoc-line-span
Jul 8, 2026
Merged

Add CS phpdoc_line_span rule for class/method docblocks#2048
DerManoMann merged 1 commit into
zircote:masterfrom
DerManoMann:cs/phpdoc-line-span

Conversation

@DerManoMann

@DerManoMann DerManoMann commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds phpdoc_line_span CS Fixer rule enforcing multi-line docblocks on class/interface/trait/enum and method declarations
  • Explicitly preserves existing style (single or multi) for properties, constants, and other code elements
  • Fixes 6 existing violations

Test plan

  • composer cs passes cleanly
  • CI green

🤖 Generated with Claude Code

Enforces multi-line docblocks on class/interface/trait/enum and method
declarations while preserving existing style for properties and constants.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@DerManoMann DerManoMann force-pushed the cs/phpdoc-line-span branch from e8fceeb to b76ede4 Compare July 8, 2026 02:01
@DerManoMann DerManoMann merged commit 3af76ae into zircote:master Jul 8, 2026
18 checks passed
@DerManoMann DerManoMann deleted the cs/phpdoc-line-span branch July 8, 2026 02:08
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