Update sniff to catch more early returns#2885
Conversation
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThree files undergo refactoring: a helper for entry list navigation applies guard logic inversion and adds accessibility labels; an XML helper adopts an early-return pattern for form import logic; and a PHP_CodeSniffer sniff extends to detect early-return opportunities after up to three simple assignment statements. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
✨ 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 |
…arly_returns Update sniff to catch more early returns
Summary by CodeRabbit
Release Notes
Bug Fixes
Improvements
✏️ Tip: You can customize this high-level summary in your review settings.