Psalm couldn't find the source files in the Docker container
PhpStorm 2020.3
Build #PS-203.5981.175, built on December 2, 2020
PHP interpreter is used from docker-compose. Lifecycle is connect to existing container

Psalm in installed through composer and detected successfully

Psalm configuration: remote interpreter

Psalm can't find the source files

Though the source files are located in /var/www directory in the container

请先登录再写评论。
For reference purposes: the same reported on the Issue Tracker: https://youtrack.jetbrains.com/issue/WI-57774
This one could be related too:
https://youtrack.jetbrains.com/issue/WI-55840
Could you please switching to "Run" execution cycle and check if it helps?
Hey Vasiliy Yur
Yep, that works properly with "Run".
Hopefully "Exec" will be fixed soon, because of consuming resources. Otherwise prerequisites should be changed to Run command https://www.jetbrains.com/help/idea/using-psalm.html#prerequisites