Closed ljanecek closed 1 year ago
Hey, I think the issue is that binCommand
is an array that should have its individual terms as array elements instead of one array item with all of them. What's going wrong is that it's taking the first array item (in this case only one) and looking up the file path (there is no match since it's a big string). An example would be {"phpstan.binCommand": ["/usr/bin/docker", "exec", "-it", "php-fpm", "vendor/bin/phpstan"]}
. I'm not actually sure why I made it an array instead of just a string that is split but can't really change it now anymore unforunately. Hope this helps!
[check:189] PHPStan process exited succesfully
It works, thanks a lot, great job!
Hi, I can't get the plugin to work over docker and symfony project.
When I run the command with all attributes in the terminal directly, it prints correctly.
docker exec -it php-fpm vendor/bin/phpstan analyse -c phpstan.neon --error-format=raw --no-interaction --memory-limit=1G --no-progress src/Model/Some.php --level max
"Language Server" are disable
My .vscode/settings.json:
PHPStan client output in VSC:
Would anyone have any idea how to find out where the problem might be? Thank you. 👍