Change Closure::fromCallable() to first class callable syntax
-Closure::fromCallable([$obj, 'method']);
+$obj->method(...);
                        Configure your rector.php:
<?php
use Rector\CodingStyle\Rector\FuncCall\ClosureFromCallableToFirstClassCallableRector;
use Rector\Config\RectorConfig;
return RectorConfig::configure()
    ->withRules([
        ClosureFromCallableToFirstClassCallableRector::class,
    ]);