psalm: psalm-language-server fails to find classes from extra files
Using the psalm-language-server with Kate, I always see this kind of errors:
[Psalm] (https://psalm.dev/157) OCP\User\GetQuotaEvent depends on class or interface psr\eventdispatcher\stoppableeventinterface that does not exist
But this interface is in 3rdparty/psr/event-dispatcher/src/StoppableEventInterface.php, and psalm.xml contains:
<extraFiles>
<directory name="3rdparty"/>
<directory name="apps/files_external/3rdparty"/>
</extraFiles>
Psalm does find the class, why doesn’t the LSP server?
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 16 (10 by maintainers)
Same problem here…