mirror of
https://github.com/danog/psalm.git
synced 2024-12-13 01:37:23 +01:00
3335b26cb4
* Fix missing parameter in LSP textDocument.didChange This parameter was accepted, but not documented. Since the JSON-RPC Dispatcher looks at the comments for type information, it would fail to find info and produce: PHP Notice: Undefined offset: 1 in vendor/felixfbecker/advanced-json-rpc/lib/Dispatcher.php on line 141 Combined with issue #4142, this ended up violating the protocol. * Ignore out-of-project files in textDocument.completion Other methods, such as didOpen and didChange already checked for this, but completion did not. This would lead to funny behaviour, where triggering completion would cause the file to be analyzed, but only using the on-disk state. And any changes to the file would never be analyzed. This ignores out-of-project files for completion, too. |
||
---|---|---|
.. | ||
Analyzer | ||
Codebase | ||
Diff | ||
ExecutionEnvironment | ||
FileManipulation | ||
Fork | ||
Json | ||
LanguageServer | ||
PhpTraverser | ||
PhpVisitor | ||
PluginManager | ||
Provider | ||
Scanner | ||
Scope | ||
Stubs | ||
Taint | ||
Type | ||
TypeVisitor | ||
CallMap_71_delta.php | ||
CallMap_72_delta.php | ||
CallMap_73_delta.php | ||
CallMap_74_delta.php | ||
CallMap.php | ||
Clause.php | ||
exception_handler.php | ||
IncludeCollector.php | ||
InternalTaintSinkMap.php | ||
MethodIdentifier.php | ||
PropertyMap.php | ||
ReferenceConstraint.php | ||
RuntimeCaches.php |