Configurable

RemoveTwigNodeTransTagArgumentRector

Remove the deprecated 6th $tag argument from TwigNodeTrans constructor calls

-new TwigNodeTrans($body, $plural, $count, $options, $lineno, $this->getTag());
+new TwigNodeTrans($body, $plural, $count, $options, $lineno);

Configure your rector.php:

<?php

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

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