Test Failed
Push — master ( 503dc7...d178d4 )
by Alexey
04:55
created
system/modules/Menu/models/Menu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
                 'type' => 'many',
65 65
                 'model' => 'Menu\Item',
66 66
                 'col' => 'Menu_id',
67
-                'where'=>[['parent_id',0]]
67
+                'where'=>[['parent_id', 0]]
68 68
             ],
69 69
             'group' => [
70 70
                 'col' => 'group_id',
Please login to merge, or discard this patch.
system/modules/Menu/widgets/menuCollapse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     $code = 'main';
7 7
 }
8 8
 $uid = Tools::randomString();
9
-$childDraws = function($item, $childDraws, $uid) {
9
+$childDraws = function ($item, $childDraws, $uid) {
10 10
     if ($item->childs(['order' => ['weight', 'asc']])) {
11 11
         echo "<ul class ='dropdown-menu'>";
12 12
 
Please login to merge, or discard this patch.
system/modules/Menu/widgets/menu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 if (empty($code)) {
7 7
     $code = 'main';
8 8
 }
9
-$childDraws = function($item, $childDraws) {
9
+$childDraws = function ($item, $childDraws) {
10 10
     if ($item->childs(['order' => ['weight', 'asc']])) {
11 11
         echo "<ul class ='list-unstyled'>";
12 12
         foreach ($item->childs(['order' => ['weight', 'asc']]) as $item) {
Please login to merge, or discard this patch.
system/modules/Modules/appAdminControllers/content/install.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <h1>Установка модулей</h1>
2 2
 <form>
3 3
   <?php
4
-  $config = Config::app(App::$primary ? App::$primary : App::$cur);
5
-  $modules = array_flip(Module::getInstalled(App::$cur));
6
-  $systemModules = array_merge(array_slice(scandir(INJI_SYSTEM_DIR . '/modules'), 2), array_slice(scandir(App::$primary->path . '/modules'), 2));
7
-  foreach ($systemModules as $module) {
8
-      $info = Module::getInfo($module);
9
-      if (!$info || isset($modules[$module])) {
10
-          continue;
11
-      }
12
-      ?>
4
+    $config = Config::app(App::$primary ? App::$primary : App::$cur);
5
+    $modules = array_flip(Module::getInstalled(App::$cur));
6
+    $systemModules = array_merge(array_slice(scandir(INJI_SYSTEM_DIR . '/modules'), 2), array_slice(scandir(App::$primary->path . '/modules'), 2));
7
+    foreach ($systemModules as $module) {
8
+        $info = Module::getInfo($module);
9
+        if (!$info || isset($modules[$module])) {
10
+            continue;
11
+        }
12
+        ?>
13 13
         <div class ="form-group">
14 14
             <div class="checkbox">
15 15
                 <label>
Please login to merge, or discard this patch.