Uh oh!
There was an error while loading. Please reload this page.
Store PhpStorm stub paths relative to the stubs package in the reflection cache - #6153
Conversation
ondrejmirtes
commented
Jul 30, 2026
I'm skeptical here because this isn't the only thing that's stored with absolute filename in the cache. Why it's a problem here but not in other cases? |
In the other cases, the absolute path (or a hash of it) is part of the cache key. e.g.
(cache key depends on fileName) vs. (cache key only depends on versions) I assume, the path was omitted as part of the cache key, as normally you wouldn't have a real file for an internal function. |
ondrejmirtes
left a comment
There was a problem hiding this comment.
I'd like an E2E test that shows the problem in e2e-tests.yml and e2e/ directory instead.
It's possible I'll just solve it by reverting the cache, the wins were small anyway, or maybe with a different solution than this PR presents.
fixes#15023