PHPantom version
0.8-dirty
Installation method
Zed extension (auto-downloaded)
Operating system
Linux x86_64
Editor
Zed
Bug description
When using textDocument/Completion, the LSP suggest invalid symbols to complete: Class names, constants, anything else.
The LSP Should only offer valid symbols for completion, which should only be:
- Methods to be overridden from the parent.
- Methods for methods calls that do not exist yet.
- Methods pending implementation for the interface or abstract method (if it matches visibility).
- Methods that may exist (
method_exist calls that reference the object or context)
Steps to reproduce
- Create a class
- create a method
- See the autocompletion for the function with invalid symbols.
Error output or panic trace
.phpantom.toml
Additional context
Laravel 13.x Framework
PHPantom version
0.8-dirty
Installation method
Zed extension (auto-downloaded)
Operating system
Linux x86_64
Editor
Zed
Bug description
When using
textDocument/Completion, the LSP suggest invalid symbols to complete: Class names, constants, anything else.The LSP Should only offer valid symbols for completion, which should only be:
method_existcalls that reference the object or context)Steps to reproduce
Error output or panic trace
.phpantom.toml
defaultAdditional context
Laravel 13.x Framework