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 (#4161)
by
unknown
15:22
created

Bill   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A monsters() 0 3 1
A icons() 0 3 1
1
<?php
2
3
namespace Backpack\CRUD\Tests\Unit\Models;
4
5
use Backpack\CRUD\app\Models\Traits\CrudTrait;
6
use Illuminate\Database\Eloquent\Model;
7
8
class Bill 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\Unit\Models\Bill: $fakeColumns, $identifiableAttribute, $Type
Loading history...
11
12
    /*
13
    |--------------------------------------------------------------------------
14
    | GLOBAL VARIABLES
15
    |--------------------------------------------------------------------------
16
    */
17
18
    protected $table = 'bills';
19
    protected $primaryKey = 'id';
20
    public $timestamps = true;
21
    protected $fillable = ['title'];
22
    // protected $hidden = [];
23
    // protected $dates = [];
24
25
    /*
26
    |--------------------------------------------------------------------------
27
    | FUNCTIONS
28
    |--------------------------------------------------------------------------
29
    */
30
31
    /*
32
    |--------------------------------------------------------------------------
33
    | RELATIONS
34
    |--------------------------------------------------------------------------
35
    */
36
37
    public function monsters()
38
    {
39
        return $this->morphedByMany(\App\Models\Monster::class, 'billable');
0 ignored issues
show
Bug introduced by
The type App\Models\Monster was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
40
    }
41
42
    public function icons()
43
    {
44
        return $this->morphedByMany(\App\Models\Icon::class, 'billable');
0 ignored issues
show
Bug introduced by
The type App\Models\Icon was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
45
    }
46
47
    /*
48
    |--------------------------------------------------------------------------
49
    | SCOPES
50
    |--------------------------------------------------------------------------
51
    */
52
53
    /*
54
    |--------------------------------------------------------------------------
55
    | ACCESORS
56
    |--------------------------------------------------------------------------
57
    */
58
59
    /*
60
    |--------------------------------------------------------------------------
61
    | MUTATORS
62
    |--------------------------------------------------------------------------
63
    */
64
}
65