File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6262
6363 - name : Analyze for refactoring
6464 run : |
65- composer global require --dev rector/rector:^0.13.8
65+ composer global require --dev rector/rector:^0.15.0
6666 rector process --dry-run --no-progress-bar
Original file line number Diff line number Diff line change 11<?php
22
3+ use Rector \TypeDeclaration \Rector \Property \TypedPropertyFromAssignsRector ;
34use Rector \Config \RectorConfig ;
45use Rector \CodeQuality \Rector \BooleanAnd \SimplifyEmptyArrayCheckRector ;
56use Rector \CodeQuality \Rector \Expression \InlineIfToExplicitIfRector ;
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 \PHPUnitSetList ;
3434use Rector \PSR4 \Rector \FileWithoutNamespace \NormalizeNamespaceByPSR4ComposerAutoloadRector ;
3535use Rector \Set \ValueObject \LevelSetList ;
112112 $ rectorConfig ->rule (SimplifyEmptyArrayCheckRector::class);
113113 $ rectorConfig ->rule (NormalizeNamespaceByPSR4ComposerAutoloadRector::class);
114114 $ rectorConfig
115- ->ruleWithConfiguration (TypedPropertyRector ::class, [
115+ ->ruleWithConfiguration (TypedPropertyFromAssignsRector ::class, [
116116 // Set to false if you use in libraries, or it does create breaking changes.
117- TypedPropertyRector ::INLINE_PUBLIC => true ,
117+ TypedPropertyFromAssignsRector ::INLINE_PUBLIC => false ,
118118 ]);
119119};
You can’t perform that action at this time.
0 commit comments