Repository navigation
Commit 5c1a06f
Fix cached results surviving a change of --autoload-file (#8034)
A different extra autoload changes what PHPStan can resolve, so cached
results must not survive it. Repro: run without -a (helper functions
unresolvable, files cached clean), then run with -a — the fresh
inference suggestions stay hidden until --clear-cache.
The configuration hash already includes the parameter bag, so registering
the resolved autoload file path there at boot is enough.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent c057924 commit 5c1a06f
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
130 | 139 | | |
131 | 140 | | |
132 | 141 | | |
| |||
0 commit comments