RemoveCacheTagChecksumAssertionsRector

Remove deprecated CacheTagChecksumCount and CacheTagIsValidCount entries from assertMetrics() calls (deprecated in drupal:11.2.0, removed in drupal:12.0.0, no replacement).

 $this->assertMetrics([
     'CacheGetCount' => 5,
-    'CacheTagChecksumCount' => 38,
-    'CacheTagIsValidCount' => 43,
     'CacheTagInvalidationCount' => 0,
 ], $performance_data);

Configure your rector.php:

<?php

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

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

Other rules in the drupal/core 11.2 set