Passed
Push — master ( bc905b...ef8807 )
by Mihail
04:40
created
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/Model/Admin/User/FormUserSettings.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,8 @@
 block discarded – undo
27 27
     }
28 28
 
29 29
     /**
30
-    * Load configs from app data
31
-    */
30
+     * Load configs from app data
31
+     */
32 32
     public function before()
33 33
     {
34 34
         if ($this->_config === null) {
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(): array
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(): array
107 107
     {
108 108
         $r = [
Please login to merge, or discard this patch.
Apps/Model/Admin/Main/FormSettings.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
     public $trustedProxy;
51 51
 
52 52
     /**
53
-    * Set property values from configurations
54
-    */
53
+     * Set property values from configurations
54
+     */
55 55
     public function before()
56 56
     {
57 57
         $properties = App::$Properties->getAll();
Please login to merge, or discard this patch.
Private/Config/Cron.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
-	'instances' => [
3
-		'Apps\Controller\Front\Content::buildSitemapSchedule' => 3600,
4
-		'Apps\Controller\Front\Profile::buildSitemapSchedule' => 10800,
5
-		'Apps\Controller\Front\Profile::cleanupTablesSchedule' => 86400
6
-	]
2
+    'instances' => [
3
+        'Apps\Controller\Front\Content::buildSitemapSchedule' => 3600,
4
+        'Apps\Controller\Front\Profile::buildSitemapSchedule' => 10800,
5
+        'Apps\Controller\Front\Profile::cleanupTablesSchedule' => 86400
6
+    ]
7 7
 ];
8 8
\ No newline at end of file
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
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         
77 77
         // render view
78 78
         return App::$View->render($this->tpl, [
79
-           'records' => $query
79
+            'records' => $query
80 80
         ]);
81 81
     }
82 82
     
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
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     /**
68 68
      * Prepare model attributes from passed objects
69 69
      * @throws ForbiddenException
70
-    */
70
+     */
71 71
     public function before()
72 72
     {
73 73
         // set class attributes from ActiveRecord objects
Please login to merge, or discard this patch.
Private/Config/Permissions.php 1 patch
Indentation   +66 added lines, -66 removed lines patch added patch discarded remove patch
@@ -1,70 +1,70 @@
 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/Install',
10
-  6 => 'Admin/Application/Update',
11
-  7 => 'Admin/Application/Turn',
12
-  8 => 'Admin/Comments/Index',
13
-  9 => 'Admin/Comments/Read',
14
-  10 => 'Admin/Comments/Edit',
15
-  11 => 'Admin/Comments/Delete',
16
-  12 => 'Admin/Comments/Publish',
17
-  13 => 'Admin/Comments/Answerlist',
18
-  14 => 'Admin/Comments/Settings',
19
-  15 => 'Admin/Content/Index',
20
-  16 => 'Admin/Content/Update',
21
-  17 => 'Admin/Content/Delete',
22
-  18 => 'Admin/Content/Restore',
23
-  19 => 'Admin/Content/Clear',
24
-  20 => 'Admin/Content/Categories',
25
-  21 => 'Admin/Content/Categorydelete',
26
-  22 => 'Admin/Content/Categoryupdate',
27
-  23 => 'Admin/Content/Globdelete',
28
-  24 => 'Admin/Content/Publish',
29
-  25 => 'Admin/Content/Settings',
30
-  26 => 'Admin/Contenttag/Index',
31
-  27 => 'Admin/Feedback/Index',
32
-  28 => 'Admin/Feedback/Read',
33
-  29 => 'Admin/Feedback/Update',
34
-  30 => 'Admin/Feedback/Turn',
35
-  31 => 'Admin/Feedback/Delete',
36
-  32 => 'Admin/Feedback/Settings',
37
-  33 => 'Admin/Main/Index',
38
-  34 => 'Admin/Main/Settings',
39
-  35 => 'Admin/Main/Files',
40
-  36 => 'Admin/Main/Antivirus',
41
-  37 => 'Admin/Main/Debugcookie',
42
-  38 => 'Admin/Main/Routing',
43
-  39 => 'Admin/Main/Addroute',
44
-  40 => 'Admin/Main/Deleteroute',
45
-  41 => 'Admin/Main/Cache',
46
-  42 => 'Admin/Main/Sessions',
47
-  43 => 'Admin/Newcomment/Index',
48
-  44 => 'Admin/Newcontent/Index',
49
-  45 => 'Admin/Profile/Index',
50
-  46 => 'Admin/Profile/Delete',
51
-  47 => 'Admin/Profile/Update',
52
-  48 => 'Admin/Profile/Fieldlist',
53
-  49 => 'Admin/Profile/Fieldupdate',
54
-  50 => 'Admin/Profile/Fielddelete',
55
-  51 => 'Admin/Profile/Settings',
56
-  52 => 'Admin/Search/Index',
57
-  53 => 'Admin/Sitemap/Index',
58
-  54 => 'Admin/User/Index',
59
-  55 => 'Admin/User/Update',
60
-  56 => 'Admin/User/Delete',
61
-  57 => 'Admin/User/Grouplist',
62
-  58 => 'Admin/User/GroupUpdate',
63
-  59 => 'Admin/User/Settings',
64
-  60 => 'Admin/User/Invite',
65
-  61 => 'Admin/Widget/Index',
66
-  62 => 'Admin/Widget/Install',
67
-  63 => 'Admin/Widget/Update',
68
-  64 => 'Admin/Widget/Turn',
69
-  65 => 'global/upload'
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/Install',
10
+    6 => 'Admin/Application/Update',
11
+    7 => 'Admin/Application/Turn',
12
+    8 => 'Admin/Comments/Index',
13
+    9 => 'Admin/Comments/Read',
14
+    10 => 'Admin/Comments/Edit',
15
+    11 => 'Admin/Comments/Delete',
16
+    12 => 'Admin/Comments/Publish',
17
+    13 => 'Admin/Comments/Answerlist',
18
+    14 => 'Admin/Comments/Settings',
19
+    15 => 'Admin/Content/Index',
20
+    16 => 'Admin/Content/Update',
21
+    17 => 'Admin/Content/Delete',
22
+    18 => 'Admin/Content/Restore',
23
+    19 => 'Admin/Content/Clear',
24
+    20 => 'Admin/Content/Categories',
25
+    21 => 'Admin/Content/Categorydelete',
26
+    22 => 'Admin/Content/Categoryupdate',
27
+    23 => 'Admin/Content/Globdelete',
28
+    24 => 'Admin/Content/Publish',
29
+    25 => 'Admin/Content/Settings',
30
+    26 => 'Admin/Contenttag/Index',
31
+    27 => 'Admin/Feedback/Index',
32
+    28 => 'Admin/Feedback/Read',
33
+    29 => 'Admin/Feedback/Update',
34
+    30 => 'Admin/Feedback/Turn',
35
+    31 => 'Admin/Feedback/Delete',
36
+    32 => 'Admin/Feedback/Settings',
37
+    33 => 'Admin/Main/Index',
38
+    34 => 'Admin/Main/Settings',
39
+    35 => 'Admin/Main/Files',
40
+    36 => 'Admin/Main/Antivirus',
41
+    37 => 'Admin/Main/Debugcookie',
42
+    38 => 'Admin/Main/Routing',
43
+    39 => 'Admin/Main/Addroute',
44
+    40 => 'Admin/Main/Deleteroute',
45
+    41 => 'Admin/Main/Cache',
46
+    42 => 'Admin/Main/Sessions',
47
+    43 => 'Admin/Newcomment/Index',
48
+    44 => 'Admin/Newcontent/Index',
49
+    45 => 'Admin/Profile/Index',
50
+    46 => 'Admin/Profile/Delete',
51
+    47 => 'Admin/Profile/Update',
52
+    48 => 'Admin/Profile/Fieldlist',
53
+    49 => 'Admin/Profile/Fieldupdate',
54
+    50 => 'Admin/Profile/Fielddelete',
55
+    51 => 'Admin/Profile/Settings',
56
+    52 => 'Admin/Search/Index',
57
+    53 => 'Admin/Sitemap/Index',
58
+    54 => 'Admin/User/Index',
59
+    55 => 'Admin/User/Update',
60
+    56 => 'Admin/User/Delete',
61
+    57 => 'Admin/User/Grouplist',
62
+    58 => 'Admin/User/GroupUpdate',
63
+    59 => 'Admin/User/Settings',
64
+    60 => 'Admin/User/Invite',
65
+    61 => 'Admin/Widget/Index',
66
+    62 => 'Admin/Widget/Install',
67
+    63 => 'Admin/Widget/Update',
68
+    64 => 'Admin/Widget/Turn',
69
+    65 => 'global/upload'
70 70
 );
71 71
\ No newline at end of file
Please login to merge, or discard this patch.
Private/Config/Default.php 1 patch
Indentation   +47 added lines, -47 removed lines patch added patch discarded remove patch
@@ -1,49 +1,49 @@
 block discarded – undo
1 1
 <?php return [
2
-	'baseProto' => 'http',
3
-	'baseDomain' => 'ffcms3.test',
4
-	'basePath' => '/',
5
-	'passwordSalt' => '$2a$07$GEc5J9C48A0Aom5ph53Al13aa$',
6
-	'timezone' => 'Europe/Moscow',
7
-	'adminEmail' => false,
8
-	'debug' => [
9
-		'all' => false,
10
-		'cookie' => [
11
-			'key' => 'fdebug_ebcfb0',
12
-			'value' => 'e377c1648b7f1f6364c081bd339a93c101881f77da9b815a4ed605822ed33dee9debee99611afe0001be2c8e7e07705833901954543'
13
-		]
14
-	],
15
-	'userCron' => false,
16
-	'testSuite' => false,
17
-	'theme' => [
18
-		'Front' => 'default',
19
-		'Admin' => 'default'
20
-	],
21
-	'database' => [
22
-		'driver' => 'mysql',
23
-		'host' => '127.0.0.1',
24
-		'username' => 'mysql',
25
-		'password' => 'mysql',
26
-		'database' => 'ffcms',
27
-		'prefix' => 'ffcms_',
28
-		'charset' => 'utf8',
29
-		'collation' => 'utf8_unicode_ci'
30
-	],
31
-	'mail' => [
32
-		'host' => 'localhost',
33
-		'port' => '23',
34
-		'user' => '[email protected]',
35
-		'encrypt' => 'tls',
36
-		'password' => '1234'
37
-	],
38
-	'baseLanguage' => 'en',
39
-	'multiLanguage' => true,
40
-	'singleLanguage' => 'en',
41
-	'languages' => [
42
-		'en',
43
-		'ru'
44
-	],
45
-	'languageDomainAlias' => false,
46
-	'gaClientId' => '570934480862-son8fr180fr6u6tlt9iqpjpoesngro0o.apps.googleusercontent.com',
47
-	'gaTrackId' => false,
48
-	'trustedProxy' => false
2
+    'baseProto' => 'http',
3
+    'baseDomain' => 'ffcms3.test',
4
+    'basePath' => '/',
5
+    'passwordSalt' => '$2a$07$GEc5J9C48A0Aom5ph53Al13aa$',
6
+    'timezone' => 'Europe/Moscow',
7
+    'adminEmail' => false,
8
+    'debug' => [
9
+        'all' => false,
10
+        'cookie' => [
11
+            'key' => 'fdebug_ebcfb0',
12
+            'value' => 'e377c1648b7f1f6364c081bd339a93c101881f77da9b815a4ed605822ed33dee9debee99611afe0001be2c8e7e07705833901954543'
13
+        ]
14
+    ],
15
+    'userCron' => false,
16
+    'testSuite' => false,
17
+    'theme' => [
18
+        'Front' => 'default',
19
+        'Admin' => 'default'
20
+    ],
21
+    'database' => [
22
+        'driver' => 'mysql',
23
+        'host' => '127.0.0.1',
24
+        'username' => 'mysql',
25
+        'password' => 'mysql',
26
+        'database' => 'ffcms',
27
+        'prefix' => 'ffcms_',
28
+        'charset' => 'utf8',
29
+        'collation' => 'utf8_unicode_ci'
30
+    ],
31
+    'mail' => [
32
+        'host' => 'localhost',
33
+        'port' => '23',
34
+        'user' => '[email protected]',
35
+        'encrypt' => 'tls',
36
+        'password' => '1234'
37
+    ],
38
+    'baseLanguage' => 'en',
39
+    'multiLanguage' => true,
40
+    'singleLanguage' => 'en',
41
+    'languages' => [
42
+        'en',
43
+        'ru'
44
+    ],
45
+    'languageDomainAlias' => false,
46
+    'gaClientId' => '570934480862-son8fr180fr6u6tlt9iqpjpoesngro0o.apps.googleusercontent.com',
47
+    'gaTrackId' => false,
48
+    'trustedProxy' => false
49 49
 ];
50 50
\ No newline at end of file
Please login to merge, or discard this patch.