Test Failed
Push — master ( 7760f7...7346dc )
by Alexey
05:08
created
system/modules/Ecommerce/migrations/cdekCities.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     'up' => function () {
5
-        \Ecommerce\Delivery\Field\Item::get(1,'data');
5
+        \Ecommerce\Delivery\Field\Item::get(1, 'data');
6 6
         $field = new \Ecommerce\Delivery\Field(
7 7
             [
8 8
                 'name' => 'Город',
Please login to merge, or discard this patch.
system/modules/Money/appControllers/content/exchange.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         $form->end('Выбрать');
15 15
         foreach ($rates as $rate) {
16 16
             $form = new Ui\Form();
17
-            $form->id = 'form_'.Tools::randomString();
17
+            $form->id = 'form_' . Tools::randomString();
18 18
             $form->method = "GET";
19 19
             $form->begin();
20 20
             ?>
Please login to merge, or discard this patch.
system/modules/Ecommerce/widgets/cart/payType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
     <div class="col-md-4">
3 3
         <ul class="nav nav-pills nav-stacked">
4 4
             <?php
5
-            $hiddenId = 'paytype_'.Tools::randomString();
5
+            $hiddenId = 'paytype_' . Tools::randomString();
6 6
             foreach ($payTypes as $payType) {
7 7
                 if ((!empty($_POST['payType']) && $_POST['payType'] == $payType->id) || ($cart->payType && $payType->id == $cart->payType->id)) {
8 8
                     $checked = 'checked';
Please login to merge, or discard this patch.
system/modules/Ecommerce/widgets/cart/delivery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
     <div class="col-md-4">
3 3
         <ul class="nav nav-pills nav-stacked">
4 4
             <?php
5
-            $hiddenId = 'paytype_'.Tools::randomString();
5
+            $hiddenId = 'paytype_' . Tools::randomString();
6 6
             foreach ($deliverys as $delivery) {
7 7
                 if ((!empty($_POST['delivery']) && $_POST['delivery'] == $delivery->id) || ($cart->delivery && $delivery->id == $cart->delivery->id)) {
8 8
                     $checked = 'checked';
Please login to merge, or discard this patch.
system/modules/Ecommerce/widgets/formInputs/pickpointPointChooser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
             }
19 19
         }
20 20
         if ($data) {
21
-            $address = $data['Name'] . ' ' . $data['Number'] . '<br />' . $data['PostCode'] . ', ' . $data['Region'] . ', ' . $data['CitiName'] . ', ' . $data['Address'];// . '<br /><small>' . $data['OutDescription'].'</small>';
21
+            $address = $data['Name'] . ' ' . $data['Number'] . '<br />' . $data['PostCode'] . ', ' . $data['Region'] . ', ' . $data['CitiName'] . ', ' . $data['Address']; // . '<br /><small>' . $data['OutDescription'].'</small>';
22 22
         }
23 23
     }
24 24
     ?>
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
       function my_function(result) {
37 37
         console.log(result);
38 38
 // устанавливаем в скрытое поле ID терминала
39
-        document.getElementById('<?=$id;?>').value = result.id;
39
+        document.getElementById('<?=$id; ?>').value = result.id;
40 40
 // показываем пользователю название точки и адрес доствки
41 41
         document.getElementById('address').innerHTML = result['name'] + '<br />' + result['address'];
42 42
         document.getElementById('addressbtn').innerHTML = 'Изменить';
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
 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/Ui/Controllers/DataManagerController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
         }
145 145
 
146 146
         $result->content['rows'] = ob_get_contents();
147
-        $result->content['summary'] =  $dataManager->getSummary($request['params'], $request['model']);
147
+        $result->content['summary'] = $dataManager->getSummary($request['params'], $request['model']);
148 148
         ob_clean();
149 149
 
150 150
         $result->content['pages'] = '';
Please login to merge, or discard this patch.
system/modules/Ecommerce/objects/DeliveryProvider/CDEK.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,6 +94,6 @@
 block discarded – undo
94 94
         if ($tariff == 139) {
95 95
             return ['online', 'courier'];
96 96
         }
97
-        return ['online','inPickPoint'];
97
+        return ['online', 'inPickPoint'];
98 98
     }
99 99
 }
100 100
\ No newline at end of file
Please login to merge, or discard this patch.
system/modules/Db/objects/Mysql/Query.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -442,7 +442,7 @@
 block discarded – undo
442 442
         foreach ($query['params'] as $param) {
443 443
             $prepare->bindValue($pos++, $param, is_null($param) ? \PDO::PARAM_NULL : \PDO::PARAM_STR);
444 444
         }
445
-        $key = \App::$cur->log->start('query: '.$query['query']);
445
+        $key = \App::$cur->log->start('query: ' . $query['query']);
446 446
         $prepare->execute();
447 447
         \App::$cur->log->end($key);
448 448
         $this->curInstance->lastQuery = $query;
Please login to merge, or discard this patch.