chore: remove deprecations

This commit is contained in:
Björn Fromme
2025-07-08 15:06:44 +02:00
parent 8e27cc990b
commit 70e477073b
7 changed files with 123 additions and 26 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ class ContractRendererTest extends WebTestCase
public function testRendersContract(): void
{
$projectDir = static::getContainer()->getParameter('kernel.project_dir');
$translator = $this->createMock(TranslatorInterface::class);
/** @var TranslatorInterface $translator */
$translator = static::getContainer()->get(TranslatorInterface::class);
$renderer = new ContractRenderer($translator, ['project_dir' => $projectDir]);
$address = new Address();