add missing arguments to method alterQuery (wip)

This commit is contained in:
2025-02-24 16:49:15 +01:00
parent 791f5bb4be
commit 1751c65731
211 changed files with 235 additions and 223 deletions

View File

@@ -47,7 +47,7 @@ class ExportGeneration implements TrackCreationInterface
private string $exportAlias,
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON, nullable: false, options: ['default' => '[]'])]
private array $options = [],
#[ORM\Column(type: 'datetime_immutable', nullable: true)]
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::DATETIME_IMMUTABLE, nullable: true)]
private ?\DateTimeImmutable $deleteAt = null,
) {
$this->id = Uuid::uuid4();

View File

@@ -556,7 +556,7 @@ class DummyFilterWithApplying implements FilterInterface
return $this->role;
}
public function alterQuery(QueryBuilder $qb, $data) {}
public function alterQuery(QueryBuilder $qb, $data, \Chill\MainBundle\Export\ExportGenerationContext $exportGenerationContext) {}
public function applyOn()
{
@@ -606,7 +606,7 @@ class DummyExport implements ExportInterface
return [];
}
public function getResult($query, $data)
public function getResult($query, $data, \Chill\MainBundle\Export\ExportGenerationContext $context)
{
return [];
}

View File

@@ -146,7 +146,7 @@ class SortExportElementTest extends KernelTestCase
return null;
}
public function alterQuery(QueryBuilder $qb, $data) {}
public function alterQuery(QueryBuilder $qb, $data, \Chill\MainBundle\Export\ExportGenerationContext $exportGenerationContext) {}
public function applyOn()
{
@@ -182,7 +182,7 @@ class SortExportElementTest extends KernelTestCase
return null;
}
public function alterQuery(QueryBuilder $qb, $data) {}
public function alterQuery(QueryBuilder $qb, $data, \Chill\MainBundle\Export\ExportGenerationContext $exportGenerationContext) {}
public function applyOn()
{