Passed
Push — master ( 336a24...a4f66d )
by Mihail
14:10
created
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.
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.
Apps/Model/Install/Main/FormInstall.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Apps\ActiveRecord\Profile;
6 6
 use Apps\ActiveRecord\User;
7
-use Apps\Controller\Console\Db;
8 7
 use Ffcms\Core\App;
9 8
 use Ffcms\Core\Arch\Model;
10 9
 use Ffcms\Core\Helper\FileSystem\File;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
     }
26 26
 
27 27
     /**
28
-    * Labels for installation form
29
-    */
28
+     * Labels for installation form
29
+     */
30 30
     public function labels()
31 31
     {
32 32
         return [
@@ -46,8 +46,8 @@  discard block
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-    * Installation post data validation
50
-    */
49
+     * Installation post data validation
50
+     */
51 51
     public function rules()
52 52
     {
53 53
         return [
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         $cfg['database'] = $this->db;
71 71
         $cfg['adminEmail'] = $this->email;
72 72
         $cfg['singleLanguage'] = $this->singleLanguage;
73
-        $cfg['multiLanguage'] = (bool)$this->multiLanguage;
73
+        $cfg['multiLanguage'] = (bool) $this->multiLanguage;
74 74
         $cfg['passwordSalt'] = '$2a$07$' . Str::randomLatinNumeric(mt_rand(21, 30)) . '$';
75 75
         $cfg['debug']['cookie']['key'] = 'fdebug_' . Str::randomLatinNumeric(mt_rand(4, 16));
76 76
         $cfg['debug']['cookie']['value'] = Str::randomLatinNumeric(mt_rand(32, 128));
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/Controller/Console/Db.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@
 block discarded – undo
52 52
             throw new NativeException('Password is bad');
53 53
         }
54 54
         echo "RoleId (1 = user, 3 = admin):";
55
-        $role = (int)App::$Input->read();
56
-        if (!Arr::in($role, [1,2,3])) {
55
+        $role = (int) App::$Input->read();
56
+        if (!Arr::in($role, [1, 2, 3])) {
57 57
             $role = 1;
58 58
         }
59 59
 
Please login to merge, or discard this patch.
Apps/ActiveRecord/Blacklist.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * Get target user for current record
44
-     * @return bool|\Illuminate\Support\Collection|null|static
44
+     * @return null|\Ffcms\Core\Interfaces\iUser
45 45
      */
46 46
     public function getUser()
47 47
     {
Please login to merge, or discard this patch.