Configurable

ReplaceLocaleConfigBatchFunctionsRector

Replace removed locale config batch helper functions with their renamed successors (drupal:11.1.0)

-locale_config_batch_set_config_langcodes($context);
+locale_config_batch_update_default_config_langcodes($context);

Configure your rector.php:

<?php

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

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