TaxonomyTermPageVariableToViewModeRector

Replace deprecated $variables['page'] with $variables['view_mode'] === 'full' in taxonomy term preprocess hooks.

 function mymodule_preprocess_taxonomy_term(array &$variables): void {
-  if ($variables['page']) {
+  if ($variables['view_mode'] === 'full') {
     $variables['show_title'] = FALSE;
   }
 }

Configure your rector.php:

<?php

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

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

Other rules in the drupal/core 11.3 set