From 16515fdb3c2e65636ba1e120724e900c72f3c4ee Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 27 Jan 2024 16:01:16 +0100 Subject: [PATCH] feat: Add PHP and Symfony sets to Shopware 6.6 (#30) --- config/shopware-6.6.0.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/shopware-6.6.0.php b/config/shopware-6.6.0.php index a8bd56b..49b7263 100644 --- a/config/shopware-6.6.0.php +++ b/config/shopware-6.6.0.php @@ -3,11 +3,19 @@ declare(strict_types=1); use Rector\Config\RectorConfig; +use Rector\Set\ValueObject\LevelSetList; +use Rector\Symfony\Set\SymfonySetList; return static function (RectorConfig $rectorConfig): void { $rectorConfig->import(__DIR__ . '/v6.6/renaming.php'); $rectorConfig->import(__DIR__ . '/v6.6/exceptions.php'); + $rectorConfig->sets([ + SymfonySetList::SYMFONY_63, + SymfonySetList::SYMFONY_64, + LevelSetList::UP_TO_PHP_82, + ]); + $rectorConfig->importNames(); $rectorConfig->importShortClasses(false); };