diff --git a/config/drupal-10/drupal-10.0-deprecations.php b/config/drupal-10/drupal-10.0-deprecations.php index 5d97596c..1c9e42f8 100644 --- a/config/drupal-10/drupal-10.0-deprecations.php +++ b/config/drupal-10/drupal-10.0-deprecations.php @@ -11,6 +11,13 @@ return static function (RectorConfig $rectorConfig): void { $rectorConfig->sets([ PHPUnitSetList::PHPUNIT_90, + SymfonySetList::SYMFONY_50, + SymfonySetList::SYMFONY_51, + SymfonySetList::SYMFONY_52, + SymfonySetList::SYMFONY_53, + SymfonySetList::SYMFONY_54, + SymfonySetList::SYMFONY_60, + SymfonySetList::SYMFONY_61, SymfonySetList::SYMFONY_62, TwigSetList::TWIG_240, ]); diff --git a/config/drupal-10/drupal-10.2-deprecations.php b/config/drupal-10/drupal-10.2-deprecations.php index 9e7d547e..869a4838 100644 --- a/config/drupal-10/drupal-10.2-deprecations.php +++ b/config/drupal-10/drupal-10.2-deprecations.php @@ -7,8 +7,13 @@ use DrupalRector\Rector\ValueObject\FunctionToStaticConfiguration; use DrupalRector\Rector\ValueObject\MethodToMethodWithCheckConfiguration; use Rector\Config\RectorConfig; +use Rector\Symfony\Set\SymfonySetList; return static function (RectorConfig $rectorConfig): void { + $rectorConfig->sets([ + SymfonySetList::SYMFONY_64, + ]); + // https://www.drupal.org/node/2999981 $rectorConfig->ruleWithConfiguration(FunctionToStaticRector::class, [ new FunctionToStaticConfiguration('10.2.0', 'format_size', '\Drupal\Core\StringTranslation\ByteSizeMarkup', 'create'),