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

BankFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

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