SimplifyStrposLowerRector

Simplify strpos(strtolower(), "...") calls

-strpos(strtolower($var), "...")
+stripos($var, "...")

Configure your rector.php:

<?php

use Rector\CodeQuality\Rector\FuncCall\SimplifyStrposLowerRector;
use Rector\Config\RectorConfig;

return RectorConfig::configure()
    ->withRules([
        SimplifyStrposLowerRector::class,
    ]);
SETS:  Code Quality