| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 12 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 92 | 2 | public function initialize() |
|
| 93 | { |
||
| 94 | 2 | $this->setSource('companies_branches'); |
|
| 95 | |||
| 96 | 2 | $this->belongsTo( |
|
| 97 | 2 | 'companies_id', |
|
| 98 | 2 | 'Canvas\Models\Companies', |
|
| 99 | 2 | 'id', |
|
| 100 | 2 | ['alias' => 'company'] |
|
| 101 | ); |
||
| 102 | |||
| 103 | 2 | $this->belongsTo( |
|
| 104 | 2 | 'users_id', |
|
| 105 | 2 | 'Canvas\Models\Users', |
|
| 106 | 2 | 'id', |
|
| 107 | 2 | ['alias' => 'id'] |
|
| 108 | ); |
||
| 141 |
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