From dc673373df84a875000b2070837525cc0ff19596 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Mon, 1 May 2017 22:22:22 -0700 Subject: [PATCH] Rewrite .expected file on test failure and rename "broken" -> "_cases" --- tests/Validation/ValidationTest.php | 30 ++++++---- .../WithReturnTypehints.php | 0 .../WithReturnTypehints.php.expected.json | 16 +++--- ...nonymousClassMembersShouldNotBeSymbols.php | 0 ...embersShouldNotBeSymbols.php.expected.json | 2 +- .../arrayValueShouldBeBoolean.php | 0 ...rrayValueShouldBeBoolean.php.expected.json | 4 +- .../{broken => _cases}/caseStatement1.php | 0 .../caseStatement1.php.expected.json | 6 +- .../{broken => _cases}/classDefinition1.php | 0 .../classDefinition1.php.expected.json | 10 ++-- .../{broken => _cases}/classProperty1.php | 0 .../classProperty1.php.expected.json | 12 ++-- .../{broken => _cases}/constants.php | 0 .../constants.php.expected.json | 10 ++-- .../{broken => _cases}/constants2.php | 0 .../constants2.php.expected.json | 10 ++-- .../{broken => _cases}/constants3.php | 0 .../constants3.php.expected.json | 10 ++-- .../{broken => _cases}/constants4.php | 0 .../constants4.php.expected.json | 10 ++-- .../{broken => _cases}/constants5.php | 0 .../constants5.php.expected.json | 8 +-- .../constantsInFunctionParamDefault.php | 0 ...tsInFunctionParamDefault.php.expected.json | 6 +- .../docBlocksOnNamespaceDefinition.php | 0 ...cksOnNamespaceDefinition.php.expected.json | 2 +- .../{broken => _cases}/exceptions1.php | 0 .../exceptions1.php.expected.json | 2 +- .../{broken => _cases}/forLoopReference1.php | 0 .../forLoopReference1.php.expected.json | 0 .../{broken => _cases}/functionUse.php | 0 .../functionUse.php.expected.json | 4 +- .../{broken => _cases}/functionUse2.php | 0 .../functionUse2.php.expected.json | 4 +- .../{broken => _cases}/ifStatement1.php | 0 .../ifStatement1.php.expected.json | 6 +- .../frameworks/_cases/interfaceProperty.php | 5 ++ .../interfaceProperty.php.expected.json | 22 ++++++++ .../magicConstantsShouldBeGlobal.php | 0 ...cConstantsShouldBeGlobal.php.expected.json | 2 +- .../{broken => _cases}/magicConsts.php | 0 .../magicConsts.php.expected.json | 4 +- .../{broken => _cases}/memberAccess1.php | 0 .../memberAccess1.php.expected.json | 10 ++-- .../{broken => _cases}/memberAccess2.php | 0 .../memberAccess2.php.expected.json | 10 ++-- .../{broken => _cases}/memberAccess3.php | 0 .../memberAccess3.php.expected.json | 20 +++---- .../{broken => _cases}/memberAccess4.php | 0 .../memberAccess4.php.expected.json | 14 ++--- .../{broken => _cases}/memberAccess5.php | 0 .../memberAccess5.php.expected.json | 6 +- .../{broken => _cases}/memberCall1.php | 0 .../memberCall1.php.expected.json | 12 ++-- .../{broken => _cases}/multipleNamespaces.php | 0 .../multipleNamespaces.php.expected.json | 20 +++---- .../multiplePreceedingComments.php | 0 ...ltiplePreceedingComments.php.expected.json | 4 +- .../{broken => _cases}/nameToken.php | 0 .../nameToken.php.expected.json | 4 +- .../{broken => _cases}/namespaces2.php | 0 .../namespaces2.php.expected.json | 10 ++-- .../{broken => _cases}/namespaces3.php | 0 .../namespaces3.php.expected.json | 0 .../{broken => _cases}/namespaces4.php | 0 .../namespaces4.php.expected.json | 4 +- .../{broken => _cases}/namespaces5.php | 0 .../namespaces5.php.expected.json | 16 +++--- .../{broken => _cases}/namespaces6.php | 0 .../namespaces6.php.expected.json | 2 +- .../{broken => _cases}/namespaces7.php | 0 .../namespaces7.php.expected.json | 0 .../{broken => _cases}/namespaces8.php | 0 .../namespaces8.php.expected.json | 4 +- .../{broken => _cases}/namespaces9.php | 0 .../namespaces9.php.expected.json | 0 validation/frameworks/_cases/newStatic.php | 12 ++++ .../_cases/newStatic.php.expected.json | 56 +++++++++++++++++++ .../{broken => _cases}/objectCreation.php | 0 .../objectCreation.php.expected.json | 8 +-- .../{broken => _cases}/objectCreation2.php | 0 .../objectCreation2.php.expected.json | 12 ++-- .../{broken => _cases}/objectCreation3.php | 0 .../objectCreation3.php.expected.json | 6 +- .../frameworks/{broken => _cases}/param1.php | 0 .../param1.php.expected.json | 6 +- .../parameterTypeResolution1.php | 0 ...parameterTypeResolution1.php.expected.json | 0 .../frameworks/{broken => _cases}/parent1.php | 0 .../parent1.php.expected.json | 14 ++--- .../frameworks/{broken => _cases}/parent2.php | 0 .../parent2.php.expected.json | 0 .../frameworks/{broken => _cases}/parent3.php | 0 .../parent3.php.expected.json | 16 +++--- .../{broken => _cases}/propertyName1.php | 0 .../propertyName1.php.expected.json | 4 +- .../{broken => _cases}/propertyName2.php | 0 .../propertyName2.php.expected.json | 4 +- .../{broken => _cases}/returnType.php | 0 .../returnType.php.expected.json | 8 +-- .../scopedPropertyAccess.php | 0 .../scopedPropertyAccess.php.expected.json | 10 ++-- .../scopedPropertyAccess2.php | 0 .../scopedPropertyAccess2.php.expected.json | 4 +- .../scopedPropertyAccess3.php | 0 .../scopedPropertyAccess3.php.expected.json | 8 +-- .../scopedPropertyAccess4.php | 0 .../scopedPropertyAccess4.php.expected.json | 2 +- .../scopedPropertyAccess5.php | 0 .../scopedPropertyAccess5.php.expected.json | 12 ++-- .../frameworks/{broken => _cases}/self1.php | 0 .../self1.php.expected.json | 16 +++--- .../frameworks/{broken => _cases}/self2.php | 0 .../self2.php.expected.json | 16 +++--- .../frameworks/{broken => _cases}/self3.php | 0 .../self3.php.expected.json | 16 +++--- .../frameworks/{broken => _cases}/self4.php | 0 .../self4.php.expected.json | 14 ++--- .../frameworks/{broken => _cases}/self5.php | 0 .../self5.php.expected.json | 8 +-- .../frameworks/{broken => _cases}/static1.php | 0 .../static1.php.expected.json | 16 +++--- .../frameworks/{broken => _cases}/static2.php | 0 .../static2.php.expected.json | 16 +++--- .../frameworks/{broken => _cases}/static3.php | 0 .../static3.php.expected.json | 16 +++--- .../frameworks/{broken => _cases}/static4.php | 0 .../static4.php.expected.json | 10 ++-- .../{broken => _cases}/staticInArray.php | 0 .../staticInArray.php.expected.json | 0 .../{broken => _cases}/stringVariable.php | 0 .../stringVariable.php.expected.json | 6 +- .../testQualifiedNameOutsideOfNamespace.php | 0 ...edNameOutsideOfNamespace.php.expected.json | 4 +- .../verifyFqsenOnClassProperty.php | 0 ...rifyFqsenOnClassProperty.php.expected.json | 10 ++-- 137 files changed, 377 insertions(+), 274 deletions(-) rename validation/frameworks/{broken => _cases}/WithReturnTypehints.php (100%) rename validation/frameworks/{broken => _cases}/WithReturnTypehints.php.expected.json (84%) rename validation/frameworks/{broken => _cases}/anonymousClassMembersShouldNotBeSymbols.php (100%) rename validation/frameworks/{broken => _cases}/anonymousClassMembersShouldNotBeSymbols.php.expected.json (84%) rename validation/frameworks/{broken => _cases}/arrayValueShouldBeBoolean.php (100%) rename validation/frameworks/{broken => _cases}/arrayValueShouldBeBoolean.php.expected.json (85%) rename validation/frameworks/{broken => _cases}/caseStatement1.php (100%) rename validation/frameworks/{broken => _cases}/caseStatement1.php.expected.json (79%) rename validation/frameworks/{broken => _cases}/classDefinition1.php (100%) rename validation/frameworks/{broken => _cases}/classDefinition1.php.expected.json (83%) rename validation/frameworks/{broken => _cases}/classProperty1.php (100%) rename validation/frameworks/{broken => _cases}/classProperty1.php.expected.json (84%) rename validation/frameworks/{broken => _cases}/constants.php (100%) rename validation/frameworks/{broken => _cases}/constants.php.expected.json (83%) rename validation/frameworks/{broken => _cases}/constants2.php (100%) rename validation/frameworks/{broken => _cases}/constants2.php.expected.json (83%) rename validation/frameworks/{broken => _cases}/constants3.php (100%) rename validation/frameworks/{broken => _cases}/constants3.php.expected.json (83%) rename validation/frameworks/{broken => _cases}/constants4.php (100%) rename validation/frameworks/{broken => _cases}/constants4.php.expected.json (83%) rename validation/frameworks/{broken => _cases}/constants5.php (100%) rename validation/frameworks/{broken => _cases}/constants5.php.expected.json (85%) rename validation/frameworks/{broken => _cases}/constantsInFunctionParamDefault.php (100%) rename validation/frameworks/{broken => _cases}/constantsInFunctionParamDefault.php.expected.json (82%) rename validation/frameworks/{broken => _cases}/docBlocksOnNamespaceDefinition.php (100%) rename validation/frameworks/{broken => _cases}/docBlocksOnNamespaceDefinition.php.expected.json (85%) rename validation/frameworks/{broken => _cases}/exceptions1.php (100%) rename validation/frameworks/{broken => _cases}/exceptions1.php.expected.json (87%) rename validation/frameworks/{broken => _cases}/forLoopReference1.php (100%) rename validation/frameworks/{broken => _cases}/forLoopReference1.php.expected.json (100%) rename validation/frameworks/{broken => _cases}/functionUse.php (100%) rename validation/frameworks/{broken => _cases}/functionUse.php.expected.json (65%) rename validation/frameworks/{broken => _cases}/functionUse2.php (100%) rename validation/frameworks/{broken => _cases}/functionUse2.php.expected.json (68%) rename validation/frameworks/{broken => _cases}/ifStatement1.php (100%) rename validation/frameworks/{broken => _cases}/ifStatement1.php.expected.json (79%) create mode 100644 validation/frameworks/_cases/interfaceProperty.php create mode 100644 validation/frameworks/_cases/interfaceProperty.php.expected.json rename validation/frameworks/{broken => _cases}/magicConstantsShouldBeGlobal.php (100%) rename validation/frameworks/{broken => _cases}/magicConstantsShouldBeGlobal.php.expected.json (85%) rename validation/frameworks/{broken => _cases}/magicConsts.php (100%) rename validation/frameworks/{broken => _cases}/magicConsts.php.expected.json (87%) rename validation/frameworks/{broken => _cases}/memberAccess1.php (100%) rename validation/frameworks/{broken => _cases}/memberAccess1.php.expected.json (83%) rename validation/frameworks/{broken => _cases}/memberAccess2.php (100%) rename validation/frameworks/{broken => _cases}/memberAccess2.php.expected.json (83%) rename validation/frameworks/{broken => _cases}/memberAccess3.php (100%) rename validation/frameworks/{broken => _cases}/memberAccess3.php.expected.json (78%) rename validation/frameworks/{broken => _cases}/memberAccess4.php (100%) rename validation/frameworks/{broken => _cases}/memberAccess4.php.expected.json (81%) rename validation/frameworks/{broken => _cases}/memberAccess5.php (100%) rename validation/frameworks/{broken => _cases}/memberAccess5.php.expected.json (87%) rename validation/frameworks/{broken => _cases}/memberCall1.php (100%) rename validation/frameworks/{broken => _cases}/memberCall1.php.expected.json (83%) rename validation/frameworks/{broken => _cases}/multipleNamespaces.php (100%) rename validation/frameworks/{broken => _cases}/multipleNamespaces.php.expected.json (83%) rename validation/frameworks/{broken => _cases}/multiplePreceedingComments.php (100%) rename validation/frameworks/{broken => _cases}/multiplePreceedingComments.php.expected.json (85%) rename validation/frameworks/{broken => _cases}/nameToken.php (100%) rename validation/frameworks/{broken => _cases}/nameToken.php.expected.json (87%) rename validation/frameworks/{broken => _cases}/namespaces2.php (100%) rename validation/frameworks/{broken => _cases}/namespaces2.php.expected.json (74%) rename validation/frameworks/{broken => _cases}/namespaces3.php (100%) rename validation/frameworks/{broken => _cases}/namespaces3.php.expected.json (100%) rename validation/frameworks/{broken => _cases}/namespaces4.php (100%) rename validation/frameworks/{broken => _cases}/namespaces4.php.expected.json (65%) rename validation/frameworks/{broken => _cases}/namespaces5.php (100%) rename validation/frameworks/{broken => _cases}/namespaces5.php.expected.json (73%) rename validation/frameworks/{broken => _cases}/namespaces6.php (100%) rename validation/frameworks/{broken => _cases}/namespaces6.php.expected.json (87%) rename validation/frameworks/{broken => _cases}/namespaces7.php (100%) rename validation/frameworks/{broken => _cases}/namespaces7.php.expected.json (100%) rename validation/frameworks/{broken => _cases}/namespaces8.php (100%) rename validation/frameworks/{broken => _cases}/namespaces8.php.expected.json (83%) rename validation/frameworks/{broken => _cases}/namespaces9.php (100%) rename validation/frameworks/{broken => _cases}/namespaces9.php.expected.json (100%) create mode 100644 validation/frameworks/_cases/newStatic.php create mode 100644 validation/frameworks/_cases/newStatic.php.expected.json rename validation/frameworks/{broken => _cases}/objectCreation.php (100%) rename validation/frameworks/{broken => _cases}/objectCreation.php.expected.json (85%) rename validation/frameworks/{broken => _cases}/objectCreation2.php (100%) rename validation/frameworks/{broken => _cases}/objectCreation2.php.expected.json (84%) rename validation/frameworks/{broken => _cases}/objectCreation3.php (100%) rename validation/frameworks/{broken => _cases}/objectCreation3.php.expected.json (83%) rename validation/frameworks/{broken => _cases}/param1.php (100%) rename validation/frameworks/{broken => _cases}/param1.php.expected.json (85%) rename validation/frameworks/{broken => _cases}/parameterTypeResolution1.php (100%) rename validation/frameworks/{broken => _cases}/parameterTypeResolution1.php.expected.json (100%) rename validation/frameworks/{broken => _cases}/parent1.php (100%) rename validation/frameworks/{broken => _cases}/parent1.php.expected.json (85%) rename validation/frameworks/{broken => _cases}/parent2.php (100%) rename validation/frameworks/{broken => _cases}/parent2.php.expected.json (100%) rename validation/frameworks/{broken => _cases}/parent3.php (100%) rename validation/frameworks/{broken => _cases}/parent3.php.expected.json (84%) rename validation/frameworks/{broken => _cases}/propertyName1.php (100%) rename validation/frameworks/{broken => _cases}/propertyName1.php.expected.json (87%) rename validation/frameworks/{broken => _cases}/propertyName2.php (100%) rename validation/frameworks/{broken => _cases}/propertyName2.php.expected.json (87%) rename validation/frameworks/{broken => _cases}/returnType.php (100%) rename validation/frameworks/{broken => _cases}/returnType.php.expected.json (83%) rename validation/frameworks/{broken => _cases}/scopedPropertyAccess.php (100%) rename validation/frameworks/{broken => _cases}/scopedPropertyAccess.php.expected.json (82%) rename validation/frameworks/{broken => _cases}/scopedPropertyAccess2.php (100%) rename validation/frameworks/{broken => _cases}/scopedPropertyAccess2.php.expected.json (82%) rename validation/frameworks/{broken => _cases}/scopedPropertyAccess3.php (100%) rename validation/frameworks/{broken => _cases}/scopedPropertyAccess3.php.expected.json (80%) rename validation/frameworks/{broken => _cases}/scopedPropertyAccess4.php (100%) rename validation/frameworks/{broken => _cases}/scopedPropertyAccess4.php.expected.json (70%) rename validation/frameworks/{broken => _cases}/scopedPropertyAccess5.php (100%) rename validation/frameworks/{broken => _cases}/scopedPropertyAccess5.php.expected.json (79%) rename validation/frameworks/{broken => _cases}/self1.php (100%) rename validation/frameworks/{broken => _cases}/self1.php.expected.json (84%) rename validation/frameworks/{broken => _cases}/self2.php (100%) rename validation/frameworks/{broken => _cases}/self2.php.expected.json (84%) rename validation/frameworks/{broken => _cases}/self3.php (100%) rename validation/frameworks/{broken => _cases}/self3.php.expected.json (84%) rename validation/frameworks/{broken => _cases}/self4.php (100%) rename validation/frameworks/{broken => _cases}/self4.php.expected.json (81%) rename validation/frameworks/{broken => _cases}/self5.php (100%) rename validation/frameworks/{broken => _cases}/self5.php.expected.json (86%) rename validation/frameworks/{broken => _cases}/static1.php (100%) rename validation/frameworks/{broken => _cases}/static1.php.expected.json (84%) rename validation/frameworks/{broken => _cases}/static2.php (100%) rename validation/frameworks/{broken => _cases}/static2.php.expected.json (84%) rename validation/frameworks/{broken => _cases}/static3.php (100%) rename validation/frameworks/{broken => _cases}/static3.php.expected.json (84%) rename validation/frameworks/{broken => _cases}/static4.php (100%) rename validation/frameworks/{broken => _cases}/static4.php.expected.json (84%) rename validation/frameworks/{broken => _cases}/staticInArray.php (100%) rename validation/frameworks/{broken => _cases}/staticInArray.php.expected.json (100%) rename validation/frameworks/{broken => _cases}/stringVariable.php (100%) rename validation/frameworks/{broken => _cases}/stringVariable.php.expected.json (86%) rename validation/frameworks/{broken => _cases}/testQualifiedNameOutsideOfNamespace.php (100%) rename validation/frameworks/{broken => _cases}/testQualifiedNameOutsideOfNamespace.php.expected.json (81%) rename validation/frameworks/{broken => _cases}/verifyFqsenOnClassProperty.php (100%) rename validation/frameworks/{broken => _cases}/verifyFqsenOnClassProperty.php.expected.json (81%) diff --git a/tests/Validation/ValidationTest.php b/tests/Validation/ValidationTest.php index 5a31eec..1b47695 100644 --- a/tests/Validation/ValidationTest.php +++ b/tests/Validation/ValidationTest.php @@ -29,7 +29,7 @@ class ValidationTest extends TestCase $testProviderArray = array(); foreach ($frameworks as $frameworkDir) { $frameworkName = basename($frameworkDir); - if ($frameworkName !== "broken") { + if ($frameworkName !== '_cases') { continue; } @@ -63,12 +63,21 @@ class ValidationTest extends TestCase $expectedValues = $this->getExpectedTestValues($testCaseFile, $frameworkName, $fileContents); $actualValues = $this->getActualTestValues($testCaseFile, $frameworkName, $fileContents); - $this->assertEquals($expectedValues['definitions'], $actualValues['definitions']); - 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) { - $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; $parserKind = ParserKind::PHP_PARSER; - $outputFile = $filename . '.expected.json'; + $outputFile = getExpectedValuesFile($filename); if (file_exists($outputFile)) { return (array)json_decode(file_get_contents($outputFile)); } @@ -136,11 +145,6 @@ class ValidationTest extends TestCase '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; } @@ -194,4 +198,8 @@ class ValidationTest extends TestCase } } } +} + +function getExpectedValuesFile($testCaseFile): string { + return $testCaseFile . '.expected.json'; } \ No newline at end of file diff --git a/validation/frameworks/broken/WithReturnTypehints.php b/validation/frameworks/_cases/WithReturnTypehints.php similarity index 100% rename from validation/frameworks/broken/WithReturnTypehints.php rename to validation/frameworks/_cases/WithReturnTypehints.php diff --git a/validation/frameworks/broken/WithReturnTypehints.php.expected.json b/validation/frameworks/_cases/WithReturnTypehints.php.expected.json similarity index 84% rename from validation/frameworks/broken/WithReturnTypehints.php.expected.json rename to validation/frameworks/_cases/WithReturnTypehints.php.expected.json index 0a3eb09..e1da9a4 100644 --- a/validation/frameworks/broken/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\/broken\/WithReturnTypehints.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/WithReturnTypehints.php" ], "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": [ - "\/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": { @@ -20,7 +20,7 @@ "name": "Fixtures\\Prophecy", "kind": 3, "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" }, @@ -39,7 +39,7 @@ "name": "WithReturnTypehints", "kind": 5, "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" }, @@ -56,7 +56,7 @@ "name": "getSelf", "kind": 6, "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" }, @@ -73,7 +73,7 @@ "name": "getName", "kind": 6, "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" }, @@ -90,7 +90,7 @@ "name": "getParent", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/anonymousClassMembersShouldNotBeSymbols.php b/validation/frameworks/_cases/anonymousClassMembersShouldNotBeSymbols.php similarity index 100% rename from validation/frameworks/broken/anonymousClassMembersShouldNotBeSymbols.php rename to validation/frameworks/_cases/anonymousClassMembersShouldNotBeSymbols.php diff --git a/validation/frameworks/broken/anonymousClassMembersShouldNotBeSymbols.php.expected.json b/validation/frameworks/_cases/anonymousClassMembersShouldNotBeSymbols.php.expected.json similarity index 84% rename from validation/frameworks/broken/anonymousClassMembersShouldNotBeSymbols.php.expected.json rename to validation/frameworks/_cases/anonymousClassMembersShouldNotBeSymbols.php.expected.json index dc579f9..88ed930 100644 --- a/validation/frameworks/broken/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\/broken\/anonymousClassMembersShouldNotBeSymbols.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/anonymousClassMembersShouldNotBeSymbols.php" }, "containerName": "" }, diff --git a/validation/frameworks/broken/arrayValueShouldBeBoolean.php b/validation/frameworks/_cases/arrayValueShouldBeBoolean.php similarity index 100% rename from validation/frameworks/broken/arrayValueShouldBeBoolean.php rename to validation/frameworks/_cases/arrayValueShouldBeBoolean.php diff --git a/validation/frameworks/broken/arrayValueShouldBeBoolean.php.expected.json b/validation/frameworks/_cases/arrayValueShouldBeBoolean.php.expected.json similarity index 85% rename from validation/frameworks/broken/arrayValueShouldBeBoolean.php.expected.json rename to validation/frameworks/_cases/arrayValueShouldBeBoolean.php.expected.json index 9faade7..a6168d7 100644 --- a/validation/frameworks/broken/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\/broken\/arrayValueShouldBeBoolean.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/arrayValueShouldBeBoolean.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "foo", "kind": 7, "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" }, diff --git a/validation/frameworks/broken/caseStatement1.php b/validation/frameworks/_cases/caseStatement1.php similarity index 100% rename from validation/frameworks/broken/caseStatement1.php rename to validation/frameworks/_cases/caseStatement1.php diff --git a/validation/frameworks/broken/caseStatement1.php.expected.json b/validation/frameworks/_cases/caseStatement1.php.expected.json similarity index 79% rename from validation/frameworks/broken/caseStatement1.php.expected.json rename to validation/frameworks/_cases/caseStatement1.php.expected.json index e8400af..07fd68d 100644 --- a/validation/frameworks/broken/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\/broken\/caseStatement1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/caseStatement1.php" ], "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": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, diff --git a/validation/frameworks/broken/classDefinition1.php b/validation/frameworks/_cases/classDefinition1.php similarity index 100% rename from validation/frameworks/broken/classDefinition1.php rename to validation/frameworks/_cases/classDefinition1.php diff --git a/validation/frameworks/broken/classDefinition1.php.expected.json b/validation/frameworks/_cases/classDefinition1.php.expected.json similarity index 83% rename from validation/frameworks/broken/classDefinition1.php.expected.json rename to validation/frameworks/_cases/classDefinition1.php.expected.json index c505348..a0c0672 100644 --- a/validation/frameworks/broken/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\/broken\/classDefinition1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classDefinition1.php" ], "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": { @@ -17,7 +17,7 @@ "name": "TestNamespace", "kind": 3, "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": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "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" }, @@ -51,7 +51,7 @@ "name": "a", "kind": 7, "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" }, diff --git a/validation/frameworks/broken/classProperty1.php b/validation/frameworks/_cases/classProperty1.php similarity index 100% rename from validation/frameworks/broken/classProperty1.php rename to validation/frameworks/_cases/classProperty1.php diff --git a/validation/frameworks/broken/classProperty1.php.expected.json b/validation/frameworks/_cases/classProperty1.php.expected.json similarity index 84% rename from validation/frameworks/broken/classProperty1.php.expected.json rename to validation/frameworks/_cases/classProperty1.php.expected.json index cce5b15..2088a93 100644 --- a/validation/frameworks/broken/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\/broken\/classProperty1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/classProperty1.php" ], "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": { @@ -17,7 +17,7 @@ "name": "TestNamespace", "kind": 3, "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": "" }, @@ -34,7 +34,7 @@ "name": "TestClass", "kind": 5, "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" }, @@ -51,7 +51,7 @@ "name": "testProperty", "kind": 7, "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" }, @@ -68,7 +68,7 @@ "name": "testMethod", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/constants.php b/validation/frameworks/_cases/constants.php similarity index 100% rename from validation/frameworks/broken/constants.php rename to validation/frameworks/_cases/constants.php diff --git a/validation/frameworks/broken/constants.php.expected.json b/validation/frameworks/_cases/constants.php.expected.json similarity index 83% rename from validation/frameworks/broken/constants.php.expected.json rename to validation/frameworks/_cases/constants.php.expected.json index be3094d..9106488 100644 --- a/validation/frameworks/broken/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\/broken\/constants.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants.php" ], "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": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "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" }, @@ -51,7 +51,7 @@ "name": "suite", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/constants2.php b/validation/frameworks/_cases/constants2.php similarity index 100% rename from validation/frameworks/broken/constants2.php rename to validation/frameworks/_cases/constants2.php diff --git a/validation/frameworks/broken/constants2.php.expected.json b/validation/frameworks/_cases/constants2.php.expected.json similarity index 83% rename from validation/frameworks/broken/constants2.php.expected.json rename to validation/frameworks/_cases/constants2.php.expected.json index 1e35fd3..476a21c 100644 --- a/validation/frameworks/broken/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\/broken\/constants2.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants2.php" ], "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": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "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" }, @@ -51,7 +51,7 @@ "name": "suite", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/constants3.php b/validation/frameworks/_cases/constants3.php similarity index 100% rename from validation/frameworks/broken/constants3.php rename to validation/frameworks/_cases/constants3.php diff --git a/validation/frameworks/broken/constants3.php.expected.json b/validation/frameworks/_cases/constants3.php.expected.json similarity index 83% rename from validation/frameworks/broken/constants3.php.expected.json rename to validation/frameworks/_cases/constants3.php.expected.json index cba6091..1f647e7 100644 --- a/validation/frameworks/broken/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\/broken\/constants3.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants3.php" ], "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": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "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" }, @@ -51,7 +51,7 @@ "name": "suite", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/constants4.php b/validation/frameworks/_cases/constants4.php similarity index 100% rename from validation/frameworks/broken/constants4.php rename to validation/frameworks/_cases/constants4.php diff --git a/validation/frameworks/broken/constants4.php.expected.json b/validation/frameworks/_cases/constants4.php.expected.json similarity index 83% rename from validation/frameworks/broken/constants4.php.expected.json rename to validation/frameworks/_cases/constants4.php.expected.json index 7585f03..cb39ca1 100644 --- a/validation/frameworks/broken/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\/broken\/constants4.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants4.php" ], "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": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "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" }, @@ -51,7 +51,7 @@ "name": "suite", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/constants5.php b/validation/frameworks/_cases/constants5.php similarity index 100% rename from validation/frameworks/broken/constants5.php rename to validation/frameworks/_cases/constants5.php diff --git a/validation/frameworks/broken/constants5.php.expected.json b/validation/frameworks/_cases/constants5.php.expected.json similarity index 85% rename from validation/frameworks/broken/constants5.php.expected.json rename to validation/frameworks/_cases/constants5.php.expected.json index 3d5da35..4eba3ad 100644 --- a/validation/frameworks/broken/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\/broken\/constants5.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constants5.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -31,7 +31,7 @@ "name": "Mbstring", "kind": 5, "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" }, @@ -48,7 +48,7 @@ "name": "MB_CASE_FOLD", "kind": 14, "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" }, diff --git a/validation/frameworks/broken/constantsInFunctionParamDefault.php b/validation/frameworks/_cases/constantsInFunctionParamDefault.php similarity index 100% rename from validation/frameworks/broken/constantsInFunctionParamDefault.php rename to validation/frameworks/_cases/constantsInFunctionParamDefault.php diff --git a/validation/frameworks/broken/constantsInFunctionParamDefault.php.expected.json b/validation/frameworks/_cases/constantsInFunctionParamDefault.php.expected.json similarity index 82% rename from validation/frameworks/broken/constantsInFunctionParamDefault.php.expected.json rename to validation/frameworks/_cases/constantsInFunctionParamDefault.php.expected.json index 15be350..6bbd112 100644 --- a/validation/frameworks/broken/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\/broken\/constantsInFunctionParamDefault.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/constantsInFunctionParamDefault.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "A", "kind": 11, "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": "" }, @@ -31,7 +31,7 @@ "name": "b", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/docBlocksOnNamespaceDefinition.php b/validation/frameworks/_cases/docBlocksOnNamespaceDefinition.php similarity index 100% rename from validation/frameworks/broken/docBlocksOnNamespaceDefinition.php rename to validation/frameworks/_cases/docBlocksOnNamespaceDefinition.php diff --git a/validation/frameworks/broken/docBlocksOnNamespaceDefinition.php.expected.json b/validation/frameworks/_cases/docBlocksOnNamespaceDefinition.php.expected.json similarity index 85% rename from validation/frameworks/broken/docBlocksOnNamespaceDefinition.php.expected.json rename to validation/frameworks/_cases/docBlocksOnNamespaceDefinition.php.expected.json index e4660b7..8db10d3 100644 --- a/validation/frameworks/broken/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\/broken\/docBlocksOnNamespaceDefinition.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/docBlocksOnNamespaceDefinition.php" }, "containerName": "" }, diff --git a/validation/frameworks/broken/exceptions1.php b/validation/frameworks/_cases/exceptions1.php similarity index 100% rename from validation/frameworks/broken/exceptions1.php rename to validation/frameworks/_cases/exceptions1.php diff --git a/validation/frameworks/broken/exceptions1.php.expected.json b/validation/frameworks/_cases/exceptions1.php.expected.json similarity index 87% rename from validation/frameworks/broken/exceptions1.php.expected.json rename to validation/frameworks/_cases/exceptions1.php.expected.json index 1cf37fc..783cb22 100644 --- a/validation/frameworks/broken/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\/broken\/exceptions1.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/exceptions1.php" }, "containerName": "" }, diff --git a/validation/frameworks/broken/forLoopReference1.php b/validation/frameworks/_cases/forLoopReference1.php similarity index 100% rename from validation/frameworks/broken/forLoopReference1.php rename to validation/frameworks/_cases/forLoopReference1.php diff --git a/validation/frameworks/broken/forLoopReference1.php.expected.json b/validation/frameworks/_cases/forLoopReference1.php.expected.json similarity index 100% rename from validation/frameworks/broken/forLoopReference1.php.expected.json rename to validation/frameworks/_cases/forLoopReference1.php.expected.json diff --git a/validation/frameworks/broken/functionUse.php b/validation/frameworks/_cases/functionUse.php similarity index 100% rename from validation/frameworks/broken/functionUse.php rename to validation/frameworks/_cases/functionUse.php diff --git a/validation/frameworks/broken/functionUse.php.expected.json b/validation/frameworks/_cases/functionUse.php.expected.json similarity index 65% rename from validation/frameworks/broken/functionUse.php.expected.json rename to validation/frameworks/_cases/functionUse.php.expected.json index 29c132e..4d32138 100644 --- a/validation/frameworks/broken/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\/broken\/functionUse.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/functionUse.php" ], "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": [] diff --git a/validation/frameworks/broken/functionUse2.php b/validation/frameworks/_cases/functionUse2.php similarity index 100% rename from validation/frameworks/broken/functionUse2.php rename to validation/frameworks/_cases/functionUse2.php diff --git a/validation/frameworks/broken/functionUse2.php.expected.json b/validation/frameworks/_cases/functionUse2.php.expected.json similarity index 68% rename from validation/frameworks/broken/functionUse2.php.expected.json rename to validation/frameworks/_cases/functionUse2.php.expected.json index fa047e6..127b34d 100644 --- a/validation/frameworks/broken/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\/broken\/functionUse2.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/functionUse2.php" ], "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": [] diff --git a/validation/frameworks/broken/ifStatement1.php b/validation/frameworks/_cases/ifStatement1.php similarity index 100% rename from validation/frameworks/broken/ifStatement1.php rename to validation/frameworks/_cases/ifStatement1.php diff --git a/validation/frameworks/broken/ifStatement1.php.expected.json b/validation/frameworks/_cases/ifStatement1.php.expected.json similarity index 79% rename from validation/frameworks/broken/ifStatement1.php.expected.json rename to validation/frameworks/_cases/ifStatement1.php.expected.json index 4e4a23f..20ded82 100644 --- a/validation/frameworks/broken/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\/broken\/ifStatement1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/ifStatement1.php" ], "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": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, diff --git a/validation/frameworks/_cases/interfaceProperty.php b/validation/frameworks/_cases/interfaceProperty.php new file mode 100644 index 0000000..96b5cc5 --- /dev/null +++ b/validation/frameworks/_cases/interfaceProperty.php @@ -0,0 +1,5 @@ +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": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "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" }, @@ -51,7 +51,7 @@ "name": "a", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/memberAccess2.php b/validation/frameworks/_cases/memberAccess2.php similarity index 100% rename from validation/frameworks/broken/memberAccess2.php rename to validation/frameworks/_cases/memberAccess2.php diff --git a/validation/frameworks/broken/memberAccess2.php.expected.json b/validation/frameworks/_cases/memberAccess2.php.expected.json similarity index 83% rename from validation/frameworks/broken/memberAccess2.php.expected.json rename to validation/frameworks/_cases/memberAccess2.php.expected.json index c3b9335..bc5f135 100644 --- a/validation/frameworks/broken/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\/broken\/memberAccess2.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess2.php" ], "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": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "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" }, @@ -51,7 +51,7 @@ "name": "a", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/memberAccess3.php b/validation/frameworks/_cases/memberAccess3.php similarity index 100% rename from validation/frameworks/broken/memberAccess3.php rename to validation/frameworks/_cases/memberAccess3.php diff --git a/validation/frameworks/broken/memberAccess3.php.expected.json b/validation/frameworks/_cases/memberAccess3.php.expected.json similarity index 78% rename from validation/frameworks/broken/memberAccess3.php.expected.json rename to validation/frameworks/_cases/memberAccess3.php.expected.json index c9e8310..6af6223 100644 --- a/validation/frameworks/broken/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\/broken\/memberAccess3.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess3.php" ], "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": [ - "\/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": [ - "\/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": [ - "\/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": [ - "\/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": [ - "\/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": { @@ -32,7 +32,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -49,7 +49,7 @@ "name": "A", "kind": 5, "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" }, @@ -66,7 +66,7 @@ "name": "getInitializer", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/memberAccess4.php b/validation/frameworks/_cases/memberAccess4.php similarity index 100% rename from validation/frameworks/broken/memberAccess4.php rename to validation/frameworks/_cases/memberAccess4.php diff --git a/validation/frameworks/broken/memberAccess4.php.expected.json b/validation/frameworks/_cases/memberAccess4.php.expected.json similarity index 81% rename from validation/frameworks/broken/memberAccess4.php.expected.json rename to validation/frameworks/_cases/memberAccess4.php.expected.json index e2352a7..31b7d6b 100644 --- a/validation/frameworks/broken/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\/broken\/memberAccess4.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess4.php" ], "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()": [ - "\/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": [ - "\/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": { @@ -23,7 +23,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -40,7 +40,7 @@ "name": "A", "kind": 5, "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" }, @@ -57,7 +57,7 @@ "name": "testRequest", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/memberAccess5.php b/validation/frameworks/_cases/memberAccess5.php similarity index 100% rename from validation/frameworks/broken/memberAccess5.php rename to validation/frameworks/_cases/memberAccess5.php diff --git a/validation/frameworks/broken/memberAccess5.php.expected.json b/validation/frameworks/_cases/memberAccess5.php.expected.json similarity index 87% rename from validation/frameworks/broken/memberAccess5.php.expected.json rename to validation/frameworks/_cases/memberAccess5.php.expected.json index ec0f722..f58a6fc 100644 --- a/validation/frameworks/broken/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\/broken\/memberAccess5.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberAccess5.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "ParseErrorsTest", "kind": 5, "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" }, @@ -44,7 +44,7 @@ "name": "setUp", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/memberCall1.php b/validation/frameworks/_cases/memberCall1.php similarity index 100% rename from validation/frameworks/broken/memberCall1.php rename to validation/frameworks/_cases/memberCall1.php diff --git a/validation/frameworks/broken/memberCall1.php.expected.json b/validation/frameworks/_cases/memberCall1.php.expected.json similarity index 83% rename from validation/frameworks/broken/memberCall1.php.expected.json rename to validation/frameworks/_cases/memberCall1.php.expected.json index b640d83..6ce04a7 100644 --- a/validation/frameworks/broken/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\/broken\/memberCall1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/memberCall1.php" ], "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()": [ - "\/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": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -37,7 +37,7 @@ "name": "ParseErrorsTest", "kind": 5, "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" }, @@ -54,7 +54,7 @@ "name": "setAccount", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/multipleNamespaces.php b/validation/frameworks/_cases/multipleNamespaces.php similarity index 100% rename from validation/frameworks/broken/multipleNamespaces.php rename to validation/frameworks/_cases/multipleNamespaces.php diff --git a/validation/frameworks/broken/multipleNamespaces.php.expected.json b/validation/frameworks/_cases/multipleNamespaces.php.expected.json similarity index 83% rename from validation/frameworks/broken/multipleNamespaces.php.expected.json rename to validation/frameworks/_cases/multipleNamespaces.php.expected.json index 274dd5b..9cecc76 100644 --- a/validation/frameworks/broken/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\/broken\/multipleNamespaces.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multipleNamespaces.php" ], "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": [ - "\/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()": [ - "\/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": { @@ -23,7 +23,7 @@ "name": "MyNamespace1", "kind": 3, "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": "" }, @@ -40,7 +40,7 @@ "name": "B", "kind": 5, "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" }, @@ -57,7 +57,7 @@ "name": "b", "kind": 6, "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" }, @@ -74,7 +74,7 @@ "name": "MyNamespace2", "kind": 3, "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": "" }, @@ -93,7 +93,7 @@ "name": "A", "kind": 5, "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" }, @@ -110,7 +110,7 @@ "name": "a", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/multiplePreceedingComments.php b/validation/frameworks/_cases/multiplePreceedingComments.php similarity index 100% rename from validation/frameworks/broken/multiplePreceedingComments.php rename to validation/frameworks/_cases/multiplePreceedingComments.php diff --git a/validation/frameworks/broken/multiplePreceedingComments.php.expected.json b/validation/frameworks/_cases/multiplePreceedingComments.php.expected.json similarity index 85% rename from validation/frameworks/broken/multiplePreceedingComments.php.expected.json rename to validation/frameworks/_cases/multiplePreceedingComments.php.expected.json index 415b052..05fb01f 100644 --- a/validation/frameworks/broken/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\/broken\/multiplePreceedingComments.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/multiplePreceedingComments.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "fn", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/nameToken.php b/validation/frameworks/_cases/nameToken.php similarity index 100% rename from validation/frameworks/broken/nameToken.php rename to validation/frameworks/_cases/nameToken.php diff --git a/validation/frameworks/broken/nameToken.php.expected.json b/validation/frameworks/_cases/nameToken.php.expected.json similarity index 87% rename from validation/frameworks/broken/nameToken.php.expected.json rename to validation/frameworks/_cases/nameToken.php.expected.json index 5513701..404ad7e 100644 --- a/validation/frameworks/broken/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\/broken\/nameToken.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/nameToken.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "b", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/namespaces2.php b/validation/frameworks/_cases/namespaces2.php similarity index 100% rename from validation/frameworks/broken/namespaces2.php rename to validation/frameworks/_cases/namespaces2.php diff --git a/validation/frameworks/broken/namespaces2.php.expected.json b/validation/frameworks/_cases/namespaces2.php.expected.json similarity index 74% rename from validation/frameworks/broken/namespaces2.php.expected.json rename to validation/frameworks/_cases/namespaces2.php.expected.json index a309950..0140af5 100644 --- a/validation/frameworks/broken/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\/broken\/namespaces2.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces2.php" ], "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": [ - "\/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": [ - "\/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": { @@ -23,7 +23,7 @@ "name": "MyNamespace1", "kind": 3, "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": "" }, diff --git a/validation/frameworks/broken/namespaces3.php b/validation/frameworks/_cases/namespaces3.php similarity index 100% rename from validation/frameworks/broken/namespaces3.php rename to validation/frameworks/_cases/namespaces3.php diff --git a/validation/frameworks/broken/namespaces3.php.expected.json b/validation/frameworks/_cases/namespaces3.php.expected.json similarity index 100% rename from validation/frameworks/broken/namespaces3.php.expected.json rename to validation/frameworks/_cases/namespaces3.php.expected.json diff --git a/validation/frameworks/broken/namespaces4.php b/validation/frameworks/_cases/namespaces4.php similarity index 100% rename from validation/frameworks/broken/namespaces4.php rename to validation/frameworks/_cases/namespaces4.php diff --git a/validation/frameworks/broken/namespaces4.php.expected.json b/validation/frameworks/_cases/namespaces4.php.expected.json similarity index 65% rename from validation/frameworks/broken/namespaces4.php.expected.json rename to validation/frameworks/_cases/namespaces4.php.expected.json index 32f01cb..374c22e 100644 --- a/validation/frameworks/broken/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\/broken\/namespaces4.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces4.php" ], "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": [] diff --git a/validation/frameworks/broken/namespaces5.php b/validation/frameworks/_cases/namespaces5.php similarity index 100% rename from validation/frameworks/broken/namespaces5.php rename to validation/frameworks/_cases/namespaces5.php diff --git a/validation/frameworks/broken/namespaces5.php.expected.json b/validation/frameworks/_cases/namespaces5.php.expected.json similarity index 73% rename from validation/frameworks/broken/namespaces5.php.expected.json rename to validation/frameworks/_cases/namespaces5.php.expected.json index 95e8f51..346b528 100644 --- a/validation/frameworks/broken/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\/broken\/namespaces5.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces5.php" ], "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": [ - "\/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": [ - "\/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": [ - "\/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": [ - "\/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": [ - "\/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": { @@ -32,7 +32,7 @@ "name": "B", "kind": 3, "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": "" }, diff --git a/validation/frameworks/broken/namespaces6.php b/validation/frameworks/_cases/namespaces6.php similarity index 100% rename from validation/frameworks/broken/namespaces6.php rename to validation/frameworks/_cases/namespaces6.php diff --git a/validation/frameworks/broken/namespaces6.php.expected.json b/validation/frameworks/_cases/namespaces6.php.expected.json similarity index 87% rename from validation/frameworks/broken/namespaces6.php.expected.json rename to validation/frameworks/_cases/namespaces6.php.expected.json index ff214a7..25e100c 100644 --- a/validation/frameworks/broken/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\/broken\/namespaces6.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces6.php" }, "containerName": "A" }, diff --git a/validation/frameworks/broken/namespaces7.php b/validation/frameworks/_cases/namespaces7.php similarity index 100% rename from validation/frameworks/broken/namespaces7.php rename to validation/frameworks/_cases/namespaces7.php diff --git a/validation/frameworks/broken/namespaces7.php.expected.json b/validation/frameworks/_cases/namespaces7.php.expected.json similarity index 100% rename from validation/frameworks/broken/namespaces7.php.expected.json rename to validation/frameworks/_cases/namespaces7.php.expected.json diff --git a/validation/frameworks/broken/namespaces8.php b/validation/frameworks/_cases/namespaces8.php similarity index 100% rename from validation/frameworks/broken/namespaces8.php rename to validation/frameworks/_cases/namespaces8.php diff --git a/validation/frameworks/broken/namespaces8.php.expected.json b/validation/frameworks/_cases/namespaces8.php.expected.json similarity index 83% rename from validation/frameworks/broken/namespaces8.php.expected.json rename to validation/frameworks/_cases/namespaces8.php.expected.json index 3538793..bccea58 100644 --- a/validation/frameworks/broken/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\/broken\/namespaces8.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/namespaces8.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/namespaces8.php" }, "containerName": "LanguageServer\\Tests" }, diff --git a/validation/frameworks/broken/namespaces9.php b/validation/frameworks/_cases/namespaces9.php similarity index 100% rename from validation/frameworks/broken/namespaces9.php rename to validation/frameworks/_cases/namespaces9.php diff --git a/validation/frameworks/broken/namespaces9.php.expected.json b/validation/frameworks/_cases/namespaces9.php.expected.json similarity index 100% rename from validation/frameworks/broken/namespaces9.php.expected.json rename to validation/frameworks/_cases/namespaces9.php.expected.json diff --git a/validation/frameworks/_cases/newStatic.php b/validation/frameworks/_cases/newStatic.php new file mode 100644 index 0000000..aa6a7af --- /dev/null +++ b/validation/frameworks/_cases/newStatic.php @@ -0,0 +1,12 @@ +foo(); + } + + private function foo() { + } +} \ No newline at end of file diff --git a/validation/frameworks/_cases/newStatic.php.expected.json b/validation/frameworks/_cases/newStatic.php.expected.json new file mode 100644 index 0000000..19a09b6 --- /dev/null +++ b/validation/frameworks/_cases/newStatic.php.expected.json @@ -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 + } + } +} \ No newline at end of file diff --git a/validation/frameworks/broken/objectCreation.php b/validation/frameworks/_cases/objectCreation.php similarity index 100% rename from validation/frameworks/broken/objectCreation.php rename to validation/frameworks/_cases/objectCreation.php diff --git a/validation/frameworks/broken/objectCreation.php.expected.json b/validation/frameworks/_cases/objectCreation.php.expected.json similarity index 85% rename from validation/frameworks/broken/objectCreation.php.expected.json rename to validation/frameworks/_cases/objectCreation.php.expected.json index a23931a..b941c2e 100644 --- a/validation/frameworks/broken/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\/broken\/objectCreation.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -31,7 +31,7 @@ "name": "A", "kind": 5, "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" }, @@ -48,7 +48,7 @@ "name": "a", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/objectCreation2.php b/validation/frameworks/_cases/objectCreation2.php similarity index 100% rename from validation/frameworks/broken/objectCreation2.php rename to validation/frameworks/_cases/objectCreation2.php diff --git a/validation/frameworks/broken/objectCreation2.php.expected.json b/validation/frameworks/_cases/objectCreation2.php.expected.json similarity index 84% rename from validation/frameworks/broken/objectCreation2.php.expected.json rename to validation/frameworks/_cases/objectCreation2.php.expected.json index c2226fb..6f187e1 100644 --- a/validation/frameworks/broken/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\/broken\/objectCreation2.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation2.php" ], "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": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -34,7 +34,7 @@ "name": "B", "kind": 5, "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" }, @@ -51,7 +51,7 @@ "name": "A", "kind": 5, "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" }, @@ -68,7 +68,7 @@ "name": "a", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/objectCreation3.php b/validation/frameworks/_cases/objectCreation3.php similarity index 100% rename from validation/frameworks/broken/objectCreation3.php rename to validation/frameworks/_cases/objectCreation3.php diff --git a/validation/frameworks/broken/objectCreation3.php.expected.json b/validation/frameworks/_cases/objectCreation3.php.expected.json similarity index 83% rename from validation/frameworks/broken/objectCreation3.php.expected.json rename to validation/frameworks/_cases/objectCreation3.php.expected.json index 9c2d753..662e8aa 100644 --- a/validation/frameworks/broken/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\/broken\/objectCreation3.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/objectCreation3.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "A", "kind": 5, "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": "" }, @@ -31,7 +31,7 @@ "name": "a", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/param1.php b/validation/frameworks/_cases/param1.php similarity index 100% rename from validation/frameworks/broken/param1.php rename to validation/frameworks/_cases/param1.php diff --git a/validation/frameworks/broken/param1.php.expected.json b/validation/frameworks/_cases/param1.php.expected.json similarity index 85% rename from validation/frameworks/broken/param1.php.expected.json rename to validation/frameworks/_cases/param1.php.expected.json index 0d4fb71..a976b70 100644 --- a/validation/frameworks/broken/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\/broken\/param1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/param1.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -31,7 +31,7 @@ "name": "init", "kind": 12, "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" }, diff --git a/validation/frameworks/broken/parameterTypeResolution1.php b/validation/frameworks/_cases/parameterTypeResolution1.php similarity index 100% rename from validation/frameworks/broken/parameterTypeResolution1.php rename to validation/frameworks/_cases/parameterTypeResolution1.php diff --git a/validation/frameworks/broken/parameterTypeResolution1.php.expected.json b/validation/frameworks/_cases/parameterTypeResolution1.php.expected.json similarity index 100% rename from validation/frameworks/broken/parameterTypeResolution1.php.expected.json rename to validation/frameworks/_cases/parameterTypeResolution1.php.expected.json diff --git a/validation/frameworks/broken/parent1.php b/validation/frameworks/_cases/parent1.php similarity index 100% rename from validation/frameworks/broken/parent1.php rename to validation/frameworks/_cases/parent1.php diff --git a/validation/frameworks/broken/parent1.php.expected.json b/validation/frameworks/_cases/parent1.php.expected.json similarity index 85% rename from validation/frameworks/broken/parent1.php.expected.json rename to validation/frameworks/_cases/parent1.php.expected.json index 0bd3113..64400b1 100644 --- a/validation/frameworks/broken/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\/broken\/parent1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent1.php" ], "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": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -34,7 +34,7 @@ "name": "B", "kind": 5, "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" }, @@ -51,7 +51,7 @@ "name": "b", "kind": 6, "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" }, @@ -70,7 +70,7 @@ "name": "A", "kind": 5, "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" }, @@ -87,7 +87,7 @@ "name": "a", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/parent2.php b/validation/frameworks/_cases/parent2.php similarity index 100% rename from validation/frameworks/broken/parent2.php rename to validation/frameworks/_cases/parent2.php diff --git a/validation/frameworks/broken/parent2.php.expected.json b/validation/frameworks/_cases/parent2.php.expected.json similarity index 100% rename from validation/frameworks/broken/parent2.php.expected.json rename to validation/frameworks/_cases/parent2.php.expected.json diff --git a/validation/frameworks/broken/parent3.php b/validation/frameworks/_cases/parent3.php similarity index 100% rename from validation/frameworks/broken/parent3.php rename to validation/frameworks/_cases/parent3.php diff --git a/validation/frameworks/broken/parent3.php.expected.json b/validation/frameworks/_cases/parent3.php.expected.json similarity index 84% rename from validation/frameworks/broken/parent3.php.expected.json rename to validation/frameworks/_cases/parent3.php.expected.json index 1acf7ab..f844c06 100644 --- a/validation/frameworks/broken/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\/broken\/parent3.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/parent3.php" ], "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": [ - "\/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": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "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": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "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" }, @@ -54,7 +54,7 @@ "name": "b", "kind": 6, "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" }, @@ -73,7 +73,7 @@ "name": "A", "kind": 5, "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" }, @@ -90,7 +90,7 @@ "name": "a", "kind": 6, "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" }, diff --git a/validation/frameworks/broken/propertyName1.php b/validation/frameworks/_cases/propertyName1.php similarity index 100% rename from validation/frameworks/broken/propertyName1.php rename to validation/frameworks/_cases/propertyName1.php diff --git a/validation/frameworks/broken/propertyName1.php.expected.json b/validation/frameworks/_cases/propertyName1.php.expected.json similarity index 87% rename from validation/frameworks/broken/propertyName1.php.expected.json rename to validation/frameworks/_cases/propertyName1.php.expected.json index 24b16fe..1f46f13 100644 --- a/validation/frameworks/broken/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\/broken\/propertyName1.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/propertyName1.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "mainPropertyName", "kind": 7, "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" }, diff --git a/validation/frameworks/broken/propertyName2.php b/validation/frameworks/_cases/propertyName2.php similarity index 100% rename from validation/frameworks/broken/propertyName2.php rename to validation/frameworks/_cases/propertyName2.php diff --git a/validation/frameworks/broken/propertyName2.php.expected.json b/validation/frameworks/_cases/propertyName2.php.expected.json similarity index 87% rename from validation/frameworks/broken/propertyName2.php.expected.json rename to validation/frameworks/_cases/propertyName2.php.expected.json index 59db6fc..ab81b73 100644 --- a/validation/frameworks/broken/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\/broken\/propertyName2.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/propertyName2.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "mainPropertyName", "kind": 7, "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" }, diff --git a/validation/frameworks/broken/returnType.php b/validation/frameworks/_cases/returnType.php similarity index 100% rename from validation/frameworks/broken/returnType.php rename to validation/frameworks/_cases/returnType.php diff --git a/validation/frameworks/broken/returnType.php.expected.json b/validation/frameworks/_cases/returnType.php.expected.json similarity index 83% rename from validation/frameworks/broken/returnType.php.expected.json rename to validation/frameworks/_cases/returnType.php.expected.json index 45831dc..479b915 100644 --- a/validation/frameworks/broken/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\/broken\/returnType.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/returnType.php" ], "TestNamespace\\TestClass2": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/returnType.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/returnType.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "TestNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/returnType.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/returnType.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "whatever", "kind": 12, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/returnType.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/returnType.php" }, "containerName": "TestNamespace" }, diff --git a/validation/frameworks/broken/scopedPropertyAccess.php b/validation/frameworks/_cases/scopedPropertyAccess.php similarity index 100% rename from validation/frameworks/broken/scopedPropertyAccess.php rename to validation/frameworks/_cases/scopedPropertyAccess.php diff --git a/validation/frameworks/broken/scopedPropertyAccess.php.expected.json b/validation/frameworks/_cases/scopedPropertyAccess.php.expected.json similarity index 82% rename from validation/frameworks/broken/scopedPropertyAccess.php.expected.json rename to validation/frameworks/_cases/scopedPropertyAccess.php.expected.json index f30d235..6a4770c 100644 --- a/validation/frameworks/broken/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\/broken\/scopedPropertyAccess.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess.php" ], "MyNamespace\\A": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/scopedPropertyAccess.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/scopedPropertyAccess.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/scopedPropertyAccess.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/scopedPropertyAccess.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/broken/scopedPropertyAccess2.php b/validation/frameworks/_cases/scopedPropertyAccess2.php similarity index 100% rename from validation/frameworks/broken/scopedPropertyAccess2.php rename to validation/frameworks/_cases/scopedPropertyAccess2.php diff --git a/validation/frameworks/broken/scopedPropertyAccess2.php.expected.json b/validation/frameworks/_cases/scopedPropertyAccess2.php.expected.json similarity index 82% rename from validation/frameworks/broken/scopedPropertyAccess2.php.expected.json rename to validation/frameworks/_cases/scopedPropertyAccess2.php.expected.json index 93d41ae..5e2faa2 100644 --- a/validation/frameworks/broken/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\/broken\/scopedPropertyAccess2.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess2.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/scopedPropertyAccess2.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess2.php" }, "containerName": "" }, diff --git a/validation/frameworks/broken/scopedPropertyAccess3.php b/validation/frameworks/_cases/scopedPropertyAccess3.php similarity index 100% rename from validation/frameworks/broken/scopedPropertyAccess3.php rename to validation/frameworks/_cases/scopedPropertyAccess3.php diff --git a/validation/frameworks/broken/scopedPropertyAccess3.php.expected.json b/validation/frameworks/_cases/scopedPropertyAccess3.php.expected.json similarity index 80% rename from validation/frameworks/broken/scopedPropertyAccess3.php.expected.json rename to validation/frameworks/_cases/scopedPropertyAccess3.php.expected.json index d64eb89..169587b 100644 --- a/validation/frameworks/broken/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\/broken\/scopedPropertyAccess3.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess3.php" ], "A::$a": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/scopedPropertyAccess3.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess3.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/scopedPropertyAccess3.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess3.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "a", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/scopedPropertyAccess3.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess3.php" }, "containerName": "A" }, diff --git a/validation/frameworks/broken/scopedPropertyAccess4.php b/validation/frameworks/_cases/scopedPropertyAccess4.php similarity index 100% rename from validation/frameworks/broken/scopedPropertyAccess4.php rename to validation/frameworks/_cases/scopedPropertyAccess4.php diff --git a/validation/frameworks/broken/scopedPropertyAccess4.php.expected.json b/validation/frameworks/_cases/scopedPropertyAccess4.php.expected.json similarity index 70% rename from validation/frameworks/broken/scopedPropertyAccess4.php.expected.json rename to validation/frameworks/_cases/scopedPropertyAccess4.php.expected.json index 015a08c..e8cb3e4 100644 --- a/validation/frameworks/broken/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\/broken\/scopedPropertyAccess4.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess4.php" ] }, "definitions": [] diff --git a/validation/frameworks/broken/scopedPropertyAccess5.php b/validation/frameworks/_cases/scopedPropertyAccess5.php similarity index 100% rename from validation/frameworks/broken/scopedPropertyAccess5.php rename to validation/frameworks/_cases/scopedPropertyAccess5.php diff --git a/validation/frameworks/broken/scopedPropertyAccess5.php.expected.json b/validation/frameworks/_cases/scopedPropertyAccess5.php.expected.json similarity index 79% rename from validation/frameworks/broken/scopedPropertyAccess5.php.expected.json rename to validation/frameworks/_cases/scopedPropertyAccess5.php.expected.json index 84d52c3..0f72e44 100644 --- a/validation/frameworks/broken/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\/broken\/scopedPropertyAccess5.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess5.php" ], "TestClass": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/scopedPropertyAccess5.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess5.php" ], "TestClass::$testProperty": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/scopedPropertyAccess5.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess5.php" ], "TestClass::$staticTestProperty": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/scopedPropertyAccess5.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess5.php" ] }, "definitions": { @@ -23,7 +23,7 @@ "name": "TestClass", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/scopedPropertyAccess5.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess5.php" }, "containerName": "" }, @@ -40,7 +40,7 @@ "name": "testProperty", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/scopedPropertyAccess5.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/scopedPropertyAccess5.php" }, "containerName": "TestClass" }, diff --git a/validation/frameworks/broken/self1.php b/validation/frameworks/_cases/self1.php similarity index 100% rename from validation/frameworks/broken/self1.php rename to validation/frameworks/_cases/self1.php diff --git a/validation/frameworks/broken/self1.php.expected.json b/validation/frameworks/_cases/self1.php.expected.json similarity index 84% rename from validation/frameworks/broken/self1.php.expected.json rename to validation/frameworks/_cases/self1.php.expected.json index d1953fb..571d579 100644 --- a/validation/frameworks/broken/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\/broken\/self1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" ], "MyNamespace\\A::b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" ], "self": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self1.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self1.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/self1.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/self1.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/self1.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self1.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/broken/self2.php b/validation/frameworks/_cases/self2.php similarity index 100% rename from validation/frameworks/broken/self2.php rename to validation/frameworks/_cases/self2.php diff --git a/validation/frameworks/broken/self2.php.expected.json b/validation/frameworks/_cases/self2.php.expected.json similarity index 84% rename from validation/frameworks/broken/self2.php.expected.json rename to validation/frameworks/_cases/self2.php.expected.json index 03b72d6..3780e2f 100644 --- a/validation/frameworks/broken/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\/broken\/self2.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" ], "MyNamespace\\A::b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self2.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" ], "self": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self2.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self2.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self2.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/self2.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/self2.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/self2.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self2.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/broken/self3.php b/validation/frameworks/_cases/self3.php similarity index 100% rename from validation/frameworks/broken/self3.php rename to validation/frameworks/_cases/self3.php diff --git a/validation/frameworks/broken/self3.php.expected.json b/validation/frameworks/_cases/self3.php.expected.json similarity index 84% rename from validation/frameworks/broken/self3.php.expected.json rename to validation/frameworks/_cases/self3.php.expected.json index e2ea5f2..9942590 100644 --- a/validation/frameworks/broken/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\/broken\/self3.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" ], "MyNamespace\\A->b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self3.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" ], "self": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self3.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self3.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self3.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/self3.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/self3.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/self3.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self3.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/broken/self4.php b/validation/frameworks/_cases/self4.php similarity index 100% rename from validation/frameworks/broken/self4.php rename to validation/frameworks/_cases/self4.php diff --git a/validation/frameworks/broken/self4.php.expected.json b/validation/frameworks/_cases/self4.php.expected.json similarity index 81% rename from validation/frameworks/broken/self4.php.expected.json rename to validation/frameworks/_cases/self4.php.expected.json index e9665ba..d99b344 100644 --- a/validation/frameworks/broken/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\/broken\/self4.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" ], "MyNamespace\\A->addTestFile()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self4.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" ], "MyNamespace\\DS": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self4.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" ], "DS": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self4.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" ] }, "definitions": { @@ -23,7 +23,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self4.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" }, "containerName": "" }, @@ -40,7 +40,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self4.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/self4.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self4.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/broken/self5.php b/validation/frameworks/_cases/self5.php similarity index 100% rename from validation/frameworks/broken/self5.php rename to validation/frameworks/_cases/self5.php diff --git a/validation/frameworks/broken/self5.php.expected.json b/validation/frameworks/_cases/self5.php.expected.json similarity index 86% rename from validation/frameworks/broken/self5.php.expected.json rename to validation/frameworks/_cases/self5.php.expected.json index 5758d93..bd151dc 100644 --- a/validation/frameworks/broken/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\/broken\/self5.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self5.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self5.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self5.php" }, "containerName": "" }, @@ -31,7 +31,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/self5.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/self5.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/self5.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/broken/static1.php b/validation/frameworks/_cases/static1.php similarity index 100% rename from validation/frameworks/broken/static1.php rename to validation/frameworks/_cases/static1.php diff --git a/validation/frameworks/broken/static1.php.expected.json b/validation/frameworks/_cases/static1.php.expected.json similarity index 84% rename from validation/frameworks/broken/static1.php.expected.json rename to validation/frameworks/_cases/static1.php.expected.json index 66591b2..8c30d6b 100644 --- a/validation/frameworks/broken/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\/broken\/static1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" ], "MyNamespace\\A::b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" ], "static": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static1.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static1.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static1.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/static1.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/static1.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/static1.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static1.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/broken/static2.php b/validation/frameworks/_cases/static2.php similarity index 100% rename from validation/frameworks/broken/static2.php rename to validation/frameworks/_cases/static2.php diff --git a/validation/frameworks/broken/static2.php.expected.json b/validation/frameworks/_cases/static2.php.expected.json similarity index 84% rename from validation/frameworks/broken/static2.php.expected.json rename to validation/frameworks/_cases/static2.php.expected.json index 363a586..e1e5ed5 100644 --- a/validation/frameworks/broken/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\/broken\/static2.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" ], "MyNamespace\\A::b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static2.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" ], "static": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static2.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static2.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static2.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/static2.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/static2.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/static2.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static2.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/broken/static3.php b/validation/frameworks/_cases/static3.php similarity index 100% rename from validation/frameworks/broken/static3.php rename to validation/frameworks/_cases/static3.php diff --git a/validation/frameworks/broken/static3.php.expected.json b/validation/frameworks/_cases/static3.php.expected.json similarity index 84% rename from validation/frameworks/broken/static3.php.expected.json rename to validation/frameworks/_cases/static3.php.expected.json index 3a82172..2ecdc99 100644 --- a/validation/frameworks/broken/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\/broken\/static3.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" ], "MyNamespace\\b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static3.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" ], "b()": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static3.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" ] }, "definitions": { @@ -20,7 +20,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static3.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" }, "containerName": "" }, @@ -37,7 +37,7 @@ "name": "B", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static3.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/static3.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/static3.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/static3.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static3.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/broken/static4.php b/validation/frameworks/_cases/static4.php similarity index 100% rename from validation/frameworks/broken/static4.php rename to validation/frameworks/_cases/static4.php diff --git a/validation/frameworks/broken/static4.php.expected.json b/validation/frameworks/_cases/static4.php.expected.json similarity index 84% rename from validation/frameworks/broken/static4.php.expected.json rename to validation/frameworks/_cases/static4.php.expected.json index cab56e3..186cbe5 100644 --- a/validation/frameworks/broken/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\/broken\/static4.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static4.php" ], "static": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static4.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static4.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "MyNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static4.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static4.php" }, "containerName": "" }, @@ -36,7 +36,7 @@ "name": "A", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/static4.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/static4.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/static4.php" }, "containerName": "MyNamespace\\A" }, diff --git a/validation/frameworks/broken/staticInArray.php b/validation/frameworks/_cases/staticInArray.php similarity index 100% rename from validation/frameworks/broken/staticInArray.php rename to validation/frameworks/_cases/staticInArray.php diff --git a/validation/frameworks/broken/staticInArray.php.expected.json b/validation/frameworks/_cases/staticInArray.php.expected.json similarity index 100% rename from validation/frameworks/broken/staticInArray.php.expected.json rename to validation/frameworks/_cases/staticInArray.php.expected.json diff --git a/validation/frameworks/broken/stringVariable.php b/validation/frameworks/_cases/stringVariable.php similarity index 100% rename from validation/frameworks/broken/stringVariable.php rename to validation/frameworks/_cases/stringVariable.php diff --git a/validation/frameworks/broken/stringVariable.php.expected.json b/validation/frameworks/_cases/stringVariable.php.expected.json similarity index 86% rename from validation/frameworks/broken/stringVariable.php.expected.json rename to validation/frameworks/_cases/stringVariable.php.expected.json index 7911934..129ac63 100644 --- a/validation/frameworks/broken/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\/broken\/stringVariable.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/stringVariable.php" }, "containerName": "" }, @@ -27,7 +27,7 @@ "name": "hi", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/stringVariable.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/stringVariable.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/stringVariable.php" }, "containerName": "B" }, diff --git a/validation/frameworks/broken/testQualifiedNameOutsideOfNamespace.php b/validation/frameworks/_cases/testQualifiedNameOutsideOfNamespace.php similarity index 100% rename from validation/frameworks/broken/testQualifiedNameOutsideOfNamespace.php rename to validation/frameworks/_cases/testQualifiedNameOutsideOfNamespace.php diff --git a/validation/frameworks/broken/testQualifiedNameOutsideOfNamespace.php.expected.json b/validation/frameworks/_cases/testQualifiedNameOutsideOfNamespace.php.expected.json similarity index 81% rename from validation/frameworks/broken/testQualifiedNameOutsideOfNamespace.php.expected.json rename to validation/frameworks/_cases/testQualifiedNameOutsideOfNamespace.php.expected.json index 331b893..c5c303e 100644 --- a/validation/frameworks/broken/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\/broken\/testQualifiedNameOutsideOfNamespace.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/testQualifiedNameOutsideOfNamespace.php" ] }, "definitions": { @@ -14,7 +14,7 @@ "name": "SomeNamespace", "kind": 3, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/testQualifiedNameOutsideOfNamespace.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/testQualifiedNameOutsideOfNamespace.php" }, "containerName": "" }, diff --git a/validation/frameworks/broken/verifyFqsenOnClassProperty.php b/validation/frameworks/_cases/verifyFqsenOnClassProperty.php similarity index 100% rename from validation/frameworks/broken/verifyFqsenOnClassProperty.php rename to validation/frameworks/_cases/verifyFqsenOnClassProperty.php diff --git a/validation/frameworks/broken/verifyFqsenOnClassProperty.php.expected.json b/validation/frameworks/_cases/verifyFqsenOnClassProperty.php.expected.json similarity index 81% rename from validation/frameworks/broken/verifyFqsenOnClassProperty.php.expected.json rename to validation/frameworks/_cases/verifyFqsenOnClassProperty.php.expected.json index b54f156..338a193 100644 --- a/validation/frameworks/broken/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\/broken\/verifyFqsenOnClassProperty.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/verifyFqsenOnClassProperty.php" ], "Foo->bar": [ - "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/verifyFqsenOnClassProperty.php" + "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/verifyFqsenOnClassProperty.php" ] }, "definitions": { @@ -17,7 +17,7 @@ "name": "Foo", "kind": 5, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/verifyFqsenOnClassProperty.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/verifyFqsenOnClassProperty.php" }, "containerName": "" }, @@ -34,7 +34,7 @@ "name": "bar", "kind": 7, "location": { - "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/broken\/verifyFqsenOnClassProperty.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_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\/broken\/verifyFqsenOnClassProperty.php" + "uri": "\/Users\/roblou\/code\/php-language-server\/tests\/Validation\/..\/..\/validation\/frameworks\/_cases\/verifyFqsenOnClassProperty.php" }, "containerName": "Foo" },