Test Failed
Push — master ( cfdb33...58b557 )
by Alexey
04:25
created
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 2 patches
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.
Braces   +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.
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 "moduleVersion=2.03";
22 20
         $this->end();
23 21
     }
Please login to merge, or discard this patch.