database/seeds/CountriesTableSeeder.php
Method run
has 260 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function run()
{
$countries = [
['id' => '1', 'name' => 'Italy', 'continent_id' => '6', 'code' => 'IT'],
['id' => '2', 'name' => 'United States', 'continent_id' => '3', 'code' => 'US'],
File CountriesTableSeeder.php
has 269 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;