From bb6c19e566db1ebd9fb31b63c18cb115c7533ed6 Mon Sep 17 00:00:00 2001 From: Evan Sims Date: Mon, 12 Jun 2023 15:34:10 -0500 Subject: [PATCH] Remove deprecated rules --- rector.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/rector.php b/rector.php index 876dc47c..68f299a1 100644 --- a/rector.php +++ b/rector.php @@ -342,7 +342,7 @@ AddParamBasedOnParentClassMethodRector::class, AddParamTypeBasedOnPHPUnitDataProviderRector::class, AddParamTypeSplFixedArrayRector::class, - AddPregQuoteDelimiterRector::class, + // AddPregQuoteDelimiterRector::class, AddReturnTypeDeclarationBasedOnParentClassMethodRector::class, AddReturnTypeDeclarationFromYieldsRector::class, AddVoidReturnTypeWhereNoReturnRector::class, @@ -366,8 +366,8 @@ ChangeNestedForeachIfsToEarlyContinueRector::class, ChangeNestedIfsToEarlyReturnRector::class, ChangeOrIfContinueToMultiContinueRector::class, - ChangeReadOnlyPropertyWithDefaultValueToConstantRector::class, - ChangeReadOnlyVariableWithDefaultValueToConstantRector::class, + // ChangeReadOnlyPropertyWithDefaultValueToConstantRector::class, + // ChangeReadOnlyVariableWithDefaultValueToConstantRector::class, ChangeSwitchToMatchRector::class, ClassOnObjectRector::class, ClassOnThisVariableObjectRector::class, @@ -379,13 +379,13 @@ CompleteDynamicPropertiesRector::class, ConsecutiveNullCompareReturnsToNullCoalesceQueueRector::class, ConsistentImplodeRector::class, - ConsistentPregDelimiterRector::class, + // ConsistentPregDelimiterRector::class, CountArrayToEmptyArrayComparisonRector::class, CountArrayToEmptyArrayComparisonRector::class, EmptyOnNullableObjectToInstanceOfRector::class, EncapsedStringsToSprintfRector::class, ExplicitBoolCompareRector::class, - ExplicitMethodCallOverMagicGetSetRector::class, + // ExplicitMethodCallOverMagicGetSetRector::class, FinalizeClassesWithoutChildrenRector::class, FinalPrivateToPrivateVisibilityRector::class, FlipTypeControlToUseExclusiveTypeRector::class, @@ -393,7 +393,7 @@ ForeachItemsAssignToEmptyArrayToAssignRector::class, ForeachToInArrayRector::class, ForRepeatedCountToOwnVariableRector::class, - ForToForeachRector::class, + // ForToForeachRector::class, FuncGetArgsToVariadicParamRector::class, FuncGetArgsToVariadicParamRector::class, GetClassToInstanceOfRector::class, @@ -438,11 +438,11 @@ RemoveDeadZeroAndOneOperationRector::class, RemoveDelegatingParentCallRector::class, RemoveDoubleAssignRector::class, - RemoveDoubleUnderscoreInMethodNameRector::class, + // RemoveDoubleUnderscoreInMethodNameRector::class, RemoveDuplicatedArrayKeyRector::class, RemoveDuplicatedCaseInSwitchRector::class, - RemoveDuplicatedIfReturnRector::class, - RemoveDuplicatedInstanceOfRector::class, + // RemoveDuplicatedIfReturnRector::class, + // RemoveDuplicatedInstanceOfRector::class, RemoveEmptyClassMethodRector::class, RemoveEmptyMethodCallRector::class, RemoveEmptyTestMethodRector::class, @@ -502,7 +502,7 @@ SimplifyFuncGetArgsCountRector::class, SimplifyIfElseToTernaryRector::class, SimplifyIfElseWithSameContentRector::class, - SimplifyIfExactValueReturnValueRector::class, + // SimplifyIfExactValueReturnValueRector::class, SimplifyIfNotNullReturnRector::class, SimplifyIfNullableReturnRector::class, SimplifyIfReturnBoolRector::class, @@ -511,14 +511,14 @@ SimplifyRegexPatternRector::class, SimplifyStrposLowerRector::class, SimplifyTautologyTernaryRector::class, - SimplifyUselessLastVariableAssignRector::class, + // SimplifyUselessLastVariableAssignRector::class, SimplifyUselessVariableRector::class, SingleInArrayToCompareRector::class, SingularSwitchToIfRector::class, SplitDoubleAssignRector::class, SplitGroupedClassConstantsRector::class, SplitGroupedPropertiesRector::class, - SplitListAssignToSeparateLineRector::class, + // SplitListAssignToSeparateLineRector::class, StaticArrowFunctionRector::class, StaticClosureRector::class, StrContainsRector::class, @@ -535,7 +535,7 @@ TernaryFalseExpressionToIfRector::class, TernaryToBooleanOrFalseToBooleanAndRector::class, ThrowWithPreviousExceptionRector::class, - TokenGetAllToObjectRector::class, + // TokenGetAllToObjectRector::class, TypedPropertyFromAssignsRector::class, TypedPropertyFromStrictConstructorRector::class, TypedPropertyFromStrictGetterMethodReturnTypeRector::class,