PHPStan: Fix error preventing Bleeding Edge mode#3416
Conversation
📝 WalkthroughWalkthroughA unit test file was updated to modify a PHPStan type annotation in a PHPDoc comment, changing the type hint for the Changes
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)`**/*.{html,php}`: "Perform a detailed review of the provided code with following key aspects in mind: - Review the HTML and PHP code to ensure it is well-structured and adheres ...
🔇 Additional comments (1)
✨ 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
…stan-bleeding-edge-mode" (4057b3b)
Description
While trying to enable Bleeding Edge mode for PHPStan, I stumbled upon this error:
This PR fixes the issue so Bleeding Edge mode can be enabled and work as expected. Bleeding Edge can be enabled by adding the following to
phpstan.neon:Motivation and context
Lay some groundwork for allowing to upgrade to PHPStan 2.x.
How has this been tested?
Verified that PHPStan Bleeding Edge mode runs correctly after the fix.
Summary by CodeRabbit