Add some extra php cs fixer rules#2946
Conversation
📝 WalkthroughWalkthroughAdds PHP CS Fixer custom fixers and dependency, enables risky fixes in the CI workflow, removes redundant parentheses from boolean expressions across PHPCS sniff files and a helper, and standardizes PHPUnit assertions (expected, actual) and some assertCount usages in tests. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
Here's the code health analysis summary for commits Analysis Summary
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2946 +/- ##
============================================
- Coverage 27.07% 26.60% -0.47%
- Complexity 8866 8867 +1
============================================
Files 145 145
Lines 29867 29822 -45
============================================
- Hits 8085 7934 -151
- Misses 21782 21888 +106 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…rules Add some extra php cs fixer rules
This update adds a new dev dependency for https://github.com/kubawerlos/php-cs-fixer-custom-fixers
This update
$expectedis actually the expected value when usingassertEquals/assertSame.assertCount.Summary by CodeRabbit
Chores
Tests