Passed
Push — master ( c1fc2f...23f085 )
by Mihail
04:43
created
Apps/ActiveRecord/App.php 2 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 Ffcms\Core\App;
6 6
 use Ffcms\Core\Arch\Model;
7
-use Ffcms\Core\Helper\Type\Obj;
8 7
 use Ffcms\Core\Helper\Type\Str;
9 8
 use Ffcms\Core\Interfaces\iUser;
10 9
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
             return false;
128 128
         }
129 129
 
130
-        return (float)constant($class.'::VERSION') === (float)$this->version;
130
+        return (float) constant($class . '::VERSION') === (float) $this->version;
131 131
     }
132 132
 
133 133
 }
134 134
\ No newline at end of file
Please login to merge, or discard this patch.
Apps/View/Admin/default/application/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     $route = $app->sys_name . '/index';
30 30
     $icoStatus = null;
31 31
     $actions = \App::$View->render('macro/app_actions', ['controller' => $app->sys_name]);
32
-    if ((int)$app->disabled !== 0) {
32
+    if ((int) $app->disabled !== 0) {
33 33
         $icoStatus = ' <i class="fa fa-pause" style="color: #ff0000;"></i>';
34 34
     } elseif ($app->checkVersion() !== true) {
35 35
         $icoStatus = ' <i class="fa fa-exclamation" style="color: #ffbd26;"></i>';
Please login to merge, or discard this patch.
Apps/Model/Admin/Application/FormInstall.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     public function before()
40 40
     {
41 41
         foreach ($this->_apps as $app) {
42
-            $this->_definedControllers[] = (string)$app->sys_name;
42
+            $this->_definedControllers[] = (string) $app->sys_name;
43 43
         }
44 44
 
45 45
         parent::before();
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         }
78 78
 
79 79
         // get ext version
80
-        $cVersion = (float)constant($cPath . '::VERSION');
80
+        $cVersion = (float) constant($cPath . '::VERSION');
81 81
         if ($cVersion < 0.1) {
82 82
             $cVersion = 0.1;
83 83
         }
Please login to merge, or discard this patch.