Open ScottA38 opened 4 years ago
To anyone who encounters this, this is a doctrine version issue (maybe it will be patched in a future minor release, I don't know).
The specific minimum version of doctrine/orm that seems to be compatible with Faker at the time of writing is 2.7.2
, 2.7.3
will break it as shown in the original error report.
So constrain your composer version as so:
"require": {
"doctrine/orm": "2.7.2"
},
Summary
Cannot use Doctrine EntityManager with ORM EntityManager
Versions
fzaninotto/faker
Self-enclosed code snippet for reproduction
Expected output
records display
Actual output