Skip to content

Commit

Permalink
Move StrictArrayParamDimFetchRector and StrictStringParamConcatRector…
Browse files Browse the repository at this point in the history
… to last rules on TypeDeclarationLevel (#5618)

Ensure the external call is validated first before risky rely on concat or param dim fetch inside the method on updating param type.
  • Loading branch information
samsonasik committed Feb 14, 2024
1 parent d62be32 commit 435d125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Config/Level/TypeDeclarationLevel.php
Expand Up @@ -95,12 +95,12 @@ final class TypeDeclarationLevel
AddParamTypeFromPropertyTypeRector::class,
MergeDateTimePropertyTypeDeclarationRector::class,
PropertyTypeFromStrictSetterGetterRector::class,
StrictArrayParamDimFetchRector::class,
StrictStringParamConcatRector::class,
ParamTypeByMethodCallTypeRector::class,
TypedPropertyFromAssignsRector::class,
AddReturnTypeDeclarationBasedOnParentClassMethodRector::class,
ReturnTypeFromStrictFluentReturnRector::class,
ReturnNeverTypeRector::class,
StrictArrayParamDimFetchRector::class,
StrictStringParamConcatRector::class,
];
}

0 comments on commit 435d125

Please sign in to comment.