mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-25 00:53:48 +00:00
new cs rule: single_line_empty_body
Rule is added to the last version of php-cs-fixer
This commit is contained in:
@@ -13,6 +13,4 @@ namespace Chill\ReportBundle;
|
||||
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
|
||||
class ChillReportBundle extends Bundle
|
||||
{
|
||||
}
|
||||
class ChillReportBundle extends Bundle {}
|
||||
|
@@ -60,9 +60,7 @@ class ReportList implements ExportElementValidatedInterface, ListInterface
|
||||
|
||||
protected array $slugs = [];
|
||||
|
||||
public function __construct(protected CustomFieldsGroup $customfieldsGroup, protected TranslatableStringHelper $translatableStringHelper, protected TranslatorInterface $translator, protected CustomFieldProvider $customFieldProvider, protected EntityManagerInterface $em)
|
||||
{
|
||||
}
|
||||
public function __construct(protected CustomFieldsGroup $customfieldsGroup, protected TranslatableStringHelper $translatableStringHelper, protected TranslatorInterface $translator, protected CustomFieldProvider $customFieldProvider, protected EntityManagerInterface $em) {}
|
||||
|
||||
public function buildForm(FormBuilderInterface $builder)
|
||||
{
|
||||
|
@@ -19,9 +19,7 @@ use Doctrine\ORM\Query\Expr;
|
||||
|
||||
class ReportDateFilter implements FilterInterface
|
||||
{
|
||||
public function __construct(private readonly RollingDateConverterInterface $rollingDateConverter)
|
||||
{
|
||||
}
|
||||
public function __construct(private readonly RollingDateConverterInterface $rollingDateConverter) {}
|
||||
|
||||
public function addRole(): ?string
|
||||
{
|
||||
|
@@ -43,9 +43,7 @@ final class ReportVoterTest extends KernelTestCase
|
||||
*/
|
||||
protected $voter;
|
||||
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
}
|
||||
public static function setUpBeforeClass(): void {}
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
@@ -35,9 +35,7 @@ use function strtr;
|
||||
*/
|
||||
class TimelineReportProvider implements TimelineProviderInterface
|
||||
{
|
||||
public function __construct(protected EntityManager $em, protected AuthorizationHelper $helper, private readonly Security $security, protected CustomFieldsHelper $customFieldsHelper, protected $showEmptyValues)
|
||||
{
|
||||
}
|
||||
public function __construct(protected EntityManager $em, protected AuthorizationHelper $helper, private readonly Security $security, protected CustomFieldsHelper $customFieldsHelper, protected $showEmptyValues) {}
|
||||
|
||||
public function fetchQuery($context, array $args)
|
||||
{
|
||||
|
Reference in New Issue
Block a user