Remove extra parameters
-strlen("asdf", 1);
+strlen("asdf");
Configure your rector.php
:
<?php
use Rector\Config\RectorConfig;
use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector;
return RectorConfig::configure()
->withRules([
RemoveExtraParametersRector::class,
]);