File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change 1919use Rector \Config \RectorConfig ;
2020use Rector \Core \ValueObject \PhpVersion ;
2121use Rector \DeadCode \Rector \ClassMethod \RemoveUnusedPromotedPropertyRector ;
22- use Rector \DeadCode \Rector \MethodCall \RemoveEmptyMethodCallRector ;
2322use Rector \EarlyReturn \Rector \Foreach_ \ChangeNestedForeachIfsToEarlyContinueRector ;
2423use Rector \EarlyReturn \Rector \If_ \ChangeIfElseValueAssignToEarlyReturnRector ;
2524use Rector \EarlyReturn \Rector \If_ \RemoveAlwaysElseRector ;
7978 // Note: requires php 8
8079 RemoveUnusedPromotedPropertyRector::class,
8180
82- // Ignore tests that might make calls without a result
83- RemoveEmptyMethodCallRector::class => [
84- __DIR__ . '/tests ' ,
85- ],
86-
8781 // May load view files directly when detecting classes
8882 StringClassNameToClassConstantRector::class,
8983
Original file line number Diff line number Diff line change 1919use Rector \Config \RectorConfig ;
2020use Rector \Core \ValueObject \PhpVersion ;
2121use Rector \DeadCode \Rector \ClassMethod \RemoveUnusedPromotedPropertyRector ;
22- use Rector \DeadCode \Rector \MethodCall \RemoveEmptyMethodCallRector ;
2322use Rector \EarlyReturn \Rector \Foreach_ \ChangeNestedForeachIfsToEarlyContinueRector ;
2423use Rector \EarlyReturn \Rector \If_ \ChangeIfElseValueAssignToEarlyReturnRector ;
2524use Rector \EarlyReturn \Rector \If_ \RemoveAlwaysElseRector ;
8079 // Note: requires php 8
8180 RemoveUnusedPromotedPropertyRector::class,
8281
83- // Ignore tests that might make calls without a result
84- RemoveEmptyMethodCallRector::class => [
85- __DIR__ . '/tests ' ,
86- ],
87-
8882 // May load view files directly when detecting classes
8983 StringClassNameToClassConstantRector::class,
9084
You can’t perform that action at this time.
0 commit comments