Remove some rector exceptions#2614
Conversation
WalkthroughModified 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2614 +/- ##
============================================
- Coverage 26.24% 26.17% -0.08%
+ Complexity 8836 8831 -5
============================================
Files 144 144
Lines 29803 29798 -5
============================================
- Hits 7822 7799 -23
- Misses 21981 21999 +18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
rector.php (1)
94-104: Good rationale comments on skipped Rector rules; tiny wording tweak optionalThe added comments around
JoinStringConcatRector,RemoveUselessParamTagRector, andSimplifyEmptyArrayCheckRectormake the intent of keeping these rules in the skip list much clearer for future maintainers. This is a nice improvement in config documentation.If you want everything to read consistently, you could optionally mirror the style of the first two comments for
SimplifyEmptyArrayCheckRector, e.g. explicitly say that you prefer theis_array() && empty()style instead of just describing what the rule does. Not required, just a clarity nit.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
rector.php(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
- GitHub Check: PHP 7.4 tests in WP trunk
- GitHub Check: PHP 8 tests in WP trunk
- GitHub Check: Cypress
- GitHub Check: PHP 7.4 tests in WP trunk
- GitHub Check: PHP 8 tests in WP trunk
- GitHub Check: Cypress
Remove some rector exceptions
No description provided.