Completed
Push — unused-compiler-pass ( 93ebf5 )
by Kamil
31:23 queued 11:08
created
tests/Controller/TaxCategoryApiTest.php 2 patches
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             },
35 35
             "author": "Christie Golden"
36 36
         }
37
-EOT;
37
+eot;
38 38
 
39 39
         $this->client->request('POST', '/books/', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
40 40
         $response = $this->client->getResponse();
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             },
62 62
             "author": "Christie Golden"
63 63
         }
64
-EOT;
64
+eot;
65 65
 
66 66
         $this->client->request('PUT', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
67 67
         $response = $this->client->getResponse();
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         {
81 81
             "author": "Christie Golden"
82 82
         }
83
-EOT;
83
+eot;
84 84
 
85 85
         $this->client->request('PATCH', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
86 86
         $response = $this->client->getResponse();
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
183 183
         $taxCategories = $this->loadFixturesFromFile('resources/tax_categories.yml');
184 184
 
185
-        $this->client->request('GET', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
185
+        $this->client->request('GET', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
186 186
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
187 187
             'ACCEPT' => 'application/json',
188 188
         ]);
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
227 227
         $taxCategories = $this->loadFixturesFromFile('resources/tax_categories.yml');
228 228
 
229
-        $this->client->request('PUT', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
229
+        $this->client->request('PUT', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
230 230
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
231 231
             'CONTENT_TYPE' => 'application/json',
232 232
         ]);
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
         }
252 252
 EOT;
253 253
 
254
-        $this->client->request('PUT', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
254
+        $this->client->request('PUT', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
255 255
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
256 256
             'CONTENT_TYPE' => 'application/json',
257 257
         ], $data);
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
         $response = $this->client->getResponse();
260 260
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
261 261
 
262
-        $this->client->request('GET', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
262
+        $this->client->request('GET', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
263 263
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
264 264
             'ACCEPT' => 'application/json',
265 265
         ]);
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
         }
300 300
 EOT;
301 301
 
302
-        $this->client->request('PATCH', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
302
+        $this->client->request('PATCH', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
303 303
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
304 304
             'CONTENT_TYPE' => 'application/json',
305 305
         ], $data);
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
         $response = $this->client->getResponse();
308 308
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
309 309
 
310
-        $this->client->request('GET', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
310
+        $this->client->request('GET', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
311 311
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
312 312
             'ACCEPT' => 'application/json',
313 313
         ]);
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
341 341
         $taxCategories = $this->loadFixturesFromFile('resources/tax_categories.yml');
342 342
 
343
-        $this->client->request('DELETE', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
343
+        $this->client->request('DELETE', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
344 344
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
345 345
             'CONTENT_TYPE' => 'application/json',
346 346
         ], []);
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
         $response = $this->client->getResponse();
349 349
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
350 350
 
351
-        $this->client->request('GET', '/api/v1/tax-categories/'.$taxCategories['tax_category_1']->getId(), [], [], [
351
+        $this->client->request('GET', '/api/v1/tax-categories/' . $taxCategories['tax_category_1']->getId(), [], [], [
352 352
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
353 353
             'ACCEPT' => 'application/json',
354 354
         ]);
Please login to merge, or discard this patch.
tests/Controller/ShippingCategoryApiTest.php 2 patches
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             },
35 35
             "author": "Christie Golden"
36 36
         }
37
-EOT;
37
+eot;
38 38
 
39 39
         $this->client->request('POST', '/books/', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
40 40
         $response = $this->client->getResponse();
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             },
62 62
             "author": "Christie Golden"
63 63
         }
64
-EOT;
64
+eot;
65 65
 
66 66
         $this->client->request('PUT', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
67 67
         $response = $this->client->getResponse();
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         {
81 81
             "author": "Christie Golden"
82 82
         }
83
-EOT;
83
+eot;
84 84
 
85 85
         $this->client->request('PATCH', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
86 86
         $response = $this->client->getResponse();
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
134 134
         $shippingCategories = $this->loadFixturesFromFile('resources/shipping_categories.yml');
135 135
 
136
-        $this->client->request('GET', '/api/v1/shipping-categories/'.$shippingCategories['shipping_category_1']->getId(), [], [], [
136
+        $this->client->request('GET', '/api/v1/shipping-categories/' . $shippingCategories['shipping_category_1']->getId(), [], [], [
137 137
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
138 138
             'ACCEPT' => 'application/json',
139 139
         ]);
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
178 178
         $shippingCategories = $this->loadFixturesFromFile('resources/shipping_categories.yml');
179 179
 
180
-        $this->client->request('PUT', '/api/v1/shipping-categories/'.$shippingCategories['shipping_category_1']->getId(), [], [], [
180
+        $this->client->request('PUT', '/api/v1/shipping-categories/' . $shippingCategories['shipping_category_1']->getId(), [], [], [
181 181
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
182 182
             'CONTENT_TYPE' => 'application/json',
183 183
         ]);
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
         }
203 203
 EOT;
204 204
 
205
-        $this->client->request('PUT', '/api/v1/shipping-categories/'.$shippingCategories['shipping_category_1']->getId(), [], [], [
205
+        $this->client->request('PUT', '/api/v1/shipping-categories/' . $shippingCategories['shipping_category_1']->getId(), [], [], [
206 206
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
207 207
             'CONTENT_TYPE' => 'application/json',
208 208
         ], $data);
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
         $response = $this->client->getResponse();
211 211
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
212 212
 
213
-        $this->client->request('GET', '/api/v1/shipping-categories/'.$shippingCategories['shipping_category_1']->getId(), [], [], [
213
+        $this->client->request('GET', '/api/v1/shipping-categories/' . $shippingCategories['shipping_category_1']->getId(), [], [], [
214 214
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
215 215
             'ACCEPT' => 'application/json',
216 216
         ]);
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
         }
252 252
 EOT;
253 253
 
254
-        $this->client->request('PATCH', '/api/v1/shipping-categories/'.$shippingCategories['shipping_category_1']->getId(), [], [], [
254
+        $this->client->request('PATCH', '/api/v1/shipping-categories/' . $shippingCategories['shipping_category_1']->getId(), [], [], [
255 255
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
256 256
             'CONTENT_TYPE' => 'application/json',
257 257
         ], $data);
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
         $response = $this->client->getResponse();
260 260
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
261 261
 
262
-        $this->client->request('GET', '/api/v1/shipping-categories/'.$shippingCategories['shipping_category_1']->getId(), [], [], [
262
+        $this->client->request('GET', '/api/v1/shipping-categories/' . $shippingCategories['shipping_category_1']->getId(), [], [], [
263 263
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
264 264
             'ACCEPT' => 'application/json',
265 265
         ]);
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
293 293
         $shippingCategories = $this->loadFixturesFromFile('resources/shipping_categories.yml');
294 294
 
295
-        $this->client->request('DELETE', '/api/v1/shipping-categories/'.$shippingCategories['shipping_category_1']->getId(), [], [], [
295
+        $this->client->request('DELETE', '/api/v1/shipping-categories/' . $shippingCategories['shipping_category_1']->getId(), [], [], [
296 296
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
297 297
             'CONTENT_TYPE' => 'application/json',
298 298
         ], []);
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
         $response = $this->client->getResponse();
301 301
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
302 302
 
303
-        $this->client->request('GET', '/api/v1/shipping-categories/'.$shippingCategories['shipping_category_1']->getId(), [], [], [
303
+        $this->client->request('GET', '/api/v1/shipping-categories/' . $shippingCategories['shipping_category_1']->getId(), [], [], [
304 304
             'HTTP_Authorization' => 'Bearer SampleTokenNjZkNjY2MDEwMTAzMDkxMGE0OTlhYzU3NzYyMTE0ZGQ3ODcyMDAwM2EwMDZjNDI5NDlhMDdlMQ',
305 305
             'ACCEPT' => 'application/json',
306 306
         ]);
Please login to merge, or discard this patch.
tests/Controller/LocaleApiTest.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,6 +91,6 @@
 block discarded – undo
91 91
 
92 92
   <info>php %command.full_name% web --symlink --relative</info>
93 93
 
94
-EOT;
94
+eot;
95 95
     }
96 96
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
72 72
         $locales = $this->loadFixturesFromFile('resources/locales.yml');
73 73
 
74
-        $this->client->request('GET', '/api/v1/locales/'.$locales['locale_en']->getCode(), [], [], static::$authorizedHeaderWithAccept);
74
+        $this->client->request('GET', '/api/v1/locales/' . $locales['locale_en']->getCode(), [], [], static::$authorizedHeaderWithAccept);
75 75
 
76 76
         $response = $this->client->getResponse();
77 77
         $this->assertResponse($response, 'locale/show_response', Response::HTTP_OK);
@@ -157,12 +157,12 @@  discard block
 block discarded – undo
157 157
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
158 158
         $locales = $this->loadFixturesFromFile('resources/locales.yml');
159 159
 
160
-        $this->client->request('DELETE', '/api/v1/locales/'.$locales['locale_en']->getCode(), [], [], static::$authorizedHeaderWithContentType, []);
160
+        $this->client->request('DELETE', '/api/v1/locales/' . $locales['locale_en']->getCode(), [], [], static::$authorizedHeaderWithContentType, []);
161 161
 
162 162
         $response = $this->client->getResponse();
163 163
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
164 164
 
165
-        $this->client->request('GET', '/api/v1/locales/'.$locales['locale_en']->getId(), [], [], static::$authorizedHeaderWithAccept);
165
+        $this->client->request('GET', '/api/v1/locales/' . $locales['locale_en']->getId(), [], [], static::$authorizedHeaderWithAccept);
166 166
 
167 167
         $response = $this->client->getResponse();
168 168
         $this->assertResponse($response, 'error/not_found_response', Response::HTTP_NOT_FOUND);
Please login to merge, or discard this patch.
tests/Controller/CountryApiTest.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,6 +91,6 @@
 block discarded – undo
91 91
 
92 92
   <info>php %command.full_name% web --symlink --relative</info>
93 93
 
94
-EOT;
94
+eot;
95 95
     }
96 96
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
115 115
         $countries = $this->loadFixturesFromFile('resources/countries.yml');
116 116
 
117
-        $this->client->request('GET', '/api/v1/countries/'.$countries['country_NL']->getCode(), [], [], static::$authorizedHeaderWithAccept);
117
+        $this->client->request('GET', '/api/v1/countries/' . $countries['country_NL']->getCode(), [], [], static::$authorizedHeaderWithAccept);
118 118
 
119 119
         $response = $this->client->getResponse();
120 120
         $this->assertResponse($response, 'country/show_response', Response::HTTP_OK);
Please login to merge, or discard this patch.
Sylius/Bundle/ChannelBundle/DependencyInjection/SyliusChannelExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/UiBundle/DependencyInjection/SyliusUiExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.
Sylius/Bundle/PaymentBundle/DependencyInjection/SyliusPaymentExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.
Bundle/TaxonomyBundle/DependencyInjection/SyliusTaxonomyExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.
Bundle/PromotionBundle/DependencyInjection/SyliusPromotionExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.