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

@@ -532,17 +532,14 @@ class DummyFilterWithApplying implements FilterInterface
public function __construct(
private readonly ?string $role,
private readonly string $applyOn
) {
}
) {}
public function getTitle()
{
return 'dummy';
}
public function buildForm(FormBuilderInterface $builder)
{
}
public function buildForm(FormBuilderInterface $builder) {}
public function getFormDefaultData(): array
{
@@ -559,9 +556,7 @@ class DummyFilterWithApplying implements FilterInterface
return $this->role;
}
public function alterQuery(QueryBuilder $qb, $data)
{
}
public function alterQuery(QueryBuilder $qb, $data) {}
public function applyOn()
{
@@ -577,17 +572,14 @@ class DummyExport implements ExportInterface
* @var array<string>
*/
private readonly array $supportedModifiers,
) {
}
) {}
public function getTitle()
{
return 'dummy';
}
public function buildForm(FormBuilderInterface $builder)
{
}
public function buildForm(FormBuilderInterface $builder) {}
public function getFormDefaultData(): array
{

View File

@@ -117,13 +117,9 @@ class SortExportElementTest extends KernelTestCase
private function makeAggregator(string $title): AggregatorInterface
{
return new class ($title) implements AggregatorInterface {
public function __construct(private readonly string $title)
{
}
public function __construct(private readonly string $title) {}
public function buildForm(FormBuilderInterface $builder)
{
}
public function buildForm(FormBuilderInterface $builder) {}
public function getFormDefaultData(): array
{
@@ -150,9 +146,7 @@ class SortExportElementTest extends KernelTestCase
return null;
}
public function alterQuery(QueryBuilder $qb, $data)
{
}
public function alterQuery(QueryBuilder $qb, $data) {}
public function applyOn()
{
@@ -164,18 +158,14 @@ class SortExportElementTest extends KernelTestCase
private function makeFilter(string $title): FilterInterface
{
return new class ($title) implements FilterInterface {
public function __construct(private readonly string $title)
{
}
public function __construct(private readonly string $title) {}
public function getTitle()
{
return $this->title;
}
public function buildForm(FormBuilderInterface $builder)
{
}
public function buildForm(FormBuilderInterface $builder) {}
public function getFormDefaultData(): array
{
@@ -192,9 +182,7 @@ class SortExportElementTest extends KernelTestCase
return null;
}
public function alterQuery(QueryBuilder $qb, $data)
{
}
public function alterQuery(QueryBuilder $qb, $data) {}
public function applyOn()
{