phpstan-src
phpstan-src copied to clipboard
feat: add options to report ignores without identifiers or comments
Hello!
Closes https://github.com/phpstan/phpstan/issues/11340
This PR adds the following two options (false by default):
-
reportIgnoresWithoutIdentifiers: reports@phpstan-ignore-lineand@phpstan-ignore-next-lineusages -
reportIgnoresWithoutComments: reports@phpstan-ignoreusages without comments
Thanks!
CI failures look to be unrelated
Thanks for providing this & also picking up the case for no comments :raised_hands: