Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Passed
Pull Request — master (#3476)
by Cristian
15:13
created

UsersRolesTableSeeder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 9 1
1
<?php
2
3
namespace Backpack\CRUD\Tests\Config\Database\Seeds;
4
5
use Illuminate\Database\Seeder;
6
use Illuminate\Support\Facades\DB;
7
8
class UsersRolesTableSeeder extends Seeder
9
{
10
    /**
11
     * Run the database seeds.
12
     *
13
     * @return void
14
     */
15
    public function run()
16
    {
17
        DB::table('roles')->insert([
18
            [
19
                'id'   => 1,
20
                'name' => 'admin',
21
            ], [
22
                'id'   => 2,
23
                'name' => 'user',
24
            ],
25
        ]);
26
    }
27
}
28