BUG laravel-8-factories
Lukasz93P opened this issue · comments
Łukasz Franikowski commented
Package version: 1.7.1
Laravel version: 8.3.0
Factories for doctrine entities works with Laravel 8, along with factories for eloquent models.
Actual behaviour
Factories are not working.
Steps to reproduce the behaviour
Very simple, just create one factory for Eloquent model and one for doctrine entity. Doctrine Factory will try to redeclare class declared inside Eloquent factory.
I know exactly how to fix this problem, it requires only few lines of code inside one class, so I can help with that but I want to know if You agree with me?
Łukasz Franikowski commented
I have found a solution that does not require changes in the package code.