File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed
config/sets/symfony/symfony7 Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1010 $ rectorConfig ->import (__DIR__ . '/symfony74/symfony74-console.php ' );
1111 $ rectorConfig ->import (__DIR__ . '/symfony74/symfony74-framework-bundle.php ' );
1212 $ rectorConfig ->import (__DIR__ . '/symfony74/symfony74-routing.php ' );
13+ $ rectorConfig ->import (__DIR__ . '/symfony74/symfony74-workflow.php ' );
1314};
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+ // @see https://github.com/symfony/symfony/blob/7.4/UPGRADE-7.4.md#frameworkbundle
10+ $ rectorConfig ->ruleWithConfiguration (
11+ RenameClassRector::class,
12+ [
13+ 'Symfony\Bundle\FrameworkBundle\Command\WorkflowDumpCommand ' => 'Symfony\Component\Workflow\Command\WorkflowDumpCommand ' ,
14+ ],
15+ );
16+ };
Original file line number Diff line number Diff line change @@ -135,6 +135,12 @@ public function provide(): array
135135 '7.4 ' ,
136136 __DIR__ . '/../../../config/sets/symfony/symfony7/symfony74/symfony74-routing.php '
137137 ),
138+ new ComposerTriggeredSet (
139+ SetGroup::SYMFONY ,
140+ 'symfony/workflow ' ,
141+ '7.4 ' ,
142+ __DIR__ . '/../../../config/sets/symfony/symfony7/symfony74/symfony74-workflow.php '
143+ ),
138144 ];
139145 }
140146}
You can’t perform that action at this time.
0 commit comments