Skip to content

Conversation

@spaze
Copy link
Owner

@spaze spaze commented Nov 23, 2025

Follow-up to #29

@spaze spaze requested a review from Copilot November 23, 2025 00:12
@spaze spaze self-assigned this Nov 23, 2025
@spaze spaze mentioned this pull request Nov 23, 2025
@spaze spaze merged commit f6e6055 into main Nov 23, 2025
8 checks passed
@spaze spaze deleted the spaze/exclude-all-spacing-after-block branch November 23, 2025 00:13
Copilot finished reviewing on behalf of spaze November 23, 2025 00:14
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds exclusions for new PHPCS 4.0 SpacingAfter*Block error codes in the PSR12.Files.FileHeader rule, as a follow-up to issue #29. The changes ensure compatibility with PHPCS 4.0 by excluding spacing checks for various file header block types.

  • Added exclusions for five new SpacingAfter*Block codes: DeclareBlock, NamespaceBlock, UseBlock, UseConstBlock, and UseFunctionBlock
  • Maintained alphabetical ordering of exclusions within the PSR12.Files.FileHeader rule
  • Complements existing exclusions for DocblockBlock and TagBlock

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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