DX: apply rector rules up to php8.0

This commit is contained in:
2023-04-15 01:05:37 +02:00
parent d8870e906f
commit dde3002100
714 changed files with 2348 additions and 9263 deletions

View File

@@ -71,10 +71,8 @@ final class PersonApiControllerTest extends WebTestCase
/**
* @dataProvider dataGetPersonFromCenterA
*
* @param mixed $personId
*/
public function testPersonAddressSuggestion($personId): void
public function testPersonAddressSuggestion(mixed $personId): void
{
$client = $this->getClientAuthenticated();
@@ -85,10 +83,8 @@ final class PersonApiControllerTest extends WebTestCase
/**
* @dataProvider dataGetPersonFromCenterB
*
* @param mixed $personId
*/
public function testPersonAddressSuggestionUnauthorized($personId): void
public function testPersonAddressSuggestionUnauthorized(mixed $personId): void
{
$client = $this->getClientAuthenticated();
@@ -100,10 +96,8 @@ final class PersonApiControllerTest extends WebTestCase
/**
* @dataProvider dataGetPersonFromCenterA
*
* @param mixed $personId
*/
public function testPersonGet($personId): void
public function testPersonGet(mixed $personId): void
{
$client = $this->getClientAuthenticated();
@@ -122,10 +116,8 @@ final class PersonApiControllerTest extends WebTestCase
/**
* @dataProvider dataGetPersonFromCenterB
*
* @param mixed $personId
*/
public function testPersonGetUnauthorized($personId): void
public function testPersonGetUnauthorized(mixed $personId): void
{
$client = $this->getClientAuthenticated();