apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -16,6 +16,7 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
/**
* @internal
*
* @coversNothing
*/
final class PersonControllerViewWithHiddenFieldsTest extends WebTestCase
@@ -31,26 +32,26 @@ final class PersonControllerViewWithHiddenFieldsTest extends WebTestCase
protected function setUp(): void
{
/**
self::bootKernel(['environment' => 'test_with_hidden_fields']);
$this->em = self::$kernel->getContainer()
->get('doctrine.orm.entity_manager');
$center = $this->em->getRepository(\Chill\MainBundle\Entity\Center::class)
->findOneBy(['name' => 'Center A']);
$this->person = (new Person())
->setLastName('Tested Person')
->setFirstName('Réginald')
->setCenter($center)
->setGender(Person::MALE_GENDER);
$this->em->persist($this->person);
$this->em->flush();
$this->viewUrl = '/en/person/' . $this->person->getId() . '/general';
*/
/*
* self::bootKernel(['environment' => 'test_with_hidden_fields']);
*
* $this->em = self::$kernel->getContainer()
* ->get('doctrine.orm.entity_manager');
*
* $center = $this->em->getRepository(\Chill\MainBundle\Entity\Center::class)
* ->findOneBy(['name' => 'Center A']);
*
* $this->person = (new Person())
* ->setLastName('Tested Person')
* ->setFirstName('Réginald')
* ->setCenter($center)
* ->setGender(Person::MALE_GENDER);
*
* $this->em->persist($this->person);
* $this->em->flush();
*
* $this->viewUrl = '/en/person/' . $this->person->getId() . '/general';
*/
}
protected function tearDown(): void