Skip to content

style: apply the project's PHP CS Fixer rules - #68

Merged
mainick merged 1 commit into
mainfrom
style/php-cs-fixer
Nov 13, 2026
Merged

mainick merged 1 commit into
mainfrom
style/php-cs-fixer

Conversation

@mainick

@mainick mainick commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Summary

Applies the repository's own .php-cs-fixer.dist.php to the 61 files that did not comply. Formatting only.

-if ($client_id !== null) {
+if (null !== $client_id) {
-    return 'JWKS error: ' . $message;
+    return 'JWKS error: '.$message;
-    static fn(array $carry) => ...
+    static fn (array $carry) => ...
-    public string $version
+    public string $version,
-    /**
-     * @inheritDoc
-     */

Evidence

  • Before (main): php-cs-fixer fix --dry-run → Found 61 of 102 files that can be fixed
  • After: php-cs-fixer fix --dry-run → Found 0 of 102 files that can be fixed; vendor/bin/phpunit → OK (121 tests, 851 assertions)

Merge Danger

Door: two-way

No behaviour change: the fixer rules involved rewrite syntax only.

Blast Radius: cosmetic

Open branches that touch the same files may need a rebase.

🤖 Generated with Claude Code

Runs `php-cs-fixer fix` with the repository's own `.php-cs-fixer.dist.php`
on the 61 files that did not comply (Yoda conditions, trailing commas,
concatenation spacing, `fn ()` spacing, redundant `@inheritDoc`). No
behaviour change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mainick
mainick merged commit ee299cd into main Nov 13, 2026
2 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