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 (#218)
by
unknown
07:17
created

PostalBoxer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 7
dl 0
loc 33
rs 10
c 1
b 0
f 1
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A monster() 0 3 1
1
<?php
2
3
namespace App\Models;
4
5
use Backpack\CRUD\app\Models\Traits\CrudTrait;
6
use Illuminate\Database\Eloquent\Model;
7
8
class PostalBoxer extends Model
9
{
10
    use CrudTrait;
0 ignored issues
show
introduced by
The trait Backpack\CRUD\app\Models\Traits\CrudTrait requires some properties which are not provided by App\Models\PostalBoxer: $fakeColumns, $identifiableAttribute, $Type
Loading history...
11
12
    /*
13
    |--------------------------------------------------------------------------
14
    | GLOBAL VARIABLES
15
    |--------------------------------------------------------------------------
16
    */
17
18
    protected $table = 'postalboxers';
19
    protected $primaryKey = 'id';
20
    public $timestamps = false;
21
    protected $fillable = ['monster_id', 'postal_name'];
22
23
    // protected $hidden = [];
24
    // protected $dates = [];
25
26
    /*
27
    |--------------------------------------------------------------------------
28
    | FUNCTIONS
29
    |--------------------------------------------------------------------------
30
    */
31
32
    /*
33
    |--------------------------------------------------------------------------
34
    | RELATIONS
35
    |--------------------------------------------------------------------------
36
    */
37
38
    public function monster()
39
    {
40
        return $this->belongsTo(\App\Models\Monster::class, 'monster_id');
41
    }
42
43
    /*
44
    |--------------------------------------------------------------------------
45
    | SCOPES
46
    |--------------------------------------------------------------------------
47
    */
48
49
    /*
50
    |--------------------------------------------------------------------------
51
    | ACCESORS
52
    |--------------------------------------------------------------------------
53
    */
54
55
    /*
56
    |--------------------------------------------------------------------------
57
    | MUTATORS
58
    |--------------------------------------------------------------------------
59
    */
60
}
61