fixes after merge of master into upgrade-sf4

This commit is contained in:
2024-02-12 22:31:16 +01:00
parent 37af488f69
commit f889d67e94
664 changed files with 795 additions and 1980 deletions

View File

@@ -13,6 +13,4 @@ namespace Chill\ReportBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class ChillReportBundle extends Bundle
{
}
class ChillReportBundle extends Bundle {}

View File

@@ -38,8 +38,7 @@ class ReportController extends AbstractController
private readonly PaginatorFactory $paginator,
private readonly TranslatorInterface $translator,
private readonly \Doctrine\Persistence\ManagerRegistry $managerRegistry
) {
}
) {}
/**
* Create a new report for a given person and of a given type.

View File

@@ -46,9 +46,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)
{

View File

@@ -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
{

View File

@@ -44,9 +44,7 @@ final class ReportVoterTest extends KernelTestCase
*/
protected $voter;
public static function setUpBeforeClass(): void
{
}
public static function setUpBeforeClass(): void {}
protected function setUp(): void
{

View File

@@ -25,9 +25,7 @@ use Symfony\Component\Security\Core\Security;
*/
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)
{