Test Failed
Branch v5 (12d602)
by Alexey
04:51
created
system/Inji/App.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
         }
107 107
         return false;
108 108
     }
109
-    public function possibleModuleClasses($moduleName){
109
+    public function possibleModuleClasses($moduleName) {
110 110
         $possibleModules = [];
111 111
         if ($this->namespace) {
112 112
             $possibleModules[] = $this->namespace . '\\' . $moduleName;
Please login to merge, or discard this patch.
system/Inji/Model.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1023,12 +1023,12 @@  discard block
 block discarded – undo
1023 1023
         }
1024 1024
         static::$relJoins = [];
1025 1025
         if (!empty($options['limit'])) {
1026
-            $limit = (int)$options['limit'];
1026
+            $limit = (int) $options['limit'];
1027 1027
         } else {
1028 1028
             $limit = 0;
1029 1029
         }
1030 1030
         if (!empty($options['start'])) {
1031
-            $start = (int)$options['start'];
1031
+            $start = (int) $options['start'];
1032 1032
         } else {
1033 1033
             $start = 0;
1034 1034
         }
@@ -1134,12 +1134,12 @@  discard block
 block discarded – undo
1134 1134
             $query->order($options['order']);
1135 1135
         }
1136 1136
         if (!empty($options['limit'])) {
1137
-            $limit = (int)$options['limit'];
1137
+            $limit = (int) $options['limit'];
1138 1138
         } else {
1139 1139
             $limit = 0;
1140 1140
         }
1141 1141
         if (!empty($options['start'])) {
1142
-            $start = (int)$options['start'];
1142
+            $start = (int) $options['start'];
1143 1143
         } else {
1144 1144
             $start = 0;
1145 1145
         }
@@ -1858,13 +1858,13 @@  discard block
 block discarded – undo
1858 1858
         if (!empty($className::$cols[$shortName])) {
1859 1859
             switch ($className::$cols[$shortName]['type']) {
1860 1860
                 case 'decimal':
1861
-                    $value = (float)$value;
1861
+                    $value = (float) $value;
1862 1862
                     break;
1863 1863
                 case 'number':
1864
-                    $value = (int)$value;
1864
+                    $value = (int) $value;
1865 1865
                     break;
1866 1866
                 case 'bool':
1867
-                    $value = (bool)$value;
1867
+                    $value = (bool) $value;
1868 1868
                     break;
1869 1869
             }
1870 1870
         }
Please login to merge, or discard this patch.
system/modules/Db/objects/InjiStorage/Query.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         return $this->connection->updateItems($tableName, $this->whereArray, $values, $this->dbOptions);
62 62
     }
63 63
 
64
-    public function delete(string $tableName='') {
64
+    public function delete(string $tableName = '') {
65 65
         if (!$tableName) {
66 66
             $tableName = $this->table;
67 67
         }
Please login to merge, or discard this patch.
system/modules/Ui/objects/ActiveForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
         return true;
249 249
     }
250 250
 
251
-    public static function getOptionsList($inputParams, $params = [], $modelName = '', $aditionalInputNamePrefix = 'aditional', $options = [],$model=false) {
251
+    public static function getOptionsList($inputParams, $params = [], $modelName = '', $aditionalInputNamePrefix = 'aditional', $options = [], $model = false) {
252 252
         $values = [];
253 253
         switch ($inputParams['source']) {
254 254
             case 'model':
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
                 break;
260 260
             case 'method':
261 261
                 if (!empty($inputParams['params'])) {
262
-                    $values = call_user_func_array([\App::$cur->{$inputParams['module']}, $inputParams['method']], $inputParams['params']+[$model]);
262
+                    $values = call_user_func_array([\App::$cur->{$inputParams['module']}, $inputParams['method']], $inputParams['params'] + [$model]);
263 263
                 } else {
264 264
                     $values = \App::$cur->{$inputParams['module']}->{$inputParams['method']}($model);
265 265
                 }
Please login to merge, or discard this patch.