File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717use Rector \CodingStyle \Rector \ClassMethod \FuncGetArgsToVariadicParamRector ;
1818use Rector \CodingStyle \Rector \ClassMethod \MakeInheritedMethodVisibilitySameAsParentRector ;
1919use Rector \CodingStyle \Rector \FuncCall \CountArrayToEmptyArrayComparisonRector ;
20+ use Rector \TypeDeclaration \Rector \Property \TypedPropertyFromAssignsRector ;
2021use Rector \Config \RectorConfig ;
2122use Rector \Core \ValueObject \PhpVersion ;
2223use Rector \DeadCode \Rector \ClassMethod \RemoveUnusedPromotedPropertyRector ;
2930use Rector \Php56 \Rector \FunctionLike \AddDefaultValueForUndefinedVariableRector ;
3031use Rector \Php73 \Rector \FuncCall \JsonThrowOnErrorRector ;
3132use Rector \Php73 \Rector \FuncCall \StringifyStrNeedlesRector ;
32- use Rector \Php74 \Rector \Property \TypedPropertyRector ;
3333use Rector \PHPUnit \Set \PHPUnitLevelSetList ;
3434use Rector \PHPUnit \Set \PHPUnitSetList ;
3535use Rector \PSR4 \Rector \FileWithoutNamespace \NormalizeNamespaceByPSR4ComposerAutoloadRector ;
114114 $ rectorConfig ->rule (SimplifyEmptyArrayCheckRector::class);
115115 $ rectorConfig ->rule (NormalizeNamespaceByPSR4ComposerAutoloadRector::class);
116116 $ rectorConfig
117- ->ruleWithConfiguration (TypedPropertyRector ::class, [
117+ ->ruleWithConfiguration (TypedPropertyFromAssignsRector ::class, [
118118 // Set to false if you use in libraries, or it does create breaking changes.
119- TypedPropertyRector ::INLINE_PUBLIC => true ,
119+ TypedPropertyFromAssignsRector ::INLINE_PUBLIC => true ,
120120 ]);
121121};
You can’t perform that action at this time.
0 commit comments