CallUserMethodRector

Changes call_user_method()/call_user_method_array() to call_user_func()/call_user_func_array()

-call_user_method($method, $obj, "arg1", "arg2");
+call_user_func(array(&$obj, "method"), "arg1", "arg2");

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Php70\Rector\FuncCall\CallUserMethodRector;

return RectorConfig::configure()
    ->withRules([
        CallUserMethodRector::class,
    ]);
SETS:  PHP 7.0