@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | } |
82 | 82 | ] |
83 | 83 | } |
84 | -EOT; |
|
84 | +eot; |
|
85 | 85 | |
86 | 86 | $url = sprintf('/api/v1/checkouts/select-payment/%d', $orderId); |
87 | 87 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | } |
113 | 113 | ] |
114 | 114 | } |
115 | -EOT; |
|
115 | +eot; |
|
116 | 116 | |
117 | 117 | $url = sprintf('/api/v1/checkouts/select-payment/%d', $orderId); |
118 | 118 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | } |
150 | 150 | ] |
151 | 151 | } |
152 | -EOT; |
|
152 | +eot; |
|
153 | 153 | |
154 | 154 | $url = sprintf('/api/v1/checkouts/select-payment/%d', $orderId); |
155 | 155 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | "email": "[email protected]" |
74 | 74 | } |
75 | 75 | } |
76 | -EOT; |
|
76 | +eot; |
|
77 | 77 | |
78 | 78 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
79 | 79 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | "email": "[email protected]" |
108 | 108 | } |
109 | 109 | } |
110 | -EOT; |
|
110 | +eot; |
|
111 | 111 | |
112 | 112 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
113 | 113 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | "email": "[email protected]" |
143 | 143 | } |
144 | 144 | } |
145 | -EOT; |
|
145 | +eot; |
|
146 | 146 | |
147 | 147 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
148 | 148 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | "email": "[email protected]" |
185 | 185 | } |
186 | 186 | } |
187 | -EOT; |
|
187 | +eot; |
|
188 | 188 | |
189 | 189 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
190 | 190 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data); |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | "email": "[email protected]" |
224 | 224 | } |
225 | 225 | } |
226 | -EOT; |
|
226 | +eot; |
|
227 | 227 | |
228 | 228 | $orderId = $checkoutData['order1']->getId(); |
229 | 229 | |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | "email": "[email protected]" |
247 | 247 | } |
248 | 248 | } |
249 | -EOT; |
|
249 | +eot; |
|
250 | 250 | |
251 | 251 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
252 | 252 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $newData); |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | "email": "[email protected]" |
281 | 281 | } |
282 | 282 | } |
283 | -EOT; |
|
283 | +eot; |
|
284 | 284 | |
285 | 285 | $orderId = $checkoutData['order1']->getId(); |
286 | 286 | |
@@ -305,7 +305,7 @@ discard block |
||
305 | 305 | "email": "[email protected]" |
306 | 306 | } |
307 | 307 | } |
308 | -EOT; |
|
308 | +eot; |
|
309 | 309 | |
310 | 310 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
311 | 311 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $newAddressData); |
@@ -339,7 +339,7 @@ discard block |
||
339 | 339 | "email": "[email protected]" |
340 | 340 | } |
341 | 341 | } |
342 | -EOT; |
|
342 | +eot; |
|
343 | 343 | |
344 | 344 | $orderId = $checkoutData['order1']->getId(); |
345 | 345 | |
@@ -365,7 +365,7 @@ discard block |
||
365 | 365 | "email": "[email protected]" |
366 | 366 | } |
367 | 367 | } |
368 | -EOT; |
|
368 | +eot; |
|
369 | 369 | |
370 | 370 | $url = sprintf('/api/v1/checkouts/addressing/%d', $checkoutData['order1']->getId()); |
371 | 371 | $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $newAddressData); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | public function load(array $config, ContainerBuilder $container) |
28 | 28 | { |
29 | 29 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
30 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
30 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
31 | 31 | |
32 | 32 | $loader->load('services.xml'); |
33 | 33 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
@@ -11,9 +11,9 @@ |
||
11 | 11 | |
12 | 12 | use Doctrine\Common\Annotations\AnnotationRegistry; |
13 | 13 | |
14 | -$loader = require __DIR__.'/../../vendor/autoload.php'; |
|
14 | +$loader = require __DIR__ . '/../../vendor/autoload.php'; |
|
15 | 15 | |
16 | -require __DIR__.'/AppKernel.php'; |
|
16 | +require __DIR__ . '/AppKernel.php'; |
|
17 | 17 | |
18 | 18 | AnnotationRegistry::registerLoader([$loader, 'loadClass']); |
19 | 19 |
@@ -27,7 +27,7 @@ |
||
27 | 27 | public function load(array $config, ContainerBuilder $container) |
28 | 28 | { |
29 | 29 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
30 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
30 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
31 | 31 | |
32 | 32 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
33 | 33 |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | public function load(array $config, ContainerBuilder $container) |
42 | 42 | { |
43 | 43 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
44 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
44 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
45 | 45 | |
46 | 46 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
47 | 47 | |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | foreach ($resources as $variableName => $variableConfig) { |
67 | 67 | foreach ($variableConfig as $resourceName => $resourceConfig) { |
68 | 68 | if (is_array($resourceConfig)) { |
69 | - $resolvedResources[$variableName.'_'.$resourceName] = $resourceConfig; |
|
69 | + $resolvedResources[$variableName . '_' . $resourceName] = $resourceConfig; |
|
70 | 70 | } |
71 | 71 | } |
72 | 72 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | public function load(array $config, ContainerBuilder $container) |
29 | 29 | { |
30 | 30 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | 32 | |
33 | 33 | $configFiles = [ |
34 | 34 | 'services.xml', |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | public function load(array $config, ContainerBuilder $container) |
29 | 29 | { |
30 | 30 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | 32 | |
33 | 33 | $loader->load('services.xml'); |
34 | 34 | |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public function prepend(ContainerBuilder $container) |
42 | 42 | { |
43 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
43 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
44 | 44 | |
45 | 45 | $extensionsNamesToConfigurationFiles = [ |
46 | 46 | 'doctrine' => 'doctrine/orm.xml', |
@@ -32,7 +32,7 @@ |
||
32 | 32 | public function load(array $config, ContainerBuilder $container) |
33 | 33 | { |
34 | 34 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
35 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
35 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
36 | 36 | |
37 | 37 | $loader->load('services.xml'); |
38 | 38 |