Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
11 | class H5pContent extends Model |
||
12 | { |
||
13 | protected $primaryKey = 'id'; |
||
14 | protected $fillable = [ |
||
15 | 'user_id', |
||
16 | 'title', |
||
17 | 'library_id', |
||
18 | 'parameters', |
||
19 | 'filtered', |
||
20 | 'slug', |
||
21 | 'embed_type', |
||
22 | 'disable', |
||
23 | 'content_type', |
||
24 | 'author', |
||
25 | 'source', |
||
26 | 'year_from', |
||
27 | 'year_to', |
||
28 | 'license', |
||
29 | 'license_version', |
||
30 | 'license_extras', |
||
31 | 'author_comments', |
||
32 | 'changes', |
||
33 | 'default_languge', |
||
34 | 'keywords', |
||
35 | 'description', |
||
36 | ]; |
||
37 | |||
38 | public function user() |
||
39 | { |
||
40 | return $this->belongsTo(User::class); |
||
41 | } |
||
42 | |||
43 | public function get_user() |
||
46 | } |
||
47 | } |
||
48 |
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