Completed
Branch master (ebb499)
by Alexey
04:15
created
system/modules/Exchange1c/objects/Mode/File.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,8 @@
 block discarded – undo
24 24
         $code .= '$' . $this->name . ' = ';
25 25
         if (is_array($this->value)) {
26 26
             $code .= \CodeGenerator::genArray($this->value);
27
-        } else {
27
+        }
28
+        else {
28 29
             $code .= '"' . str_replace('"', '\"', $this->value) . '";';
29 30
         }
30 31
         return $code;
Please login to merge, or discard this patch.
system/modules/Ui/Controllers/UiController.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,8 @@  discard block
 block discarded – undo
27 27
                 }
28 28
             }
29 29
             return $result;
30
-        } else {
30
+        }
31
+        else {
31 32
             return Router::loadClass($className);
32 33
         }
33 34
     }
@@ -99,7 +100,8 @@  discard block
 block discarded – undo
99 100
             $paths[$code . '_ObjectDir'] = $folder . '/objects/' . $classPath . '/' . $classPath . '.php';
100 101
             $paths[$code . '_Model'] = $folder . '/models/' . $classPath . '.php';
101 102
             $paths[$code . '_ModelDir'] = $folder . '/models/' . $classPath . '/' . $classPath . '.php';
102
-        } else {
103
+        }
104
+        else {
103 105
             $classFile = substr($classPath, strrpos($classPath, '/') + 1);
104 106
             $classPathWithotClass = substr($classPath, 0, strrpos($classPath, '/'));
105 107
 
Please login to merge, or discard this patch.
system/modules/Ui/Controllers/ActiveFormController.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,8 @@
 block discarded – undo
24 24
         $code .= '$' . $this->name . ' = ';
25 25
         if (is_array($this->value)) {
26 26
             $code .= \CodeGenerator::genArray($this->value);
27
-        } else {
27
+        }
28
+        else {
28 29
             $code .= '"' . str_replace('"', '\"', $this->value) . '";';
29 30
         }
30 31
         return $code;
Please login to merge, or discard this patch.
system/modules/Ui/widgets/ActiveForm/ActiveForm.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,8 @@
 block discarded – undo
43 43
 function INJI_SYSTEM_ERROR($msg, $fatal = false) {
44 44
     if ($fatal) {
45 45
         exit("<div style = 'text-align:center;font-size:20px;margin-top:25%;'>{$msg}</div>");
46
-    } else {
46
+    }
47
+    else {
47 48
         echo "<div style = 'text-align:center;font-size:20px;margin-top:25%;'>{$msg}</div>";
48 49
     }
49 50
 }
Please login to merge, or discard this patch.
system/modules/Ui/widgets/DataManager/managerButtons.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,8 @@
 block discarded – undo
43 43
 function INJI_SYSTEM_ERROR($msg, $fatal = false) {
44 44
     if ($fatal) {
45 45
         exit("<div style = 'text-align:center;font-size:20px;margin-top:25%;'>{$msg}</div>");
46
-    } else {
46
+    }
47
+    else {
47 48
         echo "<div style = 'text-align:center;font-size:20px;margin-top:25%;'>{$msg}</div>";
48 49
     }
49 50
 }
Please login to merge, or discard this patch.
system/modules/Ui/widgets/Table/head.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <tfoot>
2 2
     <tr>
3 3
       <?php
4
-      foreach ($table->cols as $col) {
5
-          if (is_string($col)) {
6
-              echo "<th>{$col}</th>";
7
-          } else {
8
-              echo Html::el('th', !empty($col['attributes']) ? $col['attributes'] : [], $col['text']);
9
-          }
10
-      }
11
-      ?>
4
+        foreach ($table->cols as $col) {
5
+            if (is_string($col)) {
6
+                echo "<th>{$col}</th>";
7
+            } else {
8
+                echo Html::el('th', !empty($col['attributes']) ? $col['attributes'] : [], $col['text']);
9
+            }
10
+        }
11
+        ?>
12 12
     </tr>
13 13
 </tfoot>
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,8 @@
 block discarded – undo
4 4
       foreach ($table->cols as $col) {
5 5
           if (is_string($col)) {
6 6
               echo "<th>{$col}</th>";
7
-          } else {
7
+          }
8
+          else {
8 9
               echo Html::el('th', !empty($col['attributes']) ? $col['attributes'] : [], $col['text']);
9 10
           }
10 11
       }
Please login to merge, or discard this patch.
system/modules/Ui/objects/ActiveForm/Input/Map.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,8 @@
 block discarded – undo
24 24
         $code .= '$' . $this->name . ' = ';
25 25
         if (is_array($this->value)) {
26 26
             $code .= \CodeGenerator::genArray($this->value);
27
-        } else {
27
+        }
28
+        else {
28 29
             $code .= '"' . str_replace('"', '\"', $this->value) . '";';
29 30
         }
30 31
         return $code;
Please login to merge, or discard this patch.
system/modules/Ui/objects/Form.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,10 +25,12 @@
 block discarded – undo
25 25
             }
26 26
             if (password_verify($_POST['systemPass'], $config['systemPass'])) {
27 27
                 $_SESSION['systemLogin'] = 1;
28
-            } else {
28
+            }
29
+            else {
29 30
                 if (empty($config['failTry'])) {
30 31
                     $config['failTry'] = 1;
31
-                } else {
32
+                }
33
+                else {
32 34
                     $config['failTry'] ++;
33 35
                 }
34 36
                 Config::save('share', $config);
Please login to merge, or discard this patch.
system/modules/Ui/objects/FastEdit.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,8 @@
 block discarded – undo
24 24
         $code .= '$' . $this->name . ' = ';
25 25
         if (is_array($this->value)) {
26 26
             $code .= \CodeGenerator::genArray($this->value);
27
-        } else {
27
+        }
28
+        else {
28 29
             $code .= '"' . str_replace('"', '\"', $this->value) . '";';
29 30
         }
30 31
         return $code;
Please login to merge, or discard this patch.