Test Failed
Push — master ( 455e4b...8d6371 )
by Alexey
04:40
created
system/modules/Chats/models/Chat.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
16 16
     public static $cols = [
17 17
         'name' => ['type' => 'text'],
18 18
         'code' => ['type' => 'text'],
19
-        'message' => ['type' => 'dataManager','relation'=>'messages'],
19
+        'message' => ['type' => 'dataManager', 'relation'=>'messages'],
20 20
     ];
21 21
     public static $dataManagers = [
22 22
         'manager' => [
23
-            'cols' => ['name', 'code','message']
23
+            'cols' => ['name', 'code', 'message']
24 24
         ]
25 25
     ];
26 26
     public static $forms = [
Please login to merge, or discard this patch.
modules/Ui/Extensions/Ui/snippets/autocomplete/deliveryFieldItems.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     },
21 21
     'getValueText' => function ($value, $params) {
22 22
         $value = \Ecommerce\Delivery\Field\Item::get($value);
23
-        if($value){
23
+        if ($value) {
24 24
             return $value->value;
25 25
         }
26 26
         return '';
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     },
21 21
     'getValueText' => function ($value, $params) {
22 22
         $value = \Ecommerce\Delivery\Field\Item::get($value);
23
-        if($value){
23
+        if($value) {
24 24
             return $value->value;
25 25
         }
26 26
         return '';
Please login to merge, or discard this patch.
system/modules/Ui/widgets/Form/autocomplete.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
 <div class="form-search-results"></div>
39 39
 <script>
40
-  window.autocomplete<?=$id;?> = function (element, snippet, snippetParams) {
40
+  window.autocomplete<?=$id; ?> = function (element, snippet, snippetParams) {
41 41
     element.element.onkeyup = function () {
42 42
       var inputContainer = element.element.parentNode;
43 43
       var selectedDiv = inputContainer.querySelector('.form-search-cur');
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
   };
91 91
   inji.onLoad(function () {
92 92
     setTimeout(function () {
93
-      new window.autocomplete<?=$id;?>(inji.get('#<?=$id;?>'), '<?=$options['snippet'];?>', <?=json_encode($options['snippetParams']);?>);
93
+      new window.autocomplete<?=$id; ?>(inji.get('#<?=$id; ?>'), '<?=$options['snippet']; ?>', <?=json_encode($options['snippetParams']); ?>);
94 94
     },100);
95 95
   });
96 96
 </script>
Please login to merge, or discard this patch.