| Total Complexity | 5 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class Hidden extends AbstractField |
||
|
|
|||
| 10 | { |
||
| 11 | use Orderable; |
||
| 12 | use Nullable; |
||
| 13 | |||
| 14 | protected $col = 0; |
||
| 15 | protected $hidden = [ |
||
| 16 | 'list' => true, |
||
| 17 | 'edit' => false, |
||
| 18 | 'create' => false, |
||
| 19 | ]; |
||
| 20 | |||
| 21 | 1 | public function value(Request $request) |
|
| 22 | { |
||
| 23 | 1 | return (string) parent::value($request); |
|
| 24 | } |
||
| 25 | |||
| 26 | 1 | public function getListView($model) |
|
| 27 | { |
||
| 28 | 1 | return view('jarboe::crud.fields.hidden.list', [ |
|
| 29 | 1 | 'model' => $model, |
|
| 30 | 1 | 'field' => $this, |
|
| 31 | ]); |
||
| 32 | } |
||
| 33 | |||
| 34 | 1 | public function getEditFormView($model) |
|
| 35 | { |
||
| 36 | 1 | return view('jarboe::crud.fields.hidden.edit', [ |
|
| 37 | 1 | 'model' => $model, |
|
| 38 | 1 | 'field' => $this, |
|
| 39 | ]); |
||
| 40 | } |
||
| 41 | |||
| 42 | 1 | public function getCreateFormView() |
|
| 43 | { |
||
| 44 | 1 | return view('jarboe::crud.fields.hidden.create', [ |
|
| 45 | 1 | 'field' => $this, |
|
| 46 | ]); |
||
| 47 | } |
||
| 48 | |||
| 49 | 1 | public function col(int $col) |
|
| 54 | } |
||
| 55 | } |
||
| 56 |
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