| Total Complexity | 11 |
| Total Lines | 71 |
| Duplicated Lines | 0 % |
| Coverage | 96.55% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class FieldsetMarkup extends AbstractField |
||
| 10 | { |
||
| 11 | protected $legend = ''; |
||
| 12 | protected $fields = []; |
||
| 13 | |||
| 14 | 2 | public function fields(array $fields) |
|
| 15 | { |
||
| 16 | 2 | $this->fields = $fields; |
|
| 17 | |||
| 18 | 2 | return $this; |
|
| 19 | } |
||
| 20 | |||
| 21 | 1 | public function legend(string $legend) |
|
| 22 | { |
||
| 23 | 1 | $this->legend = $legend; |
|
| 24 | |||
| 25 | 1 | return $this; |
|
| 26 | } |
||
| 27 | |||
| 28 | 1 | public function getLegend(): string |
|
| 29 | { |
||
| 30 | 1 | return $this->legend; |
|
| 31 | } |
||
| 32 | |||
| 33 | 1 | public function getFields(): array |
|
| 34 | { |
||
| 35 | 1 | return $this->fields; |
|
| 36 | } |
||
| 37 | |||
| 38 | protected $hidden = [ |
||
| 39 | 'list' => true, |
||
| 40 | 'edit' => false, |
||
| 41 | 'create' => false, |
||
| 42 | ]; |
||
| 43 | |||
| 44 | 1 | public function shouldSkip(Request $request) |
|
| 45 | { |
||
| 46 | 1 | return true; |
|
| 47 | } |
||
| 48 | |||
| 49 | 1 | public function isMarkupRow() |
|
| 50 | { |
||
| 51 | 1 | return true; |
|
| 52 | } |
||
| 53 | |||
| 54 | 1 | public function prepare(CRUD $crud) |
|
| 55 | { |
||
| 56 | 1 | foreach ($this->fields as $field) { |
|
| 57 | 1 | $field->prepare($crud); |
|
| 58 | } |
||
| 59 | } |
||
| 60 | |||
| 61 | 1 | public function getListView($model) |
|
| 64 | } |
||
| 65 | |||
| 66 | 1 | public function getEditFormView($model) |
|
| 72 | ]); |
||
| 73 | } |
||
| 74 | |||
| 75 | 1 | public function getCreateFormView() |
|
| 80 | ]); |
||
| 81 | } |
||
| 82 | } |
||
| 83 |
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