Test Setup Failed
Push — master ( e85c00...b7971c )
by Александр
38:27
created
src/views/admin-component-settings/remove.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,10 +23,11 @@
 block discarded – undo
23 23
                 onclick="sx.ComponentSettings.Remove.removeAll(); return false;">
24 24
             <i class="glyphicon glyphicon-remove"></i> <?= \Yii::t('skeeks/cms', 'reset all settings') ?>
25 25
         </button>
26
-    <?php else
26
+    <?php else {
27 27
         : ?>
28 28
         <small><?= \Yii::t('skeeks/cms', 'The database no settings for this component.') ?></small>
29 29
     <?php endif;
30
+}
30 31
     ?>
31 32
 </div>
32 33
 
Please login to merge, or discard this patch.
src/views/admin-component-settings/site.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.
src/views/admin-component-settings/index.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,10 +23,11 @@
 block discarded – undo
23 23
         </button>
24 24
         <small><?= \Yii::t('skeeks/cms',
25 25
                 '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>
26
-    <?php else
26
+    <?php else {
27 27
         : ?>
28 28
         <small><?= \Yii::t('skeeks/cms', 'These settings not yet saved in the database') ?></small>
29 29
     <?php endif;
30
+}
30 31
     ?>
31 32
 </div>
32 33
 
Please login to merge, or discard this patch.
src/views/admin-user-email/_form.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
 <?php if (\Yii::$app->request->get('user_id')) : ?>
13 13
     <?= $form->field($model, 'user_id')->hiddenInput(['value' => \Yii::$app->request->get('user_id')])->label(false) ?>
14
-<?php else
14
+<?php else {
15 15
     : ?>
16 16
     <?= $form->fieldSelect($model, 'user_id', \yii\helpers\ArrayHelper::map(
17 17
         \skeeks\cms\models\User::find()->active()->all(),
@@ -21,6 +21,7 @@  discard block
 block discarded – undo
21 21
         'allowDeselect' => true
22 22
     ]) ?>
23 23
 <?php endif;
24
+}
24 25
 ?>
25 26
 
26 27
 
Please login to merge, or discard this patch.
src/views/admin-cms-user-universal-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-tree/_form.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,10 +177,11 @@
 block discarded – undo
177 177
         <?= $property->renderActiveForm($form); ?>
178 178
     <?php endforeach; ?>
179 179
 
180
-<?php else
180
+<?php else {
181 181
     : ?>
182 182
     <?php /*= \Yii::t('skeeks/cms','Additional properties are not set')*/ ?>
183 183
 <?php endif;
184
+}
184 185
 ?>
185 186
 
186 187
 <?= $form->fieldSetEnd() ?>
Please login to merge, or discard this patch.
src/views/admin-tree/_tree-node.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,10 +57,11 @@
 block discarded – undo
57 57
             $names[] = $model->redirectTree->name;
58 58
             echo implode(" / ", $names);
59 59
             ?>
60
-        <?php else
60
+        <?php else {
61 61
             : ?>
62 62
             <?
63 63
             $names[] = $model->redirectTree->site->name;
64
+}
64 65
 
65 66
             echo implode(" / ", $names);
66 67
             ?>
Please login to merge, or discard this patch.
src/views/admin-cms-content/_form.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,10 +22,12 @@
 block discarded – undo
22 22
 
23 23
 <?php if ($content_type = \Yii::$app->request->get('content_type')) : ?>
24 24
     <?= $form->field($model, 'content_type')->hiddenInput(['value' => $content_type])->label(false); ?>
25
-<?php else : ?>
25
+<?php else {
26
+    : ?>
26 27
     <div style="display: none;">
27 28
         <?= $form->fieldSelect($model, 'content_type',
28 29
             \yii\helpers\ArrayHelper::map(\skeeks\cms\models\CmsContentType::find()->all(), 'code', 'name'));
30
+}
29 31
         ?>
30 32
     </div>
31 33
 <?php endif; ?>
Please login to merge, or discard this patch.
src/views/admin-universal-component-settings/index.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,15 +27,17 @@
 block discarded – undo
27 27
     <?= $form->buttonsStandart($component); ?>
28 28
     <?php \skeeks\cms\modules\admin\widgets\form\ActiveFormUseTab::end(); ?>
29 29
 
30
-<?php else
30
+<?php else {
31 31
     : ?>
32 32
     <?php if ($component->existsConfigFormFile()) : ?>
33 33
         <?= $component->renderConfigForm();
34
+}
34 35
         ?>
35
-    <?php else
36
+    <?php else {
36 37
         : ?>
37 38
         <p>Настройки отсутствуют</p>
38 39
     <?php endif;
40
+}
39 41
     ?>
40 42
 <?php endif; ?>
41 43
 
Please login to merge, or discard this patch.