| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function run() |
||
| 26 | { |
||
| 27 | // Get module |
||
| 28 | $module = ucmodule($this->config['module']); |
||
| 29 | |||
| 30 | // Get record |
||
| 31 | $modelClass = $module->model_class; |
||
| 32 | $record = $modelClass::find($this->config['record_id']); |
||
| 33 | |||
| 34 | return view('uccello::widgets.relatedlist', [ |
||
| 35 | 'config' => $this->config, |
||
| 36 | 'domain' => ucdomain($this->config['domain']), |
||
| 37 | 'module' => $module, |
||
| 38 | 'data' => (object) $this->config['data'], |
||
| 39 | 'record' => $record, |
||
| 40 | 'label' => $this->config['data']->label ?? $this->config['labelForTranslation'], |
||
| 41 | ]); |
||
| 44 |
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