DX: update rector config

This commit is contained in:
Julien Fastré 2023-04-28 23:19:05 +02:00
parent 1c7d90a6ef
commit 07c681fcec
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -34,27 +34,5 @@ return static function (RectorConfig $rectorConfig): void {
// must merge MR500 and review a typing of "ArrayCollection" in entities
\Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector::class,
// remove all PHP80 rules, in order to activate them one by one
// \Rector\Php80\Rector\ClassMethod\AddParamBasedOnParentClassMethodRector::class,
// \Rector\Php80\Rector\Class_\AnnotationToAttributeRector::class,
// \Rector\Php80\Rector\Switch_\ChangeSwitchToMatchRector::class,
// \Rector\Php80\Rector\FuncCall\ClassOnObjectRector::class,
// \Rector\Php80\Rector\ClassConstFetch\ClassOnThisVariableObjectRector::class,
// \Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector::class,
// \Rector\Php80\Rector\Class_\DoctrineAnnotationClassToAttributeRector::class,
// \Rector\Php80\Rector\ClassMethod\FinalPrivateToPrivateVisibilityRector::class,
// \Rector\Php80\Rector\Ternary\GetDebugTypeRector::class,
// \Rector\Php80\Rector\FunctionLike\MixedTypeRector::class,
// \Rector\Php80\Rector\Property\NestedAnnotationToAttributeRector::class,
// \Rector\Php80\Rector\FuncCall\Php8ResourceReturnToObjectRector::class,
// \Rector\Php80\Rector\Catch_\RemoveUnusedVariableInCatchRector::class,
// \Rector\Php80\Rector\ClassMethod\SetStateToStaticRector::class,
// \Rector\Php80\Rector\NotIdentical\StrContainsRector::class,
// \Rector\Php80\Rector\Identical\StrEndsWithRector::class,
// \Rector\Php80\Rector\Identical\StrStartsWithRector::class,
// \Rector\Php80\Rector\Class_\StringableForToStringRector::class,
// \Rector\Php80\Rector\FuncCall\TokenGetAllToObjectRector::class,
// \Rector\Php80\Rector\FunctionLike\UnionTypesRector::class
]);
};