| Conditions | 1 |
| Paths | 1 |
| Total Lines | 30 |
| Code Lines | 21 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 81 | public function initialize() |
||
| 82 | { |
||
| 83 | $this->setSource('user_webhooks'); |
||
| 84 | |||
| 85 | $this->belongsTo( |
||
| 86 | 'webhooks_id', |
||
| 87 | 'Canvas\Models\Webhooks', |
||
| 88 | 'id', |
||
| 89 | ['alias' => 'webhook'] |
||
| 90 | ); |
||
| 91 | |||
| 92 | $this->belongsTo( |
||
| 93 | 'users_id', |
||
| 94 | 'Canvas\Models\Users', |
||
| 95 | 'id', |
||
| 96 | ['alias' => 'user'] |
||
| 97 | ); |
||
| 98 | |||
| 99 | $this->belongsTo( |
||
| 100 | 'companies_id', |
||
| 101 | 'Canvas\Models\Companies', |
||
| 102 | 'id', |
||
| 103 | ['alias' => 'company'] |
||
| 104 | ); |
||
| 105 | |||
| 106 | $this->belongsTo( |
||
| 107 | 'apps_id', |
||
| 108 | 'Canvas\Models\Apps', |
||
| 109 | 'id', |
||
| 110 | ['alias' => 'app'] |
||
| 111 | ); |
||
| 162 |
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