mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -27,10 +27,8 @@ final class UserApiControllerTest extends WebTestCase
|
||||
|
||||
/**
|
||||
* @depends testIndex
|
||||
*
|
||||
* @param mixed $existingUser
|
||||
*/
|
||||
public function testEntity($existingUser)
|
||||
public function testEntity(mixed $existingUser)
|
||||
{
|
||||
$client = $this->getClientAuthenticated();
|
||||
|
||||
|
@@ -130,10 +130,8 @@ final class UserControllerTest extends WebTestCase
|
||||
|
||||
/**
|
||||
* @dataProvider dataGenerateUserId
|
||||
*
|
||||
* @param mixed $username
|
||||
*/
|
||||
public function testUpdatePassword(int $userId, $username)
|
||||
public function testUpdatePassword(int $userId, mixed $username)
|
||||
{
|
||||
$crawler = $this->client->request('GET', "/fr/admin/user/{$userId}/edit_password");
|
||||
$newPassword = '1234Password!';
|
||||
|
Reference in New Issue
Block a user