Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
32 | public function run() |
||
33 | { |
||
34 | // Get module |
||
35 | $module = ucmodule($this->config['module']); |
||
36 | |||
37 | // Get record |
||
38 | $modelClass = $module->model_class; |
||
39 | $record = $modelClass::find($this->config['record_id']); |
||
40 | |||
41 | return view('uccello::widgets.summary_fields', [ |
||
42 | 'config' => $this->config, |
||
43 | 'domain' => ucdomain($this->config['domain']), |
||
44 | 'module' => $module, |
||
45 | 'data' => (object) $this->config['data'], |
||
46 | 'record' => $record, |
||
47 | 'label' => $this->config['data']->label ?? $this->config['labelForTranslation'], |
||
48 | ]); |
||
51 |
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