You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Right, that’s what I tried at first but couldn’t make it work. I sent a PR to phpstan to fix the original issue anyway, but if you have the solution to this I’ll take it!
Ven 15 mars 2019, à 19:17, Adam Žurek a écrit :
fc2c142
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.
You should use ignoreErrors with path restriction, this is too wide - whole project.
https://github.com/phpstan/phpstan#ignore-error-messages-with-regular-expressions
fc2c142
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.
fc2c142
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 see, you use phpstan 0.10, but ignore error path resolution was added in 0.11 :-/