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

@@ -40,8 +40,7 @@ class DocumentAccompanyingCourseController extends AbstractController
protected TranslatorInterface $translator,
protected EventDispatcherInterface $eventDispatcher,
protected AuthorizationHelper $authorizationHelper
) {
}
) {}
/**
* @Route("/{id}/delete", name="chill_docstore_accompanying_course_document_delete")

View File

@@ -46,8 +46,7 @@ class DocumentPersonController extends AbstractController
protected TranslatorInterface $translator,
protected EventDispatcherInterface $eventDispatcher,
protected AuthorizationHelper $authorizationHelper
) {
}
) {}
/**
* @Route("/{id}/delete", name="chill_docstore_person_document_delete")

View File

@@ -31,8 +31,7 @@ final readonly class GenericDocForAccompanyingPeriodController
private PaginatorFactory $paginator,
private Security $security,
private \Twig\Environment $twig,
) {
}
) {}
/**
* @throws \Doctrine\DBAL\Exception

View File

@@ -30,8 +30,7 @@ final readonly class GenericDocForPerson
private PaginatorFactory $paginator,
private Security $security,
private \Twig\Environment $twig,
) {
}
) {}
/**
* @throws \Doctrine\DBAL\Exception

View File

@@ -20,9 +20,7 @@ use Symfony\Component\Security\Core\Security;
class StoredObjectApiController
{
public function __construct(private readonly Security $security)
{
}
public function __construct(private readonly Security $security) {}
/**
* @Route("/api/1.0/doc-store/stored-object/{uuid}/is-ready")