Passed
Push — master ( 087cc0...37fbce )
by Mihail
04:19
created
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.
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 
16 16
 $catConfigs = [];
17 17
 foreach ($model->categoryData['configs'] as $key=>$value) {
18
-    $catConfigs[$key] = (int)$value === 1;
18
+    $catConfigs[$key] = (int) $value === 1;
19 19
 }
20 20
 
21 21
 $catMeta = [
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             </div>
103 103
         </div>
104 104
         <div class="meta">
105
-            <?php if ((int)$configs['keywordsAsTags'] === 1 && $item['tags'] !== null && Obj::isArray($item['tags'])): ?>
105
+            <?php if ((int) $configs['keywordsAsTags'] === 1 && $item['tags'] !== null && Obj::isArray($item['tags'])): ?>
106 106
             <span><i class="fa fa-tags hidden-xs"></i>
107 107
                 <?php
108 108
                     foreach ($item['tags'] as $tag) {
Please login to merge, or discard this patch.
Private/Config/Default.php 1 patch
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -1,34 +1,34 @@
 block discarded – undo
1 1
 <?php return [
2
-	'basePath' => '/',
3
-	'passwordSalt' => '$2a$10$1o81mUjA4NhQp8nSeaFmN8',
4
-	'debug' => [
5
-		'all' => false,
6
-		'cookie' => [
7
-			'key' => 'fdebug',
8
-			'value' => 'jiSpq941Am'
9
-		]
10
-	],
11
-	'theme' => [
12
-		'Front' => 'default',
13
-		'Admin' => 'default'
14
-	],
15
-	'database' => [
16
-		'driver' => 'mysql',
17
-		'host' => '127.0.0.1',
18
-		'database' => 'ffcms3',
19
-		'username' => 'mysql',
20
-		'password' => 'mysql',
21
-		'charset' => 'utf8',
22
-		'collation' => 'utf8_unicode_ci',
23
-		'prefix' => 'ffcms_'
24
-	],
25
-	'adminEmail' => '[email protected]',
26
-	'baseLanguage' => 'en',
27
-	'multiLanguage' => true,
28
-	'singleLanguage' => 'en',
29
-	'languages' => [
30
-		'en',
31
-		'ru'
32
-	],
33
-	'languageDomainAlias' => false
2
+    'basePath' => '/',
3
+    'passwordSalt' => '$2a$10$1o81mUjA4NhQp8nSeaFmN8',
4
+    'debug' => [
5
+        'all' => false,
6
+        'cookie' => [
7
+            'key' => 'fdebug',
8
+            'value' => 'jiSpq941Am'
9
+        ]
10
+    ],
11
+    'theme' => [
12
+        'Front' => 'default',
13
+        'Admin' => 'default'
14
+    ],
15
+    'database' => [
16
+        'driver' => 'mysql',
17
+        'host' => '127.0.0.1',
18
+        'database' => 'ffcms3',
19
+        'username' => 'mysql',
20
+        'password' => 'mysql',
21
+        'charset' => 'utf8',
22
+        'collation' => 'utf8_unicode_ci',
23
+        'prefix' => 'ffcms_'
24
+    ],
25
+    'adminEmail' => '[email protected]',
26
+    'baseLanguage' => 'en',
27
+    'multiLanguage' => true,
28
+    'singleLanguage' => 'en',
29
+    'languages' => [
30
+        'en',
31
+        'ru'
32
+    ],
33
+    'languageDomainAlias' => false
34 34
 ];
35 35
\ No newline at end of file
Please login to merge, or discard this patch.