From 6a3780ce811600cf025064e026e52b49a4a3b3bb Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Sat, 5 Apr 2025 14:51:50 +0200 Subject: [PATCH] Add root files to Rector configuration --- rector.php | 1 + 1 file changed, 1 insertion(+) diff --git a/rector.php b/rector.php index 59d4ec7ef..a0a6bd794 100644 --- a/rector.php +++ b/rector.php @@ -13,6 +13,7 @@ return RectorConfig::configure() __DIR__ . '/tests', __DIR__ . '/web', ]) + ->withRootFiles() ->withImportNames(importShortClasses: false) ->withAttributesSets(doctrine: true) ->withConfiguredRule(ClassPropertyAssignToConstructorPromotionRector::class, [