Test Failed
Push — master ( 74331d...6be589 )
by Alexey
04:30
created
system/modules/Money/appControllers/MerchantsController.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,8 @@
 block discarded – undo
71 71
                 $where[] = ['data', $_GET['data']];
72 72
             }
73 73
             $pays = Money\Pay::getList(['where' => $where, 'order' => ['date_create', 'DESC']]);
74
-            if(count($pays)===1){
75
-                Tools::redirect('/money/merchants/pay/'.current($pays)->id);
74
+            if (count($pays) === 1) {
75
+                Tools::redirect('/money/merchants/pay/' . current($pays)->id);
76 76
             }
77 77
             $this->view->page(['content' => 'pays', 'data' => compact('bread', 'pays')]);
78 78
         } else {
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
                 $where[] = ['data', $_GET['data']];
72 72
             }
73 73
             $pays = Money\Pay::getList(['where' => $where, 'order' => ['date_create', 'DESC']]);
74
-            if(count($pays)===1){
74
+            if(count($pays)===1) {
75 75
                 Tools::redirect('/money/merchants/pay/'.current($pays)->id);
76 76
             }
77 77
             $this->view->page(['content' => 'pays', 'data' => compact('bread', 'pays')]);
Please login to merge, or discard this patch.
system/modules/Money/objects/MerchantHelper/Paykeeper.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         ));
34 34
         $context = stream_context_create($options);
35 35
         echo "<style>.tmg {margin:0 auto}</style>";
36
-        echo file_get_contents("http://{$config['domain']}.paykeeper.ru/order/inline/", FALSE, $context);
36
+        echo file_get_contents("http://{$config['domain']}.paykeeper.ru/order/inline/", false, $context);
37 37
 
38 38
     }
39 39
 
Please login to merge, or discard this patch.