Configurable

DowngradeParameterTypeWideningRector

Change param type to match the lowest type in whole family tree

 interface SomeInterface
 {
-    public function test(array $input);
+    /**
+     * @param mixed[] $input
+     */
+    public function test($input);
 }
 final class SomeClass implements SomeInterface
 {
     public function test($input)
     {
     }
 }

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\DowngradePhp72\Rector\ClassMethod\DowngradeParameterTypeWideningRector;

return RectorConfig::configure()
    ->withConfiguredRule(DowngradeParameterTypeWideningRector::class, [
        'ContainerInterface' => [
                'set',
                'get',
                'has',
                'initialized',
            ],
        'SomeContainerInterface' => [
                'set',
                'has',
            ],
    ]);