forked from fzaninotto/Faker
-
Notifications
You must be signed in to change notification settings - Fork 425
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
Hungarian name generation is broken, with the message:
Unknown format "lastNameFemaleMarried" In Generator.php line 731
Versions
| Version | |
|---|---|
| PHP | 8.1 |
fakerphp/faker |
1.20 |
Self-enclosed code snippet for reproduction
class UserFixtures extends Fixture
{
protected Generator $faker;
public function __construct()
{
$this->faker = Factory::create('hu_HU');
}
public function load(ObjectManager $manager): void
{
$user = (new User)->setName($this->faker->name());
$manager->persist($user);
$manager->flush();
}
}Expected output
no errorActual output
errorpossibly caused by of #451
cc zsoltjanes as the author of said PR
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working