From 1bb710f8526f1375d4b8867f5e90bda22e01c5fa Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Mon, 15 May 2017 15:30:29 -0700 Subject: [PATCH] Fix absolute paths and escaped slashes in validation expected output --- tests/Validation/ValidationTest.php | 37 ++++++++++++++++--- .../WithReturnTypehints.php.expected.json | 16 ++++---- ...embersShouldNotBeSymbols.php.expected.json | 2 +- ...rrayValueShouldBeBoolean.php.expected.json | 4 +- .../_cases/caseStatement1.php.expected.json | 6 +-- .../_cases/classDefinition1.php.expected.json | 10 ++--- .../_cases/classProperty1.php.expected.json | 12 +++--- .../_cases/constants.php.expected.json | 10 ++--- .../_cases/constants2.php.expected.json | 10 ++--- .../_cases/constants3.php.expected.json | 10 ++--- .../_cases/constants4.php.expected.json | 10 ++--- .../_cases/constants5.php.expected.json | 8 ++-- ...tsInFunctionParamDefault.php.expected.json | 6 +-- ...cksOnNamespaceDefinition.php.expected.json | 2 +- .../_cases/exceptions1.php.expected.json | 2 +- .../_cases/functionUse.php.expected.json | 4 +- .../_cases/functionUse2.php.expected.json | 4 +- .../_cases/ifStatement1.php.expected.json | 6 +-- .../interfaceProperty.php.expected.json | 2 +- ...cConstantsShouldBeGlobal.php.expected.json | 2 +- .../_cases/magicConsts.php.expected.json | 4 +- .../_cases/memberAccess1.php.expected.json | 10 ++--- .../_cases/memberAccess2.php.expected.json | 10 ++--- .../_cases/memberAccess3.php.expected.json | 20 +++++----- .../_cases/memberAccess4.php.expected.json | 14 +++---- .../_cases/memberAccess5.php.expected.json | 6 +-- .../_cases/memberCall1.php.expected.json | 12 +++--- .../multipleNamespaces.php.expected.json | 20 +++++----- ...ltiplePreceedingComments.php.expected.json | 4 +- .../_cases/nameToken.php.expected.json | 4 +- .../_cases/namespaces2.php.expected.json | 10 ++--- .../_cases/namespaces4.php.expected.json | 4 +- .../_cases/namespaces5.php.expected.json | 16 ++++---- .../_cases/namespaces6.php.expected.json | 2 +- .../_cases/namespaces8.php.expected.json | 4 +- .../_cases/objectCreation.php.expected.json | 8 ++-- .../_cases/objectCreation2.php.expected.json | 12 +++--- .../_cases/objectCreation3.php.expected.json | 6 +-- .../_cases/param1.php.expected.json | 6 +-- .../_cases/parent1.php.expected.json | 14 +++---- .../_cases/parent3.php.expected.json | 16 ++++---- .../_cases/propertyName1.php.expected.json | 4 +- .../_cases/propertyName2.php.expected.json | 4 +- .../_cases/returnType.php.expected.json | 8 ++-- .../scopedPropertyAccess.php.expected.json | 10 ++--- .../scopedPropertyAccess2.php.expected.json | 4 +- .../scopedPropertyAccess3.php.expected.json | 8 ++-- .../scopedPropertyAccess4.php.expected.json | 2 +- .../scopedPropertyAccess5.php.expected.json | 12 +++--- .../frameworks/_cases/self1.php.expected.json | 16 ++++---- .../frameworks/_cases/self2.php.expected.json | 16 ++++---- .../frameworks/_cases/self3.php.expected.json | 16 ++++---- .../frameworks/_cases/self4.php.expected.json | 14 +++---- .../frameworks/_cases/self5.php.expected.json | 8 ++-- .../_cases/static1.php.expected.json | 16 ++++---- .../_cases/static2.php.expected.json | 16 ++++---- .../_cases/static3.php.expected.json | 16 ++++---- .../_cases/static4.php.expected.json | 10 ++--- .../_cases/stringVariable.php.expected.json | 6 +-- ...edNameOutsideOfNamespace.php.expected.json | 4 +- ...rifyFqsenOnClassProperty.php.expected.json | 10 ++--- 61 files changed, 295 insertions(+), 270 deletions(-) diff --git a/tests/Validation/ValidationTest.php b/tests/Validation/ValidationTest.php index d830f19..a7d3ec1 100644 --- a/tests/Validation/ValidationTest.php +++ b/tests/Validation/ValidationTest.php @@ -21,10 +21,13 @@ use RecursiveIteratorIterator; use Sabre\Event\Loop; use Microsoft\PhpParser as Tolerant; +$frameworksDir = realpath(__DIR__ . '/../../validation/frameworks'); + class ValidationTest extends TestCase { public function frameworkErrorProvider() { - $frameworks = glob(__DIR__ . "/../../validation/frameworks/*", GLOB_ONLYDIR); + global $frameworksDir; + $frameworks = glob($frameworksDir . '/*', GLOB_ONLYDIR); $testProviderArray = array(); foreach ($frameworks as $frameworkDir) { @@ -33,7 +36,7 @@ class ValidationTest extends TestCase continue; } - $iterator = new RecursiveDirectoryIterator(__DIR__ . "/../../validation/frameworks/" . $frameworkName); + $iterator = new RecursiveDirectoryIterator($frameworkDir); $skipped = json_decode(file_get_contents(__DIR__ . '/skipped.json')); foreach (new RecursiveIteratorIterator($iterator) as $file) { @@ -44,9 +47,11 @@ class ValidationTest extends TestCase } } } + if (count($testProviderArray) === 0) { throw new Exception("ERROR: Validation testsuite frameworks not found - run `git submodule update --init --recursive` to download."); } + return $testProviderArray; } @@ -64,7 +69,7 @@ class ValidationTest extends TestCase $outputFile = getExpectedValuesFile($testCaseFile); if (!file_exists($outputFile)) { - file_put_contents(json_encode($actualValues, JSON_PRETTY_PRINT)); + file_put_contents(json_encode($actualValues, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES)); } $expectedValues = (array)json_decode(file_get_contents($outputFile)); @@ -80,7 +85,7 @@ class ValidationTest extends TestCase } catch (\Throwable $e) { $outputFile = getExpectedValuesFile($testCaseFile); if ($frameworkName === '_cases') { - file_put_contents($outputFile, json_encode($actualValues, JSON_PRETTY_PRINT)); + file_put_contents($outputFile, json_encode($actualValues, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES)); } throw $e; @@ -88,6 +93,8 @@ class ValidationTest extends TestCase } private function getActualTestValues($filename, $fileContents): array { + global $frameworksDir; + $index = new Index(); $parser = new Tolerant\Parser(); $docBlockFactory = DocBlockFactory::createInstance(); @@ -106,6 +113,24 @@ class ValidationTest extends TestCase 'definitions' => json_decode(json_encode($actualDefs)) ); + // Turn references into relative paths + foreach ($refsAndDefs['references'] as $key => $list) { + $fixedPathRefs = array_map(function($ref) { + global $frameworksDir; + return str_replace($frameworksDir, '.', $ref); + }, $list); + + $refsAndDefs['references']->$key = $fixedPathRefs; + } + + // Turn def locations into relative paths + foreach ($refsAndDefs['definitions'] as $key => $def) { + if ($def !== null && $def->symbolInformation !== null && + $def->symbolInformation->location !== null && $def->symbolInformation->location->uri !== null) { + $def->symbolInformation->location->uri = str_replace($frameworksDir, '.', $def->symbolInformation->location->uri); + } + } + return $refsAndDefs; } @@ -151,7 +176,7 @@ class ValidationTest extends TestCase 'pathToUri', 'uriToPath' // group function use declarations are broken in old definition resolver ]; - foreach ($references as $key=>$value) { + foreach ($references as $key => $value) { foreach ($skipped as $s) { if (strpos($key, $s) !== false) { unset($references[$key]); @@ -163,4 +188,4 @@ class ValidationTest extends TestCase function getExpectedValuesFile($testCaseFile): string { return $testCaseFile . '.expected.json'; -} \ No newline at end of file +} diff --git a/validation/frameworks/_cases/WithReturnTypehints.php.expected.json b/validation/frameworks/_cases/WithReturnTypehints.php.expected.json index e1da9a4..17a5213 100644 --- a/validation/frameworks/_cases/WithReturnTypehints.php.expected.json +++ b/validation/frameworks/_cases/WithReturnTypehints.php.expected.json @@ -1,13 +1,13 @@ { "references": { "Fixtures\\Prophecy\\EmptyClass": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php" + "./_cases/WithReturnTypehints.php" ], "self": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php" + "./_cases/WithReturnTypehints.php" ], "parent": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php" + "./_cases/WithReturnTypehints.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "Fixtures\\Prophecy", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php" + "uri": "./_cases/WithReturnTypehints.php" }, "containerName": "Fixtures" }, @@ -39,7 +39,7 @@ "name": "WithReturnTypehints", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php" + "uri": "./_cases/WithReturnTypehints.php" }, "containerName": "Fixtures\\Prophecy" }, @@ -56,7 +56,7 @@ "name": "getSelf", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php" + "uri": "./_cases/WithReturnTypehints.php" }, "containerName": "Fixtures\\Prophecy\\WithReturnTypehints" }, @@ -73,7 +73,7 @@ "name": "getName", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php" + "uri": "./_cases/WithReturnTypehints.php" }, "containerName": "Fixtures\\Prophecy\\WithReturnTypehints" }, @@ -90,7 +90,7 @@ "name": "getParent", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php" + "uri": "./_cases/WithReturnTypehints.php" }, "containerName": "Fixtures\\Prophecy\\WithReturnTypehints" }, diff --git a/validation/frameworks/_cases/anonymousClassMembersShouldNotBeSymbols.php.expected.json b/validation/frameworks/_cases/anonymousClassMembersShouldNotBeSymbols.php.expected.json index 88ed930..719e388 100644 --- a/validation/frameworks/_cases/anonymousClassMembersShouldNotBeSymbols.php.expected.json +++ b/validation/frameworks/_cases/anonymousClassMembersShouldNotBeSymbols.php.expected.json @@ -10,7 +10,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/anonymousClassMembersShouldNotBeSymbols.php" + "uri": "./_cases/anonymousClassMembersShouldNotBeSymbols.php" }, "containerName": "" }, diff --git a/validation/frameworks/_cases/arrayValueShouldBeBoolean.php.expected.json b/validation/frameworks/_cases/arrayValueShouldBeBoolean.php.expected.json index a6168d7..78acadd 100644 --- a/validation/frameworks/_cases/arrayValueShouldBeBoolean.php.expected.json +++ b/validation/frameworks/_cases/arrayValueShouldBeBoolean.php.expected.json @@ -10,7 +10,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/arrayValueShouldBeBoolean.php" + "uri": "./_cases/arrayValueShouldBeBoolean.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "foo", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/arrayValueShouldBeBoolean.php" + "uri": "./_cases/arrayValueShouldBeBoolean.php" }, "containerName": "A" }, diff --git a/validation/frameworks/_cases/caseStatement1.php.expected.json b/validation/frameworks/_cases/caseStatement1.php.expected.json index 07fd68d..545de32 100644 --- a/validation/frameworks/_cases/caseStatement1.php.expected.json +++ b/validation/frameworks/_cases/caseStatement1.php.expected.json @@ -1,10 +1,10 @@ { "references": { "MyNamespace\\A": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/caseStatement1.php" + "./_cases/caseStatement1.php" ], "A": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/caseStatement1.php" + "./_cases/caseStatement1.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/caseStatement1.php" + "uri": "./_cases/caseStatement1.php" }, "containerName": "" }, diff --git a/validation/frameworks/_cases/classDefinition1.php.expected.json b/validation/frameworks/_cases/classDefinition1.php.expected.json index a0c0672..52dd9f6 100644 --- a/validation/frameworks/_cases/classDefinition1.php.expected.json +++ b/validation/frameworks/_cases/classDefinition1.php.expected.json @@ -1,10 +1,10 @@ { "references": { "TestNamespace\\A": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classDefinition1.php" + "./_cases/classDefinition1.php" ], "TestNamespace\\A->a": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classDefinition1.php" + "./_cases/classDefinition1.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "TestNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classDefinition1.php" + "uri": "./_cases/classDefinition1.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classDefinition1.php" + "uri": "./_cases/classDefinition1.php" }, "containerName": "TestNamespace" }, @@ -51,7 +51,7 @@ "name": "a", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classDefinition1.php" + "uri": "./_cases/classDefinition1.php" }, "containerName": "TestNamespace\\A" }, diff --git a/validation/frameworks/_cases/classProperty1.php.expected.json b/validation/frameworks/_cases/classProperty1.php.expected.json index 2088a93..5affe9d 100644 --- a/validation/frameworks/_cases/classProperty1.php.expected.json +++ b/validation/frameworks/_cases/classProperty1.php.expected.json @@ -1,10 +1,10 @@ { "references": { "SomeNamespace\\Goo": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php" + "./_cases/classProperty1.php" ], "SomeNamespace": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php" + "./_cases/classProperty1.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "TestNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php" + "uri": "./_cases/classProperty1.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "TestClass", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php" + "uri": "./_cases/classProperty1.php" }, "containerName": "TestNamespace" }, @@ -51,7 +51,7 @@ "name": "testProperty", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php" + "uri": "./_cases/classProperty1.php" }, "containerName": "TestNamespace\\TestClass" }, @@ -68,7 +68,7 @@ "name": "testMethod", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php" + "uri": "./_cases/classProperty1.php" }, "containerName": "TestNamespace\\TestClass" }, diff --git a/validation/frameworks/_cases/constants.php.expected.json b/validation/frameworks/_cases/constants.php.expected.json index 9106488..0c95336 100644 --- a/validation/frameworks/_cases/constants.php.expected.json +++ b/validation/frameworks/_cases/constants.php.expected.json @@ -1,10 +1,10 @@ { "references": { "MyNamespace\\BYE": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants.php" + "./_cases/constants.php" ], "BYE": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants.php" + "./_cases/constants.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants.php" + "uri": "./_cases/constants.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants.php" + "uri": "./_cases/constants.php" }, "containerName": "MyNamespace" }, @@ -51,7 +51,7 @@ "name": "suite", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants.php" + "uri": "./_cases/constants.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/constants2.php.expected.json b/validation/frameworks/_cases/constants2.php.expected.json index 476a21c..ee44131 100644 --- a/validation/frameworks/_cases/constants2.php.expected.json +++ b/validation/frameworks/_cases/constants2.php.expected.json @@ -1,10 +1,10 @@ { "references": { "MyNamespace\\BYE": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants2.php" + "./_cases/constants2.php" ], "BYE": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants2.php" + "./_cases/constants2.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants2.php" + "uri": "./_cases/constants2.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants2.php" + "uri": "./_cases/constants2.php" }, "containerName": "MyNamespace" }, @@ -51,7 +51,7 @@ "name": "suite", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants2.php" + "uri": "./_cases/constants2.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/constants3.php.expected.json b/validation/frameworks/_cases/constants3.php.expected.json index 1f647e7..35b13da 100644 --- a/validation/frameworks/_cases/constants3.php.expected.json +++ b/validation/frameworks/_cases/constants3.php.expected.json @@ -1,10 +1,10 @@ { "references": { "MyNamespace\\T_NEW": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants3.php" + "./_cases/constants3.php" ], "T_NEW": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants3.php" + "./_cases/constants3.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants3.php" + "uri": "./_cases/constants3.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants3.php" + "uri": "./_cases/constants3.php" }, "containerName": "MyNamespace" }, @@ -51,7 +51,7 @@ "name": "suite", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants3.php" + "uri": "./_cases/constants3.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/constants4.php.expected.json b/validation/frameworks/_cases/constants4.php.expected.json index cb39ca1..8f0752a 100644 --- a/validation/frameworks/_cases/constants4.php.expected.json +++ b/validation/frameworks/_cases/constants4.php.expected.json @@ -1,10 +1,10 @@ { "references": { "MyNamespace\\HI": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants4.php" + "./_cases/constants4.php" ], "HI": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants4.php" + "./_cases/constants4.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants4.php" + "uri": "./_cases/constants4.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants4.php" + "uri": "./_cases/constants4.php" }, "containerName": "MyNamespace" }, @@ -51,7 +51,7 @@ "name": "suite", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants4.php" + "uri": "./_cases/constants4.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/constants5.php.expected.json b/validation/frameworks/_cases/constants5.php.expected.json index 4eba3ad..0a3b68c 100644 --- a/validation/frameworks/_cases/constants5.php.expected.json +++ b/validation/frameworks/_cases/constants5.php.expected.json @@ -1,7 +1,7 @@ { "references": { "MyNamespace\\PHP_INT_MAX": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants5.php" + "./_cases/constants5.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants5.php" + "uri": "./_cases/constants5.php" }, "containerName": "" }, @@ -31,7 +31,7 @@ "name": "Mbstring", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants5.php" + "uri": "./_cases/constants5.php" }, "containerName": "MyNamespace" }, @@ -48,7 +48,7 @@ "name": "MB_CASE_FOLD", "kind": 14, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants5.php" + "uri": "./_cases/constants5.php" }, "containerName": "MyNamespace\\Mbstring" }, diff --git a/validation/frameworks/_cases/constantsInFunctionParamDefault.php.expected.json b/validation/frameworks/_cases/constantsInFunctionParamDefault.php.expected.json index 6bbd112..8ba8a2f 100644 --- a/validation/frameworks/_cases/constantsInFunctionParamDefault.php.expected.json +++ b/validation/frameworks/_cases/constantsInFunctionParamDefault.php.expected.json @@ -1,7 +1,7 @@ { "references": { "MY_CONSTANT": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constantsInFunctionParamDefault.php" + "./_cases/constantsInFunctionParamDefault.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "A", "kind": 11, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constantsInFunctionParamDefault.php" + "uri": "./_cases/constantsInFunctionParamDefault.php" }, "containerName": "" }, @@ -31,7 +31,7 @@ "name": "b", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constantsInFunctionParamDefault.php" + "uri": "./_cases/constantsInFunctionParamDefault.php" }, "containerName": "A" }, diff --git a/validation/frameworks/_cases/docBlocksOnNamespaceDefinition.php.expected.json b/validation/frameworks/_cases/docBlocksOnNamespaceDefinition.php.expected.json index 8db10d3..50afd5e 100644 --- a/validation/frameworks/_cases/docBlocksOnNamespaceDefinition.php.expected.json +++ b/validation/frameworks/_cases/docBlocksOnNamespaceDefinition.php.expected.json @@ -10,7 +10,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/docBlocksOnNamespaceDefinition.php" + "uri": "./_cases/docBlocksOnNamespaceDefinition.php" }, "containerName": "" }, diff --git a/validation/frameworks/_cases/exceptions1.php.expected.json b/validation/frameworks/_cases/exceptions1.php.expected.json index 783cb22..debebd2 100644 --- a/validation/frameworks/_cases/exceptions1.php.expected.json +++ b/validation/frameworks/_cases/exceptions1.php.expected.json @@ -10,7 +10,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/exceptions1.php" + "uri": "./_cases/exceptions1.php" }, "containerName": "" }, diff --git a/validation/frameworks/_cases/functionUse.php.expected.json b/validation/frameworks/_cases/functionUse.php.expected.json index 4d32138..5ecb0b8 100644 --- a/validation/frameworks/_cases/functionUse.php.expected.json +++ b/validation/frameworks/_cases/functionUse.php.expected.json @@ -1,10 +1,10 @@ { "references": { "A": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/functionUse.php" + "./_cases/functionUse.php" ], "A->b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/functionUse.php" + "./_cases/functionUse.php" ] }, "definitions": [] diff --git a/validation/frameworks/_cases/functionUse2.php.expected.json b/validation/frameworks/_cases/functionUse2.php.expected.json index 127b34d..b58c001 100644 --- a/validation/frameworks/_cases/functionUse2.php.expected.json +++ b/validation/frameworks/_cases/functionUse2.php.expected.json @@ -1,10 +1,10 @@ { "references": { "LanguageServer": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/functionUse2.php" + "./_cases/functionUse2.php" ], "LanguageServer\\timeout()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/functionUse2.php" + "./_cases/functionUse2.php" ] }, "definitions": [] diff --git a/validation/frameworks/_cases/ifStatement1.php.expected.json b/validation/frameworks/_cases/ifStatement1.php.expected.json index 20ded82..26d91dc 100644 --- a/validation/frameworks/_cases/ifStatement1.php.expected.json +++ b/validation/frameworks/_cases/ifStatement1.php.expected.json @@ -1,10 +1,10 @@ { "references": { "MyNamespace\\A": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/ifStatement1.php" + "./_cases/ifStatement1.php" ], "A": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/ifStatement1.php" + "./_cases/ifStatement1.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/ifStatement1.php" + "uri": "./_cases/ifStatement1.php" }, "containerName": "" }, diff --git a/validation/frameworks/_cases/interfaceProperty.php.expected.json b/validation/frameworks/_cases/interfaceProperty.php.expected.json index 4503263..a4787ce 100644 --- a/validation/frameworks/_cases/interfaceProperty.php.expected.json +++ b/validation/frameworks/_cases/interfaceProperty.php.expected.json @@ -10,7 +10,7 @@ "name": "A", "kind": 11, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/interfaceProperty.php" + "uri": "./_cases/interfaceProperty.php" }, "containerName": "" }, diff --git a/validation/frameworks/_cases/magicConstantsShouldBeGlobal.php.expected.json b/validation/frameworks/_cases/magicConstantsShouldBeGlobal.php.expected.json index 7b24747..9e5002b 100644 --- a/validation/frameworks/_cases/magicConstantsShouldBeGlobal.php.expected.json +++ b/validation/frameworks/_cases/magicConstantsShouldBeGlobal.php.expected.json @@ -10,7 +10,7 @@ "name": "B", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/magicConstantsShouldBeGlobal.php" + "uri": "./_cases/magicConstantsShouldBeGlobal.php" }, "containerName": "" }, diff --git a/validation/frameworks/_cases/magicConsts.php.expected.json b/validation/frameworks/_cases/magicConsts.php.expected.json index 2565a90..ce249ba 100644 --- a/validation/frameworks/_cases/magicConsts.php.expected.json +++ b/validation/frameworks/_cases/magicConsts.php.expected.json @@ -10,7 +10,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/magicConsts.php" + "uri": "./_cases/magicConsts.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "deprecationsTriggered", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/magicConsts.php" + "uri": "./_cases/magicConsts.php" }, "containerName": "A" }, diff --git a/validation/frameworks/_cases/memberAccess1.php.expected.json b/validation/frameworks/_cases/memberAccess1.php.expected.json index 2ecd9fb..3e4d354 100644 --- a/validation/frameworks/_cases/memberAccess1.php.expected.json +++ b/validation/frameworks/_cases/memberAccess1.php.expected.json @@ -1,10 +1,10 @@ { "references": { "MyNamespace\\a": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess1.php" + "./_cases/memberAccess1.php" ], "MyNamespace\\a->a()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess1.php" + "./_cases/memberAccess1.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess1.php" + "uri": "./_cases/memberAccess1.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess1.php" + "uri": "./_cases/memberAccess1.php" }, "containerName": "MyNamespace" }, @@ -51,7 +51,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess1.php" + "uri": "./_cases/memberAccess1.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/memberAccess2.php.expected.json b/validation/frameworks/_cases/memberAccess2.php.expected.json index bc5f135..69a1e6a 100644 --- a/validation/frameworks/_cases/memberAccess2.php.expected.json +++ b/validation/frameworks/_cases/memberAccess2.php.expected.json @@ -1,10 +1,10 @@ { "references": { "MyNamespace\\a": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess2.php" + "./_cases/memberAccess2.php" ], "MyNamespace\\a->a()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess2.php" + "./_cases/memberAccess2.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess2.php" + "uri": "./_cases/memberAccess2.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess2.php" + "uri": "./_cases/memberAccess2.php" }, "containerName": "MyNamespace" }, @@ -51,7 +51,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess2.php" + "uri": "./_cases/memberAccess2.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/memberAccess3.php.expected.json b/validation/frameworks/_cases/memberAccess3.php.expected.json index 6af6223..6486a9c 100644 --- a/validation/frameworks/_cases/memberAccess3.php.expected.json +++ b/validation/frameworks/_cases/memberAccess3.php.expected.json @@ -1,25 +1,25 @@ { "references": { "MyNamespace\\ClassLoader": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php" + "./_cases/memberAccess3.php" ], "Closure::bind()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php" + "./_cases/memberAccess3.php" ], "Closure": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php" + "./_cases/memberAccess3.php" ], "MyNamespace\\ClassLoader->prefixesPsr0": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php" + "./_cases/memberAccess3.php" ], "MyNamespace\\ComposerStaticInitIncludePath": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php" + "./_cases/memberAccess3.php" ], "MyNamespace\\ComposerStaticInitIncludePath::$prefixesPsr0": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php" + "./_cases/memberAccess3.php" ], "MyNamespace\\ClassLoader::class": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php" + "./_cases/memberAccess3.php" ] }, "definitions": { @@ -32,7 +32,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php" + "uri": "./_cases/memberAccess3.php" }, "containerName": "" }, @@ -49,7 +49,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php" + "uri": "./_cases/memberAccess3.php" }, "containerName": "MyNamespace" }, @@ -66,7 +66,7 @@ "name": "getInitializer", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php" + "uri": "./_cases/memberAccess3.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/memberAccess4.php.expected.json b/validation/frameworks/_cases/memberAccess4.php.expected.json index 31b7d6b..78887b3 100644 --- a/validation/frameworks/_cases/memberAccess4.php.expected.json +++ b/validation/frameworks/_cases/memberAccess4.php.expected.json @@ -1,16 +1,16 @@ { "references": { "MyNamespace\\Request::create()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php" + "./_cases/memberAccess4.php" ], "MyNamespace\\Request": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php" + "./_cases/memberAccess4.php" ], "MyNamespace\\Url->toString()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php" + "./_cases/memberAccess4.php" ], "MyNamespace\\Url": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php" + "./_cases/memberAccess4.php" ] }, "definitions": { @@ -23,7 +23,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php" + "uri": "./_cases/memberAccess4.php" }, "containerName": "" }, @@ -40,7 +40,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php" + "uri": "./_cases/memberAccess4.php" }, "containerName": "MyNamespace" }, @@ -57,7 +57,7 @@ "name": "testRequest", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php" + "uri": "./_cases/memberAccess4.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/memberAccess5.php.expected.json b/validation/frameworks/_cases/memberAccess5.php.expected.json index f58a6fc..40ee923 100644 --- a/validation/frameworks/_cases/memberAccess5.php.expected.json +++ b/validation/frameworks/_cases/memberAccess5.php.expected.json @@ -10,7 +10,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess5.php" + "uri": "./_cases/memberAccess5.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "ParseErrorsTest", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess5.php" + "uri": "./_cases/memberAccess5.php" }, "containerName": "MyNamespace" }, @@ -44,7 +44,7 @@ "name": "setUp", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess5.php" + "uri": "./_cases/memberAccess5.php" }, "containerName": "MyNamespace\\ParseErrorsTest" }, diff --git a/validation/frameworks/_cases/memberCall1.php.expected.json b/validation/frameworks/_cases/memberCall1.php.expected.json index 6ce04a7..fd91dc4 100644 --- a/validation/frameworks/_cases/memberCall1.php.expected.json +++ b/validation/frameworks/_cases/memberCall1.php.expected.json @@ -1,13 +1,13 @@ { "references": { "MyNamespace\\AccountInterface": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php" + "./_cases/memberCall1.php" ], "MyNamespace\\A": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php" + "./_cases/memberCall1.php" ], "MyNamespace\\AccountInterface->getAccount()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php" + "./_cases/memberCall1.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php" + "uri": "./_cases/memberCall1.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "ParseErrorsTest", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php" + "uri": "./_cases/memberCall1.php" }, "containerName": "MyNamespace" }, @@ -54,7 +54,7 @@ "name": "setAccount", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php" + "uri": "./_cases/memberCall1.php" }, "containerName": "MyNamespace\\ParseErrorsTest" }, diff --git a/validation/frameworks/_cases/multipleNamespaces.php.expected.json b/validation/frameworks/_cases/multipleNamespaces.php.expected.json index 9cecc76..fdfee7d 100644 --- a/validation/frameworks/_cases/multipleNamespaces.php.expected.json +++ b/validation/frameworks/_cases/multipleNamespaces.php.expected.json @@ -1,16 +1,16 @@ { "references": { "MyNamespace2\\MyNamespace1\\B": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php" + "./_cases/multipleNamespaces.php" ], "MyNamespace2\\MyNamespace1": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php" + "./_cases/multipleNamespaces.php" ], "MyNamespace2": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php" + "./_cases/multipleNamespaces.php" ], "MyNamespace2\\A->b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php" + "./_cases/multipleNamespaces.php" ] }, "definitions": { @@ -23,7 +23,7 @@ "name": "MyNamespace1", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php" + "uri": "./_cases/multipleNamespaces.php" }, "containerName": "" }, @@ -40,7 +40,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php" + "uri": "./_cases/multipleNamespaces.php" }, "containerName": "MyNamespace1" }, @@ -57,7 +57,7 @@ "name": "b", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php" + "uri": "./_cases/multipleNamespaces.php" }, "containerName": "MyNamespace1\\B" }, @@ -74,7 +74,7 @@ "name": "MyNamespace2", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php" + "uri": "./_cases/multipleNamespaces.php" }, "containerName": "" }, @@ -93,7 +93,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php" + "uri": "./_cases/multipleNamespaces.php" }, "containerName": "MyNamespace2" }, @@ -110,7 +110,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php" + "uri": "./_cases/multipleNamespaces.php" }, "containerName": "MyNamespace2\\A" }, diff --git a/validation/frameworks/_cases/multiplePreceedingComments.php.expected.json b/validation/frameworks/_cases/multiplePreceedingComments.php.expected.json index 05fb01f..81331ed 100644 --- a/validation/frameworks/_cases/multiplePreceedingComments.php.expected.json +++ b/validation/frameworks/_cases/multiplePreceedingComments.php.expected.json @@ -10,7 +10,7 @@ "name": "Foo", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multiplePreceedingComments.php" + "uri": "./_cases/multiplePreceedingComments.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "fn", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multiplePreceedingComments.php" + "uri": "./_cases/multiplePreceedingComments.php" }, "containerName": "Foo" }, diff --git a/validation/frameworks/_cases/nameToken.php.expected.json b/validation/frameworks/_cases/nameToken.php.expected.json index 404ad7e..256da00 100644 --- a/validation/frameworks/_cases/nameToken.php.expected.json +++ b/validation/frameworks/_cases/nameToken.php.expected.json @@ -10,7 +10,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/nameToken.php" + "uri": "./_cases/nameToken.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "b", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/nameToken.php" + "uri": "./_cases/nameToken.php" }, "containerName": "A" }, diff --git a/validation/frameworks/_cases/namespaces2.php.expected.json b/validation/frameworks/_cases/namespaces2.php.expected.json index 0140af5..a57f872 100644 --- a/validation/frameworks/_cases/namespaces2.php.expected.json +++ b/validation/frameworks/_cases/namespaces2.php.expected.json @@ -1,16 +1,16 @@ { "references": { "NS1\\C": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces2.php" + "./_cases/namespaces2.php" ], "NS1": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces2.php" + "./_cases/namespaces2.php" ], "NS1\\I": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces2.php" + "./_cases/namespaces2.php" ], "NS1\\T": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces2.php" + "./_cases/namespaces2.php" ] }, "definitions": { @@ -23,7 +23,7 @@ "name": "MyNamespace1", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces2.php" + "uri": "./_cases/namespaces2.php" }, "containerName": "" }, diff --git a/validation/frameworks/_cases/namespaces4.php.expected.json b/validation/frameworks/_cases/namespaces4.php.expected.json index 374c22e..6d3d4ca 100644 --- a/validation/frameworks/_cases/namespaces4.php.expected.json +++ b/validation/frameworks/_cases/namespaces4.php.expected.json @@ -1,10 +1,10 @@ { "references": { "a\\b": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces4.php" + "./_cases/namespaces4.php" ], "a": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces4.php" + "./_cases/namespaces4.php" ] }, "definitions": [] diff --git a/validation/frameworks/_cases/namespaces5.php.expected.json b/validation/frameworks/_cases/namespaces5.php.expected.json index 346b528..4a9b18d 100644 --- a/validation/frameworks/_cases/namespaces5.php.expected.json +++ b/validation/frameworks/_cases/namespaces5.php.expected.json @@ -1,25 +1,25 @@ { "references": { "LanguageServer\\Protocol": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php" + "./_cases/namespaces5.php" ], "LanguageServer": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php" + "./_cases/namespaces5.php" ], "LanguageServer\\Protocol\\TextDocumentIdentifier": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php" + "./_cases/namespaces5.php" ], "LanguageServer\\Protocol\\Position": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php" + "./_cases/namespaces5.php" ], "LanguageServer\\Protocol\\ReferenceContext": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php" + "./_cases/namespaces5.php" ], "LanguageServer\\Protocol\\Location": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php" + "./_cases/namespaces5.php" ], "LanguageServer\\Protocol\\Range": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php" + "./_cases/namespaces5.php" ] }, "definitions": { @@ -32,7 +32,7 @@ "name": "B", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php" + "uri": "./_cases/namespaces5.php" }, "containerName": "" }, diff --git a/validation/frameworks/_cases/namespaces6.php.expected.json b/validation/frameworks/_cases/namespaces6.php.expected.json index 25e100c..4c3e285 100644 --- a/validation/frameworks/_cases/namespaces6.php.expected.json +++ b/validation/frameworks/_cases/namespaces6.php.expected.json @@ -10,7 +10,7 @@ "name": "A\\B", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces6.php" + "uri": "./_cases/namespaces6.php" }, "containerName": "A" }, diff --git a/validation/frameworks/_cases/namespaces8.php.expected.json b/validation/frameworks/_cases/namespaces8.php.expected.json index bccea58..02e5a6e 100644 --- a/validation/frameworks/_cases/namespaces8.php.expected.json +++ b/validation/frameworks/_cases/namespaces8.php.expected.json @@ -1,7 +1,7 @@ { "references": { "LanguageServer": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces8.php" + "./_cases/namespaces8.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "LanguageServer\\Tests\\Utils", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces8.php" + "uri": "./_cases/namespaces8.php" }, "containerName": "LanguageServer\\Tests" }, diff --git a/validation/frameworks/_cases/objectCreation.php.expected.json b/validation/frameworks/_cases/objectCreation.php.expected.json index b941c2e..db211bf 100644 --- a/validation/frameworks/_cases/objectCreation.php.expected.json +++ b/validation/frameworks/_cases/objectCreation.php.expected.json @@ -1,7 +1,7 @@ { "references": { "MyNamespace\\A->inline_diff_renderer": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation.php" + "./_cases/objectCreation.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation.php" + "uri": "./_cases/objectCreation.php" }, "containerName": "" }, @@ -31,7 +31,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation.php" + "uri": "./_cases/objectCreation.php" }, "containerName": "MyNamespace" }, @@ -48,7 +48,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation.php" + "uri": "./_cases/objectCreation.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/objectCreation2.php.expected.json b/validation/frameworks/_cases/objectCreation2.php.expected.json index 6f187e1..f18ab10 100644 --- a/validation/frameworks/_cases/objectCreation2.php.expected.json +++ b/validation/frameworks/_cases/objectCreation2.php.expected.json @@ -1,10 +1,10 @@ { "references": { "MyNamespace\\B->hi()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php" + "./_cases/objectCreation2.php" ], "MyNamespace\\B": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php" + "./_cases/objectCreation2.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php" + "uri": "./_cases/objectCreation2.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php" + "uri": "./_cases/objectCreation2.php" }, "containerName": "MyNamespace" }, @@ -51,7 +51,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php" + "uri": "./_cases/objectCreation2.php" }, "containerName": "MyNamespace" }, @@ -68,7 +68,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php" + "uri": "./_cases/objectCreation2.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/objectCreation3.php.expected.json b/validation/frameworks/_cases/objectCreation3.php.expected.json index 662e8aa..198ef87 100644 --- a/validation/frameworks/_cases/objectCreation3.php.expected.json +++ b/validation/frameworks/_cases/objectCreation3.php.expected.json @@ -1,7 +1,7 @@ { "references": { "A->args": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation3.php" + "./_cases/objectCreation3.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation3.php" + "uri": "./_cases/objectCreation3.php" }, "containerName": "" }, @@ -31,7 +31,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation3.php" + "uri": "./_cases/objectCreation3.php" }, "containerName": "A" }, diff --git a/validation/frameworks/_cases/param1.php.expected.json b/validation/frameworks/_cases/param1.php.expected.json index a976b70..9cf8a0b 100644 --- a/validation/frameworks/_cases/param1.php.expected.json +++ b/validation/frameworks/_cases/param1.php.expected.json @@ -1,7 +1,7 @@ { "references": { "MyNamespace\\Hi": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/param1.php" + "./_cases/param1.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/param1.php" + "uri": "./_cases/param1.php" }, "containerName": "" }, @@ -31,7 +31,7 @@ "name": "init", "kind": 12, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/param1.php" + "uri": "./_cases/param1.php" }, "containerName": "MyNamespace" }, diff --git a/validation/frameworks/_cases/parent1.php.expected.json b/validation/frameworks/_cases/parent1.php.expected.json index 64400b1..1ca0490 100644 --- a/validation/frameworks/_cases/parent1.php.expected.json +++ b/validation/frameworks/_cases/parent1.php.expected.json @@ -1,10 +1,10 @@ { "references": { "MyNamespace\\B": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php" + "./_cases/parent1.php" ], "parent": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php" + "./_cases/parent1.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php" + "uri": "./_cases/parent1.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php" + "uri": "./_cases/parent1.php" }, "containerName": "MyNamespace" }, @@ -51,7 +51,7 @@ "name": "b", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php" + "uri": "./_cases/parent1.php" }, "containerName": "MyNamespace\\B" }, @@ -70,7 +70,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php" + "uri": "./_cases/parent1.php" }, "containerName": "MyNamespace" }, @@ -87,7 +87,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php" + "uri": "./_cases/parent1.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/parent3.php.expected.json b/validation/frameworks/_cases/parent3.php.expected.json index f844c06..63dab42 100644 --- a/validation/frameworks/_cases/parent3.php.expected.json +++ b/validation/frameworks/_cases/parent3.php.expected.json @@ -1,13 +1,13 @@ { "references": { "MyNamespace\\B": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php" + "./_cases/parent3.php" ], "MyNamespace\\B->b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php" + "./_cases/parent3.php" ], "parent": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php" + "./_cases/parent3.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php" + "uri": "./_cases/parent3.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php" + "uri": "./_cases/parent3.php" }, "containerName": "MyNamespace" }, @@ -54,7 +54,7 @@ "name": "b", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php" + "uri": "./_cases/parent3.php" }, "containerName": "MyNamespace\\B" }, @@ -73,7 +73,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php" + "uri": "./_cases/parent3.php" }, "containerName": "MyNamespace" }, @@ -90,7 +90,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php" + "uri": "./_cases/parent3.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/propertyName1.php.expected.json b/validation/frameworks/_cases/propertyName1.php.expected.json index 1f46f13..d858143 100644 --- a/validation/frameworks/_cases/propertyName1.php.expected.json +++ b/validation/frameworks/_cases/propertyName1.php.expected.json @@ -10,7 +10,7 @@ "name": "MyClass", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/propertyName1.php" + "uri": "./_cases/propertyName1.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "mainPropertyName", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/propertyName1.php" + "uri": "./_cases/propertyName1.php" }, "containerName": "MyClass" }, diff --git a/validation/frameworks/_cases/propertyName2.php.expected.json b/validation/frameworks/_cases/propertyName2.php.expected.json index ab81b73..916b014 100644 --- a/validation/frameworks/_cases/propertyName2.php.expected.json +++ b/validation/frameworks/_cases/propertyName2.php.expected.json @@ -10,7 +10,7 @@ "name": "MyClass", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/propertyName2.php" + "uri": "./_cases/propertyName2.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "mainPropertyName", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/propertyName2.php" + "uri": "./_cases/propertyName2.php" }, "containerName": "MyClass" }, diff --git a/validation/frameworks/_cases/returnType.php.expected.json b/validation/frameworks/_cases/returnType.php.expected.json index 479b915..a8be809 100644 --- a/validation/frameworks/_cases/returnType.php.expected.json +++ b/validation/frameworks/_cases/returnType.php.expected.json @@ -1,10 +1,10 @@ { "references": { "TestNamespace\\TestClass": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/returnType.php" + "./_cases/returnType.php" ], "TestNamespace\\TestClass2": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/returnType.php" + "./_cases/returnType.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "TestNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/returnType.php" + "uri": "./_cases/returnType.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "whatever", "kind": 12, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/returnType.php" + "uri": "./_cases/returnType.php" }, "containerName": "TestNamespace" }, diff --git a/validation/frameworks/_cases/scopedPropertyAccess.php.expected.json b/validation/frameworks/_cases/scopedPropertyAccess.php.expected.json index 6a4770c..0212fdf 100644 --- a/validation/frameworks/_cases/scopedPropertyAccess.php.expected.json +++ b/validation/frameworks/_cases/scopedPropertyAccess.php.expected.json @@ -1,10 +1,10 @@ { "references": { "MyNamespace\\A::a()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess.php" + "./_cases/scopedPropertyAccess.php" ], "MyNamespace\\A": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess.php" + "./_cases/scopedPropertyAccess.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess.php" + "uri": "./_cases/scopedPropertyAccess.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess.php" + "uri": "./_cases/scopedPropertyAccess.php" }, "containerName": "MyNamespace" }, @@ -51,7 +51,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess.php" + "uri": "./_cases/scopedPropertyAccess.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/scopedPropertyAccess2.php.expected.json b/validation/frameworks/_cases/scopedPropertyAccess2.php.expected.json index 5e2faa2..375b992 100644 --- a/validation/frameworks/_cases/scopedPropertyAccess2.php.expected.json +++ b/validation/frameworks/_cases/scopedPropertyAccess2.php.expected.json @@ -1,7 +1,7 @@ { "references": { "MyNamespace\\A": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess2.php" + "./_cases/scopedPropertyAccess2.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess2.php" + "uri": "./_cases/scopedPropertyAccess2.php" }, "containerName": "" }, diff --git a/validation/frameworks/_cases/scopedPropertyAccess3.php.expected.json b/validation/frameworks/_cases/scopedPropertyAccess3.php.expected.json index 169587b..be2c0c3 100644 --- a/validation/frameworks/_cases/scopedPropertyAccess3.php.expected.json +++ b/validation/frameworks/_cases/scopedPropertyAccess3.php.expected.json @@ -1,10 +1,10 @@ { "references": { "A": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess3.php" + "./_cases/scopedPropertyAccess3.php" ], "A::$a": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess3.php" + "./_cases/scopedPropertyAccess3.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess3.php" + "uri": "./_cases/scopedPropertyAccess3.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "a", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess3.php" + "uri": "./_cases/scopedPropertyAccess3.php" }, "containerName": "A" }, diff --git a/validation/frameworks/_cases/scopedPropertyAccess4.php.expected.json b/validation/frameworks/_cases/scopedPropertyAccess4.php.expected.json index e8cb3e4..bcf1489 100644 --- a/validation/frameworks/_cases/scopedPropertyAccess4.php.expected.json +++ b/validation/frameworks/_cases/scopedPropertyAccess4.php.expected.json @@ -1,7 +1,7 @@ { "references": { "A": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess4.php" + "./_cases/scopedPropertyAccess4.php" ] }, "definitions": [] diff --git a/validation/frameworks/_cases/scopedPropertyAccess5.php.expected.json b/validation/frameworks/_cases/scopedPropertyAccess5.php.expected.json index 0f72e44..79e7374 100644 --- a/validation/frameworks/_cases/scopedPropertyAccess5.php.expected.json +++ b/validation/frameworks/_cases/scopedPropertyAccess5.php.expected.json @@ -1,16 +1,16 @@ { "references": { "TestInterface": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess5.php" + "./_cases/scopedPropertyAccess5.php" ], "TestClass": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess5.php" + "./_cases/scopedPropertyAccess5.php" ], "TestClass::$testProperty": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess5.php" + "./_cases/scopedPropertyAccess5.php" ], "TestClass::$staticTestProperty": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess5.php" + "./_cases/scopedPropertyAccess5.php" ] }, "definitions": { @@ -23,7 +23,7 @@ "name": "TestClass", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess5.php" + "uri": "./_cases/scopedPropertyAccess5.php" }, "containerName": "" }, @@ -40,7 +40,7 @@ "name": "testProperty", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess5.php" + "uri": "./_cases/scopedPropertyAccess5.php" }, "containerName": "TestClass" }, diff --git a/validation/frameworks/_cases/self1.php.expected.json b/validation/frameworks/_cases/self1.php.expected.json index 571d579..a6a0a49 100644 --- a/validation/frameworks/_cases/self1.php.expected.json +++ b/validation/frameworks/_cases/self1.php.expected.json @@ -1,13 +1,13 @@ { "references": { "MyNamespace\\B": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" + "./_cases/self1.php" ], "MyNamespace\\A::b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" + "./_cases/self1.php" ], "self": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" + "./_cases/self1.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" + "uri": "./_cases/self1.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" + "uri": "./_cases/self1.php" }, "containerName": "MyNamespace" }, @@ -54,7 +54,7 @@ "name": "b", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" + "uri": "./_cases/self1.php" }, "containerName": "MyNamespace\\B" }, @@ -73,7 +73,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" + "uri": "./_cases/self1.php" }, "containerName": "MyNamespace" }, @@ -90,7 +90,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" + "uri": "./_cases/self1.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/self2.php.expected.json b/validation/frameworks/_cases/self2.php.expected.json index 3780e2f..4820363 100644 --- a/validation/frameworks/_cases/self2.php.expected.json +++ b/validation/frameworks/_cases/self2.php.expected.json @@ -1,13 +1,13 @@ { "references": { "MyNamespace\\B": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" + "./_cases/self2.php" ], "MyNamespace\\A::b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" + "./_cases/self2.php" ], "self": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" + "./_cases/self2.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" + "uri": "./_cases/self2.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" + "uri": "./_cases/self2.php" }, "containerName": "MyNamespace" }, @@ -54,7 +54,7 @@ "name": "b", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" + "uri": "./_cases/self2.php" }, "containerName": "MyNamespace\\B" }, @@ -73,7 +73,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" + "uri": "./_cases/self2.php" }, "containerName": "MyNamespace" }, @@ -90,7 +90,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" + "uri": "./_cases/self2.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/self3.php.expected.json b/validation/frameworks/_cases/self3.php.expected.json index 9942590..9a5f633 100644 --- a/validation/frameworks/_cases/self3.php.expected.json +++ b/validation/frameworks/_cases/self3.php.expected.json @@ -1,13 +1,13 @@ { "references": { "MyNamespace\\B": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" + "./_cases/self3.php" ], "MyNamespace\\A->b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" + "./_cases/self3.php" ], "self": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" + "./_cases/self3.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" + "uri": "./_cases/self3.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" + "uri": "./_cases/self3.php" }, "containerName": "MyNamespace" }, @@ -54,7 +54,7 @@ "name": "b", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" + "uri": "./_cases/self3.php" }, "containerName": "MyNamespace\\B" }, @@ -73,7 +73,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" + "uri": "./_cases/self3.php" }, "containerName": "MyNamespace" }, @@ -90,7 +90,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" + "uri": "./_cases/self3.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/self4.php.expected.json b/validation/frameworks/_cases/self4.php.expected.json index d99b344..b45c143 100644 --- a/validation/frameworks/_cases/self4.php.expected.json +++ b/validation/frameworks/_cases/self4.php.expected.json @@ -1,16 +1,16 @@ { "references": { "self": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" + "./_cases/self4.php" ], "MyNamespace\\A->addTestFile()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" + "./_cases/self4.php" ], "MyNamespace\\DS": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" + "./_cases/self4.php" ], "DS": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" + "./_cases/self4.php" ] }, "definitions": { @@ -23,7 +23,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" + "uri": "./_cases/self4.php" }, "containerName": "" }, @@ -40,7 +40,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" + "uri": "./_cases/self4.php" }, "containerName": "MyNamespace" }, @@ -57,7 +57,7 @@ "name": "suite", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" + "uri": "./_cases/self4.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/self5.php.expected.json b/validation/frameworks/_cases/self5.php.expected.json index bd151dc..a03daff 100644 --- a/validation/frameworks/_cases/self5.php.expected.json +++ b/validation/frameworks/_cases/self5.php.expected.json @@ -1,7 +1,7 @@ { "references": { "MyNamespace\\A->assertTrue()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self5.php" + "./_cases/self5.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self5.php" + "uri": "./_cases/self5.php" }, "containerName": "" }, @@ -31,7 +31,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self5.php" + "uri": "./_cases/self5.php" }, "containerName": "MyNamespace" }, @@ -48,7 +48,7 @@ "name": "typesProvider", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self5.php" + "uri": "./_cases/self5.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/static1.php.expected.json b/validation/frameworks/_cases/static1.php.expected.json index 8c30d6b..315a05e 100644 --- a/validation/frameworks/_cases/static1.php.expected.json +++ b/validation/frameworks/_cases/static1.php.expected.json @@ -1,13 +1,13 @@ { "references": { "MyNamespace\\B": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" + "./_cases/static1.php" ], "MyNamespace\\A::b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" + "./_cases/static1.php" ], "static": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" + "./_cases/static1.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" + "uri": "./_cases/static1.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" + "uri": "./_cases/static1.php" }, "containerName": "MyNamespace" }, @@ -54,7 +54,7 @@ "name": "b", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" + "uri": "./_cases/static1.php" }, "containerName": "MyNamespace\\B" }, @@ -73,7 +73,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" + "uri": "./_cases/static1.php" }, "containerName": "MyNamespace" }, @@ -90,7 +90,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" + "uri": "./_cases/static1.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/static2.php.expected.json b/validation/frameworks/_cases/static2.php.expected.json index e1e5ed5..9dd9249 100644 --- a/validation/frameworks/_cases/static2.php.expected.json +++ b/validation/frameworks/_cases/static2.php.expected.json @@ -1,13 +1,13 @@ { "references": { "MyNamespace\\B": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" + "./_cases/static2.php" ], "MyNamespace\\A::b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" + "./_cases/static2.php" ], "static": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" + "./_cases/static2.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" + "uri": "./_cases/static2.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" + "uri": "./_cases/static2.php" }, "containerName": "MyNamespace" }, @@ -54,7 +54,7 @@ "name": "b", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" + "uri": "./_cases/static2.php" }, "containerName": "MyNamespace\\B" }, @@ -73,7 +73,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" + "uri": "./_cases/static2.php" }, "containerName": "MyNamespace" }, @@ -90,7 +90,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" + "uri": "./_cases/static2.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/static3.php.expected.json b/validation/frameworks/_cases/static3.php.expected.json index 2ecdc99..88f1db8 100644 --- a/validation/frameworks/_cases/static3.php.expected.json +++ b/validation/frameworks/_cases/static3.php.expected.json @@ -1,13 +1,13 @@ { "references": { "MyNamespace\\B": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" + "./_cases/static3.php" ], "MyNamespace\\b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" + "./_cases/static3.php" ], "b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" + "./_cases/static3.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" + "uri": "./_cases/static3.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" + "uri": "./_cases/static3.php" }, "containerName": "MyNamespace" }, @@ -54,7 +54,7 @@ "name": "b", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" + "uri": "./_cases/static3.php" }, "containerName": "MyNamespace\\B" }, @@ -73,7 +73,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" + "uri": "./_cases/static3.php" }, "containerName": "MyNamespace" }, @@ -90,7 +90,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" + "uri": "./_cases/static3.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/static4.php.expected.json b/validation/frameworks/_cases/static4.php.expected.json index 186cbe5..6cca3db 100644 --- a/validation/frameworks/_cases/static4.php.expected.json +++ b/validation/frameworks/_cases/static4.php.expected.json @@ -1,10 +1,10 @@ { "references": { "MyNamespace\\B": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static4.php" + "./_cases/static4.php" ], "static": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static4.php" + "./_cases/static4.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static4.php" + "uri": "./_cases/static4.php" }, "containerName": "" }, @@ -36,7 +36,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static4.php" + "uri": "./_cases/static4.php" }, "containerName": "MyNamespace" }, @@ -53,7 +53,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static4.php" + "uri": "./_cases/static4.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/_cases/stringVariable.php.expected.json b/validation/frameworks/_cases/stringVariable.php.expected.json index 129ac63..c5b43bf 100644 --- a/validation/frameworks/_cases/stringVariable.php.expected.json +++ b/validation/frameworks/_cases/stringVariable.php.expected.json @@ -10,7 +10,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/stringVariable.php" + "uri": "./_cases/stringVariable.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "hi", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/stringVariable.php" + "uri": "./_cases/stringVariable.php" }, "containerName": "B" }, @@ -44,7 +44,7 @@ "name": "a", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/stringVariable.php" + "uri": "./_cases/stringVariable.php" }, "containerName": "B" }, diff --git a/validation/frameworks/_cases/testQualifiedNameOutsideOfNamespace.php.expected.json b/validation/frameworks/_cases/testQualifiedNameOutsideOfNamespace.php.expected.json index c5c303e..2a65fa6 100644 --- a/validation/frameworks/_cases/testQualifiedNameOutsideOfNamespace.php.expected.json +++ b/validation/frameworks/_cases/testQualifiedNameOutsideOfNamespace.php.expected.json @@ -1,7 +1,7 @@ { "references": { "NameOutsideOfNamespace": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/testQualifiedNameOutsideOfNamespace.php" + "./_cases/testQualifiedNameOutsideOfNamespace.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "SomeNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/testQualifiedNameOutsideOfNamespace.php" + "uri": "./_cases/testQualifiedNameOutsideOfNamespace.php" }, "containerName": "" }, diff --git a/validation/frameworks/_cases/verifyFqsenOnClassProperty.php.expected.json b/validation/frameworks/_cases/verifyFqsenOnClassProperty.php.expected.json index 338a193..af4062b 100644 --- a/validation/frameworks/_cases/verifyFqsenOnClassProperty.php.expected.json +++ b/validation/frameworks/_cases/verifyFqsenOnClassProperty.php.expected.json @@ -1,10 +1,10 @@ { "references": { "CURLAUTH_BASIC": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/verifyFqsenOnClassProperty.php" + "./_cases/verifyFqsenOnClassProperty.php" ], "Foo->bar": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/verifyFqsenOnClassProperty.php" + "./_cases/verifyFqsenOnClassProperty.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "Foo", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/verifyFqsenOnClassProperty.php" + "uri": "./_cases/verifyFqsenOnClassProperty.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "bar", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/verifyFqsenOnClassProperty.php" + "uri": "./_cases/verifyFqsenOnClassProperty.php" }, "containerName": "Foo" }, @@ -51,7 +51,7 @@ "name": "foo", "kind": 6, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/verifyFqsenOnClassProperty.php" + "uri": "./_cases/verifyFqsenOnClassProperty.php" }, "containerName": "Foo" },