NodeStorageDeprecatedMethodsRector

Replaces deprecated NodeStorage::revisionIds() and userRevisionIds() with entity queries; removes countDefaultLanguageRevisions() (no replacement)

-$storage->revisionIds($node);
+array_keys($storage->getQuery()->allRevisions()->condition('nid', $node->id())->accessCheck(FALSE)->execute());

Configure your rector.php:

<?php

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

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

Other rules in the drupal/core 11.3 set