Fix newly reported PHPStan errors - #104
Conversation
|
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 (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe PHP server command now casts the document root to a string and passes the configuration option only when it contains a non-empty string. An integration scenario verifies a custom ChangesServer command
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Pull request overview
This PR updates the wp server command implementation to resolve newly reported PHPStan type errors in the server command construction path.
Changes:
- Casts
$docrootto string when building thephp -Scommand arguments. - Normalizes the
--configvalue to a string to satisfy static analysis. - Removes an inline
@phpstan-ignorearound theadapt-schemeflag lookup.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary by CodeRabbit
Bug Fixes
Tests