mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
apply rector rules
This commit is contained in:
@@ -33,22 +33,16 @@ final class PersonControllerUpdateTest extends WebTestCase
|
||||
/**
|
||||
* @var string The url using for editing the person's information
|
||||
*/
|
||||
private $editUrl;
|
||||
private string $editUrl;
|
||||
|
||||
/**
|
||||
* @var \Doctrine\ORM\EntityManagerInterface The entity manager
|
||||
*/
|
||||
private $em;
|
||||
private ?object $em = null;
|
||||
|
||||
/**
|
||||
* @var Person The person on which the test is executed
|
||||
*/
|
||||
private $person;
|
||||
private ?\Chill\PersonBundle\Entity\Person $person = null;
|
||||
|
||||
/**
|
||||
* @var string The url using for seeing the person's information
|
||||
*/
|
||||
private $viewUrl;
|
||||
private string $viewUrl;
|
||||
|
||||
/**
|
||||
* Prepare client and create a random person.
|
||||
|
@@ -30,22 +30,16 @@ final class PersonControllerUpdateWithHiddenFieldsTest extends WebTestCase
|
||||
/**
|
||||
* @var string The url using for editing the person's information
|
||||
*/
|
||||
private $editUrl;
|
||||
private string $editUrl;
|
||||
|
||||
/**
|
||||
* @var \Doctrine\ORM\EntityManagerInterface The entity manager
|
||||
*/
|
||||
private $em;
|
||||
private ?object $em = null;
|
||||
|
||||
/**
|
||||
* @var Person The person on which the test is executed
|
||||
*/
|
||||
private $person;
|
||||
private ?\Chill\PersonBundle\Entity\Person $person = null;
|
||||
|
||||
/**
|
||||
* @var string The url using for seeing the person's information
|
||||
*/
|
||||
private $viewUrl;
|
||||
private string $viewUrl;
|
||||
|
||||
/**
|
||||
* Prepare client and create a random person.
|
||||
|
@@ -20,20 +20,14 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
*/
|
||||
final class PersonControllerViewTest extends WebTestCase
|
||||
{
|
||||
/**
|
||||
* @var \Doctrine\ORM\EntityManagerInterface The entity manager
|
||||
*/
|
||||
private $em;
|
||||
private ?object $em = null;
|
||||
|
||||
/**
|
||||
* @var Person A person used on which to run the test
|
||||
*/
|
||||
private $person;
|
||||
private ?\Chill\PersonBundle\Entity\Person $person = null;
|
||||
|
||||
/**
|
||||
* @var string The url to view the person details
|
||||
*/
|
||||
private $viewUrl;
|
||||
private string $viewUrl;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
@@ -20,20 +20,14 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
*/
|
||||
final class PersonControllerViewWithHiddenFieldsTest extends WebTestCase
|
||||
{
|
||||
/**
|
||||
* @var \Doctrine\ORM\EntityManagerInterface The entity manager
|
||||
*/
|
||||
private $em;
|
||||
private ?object $em = null;
|
||||
|
||||
/**
|
||||
* @var Person A person used on which to run the test
|
||||
*/
|
||||
private $person;
|
||||
private ?\Chill\PersonBundle\Entity\Person $person = null;
|
||||
|
||||
/**
|
||||
* @var string The url to view the person details
|
||||
*/
|
||||
private $viewUrl;
|
||||
private string $viewUrl;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
Reference in New Issue
Block a user