Skip to content

Allow PHP_CodeSniffer 4#26

Merged
grasmash merged 1 commit into
4.xfrom
phpcs-4
Jun 11, 2026
Merged

Allow PHP_CodeSniffer 4#26
grasmash merged 1 commit into
4.xfrom
phpcs-4

Conversation

@grasmash

Copy link
Copy Markdown
Owner

Summary

Widens the squizlabs/php_codesniffer dev constraint from ^3.13 to ^3.13 || ^4.0, allowing the current 4.0.1 major release. The existing phpcs.xml.dist ruleset (PSR2) works unchanged.

Test plan

  • composer test (lint + PHPUnit + phpcs 4.0.1 + phpstan) passes locally on PHP 8.4 — 16 tests, 52 assertions
  • CI matrix (PHP 8.2/8.3/8.4/8.5) green on this PR

🤖 Generated with Claude Code

Widen the squizlabs/php_codesniffer constraint to ^3.13 || ^4.0. The
existing phpcs.xml.dist ruleset works unchanged with 4.0.1; the full
test suite (lint, PHPUnit, phpcs, phpstan) passes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@grasmash grasmash merged commit adcfe3e into 4.x Jun 11, 2026
4 checks passed
@grasmash grasmash deleted the phpcs-4 branch June 11, 2026 12:54
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