Passed
Push — master ( 95ee3f...dda09b )
by Mihail
06:49
created
Apps/View/Front/default/feedback/create.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,9 +18,12 @@
 block discarded – undo
18 18
 <h1><?= __('Feedback') ?></h1>
19 19
 <?php if (\App::$User->isAuth()): ?>
20 20
     <?= $this->insert('feedback/_authTabs') ?>
21
-<?php else: ?>
21
+<?php else {
22
+    : ?>
22 23
     <hr />
23
-<?php endif; ?>
24
+<?php endif;
25
+}
26
+?>
24 27
 
25 28
 <?php $form = $this->form($model) ?>
26 29
 <?= $form->start() ?>
Please login to merge, or discard this patch.
Apps/View/Front/default/feedback/read.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,9 +22,12 @@  discard block
 block discarded – undo
22 22
 <h1><?= __('Feedback message #%id%', ['id' => $post->id]) ?></h1>
23 23
 <?php if (\App::$User->isAuth()): ?>
24 24
     <?= $this->insert('feedback/_authTabs') ?>
25
-<?php else: ?>
25
+<?php else {
26
+    : ?>
26 27
     <hr />
27
-<?php endif; ?>
28
+<?php endif;
29
+}
30
+?>
28 31
 
29 32
 <?php
30 33
 if (!(bool)$post->closed && \App::$User->isAuth()) {
@@ -85,8 +88,11 @@  discard block
 block discarded – undo
85 88
     <?= $form->button()->submit(__('Add'), ['class' => 'btn btn-primary']) ?>
86 89
 
87 90
     <?= $form->stop() ?>
88
-<?php else: ?>
91
+<?php else {
92
+    : ?>
89 93
     <?= $this->bootstrap()->alert('danger', __('This request is closed! No answers is allowed')) ?>
90
-<?php endif; ?>
94
+<?php endif;
95
+}
96
+?>
91 97
 
92 98
 <?php $this->stop() ?>
Please login to merge, or discard this patch.
Apps/View/Front/default/widgets/newcomment/default.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,9 +18,12 @@
 block discarded – undo
18 18
             <i class="fa fa-user"></i>
19 19
             <?php if ((int)$comment['user']['id'] > 0): ?>
20 20
                 <?= Url::a(['profile/show', [$comment['user']['id']]], $comment['user']['name']) ?>
21
-            <?php else: ?>
21
+            <?php else {
22
+    : ?>
22 23
                 <?= $comment['user']['name'] ?>
23
-            <?php endif; ?>
24
+            <?php endif;
25
+}
26
+?>
24 27
         </div>
25 28
     </div>
26 29
     <div class="row">
Please login to merge, or discard this patch.