Passed
Push — master ( 6042d7...377078 )
by Mihail
04:38
created
Apps/Controller/Api/Profile.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
         $findAnswer->delete();
203 203
 
204 204
         $this->response = json_encode([
205
-           'status' => 1,
205
+            'status' => 1,
206 206
             'message' => 'ok'
207 207
         ]);
208 208
     }
Please login to merge, or discard this patch.
Apps/Model/Front/Content/EntityContentRead.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     /**
58 58
      * Prepare model attributes from passed objects
59 59
      * @throws ForbiddenException
60
-    */
60
+     */
61 61
     public function before()
62 62
     {
63 63
         $this->title = Serialize::getDecodeLocale($this->_content->title);
Please login to merge, or discard this patch.
Apps/View/Admin/default/layout/main.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,13 +188,16 @@
 block discarded – undo
188 188
                             <?php foreach ($this->breadcrumbs as $bUrl => $bText): ?>
189 189
                                 <?php if (Obj::isLikeInt($bUrl)): // only text ?>
190 190
                                     <li class="active"><?= \App::$Security->strip_tags($bText) ?></li>
191
-                                <?php else: ?>
191
+                                <?php else {
192
+    : ?>
192 193
                                     <li>
193 194
                                         <a href="<?= \App::$Security->strip_tags($bUrl) ?>">
194 195
                                             <?= \App::$Security->strip_tags($bText) ?>
195 196
                                         </a>
196 197
                                     </li>
197
-                                <?php endif; ?>
198
+                                <?php endif;
199
+}
200
+?>
198 201
                             <?php endforeach; ?>
199 202
                         </ol>
200 203
                     <?php endif; ?>
Please login to merge, or discard this patch.
Apps/View/Admin/default/profile/field_list.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@
 block discarded – undo
66 66
     ]
67 67
 ]);
68 68
     ?>
69
-<?php else: ?>
69
+<?php else {
70
+    : ?>
70 71
     <p>No additional fields is added!</p>
71
-<?php endif; ?>
72 72
\ No newline at end of file
73
+<?php endif;
74
+}
75
+?>
73 76
\ No newline at end of file
Please login to merge, or discard this patch.
Apps/View/Front/default/layout/main.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,13 +109,16 @@
 block discarded – undo
109 109
                 <?php foreach ($this->breadcrumbs as $bUrl => $bText): ?>
110 110
                     <?php if (Obj::isLikeInt($bUrl)): // only text ?>
111 111
                     <li class="active"><?= \App::$Security->strip_tags($bText) ?></li>
112
-                    <?php else: ?>
112
+                    <?php else {
113
+    : ?>
113 114
                     <li>
114 115
                         <a href="<?= \App::$Security->strip_tags($bUrl) ?>">
115 116
                             <?= \App::$Security->strip_tags($bText) ?>
116 117
                         </a>
117 118
                     </li>
118
-                    <?php endif; ?>
119
+                    <?php endif;
120
+}
121
+?>
119 122
                 <?php endforeach; ?>
120 123
             </ol>
121 124
             <?php endif; ?>
Please login to merge, or discard this patch.
Apps/View/Front/default/profile/show.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,8 @@  discard block
 block discarded – undo
59 59
                 </a>
60 60
             </div>
61 61
         </div>
62
-        <?php else: ?>
62
+        <?php else {
63
+    : ?>
63 64
         <div class="row">
64 65
             <div class="col-md-8" style="padding-right: 0;">
65 66
                 <a href="javascript:void(0);" class="btn btn-block <?= $rateClass ?>">
@@ -76,7 +77,9 @@  discard block
 block discarded – undo
76 77
                 <a href="javascript:void(0);" class="btn btn-block btn-danger" id="reduceRating">-</a>
77 78
             </div>
78 79
         </div>
79
-        <?php endif; ?>
80
+        <?php endif;
81
+}
82
+?>
80 83
         <?php endif; ?>
81 84
         <?php
82 85
         $userMenu = null;
Please login to merge, or discard this patch.
Widgets/Front/Test/Widget.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,9 @@
 block discarded – undo
14 14
 
15 15
     public function init()
16 16
     {
17
-        if ($this->message === null)
18
-            $this->message = 'Hello, world';
17
+        if ($this->message === null) {
18
+                    $this->message = 'Hello, world';
19
+        }
19 20
     }
20 21
 
21 22
     public function display()
Please login to merge, or discard this patch.
Apps/View/Front/default/content/list.php 2 patches
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,8 @@  discard block
 block discarded – undo
59 59
                 </a>
60 60
             </div>
61 61
         </div>
62
-        <?php else: ?>
62
+        <?php else {
63
+    : ?>
63 64
         <div class="row">
64 65
             <div class="col-md-8" style="padding-right: 0;">
65 66
                 <a href="javascript:void(0);" class="btn btn-block <?= $rateClass ?>">
@@ -76,7 +77,9 @@  discard block
 block discarded – undo
76 77
                 <a href="javascript:void(0);" class="btn btn-block btn-danger" id="reduceRating">-</a>
77 78
             </div>
78 79
         </div>
79
-        <?php endif; ?>
80
+        <?php endif;
81
+}
82
+?>
80 83
         <?php endif; ?>
81 84
         <?php
82 85
         $userMenu = null;
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -100,12 +100,12 @@
 block discarded – undo
100 100
         </div>
101 101
         <div class="meta">
102 102
         	<?php if ((int)$catConfigs['showRating'] === 1) {
103
-        	    echo \App::$View->render('content/_rate', [
104
-        	        'id' => $item['id'],
105
-        	        'canRate' => $item['canRate'],
106
-        	        'rating' => $item['rating']
107
-        	    ]);
108
-        	} ?>
103
+                echo \App::$View->render('content/_rate', [
104
+                    'id' => $item['id'],
105
+                    'canRate' => $item['canRate'],
106
+                    'rating' => $item['rating']
107
+                ]);
108
+            } ?>
109 109
         	
110 110
         	<span class="spaced hidden-xs"><i class="fa fa-comments"></i>
111 111
                 <a href="#"><?= __('Comments') ?>: <span itemprop="commentCount">0</span></a>
Please login to merge, or discard this patch.
Apps/Model/Install/Main/EntityCheck.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
     public $chmodCheck = [];
21 21
 
22 22
     /**
23
-    * Get default server information and prepare chmod info
24
-    */
23
+     * Get default server information and prepare chmod info
24
+     */
25 25
     public function before()
26 26
     {
27 27
         $this->phpVersion = phpversion();
Please login to merge, or discard this patch.