Replies: 2 comments
-
I like the idea. lets see what ondrej says about it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sent the PR: phpstan/phpstan-src#4416 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ondrej, I am wondering if we should change in PHPStan what Jetbrains couldn't get fixed for over 14 months on their end?
@staabm just opened
https://youtrack.jetbrains.com/issue/WI-82781/PHPStan-integration-show-error-identifiers
And there are also:
https://youtrack.jetbrains.com/issue/WI-81974/PHPStan-Show-error-identifiers
https://youtrack.jetbrains.com/issue/WI-78524/PHPStan-Make-it-possible-to-use-more-detailed-error-reporting-formats
I got it working for myself and I can PR:
https://gist.github.com/NickSdot/58d27003b5c76c662bb1bfac550f3517#file-checkstyleerrorformatter-php-L45-L53
It's a minimal change that moves the error identifier into the message of the
CheckstyleErrorFormatter.php
instead appending it viasource
. It's as simple as:to:
Keen to merge this if I PR it?
Beta Was this translation helpful? Give feedback.
All reactions