Skip to content

Commit 0e52ac2

Browse files
committed
register EventDispatcherParentConstructRector
1 parent 1911d6d commit 0e52ac2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/sets/symfony/symfony4/symfony43/symfony43-event-dispatcher.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Rector\Config\RectorConfig;
66
use Rector\Renaming\Rector\Name\RenameClassRector;
7+
use Rector\Symfony\Symfony43\Rector\ClassMethod\EventDispatcherParentConstructRector;
78
use Rector\Symfony\Symfony43\Rector\MethodCall\MakeDispatchFirstArgumentEventRector;
89

910
return static function (RectorConfig $rectorConfig): void {
@@ -14,5 +15,6 @@
1415

1516
$rectorConfig->rules([
1617
MakeDispatchFirstArgumentEventRector::class,
18+
EventDispatcherParentConstructRector::class,
1719
]);
1820
};

0 commit comments

Comments
 (0)