Completed
Push — currency-cookie ( 8ef560...28b724 )
by Kamil
24:47
created
tests/Controller/CheckoutPaymentApiTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
         $this->addressOrder($cart);
60 60
 
61
-        $this->client->request('PATCH',  $this->getSelectPaymentUrl($cart), [], [], static::$authorizedHeaderWithContentType);
61
+        $this->client->request('PATCH', $this->getSelectPaymentUrl($cart), [], [], static::$authorizedHeaderWithContentType);
62 62
 
63 63
         $response = $this->client->getResponse();
64 64
         $this->assertResponse($response, 'checkout/payment_invalid_order_state', Response::HTTP_INTERNAL_SERVER_ERROR);
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         }
90 90
 EOT;
91 91
 
92
-        $this->client->request('PUT',  $this->getSelectPaymentUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data);
92
+        $this->client->request('PUT', $this->getSelectPaymentUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data);
93 93
 
94 94
         $response = $this->client->getResponse();
95 95
 
Please login to merge, or discard this patch.
tests/Controller/OrderApiTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
62 62
         $orderData = $this->loadFixturesFromFile('resources/cart.yml');
63 63
 
64
-        $this->client->request('GET', '/api/v1/orders/'.$orderData['order_001']->getId(), [], [], static::$authorizedHeaderWithAccept);
64
+        $this->client->request('GET', '/api/v1/orders/' . $orderData['order_001']->getId(), [], [], static::$authorizedHeaderWithAccept);
65 65
 
66 66
         $response = $this->client->getResponse();
67 67
         $this->assertResponse($response, 'order/cart_show_response', Response::HTTP_OK);
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
76 76
         $orderData = $this->loadFixturesFromFile('resources/order.yml');
77 77
 
78
-        $this->client->request('GET', '/api/v1/orders/'.$orderData['order_001']->getId(), [], [], static::$authorizedHeaderWithAccept);
78
+        $this->client->request('GET', '/api/v1/orders/' . $orderData['order_001']->getId(), [], [], static::$authorizedHeaderWithAccept);
79 79
 
80 80
         $response = $this->client->getResponse();
81 81
         $this->assertResponse($response, 'order/order_show_response', Response::HTTP_OK);
Please login to merge, or discard this patch.
Bundle/ApiBundle/Controller/ShowAvailablePaymentMethodsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
      */
128 128
     private function getPaymentMethods(PaymentInterface $payment, $locale)
129 129
     {
130
-        $paymentMethods =  $this->paymentMethodResolver->getSupportedMethods($payment);
130
+        $paymentMethods = $this->paymentMethodResolver->getSupportedMethods($payment);
131 131
 
132 132
         $rawPaymentMethods = [];
133 133
 
Please login to merge, or discard this patch.
Bundle/ApiBundle/Controller/ShowAvailableShippingMethodsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
      */
137 137
     private function getCalculatedShippingMethods(ShipmentInterface $shipment, $locale)
138 138
     {
139
-        $shippingMethods =  $this->shippingMethodsResolver->getSupportedMethods($shipment);
139
+        $shippingMethods = $this->shippingMethodsResolver->getSupportedMethods($shipment);
140 140
 
141 141
         $rawShippingMethods = [];
142 142
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/OrderBundle/Remover/ExpiredCartsRemover.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
     public function remove()
65 65
     {
66
-        $expiredCarts = $this->orderRepository->findCartsNotModifiedSince(new \DateTime('-'.$this->expirationPeriod));
66
+        $expiredCarts = $this->orderRepository->findCartsNotModifiedSince(new \DateTime('-' . $this->expirationPeriod));
67 67
 
68 68
         $this->eventDispatcher->dispatch(SyliusExpiredCartsEvents::PRE_REMOVE, new GenericEvent($expiredCarts));
69 69
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/CompletePage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -305,7 +305,7 @@
 block discarded – undo
305 305
             do {
306 306
                 parent::tryToOpen($urlParameters);
307 307
                 sleep(3);
308
-            } while(!$this->isOpen() && microtime(true) < $end);
308
+            } while (!$this->isOpen() && microtime(true) < $end);
309 309
 
310 310
             return;
311 311
         }
Please login to merge, or discard this patch.