-
Notifications
You must be signed in to change notification settings - Fork 668
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
Psalm cuts the first char in the namespace #4086
Comments
Hey @Arslanoov, can you reproduce the issue on https://psalm.dev ? |
Can you provide a repo reproducing the issue? |
Thanks for your reply. |
Sorry i don't know how to reproduce it in psalm.dev |
You need to start with declaring your dependencies in With that said, I couldn't reproduce the issue locally, even when I figured out most dependencies. |
It’s not missing https://github.com/Arslanoov/todo/blob/master/api/composer.json |
Confirmed both issues, when running in |
Interesting. Runnig |
Isolated to $ vendor/bin/php-parse vendor/composer/autoload_static.php > /dev/null 2>&1 ; echo $?
1
$ composer remove zircote/swagger-php
[...]
$ vendor/bin/php-parse vendor/composer/autoload_static.php > /dev/null 2>&1 ; echo $?
0 |
I found related issue |
So the solution for the time being would be to downgrade |
Thank you very much! The error disappeared |
I got a lof of errors (something like this):
Namespace is Domain\User... , but psalm cuts the first char
Also there are strange bugs T_NAME_FULLY_QUALIFIED:
I do not understand why psalm analyzes the vendor folder, although I excluded it
My psalm.xml:
Please help me
The text was updated successfully, but these errors were encountered: