new cs rule: single_line_empty_body

Rule is added to the last version of php-cs-fixer
This commit is contained in:
2023-09-12 15:58:59 +02:00
parent b9231a91a3
commit d2323e91ca
606 changed files with 639 additions and 1804 deletions

View File

@@ -36,9 +36,7 @@ class AddressRender implements ChillEntityRenderInterface
'extended_infos' => false,
];
public function __construct(private readonly \Twig\Environment $templating, private readonly TranslatableStringHelperInterface $translatableStringHelper)
{
}
public function __construct(private readonly \Twig\Environment $templating, private readonly TranslatableStringHelperInterface $translatableStringHelper) {}
public function renderBox($addr, array $options): string
{

View File

@@ -25,9 +25,7 @@ class CommentRender implements ChillEntityRenderInterface
{
use BoxUtilsChillEntityRenderTrait;
public function __construct(private readonly UserRepositoryInterface $userRepository, private readonly \Twig\Environment $engine)
{
}
public function __construct(private readonly UserRepositoryInterface $userRepository, private readonly \Twig\Environment $engine) {}
public function renderBox($entity, array $options): string
{

View File

@@ -30,9 +30,7 @@ class UserRender implements ChillEntityRenderInterface
'absence' => true,
];
public function __construct(private readonly TranslatableStringHelper $translatableStringHelper, private readonly \Twig\Environment $engine, private readonly TranslatorInterface $translator)
{
}
public function __construct(private readonly TranslatableStringHelper $translatableStringHelper, private readonly \Twig\Environment $engine, private readonly TranslatorInterface $translator) {}
public function renderBox($entity, array $options): string
{