FakerPHP / Faker

Faker is a PHP library that generates fake data for you
https://fakerphp.github.io
Other
3.47k stars 330 forks source link

`gmail.com.au` domain causes email validation to fail #886

Open da-mask opened 1 month ago

da-mask commented 1 month ago

Summary

en_AU Internet provider includes a freeEmailDomain of gmail.com.au which does not exist and causes validation errors when validated against dns.

Versions

Version
PHP 8.2
fakerphp/faker 1.21

Self-enclosed code snippet for reproduction

 livewire()->set('form.email', fake()->freeEmail())

Expected output

no error

Actual output

Error: The email must be a valid email address.