Skip to content

Commit

Permalink
feat: configure AddEntityNameToEntityExtension rule for backwards com…
Browse files Browse the repository at this point in the history
…patibility
  • Loading branch information
shyim committed Feb 10, 2025
1 parent fd1a09b commit 6f281ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/shopware-6.5.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

declare(strict_types=1);

use Frosh\Rector\Rule\v67\AddEntityNameToEntityExtension;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\SetList;
use Rector\Symfony\Set\SymfonySetList;
Expand All @@ -21,6 +22,10 @@
SetList::PHP_81,
]);

$rectorConfig->ruleWithConfiguration(AddEntityNameToEntityExtension::class, [
'backwardsCompatible' => true,
]);

$rectorConfig->importNames();
$rectorConfig->importShortClasses(false);
};

0 comments on commit 6f281ef

Please sign in to comment.