diff --git a/tests/Validation/ValidationTest.php b/tests/Validation/ValidationTest.php index 8a6c7c6..be5159f 100644 --- a/tests/Validation/ValidationTest.php +++ b/tests/Validation/ValidationTest.php @@ -170,7 +170,7 @@ class ValidationTest extends TestCase $this->assertEquals($symbolInfo[$testCaseFile], $symbols, "defn->symbolInformation does not match"); - $skipped = ['false', 'true', 'null', 'FALSE', 'TRUE', 'NULL', 'parent', 'PARENT', 'self', 'static']; +// $skipped = ['false', 'true', 'null', 'FALSE', 'TRUE', 'NULL', 'parent', 'PARENT', 'self', 'static']; $skipped = []; foreach ($this->getIndex($parserKinds[0], $frameworkName)->references as $key=>$value) { foreach ($skipped as $s) { diff --git a/validation/frameworks/broken/constants.php b/validation/frameworks/broken/constants.php new file mode 100644 index 0000000..23423cf --- /dev/null +++ b/validation/frameworks/broken/constants.php @@ -0,0 +1,13 @@ + BYE + ]; + } +} \ No newline at end of file diff --git a/validation/frameworks/broken/constants2.php b/validation/frameworks/broken/constants2.php new file mode 100644 index 0000000..fda345e --- /dev/null +++ b/validation/frameworks/broken/constants2.php @@ -0,0 +1,13 @@ + "hi" + ]; + } +} \ No newline at end of file diff --git a/validation/frameworks/broken/constants3.php b/validation/frameworks/broken/constants3.php new file mode 100644 index 0000000..7ee1dde --- /dev/null +++ b/validation/frameworks/broken/constants3.php @@ -0,0 +1,11 @@ +a(); + } +} diff --git a/validation/frameworks/broken/memberAccess3.php b/validation/frameworks/broken/memberAccess3.php new file mode 100644 index 0000000..b2078d7 --- /dev/null +++ b/validation/frameworks/broken/memberAccess3.php @@ -0,0 +1,13 @@ +prefixesPsr0 = ComposerStaticInitIncludePath::$prefixesPsr0; + + }, null, ClassLoader::class); + } +} diff --git a/validation/frameworks/broken/memberAccess4.php b/validation/frameworks/broken/memberAccess4.php new file mode 100644 index 0000000..dd1b2fb --- /dev/null +++ b/validation/frameworks/broken/memberAccess4.php @@ -0,0 +1,10 @@ +toString()); + } +} diff --git a/validation/frameworks/broken/namespaces2.php b/validation/frameworks/broken/namespaces2.php new file mode 100644 index 0000000..a49478d --- /dev/null +++ b/validation/frameworks/broken/namespaces2.php @@ -0,0 +1,5 @@ +hi(); + } +} diff --git a/validation/frameworks/broken/scopedPropertyAccess2.php b/validation/frameworks/broken/scopedPropertyAccess2.php new file mode 100644 index 0000000..61a7131 --- /dev/null +++ b/validation/frameworks/broken/scopedPropertyAccess2.php @@ -0,0 +1,6 @@ +addTestFile(__DIR__ . DS . 'Database' . DS . 'ConnectionTest.php'); + + } +} \ No newline at end of file diff --git a/validation/frameworks/broken/self5.php b/validation/frameworks/broken/self5.php new file mode 100644 index 0000000..0fcd08f --- /dev/null +++ b/validation/frameworks/broken/self5.php @@ -0,0 +1,12 @@ +assertTrue("HI"); + } +} \ No newline at end of file diff --git a/validation/frameworks/broken/static4.php b/validation/frameworks/broken/static4.php new file mode 100644 index 0000000..bada62f --- /dev/null +++ b/validation/frameworks/broken/static4.php @@ -0,0 +1,9 @@ +