php cs fixes after updating php cs fixer

This commit is contained in:
2024-01-10 10:31:25 +01:00
parent 60ede58af0
commit 3c8e59e088
682 changed files with 2097 additions and 882 deletions

View File

@@ -121,7 +121,9 @@ final class AccompanyingPeriodSocialIssueConsistencyEntityListenerTest extends T
protected function generateClass(AccompanyingPeriod $period, Collection $socialIssues): AccompanyingPeriodLinkedWithSocialIssuesEntityInterface
{
return new class ($period, $socialIssues) implements AccompanyingPeriodLinkedWithSocialIssuesEntityInterface {
public function __construct(public $period, public $socialIssues) {}
public function __construct(public $period, public $socialIssues)
{
}
public function getAccompanyingPeriod(): AccompanyingPeriod
{

View File

@@ -196,7 +196,7 @@ final class PersonAddressControllerTest extends WebTestCase
*/
protected function refreshPerson()
{
self::$person = $this->em->getRepository(\Chill\PersonBundle\Entity\Person::class)
self::$person = $this->em->getRepository(Person::class)
->find(self::$person->getId());
}
}

View File

@@ -89,7 +89,7 @@ final class PersonControllerCreateTest extends WebTestCase
$form = $crawler->selectButton("Créer l'usager")->form();
$this->assertInstanceOf(
\Symfony\Component\DomCrawler\Form::class,
Form::class,
$form,
'The page contains a button'
);

View File

@@ -43,7 +43,9 @@ final class PersonControllerUpdateTest extends WebTestCase
/**
* Prepare client and create a random person.
*/
protected function setUp(): void {}
protected function setUp(): void
{
}
protected function tearDown(): void
{

View File

@@ -205,7 +205,7 @@ final class PersonControllerUpdateWithHiddenFieldsTest extends WebTestCase
*/
protected function refreshPerson()
{
$this->person = $this->em->getRepository(\Chill\PersonBundle\Entity\Person::class)
$this->person = $this->em->getRepository(Person::class)
->find($this->person->getId());
}

View File

@@ -98,7 +98,7 @@ final class PersonControllerViewWithHiddenFieldsTest extends WebTestCase
*/
protected function refreshPerson()
{
$this->person = $this->em->getRepository(\Chill\PersonBundle\Entity\Person::class)
$this->person = $this->em->getRepository(Person::class)
->find($this->person->getId());
}
}