Completed
Pull Request — master (#10)
by alexfloppy
07:51
created

DatabaseSeeder::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
use Illuminate\Database\Seeder;
4
use App\Seeds\RolesTableSeeder;
5
use App\Seeds\UsersTableSeeder;
6
use App\Seeds\UsersRolesTableSeeder;
7
8
class DatabaseSeeder extends Seeder
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
9
{
10
    /**
11
     * Run the database seeds.
12
     *
13
     * @return void
14
     */
15
    public function run()
16
    {
17
         $this->call(RolesTableSeeder::class);
18
         $this->call(UsersTableSeeder::class);
19
         $this->call(UsersRolesTableSeeder::class);
20
    }
21
}
22