Skip to content

style: fix PSR-12 opening brace and line length violations - #1406

Open
hiimalexjgarcia wants to merge 1 commit into
phpbrew:masterfrom
hiimalexjgarcia:chore/fix-phpcs-psr12
Open

hiimalexjgarcia wants to merge 1 commit into
phpbrew:masterfrom
hiimalexjgarcia:chore/fix-phpcs-psr12

Conversation

@hiimalexjgarcia

@hiimalexjgarcia hiimalexjgarcia commented Nov 22, 2026 •

Copy link
Copy Markdown

This janitorial PR just fixes some style violations reported by CodeSniffer:

  • Remove blank lines after class opening braces (PSR12.Classes.OpeningBraceSpace.Found) in:
    • src/PhpBrew/Distribution/DistributionUrlPolicy.php
    • tests/PhpBrew/Command/DownloadCommandTest.php
    • tests/PhpBrew/Command/PathCommandTest.php
    • tests/PhpBrew/Extension/ExtensionInstallerTest.php
    • tests/PhpBrew/Extension/KnownCommandTest.php
    • tests/PhpBrew/Patches/Apache2ModuleNamePatchTest.php
  • Wrap 8 lines exceeding 120 characters (Generic.Files.LineLength.TooLong) in src/PhpBrew/VariantBuilder.php (imap, pcre, and openssl variant builders).

Full disclosure: I used AI to produce this PR (Gemini 4 in this case).

- Remove blank lines after class opening braces (PSR12.Classes.OpeningBraceSpace.Found) in:
  - src/PhpBrew/Distribution/DistributionUrlPolicy.php
  - tests/PhpBrew/Command/DownloadCommandTest.php
  - tests/PhpBrew/Command/PathCommandTest.php
  - tests/PhpBrew/Extension/ExtensionInstallerTest.php
  - tests/PhpBrew/Extension/KnownCommandTest.php
  - tests/PhpBrew/Patches/Apache2ModuleNamePatchTest.php
- Wrap 8 lines exceeding 120 characters (Generic.Files.LineLength.TooLong) in src/PhpBrew/VariantBuilder.php (imap, pcre, and openssl variant builders).

This branch has not been deployed

No deployments
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