Skip to content

chore: add PHP-CS-Fixer, matching the core config - #3

Merged
DanMat merged 1 commit into
mainfrom
chore/php-cs-fixer
Aug 2, 2026
Merged

DanMat merged 1 commit into
mainfrom
chore/php-cs-fixer

Conversation

@DanMat

@DanMat DanMat commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

The plugin side of core's nimbus#21.

Identical conservative PSR-12 config, so official packages format the same way. The existing code was already clean — the one-off run changed nothing — which is exactly the intent: the rules encode the style already in use, they don't impose a new one.

composer format         # apply
composer format:check   # CI, before the tests
Found 0 of 5 files that can be fixed
[OK] No errors
OK (29 tests, 84 assertions)

🤖 Generated with Claude Code

Same conservative PSR-12 config as nimbuscms/nimbus, so official packages
format identically. The existing code was already clean — the one-off run
changed nothing — which is the point: the rules encode the style already in
use rather than imposing a new one.

composer format applies it; composer format:check runs in CI before the tests.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@DanMat
DanMat merged commit 6eec4a0 into main Aug 2, 2026
2 checks passed
@DanMat
DanMat deleted the chore/php-cs-fixer branch August 2, 2026 15:39
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