php-language-server
php-language-server copied to clipboard
PHP Implementation of the VS Code Language Server Protocol πβπ₯
Hi, in my project root directory I have a symlink to another directory with php files, but they are not indexed at all. In the output console I can see...
Language server crashes when parsing this file https://github.com/woocommerce/woocommerce-gateway-stripe/blob/4.3.0/includes/abstracts/abstract-wc-stripe-payment-gateway.php ## Version: 5.4.6 ## Stack trace ``` [Error - 4:26:54 PM] Request textDocument/hover failed. Message: RuntimeException: A type is missing in an...
Issue Type: Bug OS : Ubuntu 18.04 PHP: 7.1.2 CRITICAL TypeError: Return value of phpDocumentor\Reflection\Types\AbstractList::getValueType() must implement interface phpDocumentor\Reflection\Type, null returned in /home/yash/.vscode/extensions/felixfbecker.php-intellisense-2.3.13/vendor/phpdocumentor/type-resolver/src/Types/AbstractList.php:63 Stack trace: #0 /home/yash/.vscode/extensions/felixfbecker.php-intellisense-2.3.13/vendor/felixfbecker/language-server/src/DefinitionResolver.php(1177): phpDocumentor\Reflection\Types\AbstractList->getValueType() #1 /home/yash/.vscode/extensions/felixfbecker.php-intellisense-2.3.13/vendor/felixfbecker/language-server/src/DefinitionResolver.php(685):...
According to the LSP specification documentHighlightProvider in ServerCapabilities defined as: ``` documentHighlightProvider?: boolean; ``` However, the server sends `"documentHighlightProvider":null`. There are other values in the server capabilities that are null...
I changed the signature of `private function convertDuration(string $rawDuration): int {` to `private function convertDuration(string Β§rawDuration): int {` and suddenly this error has popped up. ``` [Error - 9:45:13 PM]...
Hello! When I open a project I get a bit "Ausgabe" window (half the screen) and every file in my WP Project gets parsed and listed. This is quite annoying....
[Error - 8:48:06 AM] Request textDocument/hover failed. InvalidArgumentException: A compound type can only have other types as elements in /Users/necmettin/.vscode/extensions/felixfbecker.php-intellisense-2.3.13/vendor/phpdocumentor/type-resolver/src/Types/Compound.php:46 [stack-trace.txt](https://github.com/felixfbecker/php-language-server/files/3742468/stack-trace.txt) Should I attach the source file too?
Hi Felix, due to multiple git repos in a project I had to add multiple folders to a projects in "my-project.code-workspace"-file. This is the offical way of including multiple folders,...
The following simplified example is not completed: ```php class A { use B; // Defines public function foo() function bar() { $this->f| } } ``` As I'm working on a...