Passed
Push — master ( 3db37c...11f6ba )
by Mihail
04:15
created
Apps/Model/Front/Profile/FormAvatarUpload.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/FormIgnoreAdd.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-    * Validation rules
37
-    */
36
+     * Validation rules
37
+     */
38 38
     public function rules()
39 39
     {
40 40
         return [
Please login to merge, or discard this patch.
Apps/Model/Front/Profile/FormSettings.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@  discard block
 block discarded – undo
30 30
     }
31 31
 
32 32
     /**
33
-    * Set default data
34
-    */
33
+     * Set default data
34
+     */
35 35
     public function before()
36 36
     {
37 37
         $profile = $this->_user->getProfile()->toArray(); // object to array (property's is protected of access)
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-    * Labels
56
-    */
55
+     * Labels
56
+     */
57 57
     public function labels()
58 58
     {
59 59
         $labels =  [
@@ -75,8 +75,8 @@  discard block
 block discarded – undo
75 75
     }
76 76
 
77 77
     /**
78
-    * Rules for validation
79
-    */
78
+     * Rules for validation
79
+     */
80 80
     public function rules()
81 81
     {
82 82
         $rules = [
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
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
     public $query;
10 10
 
11 11
     /**
12
-    * Labels
13
-    */
12
+     * Labels
13
+     */
14 14
     public function labels()
15 15
     {
16 16
         return [
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
     }
20 20
 
21 21
     /**
22
-    * Validation rules
23
-    */
22
+     * Validation rules
23
+     */
24 24
     public function rules()
25 25
     {
26 26
         return [
Please login to merge, or discard this patch.
Apps/Model/Front/Profile/FormWallPostDelete.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@  discard block
 block discarded – undo
20 20
 
21 21
 
22 22
     /**
23
-    * Set post id based on post active record
24
-    */
23
+     * Set post id based on post active record
24
+     */
25 25
     public function before()
26 26
     {
27 27
         $this->id = $this->_post->id;
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
 
30 30
 
31 31
     /**
32
-    * Pseudo-rules, here is not required
33
-    */
32
+     * Pseudo-rules, here is not required
33
+     */
34 34
     public function rules()
35 35
     {
36 36
         return [];
Please login to merge, or discard this patch.
Apps/Model/Front/User/FormRecovery.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.
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.
Private/Config/Permissions.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -1,39 +1,39 @@
 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/Application/Install',
11
-  7 => 'Admin/Content/Index',
12
-  8 => 'Admin/Content/Update',
13
-  9 => 'Admin/Content/Delete',
14
-  10 => 'Admin/Content/Restore',
15
-  11 => 'Admin/Content/Clear',
16
-  12 => 'Admin/Content/Categories',
17
-  13 => 'Admin/Content/Categorydelete',
18
-  14 => 'Admin/Content/Categoryupdate',
19
-  15 => 'Admin/Content/Settings',
20
-  16 => 'Admin/Main/Index',
21
-  17 => 'Admin/Main/Settings',
22
-  18 => 'Admin/Main/Files',
23
-  19 => 'Admin/Main/Antivirus',
24
-  20 => 'Admin/Main/Debugcookie',
25
-  21 => 'Admin/Profile/Index',
26
-  22 => 'Admin/Profile/Delete',
27
-  23 => 'Admin/Profile/Update',
28
-  24 => 'Admin/Profile/Fieldlist',
29
-  25 => 'Admin/Profile/Fieldupdate',
30
-  26 => 'Admin/Profile/Fielddelete',
31
-  27 => 'Admin/Profile/Settings',
32
-  28 => 'Admin/User/Index',
33
-  29 => 'Admin/User/Update',
34
-  30 => 'Admin/User/Delete',
35
-  31 => 'Admin/User/Grouplist',
36
-  32 => 'Admin/User/GroupUpdate',
37
-  33 => 'Admin/User/Settings',
38
-  34 => '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/Application/Install',
11
+    7 => 'Admin/Content/Index',
12
+    8 => 'Admin/Content/Update',
13
+    9 => 'Admin/Content/Delete',
14
+    10 => 'Admin/Content/Restore',
15
+    11 => 'Admin/Content/Clear',
16
+    12 => 'Admin/Content/Categories',
17
+    13 => 'Admin/Content/Categorydelete',
18
+    14 => 'Admin/Content/Categoryupdate',
19
+    15 => 'Admin/Content/Settings',
20
+    16 => 'Admin/Main/Index',
21
+    17 => 'Admin/Main/Settings',
22
+    18 => 'Admin/Main/Files',
23
+    19 => 'Admin/Main/Antivirus',
24
+    20 => 'Admin/Main/Debugcookie',
25
+    21 => 'Admin/Profile/Index',
26
+    22 => 'Admin/Profile/Delete',
27
+    23 => 'Admin/Profile/Update',
28
+    24 => 'Admin/Profile/Fieldlist',
29
+    25 => 'Admin/Profile/Fieldupdate',
30
+    26 => 'Admin/Profile/Fielddelete',
31
+    27 => 'Admin/Profile/Settings',
32
+    28 => 'Admin/User/Index',
33
+    29 => 'Admin/User/Update',
34
+    30 => 'Admin/User/Delete',
35
+    31 => 'Admin/User/Grouplist',
36
+    32 => 'Admin/User/GroupUpdate',
37
+    33 => 'Admin/User/Settings',
38
+    34 => 'Admin/User/Invite',
39 39
 );
40 40
\ No newline at end of file
Please login to merge, or discard this patch.
Private/Config/Routing.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php return [
2
-	'Alias' => [
3
-		'Front' => [
4
-			'/' => '/content/list/news',
5
-			'/test' => '/content/read/o-saite'
6
-		]
7
-	],
8
-	'Callback' => [
9
-		'Front' => [
10
-			'Demo' => '\Apps\Controller\Front\Main'
11
-		]
12
-	]
2
+    'Alias' => [
3
+        'Front' => [
4
+            '/' => '/content/list/news',
5
+            '/test' => '/content/read/o-saite'
6
+        ]
7
+    ],
8
+    'Callback' => [
9
+        'Front' => [
10
+            'Demo' => '\Apps\Controller\Front\Main'
11
+        ]
12
+    ]
13 13
 ];
14 14
\ No newline at end of file
Please login to merge, or discard this patch.