| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 55 | public function initialize() |
||
| 56 | { |
||
| 57 | parent::initialize(); |
||
| 58 | |||
| 59 | $this->belongsTo( |
||
| 60 | 'companies_id', |
||
| 61 | 'Canvas\Models\Companies', |
||
| 62 | 'id', |
||
| 63 | ['alias' => 'company'] |
||
| 64 | ); |
||
| 65 | |||
| 66 | $this->belongsTo( |
||
| 67 | 'apps_id', |
||
| 68 | 'Canvas\Models\Apps', |
||
| 69 | 'id', |
||
| 70 | ['alias' => 'app'] |
||
| 71 | ); |
||
| 72 | |||
| 73 | $this->setSource('user_company_apps'); |
||
| 74 | } |
||
| 99 |
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