Configurable

MergeInterfacesRector

Merge old interface to a new one, that already has its methods

-class SomeClass implements SomeInterface, SomeOldInterface
+class SomeClass implements SomeInterface
 {
 }

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Transform\Rector\Class_\MergeInterfacesRector;

return RectorConfig::configure()
    ->withConfiguredRule(MergeInterfacesRector::class, [
        'SomeOldInterface' => 'SomeInterface',
    ]);