| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class Source extends Model |
||
| 9 | { |
||
| 10 | use TableCache; |
||
| 11 | |||
| 12 | protected $fillable = ['name', 'description', 'repository_id', 'author_id', 'is_active']; |
||
| 13 | |||
| 14 | protected $attributes = ['is_active' => false]; |
||
| 15 | |||
| 16 | protected $casts = ['is_active' => 'boolean']; |
||
| 17 | |||
| 18 | public function repositories() |
||
| 19 | { |
||
| 20 | return $this->belongsTo(Repository::class); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function citations() |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getCitationListAttribute() |
||
| 33 |
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