-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Psalm 5.5.0 #10445
Psalm 5.5.0 #10445
Conversation
@@ -3,6 +3,8 @@ | |||
errorLevel="2" | |||
phpVersion="8.2" | |||
resolveFromConfigFile="true" | |||
findUnusedBaselineEntry="true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to set this flag to avoid a deprecation warning. It defaults to false
, but I think enabling it will help us keep the baseline clean. 🤞🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we are the ones (well I) asking for that feature so better use it at some point 😛
@@ -3,6 +3,8 @@ | |||
errorLevel="2" | |||
phpVersion="8.2" | |||
resolveFromConfigFile="true" | |||
findUnusedBaselineEntry="true" | |||
findUnusedCode="false" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another flag that needs to be set now. Setting it to true
causes a lot of new errors, which is why I'd like to do this in a later PR (if we want to do it at all).
* 2.15.x: Deprecate undeclared entity inheritance (doctrine#10431) Psalm 5.5.0 (doctrine#10445)
* 2.15.x: Deprecate undeclared entity inheritance (doctrine#10431) Psalm 5.5.0 (doctrine#10445)
* 2.15.x: Deprecate undeclared entity inheritance (doctrine#10431) Psalm 5.5.0 (doctrine#10445)
With this release, Psalm stops writing
occurrences="X"
into the baseline which is why I had to regenerate the whole thing. This is going to be fun when merging up! 🥲