phpstan/phpstan-deprecation-rules

PHPStan result cache is not pruned when installed

mvorisek opened this issue · 4 comments

when this extension is installed, cache must be cleaned manually to prune the previously cached results

I don't get it, do you have steps to reproduce? Part of the result cache is composer.json hash so it should work.

I think you need composer.lock as well.

I installed it this way:

  1. updated composer.json manually
  2. probably run phpstan in meanwhile
  3. run composer update phpstan/phpstan-deprecation-rules
  4. this issue - the deprecations warnings were not detected (phpstan errors for not found ignores were reported)

Please script that and put it into a separate repository so that it's reproducible.

Alternatively, find and fix the culprit in phpstan-src.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.