RemoveCacheExpireOverrideRector

Remove deprecated cacheExpire() overrides from Views CachePluginBase subclasses

-class MyCache extends CachePluginBase { protected function cacheExpire($type) { return 0; } }
+class MyCache extends CachePluginBase { }

Configure your rector.php:

<?php

use DrupalRector\Drupal11\Rector\Deprecation\RemoveCacheExpireOverrideRector;
use Rector\Config\RectorConfig;

return RectorConfig::configure()
    ->withRules([
        RemoveCacheExpireOverrideRector::class,
    ]);

Other rules in the drupal/core 11.4 set