Ability to suppress issues in specific functions or methods via config #10855
Shira-3749
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I prefer to use
<issueHandlers>
in Psalm config instead of using the tool-specific@psalm-suppress
annotation, but it seems there is no way to limit these only to specific functions or methods.Some issue types support this via
<referencedMethod>
,<referencedClass>
or<referencedVariable>
, but most of them don't.Maybe something like
<method>
and<function>
could be implemented for all issue types?What do you think?
Beta Was this translation helpful? Give feedback.
All reactions