Rewrite .expected file on test failure and rename "broken" -> "_cases"
parent
ce548deb9d
commit
dc673373df
|
@ -29,7 +29,7 @@ class ValidationTest extends TestCase
|
||||||
$testProviderArray = array();
|
$testProviderArray = array();
|
||||||
foreach ($frameworks as $frameworkDir) {
|
foreach ($frameworks as $frameworkDir) {
|
||||||
$frameworkName = basename($frameworkDir);
|
$frameworkName = basename($frameworkDir);
|
||||||
if ($frameworkName !== "broken") {
|
if ($frameworkName !== '_cases') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,12 +63,21 @@ class ValidationTest extends TestCase
|
||||||
$expectedValues = $this->getExpectedTestValues($testCaseFile, $frameworkName, $fileContents);
|
$expectedValues = $this->getExpectedTestValues($testCaseFile, $frameworkName, $fileContents);
|
||||||
$actualValues = $this->getActualTestValues($testCaseFile, $frameworkName, $fileContents);
|
$actualValues = $this->getActualTestValues($testCaseFile, $frameworkName, $fileContents);
|
||||||
|
|
||||||
$this->assertEquals($expectedValues['definitions'], $actualValues['definitions']);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->assertArraySubset((array)$expectedValues['references'], (array)$actualValues['references'], false, 'references don\'t match.');
|
$this->assertEquals($expectedValues['definitions'], $actualValues['definitions']);
|
||||||
|
|
||||||
|
try {
|
||||||
|
$this->assertArraySubset((array)$expectedValues['references'], (array)$actualValues['references'], false, 'references don\'t match.');
|
||||||
|
} catch (\Throwable $e) {
|
||||||
|
$this->assertEquals((array)$expectedValues['references'], (array)$actualValues['references'], 'references don\'t match.');
|
||||||
|
}
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
$this->assertEquals((array)$expectedValues['references'], (array)$actualValues['references'], 'references don\'t match.');
|
$outputFile = getExpectedValuesFile($testCaseFile);
|
||||||
|
if ($frameworkName === '_cases') {
|
||||||
|
file_put_contents($outputFile, json_encode($actualValues, JSON_PRETTY_PRINT));
|
||||||
|
}
|
||||||
|
|
||||||
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,7 +91,7 @@ class ValidationTest extends TestCase
|
||||||
global $parserKind;
|
global $parserKind;
|
||||||
$parserKind = ParserKind::PHP_PARSER;
|
$parserKind = ParserKind::PHP_PARSER;
|
||||||
|
|
||||||
$outputFile = $filename . '.expected.json';
|
$outputFile = getExpectedValuesFile($filename);
|
||||||
if (file_exists($outputFile)) {
|
if (file_exists($outputFile)) {
|
||||||
return (array)json_decode(file_get_contents($outputFile));
|
return (array)json_decode(file_get_contents($outputFile));
|
||||||
}
|
}
|
||||||
|
@ -136,11 +145,6 @@ class ValidationTest extends TestCase
|
||||||
'definitions' => json_decode(json_encode($actualDefs))
|
'definitions' => json_decode(json_encode($actualDefs))
|
||||||
);
|
);
|
||||||
|
|
||||||
$outputFile = $filename . '.expected.json';
|
|
||||||
if ($frameworkName === 'broken') {
|
|
||||||
file_put_contents($outputFile, json_encode($refsAndDefs, JSON_PRETTY_PRINT));
|
|
||||||
}
|
|
||||||
|
|
||||||
return $refsAndDefs;
|
return $refsAndDefs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -195,3 +199,7 @@ class ValidationTest extends TestCase
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getExpectedValuesFile($testCaseFile): string {
|
||||||
|
return $testCaseFile . '.expected.json';
|
||||||
|
}
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"Fixtures\\Prophecy\\EmptyClass": [
|
"Fixtures\\Prophecy\\EmptyClass": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/WithReturnTypehints.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php"
|
||||||
],
|
],
|
||||||
"self": [
|
"self": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/WithReturnTypehints.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php"
|
||||||
],
|
],
|
||||||
"parent": [
|
"parent": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/WithReturnTypehints.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
"name": "Fixtures\\Prophecy",
|
"name": "Fixtures\\Prophecy",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/WithReturnTypehints.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php"
|
||||||
},
|
},
|
||||||
"containerName": "Fixtures"
|
"containerName": "Fixtures"
|
||||||
},
|
},
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
"name": "WithReturnTypehints",
|
"name": "WithReturnTypehints",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/WithReturnTypehints.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php"
|
||||||
},
|
},
|
||||||
"containerName": "Fixtures\\Prophecy"
|
"containerName": "Fixtures\\Prophecy"
|
||||||
},
|
},
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
"name": "getSelf",
|
"name": "getSelf",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/WithReturnTypehints.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php"
|
||||||
},
|
},
|
||||||
"containerName": "Fixtures\\Prophecy\\WithReturnTypehints"
|
"containerName": "Fixtures\\Prophecy\\WithReturnTypehints"
|
||||||
},
|
},
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
"name": "getName",
|
"name": "getName",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/WithReturnTypehints.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php"
|
||||||
},
|
},
|
||||||
"containerName": "Fixtures\\Prophecy\\WithReturnTypehints"
|
"containerName": "Fixtures\\Prophecy\\WithReturnTypehints"
|
||||||
},
|
},
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
"name": "getParent",
|
"name": "getParent",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/WithReturnTypehints.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php"
|
||||||
},
|
},
|
||||||
"containerName": "Fixtures\\Prophecy\\WithReturnTypehints"
|
"containerName": "Fixtures\\Prophecy\\WithReturnTypehints"
|
||||||
},
|
},
|
|
@ -10,7 +10,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/anonymousClassMembersShouldNotBeSymbols.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/anonymousClassMembersShouldNotBeSymbols.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
|
@ -10,7 +10,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/arrayValueShouldBeBoolean.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/arrayValueShouldBeBoolean.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
"name": "foo",
|
"name": "foo",
|
||||||
"kind": 7,
|
"kind": 7,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/arrayValueShouldBeBoolean.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/arrayValueShouldBeBoolean.php"
|
||||||
},
|
},
|
||||||
"containerName": "A"
|
"containerName": "A"
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\A": [
|
"MyNamespace\\A": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/caseStatement1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/caseStatement1.php"
|
||||||
],
|
],
|
||||||
"A": [
|
"A": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/caseStatement1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/caseStatement1.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/caseStatement1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/caseStatement1.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"TestNamespace\\A": [
|
"TestNamespace\\A": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/classDefinition1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classDefinition1.php"
|
||||||
],
|
],
|
||||||
"TestNamespace\\A->a": [
|
"TestNamespace\\A->a": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/classDefinition1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classDefinition1.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"name": "TestNamespace",
|
"name": "TestNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/classDefinition1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classDefinition1.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/classDefinition1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classDefinition1.php"
|
||||||
},
|
},
|
||||||
"containerName": "TestNamespace"
|
"containerName": "TestNamespace"
|
||||||
},
|
},
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
"name": "a",
|
"name": "a",
|
||||||
"kind": 7,
|
"kind": 7,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/classDefinition1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classDefinition1.php"
|
||||||
},
|
},
|
||||||
"containerName": "TestNamespace\\A"
|
"containerName": "TestNamespace\\A"
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"SomeNamespace\\Goo": [
|
"SomeNamespace\\Goo": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/classProperty1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php"
|
||||||
],
|
],
|
||||||
"SomeNamespace": [
|
"SomeNamespace": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/classProperty1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"name": "TestNamespace",
|
"name": "TestNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/classProperty1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"name": "TestClass",
|
"name": "TestClass",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/classProperty1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php"
|
||||||
},
|
},
|
||||||
"containerName": "TestNamespace"
|
"containerName": "TestNamespace"
|
||||||
},
|
},
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
"name": "testProperty",
|
"name": "testProperty",
|
||||||
"kind": 7,
|
"kind": 7,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/classProperty1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php"
|
||||||
},
|
},
|
||||||
"containerName": "TestNamespace\\TestClass"
|
"containerName": "TestNamespace\\TestClass"
|
||||||
},
|
},
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
"name": "testMethod",
|
"name": "testMethod",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/classProperty1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php"
|
||||||
},
|
},
|
||||||
"containerName": "TestNamespace\\TestClass"
|
"containerName": "TestNamespace\\TestClass"
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\BYE": [
|
"MyNamespace\\BYE": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants.php"
|
||||||
],
|
],
|
||||||
"BYE": [
|
"BYE": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
"name": "suite",
|
"name": "suite",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\A"
|
"containerName": "MyNamespace\\A"
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\BYE": [
|
"MyNamespace\\BYE": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants2.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants2.php"
|
||||||
],
|
],
|
||||||
"BYE": [
|
"BYE": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants2.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants2.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants2.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants2.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
"name": "suite",
|
"name": "suite",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants2.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\A"
|
"containerName": "MyNamespace\\A"
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\T_NEW": [
|
"MyNamespace\\T_NEW": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants3.php"
|
||||||
],
|
],
|
||||||
"T_NEW": [
|
"T_NEW": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants3.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants3.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants3.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
"name": "suite",
|
"name": "suite",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants3.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\A"
|
"containerName": "MyNamespace\\A"
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\HI": [
|
"MyNamespace\\HI": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants4.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants4.php"
|
||||||
],
|
],
|
||||||
"HI": [
|
"HI": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants4.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants4.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants4.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants4.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants4.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants4.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
"name": "suite",
|
"name": "suite",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants4.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants4.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\A"
|
"containerName": "MyNamespace\\A"
|
||||||
},
|
},
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\PHP_INT_MAX": [
|
"MyNamespace\\PHP_INT_MAX": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants5.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants5.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants5.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants5.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
"name": "Mbstring",
|
"name": "Mbstring",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants5.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants5.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
"name": "MB_CASE_FOLD",
|
"name": "MB_CASE_FOLD",
|
||||||
"kind": 14,
|
"kind": 14,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constants5.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants5.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\Mbstring"
|
"containerName": "MyNamespace\\Mbstring"
|
||||||
},
|
},
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MY_CONSTANT": [
|
"MY_CONSTANT": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constantsInFunctionParamDefault.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constantsInFunctionParamDefault.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 11,
|
"kind": 11,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constantsInFunctionParamDefault.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constantsInFunctionParamDefault.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
"name": "b",
|
"name": "b",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/constantsInFunctionParamDefault.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constantsInFunctionParamDefault.php"
|
||||||
},
|
},
|
||||||
"containerName": "A"
|
"containerName": "A"
|
||||||
},
|
},
|
|
@ -10,7 +10,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/docBlocksOnNamespaceDefinition.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/docBlocksOnNamespaceDefinition.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
|
@ -10,7 +10,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/exceptions1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/exceptions1.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"A": [
|
"A": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/functionUse.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/functionUse.php"
|
||||||
],
|
],
|
||||||
"A->b()": [
|
"A->b()": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/functionUse.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/functionUse.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": []
|
"definitions": []
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"LanguageServer": [
|
"LanguageServer": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/functionUse2.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/functionUse2.php"
|
||||||
],
|
],
|
||||||
"LanguageServer\\timeout()": [
|
"LanguageServer\\timeout()": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/functionUse2.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/functionUse2.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": []
|
"definitions": []
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\A": [
|
"MyNamespace\\A": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/ifStatement1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/ifStatement1.php"
|
||||||
],
|
],
|
||||||
"A": [
|
"A": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/ifStatement1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/ifStatement1.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/ifStatement1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/ifStatement1.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?php
|
||||||
|
interface A {
|
||||||
|
// props ignored in interface
|
||||||
|
var $a = 3;
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"references": [],
|
||||||
|
"definitions": {
|
||||||
|
"A": {
|
||||||
|
"extends": [],
|
||||||
|
"isGlobal": true,
|
||||||
|
"isStatic": false,
|
||||||
|
"canBeInstantiated": false,
|
||||||
|
"symbolInformation": {
|
||||||
|
"name": "A",
|
||||||
|
"kind": 11,
|
||||||
|
"location": {
|
||||||
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/interfaceProperty.php"
|
||||||
|
},
|
||||||
|
"containerName": ""
|
||||||
|
},
|
||||||
|
"type__class": "LanguageServer\\Tests\\ValidationTest",
|
||||||
|
"type": null,
|
||||||
|
"documentation": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -10,7 +10,7 @@
|
||||||
"name": "B",
|
"name": "B",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/magicConstantsShouldBeGlobal.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/magicConstantsShouldBeGlobal.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
|
@ -10,7 +10,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/magicConsts.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/magicConsts.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
"name": "deprecationsTriggered",
|
"name": "deprecationsTriggered",
|
||||||
"kind": 7,
|
"kind": 7,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/magicConsts.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/magicConsts.php"
|
||||||
},
|
},
|
||||||
"containerName": "A"
|
"containerName": "A"
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\a": [
|
"MyNamespace\\a": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess1.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\a->a()": [
|
"MyNamespace\\a->a()": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess1.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess1.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess1.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
"name": "a",
|
"name": "a",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess1.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\A"
|
"containerName": "MyNamespace\\A"
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\a": [
|
"MyNamespace\\a": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess2.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess2.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\a->a()": [
|
"MyNamespace\\a->a()": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess2.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess2.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess2.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess2.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
"name": "a",
|
"name": "a",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess2.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\A"
|
"containerName": "MyNamespace\\A"
|
||||||
},
|
},
|
|
@ -1,25 +1,25 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\ClassLoader": [
|
"MyNamespace\\ClassLoader": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php"
|
||||||
],
|
],
|
||||||
"Closure::bind()": [
|
"Closure::bind()": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php"
|
||||||
],
|
],
|
||||||
"Closure": [
|
"Closure": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\ClassLoader->prefixesPsr0": [
|
"MyNamespace\\ClassLoader->prefixesPsr0": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\ComposerStaticInitIncludePath": [
|
"MyNamespace\\ComposerStaticInitIncludePath": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\ComposerStaticInitIncludePath::$prefixesPsr0": [
|
"MyNamespace\\ComposerStaticInitIncludePath::$prefixesPsr0": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\ClassLoader::class": [
|
"MyNamespace\\ClassLoader::class": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
"name": "getInitializer",
|
"name": "getInitializer",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\A"
|
"containerName": "MyNamespace\\A"
|
||||||
},
|
},
|
|
@ -1,16 +1,16 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\Request::create()": [
|
"MyNamespace\\Request::create()": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess4.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\Request": [
|
"MyNamespace\\Request": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess4.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\Url->toString()": [
|
"MyNamespace\\Url->toString()": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess4.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\Url": [
|
"MyNamespace\\Url": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess4.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess4.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess4.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
"name": "testRequest",
|
"name": "testRequest",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess4.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\A"
|
"containerName": "MyNamespace\\A"
|
||||||
},
|
},
|
|
@ -10,7 +10,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess5.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess5.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
"name": "ParseErrorsTest",
|
"name": "ParseErrorsTest",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess5.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess5.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
"name": "setUp",
|
"name": "setUp",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberAccess5.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess5.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\ParseErrorsTest"
|
"containerName": "MyNamespace\\ParseErrorsTest"
|
||||||
},
|
},
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\AccountInterface": [
|
"MyNamespace\\AccountInterface": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberCall1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\A": [
|
"MyNamespace\\A": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberCall1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\AccountInterface->getAccount()": [
|
"MyNamespace\\AccountInterface->getAccount()": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberCall1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberCall1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
"name": "ParseErrorsTest",
|
"name": "ParseErrorsTest",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberCall1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
"name": "setAccount",
|
"name": "setAccount",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/memberCall1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\ParseErrorsTest"
|
"containerName": "MyNamespace\\ParseErrorsTest"
|
||||||
},
|
},
|
|
@ -1,16 +1,16 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace2\\MyNamespace1\\B": [
|
"MyNamespace2\\MyNamespace1\\B": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/multipleNamespaces.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php"
|
||||||
],
|
],
|
||||||
"MyNamespace2\\MyNamespace1": [
|
"MyNamespace2\\MyNamespace1": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/multipleNamespaces.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php"
|
||||||
],
|
],
|
||||||
"MyNamespace2": [
|
"MyNamespace2": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/multipleNamespaces.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php"
|
||||||
],
|
],
|
||||||
"MyNamespace2\\A->b()": [
|
"MyNamespace2\\A->b()": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/multipleNamespaces.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
"name": "MyNamespace1",
|
"name": "MyNamespace1",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/multipleNamespaces.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
"name": "B",
|
"name": "B",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/multipleNamespaces.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace1"
|
"containerName": "MyNamespace1"
|
||||||
},
|
},
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
"name": "b",
|
"name": "b",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/multipleNamespaces.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace1\\B"
|
"containerName": "MyNamespace1\\B"
|
||||||
},
|
},
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
"name": "MyNamespace2",
|
"name": "MyNamespace2",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/multipleNamespaces.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/multipleNamespaces.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace2"
|
"containerName": "MyNamespace2"
|
||||||
},
|
},
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
"name": "a",
|
"name": "a",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/multipleNamespaces.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace2\\A"
|
"containerName": "MyNamespace2\\A"
|
||||||
},
|
},
|
|
@ -10,7 +10,7 @@
|
||||||
"name": "Foo",
|
"name": "Foo",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/multiplePreceedingComments.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multiplePreceedingComments.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
"name": "fn",
|
"name": "fn",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/multiplePreceedingComments.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multiplePreceedingComments.php"
|
||||||
},
|
},
|
||||||
"containerName": "Foo"
|
"containerName": "Foo"
|
||||||
},
|
},
|
|
@ -10,7 +10,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/nameToken.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/nameToken.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
"name": "b",
|
"name": "b",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/nameToken.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/nameToken.php"
|
||||||
},
|
},
|
||||||
"containerName": "A"
|
"containerName": "A"
|
||||||
},
|
},
|
|
@ -1,16 +1,16 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"NS1\\C": [
|
"NS1\\C": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces2.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces2.php"
|
||||||
],
|
],
|
||||||
"NS1": [
|
"NS1": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces2.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces2.php"
|
||||||
],
|
],
|
||||||
"NS1\\I": [
|
"NS1\\I": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces2.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces2.php"
|
||||||
],
|
],
|
||||||
"NS1\\T": [
|
"NS1\\T": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces2.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces2.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
"name": "MyNamespace1",
|
"name": "MyNamespace1",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces2.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"a\\b": [
|
"a\\b": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces4.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces4.php"
|
||||||
],
|
],
|
||||||
"a": [
|
"a": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces4.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces4.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": []
|
"definitions": []
|
|
@ -1,25 +1,25 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"LanguageServer\\Protocol": [
|
"LanguageServer\\Protocol": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces5.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php"
|
||||||
],
|
],
|
||||||
"LanguageServer": [
|
"LanguageServer": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces5.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php"
|
||||||
],
|
],
|
||||||
"LanguageServer\\Protocol\\TextDocumentIdentifier": [
|
"LanguageServer\\Protocol\\TextDocumentIdentifier": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces5.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php"
|
||||||
],
|
],
|
||||||
"LanguageServer\\Protocol\\Position": [
|
"LanguageServer\\Protocol\\Position": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces5.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php"
|
||||||
],
|
],
|
||||||
"LanguageServer\\Protocol\\ReferenceContext": [
|
"LanguageServer\\Protocol\\ReferenceContext": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces5.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php"
|
||||||
],
|
],
|
||||||
"LanguageServer\\Protocol\\Location": [
|
"LanguageServer\\Protocol\\Location": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces5.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php"
|
||||||
],
|
],
|
||||||
"LanguageServer\\Protocol\\Range": [
|
"LanguageServer\\Protocol\\Range": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces5.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
"name": "B",
|
"name": "B",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces5.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
|
@ -10,7 +10,7 @@
|
||||||
"name": "A\\B",
|
"name": "A\\B",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces6.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces6.php"
|
||||||
},
|
},
|
||||||
"containerName": "A"
|
"containerName": "A"
|
||||||
},
|
},
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"LanguageServer": [
|
"LanguageServer": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces8.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces8.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
"name": "LanguageServer\\Tests\\Utils",
|
"name": "LanguageServer\\Tests\\Utils",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/namespaces8.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces8.php"
|
||||||
},
|
},
|
||||||
"containerName": "LanguageServer\\Tests"
|
"containerName": "LanguageServer\\Tests"
|
||||||
},
|
},
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class NewStatic {
|
||||||
|
public static function main()
|
||||||
|
{
|
||||||
|
$command = new static;
|
||||||
|
return $command->foo();
|
||||||
|
}
|
||||||
|
|
||||||
|
private function foo() {
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,56 @@
|
||||||
|
{
|
||||||
|
"references": [],
|
||||||
|
"definitions": {
|
||||||
|
"NewStatic": {
|
||||||
|
"extends": [],
|
||||||
|
"isGlobal": true,
|
||||||
|
"isStatic": false,
|
||||||
|
"canBeInstantiated": true,
|
||||||
|
"symbolInformation": {
|
||||||
|
"name": "NewStatic",
|
||||||
|
"kind": 5,
|
||||||
|
"location": {
|
||||||
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/newStatic.php"
|
||||||
|
},
|
||||||
|
"containerName": ""
|
||||||
|
},
|
||||||
|
"type__class": "LanguageServer\\Tests\\ValidationTest",
|
||||||
|
"type": null,
|
||||||
|
"documentation": null
|
||||||
|
},
|
||||||
|
"NewStatic::main()": {
|
||||||
|
"extends": [],
|
||||||
|
"isGlobal": false,
|
||||||
|
"isStatic": true,
|
||||||
|
"canBeInstantiated": false,
|
||||||
|
"symbolInformation": {
|
||||||
|
"name": "main",
|
||||||
|
"kind": 6,
|
||||||
|
"location": {
|
||||||
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/newStatic.php"
|
||||||
|
},
|
||||||
|
"containerName": "NewStatic"
|
||||||
|
},
|
||||||
|
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
|
||||||
|
"type": {},
|
||||||
|
"documentation": null
|
||||||
|
},
|
||||||
|
"NewStatic->foo()": {
|
||||||
|
"extends": [],
|
||||||
|
"isGlobal": false,
|
||||||
|
"isStatic": false,
|
||||||
|
"canBeInstantiated": false,
|
||||||
|
"symbolInformation": {
|
||||||
|
"name": "foo",
|
||||||
|
"kind": 6,
|
||||||
|
"location": {
|
||||||
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/newStatic.php"
|
||||||
|
},
|
||||||
|
"containerName": "NewStatic"
|
||||||
|
},
|
||||||
|
"type__class": "phpDocumentor\\Reflection\\Types\\Mixed",
|
||||||
|
"type": {},
|
||||||
|
"documentation": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\A->inline_diff_renderer": [
|
"MyNamespace\\A->inline_diff_renderer": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
"name": "a",
|
"name": "a",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\A"
|
"containerName": "MyNamespace\\A"
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\B->hi()": [
|
"MyNamespace\\B->hi()": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation2.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\B": [
|
"MyNamespace\\B": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation2.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"name": "B",
|
"name": "B",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
"name": "a",
|
"name": "a",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\A"
|
"containerName": "MyNamespace\\A"
|
||||||
},
|
},
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"A->args": [
|
"A->args": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation3.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation3.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
"name": "a",
|
"name": "a",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/objectCreation3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation3.php"
|
||||||
},
|
},
|
||||||
"containerName": "A"
|
"containerName": "A"
|
||||||
},
|
},
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\Hi": [
|
"MyNamespace\\Hi": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/param1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/param1.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/param1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/param1.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
"name": "init",
|
"name": "init",
|
||||||
"kind": 12,
|
"kind": 12,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/param1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/param1.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\B": [
|
"MyNamespace\\B": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php"
|
||||||
],
|
],
|
||||||
"parent": [
|
"parent": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent1.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"name": "B",
|
"name": "B",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
"name": "b",
|
"name": "b",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\B"
|
"containerName": "MyNamespace\\B"
|
||||||
},
|
},
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
"name": "a",
|
"name": "a",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\A"
|
"containerName": "MyNamespace\\A"
|
||||||
},
|
},
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"references": {
|
"references": {
|
||||||
"MyNamespace\\B": [
|
"MyNamespace\\B": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php"
|
||||||
],
|
],
|
||||||
"MyNamespace\\B->b()": [
|
"MyNamespace\\B->b()": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php"
|
||||||
],
|
],
|
||||||
"parent": [
|
"parent": [
|
||||||
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent3.php"
|
"\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
"name": "MyNamespace",
|
"name": "MyNamespace",
|
||||||
"kind": 3,
|
"kind": 3,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
"name": "B",
|
"name": "B",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
"name": "b",
|
"name": "b",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\B"
|
"containerName": "MyNamespace\\B"
|
||||||
},
|
},
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
"name": "A",
|
"name": "A",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace"
|
"containerName": "MyNamespace"
|
||||||
},
|
},
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
"name": "a",
|
"name": "a",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/parent3.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyNamespace\\A"
|
"containerName": "MyNamespace\\A"
|
||||||
},
|
},
|
|
@ -10,7 +10,7 @@
|
||||||
"name": "MyClass",
|
"name": "MyClass",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/propertyName1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/propertyName1.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
"name": "mainPropertyName",
|
"name": "mainPropertyName",
|
||||||
"kind": 7,
|
"kind": 7,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/propertyName1.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/propertyName1.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyClass"
|
"containerName": "MyClass"
|
||||||
},
|
},
|
|
@ -10,7 +10,7 @@
|
||||||
"name": "MyClass",
|
"name": "MyClass",
|
||||||
"kind": 5,
|
"kind": 5,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/propertyName2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/propertyName2.php"
|
||||||
},
|
},
|
||||||
"containerName": ""
|
"containerName": ""
|
||||||
},
|
},
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
"name": "mainPropertyName",
|
"name": "mainPropertyName",
|
||||||
"kind": 7,
|
"kind": 7,
|
||||||
"location": {
|
"location": {
|
||||||
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/propertyName2.php"
|
"uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/propertyName2.php"
|
||||||
},
|
},
|
||||||
"containerName": "MyClass"
|
"containerName": "MyClass"
|
||||||
},
|
},
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue