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

Icon::recommends()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace App\Models;
4
5
use Backpack\CRUD\app\Models\Traits\CrudTrait;
6
use Illuminate\Database\Eloquent\Model;
7
use Venturecraft\Revisionable\RevisionableTrait;
8
9
class Icon extends Model
10
{
11
    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\Icon: $fakeColumns, $identifiableAttribute, $Type
Loading history...
12
    use RevisionableTrait;
0 ignored issues
show
introduced by
The trait Venturecraft\Revisionable\RevisionableTrait requires some properties which are not provided by App\Models\Icon: $revisionNullString, $revisionEnabled, $revisionCleanup, $revisionFormattedFields, $keepRevisionOf, $forceDeleting, $revisionUnknownString, $revisionFormattedFieldNames, $historyLimit, $revisionCreationsEnabled, $softDelete
Loading history...
13
14
    /*
15
    |--------------------------------------------------------------------------
16
    | GLOBAL VARIABLES
17
    |--------------------------------------------------------------------------
18
    */
19
20
    protected $table = 'icons';
21
    protected $primaryKey = 'id';
22
    public $timestamps = true;
23
    // protected $guarded = ['id'];
24
    protected $fillable = ['name', 'icon'];
25
    // protected $hidden = [];
26
    // protected $dates = [];
27
28
    public function identifiableName()
29
    {
30
        return 'icon';
31
    }
32
33
    /*
34
    |--------------------------------------------------------------------------
35
    | FUNCTIONS
36
    |--------------------------------------------------------------------------
37
    */
38
39
    /*
40
    |--------------------------------------------------------------------------
41
    | RELATIONS
42
    |--------------------------------------------------------------------------
43
    */
44
45
    public function recommends()
46
    {
47
        return $this->morphToMany(\App\Models\Recommend::class, 'recommendable');
48
    }
49
50
    /*
51
    |--------------------------------------------------------------------------
52
    | SCOPES
53
    |--------------------------------------------------------------------------
54
    */
55
56
    /*
57
    |--------------------------------------------------------------------------
58
    | ACCESORS
59
    |--------------------------------------------------------------------------
60
    */
61
62
    /*
63
    |--------------------------------------------------------------------------
64
    | MUTATORS
65
    |--------------------------------------------------------------------------
66
    */
67
}
68