@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | "email": "[email protected]" |
| 82 | 82 | } |
| 83 | 83 | } |
| 84 | -EOT; |
|
| 84 | +eot; |
|
| 85 | 85 | |
| 86 | 86 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 87 | 87 | |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | "email": "[email protected]" |
| 118 | 118 | } |
| 119 | 119 | } |
| 120 | -EOT; |
|
| 120 | +eot; |
|
| 121 | 121 | |
| 122 | 122 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 123 | 123 | |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | "email": "[email protected]" |
| 155 | 155 | } |
| 156 | 156 | } |
| 157 | -EOT; |
|
| 157 | +eot; |
|
| 158 | 158 | |
| 159 | 159 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 160 | 160 | |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | "email": "[email protected]" |
| 199 | 199 | } |
| 200 | 200 | } |
| 201 | -EOT; |
|
| 201 | +eot; |
|
| 202 | 202 | |
| 203 | 203 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 204 | 204 | |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | "email": "[email protected]" |
| 240 | 240 | } |
| 241 | 241 | } |
| 242 | -EOT; |
|
| 242 | +eot; |
|
| 243 | 243 | |
| 244 | 244 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 245 | 245 | |
@@ -259,7 +259,7 @@ discard block |
||
| 259 | 259 | "email": "[email protected]" |
| 260 | 260 | } |
| 261 | 261 | } |
| 262 | -EOT; |
|
| 262 | +eot; |
|
| 263 | 263 | |
| 264 | 264 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $newData); |
| 265 | 265 | |
@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | "email": "[email protected]" |
| 296 | 296 | } |
| 297 | 297 | } |
| 298 | -EOT; |
|
| 298 | +eot; |
|
| 299 | 299 | |
| 300 | 300 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $addressData); |
| 301 | 301 | |
@@ -317,7 +317,7 @@ discard block |
||
| 317 | 317 | "email": "[email protected]" |
| 318 | 318 | } |
| 319 | 319 | } |
| 320 | -EOT; |
|
| 320 | +eot; |
|
| 321 | 321 | |
| 322 | 322 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $newAddressData); |
| 323 | 323 | |
@@ -353,7 +353,7 @@ discard block |
||
| 353 | 353 | "email": "[email protected]" |
| 354 | 354 | } |
| 355 | 355 | } |
| 356 | -EOT; |
|
| 356 | +eot; |
|
| 357 | 357 | |
| 358 | 358 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $addressData); |
| 359 | 359 | |
@@ -376,7 +376,7 @@ discard block |
||
| 376 | 376 | "email": "[email protected]" |
| 377 | 377 | } |
| 378 | 378 | } |
| 379 | -EOT; |
|
| 379 | +eot; |
|
| 380 | 380 | |
| 381 | 381 | $this->client->request('PUT', $this->getAddressingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $newAddressData); |
| 382 | 382 | |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | } |
| 143 | 143 | ] |
| 144 | 144 | } |
| 145 | -EOT; |
|
| 145 | +eot; |
|
| 146 | 146 | |
| 147 | 147 | $this->client->request('PUT', $this->getSelectShippingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 148 | 148 | |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | } |
| 178 | 178 | ] |
| 179 | 179 | } |
| 180 | -EOT; |
|
| 180 | +eot; |
|
| 181 | 181 | |
| 182 | 182 | $this->client->request('PUT', $this->getSelectShippingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 183 | 183 | |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | } |
| 219 | 219 | ] |
| 220 | 220 | } |
| 221 | -EOT; |
|
| 221 | +eot; |
|
| 222 | 222 | |
| 223 | 223 | $this->client->request('PUT', $this->getSelectShippingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 224 | 224 | |
@@ -255,7 +255,7 @@ discard block |
||
| 255 | 255 | } |
| 256 | 256 | ] |
| 257 | 257 | } |
| 258 | -EOT; |
|
| 258 | +eot; |
|
| 259 | 259 | |
| 260 | 260 | $this->client->request('PUT', $this->getSelectShippingUrl($cart), [], [], static::$authorizedHeaderWithContentType, $data); |
| 261 | 261 | |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | "email": "[email protected]" |
| 69 | 69 | } |
| 70 | 70 | } |
| 71 | -EOT; |
|
| 71 | +eot; |
|
| 72 | 72 | |
| 73 | 73 | $url = sprintf('/api/v1/checkouts/addressing/%d', $order->getId()); |
| 74 | 74 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | } |
| 96 | 96 | ] |
| 97 | 97 | } |
| 98 | -EOT; |
|
| 98 | +eot; |
|
| 99 | 99 | |
| 100 | 100 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 101 | 101 | } |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | } |
| 122 | 122 | ] |
| 123 | 123 | } |
| 124 | -EOT; |
|
| 124 | +eot; |
|
| 125 | 125 | |
| 126 | 126 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
| 127 | 127 | } |
@@ -127,7 +127,7 @@ |
||
| 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 | |
@@ -136,7 +136,7 @@ |
||
| 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 | |
@@ -63,7 +63,7 @@ |
||
| 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 | |
@@ -30,10 +30,10 @@ |
||
| 30 | 30 | |
| 31 | 31 | $builder |
| 32 | 32 | ->add('firstName', TextType::class, [ |
| 33 | - 'label' => 'sylius.form.user.first_name', |
|
| 33 | + 'label' => 'sylius.form.user.first_name', |
|
| 34 | 34 | ]) |
| 35 | 35 | ->add('lastName', TextType::class, [ |
| 36 | - 'label' => 'sylius.form.user.last_name', |
|
| 36 | + 'label' => 'sylius.form.user.last_name', |
|
| 37 | 37 | ]) |
| 38 | 38 | ->add('localeCode', LocaleType::class, [ |
| 39 | 39 | 'label' => 'sylius.ui.locale', |
@@ -305,7 +305,7 @@ |
||
| 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 | } |