phpstan / phpstan-strict-rules

Extra strict and opinionated rules for PHPStan
MIT License
606 stars 48 forks source link

display the name of the rule in the log #211

Closed jacekkarczmarczyk closed 1 year ago

jacekkarczmarczyk commented 1 year ago

I have errors like:

------ --------------------------------------------------------------------------------------------------
  Line   test\some\file.php
 ------ --------------------------------------------------------------------------------------------------
  53     Dynamic call to static method PHPUnit\Framework\Assert::assertSame().
  54     Dynamic call to static method PHPUnit\Framework\Assert::assertSame().

At the moment i don't care about this error and I'd like to turn this rule off but the log doesn't show the name of the rule, if would be super helpful if it did. Thanks for the package anyway!

ondrejmirtes commented 1 year ago

In the future you'll be able to do this with error identifiers.

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.