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

@@ -23,9 +23,7 @@ class AccompanyingPeriodCommentVoter extends Voter
final public const EDIT = 'CHILL_PERSON_ACCOMPANYING_PERIOD_COMMENT_EDIT';
public function __construct(private readonly Security $security)
{
}
public function __construct(private readonly Security $security) {}
protected function supports($attribute, $subject)
{

View File

@@ -21,9 +21,7 @@ class AccompanyingPeriodResourceVoter extends Voter
{
final public const EDIT = 'CHILL_PERSON_ACCOMPANYING_PERIOD_RESOURCE_EDIT';
public function __construct(private readonly AccessDecisionManagerInterface $accessDecisionManager)
{
}
public function __construct(private readonly AccessDecisionManagerInterface $accessDecisionManager) {}
protected function supports($attribute, $subject)
{

View File

@@ -26,9 +26,7 @@ class AccompanyingPeriodWorkEvaluationDocumentVoter extends Voter
{
final public const SEE = 'CHILL_MAIN_ACCOMPANYING_PERIOD_WORK_EVALUATION_DOCUMENT_SHOW';
public function __construct(private readonly AccessDecisionManagerInterface $accessDecisionManager)
{
}
public function __construct(private readonly AccessDecisionManagerInterface $accessDecisionManager) {}
protected function supports($attribute, $subject)
{

View File

@@ -30,9 +30,7 @@ class AccompanyingPeriodWorkEvaluationVoter extends Voter implements ChillVoterI
final public const STATS = 'CHILL_MAIN_ACCOMPANYING_PERIOD_WORK_EVALUATION_STATS';
public function __construct(private readonly Security $security)
{
}
public function __construct(private readonly Security $security) {}
protected function supports($attribute, $subject)
{