Improve flip negative ternary sniff#2856
Conversation
📝 WalkthroughWalkthroughTwo files are modified: a stylistic simplification of a ternary conditional in FrmEntry.php, and a refactoring of the FlipNegativeTernarySniff to generalize its negation detection logic from function-specific to handle broader conditions including negated variables. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
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 |
…y_sniff Improve flip negative ternary sniff
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.