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

Test Setup Failed
Pull Request — master (#4161)
by
unknown
15:22
created

MorphableSeeders   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 41
Duplicated Lines 0 %

Importance

Changes 5
Bugs 1 Features 2
Metric Value
eloc 22
c 5
b 1
f 2
dl 0
loc 41
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 34 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 MorphableSeeders extends Seeder
9
{
10
    /**
11
     * Run the database seeds.
12
     *
13
     * @return void
14
     */
15
    public function run()
16
    {
17
        $faker = \Faker\Factory::create();
18
        $now = \Carbon\Carbon::now();
19
20
        DB::table('recommends')->insert([[
21
            'title' => $faker->title,
22
            'created_at'     => $now,
23
            'updated_at'     => $now,
24
        ], [
25
            'title' => $faker->title,
26
            'created_at'     => $now,
27
            'updated_at'     => $now,
28
        ]]);
29
30
        DB::table('bills')->insert([[
31
            'title' => $faker->title,
32
            'created_at'     => $now,
33
            'updated_at'     => $now,
34
        ], [
35
            'title' => $faker->title,
36
            'created_at'     => $now,
37
            'updated_at'     => $now,
38
        ]]);
39
40
        DB::table('planets')->insert([[
41
            'title' => $faker->title,
42
        ], [
43
            'title' => $faker->title,
44
        ]]);
45
46
        DB::table('comets')->insert([['user_id' => ''], ['user_id' => '']]);
47
48
        DB::table('bangs')->insert([['name' => 'bang1'], ['name' => 'bang2']]);
49
    }
50
}
51