update php-cs-fixer and rector + fix rules

This commit is contained in:
2024-01-09 13:50:45 +01:00
parent a63b40fb6c
commit 825cd127d1
79 changed files with 220 additions and 229 deletions

View File

@@ -43,7 +43,7 @@ final class ReportControllerNextTest extends WebTestCase
->get('doctrine.orm.entity_manager');
$this->person = $em
->getRepository(\Chill\PersonBundle\Entity\Person::class)
->getRepository(Person::class)
->findOneBy(
[
'lastName' => 'Charline',
@@ -58,7 +58,7 @@ final class ReportControllerNextTest extends WebTestCase
// get custom fields group from fixture
$customFieldsGroups = self::$kernel->getContainer()
->get('doctrine.orm.entity_manager')
->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)
->getRepository(CustomFieldsGroup::class)
->findBy(['entity' => \Chill\ReportBundle\Entity\Report::class]);
// filter customFieldsGroup to get only "situation de logement"
$filteredCustomFieldsGroupHouse = array_filter(