Replies: 1 comment 2 replies
-
suppressing through config seems best, or otherwise disabling the find unused suppress I guess... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Suppose we have the following code:
(https://psalm.dev/r/58970303df)
where
C
comes from an external library andC::doThings()
method was deprecated in v1.5 of the aforementioned library and subsequently removed in v2.0. Also, assume that Psalm is configured to report unused suppressions.Given the above, do we have any other option apart from suppressing/baselining UnusedPsalmSuppress?
Real-world example: https://github.com/psalm/psalm-plugin-symfony/pull/296/files#diff-c346b1aeac8259782c74702eadfe1d7a240ee3ecea6020ad2addede93c635cab
Beta Was this translation helpful? Give feedback.
All reactions