Commit 41417f3
Bump FileTypeMapper cache key to discard entries poisoned by comment-dropping parses
A run with the turbo comment-loss bug (phpstan/phpstan#15037) cached
PHPDoc-less name-scope maps under ftm- keys. The entries validate only by
file content hashes and the phpdoc-parser version, so an upgrade to the
fixed extension keeps trusting them — analysis stays broken (missing
generics, mass false positives) until the tmpDir is wiped by hand, and
clear-result-cache does not help. Rotate the variable cache key to v6 so
every installation rebuilds the maps once.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EpvCn4kVHSaS5aaiaaRhEm1 parent 5a090ec commit 41417f3
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
351 | 355 | | |
352 | 356 | | |
353 | 357 | | |
| |||
0 commit comments