Total Complexity | 2 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class DatastoreComments extends Model |
||
10 | { |
||
11 | |||
12 | use SoftDeletes; |
||
13 | |||
14 | protected $dates = ['deleted_at']; |
||
15 | |||
16 | /** |
||
17 | * The attributes that are mass assignable. |
||
18 | * |
||
19 | * @var array |
||
20 | */ |
||
21 | protected $fillable = ['user_id', 'datastore_id', 'parent_id', 'body']; |
||
22 | |||
23 | /** |
||
24 | * The belongs to Relationship |
||
25 | * |
||
26 | * @var array |
||
27 | */ |
||
28 | public function user() |
||
29 | { |
||
30 | return $this->belongsTo(User::class); |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * The has Many Relationship |
||
35 | * |
||
36 | * @var array |
||
37 | */ |
||
38 | public function replies() |
||
41 | } |
||
42 | |||
43 | } |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths