Passed
Push — master ( aeb2a3...d08a98 )
by Mihail
04:50
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/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.
Apps/View/Front/default/content/list.php 1 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/View/Front/default/content/read.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -159,12 +159,12 @@
 block discarded – undo
159 159
     	<div class="col-md-12">
160 160
     		<div class="pull-left">
161 161
         	<?php if ($properties['rating']) {
162
-        	    echo \App::$View->render('content/_rate', [
163
-        	        'id' => $model->id,
164
-        	        'rating' => $model->rating,
165
-        	        'canRate' => $model->canRate
166
-        	    ]);
167
-        	} ?>
162
+                echo \App::$View->render('content/_rate', [
163
+                    'id' => $model->id,
164
+                    'rating' => $model->rating,
165
+                    'canRate' => $model->canRate
166
+                ]);
167
+            } ?>
168 168
         	<?= \App::$View->render('content/_rateJs') ?>
169 169
     		</div>
170 170
     		<div class="pull-right">
Please login to merge, or discard this patch.
Widgets/Front/Newcontent/Newcontent.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
         
73 73
         // render view
74 74
         return App::$View->render($this->tpl, [
75
-           'records' => $query 
75
+            'records' => $query 
76 76
         ]);
77 77
     }
78 78
     
Please login to merge, or discard this patch.
Apps/Controller/Front/User.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             App::$Session->getFlashBag()->add('error', __('User is never exist or password is incorrect!'));
55 55
             // initialize fail event
56 56
             App::$Event->run(static::EVENT_USER_LOGIN_FAIL, [
57
-               'model' => $loginForm
57
+                'model' => $loginForm
58 58
             ]);
59 59
         }
60 60
 
@@ -114,14 +114,14 @@  discard block
 block discarded – undo
114 114
             if ($registerForm->tryRegister($configs['registrationType'] === 1)) {
115 115
                 // initialize succes signup event
116 116
                 App::$Event->run(static::EVENT_USER_REGISTER_SUCCESS, [
117
-                   'model' => $registerForm
117
+                    'model' => $registerForm
118 118
                 ]);
119 119
                 // send notification of successful registering
120 120
                 App::$Session->getFlashBag()->add('success', __('Your account is registered. You must confirm account via email'));
121 121
             } else {
122 122
                 // init fail signup event
123 123
                 App::$Event->run(static::EVENT_USER_REGISTER_FAIL, [
124
-                   'model' => $registerForm
124
+                    'model' => $registerForm
125 125
                 ]);
126 126
                 App::$Session->getFlashBag()->add('error', __('Login or email is always used on website'));
127 127
             }
Please login to merge, or discard this patch.
Apps/Model/Front/Content/FormNarrowContentUpdate.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-    * Set default values from database record
48
-    */
47
+     * Set default values from database record
48
+     */
49 49
     public function before()
50 50
     {
51 51
         // set data from db record
@@ -85,9 +85,9 @@  discard block
 block discarded – undo
85 85
     }
86 86
 
87 87
     /**
88
-    * Form labels
89
-    * @return array
90
-    */
88
+     * Form labels
89
+     * @return array
90
+     */
91 91
     public function labels()
92 92
     {
93 93
         return [
@@ -100,9 +100,9 @@  discard block
 block discarded – undo
100 100
     }
101 101
 
102 102
     /**
103
-    * Content update form validation rules
104
-    * @return array
105
-    */
103
+     * Content update form validation rules
104
+     * @return array
105
+     */
106 106
     public function rules()
107 107
     {
108 108
         $r = [
Please login to merge, or discard this patch.
Private/Config/Routing.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php return [
2
-	'Alias' => [
3
-		'Front' => [
4
-			'/' => '/content/list/news'
5
-		]
6
-	]
2
+    'Alias' => [
3
+        'Front' => [
4
+            '/' => '/content/list/news'
5
+        ]
6
+    ]
7 7
 ];
8 8
\ No newline at end of file
Please login to merge, or discard this patch.