Closed ashraf789 closed 1 year ago
nice @ashraf789 ! Haven't touched it for a while now and yes it is a big help to fix those namespace! Thanks!
Hi, @jsdecena this pull request is waiting for your merge :)
Hi, @jsdecena this pull request is waiting for your merge :)
sorry, just waited for the unit tests to finish. all good now 👍🏽
Hi, @jsdecena First of all thanks for the nice project. I found some issues when running in my local related to db:seed which I have fixed and I hope this will make it easier for others.
Here are the details of my change
to fix it I updated the composer.json from
to
I have renamed the seeds directory to seeders, added the namespace to each class
namespace Database\Seeders;
and updated composer.json autoload-devfzaninotto/faker
is deprecated a long ago and some function doesn't work like$faker->paragraph
in database/factories/CategoryModelFactory.phpi have changed
fzaninotto/faker": "~1.4
tofakerphp/faker": "^1.21
Thanks Ashraf