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   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 3
dl 0
loc 18
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 12 1
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