remove some deprecations

This commit is contained in:
2023-12-13 16:06:44 +01:00
parent 47c3be6217
commit 912f7d3211
7 changed files with 11 additions and 9 deletions

View File

@@ -112,7 +112,7 @@ final class PersonControllerUpdateTest extends WebTestCase
/**
* Test the edit page are accessible.
*
* @dataProvider providePerson *
* @dataProvider providePerson
*/
public function testEditPageIsSuccessful(int $personId)
{

View File

@@ -50,7 +50,7 @@ final class RelationshipApiControllerTest extends WebTestCase
->join('p.centerCurrent', 'center_current')
->join('center_current.center', 'c')
->where('c.name LIKE :name')
->andWhere('EXISTS (SELECT 1 FROM ' . Relationship::class . ' r WHERE r.fromPerson = p OR r.toPerson = p)')
->andWhere('EXISTS (SELECT 1 FROM '.Relationship::class.' r WHERE r.fromPerson = p OR r.toPerson = p)')
->setParameter('name', 'Center A')
->getQuery()
->setMaxResults(1)
@@ -62,7 +62,7 @@ final class RelationshipApiControllerTest extends WebTestCase
->join('p.centerCurrent', 'center_current')
->join('center_current.center', 'c')
->where('c.name LIKE :name')
->andWhere('NOT EXISTS (SELECT 1 FROM ' . Relationship::class . ' r WHERE r.fromPerson = p OR r.toPerson = p)')
->andWhere('NOT EXISTS (SELECT 1 FROM '.Relationship::class.' r WHERE r.fromPerson = p OR r.toPerson = p)')
->setParameter('name', 'Center A')
->getQuery()
->setMaxResults(1)
@@ -85,7 +85,7 @@ final class RelationshipApiControllerTest extends WebTestCase
->join('p.centerCurrent', 'center_current')
->join('center_current.center', 'c')
->where('c.name LIKE :name')
->andWhere('NOT EXISTS (SELECT 1 FROM ' . Relationship::class . ' r WHERE r.fromPerson = p OR r.toPerson = p)')
->andWhere('NOT EXISTS (SELECT 1 FROM '.Relationship::class.' r WHERE r.fromPerson = p OR r.toPerson = p)')
->setParameter('name', 'Center A')
->getQuery()
->setMaxResults(2)

View File

@@ -38,7 +38,9 @@ class AvgDurationAPWorkPersonAssociatedOnAccompanyingPeriodTest extends Abstract
public function getFormData()
{
return [];
return [
[],
];
}
public function getModifiersCombination()