Skip to content

Commit 6ac13d6

Browse files
committed
[Symfony74] update WorkflowDumpCommand namespace
1 parent a470609 commit 6ac13d6

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

config/sets/symfony/symfony7/symfony74.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
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
};
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
};

0 commit comments

Comments
 (0)