update rules
This commit is contained in:
parent
3c9679da8e
commit
3c81249b90
2 changed files with 12 additions and 9 deletions
|
@ -14,7 +14,6 @@ use Rector\CodingStyle\Rector\ClassMethod\NewlineBeforeNewAssignSetRector;
|
|||
use Rector\CodingStyle\Rector\Closure\StaticClosureRector;
|
||||
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
|
||||
use Rector\CodingStyle\Rector\If_\NullableCompareToNullRector;
|
||||
use Rector\CodingStyle\Rector\Stmt\NewlineAfterStatementRector;
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
|
||||
use Rector\EarlyReturn\Rector\If_\ChangeAndIfToEarlyReturnRector;
|
||||
|
@ -44,7 +43,6 @@ use Rector\TypeDeclaration\Rector\FunctionLike\AddParamTypeSplFixedArrayRector;
|
|||
use Rector\TypeDeclaration\Rector\FunctionLike\AddReturnTypeDeclarationFromYieldsRector;
|
||||
use Rector\TypeDeclaration\Rector\Param\ParamTypeFromStrictTypedPropertyRector;
|
||||
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromStrictConstructorRector;
|
||||
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromStrictGetterMethodReturnTypeRector;
|
||||
|
||||
return static function (RectorConfig $c): void {
|
||||
$c->sets([LevelSetList::UP_TO_PHP_82]);
|
||||
|
@ -65,7 +63,6 @@ return static function (RectorConfig $c): void {
|
|||
ExplicitBoolCompareRector::class,
|
||||
InlineArrayReturnAssignRector::class,
|
||||
InlineIsAInstanceOfRector::class,
|
||||
NewlineAfterStatementRector::class,
|
||||
NewlineBeforeNewAssignSetRector::class,
|
||||
NullableCompareToNullRector::class,
|
||||
ParamTypeByMethodCallTypeRector::class,
|
||||
|
@ -90,7 +87,6 @@ return static function (RectorConfig $c): void {
|
|||
StaticClosureRector::class,
|
||||
ThrowWithPreviousExceptionRector::class,
|
||||
TypedPropertyFromStrictConstructorRector::class,
|
||||
TypedPropertyFromStrictGetterMethodReturnTypeRector::class,
|
||||
RemoveAlwaysElseRector::class,
|
||||
]);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue