File tree Expand file tree Collapse file tree
config/sets/symfony/symfony6 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 MagicClosureTwigExtensionToNativeMethodsRector::class,
2020 ]);
2121
22+ $ rectorConfig ->import (__DIR__ . '/symfony61/symfony61-serializer.php ' );
23+
2224 $ rectorConfig ->ruleWithConfiguration (RenameClassRector::class, [
23- // @see https://github.com/symfony/symfony/pull/43982
24- 'Symfony\Component\Serializer\Normalizer\ContextAwareDenormalizerInterface ' => 'Symfony\Component\Serializer\Normalizer\DenormalizerInterface ' ,
25- 'Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface ' => 'Symfony\Component\Serializer\Normalizer\NormalizerInterface ' ,
2625 // @see https://github.com/symfony/symfony/pull/45623
2726 'Symfony\Component\Validator\Constraints\ExpressionLanguageSyntax ' => 'Symfony\Component\Validator\Constraints\ExpressionSyntax ' ,
2827 'Symfony\Component\Validator\Constraints\ExpressionLanguageSyntaxValidator ' => 'Symfony\Component\Validator\Constraints\ExpressionSyntaxValidator ' ,
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ use Rector \Config \RectorConfig ;
6+ use Rector \Renaming \Rector \Name \RenameClassRector ;
7+
8+ return static function (RectorConfig $ rectorConfig ): void {
9+ $ rectorConfig ->ruleWithConfiguration (RenameClassRector::class, [
10+ // @see https://github.com/symfony/symfony/pull/43982
11+ 'Symfony\Component\Serializer\Normalizer\ContextAwareDenormalizerInterface ' => 'Symfony\Component\Serializer\Normalizer\DenormalizerInterface ' ,
12+ 'Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface ' => 'Symfony\Component\Serializer\Normalizer\NormalizerInterface ' ,
13+ ]);
14+ };
Original file line number Diff line number Diff line change @@ -68,10 +68,18 @@ public function provide(): array
6868
6969 new ComposerTriggeredSet (
7070 SetGroup::SYMFONY ,
71- 'symfony/* ' ,
71+ 'symfony/symfony ' ,
7272 '6.1 ' ,
7373 __DIR__ . '/../../../config/sets/symfony/symfony6/symfony61.php '
7474 ),
75+
76+ new ComposerTriggeredSet (
77+ SetGroup::SYMFONY ,
78+ 'symfony/serializer ' ,
79+ '6.1 ' ,
80+ __DIR__ . '/../../../config/sets/symfony/symfony6/symfony61/symfony61-serializer.php '
81+ ),
82+
7583 new ComposerTriggeredSet (
7684 SetGroup::SYMFONY ,
7785 'symfony/* ' ,
You can’t perform that action at this time.
0 commit comments