Skip to content

Fix php-cs-fixer phpdoc alignment in Marketing/Emails Discovery - #627

Merged
camden11 merged 1 commit into
masterfrom
cphalen/fix-cs-marketing-emails
Sep 24, 2026
Merged

camden11 merged 1 commit into
masterfrom
cphalen/fix-cs-marketing-emails

Conversation

@camden11

Copy link
Copy Markdown
Contributor

Summary

  • The post-merge php-cs-fixer job on master failed on lib/Discovery/Marketing/Emails/Discovery.php: the @method docblock was over-padded to a 12-char column, but php-cs-fixer aligns method names to the longest type (EmailsApi), so it wanted the extra spaces trimmed.
  • The workflow's auto-commit could not heal this itself because master is a protected branch (GH006: Changes must be made through a pull request), so the fix has to land via PR.

Verification

Ran the same toolchain CI uses (PHP 8.2, php-cs-fixer 3.95.27) locally on this branch:

  • php-cs-fixer fix --dry-run: Found 0 of 159 files that can be fixed
  • phpspec: 139/139 passed
  • phpunit: 13/13 passed

🤖 Generated with Claude Code

The @method docblock was over-padded to a 12-char column; php-cs-fixer
aligns method names to the longest type (EmailsApi), so trim the extra
spaces. The post-merge php-cs-fixer job can't auto-commit this because
master is protected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@camden11
camden11 merged commit e640521 into master Sep 24, 2026
2 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