Remove obsolete get_term_by() PHPStan ignore entry - #651
Conversation
johnbillion/wp-compat 2.0.1 no longer reports the `$field` parameter of get_term_by() as version-gated, so the ignore entry working around that false positive is now unmatched and fails the analysis.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe PHPStan configuration removes an ignore rule for ChangesPHPStan validation
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This removes an obsolete PHPStan ignore entry so code-quality analysis can complete without the unmatched-pattern failure. The change is localized to configuration, and no actionable merge-blocking risk remains after normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. ✨ 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. 📢 Thoughts on this report? Let us know! |
johnbillion/wp-compat2.0.1 stopped reporting the$fieldparameter ofget_term_by()as version-gated, fixing the false positive that theWPCompat.parameterNotAvailable.gettermby.fieldentry existed to suppress.With nothing left to match, PHPStan now fails with a non-ignorable
Ignored error pattern ... was not matched in reported errors, which is what broke the scheduled Code Quality run onmain(run 33288290118). Removing the entry restores a clean analysis.Generated by Claude Code
Summary by CodeRabbit