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 (#4002)
by
unknown
24:42 queued 09:36
created

MorphableSeeders::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 23
Code Lines 16

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 1
Metric Value
cc 1
eloc 16
c 2
b 1
f 1
nc 1
nop 0
dl 0
loc 23
rs 9.7333
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
}
41