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 = ["rector/dead-code"], Rector’s set exactly
typeDeclarations: true rector/type-declaration
->withSets([...]) of Rector, rector-laravel, rector-phpunit or Pest The rector/..., rector-laravel/..., rector-phpunit/... or pest/... set of the same name
->withPhpSets() rector/php-sets, up to [php] 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
->withImportNames(), ->withTreatClassesAsFinal(), ->withPhpVersion(), ->withFileExtensions(), ->withIndent(), ->withFluentCallNewLine(), ->withTypeGuardedClasses() Reported under “Not migrated”: pun.toml has no project-wide equivalent. Lint fixes write class names fully qualified

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

Rule mapping

1,108 of 1,108 upstream entries

UpstreamPun rule
AbsolutizeRequireAndIncludePathlint/complexity/prefer-absolute-include

Same.

AddArrayAnyAllClosureParamTypelint/types/add-param-type-array-any-all

Same.

AddArrayFunctionClosureParamTypelint/types/add-param-type-array-function

Same.

AddArrowFunctionParamArrayWhereDimFetchlint/types/add-param-type-arrow-dim-fetch

Same.

AddArrowFunctionReturnTypelint/types/add-arrow-function-return-type

Same.

AddAssertArrayFromClassMethodDocblockNot supported

deprecated upstream (2.7.0, main)

AddClosureNeverReturnTypelint/types/add-closure-never-return

Same.

AddClosureParamTypeForArrayMaplint/types/add-param-type-array-map

Same.

AddClosureParamTypeForArrayReducelint/types/add-param-type-array-reduce

Same.

AddClosureParamTypeFromIterableMethodCalllint/types/add-param-type-iterable-method-call

Same.

AddClosureParamTypeFromVariableCalllint/types/add-param-type-variable-call

Same.

AddClosureVoidReturnTypeWhereNoReturnlint/types/add-closure-void-return

Same.

AddEscapeArgumentlint/php-8.4/add-csv-escape-argument

Same.

AddFunctionVoidReturnTypeWhereNoReturnlint/types/add-function-void-return

Same.

AddInterfaceByTraitNot supported

deprecated upstream (2.7.0, main)

AddMethodCallBasedStrictParamTypelint/types/add-param-type-method-call

Same. Options: renamed for TOML: [options."lint/types/add-param-type-method-call"] (Rector's treatClassesAsFinal() feature flag).

AddNameToBooleanArgumentlint/functions/add-boolean-argument-name

Same.

AddNameToNullArgumentlint/functions/add-null-argument-name

Same.

AddOverrideAttributeToOverriddenMethodsNot supported

deprecated upstream (2.8.4, main)

AddOverrideAttributeToOverriddenPropertieslint/refactor/add-override-attribute

Merged with property.missingOverride.

AddParamArrayDocblockBasedOnArrayMapNot supported

deprecated upstream (2.7.0, main)

AddParamArrayDocblockBasedOnCallableNativeFuncCalllint/types/add-param-phpdoc-from-callable-call

Same.

AddParamArrayDocblockFromAssignsParamToParamReferencelint/types/add-param-phpdoc-from-reference-assign

Same.

AddParamArrayDocblockFromDataProviderNot supported

deprecated upstream (2.6.1, 2.7.0, main)

AddParamArrayDocblockFromDimFetchAccesslint/types/add-param-phpdoc-from-dim-fetch

Same.

AddParamBasedOnParentClassMethodNot supported

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

AddParamFromDimFetchKeyUselint/types/add-param-type-dim-fetch-key

Same.

AddParamStringTypeFromSprintfUseNot supported

deprecated upstream (2.8.4, main)

AddParamTypeBasedOnPHPUnitDataProviderlint/types/add-param-type-data-provider

Same.

AddParamTypeDeclarationlint/refactor/add-param-type

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased; a PHPStan type as its PHPDoc string).

AddParamTypeFromPropertyTypelint/types/add-param-type-property

Same.

AddParamTypeSplFixedArraylint/types/add-param-type-spl-fixed-array

Same.

AddParamTypeToRefactorMethodlint/types/add-refactor-param-phpdoc

Same.

AddPropertyTypeDeclarationNot supported

deprecated upstream (2.8.4, main)

AddReturnArrayDocblockBasedOnArrayMapNot supported

deprecated upstream (2.7.0, main)

AddReturnArrayDocblockFromDataProviderParamNot supported

deprecated upstream (2.6.1, 2.7.0, main)

AddReturnDocblockDataProviderNot supported

deprecated upstream (2.6.1, 2.7.0, main)

AddReturnDocblockForArrayDimAssignedObjectlint/types/add-return-phpdoc-dim-assigned-object

Same.

AddReturnDocblockForCommonObjectDenominatorlint/types/add-return-phpdoc-common-object

Same.

AddReturnDocblockForDimFetchArrayFromAssignsNot supported

deprecated upstream (2.7.0, main)

AddReturnDocblockForJsonArraylint/types/add-return-phpdoc-json-array

Same.

AddReturnDocblockForScalarArrayFromAssignslint/types/add-return-phpdoc-scalar-array

Same.

AddReturnDocblockFromMethodCallDocblockNot supported

deprecated upstream (2.6.1, 2.7.0, main)

AddReturnTypeDeclarationlint/refactor/add-return-type

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased; a PHPStan type as its PHPDoc string).

AddReturnTypeDeclarationBasedOnParentClassMethodlint/types/add-return-type-from-parent

Same.

AddReturnTypeDeclarationFromYieldslint/types/add-return-type-from-yield

Same.

AddReturnTypeFromTryCatchTypelint/types/add-return-type-from-try-catch

Same.

AddSensitiveParameterAttributeNot supported

deprecated upstream (2.7.0, main)

AddTestsVoidReturnTypeWhereNoReturnlint/phpunit/add-test-void-return

Same.

AddTypeToConstlint/php-8.3/add-const-type

Same. Options: renamed for TOML: [options."lint/php-8.3/add-const-type"] (Rector's treatClassesAsFinal() feature flag).

AddVarArrayDocblockFromDimFetchAssignlint/types/add-var-phpdoc-from-dim-fetch

Same.

AddVoidReturnTypeWhereNoReturnlint/types/add-method-void-return

Same.

AlternativeIfToBracketformat/control-flow/no-alternative-syntax

Merged with no_alternative_syntax, no-alternative-syntax.

AndAssignsToSeparateLineslint/complexity/no-and-assignment

Same.

AnnotationToAttributelint/refactor/prefer-attribute-over-annotation

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

ArgumentAdderNot supported

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

ArgumentRemoverlint/refactor/remove-method-argument

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

ArrayDimFetchToMethodCallNot supported

deprecated upstream (2.8.4, main)

ArrayExplicitBoolComparelint/complexity/prefer-explicit-array-comparison

Same.

ArrayFirstLastlint/php-8.5/prefer-array-first-last

Same.

ArrayKeyExistsNullToEmptyStringlint/php-8.5/no-null-array-key

Same.

ArrayKeyExistsOnPropertylint/php-7.4/no-array-key-exists-on-object

Same.

ArrayKeyExistsTernaryThenValueToCoalescinglint/complexity/prefer-null-coalesce

Merged with ConsecutiveNullCompareReturnsToNullCoalesceQueue, SimplifyForeachToCoalescing.

ArrayKeyFirstLastlint/php-7.3/prefer-array-key-first

Same.

ArrayKeysToArrayKeyFirstLastlint/php-7.3/prefer-array-key-first-last

Same.

ArrayMergeOfNonArraysToSimpleArraylint/complexity/prefer-array-literal

Same.

ArrayParamTypeByMethodCallTypeNot supported

deprecated upstream (main)

ArraySpreadInsteadOfArrayMergeNot supported

deprecated upstream (2.6.1, 2.7.0, main)

ArrayToFirstClassCallablelint/php-8.1/prefer-first-class-callable-over-array

Same.

ArrowFunctionDelegatingCallToFirstClassCallablelint/php-8.1/prefer-first-class-callable-over-arrow-function

Same.

AssignArrayToStringlint/php-7.1/no-append-to-string

Same.

AttributeKeyToClassConstFetchlint/refactor/replace-attribute-value-with-constant

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

BinaryOpBetweenNumberAndStringlint/php-7.1/no-non-numeric-string-operand

Same.

BinaryOpNullableToInstanceofNot supported

deprecated upstream (2.8.4, main)

BinaryOpStandaloneAssignsToDirectNot supported

deprecated upstream (2.6.1, 2.7.0, main)

BoolReturnTypeFromBooleanConstAndStrictReturnslint/types/add-bool-return-type-from-mixed-returns

Same.

BoolReturnTypeFromBooleanConstReturnslint/types/add-bool-return-type-from-const

Same.

BoolReturnTypeFromBooleanStrictReturnslint/types/add-bool-return-type

Same.

BooleanNotIdenticalToNotIdenticallint/complexity/prefer-simple-condition

Merged with SimplifyBoolIdenticalTrue, SimplifyConditions.

BreakNotInLoopOrSwitchToReturnNot supported

the code it rewrites does not compile on PHP 8.4 (`break` outside a loop or `switch` is a fatal error since PHP 7.0)

CallUserFuncArrayToVariadiclint/style/prefer-spread

Same.

CallUserFuncToMethodCalllint/functions/no-call-user-func-method

Same.

CallUserFuncWithArrowFunctionToInlineNot supported

deprecated upstream (main)

CallUserMethodlint/php-7.0/no-call-user-method

Same.

CatchExceptionNameMatchingTypelint/style/prefer-catch-name-from-type

Same.

ChangeArrayPushToArrayAssignlint/style/no-array-push

Merged with array_push.

ChangeConstantVisibilityNot supported

deprecated upstream (2.8.4, main)

ChangeIfElseValueAssignToEarlyReturnlint/style/prefer-early-return

Merged with prefer-early-return.

ChangeMethodVisibilitylint/refactor/change-method-visibility

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

ChangeNestedForeachIfsToEarlyContinueNot supported

deprecated upstream (2.7.0, main)

ChangeNestedIfsToEarlyReturnNot supported

deprecated upstream (2.7.0, main)

ChangeOrIfContinueToMultiContinueNot supported

deprecated upstream (2.7.0, main)

ChangeSwitchToMatchlint/php-8.0/prefer-match

Same.

ChildDoctrineRepositoryClassTypeNot supported

Doctrine rules: out of scope (Laravel-first)

ChrArgModulolint/php-8.5/no-out-of-range-chr

Same.

ClassConstantToSelfClasslint/php-5.5/no-class-magic-constant

Same.

ClassMethodArrayDocblockParamFromLocalCallslint/types/add-param-phpdoc-from-local-calls

Same.

ClassOnObjectlint/style/prefer-class-keyword-on-object

Merged with get_class_to_class_keyword.

ClassOnThisVariableObjectlint/php-8.0/prefer-static-class

Same.

ClassPropertyAssignToConstructorPromotionNot supported

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

ClassRenamingPostNot supported

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

CleanupUnneededNullsafeOperatorlint/types/no-nullsafe-on-non-null

Same.

ClosureDelegatingCallToFirstClassCallablelint/php-8.1/prefer-first-class-callable-over-closure

Same.

ClosureFromCallableToFirstClassCallablelint/php-8.1/no-closure-from-callable

Same.

ClosureReturnTypelint/types/add-closure-return-type

Same.

ClosureReturnTypeFromAssertInstanceOflint/phpunit/add-closure-return-type-from-assert

Same.

ClosureToArrowFunctionlint/php-7.4/prefer-arrow-function

Same.

CoalesceToTernaryNot supported

deprecated upstream (2.7.0, main)

ColonAfterSwitchCaseformat/control-flow/switch-case-colon

Merged with switch_case_semicolon_to_colon, deprecated-switch-semicolon.

CombineHostPortLdapUrilint/php-8.3/prefer-ldap-uri

Same.

CombineIfNot supported

deprecated upstream (2.7.0, main)

CombinedAssignlint/style/prefer-compound-assignment

Merged with long_to_shorthand_operator, use-compound-assignment.

CommonNotEqualformat/operators/standardize-not-equals

Merged with standardize_not_equals.

CompactToVariableslint/complexity/no-compact

Same.

CompleteDynamicPropertiesNot supported

deprecated upstream (2.8.4, main)

CompleteMissingIfElseBracketformat/control-flow/braces

Merged with control_structure_braces, block-statement.

ConsecutiveNullCompareReturnsToNullCoalesceQueuelint/complexity/prefer-null-coalesce

Merged with ArrayKeyExistsTernaryThenValueToCoalescing, SimplifyForeachToCoalescing.

ConsistentImplodelint/style/require-implode-separator

Merged with implode_call.

ConstAndTraitDeprecatedAttributeNot supported

deprecated upstream (2.7.0, main)

ConstFetchToClassConstFetchNot supported

deprecated upstream (2.8.4, main)

ConstructorReadonlyAssignToDefaultlint/php-8.6/prefer-readonly-property-default

Same.

ContinueToBreakInSwitchlint/control-flow/no-switch-continue

Merged with switch_continue_to_break, switch-continue-to-break.

ConvertStaticToSelflint/classes/prefer-self-in-final

Merged with self_static_accessor, StaticToSelfOnFinalClass, redundant-static.

CountArrayToEmptyArrayComparisonNot supported

deprecated upstream (2.6.1, 2.7.0, main)

CreateFunctionToAnonymousFunctionNot supported

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

CurlyToSquareBracketArrayStringNot supported

the code it rewrites does not parse on PHP 8.4 (`$string{0}` offset access was removed in PHP 8.0)

DateFuncCallToCarbonlint/style/prefer-carbon-date

Same.

DateTimeInstanceToCarbonlint/style/prefer-carbon

Merged with DateTimeMethodCallToCarbon.

DateTimeMethodCallToCarbonlint/style/prefer-carbon

Merged with DateTimeInstanceToCarbon.

DeclareStrictTypesNot supported

deprecated upstream (main)

DeprecatedAnnotationToDeprecatedAttributeNot supported

deprecated upstream (2.7.0, main)

DirNameFileConstantToDirConstantlint/style/prefer-dir-constant

Merged with dir_constant.

DirnameDirConcatStringToDirectStringPathlint/complexity/no-dirname-dir-concat

Same.

DisallowedEmptyRuleFixerNot supported

deprecated upstream (2.7.0, main)

DocblockGetterReturnArrayFromPropertyDocblockVarlint/types/add-getter-return-phpdoc

Same.

DocblockNameImportingPostNot supported

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

DocblockReturnArrayFromDirectArrayInstancelint/types/add-return-phpdoc-direct-array

Same.

DocblockVarArrayFromGetterReturnlint/types/add-var-phpdoc-from-getter

Same.

DocblockVarArrayFromPropertyDefaultslint/types/add-var-phpdoc-from-default

Same.

DocblockVarFromParamDocblockInConstructorlint/types/add-var-phpdoc-from-constructor-param

Same.

DynamicClassConstFetchlint/php-8.3/prefer-dynamic-class-constant

Same.

DynamicDocBlockPropertyToNativePropertyNot supported

deprecated upstream (2.7.0, main)

EmptyListNot supported

the code it rewrites does not compile on PHP 8.4 (an empty `list()` is a fatal error since PHP 7.0)

EmptyOnNullableObjectToInstanceOfNot supported

deprecated upstream (main)

EncapsedStringsToSprintfNot supported

deprecated upstream (2.6.1, 2.7.0, main)

EnumCaseToPascalCaseNot supported

deprecated upstream (2.6.1, 2.7.0, main)

EregToPregMatchlint/style/no-ereg

Merged with ereg_to_preg.

ExceptionHandlerTypehintlint/php-7.0/prefer-throwable-handler

Same.

ExplicitAttributeNamedArgslint/functions/add-attribute-argument-names

Same.

ExplicitBoolCompareNot supported

deprecated upstream (2.7.0, main)

ExplicitNullableObjectInstancelint/types/prefer-explicit-null-instanceof

Same.

ExplicitNullableParamTypeformat/types/nullable-for-null-default

Merged with nullable_type_declaration_for_default_null_value, explicit-nullable-param, parameter.implicitlyNullable.

ExplicitPublicClassMethodformat/classes/modifier-keywords

Merged with modifier_keywords, VarToPublicProperty.

ExplicitReturnNulllint/complexity/require-consistent-return

Same.

ExportToReflectionFunctionlint/php-7.4/no-reflection-export

Same.

FilesystemIteratorSkipDotslint/php-8.2/add-skip-dots-flag

Same.

FilterVarToAddSlasheslint/php-7.4/no-filter-magic-quotes

Same.

FinalPrivateToPrivateVisibilitylint/style/no-redundant-final

Merged with no_unneeded_final_method, no-redundant-final.

FinalizeTestCaseClasslint/phpunit/require-final-test-case

Same.

FixClassCaseSensitivityVarDocblocklint/complexity/no-phpdoc-class-case-mismatch

Same.

FlipNegatedTernaryInstanceoflint/complexity/no-negated-instanceof-ternary

Same.

FlipTypeControlToUseExclusiveTypeNot supported

deprecated upstream (main)

FluentSettersToStandaloneCallMethodNot supported

deprecated upstream (2.7.0, main)

ForRepeatedCountToOwnVariableNot supported

deprecated upstream (main)

ForeachItemsAssignToEmptyArrayToAssignNot supported

deprecated upstream (main)

ForeachToArrayAlllint/php-8.4/prefer-array-find

Merged with ForeachToArrayAny, ForeachToArrayFind, ForeachToArrayFindKey.

ForeachToArrayAnylint/php-8.4/prefer-array-find

Merged with ForeachToArrayAll, ForeachToArrayFind, ForeachToArrayFindKey.

ForeachToArrayFindlint/php-8.4/prefer-array-find

Merged with ForeachToArrayAll, ForeachToArrayAny, ForeachToArrayFindKey.

ForeachToArrayFindKeylint/php-8.4/prefer-array-find

Merged with ForeachToArrayAll, ForeachToArrayAny, ForeachToArrayFind.

ForeachToInArraylint/complexity/prefer-in-array

Merged with RepeatedOrEqualToInArray, SimplifyArraySearch.

FuncCallToConstFetchlint/refactor/replace-function-with-constant

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

FuncCallToMethodCallNot supported

deprecated upstream (2.7.0, main)

FuncCallToNewNot supported

deprecated upstream (2.8.4, main)

FuncCallToStaticCallNot supported

deprecated upstream (2.8.4, main)

FuncGetArgsToVariadicParamlint/style/prefer-variadic-param

Same.

FunctionArgumentDefaultValueReplacerNot supported

deprecated upstream (2.8.4, main)

FunctionFirstClassCallablelint/php-8.1/prefer-first-class-callable-argument

Same.

GetCalledClassToSelfClasslint/php-5.5/prefer-self-over-get-called-class

Same.

GetCalledClassToStaticClasslint/php-5.5/prefer-static-over-get-called-class

Same.

GetClassOnNulllint/php-7.2/no-get-class-null

Same.

GetDebugTypelint/php-8.0/prefer-get-debug-type

Same.

GetHeadersArgumentFormatlint/php-8.0/no-int-get-headers-format

Same.

HebrevcToNl2brHebrevlint/php-7.4/no-hebrevc

Same.

IfIssetToCoalescinglint/php-7.0/prefer-coalesce-return

Same.

IfToNullCoalescingAssignlint/php-7.4/prefer-coalesce-assign-over-if

Same.

IfToSpaceshiplint/php-7.0/prefer-spaceship-return

Same.

InlineArrayReturnAssignlint/complexity/prefer-inline-array-return

Same.

InlineConstructorDefaultToPropertylint/complexity/prefer-property-default

Same.

InlineIfToExplicitIflint/complexity/prefer-if-statement

Same.

InlineIsAInstanceOflint/types/prefer-instanceof

Same.

InnerFunctionToPrivateMethodNot supported

deprecated upstream (main)

IsAWithStringWithThirdArgumentlint/complexity/require-is-a-allow-string

Same.

IsCountablelint/php-7.3/prefer-is-countable

Same.

IsIterablelint/php-7.1/prefer-is-iterable

Same.

IssetOnPropertyObjectToPropertyExistslint/complexity/prefer-property-exists

Same.

JoinStringConcatNot supported

deprecated upstream (2.6.1, 2.7.0, main)

JsonThrowOnErrorNot supported

deprecated upstream (2.7.0, main)

JsonValidatelint/php-8.3/prefer-json-validate

Same.

KnownMagicClassMethodTypelint/types/add-magic-method-return-type

Same.

ListEachlint/php-7.2/no-list-each

Same.

ListSplitStringlint/php-7.0/no-list-from-string

Same.

ListSwapArrayOrderNot supported

deprecated upstream (2.7.0, main)

ListToArrayDestructformat/arrays/list-syntax

Merged with list_syntax.

LocallyCalledStaticMethodToNonStaticlint/complexity/prefer-instance-method

Same.

LogicalToBooleanlint/operators/no-and-or-keywords

Merged with logical_operators.

LongArrayToShortArrayformat/arrays/syntax

Merged with array_syntax, array-style.

MakeInheritedMethodVisibilitySameAsParentlint/style/require-parent-visibility

Same.

MbStrContainslint/php-8.0/prefer-str-contains-over-mb-strpos

Same.

MbStrrposEncodingArgumentPositionlint/php-7.4/no-mb-strrpos-encoding-offset

Same.

MergeDateTimePropertyTypeDeclarationlint/types/add-datetime-property-type

Same.

MergeInterfacesNot supported

deprecated upstream (2.8.4, main)

MergePhpstanDocTagIntoNativelint/types/no-phpstan-phpdoc-tag

Same.

MethodCallToFuncCallNot supported

deprecated upstream (2.8.4, main)

MethodCallToStaticCallNot supported

deprecated upstream (2.8.4, main)

MinMaxToClamplint/php-8.6/prefer-clamp

Same.

MoneyFormatToNumberFormatlint/php-7.4/no-money-format

Same.

MoveInnerFunctionToTopLevelNot supported

deprecated upstream (main)

MultiDirnamelint/style/prefer-dirname-levels

Merged with combine_nested_dirname.

MultiExceptionCatchlint/php-7.1/prefer-multi-catch

Same.

MyCLabsClassToEnumlint/php-8.1/prefer-native-enum-over-myclabs

Same.

MyCLabsConstructorCallToEnumFromlint/php-8.1/prefer-enum-from

Same.

MyCLabsMethodCallToEnumConstlint/php-8.1/prefer-enum-case-over-myclabs-call

Same.

NameImportingPostNot supported

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

NarrowArrayAnyAllNullableParamTypelint/types/prefer-narrow-param-type

Same.

NarrowArrayCollectionUnionReturnDocblocklint/types/prefer-generic-collection-phpdoc

Same.

NarrowBoolDocblockReturnTypelint/types/prefer-literal-bool-phpdoc

Same.

NarrowObjectReturnTypelint/types/prefer-specific-return-type

Same.

NarrowWideUnionReturnTypelint/dead-code/no-unused-return-type

Merged with return.unusedType.

NegatedAndsToPositiveOrslint/complexity/no-negated-group

Merged with SimplifyDeMorganBinary.

NestedAnnotationToAttributeNot supported

in no set

NestedFuncCallsToPipeOperatorNot supported

deprecated upstream (2.7.0, main)

NestedTernaryToMatchNot supported

deprecated upstream (2.6.1, 2.7.0, main)

NewArrayItemConcatAssignToAssignlint/complexity/no-concat-assign-new-item

Same.

NewInInitializerNot supported

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

NewMethodCallWithoutParenthesesformat/operators/new-expression-parentheses

Merged with new_expression_parentheses.

NewStaticToNewSelflint/classes/prefer-new-self

Same.

NewToStaticCallNot supported

deprecated upstream (2.8.4, main)

NewlineAfterStatementlint/style/require-statement-padding

Same.

NewlineBeforeNewAssignSetlint/style/require-assign-set-padding

Same.

NewlineBetweenClassLikeStmtsformat/classes/member-separation

Merged with class_attributes_separation.

NullCoalescingOperatorlint/operators/prefer-coalesce-assign

Merged with assign_null_coalescing_to_coalesce_equal.

NullDebugInfoReturnlint/php-8.5/no-null-debug-info

Same.

NullToStrictIntPregSlitFuncCallLimitArglint/php-8.1/no-null-preg-split-limit

Same.

NullToStrictStringFuncCallArglint/php-8.1/no-null-string-argument

Same.

NullableCompareToNullNot supported

deprecated upstream (2.6.1, 2.7.0, main)

NumberCompareToMaxFuncCalllint/complexity/prefer-min-max

Same.

NumericReturnTypeFromStrictReturnslint/types/add-numeric-return-type

Same.

NumericReturnTypeFromStrictScalarReturnslint/types/add-numeric-return-type-from-scalar

Same.

ObjectExplicitBoolCompareNot supported

deprecated upstream (main)

ObjectParamTypeByMethodCallTypeNot supported

deprecated upstream (main)

ObjectTypedPropertyFromJMSSerializerAttributeTypeNot supported

JMS rules: out of scope (Laravel-first)

OptionalParametersAfterRequiredlint/functions/no-required-after-optional

Merged with optional-param-order, parameter.requiredAfterOptional.

OrdSingleBytelint/php-8.5/prefer-ord-first-byte

Same.

ParamTypeByMethodCallTypeNot supported

deprecated upstream (main)

ParamTypeByParentCallTypeNot supported

deprecated upstream (2.8.4, main)

ParenthesizeNestedTernaryNot supported

the code it rewrites does not compile on PHP 8.4 (an unparenthesized nested ternary is a fatal error since PHP 8.0)

ParseStrWithResultArgumentlint/php-7.2/require-parse-str-result

Same.

Php4Constructorlint/style/no-php4-constructor

Merged with no_php4_constructor, no-legacy-constructor.

PostIncDecToPreIncDecNot supported

deprecated upstream (main)

PowToExplint/style/prefer-pow-operator

Merged with pow_to_exponentiation.

PregReplaceEModifierNot supported

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

PreparedValueToEarlyReturnlint/style/prefer-early-return-over-prepared-value

Same.

PrivateMethodReturnTypeFromStrictNewArraylint/types/add-private-method-array-return-type

Same.

PrivatizeFinalClassConstantlint/classes/no-protected-constant-in-final

Same.

PrivatizeFinalClassMethodlint/classes/no-protected-method-in-final

Same.

PrivatizeFinalClassPropertylint/classes/no-protected-property-in-final

Same.

PrivatizeLocalGetterToPropertylint/style/prefer-property-over-local-getter

Same.

PropertyHookNot supported

deprecated upstream (2.7.0, main)

PropertyTypeFromStrictSetterGetterlint/types/add-property-type-setter-getter

Same.

RandomFunctionlint/php-7.0/prefer-random-int

Same.

ReadOnlyAnonymousClasslint/php-8.3/prefer-readonly-anonymous-class

Same.

ReadOnlyClasslint/php-8.2/prefer-readonly-class

Same.

ReadOnlyPropertylint/php-8.1/prefer-readonly-property

Same.

RecastingRemovallint/dead-code/no-useless-cast

Merged with UselessCastRule, RedundantCast, cast.useless.

ReduceAlwaysFalseIfOrlint/dead-code/no-always-false-condition

Merged with booleanOr.leftAlwaysFalse.

ReduceMultipleDefaultSwitchNot supported

the code it rewrites does not compile on PHP 8.4 (a `switch` with several `default` cases is a fatal error since PHP 7.0)

RegexDashEscapelint/php-7.3/no-unescaped-regex-dash

Same.

RemoveAlwaysElselint/control-flow/no-else-after-return

Same.

RemoveAlwaysTrueIfConditionlint/dead-code/no-always-true-if

Merged with booleanAnd.leftAlwaysTrue, if.alwaysTrue.

RemoveAndTruelint/dead-code/no-and-true

Same.

RemoveAnnotationNot supported

deprecated upstream (2.7.0, main)

RemoveArgumentFromDefaultParentCalllint/dead-code/no-redundant-default-argument

Merged with RemoveNullArgOnNullDefaultParam, RemoveNullNamedArgOnNullDefaultParam.

RemoveConcatAutocastlint/dead-code/no-cast-in-concat

Same.

RemoveConditionExactReturnlint/dead-code/no-condition-exact-return

Same.

RemoveDeadCatchlint/dead-code/no-dead-catch

Same.

RemoveDeadConditionAboveReturnlint/dead-code/no-useless-condition

Same.

RemoveDeadContinuelint/dead-code/no-useless-continue

Merged with no-redundant-continue.

RemoveDeadIfBlocklint/complexity/no-constant-condition

Merged with constant-condition.

RemoveDeadIfForeachForlint/dead-code/no-empty-block

Merged with RemoveDeadLoop, no-empty-loop.

RemoveDeadInstanceOflint/dead-code/no-always-true-instanceof

Merged with RemoveDeadInstanceOfAssert, instanceof.alwaysTrue.

RemoveDeadInstanceOfAssertlint/dead-code/no-always-true-instanceof

Merged with RemoveDeadInstanceOf, instanceof.alwaysTrue.

RemoveDeadLooplint/dead-code/no-empty-block

Merged with RemoveDeadIfForeachFor, no-empty-loop.

RemoveDeadReturnNot supported

deprecated upstream (main)

RemoveDeadStmtlint/dead-code/no-unused-expression

Merged with NoopRule, UnusedFunctionCall, UnusedMethodCall and 8 others (see the rule's Replaces section).

RemoveDeadTryCatchlint/dead-code/no-useless-catch

Same.

RemoveDeadZeroAndOneOperationlint/dead-code/no-useless-math

Merged with no-redundant-math.

RemoveDefaultValueFromAssignedPropertylint/dead-code/no-redundant-property-default

Same.

RemoveDoubleAssignlint/dead-code/no-unused-assignment

Merged with RemoveUnusedVariableAssign, no-dead-store, no-redundant-variable.

RemoveDoubleSelfAssignlint/dead-code/no-double-self-assignment

Same.

RemoveDuplicatedArrayKeylint/dead-code/no-duplicate-array-key

Merged with DuplicateKeysInLiteralArraysRule, DuplicateArrayKey, array.duplicateKey.

RemoveDuplicatedCaseInSwitchlint/dead-code/no-duplicate-case-body

Same.

RemoveDuplicatedReturnSelfDocblockNot supported

deprecated upstream (main)

RemoveEmptyClassMethodlint/dead-code/no-empty-method

Same.

RemoveExtraParameterslint/functions/no-extra-arguments

Same.

RemoveFilterVarOnExactTypelint/dead-code/no-useless-filter-var

Same.

RemoveFinalFromConstlint/style/no-redundant-final-const

Same.

RemoveFinfoBufferContextArglint/php-8.5/no-finfo-buffer-context

Same.

RemoveFuncCalllint/refactor/remove-function-call

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RemoveFuncCallArglint/refactor/remove-function-argument

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RemoveGetClassGetParentClassNoArgslint/php-8.3/prefer-self-class

Same.

RemoveInterfaceslint/refactor/remove-interfaces

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RemoveMethodCallParamNot supported

deprecated upstream (2.8.4, main)

RemoveMixedDocblockOverruledByNativeTypelint/phpdoc/no-mixed-overruled-by-native

Same.

RemoveNextSameValueConditionlint/dead-code/no-redundant-condition

Same.

RemoveNonExistingVarAnnotationlint/dead-code/no-invalid-var-tag

Merged with varTag.variableNotFound.

RemoveNullArgOnNullDefaultParamlint/dead-code/no-redundant-default-argument

Merged with RemoveArgumentFromDefaultParentCall, RemoveNullNamedArgOnNullDefaultParam.

RemoveNullNamedArgOnNullDefaultParamlint/dead-code/no-redundant-default-argument

Merged with RemoveArgumentFromDefaultParentCall, RemoveNullArgOnNullDefaultParam.

RemoveNullPropertyInitializationlint/classes/no-null-property-default

Merged with no_null_property_initialization, no-null-property-init.

RemoveNullTagValueNodelint/dead-code/no-null-tag-value

Same.

RemoveOverriddenAssignBeforeIfElselint/dead-code/no-overridden-assign-before-if

Same.

RemoveParentCallWithoutParentlint/dead-code/no-parent-call-without-parent

Same.

RemoveParentDelegatingClassMethodlint/dead-code/no-useless-override

Merged with no-redundant-method-override.

RemoveParentDelegatingConstructorNot supported

deprecated upstream (2.8.4, main)

RemovePhpVersionIdChecklint/dead-code/no-dead-php-version-check

Same.

RemoveReadonlyPropertyVisibilityOnReadonlyClasslint/classes/no-redundant-readonly

Merged with no_redundant_readonly_property, no-redundant-readonly.

RemoveRedundantTypeChecklint/dead-code/no-redundant-type-check

Same.

RemoveRefactorDuplicatedNodeInstanceChecklint/dead-code/no-redundant-node-instanceof

Same.

RemoveReferenceFromCallNot supported

the code it rewrites does not parse on PHP 8.4 (call-time pass-by-reference was removed in PHP 5.4)

RemoveReflectionSetAccessibleCallslint/php-8.1/no-reflection-set-accessible

Same.

RemoveReturnTagIncompatibleWithNativeTypelint/dead-code/no-invalid-return-tag

Same.

RemoveReturnThisFromSetterClassMethodNot supported

deprecated upstream (2.7.0, main)

RemoveSoleValueSprintflint/complexity/no-sole-value-sprintf

Same.

RemoveTestsOverriddenPrivateMethodParameterlint/dead-code/no-unused-private-method-param

Merged with RemoveUnusedPrivateMethodParameter.

RemoveTraitUseNot supported

deprecated upstream (2.8.4, main)

RemoveTypedPropertyDeadInstanceOflint/dead-code/no-typed-property-instanceof

Same.

RemoveTypedPropertyNonMockDocblockNot supported

deprecated upstream (2.6.1, 2.7.0, main)

RemoveUnreachableStatementlint/dead-code/no-unreachable-code

Merged with UnreachableStatementRule, UnevaluatedCode, deadCode.unreachable.

RemoveUnusedClosureVariableUselint/functions/no-unused-closure-use

Merged with lambda_not_used_import, UnusedClosureUsesRule, no-unused-closure-capture and 2 others (see the rule's Replaces section).

RemoveUnusedConstructorParamlint/dead-code/no-unused-constructor-param

Merged with UnusedConstructorParametersRule, constructor.unusedParameter, constructor.unusedParameterFlow.

RemoveUnusedForeachKeylint/dead-code/no-unused-foreach-key

Same.

RemoveUnusedNonEmptyArrayBeforeForeachlint/dead-code/no-redundant-foreach-guard

Same.

RemoveUnusedPrivateClassConstantlint/dead-code/no-unused-private-constant

Merged with UnusedPrivateConstantRule, classConstant.unused.

RemoveUnusedPrivateMethodlint/dead-code/no-unused-private-method

Merged with UnusedPrivateMethodRule, UnusedMethod, method.unused.

RemoveUnusedPrivateMethodParameterlint/dead-code/no-unused-private-method-param

Merged with RemoveTestsOverriddenPrivateMethodParameter.

RemoveUnusedPrivatePropertylint/dead-code/no-unused-private-property

Merged with property.onlyWritten, property.unused.

RemoveUnusedPromotedPropertylint/dead-code/no-unused-promoted-property

Same.

RemoveUnusedPublicMethodParameterlint/dead-code/no-unused-public-method-param

Same.

RemoveUnusedVariableAssignlint/dead-code/no-unused-assignment

Merged with RemoveDoubleAssign, no-dead-store, no-redundant-variable.

RemoveUnusedVariableInCatchlint/php-8.0/no-unused-catch-variable

Same.

RemoveUselessAliasInUseStatementformat/imports/no-unneeded-alias

Merged with no_unneeded_import_alias.

RemoveUselessAssignFromPropertyPromotionlint/dead-code/no-redundant-promoted-assign

Same.

RemoveUselessIsObjectCheckNot supported

deprecated upstream (main)

RemoveUselessParamTaglint/phpdoc/no-useless-param

Same.

RemoveUselessReadOnlyTaglint/phpdoc/no-useless-readonly

Same.

RemoveUselessReturnExprInConstructlint/dead-code/no-return-in-constructor

Same.

RemoveUselessReturnTaglint/phpdoc/no-useless-return

Same.

RemoveUselessTernarylint/dead-code/no-useless-ternary

Merged with SimplifyTautologyTernary, UnnecessaryTernaryExpression.

RemoveUselessUnionReturnDocblocklint/dead-code/no-useless-phpdoc-type

Same.

RemoveUselessVarTaglint/phpdoc/no-useless-var

Same.

RemoveVoidDocblockFromMagicMethodlint/phpdoc/no-void-on-magic-method

Same.

RemoveZeroBreakContinueNot supported

the code it rewrites does not compile on PHP 8.4 (`break 0` and `break $x` are fatal errors since PHP 5.4)

RenameAnnotationNot supported

deprecated upstream (2.8.4: RenameAnnotationRector implements DeprecatedInterface and its refactor() throws; no set registers it)

RenameAttributelint/refactor/rename-attribute

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RenameCastlint/refactor/rename-cast

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RenameClasslint/refactor/rename-class

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RenameClassConstFetchlint/refactor/rename-class-constant

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RenameConstantlint/refactor/rename-constant

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RenameDeprecatedMethodCallNot supported

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

RenameForeachValueVariableToMatchExprVariableNot supported

deprecated upstream (main)

RenameForeachValueVariableToMatchMethodCallReturnTypeNot supported

deprecated upstream (main)

RenameFunctionlint/refactor/rename-function

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RenameMethodlint/refactor/rename-method

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RenameMktimeWithoutArgsToTimelint/php-7.0/prefer-time

Same.

RenameParamToMatchTypeNot supported

deprecated upstream (main)

RenamePropertylint/refactor/rename-property

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RenamePropertyToMatchTypeNot supported

deprecated upstream (main)

RenameStaticMethodNot supported

deprecated upstream (2.8.4, main)

RenameStringlint/refactor/rename-string

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RenameVariableToMatchMethodCallReturnTypeNot supported

deprecated upstream (main)

RenameVariableToMatchNewTypeNot supported

deprecated upstream (main)

RepeatedAndNotEqualToNotInArraylint/complexity/prefer-not-in-array

Same.

RepeatedOrEqualToInArraylint/complexity/prefer-in-array

Merged with ForeachToInArray, SimplifyArraySearch.

ReplaceArgumentDefaultValueNot supported

deprecated upstream (2.8.4, main)

ReplaceBlockToItsStmtsformat/control-flow/no-unneeded-braces

Merged with no_unneeded_braces, no-redundant-block.

ReplaceConstantBooleanNotlint/complexity/no-negated-boolean-literal

Same.

ReplaceEachAssignmentWithKeyCurrentlint/php-7.2/no-each

Same.

ReplaceHttpServerVarsByServerlint/php-5.3/no-http-vars

Same.

ReplaceMultipleBooleanNotformat/casts/no-short-bool

Merged with no_short_bool_cast, no-short-bool-cast.

RestoreDefaultNullToNullableTypePropertylint/php-7.4/add-null-property-default

Same.

RestoreIncludePathToIniRestorelint/php-7.4/no-restore-include-path

Same.

ReturnBinaryOrToEarlyReturnNot supported

deprecated upstream (2.7.0, main)

ReturnEarlyIfVariableNot supported

deprecated upstream (2.8.4, main)

ReturnIteratorInDataProviderlint/phpunit/add-data-provider-iterator-return-type

Same.

ReturnNeverTypelint/types/add-never-return-type

Same.

ReturnNullableTypelint/types/add-nullable-return-type

Same.

ReturnTypeFromGetRepositoryDocblocklint/types/add-return-type-from-get-repository

Same.

ReturnTypeFromMockObjectlint/phpunit/add-return-type-from-mock-object

Same.

ReturnTypeFromReturnCastlint/types/add-return-type-from-cast

Same.

ReturnTypeFromReturnDirectArraylint/types/add-array-return-type

Same.

ReturnTypeFromReturnNewlint/types/add-return-type-from-new

Same.

ReturnTypeFromStrictConstantReturnlint/types/add-return-type-from-constant

Same.

ReturnTypeFromStrictFluentReturnlint/types/add-fluent-return-type

Same.

ReturnTypeFromStrictNativeCalllint/types/add-return-type-from-native-call

Same.

ReturnTypeFromStrictNewArraylint/types/add-return-type-from-new-array

Same.

ReturnTypeFromStrictParamlint/types/add-return-type-from-param

Same.

ReturnTypeFromStrictTernarylint/types/add-return-type-from-ternary

Same.

ReturnTypeFromStrictTypedCalllint/types/add-return-type-from-typed-call

Same.

ReturnTypeFromStrictTypedPropertylint/types/add-return-type-from-property

Same.

ReturnTypeFromSymfonySerializerNot supported

Symfony rules: out of scope (Laravel-first)

ReturnUnionTypelint/types/add-union-return-type

Same.

RoundingModeEnumlint/php-8.4/prefer-round-mode-enum

Same.

SafeDeclareStrictTypeslint/statements/add-safe-strict-types

Same.

ScalarParamTypeByMethodCallTypeNot supported

deprecated upstream (main)

ScalarTypedPropertyFromJMSSerializerAttributeTypeNot supported

JMS rules: out of scope (Laravel-first)

ScalarValueToConstFetchNot supported

deprecated upstream (2.7.0, main)

SensitiveConstantNamelint/php-7.3/no-case-insensitive-constant

Same.

SensitiveDefinelint/php-7.3/no-case-insensitive-define

Same.

SensitiveHereNowDoclint/php-7.3/no-heredoc-label-in-body

Same.

SeparateMultiUseImportsformat/imports/single-per-statement

Merged with single_import_per_statement.

SequentialAssignmentsToPipeOperatorNot supported

deprecated upstream (2.7.0, main)

SetCookielint/php-7.3/prefer-setcookie-options

Same.

SetStateToStaticNot supported

the code it rewrites does not compile on PHP 8.4 (a non-static `__set_state()` method is a fatal error)

SetTypeToCastNot supported

deprecated upstream (main)

ShellExecFunctionCallOverBackticksformat/functions/backtick-to-shell-exec

Merged with backtick_to_shell_exec, BacktickRule, DisallowedBacktickRule and 4 others (see the rule's Replaces section).

ShortenElseIfNot supported

deprecated upstream (2.7.0, main)

SimplifyArraySearchlint/complexity/prefer-in-array

Merged with ForeachToInArray, RepeatedOrEqualToInArray.

SimplifyBoolIdenticalTruelint/complexity/prefer-simple-condition

Merged with BooleanNotIdenticalToNotIdentical, SimplifyConditions.

SimplifyConditionslint/complexity/prefer-simple-condition

Merged with BooleanNotIdenticalToNotIdentical, SimplifyBoolIdenticalTrue.

SimplifyDeMorganBinarylint/complexity/no-negated-group

Merged with NegatedAndsToPositiveOrs.

SimplifyEmptyArrayChecklint/complexity/prefer-empty-array-compare

Merged with SimplifyEmptyCheckOnEmptyArray.

SimplifyEmptyCheckOnEmptyArraylint/complexity/prefer-empty-array-compare

Merged with SimplifyEmptyArrayCheck.

SimplifyForeachToCoalescinglint/complexity/prefer-null-coalesce

Merged with ArrayKeyExistsTernaryThenValueToCoalescing, ConsecutiveNullCompareReturnsToNullCoalesceQueue.

SimplifyFuncGetArgsCountlint/complexity/prefer-func-num-args

Same.

SimplifyIfElseToTernaryNot supported

deprecated upstream (2.7.0, main)

SimplifyIfElseWithSameContentlint/dead-code/no-identical-branches

Same.

SimplifyIfNotNullReturnlint/complexity/no-redundant-null-check

Merged with SimplifyIfNullableReturn.

SimplifyIfNullableReturnlint/complexity/no-redundant-null-check

Merged with SimplifyIfNotNullReturn.

SimplifyIfReturnBoollint/control-flow/prefer-bool-return

Merged with simplified_if_return.

SimplifyInArrayValueslint/complexity/no-useless-array-values

Same.

SimplifyMirrorAssignlint/dead-code/no-self-assignment

Merged with Pun/no_self_assignment, no-self-assignment.

SimplifyQuoteEscapelint/style/no-escaped-quotes

Same.

SimplifyRegexPatternNot supported

deprecated upstream (2.6.1, 2.7.0, main)

SimplifyStrposLowerNot supported

deprecated upstream (main)

SimplifyTautologyTernarylint/dead-code/no-useless-ternary

Merged with RemoveUselessTernary, UnnecessaryTernaryExpression.

SimplifyUselessVariablelint/control-flow/no-return-assignment

Merged with return_assignment, inline-variable-return.

SingleInArrayToComparelint/complexity/no-single-item-in-array

Same.

SingularSwitchToIflint/complexity/no-single-case-switch

Same.

SleepToSerializelint/style/no-sleep-wakeup

Merged with modern_serialization_methods, WakeupToUnserialize.

SortAttributeNamedArgslint/complexity/require-attribute-argument-order

Same.

SortCallLikeNamedArgslint/complexity/require-named-argument-order

Same.

SpatieEnumClassToEnumlint/php-8.1/prefer-native-enum-over-spatie

Same. Options: renamed for TOML: [options."lint/php-8.1/prefer-native-enum-over-spatie"] (Rector's toUpperSnakeCase).

SpatieEnumMethodCallToEnumConstlint/php-8.1/prefer-enum-case-over-spatie-call

Same.

SplitDoubleAssignlint/style/no-multi-assign

Merged with no-multi-assignments.

SplitGroupedClassConstantsformat/classes/single-member-per-statement

Merged with single_class_element_per_statement, SplitGroupedProperties.

SplitGroupedPropertiesformat/classes/single-member-per-statement

Merged with single_class_element_per_statement, SplitGroupedClassConstants.

StaticArrowFunctionNot supported

deprecated upstream (2.6.1, 2.7.0, main)

StaticCallOnNonStaticToInstanceCallNot supported

deprecated upstream (2.6.1, 2.7.0, main)

StaticCallToFuncCalllint/refactor/replace-static-with-function

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

StaticCallToMethodCallNot supported

deprecated upstream (2.8.4, main)

StaticCallToNewlint/refactor/replace-static-with-new

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

StaticClosureNot supported

deprecated upstream (2.6.1, 2.7.0, main)

StaticToSelfOnFinalClasslint/classes/prefer-self-in-final

Merged with self_static_accessor, ConvertStaticToSelf, redundant-static.

StrContainslint/style/prefer-str-contains

Merged with modernize_strpos, str-contains, str-starts-with.

StrEndsWithlint/php-8.0/prefer-str-ends-with

Same.

StrStartsWithlint/php-8.0/prefer-str-starts-with

Same.

StrictArrayParamDimFetchlint/types/add-param-type-array-dim-fetch

Same.

StrictArraySearchlint/functions/require-strict-array-search

Same.

StrictInArraylint/functions/require-strict-in-array

Same.

StrictStringParamConcatNot supported

deprecated upstream (2.6.1, 2.7.0, main)

StringClassNameToClassConstantlint/style/prefer-class-constant

Merged with class_keyword, UseClassKeywordForClassNameResolution, no-literal-namespace-string. Options: configurable: options carry 1:1 (same keys, kebab-cased).

StringReturnTypeFromStrictScalarReturnslint/types/add-string-return-type-from-scalar

Same.

StringReturnTypeFromStrictStringReturnslint/types/add-string-return-type

Same.

StringToClassConstantNot supported

deprecated upstream (2.8.4, main)

StringableForToStringlint/classes/add-stringable

Merged with stringable_for_to_string.

StringifyDefinelint/php-7.2/no-constant-define-name

Same.

StringifyStrNeedleslint/php-7.3/require-string-needle

Same.

StringsAssertNakedlint/php-7.2/no-string-assert

Same.

StrlenZeroToIdenticalEmptyStringlint/style/prefer-empty-string-compare

Merged with string_length_to_empty.

SwitchNegatedTernaryNot supported

deprecated upstream (2.7.0, main)

SwitchTrueToIfNot supported

deprecated upstream (2.6.1, 2.7.0, main)

SwitchTrueToMatchNot supported

deprecated upstream (main)

TernaryConditionVariableAssignmentlint/style/no-assign-in-ternary-branch

Same.

TernaryEmptyArrayArrayDimFetchToCoalescelint/complexity/prefer-coalesce-over-empty-ternary

Same.

TernaryFalseExpressionToIfNot supported

deprecated upstream (main)

TernaryImplodeToImplodelint/dead-code/no-implode-ternary

Same.

TernaryToBooleanOrFalseToBooleanAndlint/dead-code/no-false-ternary

Same.

TernaryToElvislint/style/prefer-short-ternary

Merged with ternary_to_elvis_operator.

TernaryToNullCoalescinglint/operators/prefer-coalesce

Merged with ternary_to_null_coalescing.

TernaryToNullsafeCoalescelint/php-8.0/prefer-nullsafe-over-ternary

Same.

TernaryToSpaceshiplint/php-7.0/prefer-spaceship

Same.

ThisCallOnStaticMethodToStaticCalllint/php-7.0/prefer-static-method-call

Same.

ThrowWithPreviousExceptionlint/complexity/require-previous-exception

Same.

TimeFuncCallToCarbonlint/style/prefer-carbon-timestamp

Same.

TypedPropertyFromAssignslint/types/add-property-type-assigns

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

TypedPropertyFromContainerGetSetUplint/phpunit/add-property-type-container-get

Same.

TypedPropertyFromCreateMockAssignlint/phpunit/add-property-type-create-mock

Same.

TypedPropertyFromDocblockSetUpDefinedlint/phpunit/add-property-type-setup-docblock

Same.

TypedPropertyFromGetRepositorySetUplint/types/add-property-type-get-repository

Same.

TypedPropertyFromStrictConstructorlint/types/add-property-type-constructor

Same.

TypedPropertyFromStrictSetUplint/phpunit/add-property-type-setup

Same.

TypedStaticPropertyInBehatContextNot supported

Behat rules: out of scope (Laravel-first)

UnnecessaryTernaryExpressionlint/dead-code/no-useless-ternary

Merged with RemoveUselessTernary, SimplifyTautologyTernary.

UnsetCastNot supported

the code it rewrites does not compile on PHP 8.4 (the `(unset)` cast is a fatal error since PHP 8.0)

UnusedForeachValueToArrayKeysNot supported

deprecated upstream (2.6.1, 2.7.0, main)

UnusedImportRemovingPostNot supported

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

UnwrapFutureCompatibleIfPhpVersionlint/dead-code/no-future-php-version-check

Same.

UnwrapSprintfOneArgumentlint/style/no-useless-sprintf

Merged with no_useless_sprintf.

UseAddingPostNot supported

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

UseClassKeywordForClassNameResolutionlint/style/prefer-class-constant

Merged with class_keyword, StringClassNameToClassConstant, no-literal-namespace-string.

UseIdenticalOverEqualWithSameTypelint/types/prefer-identical-same-type

Same.

Utf8DecodeEncodeToMbConvertEncodinglint/php-8.2/no-utf8-encode-decode

Same.

UtilsJsonStaticCallNamedArgNot supported

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

VarToPublicPropertyformat/classes/modifier-keywords

Merged with modifier_keywords, ExplicitPublicClassMethod.

VariableConstFetchToClassConstFetchlint/complexity/no-constant-via-variable

Same.

VariableInStringInterpolationFixerlint/php-8.2/no-dollar-brace-interpolation

Same.

VersionCompareFuncCallArgumentlint/php-8.0/no-version-compare-operator-alias

Same.

VersionCompareFuncCallToConstantlint/style/prefer-php-version-id

Same.

WakeupToUnserializelint/style/no-sleep-wakeup

Merged with modern_serialization_methods, SleepToSerialize.

WhileEachToForeachlint/php-7.2/prefer-foreach-over-each

Same.

WhileNullableToInstanceofNot supported

deprecated upstream (main)

WrapEncapsedVariableInCurlyBracesNot supported

deprecated upstream (2.6.1, 2.7.0, main)

WrapReturnlint/refactor/wrap-return

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

WrapVariableVariableNameInCurlyBraceslint/php-7.0/prefer-braced-variable-variable

Same.

AbortIfrector-laravellint/laravel/prefer-abort-if

Same.

AddArgumentDefaultValuerector-laravellint/refactor/add-argument-default

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

AddExtendsAnnotationToModelFactoriesrector-laravellint/laravel/add-factory-extends-phpdoc

Same.

AddGenericBuilderToScopesrector-laravellint/laravel/add-scope-builder-generics

Same.

AddGenericReturnTypeToRelationsrector-laravellint/laravel/add-relation-generics

Same.

AddGuardToLoginEventrector-laravellint/laravel-5.7/add-login-event-guard

Same.

AddHasFactoryToModelsrector-laravellint/laravel/add-has-factory-trait

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

AddLegacyGenericReturnTypeToRelationsrector-laravellint/laravel/add-legacy-relation-generics

Same.

AddMockConsoleOutputFalseToConsoleTestsrector-laravellint/laravel-5.7/add-mock-console-output-false

Same.

AddNewGenericReturnTypeToRelationsrector-laravellint/laravel/add-new-relation-generics

Same.

AddParentBootToModelClassMethodrector-laravellint/laravel-5.7/add-parent-boot-call

Same.

AddParentRegisterToEventServiceProviderrector-laravellint/laravel-8/add-parent-register-call

Same.

AliasesPropertyToAliasesAttributerector-laravellint/laravel/prefer-aliases-attribute

Same.

AnonymousMigrationsrector-laravellint/laravel/prefer-anonymous-migration

Merged with prefer-anonymous-migration.

AppEnvironmentComparisonToParameterrector-laravellint/laravel/prefer-environment-check

Same.

AppToResolverector-laravellint/laravel/prefer-resolve-helper

Same.

AppendsPropertyToAppendsAttributerector-laravellint/laravel/prefer-appends-attribute

Same.

ApplyDefaultInsteadOfNullCoalescerector-laravellint/laravel/prefer-default-argument

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

ArgumentFuncCallToMethodCallrector-laravellint/laravel/prefer-constructor-injection

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

ArrayToArrGetrector-laravelNot supported

in no rector-laravel/Pest set

AssertSeeToAssertSeeHtmlrector-laravellint/laravel-11/prefer-assert-see-html

Same.

AssertStatusToAssertMethodrector-laravellint/laravel/prefer-dedicated-status-assertion

Merged with Pun/prefer_dedicated_status_assertion, prefer-dedicated-status-assertion.

AssertWithClassStringToTypeHintedClosurerector-laravellint/laravel/prefer-typed-assert-closure

Same.

AvoidNegatedCollectionContainsOrDoesntContainrector-laravellint/laravel/no-negated-contains

Same.

AvoidNegatedCollectionFilterOrRejectrector-laravellint/laravel/no-negated-filter

Same.

BackoffPropertyToBackoffAttributerector-laravellint/laravel/prefer-backoff-attribute

Same.

CallOnAppArrayAccessToStandaloneAssignrector-laravellint/laravel/no-app-array-access

Same.

CarbonSetTestNowToTravelTorector-laravellint/laravel/prefer-travel-to

Same.

CarbonToDateFacaderector-laravellint/laravel/prefer-date-facade

Same.

CashierStripeOptionsToStriperector-laravellint/cashier-13/prefer-stripe-method

Same.

ChangeQueryWhereDateValueWithCarbonrector-laravellint/laravel-5.7/add-where-time

Same.

CollectedByPropertyToCollectedByAttributerector-laravellint/laravel/prefer-collected-by-attribute

Same.

CollectionCountComparisonToIsEmptyrector-laravellint/laravel/prefer-collection-is-empty

Same.

CollectsPropertyToCollectsAttributerector-laravellint/laravel/prefer-collects-attribute

Same.

CommandHiddenPropertyToHiddenAttributerector-laravellint/laravel/prefer-command-hidden-attribute

Same.

CommandPropertyToAsCommandAttributerector-laravelNot supported

in no rector-laravel/Pest set

ConfigToTypedConfigMethodCallrector-laravellint/laravel/prefer-typed-config

Same.

ConnectionPropertyToConnectionAttributerector-laravellint/laravel/prefer-connection-attribute

Same.

ContainerArrayAccessToMethodCallrector-laravellint/laravel/prefer-container-method-call

Same.

ContainerBindConcreteWithClosureOnlyrector-laravellint/laravel/prefer-closure-only-bind

Same.

ConvertEnumerableToArrayToAllrector-laravellint/laravel/prefer-collection-all

Same.

DatabaseExpressionCastsToMethodCallrector-laravellint/laravel-10/no-expression-string-cast

Same.

DatabaseExpressionToStringToMethodCallrector-laravellint/laravel-10/no-expression-to-string

Same.

DateFormatPropertyToDateFormatAttributerector-laravellint/laravel/prefer-date-format-attribute

Same.

DateWhereClauseToShorthandrector-laravellint/laravel/prefer-date-shorthand

Same.

DelayPropertyToDelayAttributerector-laravellint/laravel/prefer-delay-attribute

Same.

DeleteWhenMissingModelsPropertyToDeleteWhenMissingModelsAttributerector-laravellint/laravel/prefer-delete-when-missing-models-attribute

Same.

DescriptionPropertyToDescriptionAttributerector-laravellint/laravel/prefer-description-attribute

Same.

DispatchNonShouldQueueToDispatchSyncrector-laravellint/laravel-10/prefer-dispatch-sync

Same.

DispatchToHelperFunctionsrector-laravellint/laravel/prefer-dispatch-helper

Same.

EloquentMagicMethodToQueryBuilderrector-laravellint/laravel/no-implicit-model-query

Merged with no-implicit-model-query. Options: configurable: options carry 1:1 (same keys, kebab-cased).

EloquentOrderByToLatestOrOldestrector-laravellint/laravel/prefer-latest-oldest

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

EloquentWhereRelationTypeHintingParameterrector-laravellint/laravel/add-relation-query-closure-type

Same.

EloquentWhereTypeHintClosureParameterrector-laravellint/laravel/add-query-closure-type

Same.

EmptyGuardedPropertyToUnguardedAttributerector-laravellint/laravel/prefer-unguarded-attribute

Same.

EmptyToBlankAndFilledFuncrector-laravellint/laravel/prefer-blank-filled

Same.

EnvVariableToEnvHelperrector-laravellint/laravel/prefer-env-helper

Same.

ErrorBagPropertyToErrorBagAttributerector-laravellint/laravel/prefer-error-bag-attribute

Same.

EventStringToClassConstantrector-laravellint/refactor/replace-event-string-with-constant

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

FactoryApplyingStatesrector-laravellint/laravel-8/prefer-factory-state-methods

Same.

FactoryDefinitionrector-laravellint/laravel-8/prefer-factory-classes

Same. Options: configurable: options carry 1:1 (the model list under `items`).

FactoryFuncCallToStaticCallrector-laravellint/laravel-8/prefer-model-factory-method

Same. Options: configurable: options carry 1:1 (the model list under `items`).

FailOnTimeoutPropertyToFailOnTimeoutAttributerector-laravellint/laravel/prefer-fail-on-timeout-attribute

Same.

FillablePropertyToFillableAttributerector-laravellint/laravel/prefer-fillable-attribute

Same.

FuncCallToNewrector-laravellint/refactor/replace-function-with-new

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

FuncCallToStaticCallrector-laravellint/refactor/replace-function-with-static

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

GuardedPropertyToGuardedAttributerector-laravellint/laravel/prefer-guarded-attribute

Same.

HelpPropertyToHelpAttributerector-laravellint/laravel/prefer-help-attribute

Same.

HelperFuncCallToFacadeClassrector-laravellint/laravel/prefer-facade-over-app

Same.

HiddenPropertyToHiddenAttributerector-laravellint/laravel/prefer-hidden-attribute

Same.

JobConnectionPropertyToJobConnectionAttributerector-laravellint/laravel/prefer-job-connection-attribute

Same.

JsonCallToExplicitJsonCallrector-laravellint/laravel/prefer-explicit-json-call

Same.

LivewireComponentComputedMethodToComputedAttributerector-laravellint/livewire-3/prefer-computed-attribute

Same.

LivewireComponentQueryStringToUrlAttributerector-laravellint/livewire-3/prefer-url-attribute

Same.

LumenRoutesStringActionToUsesArrayrector-laravellint/lumen/prefer-uses-array

Same.

LumenRoutesStringMiddlewareToArrayrector-laravellint/lumen/prefer-middleware-array

Same.

MakeModelAttributesAndScopesProtectedrector-laravellint/laravel/prefer-protected-model-methods

Merged with NoPublicModelScopeAndAccessorRule, larastan.noPublicModelAccessorMethod, larastan.noPublicModelScopeMethod.

MaxExceptionsPropertyToMaxExceptionsAttributerector-laravellint/laravel/prefer-max-exceptions-attribute

Same.

MigrateToSimplifiedAttributerector-laravellint/laravel-9/prefer-attribute-accessor

Same.

MinutesToSecondsInCacherector-laravellint/laravel/prefer-cache-seconds

Same.

ModelCastsPropertyToCastsMethodrector-laravellint/laravel-11/prefer-casts-method

Same.

NotFilledBlankFuncCallToBlankFilledFuncCallrector-laravellint/laravel/no-negated-blank-filled

Same.

NowFuncWithStartOfDayMethodCallToTodayFuncrector-laravellint/laravel/prefer-today

Same.

OptionalToNullsafeOperatorrector-laravellint/laravel/prefer-nullsafe

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

PreserveKeysPropertyToPreserveKeysAttributerector-laravellint/laravel/prefer-preserve-keys-attribute

Same.

PropertyDeferToDeferrableProviderTorector-laravellint/laravel-5.8/prefer-deferrable-provider

Same.

QueuePropertyToQueueAttributerector-laravellint/laravel/prefer-queue-attribute

Same.

Redirect301ToPermanentRedirectrector-laravellint/laravel-5.7/prefer-permanent-redirect

Same.

RedirectBackToBackHelperrector-laravellint/laravel/prefer-back-helper

Same.

RedirectRouteToToRouteHelperrector-laravellint/laravel/prefer-to-route-helper

Same.

RefactorBlueprintGeometryColumnsrector-laravellint/laravel-11/prefer-geometry-column

Same.

RelationTableStringToPivotClassrector-laravellint/laravel/prefer-pivot-class

Same. Planned: not ported yet.

RemoveDefaultAuthorizeTrueFromFormRequestrector-laravellint/laravel/no-default-authorize

Same.

RemoveDumpDataDeadCoderector-laravellint/laravel/no-dump-calls

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RemoveModelPropertyFromFactoriesrector-laravellint/laravel/no-factory-model-property

Same.

RemoveRedundantValueCallsrector-laravellint/laravel/no-useless-value-call

Merged with NoUselessValueFunctionCallsRule, larastan.uselessConstructs.value.

RemoveRedundantWithCallsrector-laravellint/laravel/no-useless-with-call

Merged with NoUselessWithFunctionCallsRule, larastan.uselessConstructs.with.

RemoveTraitUserector-laravelNot supported

laravel upgrade set below laravel-12

RenameStaticMethodrector-laravelNot supported

laravel upgrade set below laravel-12

ReplaceAssertTimesSendWithAssertSentTimesrector-laravellint/laravel-10/prefer-assert-sent-times

Same.

ReplaceExpectsMethodsInTestsrector-laravellint/laravel-10/prefer-fake-over-expects

Same.

ReplaceFakerInstanceWithHelperrector-laravellint/laravel-9/prefer-fake-helper

Same.

ReplaceFakerPropertyFetchWithMethodCallrector-laravellint/faker-1/no-faker-property-access

Same.

ReplaceQueueTraitsWithQueueablerector-laravellint/laravel-11/prefer-queueable-trait

Same.

ReplaceServiceContainerCallArgrector-laravellint/laravel/prefer-class-container-key

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

ReplaceWithoutJobsEventsAndNotificationsWithFacadeFakerector-laravellint/laravel-10/prefer-facade-fake

Same.

ReportIfrector-laravellint/laravel/prefer-report-if

Same.

RepositoryArrayAccessToMethodCallrector-laravellint/laravel/prefer-repository-method-call

Same.

RequestStaticValidateToInjectrector-laravellint/laravel/prefer-request-validate

Same.

RequestVariablesToRequestFacaderector-laravellint/laravel/prefer-request-facade

Same.

ResponseHelperCallToJsonResponserector-laravellint/laravel/prefer-json-response

Same.

ReverseConditionableMethodCallrector-laravellint/laravel/no-negated-when

Same.

RouteActionCallablerector-laravellint/laravel/prefer-callable-route-action

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

RouteKeyMethodToRouteKeyAttributerector-laravellint/laravel/prefer-route-key-attribute

Same.

ScopeNamedClassMethodToScopeAttributedClassMethodrector-laravellint/laravel-12/prefer-scope-attribute

Same.

ServerVariableToRequestFacaderector-laravellint/laravel/prefer-request-server

Same.

SessionVariableToSessionFacaderector-laravellint/laravel/prefer-session-facade

Same.

SignaturePropertyToSignatureAttributerector-laravellint/laravel/prefer-signature-attribute

Same.

SleepFuncToSleepStaticCallrector-laravellint/laravel/prefer-sleep-facade

Same.

StaticFacadeToServiceMethodCallrector-laravellint/refactor/replace-static-with-method

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

StopOnFirstFailurePropertyToStopOnFirstFailureAttributerector-laravellint/laravel/prefer-stop-on-first-failure-attribute

Same.

SubStrToStartsWithOrEndsWithStaticMethodCallrector-laravellint/laravel/prefer-str-starts-with

Same.

TablePropertyToTableAttributerector-laravellint/laravel/prefer-table-attribute

Same.

ThrowIfrector-laravellint/laravel/prefer-throw-if

Same.

ThrowIfAndThrowUnlessExceptionsToUseClassStringrector-laravellint/laravel/prefer-exception-class-string

Same.

TimeoutPropertyToTimeoutAttributerector-laravellint/laravel/prefer-timeout-attribute

Same.

TouchesPropertyToTouchesAttributerector-laravellint/laravel/prefer-touches-attribute

Same.

TriesPropertyToTriesAttributerector-laravellint/laravel/prefer-tries-attribute

Same.

TypeHintTappableCallrector-laravellint/laravel/add-tap-closure-type

Same.

UnaliasCollectionMethodsrector-laravellint/laravel/no-collection-aliases

Same.

UnifyModelDatesWithCastsrector-laravellint/laravel-10/prefer-date-casts

Same.

UniqueForPropertyToUniqueForAttributerector-laravellint/laravel/prefer-unique-for-attribute

Same.

UnlinkFuncCallToFileFacadeDeleterector-laravellint/laravel/prefer-file-facade-delete

Same.

UseComponentPropertyWithinCommandsrector-laravellint/laravel/prefer-components-property

Same.

UseForwardsCallsTraitrector-laravellint/laravel/prefer-forwards-calls

Same.

ValidationRuleArrayStringValueToArrayrector-laravellint/laravel/prefer-array-validation-rules

Merged with Pun/prefer_array_validation_rules, prefer-array-validation-rules.

VisiblePropertyToVisibleAttributerector-laravellint/laravel/prefer-visible-attribute

Same.

WhereNullComparisonToWhereNullrector-laravellint/laravel/prefer-where-null

Same.

WhereToWhereLikerector-laravellint/laravel/prefer-where-like

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

WithoutIncrementingPropertyToWithoutIncrementingAttributerector-laravellint/laravel/prefer-without-incrementing-attribute

Same.

WithoutTimestampsPropertyToWithoutTimestampsAttributerector-laravellint/laravel/prefer-without-timestamps-attribute

Same.

ChainExpectCallspest-plugin-rectorlint/pest/prefer-chained-expect

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

ConvertAndToExpectpest-plugin-rectorlint/pest/prefer-separate-expects

Same.

ConvertAssertToExpectpest-plugin-rectorlint/pest/prefer-expect

Same.

ConvertBeforeAllInDescribepest-plugin-rectorlint/pest/no-before-all-in-describe

Same.

ConvertExpectExceptionToThrowpest-plugin-rectorlint/pest/prefer-to-throw

Merged with UseToThrow.

EnsureTypeChecksFirstpest-plugin-rectorlint/pest/require-type-matcher-first

Same.

FixInvalidRepeatValuepest-plugin-rectorlint/pest/no-invalid-repeat

Same.

RemoveDebugExpectationspest-plugin-rectorlint/security/no-debug-calls

Merged with no-debug-symbols.

RemoveOnlypest-plugin-rectorlint/pest/no-only

Merged with Pun/no_only, no-only.

RemoveRedundantLiteralTypeExpectationpest-plugin-rectorlint/pest/no-redundant-type-expectation

Same.

RemoveRedundantPestUsespest-plugin-rectorlint/pest/no-redundant-uses

Same.

RemoveStaticTestClosurepest-plugin-rectorlint/pest/no-static-test-closure

Same.

SimplifyComparisonExpectationspest-plugin-rectorlint/pest/prefer-simpler-expectation

Merged with Pun/use_simpler_expectation, use-simpler-expectation.

SimplifyExpectNotpest-plugin-rectorlint/pest/prefer-not-modifier

Same.

SimplifyFilesystemMatcherspest-plugin-rectorlint/pest/prefer-filesystem-matchers

Same.

SimplifyToBeTruthyFalsypest-plugin-rectorlint/pest/prefer-to-be-truthy-falsy

Same.

SimplifyToLiteralBooleanpest-plugin-rectorlint/pest/prefer-specific-expectations

Merged with Pun/use_specific_expectations, use-specific-expectations.

TapToDeferpest-plugin-rectorlint/pest/prefer-defer

Same.

ToBeTrueNotFalsepest-plugin-rectorlint/pest/no-negated-boolean-matcher

Same.

ToHaveMethodOnClasspest-plugin-rectorlint/pest/prefer-to-have-method-on-class

Same.

UseEachModifierpest-plugin-rectorlint/pest/prefer-each-modifier

Same.

UseInstanceOfMatcherpest-plugin-rectorlint/pest/prefer-to-be-instance-of

Same.

UseSequenceMatcherpest-plugin-rectorlint/pest/prefer-sequence

Same.

UseStrictEqualityMatcherspest-plugin-rectorlint/pest/prefer-strict-equality-matchers

Same.

UseToBeAlphapest-plugin-rectorlint/pest/prefer-to-be-alpha

Same.

UseToBeAlphaNumericpest-plugin-rectorlint/pest/prefer-to-be-alpha-numeric

Same.

UseToBeBetweenpest-plugin-rectorlint/pest/prefer-to-be-between

Same.

UseToBeDigitspest-plugin-rectorlint/pest/prefer-to-be-digits

Same.

UseToBeDirectorypest-plugin-rectorlint/pest/prefer-to-be-directory

Same.

UseToBeEmptypest-plugin-rectorlint/pest/prefer-to-be-empty

Same.

UseToBeFilepest-plugin-rectorlint/pest/prefer-to-be-file

Same.

UseToBeInpest-plugin-rectorlint/pest/prefer-to-be-in

Same.

UseToBeInfinitepest-plugin-rectorlint/pest/prefer-to-be-infinite

Same.

UseToBeJsonpest-plugin-rectorlint/pest/prefer-to-be-json

Same.

UseToBeListpest-plugin-rectorlint/pest/prefer-to-be-list

Same.

UseToBeLowercasepest-plugin-rectorlint/pest/prefer-to-be-lowercase

Same.

UseToBeNanpest-plugin-rectorlint/pest/prefer-to-be-nan

Same.

UseToBeReadableWritablepest-plugin-rectorNot supported

not correctly added upstream (registered in no set)

UseToBeUppercasepest-plugin-rectorlint/pest/prefer-to-be-uppercase

Same.

UseToBeUrlpest-plugin-rectorlint/pest/prefer-to-be-url

Same.

UseToBeUuidpest-plugin-rectorlint/pest/prefer-to-be-uuid

Same.

UseToContainpest-plugin-rectorlint/pest/prefer-to-contain

Same.

UseToContainEqualpest-plugin-rectorlint/pest/prefer-to-contain-equal

Same.

UseToContainOnlyInstancesOfpest-plugin-rectorlint/pest/prefer-to-contain-only-instances-of

Same.

UseToEndWithpest-plugin-rectorlint/pest/prefer-to-end-with

Same.

UseToEqualCanonicalizingpest-plugin-rectorlint/pest/prefer-to-equal-canonicalizing

Same.

UseToEqualWithDeltapest-plugin-rectorlint/pest/prefer-to-equal-with-delta

Same.

UseToHaveCountpest-plugin-rectorlint/pest/prefer-to-have-count

Same.

UseToHaveKeypest-plugin-rectorlint/pest/prefer-to-have-key

Same.

UseToHaveKeyspest-plugin-rectorlint/pest/prefer-to-have-keys

Same.

UseToHaveLengthpest-plugin-rectorlint/pest/prefer-to-have-length

Same.

UseToHavePropertiespest-plugin-rectorlint/pest/prefer-to-have-properties

Same.

UseToHavePropertypest-plugin-rectorlint/pest/prefer-to-have-property

Same.

UseToHaveSameSizepest-plugin-rectorlint/pest/prefer-to-have-same-size

Same.

UseToMatchpest-plugin-rectorlint/pest/prefer-to-match

Same.

UseToMatchArraypest-plugin-rectorlint/pest/prefer-to-match-array

Same.

UseToMatchObjectpest-plugin-rectorlint/pest/prefer-to-match-object

Same.

UseToStartWithpest-plugin-rectorlint/pest/prefer-to-start-with

Same.

UseToThrowpest-plugin-rectorlint/pest/prefer-to-throw

Merged with ConvertExpectExceptionToThrow.

UseTypeMatcherspest-plugin-rectorlint/pest/prefer-type-matchers

Same.

UsesToExtendpest-plugin-rectorlint/pest/prefer-extend

Same.

AddDoesNotPerformAssertionToNonAssertingTestrector-phpunitlint/phpunit/add-does-not-perform-assertions

Same.

AddInstanceofAssertForNullableArgumentrector-phpunitlint/phpunit/add-instanceof-assert-for-argument

Same.

AddInstanceofAssertForNullableInstancerector-phpunitlint/phpunit/add-instanceof-assert

Same.

AddIntersectionParamToMockObjectParamrector-phpunitlint/phpunit/add-mock-intersection-param

Same.

AddIntersectionVarToMockObjectPropertyrector-phpunitlint/phpunit/add-mock-intersection-type

Same.

AddKeysExistsAssertForKeyUserector-phpunitlint/phpunit/require-array-key-assert

Same.

AddParamTypeFromDependsrector-phpunitlint/phpunit/add-param-type-depends

Same.

AddProphecyTraitrector-phpunitlint/phpunit/add-prophecy-trait

Same.

AddReturnTypeToDependedrector-phpunitlint/phpunit/add-depended-test-return-type

Same.

AddSeeTestAnnotationrector-phpunitlint/phpunit/add-see-test-tag

Same.

AddStubIntersectionVarToStubPropertyrector-phpunitlint/phpunit/add-stub-intersection-type

Same.

AllowMockObjectsForDataProviderrector-phpunitlint/phpunit/add-data-provider-allow-mock-objects

Same.

AllowMockObjectsWhereParentClassrector-phpunitlint/phpunit/add-allow-mock-objects-attribute

Same.

AllowMockObjectsWithoutExpectationsAttributerector-phpunitNot supported

deprecated upstream (main)

AnnotationWithValueToAttributerector-phpunitlint/phpunit/prefer-attribute-over-annotation

Same. Options: configurable: options carry 1:1 (same keys, kebab-cased).

AnyMatcherToNewAnyInvokedCountrector-phpunitlint/phpunit/no-any-matcher

Same.

AssertArrayCastedObjectToAssertSamerector-phpunitlint/phpunit/prefer-property-assertions

Same.

AssertClassToThisAssertrector-phpunitlint/phpunit/prefer-this-assert

Same.

AssertCompareOnCountableWithMethodToAssertCountrector-phpunitlint/phpunit/prefer-assert-count

Same.

AssertComparisonToSpecificMethodrector-phpunitlint/phpunit/prefer-comparison-assertion

Same.

AssertContainsOnlyMethodCallrector-phpunitlint/phpunit/no-assert-contains-only

Same.

AssertEmptyNullableObjectToAssertInstanceofrector-phpunitlint/phpunit/prefer-assert-instanceof-over-empty

Same.

AssertEqualsOrAssertSameFloatParameterToSpecificMethodsTyperector-phpunitlint/phpunit/no-float-delta-parameter

Same.

AssertEqualsParameterToSpecificMethodsTyperector-phpunitlint/phpunit/prefer-specific-assert-equals

Same.

AssertEqualsToSamerector-phpunitlint/phpunit/prefer-assert-same

Merged with php_unit_strict, strict-assertions.

AssertFalseStrposToContainsrector-phpunitlint/phpunit/prefer-assert-string-contains

Same.

AssertFuncCallToPHPUnitAssertrector-phpunitlint/phpunit/prefer-assert

Same.

AssertInstanceOfComparisonrector-phpunitlint/phpunit/prefer-assert-instanceof

Same.

AssertIsTypeMethodCallrector-phpunitlint/phpunit/no-assert-is-type

Same.

AssertIssetToSpecificMethodrector-phpunitlint/phpunit/prefer-assert-array-has-key

Same.

AssertNotOperatorrector-phpunitlint/phpunit/no-negated-assertion

Same.

AssertRegExprector-phpunitlint/phpunit/prefer-assert-matches-regular-expression

Same.

AssertSameBoolNullToSpecificMethodrector-phpunitlint/phpunit/prefer-assert-null-true-false

Same.

AssertSameTrueFalseToAssertTrueFalserector-phpunitlint/phpunit/prefer-assert-true-false

Same.

AssertThatToDirectAssertrector-phpunitlint/phpunit/prefer-direct-assert

Same.

AssertTrueFalseToSpecificMethodrector-phpunitlint/phpunit/prefer-specific-true-false-assertion

Same.

BareCreateMockAssignToDirectUserector-phpunitlint/phpunit/no-bare-mock-assign

Same.

BehatPHPUnitAssertToWebmozartrector-phpunitNot supported

deprecated upstream (2.6.1, main)

CallbackSingleAssertToSimplerrector-phpunitlint/phpunit/prefer-simple-callback-assert

Same.

ChangeMockObjectReturnUnionToIntersectionrector-phpunitlint/phpunit/prefer-mock-intersection-return

Same.

ConfiguredMockEntityToSetterObjectrector-phpunitNot supported

deprecated upstream (main)

ConstructClassMethodToSetUpTestCaserector-phpunitlint/phpunit/no-test-constructor

Same.

CoversAnnotationWithValueToAttributerector-phpunitlint/phpunit/prefer-covers-attribute

Same.

CreateStubInCoalesceArgrector-phpunitlint/phpunit/prefer-create-stub-in-coalesce

Same.

CreateStubOverCreateMockArgrector-phpunitlint/phpunit/prefer-create-stub-argument

Same.

DataProviderAnnotationToAttributerector-phpunitlint/phpunit/prefer-data-provider-attribute

Same.

DataProviderArrayItemsNewLinedrector-phpunitlint/phpunit/require-data-provider-newlines

Same.

DeclareStrictTypesTestsrector-phpunitlint/phpunit/require-strict-types-in-tests

Same.

DecorateWillReturnMapWithExpectsMockrector-phpunitlint/phpunit/require-mock-expects

Same.

DelegateExceptionArgumentsrector-phpunitlint/phpunit/prefer-expect-exception

Merged with php_unit_expectation.

DependsAnnotationWithValueToAttributerector-phpunitlint/phpunit/prefer-depends-attribute

Same.

DirectInstanceOverMockArgrector-phpunitlint/phpunit/no-value-object-mock

Same.

EntityDocumentCreateMockToDirectNewrector-phpunitlint/phpunit/no-entity-mock

Same.

ExceptionAnnotationrector-phpunitlint/phpunit/no-expected-exception-annotation

Merged with php_unit_no_expectation_annotation.

ExpectsParamToMockObjectrector-phpunitlint/phpunit/add-mock-object-type

Same.

ExplicitMockExpectsCallrector-phpunitlint/phpunit/require-explicit-mock-expects

Same.

ExplicitPhpErrorApirector-phpunitlint/phpunit/prefer-expect-php-error

Same.

ExpressionCreateMockToCreateStubrector-phpunitlint/phpunit/prefer-create-stub-expression

Same.

FlipAssertrector-phpunitlint/phpunit/no-flipped-assertion

Same.

GetMockrector-phpunitlint/phpunit/prefer-create-mock

Merged with php_unit_mock.

GetMockBuilderGetMockToCreateMockrector-phpunitlint/phpunit/no-bare-mock-builder

Same.

InlineStubPropertyToCreateStubMethodCallrector-phpunitlint/phpunit/prefer-inline-create-stub

Same.

MatchAssertSameExpectedTyperector-phpunitlint/phpunit/no-assert-same-type-mismatch

Same.

MergeWithCallableAndWillReturnrector-phpunitlint/phpunit/prefer-will-return-callback

Merged with VoidMethodWithCallbackToWillReturnCallback.

MockObjectArgCreateStubToCreateMockrector-phpunitlint/phpunit/no-stub-with-expectations

Same.

MockObjectVarToStubrector-phpunitlint/phpunit/prefer-stub-var

Same.

NamedArgumentForDataProviderrector-phpunitlint/phpunit/prefer-named-data-provider-keys

Same.

NarrowIdenticalWithConsecutiverector-phpunitlint/phpunit/prefer-narrow-with-consecutive

Same.

NarrowSingleWillReturnCallbackrector-phpunitlint/phpunit/prefer-narrow-will-return-callback

Same.

NarrowUnusedSetUpDefinedPropertyrector-phpunitlint/phpunit/prefer-local-over-setup-property

Same.

NoSetupWithParentCallOverriderector-phpunitlint/phpunit/no-setup-override-attribute

Same.

ParentTestClassConstructorrector-phpunitlint/phpunit/add-parent-test-constructor

Same.

PreferPHPUnitSelfCallrector-phpunitlint/phpunit/prefer-self-call

Same.

PreferPHPUnitThisCallrector-phpunitlint/phpunit/prefer-this-call

Same.

PreferTestsWithCamelCaserector-phpunitlint/phpunit/prefer-camel-case-test-names

Same.

PreferTestsWithSnakeCaserector-phpunitlint/phpunit/prefer-snake-case-test-names

Same.

PropertyCreateMockToCreateStubrector-phpunitlint/phpunit/prefer-create-stub

Same.

PropertyExistsWithoutAssertrector-phpunitlint/phpunit/no-assert-class-has-attribute

Same.

PublicDataProviderClassMethodrector-phpunitlint/phpunit/require-public-data-provider

Same.

RemoveDataProviderTestPrefixrector-phpunitlint/phpunit/no-data-provider-test-prefix

Same.

RemoveEmptyTestMethodrector-phpunitlint/phpunit/no-empty-test

Same.

RemoveExpectAnyFromMockrector-phpunitlint/phpunit/no-expects-any

Same.

RemoveNamedArgsInDataProviderrector-phpunitNot supported

deprecated upstream (main)

RemoveNeverUsedMockPropertyrector-phpunitlint/phpunit/no-unused-mock-property

Same.

RemoveOverrideFinalConstructTestCaserector-phpunitlint/phpunit/no-final-constructor-override

Same.

RemoveSetMethodsMethodCallrector-phpunitlint/phpunit/no-mock-builder-set-methods

Same.

RemoveStandaloneCreateMockrector-phpunitlint/phpunit/no-unused-mock

Same.

ReplaceAtMethodWithDesiredMatcherrector-phpunitlint/phpunit/no-at-matcher

Same.

ReplaceTestAnnotationWithPrefixedFunctionrector-phpunitlint/phpunit/prefer-test-prefix

Same.

ReplaceTestFunctionPrefixWithAttributerector-phpunitNot supported

deprecated upstream (2.6.1, main)

RequiresAnnotationWithValueToAttributerector-phpunitlint/phpunit/prefer-requires-attribute

Same.

ScalarArgumentToExpectedParamTyperector-phpunitlint/phpunit/require-exact-test-argument-type

Same.

ScenarioToTestAnnotationrector-phpunitlint/phpunit/no-scenario-annotation

Same.

SimplerWithIsInstanceOfrector-phpunitlint/phpunit/prefer-with-is-instance-of

Same.

SimplifyForeachInstanceOfrector-phpunitlint/phpunit/prefer-assert-instances-of

Same.

SingleMockPropertyTyperector-phpunitlint/phpunit/no-mock-intersection-property

Same.

SingleWithConsecutiveToWithrector-phpunitlint/phpunit/prefer-simple-mock-expectation

Same.

SpecificAssertContainsrector-phpunitlint/phpunit/no-assert-contains-on-string

Same.

SpecificAssertContainsWithoutIdentityrector-phpunitlint/phpunit/prefer-assert-contains-equals

Same.

SpecificAssertInternalTyperector-phpunitlint/phpunit/no-assert-internal-type

Merged with php_unit_dedicate_assert_internal_type.

StaticDataProviderClassMethodrector-phpunitlint/phpunit/require-static-data-provider

Merged with php_unit_data_provider_static.

StringCastAssertStringContainsStringrector-phpunitlint/phpunit/require-string-assert-argument

Same.

SuffixMockObjectPropertyrector-phpunitNot supported

deprecated upstream (main)

TestListenerToHooksrector-phpunitlint/phpunit/no-test-listener

Same.

TestWithAnnotationToAttributerector-phpunitlint/phpunit/prefer-test-with-attribute

Same.

TestWithToDataProviderrector-phpunitlint/phpunit/prefer-data-provider

Same.

TicketAnnotationToAttributerector-phpunitlint/phpunit/prefer-ticket-attribute

Same.

TypeWillReturnCallableArrowFunctionrector-phpunitlint/phpunit/add-will-return-callback-param-type

Same.

UseSpecificWillMethodrector-phpunitlint/phpunit/prefer-specific-will-method

Same.

UseSpecificWithMethodrector-phpunitlint/phpunit/prefer-simple-with-matcher

Same.

VoidMethodWithCallbackToWillReturnCallbackrector-phpunitlint/phpunit/prefer-will-return-callback

Merged with MergeWithCallableAndWillReturn.

WillReturnCallbackFallbackToReturnFalserector-phpunitlint/phpunit/add-will-return-callback-false-fallback

Same.

WillReturnCallbackFallbackToThrowrector-phpunitNot supported

deprecated upstream (2.6.1, main)

WithCallbackIdenticalToStandaloneAssertsrector-phpunitlint/phpunit/prefer-standalone-asserts-over-callback

Same.

WithConsecutiverector-phpunitlint/phpunit/no-with-consecutive

Same.

YieldDataProviderrector-phpunitlint/phpunit/prefer-yield-data-provider

Same.

AccessTypeAnnotationToAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

AccessorAnnotationToAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ActionSuffixRemoverrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

AddFormatArgumentToIsValidrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

AddRouteAnnotationrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

AddTraitGetterReturnTypeBasedOnSetterRequiredrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

AddViolationToBuildViolationrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

AddVoteArgumentToVoteOnAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ArgumentValueResolverToValueResolverrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

AssertSameResponseCodeWithDebugContentsrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

AuthorizationCheckerIsGrantedExtractorrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

AuthorizationCheckerToAccessDecisionManagerInVoterrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

AutowireAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

BinaryFileResponseCreateToNewInstancerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ChangeCollectionTypeOptionNameFromTypeToEntryTyperector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ChangeStringCollectionOptionToConstantrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

CommandConfigureToAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

CommandConstantReturnCoderector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

CommandDefaultNameAndDescriptionToAsCommandAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

CommandGetByTypeToConstructorInjectionrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

CommandHelpToAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

CommandPropertyToAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ConsoleExceptionToErrorEventConstantrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ConsoleExecuteReturnIntrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ConstraintOptionsToNamedArgumentsrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ConstraintUrlOptionrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ConstraintValidatorValidateToValidateInContextrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ContainerBuilderCompileEnvArgumentrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ContainerGetNameToTypeInTestsrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ContainerInterfaceServiceToServiceContainerrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ControllerGetByTypeToConstructorInjectionrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ControllerMethodInjectionToConstructorrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ConvertRenderTemplateShortNotationToBundleSyntaxrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

DefinitionAliasSetPrivateToSetPublicrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

DowngradeSymfonyCommandAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ErrorNamesPropertyToConstantrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

EventDispatcherParentConstructrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

EventListenerToEventSubscriberrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

EventSubscriberMethodReturnVoidrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

FormBuilderSetDataMapperrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

FormIsValidrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

FormTypeGetParentrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

FormTypeInstanceToClassConstrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

FromServicePublicToDefaultsPublicrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

GetBySymfonyStringToConstructorInjectionrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

GetCurrencyBundleMethodCallsToIntlrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

GetFiltersToAsTwigFilterAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

GetFunctionsToAsTwigFunctionAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

GetHelperControllerToServicerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

GetRequestrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

GetToConstructorInjectionrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

InlineClassRoutePrefixrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

InvokableCommandInputAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

KernelTestCaseContainerPropertyDeprecationrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

LiteralGetToRequestClassConstantrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

LoadValidatorMetadataToAnnotationrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

LoadValidatorMetadataToAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

LogoutHandlerToLogoutEventSubscriberrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

LogoutSuccessHandlerToLogoutEventSubscriberrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

MagicClosureTwigExtensionToNativeMethodsrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

MakeDispatchFirstArgumentEventrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

MaxLengthSymfonyFormOptionToAttrrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

MergeMethodAnnotationToRouteAnnotationrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

MergeServiceNameTyperector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

MessageHandlerInterfaceToAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

MessageSubscriberInterfaceToAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

OptionNamerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ParamAndEnvAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ParamConverterAttributeToMapEntityAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ParamTypeFromRouteRequiredRegexrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ParameterBagToAutowireAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ParameterBagTypedGetMethodCallrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ParseFilerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

PropertyAccessorCreationBooleanToFlagsrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

PropertyPathMapperToDataMapperrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

PushRequestToRequestStackConstructorrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ReadOnlyOptionToAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

RedirectToRouterector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ReflectionExtractorEnableMagicCallExtractorrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

RemoveConstructorAutowireServicerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

RemoveDefaultGetBlockPrefixrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

RemoveEraseCredentialsrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

RemoveEraseCredentialsFromAuthenticatorManagerrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

RemoveServiceFromSensioRouterector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

RemoveUnusedRequestParamrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

RenameCopyOnWindowsOptionToFollowSymlinksrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ReplaceSensioRouteAnnotationWithSymfonyrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

RequestIsMainrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ResponseReturnTypeControllerActionrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ResponseStatusCoderector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ReturnDirectJsonResponserector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

RootNodeTreeBuilderrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

RouteCollectionBuilderToRoutingConfiguratorrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

SecurityAttributeToIsGrantedAttributerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ServiceArgsToServiceNamedArgrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ServiceSetStringNameToClassNamerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ServiceSettersToSettersAutodiscoveryrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ServiceTagsToDefaultsAutoconfigurerector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

SignalableCommandInterfaceReturnTyperector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

SimpleFunctionAndFilterrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

SimplifyFormRenderingrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

SingleConditionSecurityAttributeToIsGrantedrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

SplitAndSecurityAttributeToIsGrantedrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

StringCastDebugResponserector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

StringFormTypeToClassrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

StringToArrayArgumentProcessrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

SwiftCreateMessageToNewEmailrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

SwiftMessageToEmailrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

SwiftSetBodyToHtmlPlainMethodCallrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

TemplateAnnotationToThisRenderrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

TraitGetByTypeToInjectrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

TwigBundleFilesystemLoaderToTwigrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

ValidatorBuilderEnableAnnotationMappingrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

VarDumperTestTraitMethodArgsrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

WebTestCaseAssertIsSuccessfulrector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

WebTestCaseAssertResponseCoderector-symfonyNot supported

Symfony rules: out of scope (Laravel-first)

AddAnnotationToRepositoryrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

AddArrayResultColumnNamesrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

AddGetReferenceTyperector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

ArrayDimFetchAssignToAddCollectionCallrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

ArrayMapOnCollectionToArrayrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

ArrayMergeOnCollectionToArrayrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

ArrayOffsetSetToSetCollectionCallrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

AssertNullOnCollectionToAssertEmptyrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

AssertSameCountOnCollectionToAssertCountrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

CastDoctrineExprToStringrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

ChangeCompositeExpressionAddMultipleWithWithrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

CollectionDocblockGenericTyperector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

CollectionGetterNativeTyperector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

CollectionParamTypeSetterToCollectionPropertyrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

CollectionSetterParamNativeTyperector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

CompleteParamDocblockFromSetterToCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

CompletePropertyDocblockFromToManyrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

CompleteReturnDocblockFromToManyrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

CorrectDefaultTypesOnEntityPropertyrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

CriteriaOrderingConstantsDeprecationrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

CurrentOnCollectionToArrayrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

DefaultCollectionKeyrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

EmptyOnCollectionToIsEmptyCallrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

EventSubscriberInterfaceToAttributerector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

ExecuteQueryParamsToBindValuerector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

ExtractArrayArgOnQueryBuilderSelectrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

GetRepositoryServiceLocatorToRepositoryServiceInjectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

InArrayOnCollectionToContainsCallrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

InitializeCollectionInConstructorrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

IterateToToIterablerector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

MigrateQueryBuilderResetQueryPartrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

MoveCurrentDateTimeDefaultInEntityToConstructorrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

NarrowArrayCollectionToCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

NarrowParamUnionToCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

NarrowPropertyUnionToCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

NarrowReturnUnionToCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

RemoveAssertNotNullOnCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

RemoveCoalesceAssignOnCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

RemoveEmptyTableAttributerector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

RemoveIfCollectionIdenticalToNullrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

RemoveIfInstanceofCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

RemoveIsArrayOnCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

RemoveNewArrayCollectionOutsideConstructorrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

RemoveNewArrayCollectionWraprector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

RemoveNullFromInstantiatedArrayCollectionPropertyrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

RemoveNullFromNullableCollectionTyperector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

RemoveNullsafeOnCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

RemoveUselessIsEmptyAssignrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

ReplaceFetchAllMethodCallrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

ReplaceLifecycleEventArgsByDedicatedEventArgsrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

ReturnArrayToNewArrayCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

ReturnCollectionDocblockrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

SetArrayToNewCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

SetParametersArrayToCollectionrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

TypeNullableEntityFromDocblockrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

TypedPropertyFromColumnTyperector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

TypedPropertyFromToManyRelationTyperector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

TypedPropertyFromToOneRelationTyperector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

YamlToAttributeDoctrineMappingrector-doctrineNot supported

Doctrine rules: out of scope (Laravel-first)

AddReturnTypeWillChangeAttributerector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

ArrowFunctionToAnonymousFunctionrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeAbstractPrivateMethodInTraitrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeArbitraryExpressionsSupportrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeArrayAllrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeArrayAnyrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeArrayFilterNullableCallbackrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeArrayFindrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeArrayFindKeyrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeArrayFirstLastrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeArrayIsListrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeArrayKeyFirstLastrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeArrayMergeCallWithoutArgumentsrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeArraySpreadrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeAttributeToAnnotationrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeClamprector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeClassOnObjectToGetClassrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeContravariantArgumentTyperector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeCovariantReturnTyperector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeDereferenceableOperationrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeDomNodeChildNodesForeachrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeDynamicClassConstFetchrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeEnumToConstantListClassrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeFinalPropertyPromotionrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeFinalizePublicClassConstantrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeFirstClassCallableSyntaxrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeFlexibleHeredocSyntaxrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeFreadFwriteFalsyToNegationrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeHashAlgorithmXxHashrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeInstanceofStringablerector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeIsCountablerector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeIsEnumrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeIteratorCountToArrayrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeJsonDecodeNullAssociativeArgrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeJsonValidaterector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeListReferenceAssignmentrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeMatchToSwitchrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeMixedTypeDeclarationrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeMixedTypeTypedPropertyrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeNamedArgumentrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeNeverTypeDeclarationrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeNewInInitializerrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeNewMethodCallWithoutParenthesesrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeNonCapturingCatchesrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeNullCoalescingOperatorrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeNullsafeToTernaryOperatorrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeNumberFormatNoFourthArgrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeNumericLiteralSeparatorrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeObjectTypeDeclarationrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeOctalNumberrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeParameterTypeWideningrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradePhp72JsonConstrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradePhp73JsonConstrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradePhp80ResourceReturnToObjectrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradePhp81ResourceReturnToObjectrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradePhpTokenrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradePipeOperatorrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradePregUnmatchedAsNullConstantrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradePreviouslyImplementedInterfacerector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeProcOpenArrayCommandArgrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradePropertyPromotionrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradePureIntersectionTyperector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeReadonlyAnonymousClassrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeReadonlyClassrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeReadonlyPropertyrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeRecursiveDirectoryIteratorHasChildrenrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeReflectionClassGetConstantsFilterrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeReflectionGetAttributesrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeReflectionGetTyperector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeReflectionPropertyGetDefaultValuerector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeRoundingModeEnumrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeSetAccessibleReflectionPropertyrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeStandaloneNullTrueFalseReturnTyperector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeStaticTypeDeclarationrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeStrContainsrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeStrEndsWithrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeStrStartsWithrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeStreamIsattyrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeStripTagsCallWithArrayrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeSubstrFalsyrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeThrowExprrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeTrailingCommasInFunctionCallsrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeTrailingCommasInParamUserector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeTrailingCommasInUnsetrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeTypedClassConstrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeTypedPropertyrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeUnionIntersectionrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeUnionTypeDeclarationrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeUnionTypeTypedPropertyrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

DowngradeVoidCastrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

RemoveReturnTypeDeclarationFromClonerector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

SetCookieOptionsArrayToArgumentsrector-downgrade-phpNot supported

downgrade sets contradict modernize; use [php] version instead

Unsupported rules

Behat rules: out of scope (Laravel-first)

TypedStaticPropertyInBehatContext.

Doctrine rules: out of scope (Laravel-first)

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)

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)

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, AddPropertyTypeDeclaration, ArrayDimFetchToMethodCall, BinaryOpNullableToInstanceof, ChangeConstantVisibility, CompleteDynamicProperties, ConstFetchToClassConstFetch, FuncCallToNew, FuncCallToStaticCall, FunctionArgumentDefaultValueReplacer, MergeInterfaces, MethodCallToFuncCall, MethodCallToStaticCall, NewToStaticCall, ParamTypeByParentCallType, RemoveMethodCallParam, RemoveParentDelegatingConstructor, RemoveTraitUse, RenameStaticMethod, ReplaceArgumentDefaultValue, ReturnEarlyIfVariable, StaticCallToMethodCall, StringToClassConstant.

deprecated upstream (2.8.4: RenameAnnotationRector implements DeprecatedInterface and its refactor() throws; no set registers it)

RenameAnnotation.

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 rector-laravel/Pest set

ArrayToArrGet, CommandPropertyToAsCommandAttribute.

in no set

NestedAnnotationToAttribute.

laravel upgrade set below laravel-12

RemoveTraitUse, RenameStaticMethod.

not correctly added upstream (registered in no set)

UseToBeReadableWritable.

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

AddParamBasedOnParentClassMethod, ArgumentAdder, ClassPropertyAssignToConstructorPromotion, CreateFunctionToAnonymousFunction, PregReplaceEModifier.

the code it rewrites does not compile on PHP 8.4 (break 0 and break $x are fatal errors since PHP 5.4)

RemoveZeroBreakContinue.

the code it rewrites does not compile on PHP 8.4 (break outside a loop or switch is a fatal error since PHP 7.0)

BreakNotInLoopOrSwitchToReturn.

the code it rewrites does not compile on PHP 8.4 (a switch with several default cases is a fatal error since PHP 7.0)

ReduceMultipleDefaultSwitch.

the code it rewrites does not compile on PHP 8.4 (a non-static __set_state() method is a fatal error)

SetStateToStatic.

the code it rewrites does not compile on PHP 8.4 (an empty list() is a fatal error since PHP 7.0)

EmptyList.

the code it rewrites does not compile on PHP 8.4 (an unparenthesized nested ternary is a fatal error since PHP 8.0)

ParenthesizeNestedTernary.

the code it rewrites does not compile on PHP 8.4 (the (unset) cast is a fatal error since PHP 8.0)

UnsetCast.

the code it rewrites does not parse on PHP 8.4 ($string{0} offset access was removed in PHP 8.0)

CurlyToSquareBracketArrayString.

the code it rewrites does not parse on PHP 8.4 (call-time pass-by-reference was removed in PHP 5.4)

RemoveReferenceFromCall.

Pun-only rules

Last updated on

Was this page helpful?