- Run
composer require nicksdot/phpstan-phpstorm-error-identifiers - Add the formatter to the
servicesconfig inphpstan.neon
services:
errorFormatter.checkstyle:
class: NickSdot\PhpStanPhpStormErrorIdentifiers\CheckstyleErrorFormatterPhpStormThat's it.
No other changes compared to the original formatter were made. This is a PHPStorm bug, a PR to PHPStan was discussed but decided against.
