Issue when try to use the create() function in the class_exists, throws an error when the documentation says the the function should not returns error just bool value. #861
Labels
invalid
This doesn't seem right
Summary
I am having an issue when I try to use Faker::create() in a Seeder with Phinx and PHPUnit in a docker container the error occurs in this line the error is the next:
Versions
fakerphp/faker
robmorgan/phinx
Self-enclosed code snippet for reproduction
Expected output
Actual output
I think that is so strange error but we can manage this situation in different ways some that I suggest is to put the logic inside of a try/catch, since this error from POV is not part of the library, like this example.
The text was updated successfully, but these errors were encountered: