mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 12:33:49 +00:00
DX: rector apply rules 'symfony up to 4.4
This commit is contained in:
@@ -247,7 +247,7 @@ final class PersonMoveEventSubscriberTest extends KernelTestCase
|
||||
}
|
||||
|
||||
private function buildSubscriber(
|
||||
?EngineInterface $engine = null,
|
||||
?\Twig\Environment $engine = null,
|
||||
?NotificationPersisterInterface $notificationPersister = null,
|
||||
?Security $security = null,
|
||||
?TranslatorInterface $translator = null
|
||||
@@ -264,7 +264,7 @@ final class PersonMoveEventSubscriberTest extends KernelTestCase
|
||||
}
|
||||
|
||||
if (null === $engine) {
|
||||
$double = $this->prophesize(EngineInterface::class);
|
||||
$double = $this->prophesize(\Twig\Environment::class);
|
||||
$engine = $double->reveal();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user