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

@@ -19,9 +19,7 @@ use Symfony\Component\Security\Core\Security;
final class PrivateCommentDataMapper extends AbstractType implements DataMapperInterface
{
public function __construct(private readonly Security $security)
{
}
public function __construct(private readonly Security $security) {}
public function mapDataToForms($viewData, $forms)
{

View File

@@ -16,9 +16,7 @@ use Symfony\Component\Form\DataMapperInterface;
class ScopePickerDataMapper implements DataMapperInterface
{
public function __construct(private readonly ?Scope $scope = null)
{
}
public function __construct(private readonly ?Scope $scope = null) {}
public function mapDataToForms($data, $forms)
{