Test Setup Failed
Push — master ( deccd1...87a1fa )
by Александр
75:00 queued 34:57
created
src/views/admin-info/table.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
     <p>Empty.</p>
13 13
 
14
-<?php else
14
+<?php else {
15 15
     : ?>
16 16
 
17 17
     <table class="table table-condensed table-bordered table-striped table-hover sx-table" style="table-layout: fixed;">
@@ -28,6 +28,7 @@  discard block
 block discarded – undo
28 28
                 <td style="overflow:auto"><?= $value ?></td>
29 29
             </tr>
30 30
         <?php endforeach;
31
+}
31 32
 ?>
32 33
         </tbody>
33 34
     </table>
Please login to merge, or discard this patch.
src/widgets/tree/views/_node.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,9 +23,10 @@
 block discarded – undo
23 23
                 <a href="<?= $widget->getOpenCloseLink($model); ?>" class="btn btn-sm btn-default">
24 24
                     <span class="glyphicon glyphicon-minus" title="<?= \Yii::t('skeeks/cms', "Minimize"); ?>"></span>
25 25
                 </a>
26
-            <?php else
26
+            <?php else {
27 27
                 : ?>
28 28
                 <a href="<?= $widget->getOpenCloseLink($model);
29
+}
29 30
                 ?>" class="btn btn-sm btn-default">
30 31
                     <span class="glyphicon glyphicon-plus" title="<?= \Yii::t('skeeks/cms', "Restore"); ?>"></span>
31 32
                 </a>
Please login to merge, or discard this patch.
src/widgets/formInputs/views/storage-image.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,9 +107,10 @@
 block discarded – undo
107 107
                             ]);
108 108
                             ?>
109 109
                         </div>
110
-                    <?php else
110
+                    <?php else {
111 111
                         : ?>
112 112
                         <?= $widget->renderItem($imageFile);
113
+}
113 114
                         ?>
114 115
                     <?php endif; ?>
115 116
 
Please login to merge, or discard this patch.
src/widgets/formInputs/views/model-storage-files.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,9 +99,10 @@  discard block
 block discarded – undo
99 99
                                         <img src="<?= \Yii::$app->imaging->getImagingUrl($imageFile->src,
100 100
                                             new \skeeks\cms\components\imaging\filters\Thumbnail()); ?>"/>
101 101
                                     </a>
102
-                                <?php else
102
+                                <?php else {
103 103
                                     : ?>
104 104
                                     <?= $imageFile->name ? $imageFile->name : $imageFile->original_name;
105
+}
105 106
                                     ?>
106 107
                                 <?php endif; ?>
107 108
 
@@ -124,9 +125,10 @@  discard block
 block discarded – undo
124 125
                                     }
125 126
                                     ?>
126 127
                                 </div>
127
-                            <?php else
128
+                            <?php else {
128 129
                                 : ?>
129 130
                                 <?= $widget->renderItem($imageFile);
131
+}
130 132
                                 ?>
131 133
                             <?php endif; ?>
132 134
                         </div>
Please login to merge, or discard this patch.
src/widgets/formInputs/comboText/views/combo-text.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
         <?php if ($widget->modelAttributeSaveType) : ?>
17 17
             <?= \yii\helpers\Html::activeRadioList($widget->model, $widget->modelAttributeSaveType,
18 18
                 \skeeks\cms\widgets\formInputs\comboText\ComboTextInputWidget::editors()) ?>
19
-        <?php else
19
+        <?php else {
20 20
             : ?>
21 21
             <?= \yii\helpers\Html::radioList(
22 22
                 $widget->id . '-radio',
@@ -24,6 +24,7 @@  discard block
 block discarded – undo
24 24
                 \skeeks\cms\widgets\formInputs\comboText\ComboTextInputWidget::editors()
25 25
             ) ?>
26 26
         <?php endif;
27
+}
27 28
         ?>
28 29
     </div>
29 30
     <div class="sx-controll">
Please login to merge, or discard this patch.
src/views/admin-user-phone/_form.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
 <?php if (\Yii::$app->request->get('user_id')) : ?>
25 25
     <?= $form->field($model, 'user_id')->hiddenInput(['value' => \Yii::$app->request->get('user_id')])->label(false) ?>
26
-<?php else
26
+<?php else {
27 27
     : ?>
28 28
     <?= $form->fieldSelect($model, 'user_id', \yii\helpers\ArrayHelper::map(
29 29
         \skeeks\cms\models\User::find()->active()->all(),
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
         'allowDeselect' => true
34 34
     ]) ?>
35 35
 <?php endif;
36
+}
36 37
 ?>
37 38
 
38 39
 
Please login to merge, or discard this patch.
src/views/admin-cms-content-property-enum/_form.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 <?php if ($form_id = \Yii::$app->request->get('property_id')) : ?>
12 12
     <?= $form->field($model, 'property_id')->hiddenInput(['value' => $form_id])->label(false); ?>
13
-<?php else
13
+<?php else {
14 14
     : ?>
15 15
     <?= $form->field($model, 'property_id')->widget(
16 16
         \skeeks\widget\chosen\Chosen::className(), [
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
20 20
             "name"
21 21
         ),
22 22
     ]);
23
+}
23 24
     ?>
24 25
 <?php endif; ?>
25 26
 
Please login to merge, or discard this patch.
src/views/admin-component-settings/users.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,10 +30,11 @@
 block discarded – undo
30 30
                 onclick="sx.ComponentSettings.Remove.removeUsers(); return false;">
31 31
             <i class="glyphicon glyphicon-remove"></i> <?= \Yii::t('skeeks/cms', 'Reset settings for all users') ?>
32 32
         </button>
33
-    <?php else
33
+    <?php else {
34 34
         : ?>
35 35
         <small><?= \Yii::t('skeeks/cms', 'Neither user does not have personal settings for this component') ?></small>
36 36
     <?php endif;
37
+}
37 38
     ?>
38 39
 </div>
39 40
 
Please login to merge, or discard this patch.
src/views/admin-component-settings/user.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,10 +25,11 @@
 block discarded – undo
25 25
         </button>
26 26
         <small><?= \Yii::t('skeeks/cms',
27 27
                 'The settings for this component are stored in the database. This option will erase them from the database, but the component, restore the default values. As they have in the code the developer.') ?></small>
28
-    <?php else
28
+    <?php else {
29 29
         : ?>
30 30
         <small><?= \Yii::t('skeeks/cms', 'These settings not yet saved in the database') ?></small>
31 31
     <?php endif;
32
+}
32 33
     ?>
33 34
 </div>
34 35
 
Please login to merge, or discard this patch.