Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | trait Relation |
||
16 | { |
||
17 | use HasRoles; |
||
18 | |||
19 | /** |
||
20 | * Return \App\Models\Branch model relation value. |
||
21 | * |
||
22 | * @return \App\Models\Branch|null |
||
23 | */ |
||
24 | public function getBranchRelationValue(): ?Branch |
||
25 | { |
||
26 | return $this->getRelationValue('branch'); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Define a one-to-many relationship with \App\Models\Achievement. |
||
31 | * |
||
32 | * @return \Illuminate\Database\Eloquent\Relations\HasMany |
||
33 | */ |
||
34 | public function achievements(): HasMany |
||
37 | } |
||
38 | } |
||
39 |
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