RenameStopProceduralHookScanRector

Rename #[StopProceduralHookScan] attribute to #[ProceduralHookScanStop] and update its use statement (drupal:11.2.0)

-use Drupal\Core\Hook\Attribute\StopProceduralHookScan;
+use Drupal\Core\Hook\Attribute\ProceduralHookScanStop;

-#[StopProceduralHookScan]
+#[ProceduralHookScanStop]
 function mymodule_helper(): void {}

Configure your rector.php:

<?php

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

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

Other rules in the drupal/core 11.2 set