1 | <?php |
||
2 | /** @var \yii\web\View $this */ |
||
3 | /** @var \tonisormisson\addressform\AddressForm $widget */ |
||
4 | |||
5 | use yii\bootstrap\ActiveForm; |
||
0 ignored issues
–
show
|
|||
6 | use yii\helpers\Html; |
||
7 | |||
8 | $model = $widget->address; |
||
9 | ?> |
||
10 | |||
11 | <?= Html::beginTag("div", $widget->htmlOptions) ?> |
||
12 | <?php $form = (empty($widget->form)) ? ActiveForm::begin($widget->formOptions) : $widget->form ?> |
||
13 | <?= (in_array('name', $widget->disabledFields)) ? null: $form->field($model, 'name')->textInput(['placeholder'=>$widget->placeHolders['name']]) ?> |
||
14 | <?= $this->render('_country-region-row', ['widget' => $widget, 'form' => $form, 'model' => $model]) ?> |
||
15 | <?= (in_array('addressLine1', $widget->disabledFields)) ? null: $form->field($model, 'addressLine1')->textInput(['placeholder'=>$widget->placeHolders['addressLine1']]) ?> |
||
16 | <?= (in_array('addressLine2', $widget->disabledFields)) ? null: $form->field($model, 'addressLine2')->textInput(['placeholder'=>$widget->placeHolders['addressLine2']]) ?> |
||
17 | <div class="row"> |
||
18 | <div class="col-md-6"> |
||
19 | <?= (in_array('city', $widget->disabledFields)) ? null: $form->field($model, 'city')->textInput(['placeholder'=>$widget->placeHolders['city']])?> |
||
20 | </div> |
||
21 | <div class="col-md-4"> |
||
22 | <?= (in_array('postCode', $widget->disabledFields)) ? null: $form->field($model, 'postCode')->textInput(['placeholder'=>$widget->placeHolders['postCode']]) ?> |
||
23 | </div> |
||
24 | </div> |
||
25 | <?= empty($widget->form) ? Html::submitButton($widget->submitText,$widget->submitOptions) : null?> |
||
26 | |||
27 | <?php (empty($widget->form)) ? ActiveForm::end() : null?> |
||
28 | <?= Html::endTag("div")?> |
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