| Conditions | 1 |
| Paths | 1 |
| Total Lines | 30 |
| Code Lines | 21 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 56 | public function initialize() |
||
| 57 | { |
||
| 58 | $this->setSource('user_roles'); |
||
| 59 | |||
| 60 | $this->belongsTo( |
||
| 61 | 'users_id', |
||
| 62 | 'Canvas\Models\Users', |
||
| 63 | 'id', |
||
| 64 | ['alias' => 'user'] |
||
| 65 | ); |
||
| 66 | |||
| 67 | $this->belongsTo( |
||
| 68 | 'roles_id', |
||
| 69 | 'Canvas\Models\Roles', |
||
| 70 | 'id', |
||
| 71 | ['alias' => 'roles'] |
||
| 72 | ); |
||
| 73 | |||
| 74 | $this->belongsTo( |
||
| 75 | 'apps_id', |
||
| 76 | 'Canvas\Models\Apps', |
||
| 77 | 'id', |
||
| 78 | ['alias' => 'app'] |
||
| 79 | ); |
||
| 80 | |||
| 81 | $this->belongsTo( |
||
| 82 | 'companies_id', |
||
| 83 | 'Canvas\Models\Companies', |
||
| 84 | 'id', |
||
| 85 | ['alias' => 'company'] |
||
| 86 | ); |
||
| 118 |
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