File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020use Rector \Php80 \Rector \FuncCall \ClassOnObjectRector ;
2121use Rector \Php80 \Rector \Identical \StrEndsWithRector ;
2222use Rector \Php80 \Rector \Identical \StrStartsWithRector ;
23+ use Rector \Php80 \Rector \NotIdentical \MbStrContainsRector ;
2324use Rector \Php80 \Rector \NotIdentical \StrContainsRector ;
2425use Rector \Php80 \Rector \Switch_ \ChangeSwitchToMatchRector ;
2526use Rector \Php80 \Rector \Ternary \GetDebugTypeRector ;
4546 ClassOnThisVariableObjectRector::class,
4647 ConsistentImplodeRector::class,
4748 OptionalParametersAfterRequiredRector::class,
49+ MbStrContainsRector::class,
4850 ]);
4951
5052 $ rectorConfig
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ public function __construct(
2020 ) {
2121 }
2222
23+ /**
24+ * @param string[] $oldStrFuncNames
25+ */
2326 public function resolve (Identical | NotIdentical | Equal | NotEqual $ expr , array $ oldStrFuncNames ): ?FuncCall
2427 {
2528 if ($ this ->valueResolver ->isFalse ($ expr ->left )) {
You can’t perform that action at this time.
0 commit comments