-
Notifications
You must be signed in to change notification settings - Fork 154
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
Investigate NonStaticSelfCall Psalm issue #792
Comments
This commit flags entries in the psalm baseline to be retained, pending the outcome of MyIntervals#792 regarding: MyIntervals#537, MyIntervals#792, MyIntervals#793
This commit flags entries in the psalm baseline to be retained, pending the outcome of MyIntervals#792 regarding: MyIntervals#537, MyIntervals#792, MyIntervals#793
This commit flags entries in the psalm baseline to be retained, pending the outcome of MyIntervals#792 regarding: MyIntervals#537, MyIntervals#792, MyIntervals#793
This commit flags entries in the psalm baseline to be retained, pending the outcome of MyIntervals#792 regarding: MyIntervals#537, MyIntervals#792, MyIntervals#793
This commit flags entries in the psalm baseline to be retained, pending the outcome of MyIntervals#792 regarding: MyIntervals#537, MyIntervals#792, MyIntervals#793
This commit flags entries in the psalm baseline to be retained, pending the outcome of MyIntervals#792 regarding: MyIntervals#537, MyIntervals#792, MyIntervals#793
The problem seems to be in the https://github.com/psalm/psalm-plugin-phpunit/blob/0.9.1/stubs/Assert.php#L105 |
@JakeQZ Good research! It looks like there's already a PR for this: psalm/psalm-plugin-phpunit#50 |
There's a new release (0.9.2) with the fix, but this would require a later version of Psalm (^3.6.2), which in turn would require a later version of So I would suggest this needs to wait until Emogrifier 5.0 (dropping PHP 7.0 support) to be resolved - unless Phive may be able to help with the dependency problem (we don't need Psalm to be able to run PHPUnit, and we only need to run Psalm against the current-minus-one PHP version). Hence I've set 5.0 Milestone. Additionally, later versions of Psalm introduce more checks, with additional code issues detected which would need investigating (though the issues reported could be added to the baseline temporarily), so updating Psalm is not a trivial change. |
Phive might indeed help. |
These are all resolved now. Closing. |
See #778 (comment). It seems perhaps that Psalm is sporadically reporting false negatives with the
NonStaticSelfCall
check enabled. We may need to disable this check in the Psalm config, before Psalm can be included in the Travis CI checks (#790). It may perhaps be the case that this is fixed in a version we can't yet use due to dependency constrainsts (e.g. supporting PHP 7.0).The text was updated successfully, but these errors were encountered: