diff --git a/tests/Issues/EmptyLongArraySyntax/EmptyLongArraySyntaxTest.php b/tests/Issues/EmptyLongArraySyntax/EmptyLongArraySyntaxTest.php deleted file mode 100644 index 6dd6e36f39e..00000000000 --- a/tests/Issues/EmptyLongArraySyntax/EmptyLongArraySyntaxTest.php +++ /dev/null @@ -1,28 +0,0 @@ -doTestFile($filePath); - } - - public static function provideData(): Iterator - { - return self::yieldFilesFromDirectory(__DIR__ . '/Fixture'); - } - - public function provideConfigFilePath(): string - { - return __DIR__ . '/config/configured_rule.php'; - } -} diff --git a/tests/Issues/EmptyLongArraySyntax/Fixture/empty_long_array.php.inc b/tests/Issues/EmptyLongArraySyntax/Fixture/empty_long_array.php.inc deleted file mode 100644 index ecf782bedac..00000000000 --- a/tests/Issues/EmptyLongArraySyntax/Fixture/empty_long_array.php.inc +++ /dev/null @@ -1,33 +0,0 @@ - ------ - diff --git a/tests/Issues/EmptyLongArraySyntax/Source/ParentWithEmptyLongArray.php b/tests/Issues/EmptyLongArraySyntax/Source/ParentWithEmptyLongArray.php deleted file mode 100644 index 32db379c6a5..00000000000 --- a/tests/Issues/EmptyLongArraySyntax/Source/ParentWithEmptyLongArray.php +++ /dev/null @@ -1,12 +0,0 @@ -withRules([SensitiveConstantNameRector::class, AddParamBasedOnParentClassMethodRector::class]); diff --git a/tests/Issues/GetValueMagicDir/Fixture/fixture.php.inc b/tests/Issues/GetValueMagicDir/Fixture/fixture.php.inc deleted file mode 100644 index 1e189224851..00000000000 --- a/tests/Issues/GetValueMagicDir/Fixture/fixture.php.inc +++ /dev/null @@ -1,33 +0,0 @@ - ['foo' => __DIR__ . '/bar']]); - } -} - -?> ------ - ['foo' => 'tests/Issues/GetValueMagicDir/Fixture/bar']]; - } -} - -?> diff --git a/tests/Issues/GetValueMagicDir/GetValueMagicDirTest.php b/tests/Issues/GetValueMagicDir/GetValueMagicDirTest.php deleted file mode 100644 index adcb498718b..00000000000 --- a/tests/Issues/GetValueMagicDir/GetValueMagicDirTest.php +++ /dev/null @@ -1,28 +0,0 @@ -doTestFile($filePath); - } - - public static function provideData(): Iterator - { - return self::yieldFilesFromDirectory(__DIR__ . '/Fixture'); - } - - public function provideConfigFilePath(): string - { - return __DIR__ . '/config/configured_rule.php'; - } -} diff --git a/tests/Issues/GetValueMagicDir/Source/GetValueMagicDirRector.php b/tests/Issues/GetValueMagicDir/Source/GetValueMagicDirRector.php deleted file mode 100644 index 2827fe448ed..00000000000 --- a/tests/Issues/GetValueMagicDir/Source/GetValueMagicDirRector.php +++ /dev/null @@ -1,49 +0,0 @@ -valueResolver->getValue($node->args[0]->value); - - if ($node instanceof FuncCall) { - return new String_($this->filePathHelper->relativePath($value)); - } - - $value['bar']['foo'] = $this->filePathHelper->relativePath($value['bar']['foo']); - return $this->nodeFactory->createArray($value); - } -} diff --git a/tests/Issues/GetValueMagicDir/config/configured_rule.php b/tests/Issues/GetValueMagicDir/config/configured_rule.php deleted file mode 100644 index 70c2ddb94b8..00000000000 --- a/tests/Issues/GetValueMagicDir/config/configured_rule.php +++ /dev/null @@ -1,9 +0,0 @@ -withRules([GetValueMagicDirRector::class]); diff --git a/tests/Issues/RenameString/Fixture/rename_string.php.inc b/tests/Issues/RenameString/Fixture/rename_string.php.inc deleted file mode 100644 index ecaa78e2cc8..00000000000 --- a/tests/Issues/RenameString/Fixture/rename_string.php.inc +++ /dev/null @@ -1,35 +0,0 @@ - ------ - diff --git a/tests/Issues/RenameString/RenameStringTest.php b/tests/Issues/RenameString/RenameStringTest.php deleted file mode 100644 index e432141129d..00000000000 --- a/tests/Issues/RenameString/RenameStringTest.php +++ /dev/null @@ -1,28 +0,0 @@ -doTestFile($filePath); - } - - public static function provideData(): Iterator - { - return self::yieldFilesFromDirectory(__DIR__ . '/Fixture'); - } - - public function provideConfigFilePath(): string - { - return __DIR__ . '/config/configured_rule.php'; - } -} diff --git a/tests/Issues/RenameString/config/configured_rule.php b/tests/Issues/RenameString/config/configured_rule.php deleted file mode 100644 index a5835ec442a..00000000000 --- a/tests/Issues/RenameString/config/configured_rule.php +++ /dev/null @@ -1,15 +0,0 @@ -rule(StringClassNameToClassConstantRector::class); - - $rectorConfig->ruleWithConfiguration(RenameStringRector::class, [ - 'Rector\Tests\Issues\RenameString\Fixture\RenameString' => 'new test', - ]); -};