DX: Define error identifiers
EmilMassey opened this issue · 4 comments
EmilMassey commented
In phpstan 1.11 error identifiers will be available for use to ignore specific errors. We can already use PHPStan\Rules\RuleErrorBuilder::identifier()
to define custom identifiers for errors reported by this extension. They will be useful when 1.11 is released.
I think it would be a nice feature to have. If we want to have it, we should discuss what the identifiers should look like, eg. todo_by.date
, todo_by.ticket
, etc.
staabm commented
Agree 👍
staabm commented
I think we can start with one error per rule. phpstan seems to use camel case for them.
github-actions commented
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.