Skip to content

Conversation

@jaymcp
Copy link
Contributor

@jaymcp jaymcp commented Mar 24, 2025

Description

Our coding standards require a blank line between an object (class, enum, interface, trait) definition's opening brace and first content, but this is not enforced by our PHPCS ruleset. This PR addresses that by introducing a new Sniff.

Types of changes (if applicable):

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist (if applicable):

  • All checks pass when running `composer run all-checks.

@jaymcp jaymcp requested a review from a team March 24, 2025 10:03
@jaymcp jaymcp merged commit d919e01 into main Apr 4, 2025
5 checks passed
@jaymcp jaymcp deleted the feat/opening-brace-sniff branch April 4, 2025 10:34
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