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::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 34
Code Lines 21

Duplication

Lines 0
Ratio 0 %

Importance

Changes 5
Bugs 1 Features 2
Metric Value
cc 1
eloc 21
c 5
b 1
f 2
nc 1
nop 0
dl 0
loc 34
rs 9.584
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