From bf84eedfc3916d47b911bd38bea481573351f2cd Mon Sep 17 00:00:00 2001 From: Priyadi Iman Nurcahyo <1102197+priyadi@users.noreply.github.com> Date: Wed, 17 Jul 2024 21:58:46 +0700 Subject: [PATCH] cleanup --- rector.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rector.php b/rector.php index 665c369..17b8bc8 100644 --- a/rector.php +++ b/rector.php @@ -7,12 +7,10 @@ use Rector\CodeQuality\Rector\If_\CombineIfRector; use Rector\CodeQuality\Rector\If_\SimplifyIfElseToTernaryRector; use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector; -use Rector\CodingStyle\Rector\Stmt\NewlineAfterStatementRector; use Rector\Config\RectorConfig; use Rector\DeadCode\Rector\Assign\RemoveUnusedVariableAssignRector; use Rector\DeadCode\Rector\ClassMethod\RemoveUselessReturnTagRector; use Rector\DeadCode\Rector\Node\RemoveNonExistingVarAnnotationRector; -use Rector\DeadCode\Rector\TryCatch\RemoveDeadTryCatchRector; use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector; use Rector\Strict\Rector\Ternary\DisallowedShortTernaryRuleFixerRector; @@ -38,6 +36,7 @@ // uncomment to reach your current PHP version ->withPhpSets(php82: true) ->withRules([ + AddOverrideAttributeToOverriddenMethodsRector::class, ]) ->withSkip([ SimplifyUselessVariableRector::class => [