From a7322945b9d9d541910321a3a94bb8bd9a921b7b Mon Sep 17 00:00:00 2001 From: Luca Tumedei Date: Thu, 19 Oct 2023 09:26:05 +0200 Subject: [PATCH] chore(config) remove rector.php file --- config/rector.php | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 config/rector.php diff --git a/config/rector.php b/config/rector.php deleted file mode 100644 index beaf64d56..000000000 --- a/config/rector.php +++ /dev/null @@ -1,43 +0,0 @@ -paths([dirname(__DIR__) . '/src']); - $rectorConfig->phpVersion(PhpVersion::PHP_80); - $rectorConfig->rule(ArrayShapeFromConstantArrayReturnRector::class); - $rectorConfig->rule(AddArrowFunctionReturnTypeRector::class); - $rectorConfig->rule(AddClosureReturnTypeRector::class); - $rectorConfig->rule(AddParamTypeSplFixedArrayRector::class); - $rectorConfig->rule(AddReturnTypeDeclarationBasedOnParentClassMethodRector::class); - $rectorConfig->rule(AddReturnTypeDeclarationFromYieldsRector::class); - $rectorConfig->rule(ReturnTypeFromReturnDirectArrayRector::class); - $rectorConfig->rule(ReturnTypeFromReturnNewRector::class); - $rectorConfig->rule(ReturnTypeFromStrictBoolReturnExprRector::class); - $rectorConfig->rule(ReturnTypeFromStrictConstantReturnRector::class); - $rectorConfig->rule(ReturnTypeFromStrictNativeCallRector::class); - $rectorConfig->rule(ReturnTypeFromStrictTernaryRector::class); - $rectorConfig->rule(ReturnTypeFromStrictTypedCallRector::class); - $rectorConfig->rule(ReturnTypeFromStrictTypedPropertyRector::class); - - $rectorConfig->sets([SetList::PHP_80]); -};