Skip to content

Commit e4ee3b3

Browse files
Masatoshi OgiwaraMasatoshi Ogiwara
authored andcommitted
feat: add-rector-rule
1 parent e6de900 commit e4ee3b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rector.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Rector\Php80\Rector\FunctionLike\MixedTypeRector;
77
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
88
use Rector\TypeDeclaration\Rector\Closure\AddClosureVoidReturnTypeWhereNoReturnRector;
9+
use Rector\Php84\Rector\Param\ExplicitNullableParamTypeRector;
910

1011
return RectorConfig::configure()
1112
->withPaths([
@@ -16,6 +17,9 @@
1617
])
1718
->withPhpSets()
1819
->withTypeCoverageLevel(0)
20+
->withRules([
21+
ExplicitNullableParamTypeRector::class,
22+
])
1923
->withSkip([
2024
RemoveExtraParametersRector::class,
2125
ClosureToArrowFunctionRector::class,

0 commit comments

Comments
 (0)