mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
php cs fixes after updating php cs fixer
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
@@ -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());
|
||||
}
|
||||
}
|
||||
|
@@ -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'
|
||||
);
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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());
|
||||
}
|
||||
|
||||
|
@@ -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());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user