Passed
Push — master ( 734a7e...9d7fc3 )
by Mihail
04:51
created
console.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,4 +3,4 @@
 block discarded – undo
3 3
 define('root', __DIR__);
4 4
 error_reporting(E_ALL ^ E_NOTICE);
5 5
 
6
-require_once(root . '/Loader/Console/index.php');
7 6
\ No newline at end of file
7
+require_once(root.'/Loader/Console/index.php');
8 8
\ No newline at end of file
Please login to merge, or discard this patch.
Extend/Core/Arch/FrontWidget.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,13 +22,13 @@
 block discarded – undo
22 22
         // widget is not founded, deny run
23 23
         if ($wData === null) {
24 24
             if (App::$Debug !== null) {
25
-                App::$Debug->addMessage('Widget with name "' . App::$Security->strip_tags(self::$name) . '"[' . self::$class . '] is not founded!', 'error');
25
+                App::$Debug->addMessage('Widget with name "'.App::$Security->strip_tags(self::$name).'"['.self::$class.'] is not founded!', 'error');
26 26
             }
27 27
             return null;
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.
Extend/Core/Captcha/Gregwar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function get()
27 27
     {
28
-        return App::$Alias->scriptUrl . '/api/captcha/gregwar?time=' . microtime(true) . '&lang=' . App::$Request->getLanguage();
28
+        return App::$Alias->scriptUrl.'/api/captcha/gregwar?time='.microtime(true).'&lang='.App::$Request->getLanguage();
29 29
     }
30 30
 
31 31
     /**
Please login to merge, or discard this patch.
Extend/Core/Captcha/Recaptcha.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,9 +39,9 @@  discard block
 block discarded – undo
39 39
     public function get()
40 40
     {
41 41
         // build google captcha ;)
42
-        $html = '<div class="g-recaptcha" data-sitekey="' . self::$siteKey . '"></div>
42
+        $html = '<div class="g-recaptcha" data-sitekey="'.self::$siteKey.'"></div>
43 43
             <script type="text/javascript"
44
-                    src="https://www.google.com/recaptcha/api.js?hl=' . App::$Request->getLanguage() . '">
44
+                    src="https://www.google.com/recaptcha/api.js?hl=' . App::$Request->getLanguage().'">
45 45
             </script>';
46 46
         return $html;
47 47
     }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         ]);
65 65
 
66 66
         // make request and parse response
67
-        $url = $request->getSchemeAndHttpHost() . $request->getRequestUri();
67
+        $url = $request->getSchemeAndHttpHost().$request->getRequestUri();
68 68
         $response = Url::getRemoteContent($url);
69 69
         $object = json_decode($response);
70 70
 
Please login to merge, or discard this patch.
Loader/Install/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 // this environment is based on json response type
13 13
 define('env_type', 'json');
14 14
 
15
-require_once(root . '/Loader/Autoload.php');
15
+require_once(root.'/Loader/Autoload.php');
16 16
 
17 17
 // make fast-access alias \App::$Object
18 18
 // class_alias('Ffcms\Core\App', 'App');
Please login to merge, or discard this patch.
Loader/Front/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 // this environment is based on json response type
13 13
 define('env_type', 'json');
14 14
 
15
-require_once(root . '/Loader/Autoload.php');
15
+require_once(root.'/Loader/Autoload.php');
16 16
 
17 17
 // make fast-access alias \App::$Object
18 18
 // class_alias('Ffcms\Core\App', 'App');
Please login to merge, or discard this patch.
Loader/Admin/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 // this environment is based on json response type
13 13
 define('env_type', 'json');
14 14
 
15
-require_once(root . '/Loader/Autoload.php');
15
+require_once(root.'/Loader/Autoload.php');
16 16
 
17 17
 // make fast-access alias \App::$Object
18 18
 // class_alias('Ffcms\Core\App', 'App');
Please login to merge, or discard this patch.
Apps/View/Front/default/user/login.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
 <?php if ($useCaptcha === true) {
32 32
     if (\App::$Captcha->isFull()) {
33
-        echo '<div class="col-md-offset-3 col-md-9">' . \App::$Captcha->get() . '</div>';
33
+        echo '<div class="col-md-offset-3 col-md-9">'.\App::$Captcha->get().'</div>';
34 34
     } else {
35 35
         echo $form->field('captcha', 'captcha', ['class' => 'form-control'], __('Enter data from security image to prove that you are human. If you can\'t read symbols - click on image to reload'));
36 36
     }
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 use Ffcms\Core\Helper\HTML\Form;
3
-use Ffcms\Core\Helper\Type\Str;
4
-use Ffcms\Core\Helper\Url;
5 3
 
6 4
 /** @var $useCaptcha bool */
7 5
 /** @var $model \Apps\Model\Front\User\FormLogin */
Please login to merge, or discard this patch.
Apps/View/Front/default/user/signup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
 <?php if ($useCaptcha === true) {
32 32
     if (\App::$Captcha->isFull()) {
33
-        echo '<div class="col-md-offset-3 col-md-9">' . \App::$Captcha->get() . '</div>';
33
+        echo '<div class="col-md-offset-3 col-md-9">'.\App::$Captcha->get().'</div>';
34 34
     } else {
35 35
         echo $form->field('captcha', 'captcha', ['class' => 'form-control'], __('Enter data from security image to prove that you are human. If you can\'t read symbols - click on image to reload'));
36 36
     }
Please login to merge, or discard this patch.