Showing 2 of 4 total issues
SeedMake
has 22 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SeedMake extends Command
{
use CapableOfRunningSeeds;
protected $signature = "seed:make {name : The name of the seeder. Can have sub folders in the name.} {--f|force : Will erase any existing file.} {--m|model= : The model into which to seed data.}";
Method handle
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
$this->batchNumber = Seeder::getNextBatchNumber();
$seedFileNames = $this->getSeedFiles();