From 262c68d33875ff946c8b9b0682d6fa7499a1cc11 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Fri, 7 Aug 2026 19:18:34 +0700 Subject: [PATCH 1/3] Fix e2e scoped build on rector/rector --- build/target-repository/e2e/attributes/rector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/target-repository/e2e/attributes/rector.php b/build/target-repository/e2e/attributes/rector.php index 027d3fda920..a74c776f842 100644 --- a/build/target-repository/e2e/attributes/rector.php +++ b/build/target-repository/e2e/attributes/rector.php @@ -7,7 +7,7 @@ use Rector\ValueObject\PhpVersion; return static function (RectorConfig $rectorConfig): void { - $rectorConfig->sets([SymfonySetList::SYMFONY_52]); + $rectorConfig->sets([SymfonySetList::ANNOTATIONS_TO_ATTRIBUTES]); $rectorConfig->phpVersion(PhpVersion::PHP_80); $rectorConfig->paths([__DIR__ . '/src']); From e65d577b8426e0767a41819faf69048c4104923d Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 7 Aug 2026 12:20:52 +0000 Subject: [PATCH 2/3] [ci-review] Rector Rectify --- bin/rector.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/rector.php b/bin/rector.php index ef8161e1ffa..532970222d8 100755 --- a/bin/rector.php +++ b/bin/rector.php @@ -147,6 +147,7 @@ public function loadIfExistsAndNotLoadedYet(string $filePath): void do { $errors[] = $throwable->getMessage(); } while ($throwable = $throwable->getPrevious()); + echo Json::encode([ 'fatal_errors' => $errors, ]); From 284583b3c6d8489e23ef2615f2fc07906e2f5453 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Fri, 7 Aug 2026 19:23:16 +0700 Subject: [PATCH 3/3] fix unit test here --- tests/Config/RectorConfigTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Config/RectorConfigTest.php b/tests/Config/RectorConfigTest.php index ac0d3a8ca85..7bc91bcb011 100644 --- a/tests/Config/RectorConfigTest.php +++ b/tests/Config/RectorConfigTest.php @@ -28,7 +28,7 @@ public function test(): void $rectorConfig = $this->getContainer(); $rectorConfig->configure() - ->withSets([TwigSetList::TWIG_134]) + ->withSets([TwigSetList::COMPOSER_BASED]) ->withRules([ReturnTypeFromReturnNewRector::class])($rectorConfig); // only collect root withRules()