Skip to content

Commit

Permalink
refactor: remove duplicated SymfonyLevelSetList
Browse files Browse the repository at this point in the history
  • Loading branch information
timohuisman authored and bbrala committed Jan 11, 2024
1 parent d0e6f0d commit aa11559
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions config/drupal-10/drupal-10.2-deprecations.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@
use DrupalRector\Rector\Deprecation\FunctionToStaticRector;
use DrupalRector\Rector\ValueObject\FunctionToStaticConfiguration;
use Rector\Config\RectorConfig;
use Rector\Symfony\Set\SymfonyLevelSetList;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->sets([
SymfonyLevelSetList::UP_TO_SYMFONY_63,
]);

// https://www.drupal.org/node/2999981
$rectorConfig->ruleWithConfiguration(FunctionToStaticRector::class, [
new FunctionToStaticConfiguration('10.2.0', 'format_size', '\Drupal\Core\StringTranslation\ByteSizeMarkup', 'create'),
Expand Down

0 comments on commit aa11559

Please sign in to comment.