1 | <?php |
||
2 | |||
3 | namespace FamilyTree365\LaravelGedcom\Models; |
||
4 | |||
5 | use Illuminate\Database\Eloquent\Model; |
||
0 ignored issues
–
show
|
|||
6 | |||
7 | class Note extends Model |
||
8 | { |
||
9 | /** |
||
10 | * The "type" of the auto-incrementing ID. |
||
11 | * |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $keyType = 'integer'; |
||
15 | |||
16 | protected $fillable = ['gid', 'note', 'rin', 'name', 'description', 'is_active', 'type_id', 'group']; |
||
17 | |||
18 | protected $attributes = ['is_active' => false]; |
||
19 | |||
20 | protected $casts = ['is_active' => 'boolean']; |
||
21 | |||
22 | public function person() |
||
23 | { |
||
24 | return $this->belongsToMany(Person::class); |
||
25 | } |
||
26 | } |
||
27 |
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