mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 19:43:49 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -28,10 +28,10 @@ use Prophecy\PhpUnit\ProphecyTrait;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
|
||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||
use function array_merge;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
final class PersonDocGenNormalizerTest extends KernelTestCase
|
||||
@@ -237,12 +237,12 @@ final class PersonDocGenNormalizerTest extends KernelTestCase
|
||||
}
|
||||
|
||||
private function buildNormalizer(
|
||||
?PersonRender $personRender = null,
|
||||
?RelationshipRepository $relationshipRepository = null,
|
||||
?TranslatorInterface $translator = null,
|
||||
?TranslatableStringHelper $translatableStringHelper = null,
|
||||
?NormalizerInterface $normalizer = null,
|
||||
?SummaryBudgetInterface $summaryBudget = null
|
||||
PersonRender $personRender = null,
|
||||
RelationshipRepository $relationshipRepository = null,
|
||||
TranslatorInterface $translator = null,
|
||||
TranslatableStringHelper $translatableStringHelper = null,
|
||||
NormalizerInterface $normalizer = null,
|
||||
SummaryBudgetInterface $summaryBudget = null
|
||||
): PersonDocGenNormalizer {
|
||||
if (null === $summaryBudget) {
|
||||
$summaryBudget = $this->prophesize(SummaryBudgetInterface::class);
|
||||
@@ -274,11 +274,11 @@ final class PersonDocGenNormalizerTest extends KernelTestCase
|
||||
}
|
||||
|
||||
private function buildPersonNormalizer(
|
||||
?PersonRender $personRender = null,
|
||||
?RelationshipRepository $relationshipRepository = null,
|
||||
?TranslatorInterface $translator = null,
|
||||
?TranslatableStringHelper $translatableStringHelper = null,
|
||||
?SummaryBudgetInterface $summaryBudget = null
|
||||
PersonRender $personRender = null,
|
||||
RelationshipRepository $relationshipRepository = null,
|
||||
TranslatorInterface $translator = null,
|
||||
TranslatableStringHelper $translatableStringHelper = null,
|
||||
SummaryBudgetInterface $summaryBudget = null
|
||||
): PersonDocGenNormalizer {
|
||||
if (null === $relationshipRepository) {
|
||||
$relationshipRepository = $this->prophesize(RelationshipRepository::class);
|
||||
|
Reference in New Issue
Block a user