Test Failed
Push — master ( 5878a7...1a655d )
by Alexey
05:08
created
system/Inji/Cache.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -128,6 +128,7 @@
 block discarded – undo
128 128
      * Get cache dir for app
129 129
      *
130 130
      * @param App $app
131
+     * @param string $dirname
131 132
      * @return string
132 133
      */
133 134
     public static function getDir($dirname, $app = null) {
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/Ecommerce/widgets/formInputs/cdekChooser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
                 </div>
49 49
                 <script>
50 50
                   inji.onLoad(function () {
51
-                    inji.Ui.customSelect.bind($('#<?=$id;?>'));
51
+                    inji.Ui.customSelect.bind($('#<?=$id; ?>'));
52 52
                   })
53 53
                 </script>
54 54
                 <?php
Please login to merge, or discard this patch.
system/modules/Ecommerce/objects/DeliveryProvider/PickPoint.php 2 patches
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,11 @@
 block discarded – undo
35 35
         $contents = curl_exec($c);
36 36
         curl_close($c);
37 37
 
38
-        if ($contents) return $contents;
39
-        else return FALSE;
38
+        if ($contents) {
39
+            return $contents;
40
+        } else {
41
+            return FALSE;
42
+        }
40 43
     }
41 44
 
42 45
     static function deliveryTime($cart) {
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         curl_close($c);
37 37
 
38 38
         if ($contents) return $contents;
39
-        else return FALSE;
39
+        else return false;
40 40
     }
41 41
 
42 42
     static function deliveryTime($cart) {
Please login to merge, or discard this patch.