Passed
Push — master ( 069627...087cc0 )
by Mihail
03:55
created
Extend/Core/Arch/FrontWidget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         }
29 29
 
30 30
         // if widget is disabled - lets return nothing
31
-        if ((int)$wData->disabled === 1) {
31
+        if ((int) $wData->disabled === 1) {
32 32
             return null;
33 33
         }
34 34
 
Please login to merge, or discard this patch.
Private/Config/Permissions.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php 
2 2
 
3
-return array (
3
+return array(
4 4
   0 => 'global/write',
5 5
   1 => 'global/modify',
6 6
   2 => 'global/file',
Please login to merge, or discard this patch.
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -1,41 +1,41 @@
 block discarded – undo
1 1
 <?php 
2 2
 
3 3
 return array (
4
-  0 => 'global/write',
5
-  1 => 'global/modify',
6
-  2 => 'global/file',
7
-  3 => 'global/all',
8
-  4 => 'Admin/Application/Index',
9
-  5 => 'Admin/Application/Turn',
10
-  6 => 'Admin/Content/Index',
11
-  7 => 'Admin/Content/Update',
12
-  8 => 'Admin/Content/Delete',
13
-  9 => 'Admin/Content/Restore',
14
-  10 => 'Admin/Content/Clear',
15
-  11 => 'Admin/Content/Categories',
16
-  12 => 'Admin/Content/Categorydelete',
17
-  13 => 'Admin/Content/Categoryupdate',
18
-  14 => 'Admin/Content/Settings',
19
-  15 => 'Admin/Main/Index',
20
-  16 => 'Admin/Main/Settings',
21
-  17 => 'Admin/Main/Files',
22
-  18 => 'Admin/Main/Antivirus',
23
-  19 => 'Admin/Main/Debugcookie',
24
-  20 => 'Admin/Main/Routing',
25
-  21 => 'Admin/Main/Addroute',
26
-  22 => 'Admin/Main/Deleteroute',
27
-  23 => 'Admin/Profile/Index',
28
-  24 => 'Admin/Profile/Delete',
29
-  25 => 'Admin/Profile/Update',
30
-  26 => 'Admin/Profile/Fieldlist',
31
-  27 => 'Admin/Profile/Fieldupdate',
32
-  28 => 'Admin/Profile/Fielddelete',
33
-  29 => 'Admin/Profile/Settings',
34
-  30 => 'Admin/User/Index',
35
-  31 => 'Admin/User/Update',
36
-  32 => 'Admin/User/Delete',
37
-  33 => 'Admin/User/Grouplist',
38
-  34 => 'Admin/User/GroupUpdate',
39
-  35 => 'Admin/User/Settings',
40
-  36 => 'Admin/User/Invite',
4
+    0 => 'global/write',
5
+    1 => 'global/modify',
6
+    2 => 'global/file',
7
+    3 => 'global/all',
8
+    4 => 'Admin/Application/Index',
9
+    5 => 'Admin/Application/Turn',
10
+    6 => 'Admin/Content/Index',
11
+    7 => 'Admin/Content/Update',
12
+    8 => 'Admin/Content/Delete',
13
+    9 => 'Admin/Content/Restore',
14
+    10 => 'Admin/Content/Clear',
15
+    11 => 'Admin/Content/Categories',
16
+    12 => 'Admin/Content/Categorydelete',
17
+    13 => 'Admin/Content/Categoryupdate',
18
+    14 => 'Admin/Content/Settings',
19
+    15 => 'Admin/Main/Index',
20
+    16 => 'Admin/Main/Settings',
21
+    17 => 'Admin/Main/Files',
22
+    18 => 'Admin/Main/Antivirus',
23
+    19 => 'Admin/Main/Debugcookie',
24
+    20 => 'Admin/Main/Routing',
25
+    21 => 'Admin/Main/Addroute',
26
+    22 => 'Admin/Main/Deleteroute',
27
+    23 => 'Admin/Profile/Index',
28
+    24 => 'Admin/Profile/Delete',
29
+    25 => 'Admin/Profile/Update',
30
+    26 => 'Admin/Profile/Fieldlist',
31
+    27 => 'Admin/Profile/Fieldupdate',
32
+    28 => 'Admin/Profile/Fielddelete',
33
+    29 => 'Admin/Profile/Settings',
34
+    30 => 'Admin/User/Index',
35
+    31 => 'Admin/User/Update',
36
+    32 => 'Admin/User/Delete',
37
+    33 => 'Admin/User/Grouplist',
38
+    34 => 'Admin/User/GroupUpdate',
39
+    35 => 'Admin/User/Settings',
40
+    36 => 'Admin/User/Invite',
41 41
 );
42 42
\ No newline at end of file
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/Controller/Admin/Profile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $query = new UserRecords();
27 27
 
28 28
         // set current page and offset
29
-        $page = (int)App::$Request->query->get('page');
29
+        $page = (int) App::$Request->query->get('page');
30 30
         $offset = $page * self::ITEM_PER_PAGE;
31 31
 
32 32
         // build pagination
Please login to merge, or discard this patch.
Apps/Model/Admin/Profile/FormSettings.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
     public $captcha;
18 18
 
19 19
     /**
20
-    * Labels
21
-    */
20
+     * Labels
21
+     */
22 22
     public function labels()
23 23
     {
24 24
         return [
@@ -28,8 +28,8 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-    * Validation rules
32
-    */
31
+     * Validation rules
32
+     */
33 33
     public function rules()
34 34
     {
35 35
         return [
Please login to merge, or discard this patch.
Apps/Model/Admin/User/FormInviteSend.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     const COMPRESS_QUALITY = 90;
17 17
 
18 18
     /**
19
-    * Example of usage magic labels for future form helper usage
20
-    */
19
+     * Example of usage magic labels for future form helper usage
20
+     */
21 21
     public function labels()
22 22
     {
23 23
         return [
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
     }
27 27
 
28 28
     /**
29
-    * Example of usage magic rules for future usage in condition $model->validate()
30
-    */
29
+     * Example of usage magic rules for future usage in condition $model->validate()
30
+     */
31 31
     public function rules()
32 32
     {
33 33
         return [
Please login to merge, or discard this patch.
Apps/Model/Front/Profile/FormUserSearch.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
     public $captcha;
18 18
 
19 19
     /**
20
-    * Labels
21
-    */
20
+     * Labels
21
+     */
22 22
     public function labels()
23 23
     {
24 24
         return [
@@ -28,8 +28,8 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-    * Validation rules
32
-    */
31
+     * Validation rules
32
+     */
33 33
     public function rules()
34 34
     {
35 35
         return [
Please login to merge, or discard this patch.
Apps/View/Admin/default/content/_tabs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,4 +9,4 @@
 block discarded – undo
9 9
         ['type' => 'link', 'text' => __('Group management'), 'link' => ['user/grouplist']],
10 10
         ['type' => 'link', 'text' => __('Settings'), 'link' => ['user/settings']]
11 11
     ]
12
-]);?>
13 12
\ No newline at end of file
13
+]); ?>
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
Apps/View/Admin/default/profile/_tabs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,4 +9,4 @@
 block discarded – undo
9 9
         ['type' => 'link', 'text' => __('Group management'), 'link' => ['user/grouplist']],
10 10
         ['type' => 'link', 'text' => __('Settings'), 'link' => ['user/settings']]
11 11
     ]
12
-]);?>
13 12
\ No newline at end of file
13
+]); ?>
14 14
\ No newline at end of file
Please login to merge, or discard this patch.