Remove obsolete wp_generate_attachment_metadata() PHPStan ignore entry - #258
Conversation
johnbillion/wp-compat 2.0.1 no longer reports the `$file` parameter of wp_generate_attachment_metadata() 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 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe PHPStan configuration removes the ignore rule for Changes
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This change removes an obsolete PHPStan ignore entry so static analysis can complete successfully; it is a localized configuration cleanup with no actionable merge-blocking risk remaining. 🚥 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$fileparameter ofwp_generate_attachment_metadata()as version-gated, fixing the false positive that theWPCompat.parameterNotAvailable.wpgenerateattachmentmetadata.fileentry 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 33288245696). Removing the entry restores a clean analysis.Generated by Claude Code
Summary by CodeRabbit