mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -197,24 +197,12 @@ final class PersonControllerUpdateWithHiddenFieldsTest extends WebTestCase
|
||||
public function validTextFieldsProvider()
|
||||
{
|
||||
return [
|
||||
['firstName', 'random Value', static function (Person $person) {
|
||||
return $person->getFirstName();
|
||||
}],
|
||||
['lastName', 'random Value', static function (Person $person) {
|
||||
return $person->getLastName();
|
||||
}],
|
||||
['birthdate', '15-12-1980', static function (Person $person) {
|
||||
return $person->getBirthdate()->format('d-m-Y');
|
||||
}],
|
||||
['memo', 'jfkdlmq jkfldmsq jkmfdsq', static function (Person $person) {
|
||||
return $person->getMemo();
|
||||
}],
|
||||
['birthdate', '', static function (Person $person) {
|
||||
return $person->getBirthdate();
|
||||
}],
|
||||
['gender', Person::FEMALE_GENDER, static function (Person $person) {
|
||||
return $person->getGender();
|
||||
}],
|
||||
['firstName', 'random Value', static fn(Person $person) => $person->getFirstName()],
|
||||
['lastName', 'random Value', static fn(Person $person) => $person->getLastName()],
|
||||
['birthdate', '15-12-1980', static fn(Person $person) => $person->getBirthdate()->format('d-m-Y')],
|
||||
['memo', 'jfkdlmq jkfldmsq jkmfdsq', static fn(Person $person) => $person->getMemo()],
|
||||
['birthdate', '', static fn(Person $person) => $person->getBirthdate()],
|
||||
['gender', Person::FEMALE_GENDER, static fn(Person $person) => $person->getGender()],
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user