vimeo / psalm

A static analysis tool for finding errors in PHP applications
https://psalm.dev
MIT License
5.57k stars 661 forks source link

Psalm not parse amphp/amp library when using phar as language server #10060

Open xpader opened 1 year ago

xpader commented 1 year ago

When codeing with amphp project, vscode psalm extension with psalm.phar as language server output didn't show scan vendor/amphp/amp/lib/functions.php, and always report Function Amp\call does not exist.

psalm-github-bot[bot] commented 1 year ago

Hey @xpader, can you reproduce the issue on https://psalm.dev ?

danog commented 1 year ago

Try requiring vimeo/psalm:dev-master, instead

xpader commented 1 year ago

@danog require psalm composer package can fix this problem, but I think phar shouden't have this problem.