-
-
Notifications
You must be signed in to change notification settings - Fork 56
chore: enable PreferPHPUnitThisCallRector
#439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughAdds a Rector rule (PreferPHPUnitThisCallRector) to the Rector config and updates PHPUnit tests to use instance-based expectation syntax ($this->once()) instead of static (self::once()) in two test files. No production code changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (3)
🧰 Additional context used🧠 Learnings (4)📚 Learning: 2025-08-24T16:52:32.488ZApplied to files:
📚 Learning: 2025-05-23T11:11:57.951ZApplied to files:
📚 Learning: 2025-03-29T03:31:17.114ZApplied to files:
📚 Learning: 2025-03-29T03:31:17.114ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (19)
🔇 Additional comments (4)
✨ Finishing Touches
🧪 Generate unit tests
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 |
Summary by CodeRabbit