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

CountryFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A fields() 0 7 1
1
<?php
2
3
namespace GiveBlood\Modules\Users;
4
5
use GiveBlood\Modules\Users\Country;
6
use GiveBlood\Support\Database\ModelFactory;
7
8
/*
9
|--------------------------------------------------------------------------
10
| User Model Factory
11
|--------------------------------------------------------------------------
12
|
13
| This directory should contain each of the model factory definitions for
14
| your application. Factories provide a convenient way to generate new
15
| model instances for testing / seeding your application's database.
16
|
17
*/
18
class CountryFactory extends ModelFactory
19
{
20
    protected $model = Country::class;
21
22
    protected function fields()
23
    {
24
        return [
25
        'id' => $this->faker->uuid,
26
        'country_name' => $this->faker->country
27
        ];
28
    }
29
}
30