-
Notifications
You must be signed in to change notification settings - Fork 18
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
485: Include output from Psalm in report when mutatnt killed by stati… #490
base: 1.35.x
Are you sure you want to change the base?
Conversation
ae4c267
to
8811d56
Compare
8811d56
to
f0265a0
Compare
…le tested is temp file
* @psalm-suppress InternalProperty - we use Psalm's internal IssueData class here. Afaik the only other way to | ||
* display details of the issues would be to use one of the subclasses of \Psalm\Report, but I think none are exactly | ||
* what we want. Probably we can accept the risk of Psalm's internals changing and breaking this. |
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.
@orklah how stable is this stuff? Just want to see if we need to pin to psalm at patch level, from now on 🤔
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'm also happy to have a go at using one of the subclasses of https://github.com/vimeo/psalm/blob/5.x/src/Psalm/Report.php to avoid the InternalProperty access.
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.
Note: we pin to the patch version of infection/infection
because we want to prevent inadverted BC breaks.
If we can avoid depending on @internal
in Psalm, we could avoid having to do it for vimeo/psalm
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.
Honestly, Psalm's internals are not easily accessible. We added @internal mainly to have some support for BC breaks checks.
Psalm is not moving very fast currently so the risk of things breaking is low though
…c analysis
See #485