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 — development (#68)
by José
06:06
created

UsersSeeder::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 12
rs 9.8666
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace GiveBlood\Modules\Users\Database\Seeders;
4
5
use Illuminate\Database\Seeder;
6
use  GiveBlood\Modules\Users\User;
7
use  GiveBlood\Modules\Blood\BloodType;
8
9
class UsersSeeder extends Seeder
10
{
11
    /**
12
     * Run the database seeds.
13
     */
14
    public function run()
15
    {
16
        factory(User::class, 20)->create(
17
            [
18
            'password' => bcrypt('secret'),
19
            'blood_type_id' => factory(BloodType::class)->make()->id
20
            ]
21
        );
22
23
        $this->command->info('Users created sucessfully!');
24
25
    }
26
}
27