From 8fa3959fd02c8c487fe5f354e7c8766688efb20a Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 1 Sep 2025 18:27:28 +0700 Subject: [PATCH 1/2] Remove removed "Rector\Symfony\Set\FOSRestSetList" usage --- src/Configuration/RectorConfigBuilder.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Configuration/RectorConfigBuilder.php b/src/Configuration/RectorConfigBuilder.php index 588aec729d7..bbc9455b3e0 100644 --- a/src/Configuration/RectorConfigBuilder.php +++ b/src/Configuration/RectorConfigBuilder.php @@ -31,7 +31,6 @@ use Rector\Set\SetManager; use Rector\Set\ValueObject\DowngradeLevelSetList; use Rector\Set\ValueObject\SetList; -use Rector\Symfony\Set\FOSRestSetList; use Rector\Symfony\Set\JMSSetList; use Rector\Symfony\Set\SensiolabsSetList; use Rector\Symfony\Set\SymfonySetList; @@ -510,10 +509,6 @@ public function withAttributesSets( $this->sets[] = PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES; } - if ($fosRest || $all) { - $this->sets[] = FOSRestSetList::ANNOTATIONS_TO_ATTRIBUTES; - } - if ($jms || $all) { $this->sets[] = JMSSetList::ANNOTATIONS_TO_ATTRIBUTES; } From b684aff06bfe2b55b220d76af01a4d314e54c576 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 1 Sep 2025 18:28:38 +0700 Subject: [PATCH 2/2] SetList more removal --- src/Configuration/RectorConfigBuilder.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Configuration/RectorConfigBuilder.php b/src/Configuration/RectorConfigBuilder.php index bbc9455b3e0..fde4bec627d 100644 --- a/src/Configuration/RectorConfigBuilder.php +++ b/src/Configuration/RectorConfigBuilder.php @@ -31,8 +31,6 @@ use Rector\Set\SetManager; use Rector\Set\ValueObject\DowngradeLevelSetList; use Rector\Set\ValueObject\SetList; -use Rector\Symfony\Set\JMSSetList; -use Rector\Symfony\Set\SensiolabsSetList; use Rector\Symfony\Set\SymfonySetList; use Rector\ValueObject\Configuration\LevelOverflow; use Rector\ValueObject\PhpVersion; @@ -509,14 +507,6 @@ public function withAttributesSets( $this->sets[] = PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES; } - if ($jms || $all) { - $this->sets[] = JMSSetList::ANNOTATIONS_TO_ATTRIBUTES; - } - - if ($sensiolabs || $all) { - $this->sets[] = SensiolabsSetList::ANNOTATIONS_TO_ATTRIBUTES; - } - if ($behat || $all) { $this->sets[] = SetList::BEHAT_ANNOTATIONS_TO_ATTRIBUTES; }