Bug report
When a collector-based rule needs data from full codebase, it uses if ($node->isOnlyFilesAnalysis()) return [] (example). But then, you are unable to inline-ignore those errors via // @phpstan-ignore identifier as it produces false-positives in partial analysis of such file (unmatched ignore reported).
See reproduction repository: https://github.com/janedbal/phpstan-unable-to-inline-ignore-collector-based-rule
Code snippet that reproduces the problem
No response
Expected output
Be able to inline-ignore everything
Did PHPStan help you today? Did it make you happy in any way?
No response