Skip to content

Upgrade slevomat/coding-standard to 8.29.* and add three new sniffs#14

Merged
spajxo merged 1 commit into
0.xfrom
feat/slevomat-8.29-new-sniffs
Jun 15, 2026
Merged

Upgrade slevomat/coding-standard to 8.29.* and add three new sniffs#14
spajxo merged 1 commit into
0.xfrom
feat/slevomat-8.29-new-sniffs

Conversation

@spajxo

@spajxo spajxo commented Jun 15, 2026

Copy link
Copy Markdown
Member

Summary

  • Bump slevomat/coding-standard from 8.27.* to 8.29.* (latest 8.29.0)
  • Enable the three sniffs introduced in slevomat 8.28.0:
    • SlevomatCodingStandard.Exceptions.CatchExceptionsOrder
    • SlevomatCodingStandard.Classes.TraitUseOrder
    • SlevomatCodingStandard.Commenting.ThrowsAnnotationsOrder

squizlabs/php_codesniffer (4.0.*) and phpunit already cover their latest releases — no change needed.

Verification

Verified in a Docker container (dockette/php:8.3, PHP 8.3.29, Composer 2.9.2):

  • composer install — slevomat 8.29.0 + php_codesniffer 4.0.1 install cleanly
  • composer cs-check — passes clean (ruleset parses, so the new sniff names are valid)
  • composer testOK (18 tests, 46 assertions)

🤖 Generated with Claude Code

Bump slevomat/coding-standard from 8.27.* to 8.29.* and enable the
sniffs introduced in 8.28.0:

- Exceptions.CatchExceptionsOrder
- Classes.TraitUseOrder
- Commenting.ThrowsAnnotationsOrder

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@spajxo spajxo merged commit 2ab0407 into 0.x Jun 15, 2026
7 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.

1 participant