DX: rector apply rules 'symfony up to 4.4

This commit is contained in:
2023-05-05 18:21:09 +02:00
parent f04ef9c931
commit efaa01f4f6
45 changed files with 75 additions and 74 deletions

View File

@@ -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();
}