From a57027cb53601ac3415e36171280da4d6c5f2161 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sun, 19 Oct 2025 23:00:10 +0700 Subject: [PATCH] Remove mix DowngradeSetAccessibleReflectionPropertyRector+DowngradeMatchToSwitchRector tests that moved to rector-downgrade-php --- .../fixture.php.inc | 46 ------------------- .../MatchToSwitchReflectionTest.php | 28 ----------- .../config/match_to_switch_reflection.php | 10 ---- 3 files changed, 84 deletions(-) delete mode 100644 tests/Issues/ScopeNotAvailable/FixtureMatchToSwitchReflection/fixture.php.inc delete mode 100644 tests/Issues/ScopeNotAvailable/MatchToSwitchReflectionTest.php delete mode 100644 tests/Issues/ScopeNotAvailable/config/match_to_switch_reflection.php diff --git a/tests/Issues/ScopeNotAvailable/FixtureMatchToSwitchReflection/fixture.php.inc b/tests/Issues/ScopeNotAvailable/FixtureMatchToSwitchReflection/fixture.php.inc deleted file mode 100644 index 46621dc20f5..00000000000 --- a/tests/Issues/ScopeNotAvailable/FixtureMatchToSwitchReflection/fixture.php.inc +++ /dev/null @@ -1,46 +0,0 @@ -setValue($e, $message); - - throw $e; - } - } -} - -?> ------ -setAccessible(true); - } - $r->setValue($e, $message); - - throw $e; - } - } -} - -?> diff --git a/tests/Issues/ScopeNotAvailable/MatchToSwitchReflectionTest.php b/tests/Issues/ScopeNotAvailable/MatchToSwitchReflectionTest.php deleted file mode 100644 index 7c26f16dfc0..00000000000 --- a/tests/Issues/ScopeNotAvailable/MatchToSwitchReflectionTest.php +++ /dev/null @@ -1,28 +0,0 @@ -doTestFile($filePath); - } - - public static function provideData(): Iterator - { - return self::yieldFilesFromDirectory(__DIR__ . '/FixtureMatchToSwitchReflection'); - } - - public function provideConfigFilePath(): string - { - return __DIR__ . '/config/match_to_switch_reflection.php'; - } -} diff --git a/tests/Issues/ScopeNotAvailable/config/match_to_switch_reflection.php b/tests/Issues/ScopeNotAvailable/config/match_to_switch_reflection.php deleted file mode 100644 index b906042b8f0..00000000000 --- a/tests/Issues/ScopeNotAvailable/config/match_to_switch_reflection.php +++ /dev/null @@ -1,10 +0,0 @@ -withRules([DowngradeSetAccessibleReflectionPropertyRector::class, DowngradeMatchToSwitchRector::class]);