Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

Coming from rector

Config translation

pun migrate keeps the old config and reports what it skips. Planned rules do not run.

Run pun migrate --from rector after composer install. It reads rector.php through the project’s Rector, so it needs system PHP.

rector.php pun.toml
->withPreparedSets(deadCode: true) [lint] sets = ["dead-code"]
typeDeclarations: true The types lint set
PHP upgrade sets from PHP 8.2 The modernize set, gated by the target version
Explicit rules and set differences [lint.rules] at "error" or "off"
->withConfiguredRule() Rule options with kebab-case keys; lists under items
Some of the Rector rules of one Pun rule, such as ForeachToArrayFindRector without the other ForeachToArray*Rector rules The Pun rule with its option that limits it to those rewrites, such as functions = ["array-find"]
->withPaths(), path skips [lint] exclude and [[lint.overrides]]
Closures, null values, custom rules, excluded sets Reported and skipped

Layout-only Rector rules map to format rules. The migration reports any that [format] does not run.

Rule mapping

1108 of 1108 upstream entries

Upstream namePun ruleNotes
AbsolutizeRequireAndIncludePathrectorlint/complexity/prefer-absolute-includeSame.
AddArrayAnyAllClosureParamTyperectorlint/types/add-param-type-array-any-allSame.
AddArrayFunctionClosureParamTyperectorlint/types/add-param-type-array-functionSame.
AddArrowFunctionParamArrayWhereDimFetchrectorlint/types/add-param-type-arrow-dim-fetchSame.
AddArrowFunctionReturnTyperectorlint/types/add-arrow-function-return-typeSame.
AddAssertArrayFromClassMethodDocblockrector—deprecated upstream (2.7.0, main)
AddClosureNeverReturnTyperectorlint/types/add-closure-never-returnSame.
AddClosureParamTypeForArrayMaprectorlint/types/add-param-type-array-mapSame.
AddClosureParamTypeForArrayReducerectorlint/types/add-param-type-array-reduceSame.
AddClosureParamTypeFromIterableMethodCallrectorlint/types/add-param-type-iterable-method-callSame.
AddClosureParamTypeFromVariableCallrectorlint/types/add-param-type-variable-callSame.
AddClosureVoidReturnTypeWhereNoReturnrectorlint/types/add-closure-void-returnSame.
AddEscapeArgumentrectorlint/php-8.4/add-csv-escape-argumentSame.
AddFunctionVoidReturnTypeWhereNoReturnrectorlint/types/add-function-void-returnSame.
AddInterfaceByTraitrector—deprecated upstream (2.7.0, main)
AddMethodCallBasedStrictParamTyperectorlint/types/add-param-type-method-callSame. Options: renamed for TOML: [options."lint/types/add-param-type-method-call"] (Rector's treatClassesAsFinal() feature flag).
AddNameToBooleanArgumentrector—only in sets outside the eight prepared sets: named-args
AddNameToNullArgumentrector—only in sets outside the eight prepared sets: named-args
AddOverrideAttributeToOverriddenMethodsrector—deprecated upstream (2.8.4, main)
AddOverrideAttributeToOverriddenPropertiesrectorlint/refactor/add-override-attributeMerged with property.missingOverride.
AddParamArrayDocblockBasedOnArrayMaprector—deprecated upstream (2.7.0, main)
AddParamArrayDocblockBasedOnCallableNativeFuncCallrectorlint/types/add-param-phpdoc-from-callable-callSame.
AddParamArrayDocblockFromAssignsParamToParamReferencerectorlint/types/add-param-phpdoc-from-reference-assignSame.
AddParamArrayDocblockFromDataProviderrector—deprecated upstream (2.6.1, 2.7.0, main)
AddParamArrayDocblockFromDimFetchAccessrectorlint/types/add-param-phpdoc-from-dim-fetchSame.
AddParamBasedOnParentClassMethodrector—only in php52..php81 upgrade sets (below php82)
AddParamFromDimFetchKeyUserectorlint/types/add-param-type-dim-fetch-keySame.
AddParamStringTypeFromSprintfUserector—deprecated upstream (2.8.4, main)
AddParamTypeBasedOnPHPUnitDataProviderrectorlint/types/add-param-type-data-providerSame.
AddParamTypeDeclarationrector—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
AddParamTypeFromPropertyTyperectorlint/types/add-param-type-propertySame.
AddParamTypeSplFixedArrayrectorlint/types/add-param-type-spl-fixed-arraySame.
AddParamTypeToRefactorMethodrector—only in sets outside the eight prepared sets: rector-preset
AddPropertyTypeDeclarationrector—in no set
AddReturnArrayDocblockBasedOnArrayMaprector—deprecated upstream (2.7.0, main)
AddReturnArrayDocblockFromDataProviderParamrector—deprecated upstream (2.6.1, 2.7.0, main)
AddReturnDocblockDataProviderrector—deprecated upstream (2.6.1, 2.7.0, main)
AddReturnDocblockForArrayDimAssignedObjectrectorlint/types/add-return-phpdoc-dim-assigned-objectSame.
AddReturnDocblockForCommonObjectDenominatorrectorlint/types/add-return-phpdoc-common-objectSame.
AddReturnDocblockForDimFetchArrayFromAssignsrector—deprecated upstream (2.7.0, main)
AddReturnDocblockForJsonArrayrectorlint/types/add-return-phpdoc-json-arraySame.
AddReturnDocblockForScalarArrayFromAssignsrectorlint/types/add-return-phpdoc-scalar-arraySame.
AddReturnDocblockFromMethodCallDocblockrector—deprecated upstream (2.6.1, 2.7.0, main)
AddReturnTypeDeclarationrector—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
AddReturnTypeDeclarationBasedOnParentClassMethodrectorlint/types/add-return-type-from-parentSame.
AddReturnTypeDeclarationFromYieldsrectorlint/types/add-return-type-from-yieldSame.
AddReturnTypeFromTryCatchTyperectorlint/types/add-return-type-from-try-catchSame.
AddSensitiveParameterAttributerector—deprecated upstream (2.7.0, main)
AddTestsVoidReturnTypeWhereNoReturnrectorlint/phpunit/add-test-void-returnSame.
AddTypeToConstrectorlint/php-8.3/add-const-typeSame. Options: renamed for TOML: [options."lint/php-8.3/add-const-type"] (Rector's treatClassesAsFinal() feature flag).
AddVarArrayDocblockFromDimFetchAssignrectorlint/types/add-var-phpdoc-from-dim-fetchSame.
AddVoidReturnTypeWhereNoReturnrectorlint/types/add-method-void-returnSame.
AlternativeIfToBracketrectorformat/control-flow/no-alternative-syntaxMerged with no_alternative_syntax, no-alternative-syntax.
AndAssignsToSeparateLinesrectorlint/complexity/no-and-assignmentSame.
AnnotationToAttributerectorlint/refactor/prefer-attribute-over-annotationSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
ArgumentAdderrector—only in php52..php81 upgrade sets (below php82)
ArgumentRemoverrector—in no set
ArrayDimFetchToMethodCallrector—deprecated upstream (2.8.4, main)
ArrayExplicitBoolComparerectorlint/complexity/prefer-explicit-array-comparisonSame.
ArrayFirstLastrectorlint/php-8.5/prefer-array-first-lastSame.
ArrayKeyExistsNullToEmptyStringrectorlint/php-8.5/no-null-array-keySame.
ArrayKeyExistsOnPropertyrector—only in php52..php81 upgrade sets (below php82)
ArrayKeyExistsTernaryThenValueToCoalescingrectorlint/complexity/prefer-null-coalesceMerged with ConsecutiveNullCompareReturnsToNullCoalesceQueue, SimplifyForeachToCoalescing.
ArrayKeyFirstLastrector—only in php52..php81 upgrade sets (below php82)
ArrayKeysToArrayKeyFirstLastrector—only in php52..php81 upgrade sets (below php82)
ArrayMergeOfNonArraysToSimpleArrayrectorlint/complexity/prefer-array-literalSame.
ArrayParamTypeByMethodCallTyperector—deprecated upstream (main)
ArraySpreadInsteadOfArrayMergerector—deprecated upstream (2.6.1, 2.7.0, main)
ArrayToFirstClassCallablerector—only in php52..php81 upgrade sets (below php82)
ArrowFunctionDelegatingCallToFirstClassCallablerector—only in php52..php81 upgrade sets (below php82)
AssignArrayToStringrector—only in php52..php81 upgrade sets (below php82)
AttributeKeyToClassConstFetchrector—in no set
BinaryOpBetweenNumberAndStringrector—only in php52..php81 upgrade sets (below php82)
BinaryOpNullableToInstanceofrector—only in sets outside the eight prepared sets: instanceof
BinaryOpStandaloneAssignsToDirectrector—deprecated upstream (2.6.1, 2.7.0, main)
BoolReturnTypeFromBooleanConstAndStrictReturnsrectorlint/types/add-bool-return-type-from-mixed-returnsSame. Planned: not ported yet.
BoolReturnTypeFromBooleanConstReturnsrectorlint/types/add-bool-return-type-from-constSame.
BoolReturnTypeFromBooleanStrictReturnsrectorlint/types/add-bool-return-typeSame.
BooleanNotIdenticalToNotIdenticalrectorlint/complexity/prefer-simple-conditionMerged with SimplifyBoolIdenticalTrue, SimplifyConditions.
BreakNotInLoopOrSwitchToReturnrector—only in php52..php81 upgrade sets (below php82)
CallUserFuncArrayToVariadicrectorlint/style/prefer-spreadSame.
CallUserFuncToMethodCallrectorlint/functions/no-call-user-func-methodSame.
CallUserFuncWithArrowFunctionToInlinerector—deprecated upstream (main)
CallUserMethodrector—only in php52..php81 upgrade sets (below php82)
CatchExceptionNameMatchingTyperectorlint/style/prefer-catch-name-from-typeSame.
ChangeArrayPushToArrayAssignrectorlint/style/no-array-pushMerged with array_push.
ChangeConstantVisibilityrector—in no set
ChangeIfElseValueAssignToEarlyReturnrectorlint/style/prefer-early-returnMerged with prefer-early-return.
ChangeMethodVisibilityrector—in no set
ChangeNestedForeachIfsToEarlyContinuerector—deprecated upstream (2.7.0, main)
ChangeNestedIfsToEarlyReturnrector—deprecated upstream (2.7.0, main)
ChangeOrIfContinueToMultiContinuerector—deprecated upstream (2.7.0, main)
ChangeSwitchToMatchrector—only in php52..php81 upgrade sets (below php82)
ChildDoctrineRepositoryClassTyperector—Doctrine rules: out of scope (Laravel-first); migrate lists them
ChrArgModulorectorlint/php-8.5/no-out-of-range-chrSame.
ClassConstantToSelfClassrector—only in php52..php81 upgrade sets (below php82)
ClassMethodArrayDocblockParamFromLocalCallsrectorlint/types/add-param-phpdoc-from-local-callsSame.
ClassOnObjectrector—only in php52..php81 upgrade sets (below php82)
ClassOnThisVariableObjectrector—only in php52..php81 upgrade sets (below php82)
ClassPropertyAssignToConstructorPromotionrector—only in php52..php81 upgrade sets (below php82)
ClassRenamingPostrector—Rector-internal post-processing step of RenameClass, not a user rule
CleanupUnneededNullsafeOperatorrectorlint/types/no-nullsafe-on-non-nullSame.
ClosureDelegatingCallToFirstClassCallablerector—only in php52..php81 upgrade sets (below php82)
ClosureFromCallableToFirstClassCallablerector—only in php52..php81 upgrade sets (below php82)
ClosureReturnTyperectorlint/types/add-closure-return-typeSame.
ClosureReturnTypeFromAssertInstanceOfrectorlint/phpunit/add-closure-return-type-from-assertSame.
ClosureToArrowFunctionrector—only in php52..php81 upgrade sets (below php82)
CoalesceToTernaryrector—deprecated upstream (2.7.0, main)
ColonAfterSwitchCaserectorformat/control-flow/switch-case-colonMerged with switch_case_semicolon_to_colon, deprecated-switch-semicolon.
CombineHostPortLdapUrirectorlint/php-8.3/prefer-ldap-uriSame.
CombineIfrector—deprecated upstream (2.7.0, main)
CombinedAssignrectorlint/style/prefer-compound-assignmentMerged with long_to_shorthand_operator, use-compound-assignment.
CommonNotEqualrectorformat/operators/standardize-not-equalsMerged with standardize_not_equals.
CompactToVariablesrectorlint/complexity/no-compactSame.
CompleteDynamicPropertiesrector—deprecated upstream (2.8.4, main)
CompleteMissingIfElseBracketrectorformat/control-flow/bracesMerged with control_structure_braces, block-statement.
ConsecutiveNullCompareReturnsToNullCoalesceQueuerectorlint/complexity/prefer-null-coalesceMerged with ArrayKeyExistsTernaryThenValueToCoalescing, SimplifyForeachToCoalescing.
ConsistentImploderector—only in php52..php81 upgrade sets (below php82)
ConstAndTraitDeprecatedAttributerector—deprecated upstream (2.7.0, main)
ConstFetchToClassConstFetchrector—in no set
ConstructorReadonlyAssignToDefaultrectorlint/php-8.6/prefer-readonly-property-defaultSame. Planned: not ported yet.
ContinueToBreakInSwitchrector—only in php52..php81 upgrade sets (below php82)
ConvertStaticToSelfrectorlint/classes/prefer-self-in-finalMerged with self_static_accessor, redundant-static.
CountArrayToEmptyArrayComparisonrector—deprecated upstream (2.6.1, 2.7.0, main)
CreateFunctionToAnonymousFunctionrector—only in php52..php81 upgrade sets (below php82)
CurlyToSquareBracketArrayStringrector—only in php52..php81 upgrade sets (below php82)
DateFuncCallToCarbonrector—only in sets outside the eight prepared sets: datetime-to-carbon
DateTimeInstanceToCarbonrector—only in sets outside the eight prepared sets: datetime-to-carbon
DateTimeMethodCallToCarbonrector—only in sets outside the eight prepared sets: datetime-to-carbon
DeclareStrictTypesrector—deprecated upstream (main)
DeprecatedAnnotationToDeprecatedAttributerector—deprecated upstream (2.7.0, main)
DirNameFileConstantToDirConstantrector—only in php52..php81 upgrade sets (below php82)
DirnameDirConcatStringToDirectStringPathrectorlint/complexity/no-dirname-dir-concatSame.
DisallowedEmptyRuleFixerrector—deprecated upstream (2.7.0, main)
DocblockGetterReturnArrayFromPropertyDocblockVarrectorlint/types/add-getter-return-phpdocSame.
DocblockNameImportingPostrector—Rector post-processor, not a rule: no set registers it
DocblockReturnArrayFromDirectArrayInstancerectorlint/types/add-return-phpdoc-direct-arraySame.
DocblockVarArrayFromGetterReturnrectorlint/types/add-var-phpdoc-from-getterSame.
DocblockVarArrayFromPropertyDefaultsrectorlint/types/add-var-phpdoc-from-defaultSame.
DocblockVarFromParamDocblockInConstructorrectorlint/types/add-var-phpdoc-from-constructor-paramSame.
DynamicClassConstFetchrectorlint/php-8.3/prefer-dynamic-class-constantSame.
DynamicDocBlockPropertyToNativePropertyrector—deprecated upstream (2.7.0, main)
EmptyListrector—only in php52..php81 upgrade sets (below php82)
EmptyOnNullableObjectToInstanceOfrector—deprecated upstream (main)
EncapsedStringsToSprintfrector—deprecated upstream (2.6.1, 2.7.0, main)
EnumCaseToPascalCaserector—deprecated upstream (2.6.1, 2.7.0, main)
EregToPregMatchrector—only in php52..php81 upgrade sets (below php82)
ExceptionHandlerTypehintrector—only in php52..php81 upgrade sets (below php82)
ExplicitAttributeNamedArgsrector—only in sets outside the eight prepared sets: named-args
ExplicitBoolComparerector—deprecated upstream (2.7.0, main)
ExplicitNullableObjectInstancerectorlint/types/prefer-explicit-null-instanceofSame.
ExplicitNullableParamTyperectorformat/types/nullable-for-null-defaultMerged with nullable_type_declaration_for_default_null_value, explicit-nullable-param, parameter.implicitlyNullable.
ExplicitPublicClassMethodrector—only in php52..php81 upgrade sets (below php82)
ExplicitReturnNullrectorlint/complexity/require-consistent-returnSame.
ExportToReflectionFunctionrector—only in php52..php81 upgrade sets (below php82)
FilesystemIteratorSkipDotsrectorlint/php-8.2/add-skip-dots-flagSame.
FilterVarToAddSlashesrector—only in php52..php81 upgrade sets (below php82)
FinalPrivateToPrivateVisibilityrector—only in php52..php81 upgrade sets (below php82)
FinalizeTestCaseClassrectorlint/phpunit/require-final-test-caseSame.
FixClassCaseSensitivityVarDocblockrectorlint/complexity/no-phpdoc-class-case-mismatchSame.
FlipNegatedTernaryInstanceofrectorlint/complexity/no-negated-instanceof-ternarySame.
FlipTypeControlToUseExclusiveTyperector—deprecated upstream (main)
FluentSettersToStandaloneCallMethodrector—deprecated upstream (2.7.0, main)
ForRepeatedCountToOwnVariablerector—deprecated upstream (main)
ForeachItemsAssignToEmptyArrayToAssignrector—deprecated upstream (main)
ForeachToArrayAllrectorlint/php-8.4/prefer-array-findMerged with ForeachToArrayAny, ForeachToArrayFind, ForeachToArrayFindKey.
ForeachToArrayAnyrectorlint/php-8.4/prefer-array-findMerged with ForeachToArrayAll, ForeachToArrayFind, ForeachToArrayFindKey.
ForeachToArrayFindrectorlint/php-8.4/prefer-array-findMerged with ForeachToArrayAll, ForeachToArrayAny, ForeachToArrayFindKey.
ForeachToArrayFindKeyrectorlint/php-8.4/prefer-array-findMerged with ForeachToArrayAll, ForeachToArrayAny, ForeachToArrayFind.
ForeachToInArrayrectorlint/complexity/prefer-in-arrayMerged with RepeatedOrEqualToInArray, SimplifyArraySearch.
FuncCallToConstFetchrectorlint/refactor/replace-function-with-constantSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
FuncCallToMethodCallrector—deprecated upstream (2.7.0, main)
FuncCallToNewrector—deprecated upstream (2.8.4, main)
FuncCallToStaticCallrector—deprecated upstream (2.8.4, main)
FuncGetArgsToVariadicParamrectorlint/style/prefer-variadic-paramSame.
FunctionArgumentDefaultValueReplacerrector—only in php52..php81 upgrade sets (below php82)
FunctionFirstClassCallablerector—only in php52..php81 upgrade sets (below php82)
GetCalledClassToSelfClassrector—only in php52..php81 upgrade sets (below php82)
GetCalledClassToStaticClassrector—only in php52..php81 upgrade sets (below php82)
GetClassOnNullrector—only in php52..php81 upgrade sets (below php82)
GetDebugTyperector—only in php52..php81 upgrade sets (below php82)
GetHeadersArgumentFormatrector—only in php52..php81 upgrade sets (below php82)
HebrevcToNl2brHebrevrector—only in php52..php81 upgrade sets (below php82)
IfIssetToCoalescingrector—only in php52..php81 upgrade sets (below php82)
IfToNullCoalescingAssignrector—only in php52..php81 upgrade sets (below php82)
IfToSpaceshiprector—only in php52..php81 upgrade sets (below php82)
InlineArrayReturnAssignrectorlint/complexity/prefer-inline-array-returnSame.
InlineConstructorDefaultToPropertyrectorlint/complexity/prefer-property-defaultSame.
InlineIfToExplicitIfrectorlint/complexity/prefer-if-statementSame.
InlineIsAInstanceOfrectorlint/types/prefer-instanceofSame.
InnerFunctionToPrivateMethodrector—deprecated upstream (main)
IsAWithStringWithThirdArgumentrectorlint/complexity/require-is-a-allow-stringSame.
IsCountablerector—only in php52..php81 upgrade sets (below php82)
IsIterablerector—only in php52..php81 upgrade sets (below php82)
IssetOnPropertyObjectToPropertyExistsrectorlint/complexity/prefer-property-existsSame.
JoinStringConcatrector—deprecated upstream (2.6.1, 2.7.0, main)
JsonThrowOnErrorrector—deprecated upstream (2.7.0, main)
JsonValidaterectorlint/php-8.3/prefer-json-validateSame.
KnownMagicClassMethodTyperectorlint/types/add-magic-method-return-typeSame.
ListEachrector—only in php52..php81 upgrade sets (below php82)
ListSplitStringrector—only in php52..php81 upgrade sets (below php82)
ListSwapArrayOrderrector—deprecated upstream (2.7.0, main)
ListToArrayDestructrector—only in php52..php81 upgrade sets (below php82)
LocallyCalledStaticMethodToNonStaticrectorlint/complexity/prefer-instance-methodSame.
LogicalToBooleanrectorlint/operators/no-and-or-keywordsMerged with logical_operators.
LongArrayToShortArrayrector—only in php52..php81 upgrade sets (below php82)
MakeInheritedMethodVisibilitySameAsParentrectorlint/style/require-parent-visibilitySame.
MbStrContainsrector—only in sets outside the eight prepared sets: php-polyfills
MbStrrposEncodingArgumentPositionrector—only in php52..php81 upgrade sets (below php82)
MergeDateTimePropertyTypeDeclarationrectorlint/types/add-datetime-property-typeSame.
MergeInterfacesrector—in no set
MergePhpstanDocTagIntoNativerectorlint/types/no-phpstan-phpdoc-tagSame. Planned: not ported yet.
MethodCallToFuncCallrector—in no set
MethodCallToStaticCallrector—in no set
MinMaxToClamprectorlint/php-8.6/prefer-clampSame.
MoneyFormatToNumberFormatrector—only in php52..php81 upgrade sets (below php82)
MoveInnerFunctionToTopLevelrector—deprecated upstream (main)
MultiDirnamerector—only in php52..php81 upgrade sets (below php82)
MultiExceptionCatchrector—only in php52..php81 upgrade sets (below php82)
MyCLabsClassToEnumrector—only in php52..php81 upgrade sets (below php82)
MyCLabsConstructorCallToEnumFromrector—only in php52..php81 upgrade sets (below php82)
MyCLabsMethodCallToEnumConstrector—only in php52..php81 upgrade sets (below php82)
NameImportingPostrector—Rector post-processor, not a rule: no set registers it
NarrowArrayAnyAllNullableParamTyperectorlint/types/prefer-narrow-param-typeSame.
NarrowArrayCollectionUnionReturnDocblockrectorlint/types/prefer-generic-collection-phpdocSame.
NarrowBoolDocblockReturnTyperectorlint/types/prefer-literal-bool-phpdocSame. Planned: not ported yet.
NarrowObjectReturnTyperectorlint/types/prefer-specific-return-typeSame.
NarrowWideUnionReturnTyperectorlint/dead-code/no-unused-return-typeMerged with return.unusedType.
NegatedAndsToPositiveOrsrectorlint/complexity/no-negated-groupMerged with SimplifyDeMorganBinary.
NestedAnnotationToAttributerector—in no set
NestedFuncCallsToPipeOperatorrector—deprecated upstream (2.7.0, main)
NestedTernaryToMatchrector—deprecated upstream (2.6.1, 2.7.0, main)
NewArrayItemConcatAssignToAssignrectorlint/complexity/no-concat-assign-new-itemSame.
NewInInitializerrector—deprecated upstream (2.6.1, 2.7.0 (removed), main (removed))
NewMethodCallWithoutParenthesesrectorformat/operators/new-expression-parenthesesMerged with new_expression_parentheses.
NewStaticToNewSelfrectorlint/classes/prefer-new-selfSame.
NewToStaticCallrector—in no set
NewlineAfterStatementrectorlint/style/require-statement-paddingSame.
NewlineBeforeNewAssignSetrectorlint/style/require-assign-set-paddingSame.
NewlineBetweenClassLikeStmtsrectorformat/classes/member-separationMerged with class_attributes_separation.
NullCoalescingOperatorrector—only in php52..php81 upgrade sets (below php82)
NullDebugInfoReturnrectorlint/php-8.5/no-null-debug-infoSame.
NullToStrictIntPregSlitFuncCallLimitArgrector—only in php52..php81 upgrade sets (below php82)
NullToStrictStringFuncCallArgrector—in no set
NullableCompareToNullrector—deprecated upstream (2.6.1, 2.7.0, main)
NumberCompareToMaxFuncCallrectorlint/complexity/prefer-min-maxSame.
NumericReturnTypeFromStrictReturnsrectorlint/types/add-numeric-return-typeSame.
NumericReturnTypeFromStrictScalarReturnsrectorlint/types/add-numeric-return-type-from-scalarSame.
ObjectExplicitBoolComparerector—deprecated upstream (main)
ObjectParamTypeByMethodCallTyperector—deprecated upstream (main)
ObjectTypedPropertyFromJMSSerializerAttributeTyperector—JMS rules: out of scope (Laravel-first); migrate lists them
OptionalParametersAfterRequiredrectorlint/functions/no-required-after-optionalMerged with optional-param-order, parameter.requiredAfterOptional.
OrdSingleByterectorlint/php-8.5/prefer-ord-first-byteSame.
ParamTypeByMethodCallTyperector—deprecated upstream (main)
ParamTypeByParentCallTyperector—deprecated upstream (2.8.4, main)
ParenthesizeNestedTernaryrector—only in php52..php81 upgrade sets (below php82)
ParseStrWithResultArgumentrector—only in php52..php81 upgrade sets (below php82)
Php4Constructorrector—only in php52..php81 upgrade sets (below php82)
PostIncDecToPreIncDecrector—deprecated upstream (main)
PowToExprector—only in php52..php81 upgrade sets (below php82)
PregReplaceEModifierrector—only in php52..php81 upgrade sets (below php82)
PreparedValueToEarlyReturnrectorlint/style/prefer-early-return-over-prepared-valueSame.
PrivateMethodReturnTypeFromStrictNewArrayrectorlint/types/add-private-method-array-return-typeSame.
PrivatizeFinalClassConstantrectorlint/classes/no-protected-constant-in-finalSame.
PrivatizeFinalClassMethodrectorlint/classes/no-protected-method-in-finalSame.
PrivatizeFinalClassPropertyrectorlint/classes/no-protected-property-in-finalSame.
PrivatizeLocalGetterToPropertyrectorlint/style/prefer-property-over-local-getterSame.
PropertyHookrector—deprecated upstream (2.7.0, main)
PropertyTypeFromStrictSetterGetterrectorlint/types/add-property-type-setter-getterSame.
RandomFunctionrector—only in php52..php81 upgrade sets (below php82)
ReadOnlyAnonymousClassrectorlint/php-8.3/prefer-readonly-anonymous-classSame.
ReadOnlyClassrectorlint/php-8.2/prefer-readonly-classSame.
ReadOnlyPropertyrector—only in php52..php81 upgrade sets (below php82)
RecastingRemovalrectorlint/dead-code/no-useless-castMerged with UselessCastRule, RedundantCast, cast.useless.
ReduceAlwaysFalseIfOrrectorlint/dead-code/no-always-false-conditionMerged with booleanOr.leftAlwaysFalse.
ReduceMultipleDefaultSwitchrector—only in php52..php81 upgrade sets (below php82)
RegexDashEscaperector—only in php52..php81 upgrade sets (below php82)
RemoveAlwaysElserectorlint/control-flow/no-else-after-returnSame.
RemoveAlwaysTrueIfConditionrectorlint/dead-code/no-always-true-ifMerged with booleanAnd.leftAlwaysTrue, if.alwaysTrue.
RemoveAndTruerectorlint/dead-code/no-and-trueSame.
RemoveAnnotationrector—deprecated upstream (2.7.0, main)
RemoveArgumentFromDefaultParentCallrectorlint/dead-code/no-redundant-default-argumentMerged with RemoveNullArgOnNullDefaultParam, RemoveNullNamedArgOnNullDefaultParam.
RemoveConcatAutocastrectorlint/dead-code/no-cast-in-concatSame.
RemoveConditionExactReturnrectorlint/dead-code/no-condition-exact-returnSame.
RemoveDeadCatchrectorlint/dead-code/no-dead-catchSame.
RemoveDeadConditionAboveReturnrectorlint/dead-code/no-useless-conditionSame.
RemoveDeadContinuerectorlint/dead-code/no-useless-continueMerged with no-redundant-continue.
RemoveDeadIfBlockrectorlint/complexity/no-constant-conditionMerged with constant-condition.
RemoveDeadIfForeachForrectorlint/dead-code/no-empty-blockMerged with RemoveDeadLoop, no-empty-loop.
RemoveDeadInstanceOfrectorlint/dead-code/no-always-true-instanceofMerged with RemoveDeadInstanceOfAssert, instanceof.alwaysTrue.
RemoveDeadInstanceOfAssertrectorlint/dead-code/no-always-true-instanceofMerged with RemoveDeadInstanceOf, instanceof.alwaysTrue.
RemoveDeadLooprectorlint/dead-code/no-empty-blockMerged with RemoveDeadIfForeachFor, no-empty-loop.
RemoveDeadReturnrector—deprecated upstream (main)
RemoveDeadStmtrectorlint/dead-code/no-unused-expressionMerged with NoopRule, UnusedFunctionCall, UnusedMethodCall and 8 others (see the rule's Replaces section).
RemoveDeadTryCatchrectorlint/dead-code/no-useless-catchSame.
RemoveDeadZeroAndOneOperationrectorlint/dead-code/no-useless-mathMerged with no-redundant-math.
RemoveDefaultValueFromAssignedPropertyrectorlint/dead-code/no-redundant-property-defaultSame.
RemoveDoubleAssignrectorlint/dead-code/no-unused-assignmentMerged with RemoveUnusedVariableAssign, no-dead-store, no-redundant-variable.
RemoveDoubleSelfAssignrectorlint/dead-code/no-double-self-assignmentSame.
RemoveDuplicatedArrayKeyrectorlint/dead-code/no-duplicate-array-keyMerged with DuplicateKeysInLiteralArraysRule, DuplicateArrayKey, array.duplicateKey.
RemoveDuplicatedCaseInSwitchrectorlint/dead-code/no-duplicate-case-bodySame.
RemoveDuplicatedReturnSelfDocblockrector—deprecated upstream (main)
RemoveEmptyClassMethodrectorlint/dead-code/no-empty-methodSame.
RemoveExtraParametersrectorlint/functions/no-extra-argumentsSame.
RemoveFilterVarOnExactTyperectorlint/dead-code/no-useless-filter-varSame.
RemoveFinalFromConstrectorlint/style/no-redundant-final-constSame.
RemoveFinfoBufferContextArgrectorlint/php-8.5/no-finfo-buffer-contextSame.
RemoveFuncCallrectorlint/refactor/remove-function-callSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
RemoveFuncCallArgrectorlint/refactor/remove-function-argumentSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
RemoveGetClassGetParentClassNoArgsrectorlint/php-8.3/prefer-self-classSame.
RemoveInterfacesrector—in no set
RemoveMethodCallParamrector—in no set
RemoveMixedDocblockOverruledByNativeTyperectorlint/phpdoc/no-mixed-overruled-by-nativeSame.
RemoveNextSameValueConditionrectorlint/dead-code/no-redundant-conditionSame.
RemoveNonExistingVarAnnotationrectorlint/dead-code/no-invalid-var-tagMerged with varTag.variableNotFound.
RemoveNullArgOnNullDefaultParamrectorlint/dead-code/no-redundant-default-argumentMerged with RemoveArgumentFromDefaultParentCall, RemoveNullNamedArgOnNullDefaultParam.
RemoveNullNamedArgOnNullDefaultParamrectorlint/dead-code/no-redundant-default-argumentMerged with RemoveArgumentFromDefaultParentCall, RemoveNullArgOnNullDefaultParam.
RemoveNullPropertyInitializationrectorlint/classes/no-null-property-defaultMerged with no_null_property_initialization, no-null-property-init.
RemoveNullTagValueNoderectorlint/dead-code/no-null-tag-valueSame.
RemoveOverriddenAssignBeforeIfElserectorlint/dead-code/no-overridden-assign-before-ifSame.
RemoveParentCallWithoutParentrectorlint/dead-code/no-parent-call-without-parentSame.
RemoveParentDelegatingClassMethodrectorlint/dead-code/no-useless-overrideMerged with no-redundant-method-override.
RemoveParentDelegatingConstructorrector—deprecated upstream (2.8.4, main)
RemovePhpVersionIdCheckrectorlint/dead-code/no-dead-php-version-checkSame.
RemoveReadonlyPropertyVisibilityOnReadonlyClassrectorlint/classes/no-redundant-readonlyMerged with no_redundant_readonly_property, no-redundant-readonly.
RemoveRedundantTypeCheckrectorlint/dead-code/no-redundant-type-checkSame.
RemoveRefactorDuplicatedNodeInstanceCheckrector—only in sets outside the eight prepared sets: rector-preset
RemoveReferenceFromCallrector—only in php52..php81 upgrade sets (below php82)
RemoveReflectionSetAccessibleCallsrector—only in php52..php81 upgrade sets (below php82)
RemoveReturnTagIncompatibleWithNativeTyperectorlint/dead-code/no-invalid-return-tagSame.
RemoveReturnThisFromSetterClassMethodrector—deprecated upstream (2.7.0, main)
RemoveSoleValueSprintfrectorlint/complexity/no-sole-value-sprintfSame.
RemoveTestsOverriddenPrivateMethodParameterrectorlint/dead-code/no-unused-private-method-paramMerged with RemoveUnusedPrivateMethodParameter.
RemoveTraitUserector—in no set
RemoveTypedPropertyDeadInstanceOfrectorlint/dead-code/no-typed-property-instanceofSame.
RemoveTypedPropertyNonMockDocblockrector—deprecated upstream (2.6.1, 2.7.0, main)
RemoveUnreachableStatementrectorlint/dead-code/no-unreachable-codeMerged with UnreachableStatementRule, UnevaluatedCode, deadCode.unreachable.
RemoveUnusedClosureVariableUserectorlint/functions/no-unused-closure-useMerged with lambda_not_used_import, UnusedClosureUsesRule, no-unused-closure-capture and 2 others (see the rule's Replaces section).
RemoveUnusedConstructorParamrectorlint/dead-code/no-unused-constructor-paramMerged with UnusedConstructorParametersRule, constructor.unusedParameter, constructor.unusedParameterFlow.
RemoveUnusedForeachKeyrectorlint/dead-code/no-unused-foreach-keySame.
RemoveUnusedNonEmptyArrayBeforeForeachrectorlint/dead-code/no-redundant-foreach-guardSame.
RemoveUnusedPrivateClassConstantrectorlint/dead-code/no-unused-private-constantMerged with UnusedPrivateConstantRule, classConstant.unused.
RemoveUnusedPrivateMethodrectorlint/dead-code/no-unused-private-methodMerged with UnusedPrivateMethodRule, UnusedMethod, method.unused.
RemoveUnusedPrivateMethodParameterrectorlint/dead-code/no-unused-private-method-paramMerged with RemoveTestsOverriddenPrivateMethodParameter.
RemoveUnusedPrivatePropertyrectorlint/dead-code/no-unused-private-propertyMerged with property.onlyWritten, property.unused.
RemoveUnusedPromotedPropertyrectorlint/dead-code/no-unused-promoted-propertySame.
RemoveUnusedPublicMethodParameterrectorlint/dead-code/no-unused-public-method-paramSame.
RemoveUnusedVariableAssignrectorlint/dead-code/no-unused-assignmentMerged with RemoveDoubleAssign, no-dead-store, no-redundant-variable.
RemoveUnusedVariableInCatchrector—only in php52..php81 upgrade sets (below php82)
RemoveUselessAliasInUseStatementrectorformat/imports/no-unneeded-aliasMerged with no_unneeded_import_alias.
RemoveUselessAssignFromPropertyPromotionrectorlint/dead-code/no-redundant-promoted-assignSame.
RemoveUselessIsObjectCheckrector—deprecated upstream (main)
RemoveUselessParamTagrectorlint/phpdoc/no-useless-paramSame.
RemoveUselessReadOnlyTagrectorlint/phpdoc/no-useless-readonlySame.
RemoveUselessReturnExprInConstructrectorlint/dead-code/no-return-in-constructorSame.
RemoveUselessReturnTagrectorlint/phpdoc/no-useless-returnSame.
RemoveUselessTernaryrectorlint/dead-code/no-useless-ternaryMerged with SimplifyTautologyTernary, UnnecessaryTernaryExpression.
RemoveUselessUnionReturnDocblockrectorlint/dead-code/no-useless-phpdoc-typeSame.
RemoveUselessVarTagrectorlint/phpdoc/no-useless-varSame.
RemoveVoidDocblockFromMagicMethodrectorlint/phpdoc/no-void-on-magic-methodSame.
RemoveZeroBreakContinuerector—only in php52..php81 upgrade sets (below php82)
RenameAnnotationrector—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
RenameAttributerector—in no set
RenameCastrectorlint/refactor/rename-castSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
RenameClassrectorlint/refactor/rename-classSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
RenameClassConstFetchrectorlint/refactor/rename-class-constantSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
RenameConstantrectorlint/refactor/rename-constantSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
RenameDeprecatedMethodCallrector—deprecated upstream (2.7.0 (removed), main (removed))
RenameForeachValueVariableToMatchExprVariablerector—deprecated upstream (main)
RenameForeachValueVariableToMatchMethodCallReturnTyperector—deprecated upstream (main)
RenameFunctionrectorlint/refactor/rename-functionSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
RenameMethodrectorlint/refactor/rename-methodSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
RenameMktimeWithoutArgsToTimerector—only in php52..php81 upgrade sets (below php82)
RenameParamToMatchTyperector—deprecated upstream (main)
RenamePropertyrector—in no set
RenamePropertyToMatchTyperector—deprecated upstream (main)
RenameStaticMethodrector—in no set
RenameStringrector—in no set
RenameVariableToMatchMethodCallReturnTyperector—deprecated upstream (main)
RenameVariableToMatchNewTyperector—deprecated upstream (main)
RepeatedAndNotEqualToNotInArrayrectorlint/complexity/prefer-not-in-arraySame.
RepeatedOrEqualToInArrayrectorlint/complexity/prefer-in-arrayMerged with ForeachToInArray, SimplifyArraySearch.
ReplaceArgumentDefaultValuerector—in no set
ReplaceBlockToItsStmtsrectorformat/control-flow/no-unneeded-bracesMerged with no_unneeded_braces, no-redundant-block.
ReplaceConstantBooleanNotrectorlint/complexity/no-negated-boolean-literalSame.
ReplaceEachAssignmentWithKeyCurrentrector—only in php52..php81 upgrade sets (below php82)
ReplaceHttpServerVarsByServerrector—only in php52..php81 upgrade sets (below php82)
ReplaceMultipleBooleanNotrectorformat/casts/no-short-boolMerged with no_short_bool_cast, no-short-bool-cast.
RestoreDefaultNullToNullableTypePropertyrector—only in php52..php81 upgrade sets (below php82)
RestoreIncludePathToIniRestorerector—only in php52..php81 upgrade sets (below php82)
ReturnBinaryOrToEarlyReturnrector—deprecated upstream (2.7.0, main)
ReturnEarlyIfVariablerector—deprecated upstream (2.8.4, main)
ReturnIteratorInDataProviderrectorlint/phpunit/add-data-provider-iterator-return-typeSame.
ReturnNeverTyperectorlint/types/add-never-return-typeSame.
ReturnNullableTyperectorlint/types/add-nullable-return-typeSame.
ReturnTypeFromGetRepositoryDocblockrectorlint/types/add-return-type-from-get-repositorySame.
ReturnTypeFromMockObjectrectorlint/phpunit/add-return-type-from-mock-objectSame.
ReturnTypeFromReturnCastrectorlint/types/add-return-type-from-castSame.
ReturnTypeFromReturnDirectArrayrectorlint/types/add-array-return-typeSame.
ReturnTypeFromReturnNewrectorlint/types/add-return-type-from-newSame.
ReturnTypeFromStrictConstantReturnrectorlint/types/add-return-type-from-constantSame.
ReturnTypeFromStrictFluentReturnrectorlint/types/add-fluent-return-typeSame.
ReturnTypeFromStrictNativeCallrectorlint/types/add-return-type-from-native-callSame.
ReturnTypeFromStrictNewArrayrectorlint/types/add-return-type-from-new-arraySame.
ReturnTypeFromStrictParamrectorlint/types/add-return-type-from-paramSame.
ReturnTypeFromStrictTernaryrectorlint/types/add-return-type-from-ternarySame.
ReturnTypeFromStrictTypedCallrectorlint/types/add-return-type-from-typed-callSame.
ReturnTypeFromStrictTypedPropertyrectorlint/types/add-return-type-from-propertySame.
ReturnTypeFromSymfonySerializerrector—Symfony rules: out of scope (Laravel-first); migrate lists them
ReturnUnionTyperectorlint/types/add-union-return-typeSame.
RoundingModeEnumrectorlint/php-8.4/prefer-round-mode-enumSame.
SafeDeclareStrictTypesrectorlint/statements/add-safe-strict-typesSame.
ScalarParamTypeByMethodCallTyperector—deprecated upstream (main)
ScalarTypedPropertyFromJMSSerializerAttributeTyperector—JMS rules: out of scope (Laravel-first); migrate lists them
ScalarValueToConstFetchrector—deprecated upstream (2.7.0, main)
SensitiveConstantNamerector—only in php52..php81 upgrade sets (below php82)
SensitiveDefinerector—only in php52..php81 upgrade sets (below php82)
SensitiveHereNowDocrector—only in php52..php81 upgrade sets (below php82)
SeparateMultiUseImportsrectorformat/imports/single-per-statementMerged with single_import_per_statement.
SequentialAssignmentsToPipeOperatorrector—deprecated upstream (2.7.0, main)
SetCookierector—only in php52..php81 upgrade sets (below php82)
SetStateToStaticrector—only in php52..php81 upgrade sets (below php82)
SetTypeToCastrector—deprecated upstream (main)
ShellExecFunctionCallOverBackticksrectorformat/functions/backtick-to-shell-execMerged with backtick_to_shell_exec, BacktickRule, DisallowedBacktickRule and 4 others (see the rule's Replaces section).
ShortenElseIfrector—deprecated upstream (2.7.0, main)
SimplifyArraySearchrectorlint/complexity/prefer-in-arrayMerged with ForeachToInArray, RepeatedOrEqualToInArray.
SimplifyBoolIdenticalTruerectorlint/complexity/prefer-simple-conditionMerged with BooleanNotIdenticalToNotIdentical, SimplifyConditions.
SimplifyConditionsrectorlint/complexity/prefer-simple-conditionMerged with BooleanNotIdenticalToNotIdentical, SimplifyBoolIdenticalTrue.
SimplifyDeMorganBinaryrectorlint/complexity/no-negated-groupMerged with NegatedAndsToPositiveOrs.
SimplifyEmptyArrayCheckrectorlint/complexity/prefer-empty-array-compareMerged with SimplifyEmptyCheckOnEmptyArray.
SimplifyEmptyCheckOnEmptyArrayrectorlint/complexity/prefer-empty-array-compareMerged with SimplifyEmptyArrayCheck.
SimplifyForeachToCoalescingrectorlint/complexity/prefer-null-coalesceMerged with ArrayKeyExistsTernaryThenValueToCoalescing, ConsecutiveNullCompareReturnsToNullCoalesceQueue.
SimplifyFuncGetArgsCountrectorlint/complexity/prefer-func-num-argsSame.
SimplifyIfElseToTernaryrector—deprecated upstream (2.7.0, main)
SimplifyIfElseWithSameContentrectorlint/dead-code/no-identical-branchesSame.
SimplifyIfNotNullReturnrectorlint/complexity/no-redundant-null-checkMerged with SimplifyIfNullableReturn.
SimplifyIfNullableReturnrectorlint/complexity/no-redundant-null-checkMerged with SimplifyIfNotNullReturn.
SimplifyIfReturnBoolrectorlint/control-flow/prefer-bool-returnMerged with simplified_if_return.
SimplifyInArrayValuesrectorlint/complexity/no-useless-array-valuesSame.
SimplifyMirrorAssignrectorlint/dead-code/no-self-assignmentMerged with Pun/no_self_assignment, no-self-assignment.
SimplifyQuoteEscaperectorlint/style/no-escaped-quotesSame.
SimplifyRegexPatternrector—deprecated upstream (2.6.1, 2.7.0, main)
SimplifyStrposLowerrector—deprecated upstream (main)
SimplifyTautologyTernaryrectorlint/dead-code/no-useless-ternaryMerged with RemoveUselessTernary, UnnecessaryTernaryExpression.
SimplifyUselessVariablerectorlint/control-flow/no-return-assignmentMerged with return_assignment, inline-variable-return.
SingleInArrayToComparerectorlint/complexity/no-single-item-in-arraySame.
SingularSwitchToIfrectorlint/complexity/no-single-case-switchSame.
SleepToSerializerectorlint/style/no-sleep-wakeupMerged with modern_serialization_methods, WakeupToUnserialize.
SortAttributeNamedArgsrectorlint/complexity/require-attribute-argument-orderSame.
SortCallLikeNamedArgsrectorlint/complexity/require-named-argument-orderSame.
SpatieEnumClassToEnumrector—only in php52..php81 upgrade sets (below php82)
SpatieEnumMethodCallToEnumConstrector—only in php52..php81 upgrade sets (below php82)
SplitDoubleAssignrectorlint/style/no-multi-assignMerged with no-multi-assignments.
SplitGroupedClassConstantsrectorformat/classes/single-member-per-statementMerged with single_class_element_per_statement, SplitGroupedProperties.
SplitGroupedPropertiesrectorformat/classes/single-member-per-statementMerged with single_class_element_per_statement, SplitGroupedClassConstants.
StaticArrowFunctionrector—deprecated upstream (2.6.1, 2.7.0, main)
StaticCallOnNonStaticToInstanceCallrector—deprecated upstream (2.6.1, 2.7.0, main)
StaticCallToFuncCallrector—only in php52..php81 upgrade sets (below php82)
StaticCallToMethodCallrector—deprecated upstream (2.8.4, main)
StaticCallToNewrector—in no set
StaticClosurerector—deprecated upstream (2.6.1, 2.7.0, main)
StaticToSelfOnFinalClassrector—only in php52..php81 upgrade sets (below php82)
StrContainsrector—only in php52..php81 upgrade sets (below php82)
StrEndsWithrector—only in php52..php81 upgrade sets (below php82)
StrStartsWithrector—only in php52..php81 upgrade sets (below php82)
StrictArrayParamDimFetchrectorlint/types/add-param-type-array-dim-fetchSame.
StrictArraySearchrectorlint/functions/require-strict-array-searchSame.
StrictInArrayrectorlint/functions/require-strict-in-arraySame.
StrictStringParamConcatrector—deprecated upstream (2.6.1, 2.7.0, main)
StringClassNameToClassConstantrectorlint/style/prefer-class-constantMerged with class_keyword, UseClassKeywordForClassNameResolution, no-literal-namespace-string. Options: configurable: options carry 1:1 (same keys, kebab-cased).
StringReturnTypeFromStrictScalarReturnsrectorlint/types/add-string-return-type-from-scalarSame.
StringReturnTypeFromStrictStringReturnsrectorlint/types/add-string-return-typeSame.
StringToClassConstantrector—in no set
StringableForToStringrector—only in php52..php81 upgrade sets (below php82)
StringifyDefinerector—only in php52..php81 upgrade sets (below php82)
StringifyStrNeedlesrector—only in php52..php81 upgrade sets (below php82)
StringsAssertNakedrector—only in php52..php81 upgrade sets (below php82)
StrlenZeroToIdenticalEmptyStringrectorlint/style/prefer-empty-string-compareMerged with string_length_to_empty.
SwitchNegatedTernaryrector—deprecated upstream (2.7.0, main)
SwitchTrueToIfrector—deprecated upstream (2.6.1, 2.7.0, main)
SwitchTrueToMatchrector—deprecated upstream (main)
TernaryConditionVariableAssignmentrectorlint/style/no-assign-in-ternary-branchSame.
TernaryEmptyArrayArrayDimFetchToCoalescerectorlint/complexity/prefer-coalesce-over-empty-ternarySame.
TernaryFalseExpressionToIfrector—deprecated upstream (main)
TernaryImplodeToImploderectorlint/dead-code/no-implode-ternarySame.
TernaryToBooleanOrFalseToBooleanAndrectorlint/dead-code/no-false-ternarySame.
TernaryToElvisrector—only in php52..php81 upgrade sets (below php82)
TernaryToNullCoalescingrector—only in php52..php81 upgrade sets (below php82)
TernaryToNullsafeCoalescerector—only in php52..php81 upgrade sets (below php82)
TernaryToSpaceshiprector—only in php52..php81 upgrade sets (below php82)
ThisCallOnStaticMethodToStaticCallrector—only in php52..php81 upgrade sets (below php82)
ThrowWithPreviousExceptionrectorlint/complexity/require-previous-exceptionSame.
TimeFuncCallToCarbonrector—only in sets outside the eight prepared sets: datetime-to-carbon
TypedPropertyFromAssignsrectorlint/types/add-property-type-assignsSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
TypedPropertyFromContainerGetSetUprectorlint/phpunit/add-property-type-container-getSame.
TypedPropertyFromCreateMockAssignrectorlint/phpunit/add-property-type-create-mockSame.
TypedPropertyFromDocblockSetUpDefinedrectorlint/phpunit/add-property-type-setup-docblockSame.
TypedPropertyFromGetRepositorySetUprectorlint/types/add-property-type-get-repositorySame.
TypedPropertyFromStrictConstructorrectorlint/types/add-property-type-constructorSame.
TypedPropertyFromStrictSetUprectorlint/phpunit/add-property-type-setupSame.
TypedStaticPropertyInBehatContextrector—Behat rules: out of scope (Laravel-first); migrate lists them
UnnecessaryTernaryExpressionrectorlint/dead-code/no-useless-ternaryMerged with RemoveUselessTernary, SimplifyTautologyTernary.
UnsetCastrector—only in php52..php81 upgrade sets (below php82)
UnusedForeachValueToArrayKeysrector—deprecated upstream (2.6.1, 2.7.0, main)
UnusedImportRemovingPostrector—Rector post-processor, not a rule: no set registers it
UnwrapFutureCompatibleIfPhpVersionrectorlint/dead-code/no-future-php-version-checkSame.
UnwrapSprintfOneArgumentrectorlint/style/no-useless-sprintfMerged with no_useless_sprintf.
UseAddingPostrector—Rector-internal post-processing step of the import feature, not a user rule
UseClassKeywordForClassNameResolutionrectorlint/style/prefer-class-constantMerged with class_keyword, StringClassNameToClassConstant, no-literal-namespace-string.
UseIdenticalOverEqualWithSameTyperectorlint/types/prefer-identical-same-typeSame.
Utf8DecodeEncodeToMbConvertEncodingrectorlint/php-8.2/no-utf8-encode-decodeSame.
UtilsJsonStaticCallNamedArgrector—deprecated upstream (2.7.0 (removed), main (removed))
VarToPublicPropertyrectorformat/classes/modifier-keywordsMerged with modifier_keywords.
VariableConstFetchToClassConstFetchrectorlint/complexity/no-constant-via-variableSame.
VariableInStringInterpolationFixerrectorlint/php-8.2/no-dollar-brace-interpolationSame.
VersionCompareFuncCallArgumentrector—only in php52..php81 upgrade sets (below php82)
VersionCompareFuncCallToConstantrectorlint/style/prefer-php-version-idSame.
WakeupToUnserializerectorlint/style/no-sleep-wakeupMerged with modern_serialization_methods, SleepToSerialize.
WhileEachToForeachrector—only in php52..php81 upgrade sets (below php82)
WhileNullableToInstanceofrector—deprecated upstream (main)
WrapEncapsedVariableInCurlyBracesrector—deprecated upstream (2.6.1, 2.7.0, main)
WrapReturnrector—in no set
WrapVariableVariableNameInCurlyBracesrector—only in php52..php81 upgrade sets (below php82)
AbortIfrector-laravellint/laravel/prefer-abort-ifSame.
AddArgumentDefaultValuerector-laravel—laravel upgrade set below laravel-12
AddExtendsAnnotationToModelFactoriesrector-laravellint/laravel/add-factory-extends-phpdocSame.
AddGenericBuilderToScopesrector-laravellint/laravel/add-scope-builder-genericsSame. Planned: not ported yet.
AddGenericReturnTypeToRelationsrector-laravellint/laravel/add-relation-genericsSame.
AddGuardToLoginEventrector-laravel—laravel upgrade set below laravel-12
AddHasFactoryToModelsrector-laravellint/laravel/add-has-factory-traitSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
AddLegacyGenericReturnTypeToRelationsrector-laravellint/laravel/add-legacy-relation-genericsSame. Planned: not ported yet.
AddMockConsoleOutputFalseToConsoleTestsrector-laravel—laravel upgrade set below laravel-12
AddNewGenericReturnTypeToRelationsrector-laravellint/laravel/add-new-relation-genericsSame. Planned: not ported yet.
AddParentBootToModelClassMethodrector-laravel—laravel upgrade set below laravel-12
AddParentRegisterToEventServiceProviderrector-laravel—laravel upgrade set below laravel-12
AliasesPropertyToAliasesAttributerector-laravellint/laravel/prefer-aliases-attributeSame.
AnonymousMigrationsrector-laravellint/laravel/prefer-anonymous-migrationMerged with prefer-anonymous-migration.
AppEnvironmentComparisonToParameterrector-laravellint/laravel/prefer-environment-checkSame.
AppToResolverector-laravellint/laravel/prefer-resolve-helperSame.
AppendsPropertyToAppendsAttributerector-laravellint/laravel/prefer-appends-attributeSame.
ApplyDefaultInsteadOfNullCoalescerector-laravellint/laravel/prefer-default-argumentSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
ArgumentFuncCallToMethodCallrector-laravellint/laravel/prefer-constructor-injectionSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
ArrayToArrGetrector-laravel—in no rector-laravel/Pest set
AssertSeeToAssertSeeHtmlrector-laravel—laravel upgrade set below laravel-12
AssertStatusToAssertMethodrector-laravellint/laravel/prefer-dedicated-status-assertionMerged with Pun/prefer_dedicated_status_assertion, prefer-dedicated-status-assertion.
AssertWithClassStringToTypeHintedClosurerector-laravellint/laravel/prefer-typed-assert-closureSame.
AvoidNegatedCollectionContainsOrDoesntContainrector-laravellint/laravel/no-negated-containsSame.
AvoidNegatedCollectionFilterOrRejectrector-laravellint/laravel/no-negated-filterSame.
BackoffPropertyToBackoffAttributerector-laravellint/laravel/prefer-backoff-attributeSame.
CallOnAppArrayAccessToStandaloneAssignrector-laravellint/laravel/no-app-array-accessSame.
CarbonSetTestNowToTravelTorector-laravellint/laravel/prefer-travel-toSame.
CarbonToDateFacaderector-laravellint/laravel/prefer-date-facadeSame.
CashierStripeOptionsToStriperector-laravel—package upgrade set below the current major (cashier-13)
ChangeQueryWhereDateValueWithCarbonrector-laravel—laravel upgrade set below laravel-12
CollectedByPropertyToCollectedByAttributerector-laravellint/laravel/prefer-collected-by-attributeSame.
CollectionCountComparisonToIsEmptyrector-laravellint/laravel/prefer-collection-is-emptySame. Planned: not ported yet.
CollectsPropertyToCollectsAttributerector-laravellint/laravel/prefer-collects-attributeSame.
CommandHiddenPropertyToHiddenAttributerector-laravellint/laravel/prefer-command-hidden-attributeSame.
CommandPropertyToAsCommandAttributerector-laravel—in no rector-laravel/Pest set
ConfigToTypedConfigMethodCallrector-laravel—in no rector-laravel/Pest set
ConnectionPropertyToConnectionAttributerector-laravellint/laravel/prefer-connection-attributeSame.
ContainerArrayAccessToMethodCallrector-laravellint/laravel/prefer-container-method-callSame. Planned: not ported yet.
ContainerBindConcreteWithClosureOnlyrector-laravellint/laravel/prefer-closure-only-bindSame.
ConvertEnumerableToArrayToAllrector-laravellint/laravel/prefer-collection-allSame.
DatabaseExpressionCastsToMethodCallrector-laravel—laravel upgrade set below laravel-12
DatabaseExpressionToStringToMethodCallrector-laravel—laravel upgrade set below laravel-12
DateFormatPropertyToDateFormatAttributerector-laravellint/laravel/prefer-date-format-attributeSame.
DateWhereClauseToShorthandrector-laravel—in no rector-laravel/Pest set
DelayPropertyToDelayAttributerector-laravellint/laravel/prefer-delay-attributeSame.
DeleteWhenMissingModelsPropertyToDeleteWhenMissingModelsAttributerector-laravellint/laravel/prefer-delete-when-missing-models-attributeSame.
DescriptionPropertyToDescriptionAttributerector-laravellint/laravel/prefer-description-attributeSame.
DispatchNonShouldQueueToDispatchSyncrector-laravel—laravel upgrade set below laravel-12
DispatchToHelperFunctionsrector-laravellint/laravel/prefer-dispatch-helperSame.
EloquentMagicMethodToQueryBuilderrector-laravellint/laravel/no-implicit-model-queryMerged with Pun/no_implicit_model_query, no-implicit-model-query. Options: configurable: options carry 1:1 (same keys, kebab-cased).
EloquentOrderByToLatestOrOldestrector-laravellint/laravel/prefer-latest-oldestSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
EloquentWhereRelationTypeHintingParameterrector-laravellint/laravel/add-relation-query-closure-typeSame.
EloquentWhereTypeHintClosureParameterrector-laravellint/laravel/add-query-closure-typeSame.
EmptyGuardedPropertyToUnguardedAttributerector-laravellint/laravel/prefer-unguarded-attributeSame. Planned: not ported yet.
EmptyToBlankAndFilledFuncrector-laravel—in no rector-laravel/Pest set
EnvVariableToEnvHelperrector-laravellint/laravel/prefer-env-helperSame.
ErrorBagPropertyToErrorBagAttributerector-laravellint/laravel/prefer-error-bag-attributeSame.
EventStringToClassConstantrector-laravel—laravel upgrade set below laravel-12
FactoryApplyingStatesrector-laravel—legacy-factories migration (Laravel 7 to 8 upgrade), below laravel-12
FactoryDefinitionrector-laravel—legacy-factories migration (Laravel 7 to 8 upgrade), below laravel-12
FactoryFuncCallToStaticCallrector-laravel—legacy-factories migration (Laravel 7 to 8 upgrade), below laravel-12
FailOnTimeoutPropertyToFailOnTimeoutAttributerector-laravellint/laravel/prefer-fail-on-timeout-attributeSame.
FillablePropertyToFillableAttributerector-laravellint/laravel/prefer-fillable-attributeSame.
FuncCallToNewrector-laravellint/refactor/replace-function-with-newSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
FuncCallToStaticCallrector-laravellint/refactor/replace-function-with-staticSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
GuardedPropertyToGuardedAttributerector-laravellint/laravel/prefer-guarded-attributeSame.
HelpPropertyToHelpAttributerector-laravellint/laravel/prefer-help-attributeSame.
HelperFuncCallToFacadeClassrector-laravellint/laravel/prefer-facade-over-appSame.
HiddenPropertyToHiddenAttributerector-laravellint/laravel/prefer-hidden-attributeSame.
JobConnectionPropertyToJobConnectionAttributerector-laravellint/laravel/prefer-job-connection-attributeSame.
JsonCallToExplicitJsonCallrector-laravellint/laravel/prefer-explicit-json-callSame.
LivewireComponentComputedMethodToComputedAttributerector-laravel—package upgrade set below the current major (livewire-30)
LivewireComponentQueryStringToUrlAttributerector-laravel—package upgrade set below the current major (livewire-30)
LumenRoutesStringActionToUsesArrayrector-laravel—lumen set (Lumen framework only)
LumenRoutesStringMiddlewareToArrayrector-laravel—lumen set (Lumen framework only)
MakeModelAttributesAndScopesProtectedrector-laravellint/laravel/prefer-protected-model-methodsMerged with NoPublicModelScopeAndAccessorRule, larastan.noPublicModelAccessorMethod, larastan.noPublicModelScopeMethod.
MaxExceptionsPropertyToMaxExceptionsAttributerector-laravellint/laravel/prefer-max-exceptions-attributeSame.
MigrateToSimplifiedAttributerector-laravel—laravel upgrade set below laravel-12
MinutesToSecondsInCacherector-laravel—in no rector-laravel/Pest set
ModelCastsPropertyToCastsMethodrector-laravel—laravel upgrade set below laravel-12
NotFilledBlankFuncCallToBlankFilledFuncCallrector-laravellint/laravel/no-negated-blank-filledSame.
NowFuncWithStartOfDayMethodCallToTodayFuncrector-laravellint/laravel/prefer-todaySame.
OptionalToNullsafeOperatorrector-laravellint/laravel/prefer-nullsafeSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
PreserveKeysPropertyToPreserveKeysAttributerector-laravellint/laravel/prefer-preserve-keys-attributeSame.
PropertyDeferToDeferrableProviderTorector-laravel—laravel upgrade set below laravel-12
QueuePropertyToQueueAttributerector-laravellint/laravel/prefer-queue-attributeSame.
Redirect301ToPermanentRedirectrector-laravel—laravel upgrade set below laravel-12
RedirectBackToBackHelperrector-laravellint/laravel/prefer-back-helperSame.
RedirectRouteToToRouteHelperrector-laravellint/laravel/prefer-to-route-helperSame.
RefactorBlueprintGeometryColumnsrector-laravel—laravel upgrade set below laravel-12
RelationTableStringToPivotClassrector-laravellint/laravel/prefer-pivot-classSame. Planned: not ported yet.
RemoveDefaultAuthorizeTrueFromFormRequestrector-laravellint/laravel/no-default-authorizeSame. Planned: not ported yet.
RemoveDumpDataDeadCoderector-laravel—in no rector-laravel/Pest set
RemoveModelPropertyFromFactoriesrector-laravel—in no rector-laravel/Pest set
RemoveRedundantValueCallsrector-laravellint/laravel/no-useless-value-callMerged with NoUselessValueFunctionCallsRule, larastan.uselessConstructs.value.
RemoveRedundantWithCallsrector-laravellint/laravel/no-useless-with-callMerged with NoUselessWithFunctionCallsRule, larastan.uselessConstructs.with.
RemoveTraitUserector-laravel—laravel upgrade set below laravel-12
RenameStaticMethodrector-laravel—laravel upgrade set below laravel-12
ReplaceAssertTimesSendWithAssertSentTimesrector-laravel—laravel upgrade set below laravel-12
ReplaceExpectsMethodsInTestsrector-laravel—laravel upgrade set below laravel-12
ReplaceFakerInstanceWithHelperrector-laravel—laravel upgrade set below laravel-12
ReplaceFakerPropertyFetchWithMethodCallrector-laravel—package upgrade set below the current major (faker-10)
ReplaceQueueTraitsWithQueueablerector-laravel—laravel upgrade set below laravel-12
ReplaceServiceContainerCallArgrector-laravellint/laravel/prefer-class-container-keySame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
ReplaceWithoutJobsEventsAndNotificationsWithFacadeFakerector-laravel—laravel upgrade set below laravel-12
ReportIfrector-laravellint/laravel/prefer-report-ifSame.
RepositoryArrayAccessToMethodCallrector-laravellint/laravel/prefer-repository-method-callSame. Planned: not ported yet.
RequestStaticValidateToInjectrector-laravellint/laravel/prefer-request-validateSame.
RequestVariablesToRequestFacaderector-laravellint/laravel/prefer-request-facadeSame.
ResponseHelperCallToJsonResponserector-laravel—in no rector-laravel/Pest set
ReverseConditionableMethodCallrector-laravellint/laravel/no-negated-whenSame.
RouteActionCallablerector-laravel—in no rector-laravel/Pest set
RouteKeyMethodToRouteKeyAttributerector-laravellint/laravel/prefer-route-key-attributeSame. Planned: not ported yet.
ScopeNamedClassMethodToScopeAttributedClassMethodrector-laravellint/laravel-12/prefer-scope-attributeSame.
ServerVariableToRequestFacaderector-laravellint/laravel/prefer-request-serverSame.
SessionVariableToSessionFacaderector-laravellint/laravel/prefer-session-facadeSame.
SignaturePropertyToSignatureAttributerector-laravellint/laravel/prefer-signature-attributeSame.
SleepFuncToSleepStaticCallrector-laravellint/laravel/prefer-sleep-facadeSame.
StaticFacadeToServiceMethodCallrector-laravellint/refactor/replace-static-with-methodSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
StopOnFirstFailurePropertyToStopOnFirstFailureAttributerector-laravellint/laravel/prefer-stop-on-first-failure-attributeSame.
SubStrToStartsWithOrEndsWithStaticMethodCallrector-laravellint/laravel/prefer-str-starts-withSame.
TablePropertyToTableAttributerector-laravellint/laravel/prefer-table-attributeSame.
ThrowIfrector-laravellint/laravel/prefer-throw-ifSame.
ThrowIfAndThrowUnlessExceptionsToUseClassStringrector-laravellint/laravel/prefer-exception-class-stringSame.
TimeoutPropertyToTimeoutAttributerector-laravellint/laravel/prefer-timeout-attributeSame.
TouchesPropertyToTouchesAttributerector-laravellint/laravel/prefer-touches-attributeSame.
TriesPropertyToTriesAttributerector-laravellint/laravel/prefer-tries-attributeSame.
TypeHintTappableCallrector-laravellint/laravel/add-tap-closure-typeSame.
UnaliasCollectionMethodsrector-laravellint/laravel/no-collection-aliasesSame.
UnifyModelDatesWithCastsrector-laravel—laravel upgrade set below laravel-12
UniqueForPropertyToUniqueForAttributerector-laravellint/laravel/prefer-unique-for-attributeSame.
UnlinkFuncCallToFileFacadeDeleterector-laravellint/laravel/prefer-file-facade-deleteSame. Planned: not ported yet.
UseComponentPropertyWithinCommandsrector-laravel—in no rector-laravel/Pest set
UseForwardsCallsTraitrector-laravel—in no rector-laravel/Pest set
ValidationRuleArrayStringValueToArrayrector-laravellint/laravel/prefer-array-validation-rulesMerged with Pun/prefer_array_validation_rules, prefer-array-validation-rules.
VisiblePropertyToVisibleAttributerector-laravellint/laravel/prefer-visible-attributeSame.
WhereNullComparisonToWhereNullrector-laravel—in no rector-laravel/Pest set
WhereToWhereLikerector-laravel—in no rector-laravel/Pest set
WithoutIncrementingPropertyToWithoutIncrementingAttributerector-laravellint/laravel/prefer-without-incrementing-attributeSame.
WithoutTimestampsPropertyToWithoutTimestampsAttributerector-laravellint/laravel/prefer-without-timestamps-attributeSame.
ChainExpectCallspest-plugin-rectorlint/pest/prefer-chained-expectSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
ConvertAndToExpectpest-plugin-rector—in no Pest set
ConvertAssertToExpectpest-plugin-rectorlint/pest/prefer-expectSame.
ConvertBeforeAllInDescribepest-plugin-rectorlint/pest/no-before-all-in-describeSame.
ConvertExpectExceptionToThrowpest-plugin-rectorlint/pest/prefer-to-throwMerged with UseToThrow.
EnsureTypeChecksFirstpest-plugin-rectorlint/pest/require-type-matcher-firstSame.
FixInvalidRepeatValuepest-plugin-rectorlint/pest/no-invalid-repeatSame.
RemoveDebugExpectationspest-plugin-rectorlint/security/no-debug-callsMerged with no-debug-symbols.
RemoveOnlypest-plugin-rectorlint/pest/no-onlyMerged with Pun/no_only, no-only.
RemoveRedundantLiteralTypeExpectationpest-plugin-rectorlint/pest/no-redundant-type-expectationSame.
RemoveRedundantPestUsespest-plugin-rectorlint/pest/no-redundant-usesSame.
RemoveStaticTestClosurepest-plugin-rectorlint/pest/no-static-test-closureSame.
SimplifyComparisonExpectationspest-plugin-rectorlint/pest/prefer-simpler-expectationMerged with Pun/use_simpler_expectation, use-simpler-expectation.
SimplifyExpectNotpest-plugin-rectorlint/pest/prefer-not-modifierSame.
SimplifyFilesystemMatcherspest-plugin-rectorlint/pest/prefer-filesystem-matchersSame.
SimplifyToBeTruthyFalsypest-plugin-rectorlint/pest/prefer-to-be-truthy-falsySame.
SimplifyToLiteralBooleanpest-plugin-rectorlint/pest/prefer-specific-expectationsMerged with Pun/use_specific_expectations, use-specific-expectations.
TapToDeferpest-plugin-rectorlint/pest/prefer-deferSame.
ToBeTrueNotFalsepest-plugin-rectorlint/pest/no-negated-boolean-matcherSame.
ToHaveMethodOnClasspest-plugin-rectorlint/pest/prefer-to-have-method-on-classSame.
UseEachModifierpest-plugin-rectorlint/pest/prefer-each-modifierSame.
UseInstanceOfMatcherpest-plugin-rectorlint/pest/prefer-to-be-instance-ofSame.
UseSequenceMatcherpest-plugin-rectorlint/pest/prefer-sequenceSame.
UseStrictEqualityMatcherspest-plugin-rectorlint/pest/prefer-strict-equality-matchersSame.
UseToBeAlphapest-plugin-rectorlint/pest/prefer-to-be-alphaSame.
UseToBeAlphaNumericpest-plugin-rectorlint/pest/prefer-to-be-alpha-numericSame.
UseToBeBetweenpest-plugin-rectorlint/pest/prefer-to-be-betweenSame.
UseToBeDigitspest-plugin-rectorlint/pest/prefer-to-be-digitsSame.
UseToBeDirectorypest-plugin-rectorlint/pest/prefer-to-be-directorySame.
UseToBeEmptypest-plugin-rectorlint/pest/prefer-to-be-emptySame.
UseToBeFilepest-plugin-rectorlint/pest/prefer-to-be-fileSame.
UseToBeInpest-plugin-rectorlint/pest/prefer-to-be-inSame.
UseToBeInfinitepest-plugin-rectorlint/pest/prefer-to-be-infiniteSame.
UseToBeJsonpest-plugin-rectorlint/pest/prefer-to-be-jsonSame.
UseToBeListpest-plugin-rectorlint/pest/prefer-to-be-listSame.
UseToBeLowercasepest-plugin-rectorlint/pest/prefer-to-be-lowercaseSame.
UseToBeNanpest-plugin-rectorlint/pest/prefer-to-be-nanSame.
UseToBeReadableWritablepest-plugin-rector—not correctly added upstream (registered in no set)
UseToBeUppercasepest-plugin-rectorlint/pest/prefer-to-be-uppercaseSame.
UseToBeUrlpest-plugin-rectorlint/pest/prefer-to-be-urlSame.
UseToBeUuidpest-plugin-rectorlint/pest/prefer-to-be-uuidSame.
UseToContainpest-plugin-rectorlint/pest/prefer-to-containSame.
UseToContainEqualpest-plugin-rectorlint/pest/prefer-to-contain-equalSame.
UseToContainOnlyInstancesOfpest-plugin-rectorlint/pest/prefer-to-contain-only-instances-ofSame.
UseToEndWithpest-plugin-rectorlint/pest/prefer-to-end-withSame.
UseToEqualCanonicalizingpest-plugin-rectorlint/pest/prefer-to-equal-canonicalizingSame.
UseToEqualWithDeltapest-plugin-rectorlint/pest/prefer-to-equal-with-deltaSame.
UseToHaveCountpest-plugin-rectorlint/pest/prefer-to-have-countSame.
UseToHaveKeypest-plugin-rectorlint/pest/prefer-to-have-keySame.
UseToHaveKeyspest-plugin-rectorlint/pest/prefer-to-have-keysSame.
UseToHaveLengthpest-plugin-rectorlint/pest/prefer-to-have-lengthSame.
UseToHavePropertiespest-plugin-rectorlint/pest/prefer-to-have-propertiesSame.
UseToHavePropertypest-plugin-rectorlint/pest/prefer-to-have-propertySame.
UseToHaveSameSizepest-plugin-rectorlint/pest/prefer-to-have-same-sizeSame.
UseToMatchpest-plugin-rectorlint/pest/prefer-to-matchSame.
UseToMatchArraypest-plugin-rectorlint/pest/prefer-to-match-arraySame.
UseToMatchObjectpest-plugin-rectorlint/pest/prefer-to-match-objectSame.
UseToStartWithpest-plugin-rectorlint/pest/prefer-to-start-withSame.
UseToThrowpest-plugin-rectorlint/pest/prefer-to-throwMerged with ConvertExpectExceptionToThrow.
UseTypeMatcherspest-plugin-rectorlint/pest/prefer-type-matchersSame.
UsesToExtendpest-plugin-rectorlint/pest/prefer-extendSame.
AddDoesNotPerformAssertionToNonAssertingTestrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
AddInstanceofAssertForNullableArgumentrector-phpunitlint/phpunit/add-instanceof-assert-for-argumentSame.
AddInstanceofAssertForNullableInstancerector-phpunitlint/phpunit/add-instanceof-assertSame.
AddIntersectionParamToMockObjectParamrector-phpunitlint/phpunit/add-mock-intersection-paramSame.
AddIntersectionVarToMockObjectPropertyrector-phpunitlint/phpunit/add-mock-intersection-typeSame.
AddKeysExistsAssertForKeyUserector-phpunit—in no set
AddParamTypeFromDependsrector-phpunitlint/phpunit/add-param-type-dependsSame.
AddProphecyTraitrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
AddReturnTypeToDependedrector-phpunitlint/phpunit/add-depended-test-return-typeSame.
AddSeeTestAnnotationrector-phpunit—only in sets outside the eight prepared sets: rector-preset
AddStubIntersectionVarToStubPropertyrector-phpunitlint/phpunit/add-stub-intersection-typeSame.
AllowMockObjectsForDataProviderrector-phpunitlint/phpunit/add-data-provider-allow-mock-objectsSame.
AllowMockObjectsWhereParentClassrector-phpunitlint/phpunit/add-allow-mock-objects-attributeSame.
AllowMockObjectsWithoutExpectationsAttributerector-phpunit—deprecated upstream (main)
AnnotationWithValueToAttributerector-phpunitlint/phpunit/prefer-attribute-over-annotationSame. Options: configurable: options carry 1:1 (same keys, kebab-cased).
AnyMatcherToNewAnyInvokedCountrector-phpunitlint/phpunit/no-any-matcherSame. Planned: not ported yet.
AssertArrayCastedObjectToAssertSamerector-phpunitlint/phpunit/prefer-property-assertionsSame.
AssertClassToThisAssertrector-phpunit—in no set
AssertCompareOnCountableWithMethodToAssertCountrector-phpunitlint/phpunit/prefer-assert-countSame.
AssertComparisonToSpecificMethodrector-phpunitlint/phpunit/prefer-comparison-assertionSame.
AssertContainsOnlyMethodCallrector-phpunitlint/phpunit/no-assert-contains-onlySame.
AssertEmptyNullableObjectToAssertInstanceofrector-phpunitlint/phpunit/prefer-assert-instanceof-over-emptySame.
AssertEqualsOrAssertSameFloatParameterToSpecificMethodsTyperector-phpunitlint/phpunit/no-float-delta-parameterSame.
AssertEqualsParameterToSpecificMethodsTyperector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
AssertEqualsToSamerector-phpunitlint/phpunit/prefer-assert-sameMerged with php_unit_strict, strict-assertions.
AssertFalseStrposToContainsrector-phpunitlint/phpunit/prefer-assert-string-containsSame.
AssertFuncCallToPHPUnitAssertrector-phpunitlint/phpunit/prefer-assertSame.
AssertInstanceOfComparisonrector-phpunitlint/phpunit/prefer-assert-instanceofSame.
AssertIsTypeMethodCallrector-phpunitlint/phpunit/no-assert-is-typeSame.
AssertIssetToSpecificMethodrector-phpunitlint/phpunit/prefer-assert-array-has-keySame.
AssertNotOperatorrector-phpunitlint/phpunit/no-negated-assertionSame.
AssertRegExprector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
AssertSameBoolNullToSpecificMethodrector-phpunitlint/phpunit/prefer-assert-null-true-falseSame.
AssertSameTrueFalseToAssertTrueFalserector-phpunitlint/phpunit/prefer-assert-true-falseSame.
AssertThatToDirectAssertrector-phpunit—in no set
AssertTrueFalseToSpecificMethodrector-phpunitlint/phpunit/prefer-specific-true-false-assertionSame.
BareCreateMockAssignToDirectUserector-phpunitlint/phpunit/no-bare-mock-assignSame.
BehatPHPUnitAssertToWebmozartrector-phpunit—deprecated upstream (2.6.1, main)
CallbackSingleAssertToSimplerrector-phpunitlint/phpunit/prefer-simple-callback-assertSame.
ChangeMockObjectReturnUnionToIntersectionrector-phpunitlint/phpunit/prefer-mock-intersection-returnSame.
ConfiguredMockEntityToSetterObjectrector-phpunit—deprecated upstream (main)
ConstructClassMethodToSetUpTestCaserector-phpunitlint/phpunit/no-test-constructorSame.
CoversAnnotationWithValueToAttributerector-phpunitlint/phpunit/prefer-covers-attributeSame.
CreateStubInCoalesceArgrector-phpunitlint/phpunit/prefer-create-stub-in-coalesceSame.
CreateStubOverCreateMockArgrector-phpunitlint/phpunit/prefer-create-stub-argumentSame.
DataProviderAnnotationToAttributerector-phpunitlint/phpunit/prefer-data-provider-attributeSame.
DataProviderArrayItemsNewLinedrector-phpunitlint/phpunit/require-data-provider-newlinesSame.
DeclareStrictTypesTestsrector-phpunitlint/phpunit/require-strict-types-in-testsSame.
DecorateWillReturnMapWithExpectsMockrector-phpunitlint/phpunit/require-mock-expectsSame.
DelegateExceptionArgumentsrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
DependsAnnotationWithValueToAttributerector-phpunitlint/phpunit/prefer-depends-attributeSame.
DirectInstanceOverMockArgrector-phpunitlint/phpunit/no-value-object-mockSame.
EntityDocumentCreateMockToDirectNewrector-phpunitlint/phpunit/no-entity-mockSame.
ExceptionAnnotationrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
ExpectsParamToMockObjectrector-phpunitlint/phpunit/add-mock-object-typeSame.
ExplicitMockExpectsCallrector-phpunit—in no set
ExplicitPhpErrorApirector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
ExpressionCreateMockToCreateStubrector-phpunitlint/phpunit/prefer-create-stub-expressionSame.
FlipAssertrector-phpunitlint/phpunit/no-flipped-assertionSame.
GetMockrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
GetMockBuilderGetMockToCreateMockrector-phpunitlint/phpunit/no-bare-mock-builderSame.
InlineStubPropertyToCreateStubMethodCallrector-phpunitlint/phpunit/prefer-inline-create-stubSame.
MatchAssertSameExpectedTyperector-phpunitlint/phpunit/no-assert-same-type-mismatchSame.
MergeWithCallableAndWillReturnrector-phpunitlint/phpunit/prefer-will-return-callbackMerged with VoidMethodWithCallbackToWillReturnCallback.
MockObjectArgCreateStubToCreateMockrector-phpunitlint/phpunit/no-stub-with-expectationsSame.
MockObjectVarToStubrector-phpunitlint/phpunit/prefer-stub-varSame.
NamedArgumentForDataProviderrector-phpunitlint/phpunit/prefer-named-data-provider-keysSame.
NarrowIdenticalWithConsecutiverector-phpunitlint/phpunit/prefer-narrow-with-consecutiveSame.
NarrowSingleWillReturnCallbackrector-phpunitlint/phpunit/prefer-narrow-will-return-callbackSame.
NarrowUnusedSetUpDefinedPropertyrector-phpunitlint/phpunit/prefer-local-over-setup-propertySame.
NoSetupWithParentCallOverriderector-phpunitlint/phpunit/no-setup-override-attributeSame.
ParentTestClassConstructorrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
PreferPHPUnitSelfCallrector-phpunit—in no set
PreferPHPUnitThisCallrector-phpunitlint/phpunit/prefer-this-callSame.
PreferTestsWithCamelCaserector-phpunit—in no set
PreferTestsWithSnakeCaserector-phpunit—in no set
PropertyCreateMockToCreateStubrector-phpunitlint/phpunit/prefer-create-stubSame.
PropertyExistsWithoutAssertrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
PublicDataProviderClassMethodrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
RemoveDataProviderTestPrefixrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
RemoveEmptyTestMethodrector-phpunitlint/phpunit/no-empty-testSame.
RemoveExpectAnyFromMockrector-phpunitlint/phpunit/no-expects-anySame.
RemoveNamedArgsInDataProviderrector-phpunit—deprecated upstream (main)
RemoveNeverUsedMockPropertyrector-phpunitlint/phpunit/no-unused-mock-propertySame.
RemoveOverrideFinalConstructTestCaserector-phpunitlint/phpunit/no-final-constructor-overrideSame.
RemoveSetMethodsMethodCallrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
RemoveStandaloneCreateMockrector-phpunitlint/phpunit/no-unused-mockSame.
ReplaceAtMethodWithDesiredMatcherrector-phpunitlint/phpunit/no-at-matcherSame.
ReplaceTestAnnotationWithPrefixedFunctionrector-phpunitlint/phpunit/prefer-test-prefixSame.
ReplaceTestFunctionPrefixWithAttributerector-phpunit—deprecated upstream (2.6.1, main)
RequiresAnnotationWithValueToAttributerector-phpunitlint/phpunit/prefer-requires-attributeSame.
ScalarArgumentToExpectedParamTyperector-phpunitlint/phpunit/require-exact-test-argument-typeSame.
ScenarioToTestAnnotationrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
SimplerWithIsInstanceOfrector-phpunitlint/phpunit/prefer-with-is-instance-ofSame.
SimplifyForeachInstanceOfrector-phpunitlint/phpunit/prefer-assert-instances-ofSame.
SingleMockPropertyTyperector-phpunitlint/phpunit/no-mock-intersection-propertySame.
SingleWithConsecutiveToWithrector-phpunitlint/phpunit/prefer-simple-mock-expectationSame.
SpecificAssertContainsrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
SpecificAssertContainsWithoutIdentityrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
SpecificAssertInternalTyperector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
StaticDataProviderClassMethodrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
StringCastAssertStringContainsStringrector-phpunitlint/phpunit/require-string-assert-argumentSame.
SuffixMockObjectPropertyrector-phpunit—deprecated upstream (main)
TestListenerToHooksrector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
TestWithAnnotationToAttributerector-phpunitlint/phpunit/prefer-test-with-attributeSame.
TestWithToDataProviderrector-phpunitlint/phpunit/prefer-data-providerSame.
TicketAnnotationToAttributerector-phpunitlint/phpunit/prefer-ticket-attributeSame.
TypeWillReturnCallableArrowFunctionrector-phpunitlint/phpunit/add-will-return-callback-param-typeSame.
UseSpecificWillMethodrector-phpunitlint/phpunit/prefer-specific-will-methodSame.
UseSpecificWithMethodrector-phpunitlint/phpunit/prefer-simple-with-matcherSame.
VoidMethodWithCallbackToWillReturnCallbackrector-phpunitlint/phpunit/prefer-will-return-callbackMerged with MergeWithCallableAndWillReturn.
WillReturnCallbackFallbackToReturnFalserector-phpunitlint/phpunit/add-will-return-callback-false-fallbackSame. Planned: not ported yet.
WillReturnCallbackFallbackToThrowrector-phpunit—deprecated upstream (2.6.1, main)
WithCallbackIdenticalToStandaloneAssertsrector-phpunitlint/phpunit/prefer-standalone-asserts-over-callbackSame.
WithConsecutiverector-phpunit—only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)
YieldDataProviderrector-phpunitlint/phpunit/prefer-yield-data-providerSame.
AccessTypeAnnotationToAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
AccessorAnnotationToAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ActionSuffixRemoverrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
AddFormatArgumentToIsValidrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
AddRouteAnnotationrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
AddTraitGetterReturnTypeBasedOnSetterRequiredrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
AddViolationToBuildViolationrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
AddVoteArgumentToVoteOnAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ArgumentValueResolverToValueResolverrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
AssertSameResponseCodeWithDebugContentsrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
AuthorizationCheckerIsGrantedExtractorrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
AuthorizationCheckerToAccessDecisionManagerInVoterrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
AutowireAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
BinaryFileResponseCreateToNewInstancerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ChangeCollectionTypeOptionNameFromTypeToEntryTyperector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ChangeStringCollectionOptionToConstantrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
CommandConfigureToAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
CommandConstantReturnCoderector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
CommandDefaultNameAndDescriptionToAsCommandAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
CommandGetByTypeToConstructorInjectionrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
CommandHelpToAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
CommandPropertyToAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ConsoleExceptionToErrorEventConstantrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ConsoleExecuteReturnIntrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ConstraintOptionsToNamedArgumentsrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ConstraintUrlOptionrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ConstraintValidatorValidateToValidateInContextrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ContainerBuilderCompileEnvArgumentrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ContainerGetNameToTypeInTestsrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ContainerInterfaceServiceToServiceContainerrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ControllerGetByTypeToConstructorInjectionrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ControllerMethodInjectionToConstructorrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ConvertRenderTemplateShortNotationToBundleSyntaxrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
DefinitionAliasSetPrivateToSetPublicrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
DowngradeSymfonyCommandAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ErrorNamesPropertyToConstantrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
EventDispatcherParentConstructrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
EventListenerToEventSubscriberrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
EventSubscriberMethodReturnVoidrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
FormBuilderSetDataMapperrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
FormIsValidrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
FormTypeGetParentrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
FormTypeInstanceToClassConstrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
FromServicePublicToDefaultsPublicrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
GetBySymfonyStringToConstructorInjectionrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
GetCurrencyBundleMethodCallsToIntlrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
GetFiltersToAsTwigFilterAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
GetFunctionsToAsTwigFunctionAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
GetHelperControllerToServicerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
GetRequestrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
GetToConstructorInjectionrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
InlineClassRoutePrefixrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
InvokableCommandInputAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
KernelTestCaseContainerPropertyDeprecationrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
LiteralGetToRequestClassConstantrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
LoadValidatorMetadataToAnnotationrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
LoadValidatorMetadataToAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
LogoutHandlerToLogoutEventSubscriberrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
LogoutSuccessHandlerToLogoutEventSubscriberrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
MagicClosureTwigExtensionToNativeMethodsrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
MakeDispatchFirstArgumentEventrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
MaxLengthSymfonyFormOptionToAttrrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
MergeMethodAnnotationToRouteAnnotationrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
MergeServiceNameTyperector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
MessageHandlerInterfaceToAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
MessageSubscriberInterfaceToAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
OptionNamerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ParamAndEnvAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ParamConverterAttributeToMapEntityAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ParamTypeFromRouteRequiredRegexrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ParameterBagToAutowireAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ParameterBagTypedGetMethodCallrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ParseFilerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
PropertyAccessorCreationBooleanToFlagsrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
PropertyPathMapperToDataMapperrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
PushRequestToRequestStackConstructorrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ReadOnlyOptionToAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
RedirectToRouterector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ReflectionExtractorEnableMagicCallExtractorrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
RemoveConstructorAutowireServicerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
RemoveDefaultGetBlockPrefixrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
RemoveEraseCredentialsrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
RemoveEraseCredentialsFromAuthenticatorManagerrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
RemoveServiceFromSensioRouterector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
RemoveUnusedRequestParamrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
RenameCopyOnWindowsOptionToFollowSymlinksrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ReplaceSensioRouteAnnotationWithSymfonyrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
RequestIsMainrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ResponseReturnTypeControllerActionrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ResponseStatusCoderector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ReturnDirectJsonResponserector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
RootNodeTreeBuilderrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
RouteCollectionBuilderToRoutingConfiguratorrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
SecurityAttributeToIsGrantedAttributerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ServiceArgsToServiceNamedArgrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ServiceSetStringNameToClassNamerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ServiceSettersToSettersAutodiscoveryrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ServiceTagsToDefaultsAutoconfigurerector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
SignalableCommandInterfaceReturnTyperector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
SimpleFunctionAndFilterrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
SimplifyFormRenderingrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
SingleConditionSecurityAttributeToIsGrantedrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
SplitAndSecurityAttributeToIsGrantedrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
StringCastDebugResponserector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
StringFormTypeToClassrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
StringToArrayArgumentProcessrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
SwiftCreateMessageToNewEmailrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
SwiftMessageToEmailrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
SwiftSetBodyToHtmlPlainMethodCallrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
TemplateAnnotationToThisRenderrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
TraitGetByTypeToInjectrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
TwigBundleFilesystemLoaderToTwigrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
ValidatorBuilderEnableAnnotationMappingrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
VarDumperTestTraitMethodArgsrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
WebTestCaseAssertIsSuccessfulrector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
WebTestCaseAssertResponseCoderector-symfony—Symfony rules: out of scope (Laravel-first); migrate lists them
AddAnnotationToRepositoryrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
AddArrayResultColumnNamesrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
AddGetReferenceTyperector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
ArrayDimFetchAssignToAddCollectionCallrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
ArrayMapOnCollectionToArrayrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
ArrayMergeOnCollectionToArrayrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
ArrayOffsetSetToSetCollectionCallrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
AssertNullOnCollectionToAssertEmptyrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
AssertSameCountOnCollectionToAssertCountrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
CastDoctrineExprToStringrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
ChangeCompositeExpressionAddMultipleWithWithrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
CollectionDocblockGenericTyperector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
CollectionGetterNativeTyperector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
CollectionParamTypeSetterToCollectionPropertyrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
CollectionSetterParamNativeTyperector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
CompleteParamDocblockFromSetterToCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
CompletePropertyDocblockFromToManyrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
CompleteReturnDocblockFromToManyrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
CorrectDefaultTypesOnEntityPropertyrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
CriteriaOrderingConstantsDeprecationrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
CurrentOnCollectionToArrayrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
DefaultCollectionKeyrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
EmptyOnCollectionToIsEmptyCallrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
EventSubscriberInterfaceToAttributerector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
ExecuteQueryParamsToBindValuerector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
ExtractArrayArgOnQueryBuilderSelectrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
GetRepositoryServiceLocatorToRepositoryServiceInjectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
InArrayOnCollectionToContainsCallrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
InitializeCollectionInConstructorrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
IterateToToIterablerector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
MigrateQueryBuilderResetQueryPartrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
MoveCurrentDateTimeDefaultInEntityToConstructorrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
NarrowArrayCollectionToCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
NarrowParamUnionToCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
NarrowPropertyUnionToCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
NarrowReturnUnionToCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
RemoveAssertNotNullOnCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
RemoveCoalesceAssignOnCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
RemoveEmptyTableAttributerector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
RemoveIfCollectionIdenticalToNullrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
RemoveIfInstanceofCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
RemoveIsArrayOnCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
RemoveNewArrayCollectionOutsideConstructorrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
RemoveNewArrayCollectionWraprector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
RemoveNullFromInstantiatedArrayCollectionPropertyrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
RemoveNullFromNullableCollectionTyperector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
RemoveNullsafeOnCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
RemoveUselessIsEmptyAssignrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
ReplaceFetchAllMethodCallrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
ReplaceLifecycleEventArgsByDedicatedEventArgsrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
ReturnArrayToNewArrayCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
ReturnCollectionDocblockrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
SetArrayToNewCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
SetParametersArrayToCollectionrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
TypeNullableEntityFromDocblockrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
TypedPropertyFromColumnTyperector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
TypedPropertyFromToManyRelationTyperector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
TypedPropertyFromToOneRelationTyperector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
YamlToAttributeDoctrineMappingrector-doctrine—Doctrine rules: out of scope (Laravel-first); migrate lists them
AddReturnTypeWillChangeAttributerector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
ArrowFunctionToAnonymousFunctionrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeAbstractPrivateMethodInTraitrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeArbitraryExpressionsSupportrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeArrayAllrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeArrayAnyrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeArrayFilterNullableCallbackrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeArrayFindrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeArrayFindKeyrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeArrayFirstLastrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeArrayIsListrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeArrayKeyFirstLastrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeArrayMergeCallWithoutArgumentsrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeArraySpreadrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeAttributeToAnnotationrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeClamprector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeClassOnObjectToGetClassrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeContravariantArgumentTyperector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeCovariantReturnTyperector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeDereferenceableOperationrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeDomNodeChildNodesForeachrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeDynamicClassConstFetchrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeEnumToConstantListClassrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeFinalPropertyPromotionrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeFinalizePublicClassConstantrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeFirstClassCallableSyntaxrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeFlexibleHeredocSyntaxrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeFreadFwriteFalsyToNegationrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeHashAlgorithmXxHashrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeInstanceofStringablerector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeIsCountablerector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeIsEnumrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeIteratorCountToArrayrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeJsonDecodeNullAssociativeArgrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeJsonValidaterector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeListReferenceAssignmentrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeMatchToSwitchrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeMixedTypeDeclarationrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeMixedTypeTypedPropertyrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeNamedArgumentrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeNeverTypeDeclarationrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeNewInInitializerrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeNewMethodCallWithoutParenthesesrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeNonCapturingCatchesrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeNullCoalescingOperatorrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeNullsafeToTernaryOperatorrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeNumberFormatNoFourthArgrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeNumericLiteralSeparatorrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeObjectTypeDeclarationrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeOctalNumberrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeParameterTypeWideningrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradePhp72JsonConstrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradePhp73JsonConstrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradePhp80ResourceReturnToObjectrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradePhp81ResourceReturnToObjectrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradePhpTokenrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradePipeOperatorrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradePregUnmatchedAsNullConstantrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradePreviouslyImplementedInterfacerector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeProcOpenArrayCommandArgrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradePropertyPromotionrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradePureIntersectionTyperector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeReadonlyAnonymousClassrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeReadonlyClassrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeReadonlyPropertyrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeRecursiveDirectoryIteratorHasChildrenrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeReflectionClassGetConstantsFilterrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeReflectionGetAttributesrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeReflectionGetTyperector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeReflectionPropertyGetDefaultValuerector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeRoundingModeEnumrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeSetAccessibleReflectionPropertyrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeStandaloneNullTrueFalseReturnTyperector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeStaticTypeDeclarationrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeStrContainsrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeStrEndsWithrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeStrStartsWithrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeStreamIsattyrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeStripTagsCallWithArrayrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeSubstrFalsyrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeThrowExprrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeTrailingCommasInFunctionCallsrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeTrailingCommasInParamUserector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeTrailingCommasInUnsetrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeTypedClassConstrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeTypedPropertyrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeUnionIntersectionrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeUnionTypeDeclarationrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeUnionTypeTypedPropertyrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
DowngradeVoidCastrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
RemoveReturnTypeDeclarationFromClonerector-downgrade-php—downgrade sets contradict modernize; use [php] version instead
SetCookieOptionsArrayToArgumentsrector-downgrade-php—downgrade sets contradict modernize; use [php] version instead

Unsupported rules

Behat rules: out of scope (Laravel-first); migrate lists them

TypedStaticPropertyInBehatContext.

Doctrine rules: out of scope (Laravel-first); migrate lists them

ChildDoctrineRepositoryClassType, AddAnnotationToRepository, AddArrayResultColumnNames, AddGetReferenceType, ArrayDimFetchAssignToAddCollectionCall, ArrayMapOnCollectionToArray, ArrayMergeOnCollectionToArray, ArrayOffsetSetToSetCollectionCall, AssertNullOnCollectionToAssertEmpty, AssertSameCountOnCollectionToAssertCount, CastDoctrineExprToString, ChangeCompositeExpressionAddMultipleWithWith, CollectionDocblockGenericType, CollectionGetterNativeType, CollectionParamTypeSetterToCollectionProperty, CollectionSetterParamNativeType, CompleteParamDocblockFromSetterToCollection, CompletePropertyDocblockFromToMany, CompleteReturnDocblockFromToMany, CorrectDefaultTypesOnEntityProperty, CriteriaOrderingConstantsDeprecation, CurrentOnCollectionToArray, DefaultCollectionKey, EmptyOnCollectionToIsEmptyCall, EventSubscriberInterfaceToAttribute, ExecuteQueryParamsToBindValue, ExtractArrayArgOnQueryBuilderSelect, GetRepositoryServiceLocatorToRepositoryServiceInjection, InArrayOnCollectionToContainsCall, InitializeCollectionInConstructor, IterateToToIterable, MigrateQueryBuilderResetQueryPart, MoveCurrentDateTimeDefaultInEntityToConstructor, NarrowArrayCollectionToCollection, NarrowParamUnionToCollection, NarrowPropertyUnionToCollection, NarrowReturnUnionToCollection, RemoveAssertNotNullOnCollection, RemoveCoalesceAssignOnCollection, RemoveEmptyTableAttribute, RemoveIfCollectionIdenticalToNull, RemoveIfInstanceofCollection, RemoveIsArrayOnCollection, RemoveNewArrayCollectionOutsideConstructor, RemoveNewArrayCollectionWrap, RemoveNullFromInstantiatedArrayCollectionProperty, RemoveNullFromNullableCollectionType, RemoveNullsafeOnCollection, RemoveUselessIsEmptyAssign, ReplaceFetchAllMethodCall, ReplaceLifecycleEventArgsByDedicatedEventArgs, ReturnArrayToNewArrayCollection, ReturnCollectionDocblock, SetArrayToNewCollection, SetParametersArrayToCollection, TypeNullableEntityFromDocblock, TypedPropertyFromColumnType, TypedPropertyFromToManyRelationType, TypedPropertyFromToOneRelationType, YamlToAttributeDoctrineMapping.

JMS rules: out of scope (Laravel-first); migrate lists them

ObjectTypedPropertyFromJMSSerializerAttributeType, ScalarTypedPropertyFromJMSSerializerAttributeType.

Rector post-processor, not a rule: no set registers it

DocblockNameImportingPost, NameImportingPost, UnusedImportRemovingPost.

Rector-internal post-processing step of RenameClass, not a user rule

ClassRenamingPost.

Rector-internal post-processing step of the import feature, not a user rule

UseAddingPost.

Symfony rules: out of scope (Laravel-first); migrate lists them

ReturnTypeFromSymfonySerializer, AccessTypeAnnotationToAttribute, AccessorAnnotationToAttribute, ActionSuffixRemover, AddFormatArgumentToIsValid, AddRouteAnnotation, AddTraitGetterReturnTypeBasedOnSetterRequired, AddViolationToBuildViolation, AddVoteArgumentToVoteOnAttribute, ArgumentValueResolverToValueResolver, AssertSameResponseCodeWithDebugContents, AuthorizationCheckerIsGrantedExtractor, AuthorizationCheckerToAccessDecisionManagerInVoter, AutowireAttribute, BinaryFileResponseCreateToNewInstance, ChangeCollectionTypeOptionNameFromTypeToEntryType, ChangeStringCollectionOptionToConstant, CommandConfigureToAttribute, CommandConstantReturnCode, CommandDefaultNameAndDescriptionToAsCommandAttribute, CommandGetByTypeToConstructorInjection, CommandHelpToAttribute, CommandPropertyToAttribute, ConsoleExceptionToErrorEventConstant, ConsoleExecuteReturnInt, ConstraintOptionsToNamedArguments, ConstraintUrlOption, ConstraintValidatorValidateToValidateInContext, ContainerBuilderCompileEnvArgument, ContainerGetNameToTypeInTests, ContainerInterfaceServiceToServiceContainer, ControllerGetByTypeToConstructorInjection, ControllerMethodInjectionToConstructor, ConvertRenderTemplateShortNotationToBundleSyntax, DefinitionAliasSetPrivateToSetPublic, DowngradeSymfonyCommandAttribute, ErrorNamesPropertyToConstant, EventDispatcherParentConstruct, EventListenerToEventSubscriber, EventSubscriberMethodReturnVoid, FormBuilderSetDataMapper, FormIsValid, FormTypeGetParent, FormTypeInstanceToClassConst, FromServicePublicToDefaultsPublic, GetBySymfonyStringToConstructorInjection, GetCurrencyBundleMethodCallsToIntl, GetFiltersToAsTwigFilterAttribute, GetFunctionsToAsTwigFunctionAttribute, GetHelperControllerToService, GetRequest, GetToConstructorInjection, InlineClassRoutePrefix, InvokableCommandInputAttribute, KernelTestCaseContainerPropertyDeprecation, LiteralGetToRequestClassConstant, LoadValidatorMetadataToAnnotation, LoadValidatorMetadataToAttribute, LogoutHandlerToLogoutEventSubscriber, LogoutSuccessHandlerToLogoutEventSubscriber, MagicClosureTwigExtensionToNativeMethods, MakeDispatchFirstArgumentEvent, MaxLengthSymfonyFormOptionToAttr, MergeMethodAnnotationToRouteAnnotation, MergeServiceNameType, MessageHandlerInterfaceToAttribute, MessageSubscriberInterfaceToAttribute, OptionName, ParamAndEnvAttribute, ParamConverterAttributeToMapEntityAttribute, ParamTypeFromRouteRequiredRegex, ParameterBagToAutowireAttribute, ParameterBagTypedGetMethodCall, ParseFile, PropertyAccessorCreationBooleanToFlags, PropertyPathMapperToDataMapper, PushRequestToRequestStackConstructor, ReadOnlyOptionToAttribute, RedirectToRoute, ReflectionExtractorEnableMagicCallExtractor, RemoveConstructorAutowireService, RemoveDefaultGetBlockPrefix, RemoveEraseCredentials, RemoveEraseCredentialsFromAuthenticatorManager, RemoveServiceFromSensioRoute, RemoveUnusedRequestParam, RenameCopyOnWindowsOptionToFollowSymlinks, ReplaceSensioRouteAnnotationWithSymfony, RequestIsMain, ResponseReturnTypeControllerAction, ResponseStatusCode, ReturnDirectJsonResponse, RootNodeTreeBuilder, RouteCollectionBuilderToRoutingConfigurator, SecurityAttributeToIsGrantedAttribute, ServiceArgsToServiceNamedArg, ServiceSetStringNameToClassName, ServiceSettersToSettersAutodiscovery, ServiceTagsToDefaultsAutoconfigure, SignalableCommandInterfaceReturnType, SimpleFunctionAndFilter, SimplifyFormRendering, SingleConditionSecurityAttributeToIsGranted, SplitAndSecurityAttributeToIsGranted, StringCastDebugResponse, StringFormTypeToClass, StringToArrayArgumentProcess, SwiftCreateMessageToNewEmail, SwiftMessageToEmail, SwiftSetBodyToHtmlPlainMethodCall, TemplateAnnotationToThisRender, TraitGetByTypeToInject, TwigBundleFilesystemLoaderToTwig, ValidatorBuilderEnableAnnotationMapping, VarDumperTestTraitMethodArgs, WebTestCaseAssertIsSuccessful, WebTestCaseAssertResponseCode.

deprecated upstream (2.6.1, 2.7.0 (removed), main (removed))

NewInInitializer.

deprecated upstream (2.6.1, 2.7.0, main)

AddParamArrayDocblockFromDataProvider, AddReturnArrayDocblockFromDataProviderParam, AddReturnDocblockDataProvider, AddReturnDocblockFromMethodCallDocblock, ArraySpreadInsteadOfArrayMerge, BinaryOpStandaloneAssignsToDirect, CountArrayToEmptyArrayComparison, EncapsedStringsToSprintf, EnumCaseToPascalCase, JoinStringConcat, NestedTernaryToMatch, NullableCompareToNull, RemoveTypedPropertyNonMockDocblock, SimplifyRegexPattern, StaticArrowFunction, StaticCallOnNonStaticToInstanceCall, StaticClosure, StrictStringParamConcat, SwitchTrueToIf, UnusedForeachValueToArrayKeys, WrapEncapsedVariableInCurlyBraces.

deprecated upstream (2.6.1, main)

BehatPHPUnitAssertToWebmozart, ReplaceTestFunctionPrefixWithAttribute, WillReturnCallbackFallbackToThrow.

deprecated upstream (2.7.0 (removed), main (removed))

RenameDeprecatedMethodCall, UtilsJsonStaticCallNamedArg.

deprecated upstream (2.7.0, main)

AddAssertArrayFromClassMethodDocblock, AddInterfaceByTrait, AddParamArrayDocblockBasedOnArrayMap, AddReturnArrayDocblockBasedOnArrayMap, AddReturnDocblockForDimFetchArrayFromAssigns, AddSensitiveParameterAttribute, ChangeNestedForeachIfsToEarlyContinue, ChangeNestedIfsToEarlyReturn, ChangeOrIfContinueToMultiContinue, CoalesceToTernary, CombineIf, ConstAndTraitDeprecatedAttribute, DeprecatedAnnotationToDeprecatedAttribute, DisallowedEmptyRuleFixer, DynamicDocBlockPropertyToNativeProperty, ExplicitBoolCompare, FluentSettersToStandaloneCallMethod, FuncCallToMethodCall, JsonThrowOnError, ListSwapArrayOrder, NestedFuncCallsToPipeOperator, PropertyHook, RemoveAnnotation, RemoveReturnThisFromSetterClassMethod, ReturnBinaryOrToEarlyReturn, ScalarValueToConstFetch, SequentialAssignmentsToPipeOperator, ShortenElseIf, SimplifyIfElseToTernary, SwitchNegatedTernary.

deprecated upstream (2.8.4, main)

AddOverrideAttributeToOverriddenMethods, AddParamStringTypeFromSprintfUse, ArrayDimFetchToMethodCall, CompleteDynamicProperties, FuncCallToNew, FuncCallToStaticCall, ParamTypeByParentCallType, RemoveParentDelegatingConstructor, ReturnEarlyIfVariable, StaticCallToMethodCall.

deprecated upstream (main)

ArrayParamTypeByMethodCallType, CallUserFuncWithArrowFunctionToInline, DeclareStrictTypes, EmptyOnNullableObjectToInstanceOf, FlipTypeControlToUseExclusiveType, ForRepeatedCountToOwnVariable, ForeachItemsAssignToEmptyArrayToAssign, InnerFunctionToPrivateMethod, MoveInnerFunctionToTopLevel, ObjectExplicitBoolCompare, ObjectParamTypeByMethodCallType, ParamTypeByMethodCallType, PostIncDecToPreIncDec, RemoveDeadReturn, RemoveDuplicatedReturnSelfDocblock, RemoveUselessIsObjectCheck, RenameForeachValueVariableToMatchExprVariable, RenameForeachValueVariableToMatchMethodCallReturnType, RenameParamToMatchType, RenamePropertyToMatchType, RenameVariableToMatchMethodCallReturnType, RenameVariableToMatchNewType, ScalarParamTypeByMethodCallType, SetTypeToCast, SimplifyStrposLower, SwitchTrueToMatch, TernaryFalseExpressionToIf, WhileNullableToInstanceof, AllowMockObjectsWithoutExpectationsAttribute, ConfiguredMockEntityToSetterObject, RemoveNamedArgsInDataProvider, SuffixMockObjectProperty.

downgrade sets contradict modernize; use [php] version instead

AddReturnTypeWillChangeAttribute, ArrowFunctionToAnonymousFunction, DowngradeAbstractPrivateMethodInTrait, DowngradeArbitraryExpressionsSupport, DowngradeArrayAll, DowngradeArrayAny, DowngradeArrayFilterNullableCallback, DowngradeArrayFind, DowngradeArrayFindKey, DowngradeArrayFirstLast, DowngradeArrayIsList, DowngradeArrayKeyFirstLast, DowngradeArrayMergeCallWithoutArguments, DowngradeArraySpread, DowngradeAttributeToAnnotation, DowngradeClamp, DowngradeClassOnObjectToGetClass, DowngradeContravariantArgumentType, DowngradeCovariantReturnType, DowngradeDereferenceableOperation, DowngradeDomNodeChildNodesForeach, DowngradeDynamicClassConstFetch, DowngradeEnumToConstantListClass, DowngradeFinalPropertyPromotion, DowngradeFinalizePublicClassConstant, DowngradeFirstClassCallableSyntax, DowngradeFlexibleHeredocSyntax, DowngradeFreadFwriteFalsyToNegation, DowngradeHashAlgorithmXxHash, DowngradeInstanceofStringable, DowngradeIsCountable, DowngradeIsEnum, DowngradeIteratorCountToArray, DowngradeJsonDecodeNullAssociativeArg, DowngradeJsonValidate, DowngradeListReferenceAssignment, DowngradeMatchToSwitch, DowngradeMixedTypeDeclaration, DowngradeMixedTypeTypedProperty, DowngradeNamedArgument, DowngradeNeverTypeDeclaration, DowngradeNewInInitializer, DowngradeNewMethodCallWithoutParentheses, DowngradeNonCapturingCatches, DowngradeNullCoalescingOperator, DowngradeNullsafeToTernaryOperator, DowngradeNumberFormatNoFourthArg, DowngradeNumericLiteralSeparator, DowngradeObjectTypeDeclaration, DowngradeOctalNumber, DowngradeParameterTypeWidening, DowngradePhp72JsonConst, DowngradePhp73JsonConst, DowngradePhp80ResourceReturnToObject, DowngradePhp81ResourceReturnToObject, DowngradePhpToken, DowngradePipeOperator, DowngradePregUnmatchedAsNullConstant, DowngradePreviouslyImplementedInterface, DowngradeProcOpenArrayCommandArg, DowngradePropertyPromotion, DowngradePureIntersectionType, DowngradeReadonlyAnonymousClass, DowngradeReadonlyClass, DowngradeReadonlyProperty, DowngradeRecursiveDirectoryIteratorHasChildren, DowngradeReflectionClassGetConstantsFilter, DowngradeReflectionGetAttributes, DowngradeReflectionGetType, DowngradeReflectionPropertyGetDefaultValue, DowngradeRoundingModeEnum, DowngradeSetAccessibleReflectionProperty, DowngradeStandaloneNullTrueFalseReturnType, DowngradeStaticTypeDeclaration, DowngradeStrContains, DowngradeStrEndsWith, DowngradeStrStartsWith, DowngradeStreamIsatty, DowngradeStripTagsCallWithArray, DowngradeSubstrFalsy, DowngradeThrowExpr, DowngradeTrailingCommasInFunctionCalls, DowngradeTrailingCommasInParamUse, DowngradeTrailingCommasInUnset, DowngradeTypedClassConst, DowngradeTypedProperty, DowngradeUnionIntersection, DowngradeUnionTypeDeclaration, DowngradeUnionTypeTypedProperty, DowngradeVoidCast, RemoveReturnTypeDeclarationFromClone, SetCookieOptionsArrayToArguments.

in no Pest set

ConvertAndToExpect.

in no rector-laravel/Pest set

ArrayToArrGet, CommandPropertyToAsCommandAttribute, ConfigToTypedConfigMethodCall, DateWhereClauseToShorthand, EmptyToBlankAndFilledFunc, MinutesToSecondsInCache, RemoveDumpDataDeadCode, RemoveModelPropertyFromFactories, ResponseHelperCallToJsonResponse, RouteActionCallable, UseComponentPropertyWithinCommands, UseForwardsCallsTrait, WhereNullComparisonToWhereNull, WhereToWhereLike.

in no set

AddPropertyTypeDeclaration, ArgumentRemover, AttributeKeyToClassConstFetch, ChangeConstantVisibility, ChangeMethodVisibility, ConstFetchToClassConstFetch, MergeInterfaces, MethodCallToFuncCall, MethodCallToStaticCall, NestedAnnotationToAttribute, NewToStaticCall, NullToStrictStringFuncCallArg, RemoveInterfaces, RemoveMethodCallParam, RemoveTraitUse, RenameAttribute, RenameProperty, RenameStaticMethod, RenameString, ReplaceArgumentDefaultValue, StaticCallToNew, StringToClassConstant, WrapReturn, AddKeysExistsAssertForKeyUse, AssertClassToThisAssert, AssertThatToDirectAssert, ExplicitMockExpectsCall, PreferPHPUnitSelfCall, PreferTestsWithCamelCase, PreferTestsWithSnakeCase.

laravel upgrade set below laravel-12

AddArgumentDefaultValue, AddGuardToLoginEvent, AddMockConsoleOutputFalseToConsoleTests, AddParentBootToModelClassMethod, AddParentRegisterToEventServiceProvider, AssertSeeToAssertSeeHtml, ChangeQueryWhereDateValueWithCarbon, DatabaseExpressionCastsToMethodCall, DatabaseExpressionToStringToMethodCall, DispatchNonShouldQueueToDispatchSync, EventStringToClassConstant, MigrateToSimplifiedAttribute, ModelCastsPropertyToCastsMethod, PropertyDeferToDeferrableProviderTo, Redirect301ToPermanentRedirect, RefactorBlueprintGeometryColumns, RemoveTraitUse, RenameStaticMethod, ReplaceAssertTimesSendWithAssertSentTimes, ReplaceExpectsMethodsInTests, ReplaceFakerInstanceWithHelper, ReplaceQueueTraitsWithQueueable, ReplaceWithoutJobsEventsAndNotificationsWithFacadeFake, UnifyModelDatesWithCasts.

legacy-factories migration (Laravel 7 to 8 upgrade), below laravel-12

FactoryApplyingStates, FactoryDefinition, FactoryFuncCallToStaticCall.

lumen set (Lumen framework only)

LumenRoutesStringActionToUsesArray, LumenRoutesStringMiddlewareToArray.

not correctly added upstream (registered in no set)

UseToBeReadableWritable.

only in PHPUnit upgrade sets below phpunit110 (below the Laravel 12 / PHPUnit 11 floor)

AddParamTypeDeclaration, AddReturnTypeDeclaration, RenameAnnotation, AddDoesNotPerformAssertionToNonAssertingTest, AddProphecyTrait, AssertEqualsParameterToSpecificMethodsType, AssertRegExp, DelegateExceptionArguments, ExceptionAnnotation, ExplicitPhpErrorApi, GetMock, ParentTestClassConstructor, PropertyExistsWithoutAssert, PublicDataProviderClassMethod, RemoveDataProviderTestPrefix, RemoveSetMethodsMethodCall, ScenarioToTestAnnotation, SpecificAssertContains, SpecificAssertContainsWithoutIdentity, SpecificAssertInternalType, StaticDataProviderClassMethod, TestListenerToHooks, WithConsecutive.

only in php52..php81 upgrade sets (below php82)

AddParamBasedOnParentClassMethod, ArgumentAdder, ArrayKeyExistsOnProperty, ArrayKeyFirstLast, ArrayKeysToArrayKeyFirstLast, ArrayToFirstClassCallable, ArrowFunctionDelegatingCallToFirstClassCallable, AssignArrayToString, BinaryOpBetweenNumberAndString, BreakNotInLoopOrSwitchToReturn, CallUserMethod, ChangeSwitchToMatch, ClassConstantToSelfClass, ClassOnObject, ClassOnThisVariableObject, ClassPropertyAssignToConstructorPromotion, ClosureDelegatingCallToFirstClassCallable, ClosureFromCallableToFirstClassCallable, ClosureToArrowFunction, ConsistentImplode, ContinueToBreakInSwitch, CreateFunctionToAnonymousFunction, CurlyToSquareBracketArrayString, DirNameFileConstantToDirConstant, EmptyList, EregToPregMatch, ExceptionHandlerTypehint, ExplicitPublicClassMethod, ExportToReflectionFunction, FilterVarToAddSlashes, FinalPrivateToPrivateVisibility, FunctionArgumentDefaultValueReplacer, FunctionFirstClassCallable, GetCalledClassToSelfClass, GetCalledClassToStaticClass, GetClassOnNull, GetDebugType, GetHeadersArgumentFormat, HebrevcToNl2brHebrev, IfIssetToCoalescing, IfToNullCoalescingAssign, IfToSpaceship, IsCountable, IsIterable, ListEach, ListSplitString, ListToArrayDestruct, LongArrayToShortArray, MbStrrposEncodingArgumentPosition, MoneyFormatToNumberFormat, MultiDirname, MultiExceptionCatch, MyCLabsClassToEnum, MyCLabsConstructorCallToEnumFrom, MyCLabsMethodCallToEnumConst, NullCoalescingOperator, NullToStrictIntPregSlitFuncCallLimitArg, ParenthesizeNestedTernary, ParseStrWithResultArgument, Php4Constructor, PowToExp, PregReplaceEModifier, RandomFunction, ReadOnlyProperty, ReduceMultipleDefaultSwitch, RegexDashEscape, RemoveReferenceFromCall, RemoveReflectionSetAccessibleCalls, RemoveUnusedVariableInCatch, RemoveZeroBreakContinue, RenameMktimeWithoutArgsToTime, ReplaceEachAssignmentWithKeyCurrent, ReplaceHttpServerVarsByServer, RestoreDefaultNullToNullableTypeProperty, RestoreIncludePathToIniRestore, SensitiveConstantName, SensitiveDefine, SensitiveHereNowDoc, SetCookie, SetStateToStatic, SpatieEnumClassToEnum, SpatieEnumMethodCallToEnumConst, StaticCallToFuncCall, StaticToSelfOnFinalClass, StrContains, StrEndsWith, StrStartsWith, StringableForToString, StringifyDefine, StringifyStrNeedles, StringsAssertNaked, TernaryToElvis, TernaryToNullCoalescing, TernaryToNullsafeCoalesce, TernaryToSpaceship, ThisCallOnStaticMethodToStaticCall, UnsetCast, VersionCompareFuncCallArgument, WhileEachToForeach, WrapVariableVariableNameInCurlyBraces.

only in sets outside the eight prepared sets: datetime-to-carbon

DateFuncCallToCarbon, DateTimeInstanceToCarbon, DateTimeMethodCallToCarbon, TimeFuncCallToCarbon.

only in sets outside the eight prepared sets: instanceof

BinaryOpNullableToInstanceof.

only in sets outside the eight prepared sets: named-args

AddNameToBooleanArgument, AddNameToNullArgument, ExplicitAttributeNamedArgs.

only in sets outside the eight prepared sets: php-polyfills

MbStrContains.

only in sets outside the eight prepared sets: rector-preset

AddParamTypeToRefactorMethod, RemoveRefactorDuplicatedNodeInstanceCheck, AddSeeTestAnnotation.

package upgrade set below the current major (cashier-13)

CashierStripeOptionsToStripe.

package upgrade set below the current major (faker-10)

ReplaceFakerPropertyFetchWithMethodCall.

package upgrade set below the current major (livewire-30)

LivewireComponentComputedMethodToComputedAttribute, LivewireComponentQueryStringToUrlAttribute.

Pun-only rules

Last updated on

Was this page helpful?