Test Failed
Push — master ( f1b65c...c8a2bf )
by Alexey
07:14
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/Ui/widgets/Form/autocomplete.php 2 patches
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.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 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);
Please login to merge, or discard this patch.
system/modules/Ecommerce/objects/DeliveryProvider/RussianPost.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 namespace Ecommerce\DeliveryProvider;
12 12
 
13 13
 
14
-use Ecommerce\UserAdds\Field;
15
-
16 14
 class RussianPost extends \Ecommerce\DeliveryProvider {
17 15
     static $name = 'PickPoint - курьерская служба';
18 16
 
Please login to merge, or discard this patch.
system/modules/Exchange1c/objects/Mode/Info.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,11 +13,9 @@
 block discarded – undo
13 13
 
14 14
 use Exchange1c\Exchange;
15 15
 
16
-class Info extends \Exchange1c\Mode
17
-{
16
+class Info extends \Exchange1c\Mode {
18 17
 
19
-    public function process()
20
-    {
18
+    public function process() {
21 19
         echo "version=2.03";
22 20
         $this->end();
23 21
     }
Please login to merge, or discard this patch.
system/modules/Money/Money.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@
 block discarded – undo
83 83
         $mr->save();
84 84
     }
85 85
 
86
+    /**
87
+     * @param integer $userId
88
+     */
86 89
     public function getUserBlocks($userId = null) {
87 90
         $userId = $userId ? $userId : \Users\User::$cur->id;
88 91
         $blocked = \Money\Wallet\Block::getList(['where' => [
Please login to merge, or discard this patch.
system/modules/Ui/objects/DataManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -549,6 +549,9 @@
 block discarded – undo
549 549
         return $summarys;
550 550
     }
551 551
 
552
+    /**
553
+     * @param DataManager $dataManager
554
+     */
552 555
     public static function drawCol($item, $colName, $params = [], $dataManager = null, $originalCol = '', $originalItem = null) {
553 556
         $modelName = get_class($item);
554 557
         if (!class_exists($modelName)) {
Please login to merge, or discard this patch.
system/modules/Users/models/User/Info.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@
 block discarded – undo
86 86
         ];
87 87
     }
88 88
 
89
+    /**
90
+     * @return string
91
+     */
89 92
     public function name() {
90 93
         if ($this->first_name . $this->last_name . $this->middle_name) {
91 94
             $name = '';
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.