From c2d584679c3c95658c02890e67023cdd9b03ce4e Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Tue, 18 Nov 2025 17:28:29 +0100 Subject: [PATCH] chore(tooling): improve rector config - remove deprecated strictBooleans set - order rule sets inside withPreparedSets --- rector.php | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/rector.php b/rector.php index ec43bc70a..6bb3e8dd5 100644 --- a/rector.php +++ b/rector.php @@ -79,18 +79,17 @@ return RectorConfig::configure() ]) ->withPhpSets() ->withPreparedSets( - carbon: true, + deadCode: true, codeQuality: true, codingStyle: true, - deadCode: true, - earlyReturn: true, - instanceOf: true, - naming: true, - phpunitCodeQuality: true, - privatization: true, - rectorPreset: true, - strictBooleans: true, typeDeclarations: true, + privatization: true, + naming: true, + instanceOf: true, + earlyReturn: true, + carbon: true, + rectorPreset: true, + phpunitCodeQuality: true, ) ->withAttributesSets() ->withRules([