Add some extra phpcs fixer rules for whitespace#2649
Merged
Crabcyborg merged 1 commit intoDec 12, 2025
Conversation
Contributor
WalkthroughThis PR applies PHP code style fixer rules to standardize whitespace formatting across the codebase. Changes include removing trailing whitespace, eliminating whitespace in blank lines, and trimming spaces from PHP opening tags. The configuration file enables two new PhpCsFixer rules to enforce these standards. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Possibly related PRs
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Jan 9, 2026
stephywells
pushed a commit
that referenced
this pull request
Apr 4, 2026
…ules_for_whitespace Add some extra phpcs fixer rules for whitespace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This helps to prevent extra spaces that shouldn't be there.
These are frequently updated in PRs and I'd rather get rid of them then slowly fix this one at a time. The spaces tend to be distractions when developing.