Merge branch 'master' into size-limit
commit
8fcdba483f
|
@ -55,7 +55,7 @@ class SymbolInformation
|
||||||
Node\Stmt\Namespace_::class => SymbolKind::NAMESPACE,
|
Node\Stmt\Namespace_::class => SymbolKind::NAMESPACE,
|
||||||
Node\Stmt\Function_::class => SymbolKind::FUNCTION,
|
Node\Stmt\Function_::class => SymbolKind::FUNCTION,
|
||||||
Node\Stmt\ClassMethod::class => SymbolKind::METHOD,
|
Node\Stmt\ClassMethod::class => SymbolKind::METHOD,
|
||||||
Node\Stmt\PropertyProperty::class => SymbolKind::PROPERTY,
|
Node\Stmt\PropertyProperty::class => SymbolKind::FIELD,
|
||||||
Node\Const_::class => SymbolKind::CONSTANT
|
Node\Const_::class => SymbolKind::CONSTANT
|
||||||
];
|
];
|
||||||
$class = get_class($node);
|
$class = get_class($node);
|
||||||
|
|
|
@ -84,7 +84,7 @@ class DocumentSymbolTest extends TestCase
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'staticTestProperty',
|
'name' => 'staticTestProperty',
|
||||||
'kind' => SymbolKind::PROPERTY,
|
'kind' => SymbolKind::FIELD,
|
||||||
'location' => [
|
'location' => [
|
||||||
'uri' => 'symbols',
|
'uri' => 'symbols',
|
||||||
'range' => [
|
'range' => [
|
||||||
|
@ -102,7 +102,7 @@ class DocumentSymbolTest extends TestCase
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'testProperty',
|
'name' => 'testProperty',
|
||||||
'kind' => SymbolKind::PROPERTY,
|
'kind' => SymbolKind::FIELD,
|
||||||
'location' => [
|
'location' => [
|
||||||
'uri' => 'symbols',
|
'uri' => 'symbols',
|
||||||
'range' => [
|
'range' => [
|
||||||
|
|
|
@ -99,7 +99,7 @@ class SymbolTest extends TestCase
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'staticTestProperty',
|
'name' => 'staticTestProperty',
|
||||||
'kind' => SymbolKind::PROPERTY,
|
'kind' => SymbolKind::FIELD,
|
||||||
'location' => [
|
'location' => [
|
||||||
'uri' => $this->symbolsUri,
|
'uri' => $this->symbolsUri,
|
||||||
'range' => [
|
'range' => [
|
||||||
|
@ -117,7 +117,7 @@ class SymbolTest extends TestCase
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'testProperty',
|
'name' => 'testProperty',
|
||||||
'kind' => SymbolKind::PROPERTY,
|
'kind' => SymbolKind::FIELD,
|
||||||
'location' => [
|
'location' => [
|
||||||
'uri' => $this->symbolsUri,
|
'uri' => $this->symbolsUri,
|
||||||
'range' => [
|
'range' => [
|
||||||
|
|
Loading…
Reference in New Issue