File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 33
33
use Rector \Config \RectorConfig ;
34
34
use Rector \DeadCode \Rector \ClassMethod \RemoveUnusedConstructorParamRector ;
35
35
use Rector \DeadCode \Rector \ClassMethod \RemoveUnusedPrivateMethodRector ;
36
+ use Rector \DeadCode \Rector \ClassMethod \RemoveUnusedPromotedPropertyRector ;
36
37
use Rector \DeadCode \Rector \If_ \UnwrapFutureCompatibleIfPhpVersionRector ;
37
38
use Rector \EarlyReturn \Rector \Foreach_ \ChangeNestedForeachIfsToEarlyContinueRector ;
38
39
use Rector \EarlyReturn \Rector \If_ \ChangeIfElseValueAssignToEarlyReturnRector ;
95
96
JsonThrowOnErrorRector::class,
96
97
YieldDataProviderRector::class,
97
98
99
+ RemoveUnusedPromotedPropertyRector::class => [
100
+ // Bug in rector 1.0.0. See https://github.com/rectorphp/rector-src/pull/5573
101
+ __DIR__ . '/tests/_support/Entity/CustomUser.php ' ,
102
+ ],
103
+
98
104
RemoveUnusedPrivateMethodRector::class => [
99
105
// private method called via getPrivateMethodInvoker
100
106
__DIR__ . '/tests/system/Test/ReflectionHelperTest.php ' ,
You can’t perform that action at this time.
0 commit comments