PHPStan result cache is not pruned when installed
mvorisek opened this issue · 4 comments
mvorisek commented
when this extension is installed, cache must be cleaned manually to prune the previously cached results
ondrejmirtes commented
I don't get it, do you have steps to reproduce? Part of the result cache is composer.json hash so it should work.
mvorisek commented
I think you need composer.lock as well.
I installed it this way:
- updated
composer.jsonmanually - probably run phpstan in meanwhile
- run
composer update phpstan/phpstan-deprecation-rules - this issue - the deprecations warnings were not detected (phpstan errors for not found ignores were reported)
ondrejmirtes commented
Please script that and put it into a separate repository so that it's reproducible.
Alternatively, find and fix the culprit in phpstan-src.
github-actions commented
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.