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

TestModel::buttonModelFunction()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 1
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 1
f 1
1
<?php
2
3
namespace Backpack\CRUD\Tests\Config\Models;
4
5
use Backpack\CRUD\app\Models\Traits\CrudTrait;
6
7
class TestModel extends \Illuminate\Database\Eloquent\Model
8
{
9
    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\TestModel: $identifiableAttribute, $Type, $fakeColumns
Loading history...
10
11
    protected $casts = [
12
        'arrayCast' => 'array',
13
        'jsonCast' => 'json',
14
        'dateCast' => 'date',
15
        'booleanCast' => 'boolean',
16
        'datetimeCast' => 'datetime',
17
        'numberCast' => 'timestamp',
18
    ];
19
20
    protected $dates = [
21
        'someDate',
22
    ];
23
24
    public function buttonModelFunction()
25
    {
26
        return 'model function button test';
27
    }
28
29
    public function article()
30
    {
31
        return $this->belongsTo('Backpack\CRUD\Tests\Config\Models\Article');
32
    }
33
}
34