File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929use Rector \CodingStyle \Rector \FuncCall \CountArrayToEmptyArrayComparisonRector ;
3030use Rector \Config \RectorConfig ;
3131use Rector \DeadCode \Rector \ClassMethod \RemoveUnusedPrivateMethodRector ;
32+ use Rector \DeadCode \Rector \If_ \RemoveAlwaysTrueIfConditionRector ;
3233use Rector \DeadCode \Rector \If_ \UnwrapFutureCompatibleIfPhpVersionRector ;
3334use Rector \DeadCode \Rector \MethodCall \RemoveEmptyMethodCallRector ;
3435use Rector \EarlyReturn \Rector \Foreach_ \ChangeNestedForeachIfsToEarlyContinueRector ;
114115 GetMockBuilderGetMockToCreateMockRector::class => [
115116 __DIR__ . '/tests/system/Email/EmailTest.php ' ,
116117 ],
118+
119+ // temporary skip as remove on variable check from @param doc
120+ // ref https://github.com/rectorphp/rector-src/pull/3402
121+ RemoveAlwaysTrueIfConditionRector::class,
117122 ]);
118123
119124 // auto import fully qualified class names
You can’t perform that action at this time.
0 commit comments