Skip to content

Commit

Permalink
feat: Add PHP and Symfony sets to Shopware 6.6 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
aragon999 authored Jan 27, 2024
1 parent 39dbad0 commit 16515fd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/shopware-6.6.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

0 comments on commit 16515fd

Please sign in to comment.