We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I added psalm in vendor of the php container, and configured all settings in vscode, but I always get this kind of error at vscode startup :
vscode server is listening on 0.0.0.0: 41933 starting psalm server: docker-compose -f /CTM/back/docker-compose.yml -f /CTM/back/docker-compose.override.yml exec -T php php -d xdebug.start_with_request=no -f /var/www/html/vendor/bin/psalm-language-server -- -c /var/www/html/psalm.xml -r /var/www/html --find-dead-code --verbose --tcp=host.docker.internal:41933 Error: docker-compose sub-command exited with error code 1 Psalm process connected Convert Local to Remote Path: file:///CTM/back file:///var/www/html Convert Local to Remote Path: file:///CTM/back file:///var/www/html server process stderr: Uncaught RuntimeException: PHP Error: Creation of dynamic property Psalm\Internal\LanguageServer\LanguageServer::$mapper is deprecated in /var/www/html/vendor/felixfbecker/advanced-json-rpc/lib/Dispatcher.php:53 in /var/www/html/vendor/vimeo/psalm/src/Psalm/Internal/ErrorHandler.php:66 Stack trace: #0 /var/www/html/vendor/felixfbecker/advanced-json-rpc/lib/Dispatcher.php(53): Psalm\Internal\ErrorHandler::Psalm\Internal\{closure}(8192, 'Creation of dyn...', '/var/www/html/v...', 53) #1 /var/www/html/vendor/vimeo/psalm/src/Psalm/Internal/LanguageServer/LanguageServer.php(116): AdvancedJsonRpc\Dispatcher->__construct(Object(Psalm\Internal\LanguageServer\LanguageServer), '/') #2 /var/www/html/vendor/vimeo/psalm/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php(481): Psalm\Internal\LanguageServer\LanguageServer->__construct(Object(Psalm\Internal\LanguageServer\ProtocolStreamReader), Object(Psalm\Internal\LanguageServer\ProtocolStreamWriter), Object(Psalm\Internal\Analyzer\ProjectAnalyzer)) #3 /var/www/html/vendor/vimeo/psalm/src/Psalm/Internal/Cli/LanguageServer.php(322): Psalm\Internal\Analyzer\ProjectAnalyzer->server('host.docker.int...', false) #4 /var/www/html/vendor/vimeo/psalm/psalm-language-server(7): Psalm\Internal\Cli\LanguageServer::run(Array) #5 /var/www/html/vendor/bin/psalm-language-server(120): include('/var/www/html/v...') #6 {main} (Psalm 4.30.0@d0bc6e25d89f649e4f36a534f330f8bb4643dd69 crashed due to an uncaught Throwable) Psalm process disconnected Error: docker-compose sub-command exited with error code 1
Any idea on what can be wrong ?
Best regards
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I added psalm in vendor of the php container, and configured all settings in vscode, but I always get this kind of error at vscode startup :
Any idea on what can be wrong ?
Best regards
The text was updated successfully, but these errors were encountered: