Test Failed
Push — master ( 055a70...a957de )
by Alexey
05:06
created
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
 if (!empty($options['attributes'])) {
38 38
     $attributes = array_merge($attributes, $options['attributes']);
39 39
 }
40
-if(!empty($attributes['onchange'])){
40
+if (!empty($attributes['onchange'])) {
41 41
     unset($attributes['onchange']);
42 42
 }
43 43
 echo Html::el('input', $attributes, '', null);
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 <script>
60 60
   inji.onLoad(function () {
61 61
     setTimeout(function () {
62
-      inji.Ui.autocomplete.bind(inji.get('#<?=$id;?>'), '<?=$options['snippet'];?>', <?=json_encode($options['snippetParams']);?>);
62
+      inji.Ui.autocomplete.bind(inji.get('#<?=$id; ?>'), '<?=$options['snippet']; ?>', <?=json_encode($options['snippetParams']); ?>);
63 63
     }, 100);
64 64
   });
65 65
 </script>
Please login to merge, or discard this patch.
system/modules/Ecommerce/appControllers/CartController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
                 call_user_func_array(['Tools', 'redirect'], $redirect);
181 181
             }
182 182
 
183
-        } elseif($cart) {
183
+        } elseif ($cart) {
184 184
             $payTypes = $cart->availablePayTypes();
185 185
         }
186 186
         $this->view->setTitle('Корзина');
Please login to merge, or discard this patch.
system/modules/Exchange1c/appAdminControllers/Exchange1cController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
         ignore_user_abort(true);
16 16
         set_time_limit(0);
17 17
         Model::$logging = false;
18
-        $reExchange = Exchange1c\Exchange::get((int)$_GET['item_pk']);
18
+        $reExchange = Exchange1c\Exchange::get((int) $_GET['item_pk']);
19 19
 
20 20
         $exchange = new \Exchange1c\Exchange();
21 21
         $exchange->type = $reExchange->type;
Please login to merge, or discard this patch.
system/Inji/Tools.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
216 216
 
217 217
         $image = self::imgToResource($imagePath);
218 218
         $watermark = self::imgToResource($watermarkPath);
219
-        if(!$image || !$watermark || !$image['res'] || !$watermark['res']){
219
+        if (!$image || !$watermark || !$image['res'] || !$watermark['res']) {
220 220
             return false;
221 221
         }
222 222
 
Please login to merge, or discard this patch.