Skip to content

Add configuration attribute to find unused @psalm-suppress#4041

Merged
muglug merged 1 commit intovimeo:masterfrom
micheh:suppress-xml
Aug 22, 2020
Merged

Add configuration attribute to find unused @psalm-suppress#4041
muglug merged 1 commit intovimeo:masterfrom
micheh:suppress-xml

Conversation

@micheh
Copy link
Copy Markdown
Contributor

@micheh micheh commented Aug 22, 2020

This pull request adds a configuration attribute to find unused @psalm-suppress annotations (instead of using the command line argument --find-unused-psalm-suppress). Fixes #3011.

<psalm
  findUnusedPsalmSuppress="[bool]"
>

@muglug muglug merged commit 3538fe1 into vimeo:master Aug 22, 2020
@muglug
Copy link
Copy Markdown
Collaborator

muglug commented Aug 22, 2020

Thanks! In Psalm itself this isn't useful (because some of the suppressions are platform-specific) but it's obviously useful running on a single platform

@micheh micheh deleted the suppress-xml branch August 22, 2020 14:29
danog pushed a commit to danog/psalm that referenced this pull request Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configuration equivalent for --find-unused-psalm-suppress?

2 participants