New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MissingFile - with composer v2.2.x #7226
Comments
Hey @bzajacc, can you reproduce the issue on https://psalm.dev ? |
Can you tell us the path of the analyzed file? Is it your own code or a dependency that is being analyzed here? |
This is my psalm.xml. <?xml version="1.0"?>
<psalm
errorLevel="2"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
>
<projectFiles>
<directory name="src" />
<ignoreFiles>
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
</psalm> It analyze my own code. |
The same thing happened to me with the latest composer. I fixed it by ignoring |
This is a binary proxy generated by composer. |
Yes composer 2.2 stopped using symlinks for "aliasing" binaries in composer packages in bin-dir. PR #7210 improves the $argv handling so that the "proxy" file is not accidentally considered a file to be scanned. |
@vstm thanks for info :) |
When using composer:latest and run
bin/psalm
we getting error:When locking composer to v2.1 - works fine.
The text was updated successfully, but these errors were encountered: