Completed
Push — layout-caching ( bff40d...dc5564 )
by Kamil
67:32 queued 46:25
created
src/Sylius/Bundle/MoneyBundle/DependencyInjection/SyliusMoneyExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
         $container->setParameter('sylius_money.locale', $config['locale']);
34 34
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             return;
45 45
         }
46 46
 
47
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
47
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
48 48
         $loader->load('services/integrations/currency.xml');
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Storage/StorageInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,12 +33,13 @@
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param string $name
36
-     * @param mixed $value
36
+     * @param string $value
37 37
      */
38 38
     public function set($name, $value);
39 39
 
40 40
     /**
41 41
      * @param string $name
42
+     * @return void
42 43
      */
43 44
     public function remove($name);
44 45
 
Please login to merge, or discard this patch.
tests/Controller/CheckoutApiTestCase.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             "channel": "CHANNEL",
50 50
             "locale_code": "en_US"
51 51
         }
52
-EOT;
52
+eot;
53 53
 
54 54
         $this->client->request('POST', '/api/v1/carts/', [], [], static::$authorizedHeaderWithContentType, $data);
55 55
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             "variant": "MUG_SW",
73 73
             "quantity": 1
74 74
         }
75
-EOT;
75
+eot;
76 76
 
77 77
         $this->client->request('POST', $url, [], [], static::$authorizedHeaderWithContentType, $data);
78 78
     }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             },
106 106
             "different_billing_address": true
107 107
         }
108
-EOT;
108
+eot;
109 109
 
110 110
         $url = sprintf('/api/v1/checkouts/addressing/%d', $cartId);
111 111
         $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data);
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
                 }
133 133
             ]
134 134
         }
135
-EOT;
135
+eot;
136 136
 
137 137
         $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data);
138 138
     }
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
                 }
159 159
             ]
160 160
         }
161
-EOT;
161
+eot;
162 162
 
163 163
         $this->client->request('PUT', $url, [], [], static::$authorizedHeaderWithContentType, $data);
164 164
     }
Please login to merge, or discard this patch.
tests/Controller/CheckoutAddressingApiTest.php 1 patch
Upper-Lower-Casing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         {
62 62
             "different_billing_address": false
63 63
         }
64
-EOT;
64
+eot;
65 65
 
66 66
         $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
67 67
 
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             },
95 95
             "different_billing_address": false
96 96
         }
97
-EOT;
97
+eot;
98 98
 
99 99
         $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
100 100
 
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
             },
129 129
             "different_billing_address": true
130 130
         }
131
-EOT;
131
+eot;
132 132
 
133 133
         $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
134 134
 
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
             },
170 170
             "different_billing_address": true
171 171
         }
172
-EOT;
172
+eot;
173 173
 
174 174
         $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
175 175
 
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
             },
208 208
             "different_billing_address": false
209 209
         }
210
-EOT;
210
+eot;
211 211
 
212 212
         $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
213 213
 
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
             },
225 225
             "different_billing_address": false
226 226
         }
227
-EOT;
227
+eot;
228 228
 
229 229
         $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $newData);
230 230
 
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
             },
258 258
             "different_billing_address": false
259 259
         }
260
-EOT;
260
+eot;
261 261
 
262 262
         $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $addressData);
263 263
 
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
             },
277 277
             "different_billing_address": false
278 278
         }
279
-EOT;
279
+eot;
280 280
 
281 281
         $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $newAddressData);
282 282
 
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
             },
310 310
             "different_billing_address": false
311 311
         }
312
-EOT;
312
+eot;
313 313
 
314 314
         $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $addressData);
315 315
 
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
             },
330 330
             "different_billing_address": false
331 331
         }
332
-EOT;
332
+eot;
333 333
 
334 334
         $this->client->request('PUT', $this->getAddressingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $newAddressData);
335 335
 
Please login to merge, or discard this patch.
tests/Controller/CheckoutPaymentApiTest.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         $this->addItemToCart($cartId);
58 58
         $this->addressOrder($cartId);
59 59
 
60
-        $this->client->request('PATCH',  $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType);
60
+        $this->client->request('PATCH', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType);
61 61
 
62 62
         $response = $this->client->getResponse();
63 63
         $this->assertResponse($response, 'checkout/payment_invalid_order_state', Response::HTTP_INTERNAL_SERVER_ERROR);
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         }
88 88
 EOT;
89 89
 
90
-        $this->client->request('PUT',  $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
90
+        $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
91 91
 
92 92
         $response = $this->client->getResponse();
93 93
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
                 }
86 86
             ]
87 87
         }
88
-EOT;
88
+eot;
89 89
 
90 90
         $this->client->request('PUT',  $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
91 91
 
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
                 }
176 176
             ]
177 177
         }
178
-EOT;
178
+eot;
179 179
 
180 180
         $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
181 181
 
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
                 }
217 217
             ]
218 218
         }
219
-EOT;
219
+eot;
220 220
 
221 221
         $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
222 222
 
Please login to merge, or discard this patch.
tests/Controller/CheckoutShippingApiTest.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
                 }
150 150
             ]
151 151
         }
152
-EOT;
152
+eot;
153 153
 
154 154
         $this->client->request('PUT', $this->getSelectShippingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
155 155
 
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
                 }
184 184
             ]
185 185
         }
186
-EOT;
186
+eot;
187 187
 
188 188
         $this->client->request('PUT', $this->getSelectShippingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
189 189
 
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
                 }
224 224
             ]
225 225
         }
226
-EOT;
226
+eot;
227 227
 
228 228
         $this->client->request('PUT', $this->getSelectShippingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
229 229
 
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
                 }
260 260
             ]
261 261
         }
262
-EOT;
262
+eot;
263 263
 
264 264
         $this->client->request('PUT', $this->getSelectShippingUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
265 265
 
Please login to merge, or discard this patch.