Configurable

ViewsPluginHandlerManagerRector

Replaces deprecated Views::pluginManager() and Views::handlerManager() with \Drupal::service() equivalents

-Views::handlerManager('filter');
-Views::pluginManager($type);
+\Drupal::service('plugin.manager.views.filter');
+\Drupal::service('views.plugin_managers')->get($type);

Configure your rector.php:

<?php

use DrupalRector\Drupal11\Rector\Deprecation\ViewsPluginHandlerManagerRector;
use DrupalRector\Rector\ValueObject\DrupalIntroducedVersionConfiguration;
use Rector\Config\RectorConfig;

return RectorConfig::configure()
    ->withConfiguredRule(ViewsPluginHandlerManagerRector::class, [
        new DrupalIntroducedVersionConfiguration('11.4.0'),
    ]);