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

Star   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 8
dl 0
loc 23
rs 10
c 1
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A identifiableAttribute() 0 3 1
A starable() 0 3 1
1
<?php
2
3
namespace Backpack\CRUD\Tests\Config\Models;
4
5
use Backpack\CRUD\app\Models\Traits\CrudTrait;
6
use Illuminate\Database\Eloquent\Model;
7
8
class Star 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 Backpack\CRUD\Tests\Config\Models\Star: $identifiableAttribute, $Type, $fakeColumns
Loading history...
11
12
    /*
13
    |--------------------------------------------------------------------------
14
    | GLOBAL VARIABLES
15
    |--------------------------------------------------------------------------
16
    */
17
18
    protected $table = 'stars';
19
    protected $primaryKey = 'id';
20
    public $timestamps = false;
21
    protected $fillable = ['title'];
22
23
    public function starable()
24
    {
25
        return $this->morphTo();
26
    }
27
28
    public function identifiableAttribute()
29
    {
30
        return 'title';
31
    }
32
}
33