You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have have my project. Then I have my files that references vendor folder. Vendor folder is not part of my project (in Psalm.xml) but there are references in Psalm Language Server to libraries in vendor. The issue is that if composer is updated then the references are stale. I've tried a few different ways to invalidate the cache Psalm is using (like reloadFiles() on codebase) but I always wind up with the old references (or errors on new functions added). Is there a way to invalidate referenced files and get them to be re-scanned? Maybe there is a bug in reloadFiles
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have have my project. Then I have my files that references vendor folder. Vendor folder is not part of my project (in Psalm.xml) but there are references in Psalm Language Server to libraries in vendor. The issue is that if composer is updated then the references are stale. I've tried a few different ways to invalidate the cache Psalm is using (like reloadFiles() on codebase) but I always wind up with the old references (or errors on new functions added). Is there a way to invalidate referenced files and get them to be re-scanned? Maybe there is a bug in reloadFiles
Beta Was this translation helpful? Give feedback.
All reactions