Completed
Push — travis-trusty ( 8b4f84...3e4c76 )
by Kamil
22:02
created
Bundle/ReviewBundle/Doctrine/ORM/Subscriber/LoadMetadataSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
             'targetEntity' => $reviewableEntity,
86 86
             'inversedBy' => 'reviews',
87 87
             'joinColumns' => [[
88
-                'name' => $subject.'_id',
88
+                'name' => $subject . '_id',
89 89
                 'referencedColumnName' => $reviewableEntityMetadata->fieldMappings['id']['columnName'],
90 90
                 'nullable' => false,
91 91
                 'onDelete' => 'CASCADE',
Please login to merge, or discard this patch.
tests/Controller/ZoneApiTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
148 148
         $zones = $this->loadFixturesFromFile('resources/zones.yml');
149 149
 
150
-        $this->client->request('GET', '/api/v1/zones/'.$zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithAccept);
150
+        $this->client->request('GET', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithAccept);
151 151
 
152 152
         $response = $this->client->getResponse();
153 153
         $this->assertResponse($response, 'zone/show_response', Response::HTTP_OK);
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
         $this->loadFixturesFromFile('resources/countries.yml');
187 187
         $zones = $this->loadFixturesFromFile('resources/zones.yml');
188 188
 
189
-        $this->client->request('PUT', '/api/v1/zones/'.$zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType);
189
+        $this->client->request('PUT', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType);
190 190
 
191 191
         $response = $this->client->getResponse();
192 192
         $this->assertResponse($response, 'zone/update_validation_fail_response', Response::HTTP_BAD_REQUEST);
@@ -214,12 +214,12 @@  discard block
 block discarded – undo
214 214
         }
215 215
 EOT;
216 216
 
217
-        $this->client->request('PUT', '/api/v1/zones/'.$zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType, $data);
217
+        $this->client->request('PUT', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType, $data);
218 218
 
219 219
         $response = $this->client->getResponse();
220 220
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
221 221
 
222
-        $this->client->request('GET', '/api/v1/zones/'.$zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithAccept);
222
+        $this->client->request('GET', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithAccept);
223 223
 
224 224
         $response = $this->client->getResponse();
225 225
         $this->assertResponse($response, 'zone/update_response', Response::HTTP_OK);
@@ -265,12 +265,12 @@  discard block
 block discarded – undo
265 265
         }
266 266
 EOT;
267 267
 
268
-        $this->client->request('PATCH', '/api/v1/zones/'.$zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType, $data);
268
+        $this->client->request('PATCH', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType, $data);
269 269
 
270 270
         $response = $this->client->getResponse();
271 271
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
272 272
 
273
-        $this->client->request('GET', '/api/v1/zones/'.$zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithAccept);
273
+        $this->client->request('GET', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithAccept);
274 274
 
275 275
         $response = $this->client->getResponse();
276 276
         $this->assertResponse($response, 'zone/update_partially_response', Response::HTTP_OK);
@@ -308,12 +308,12 @@  discard block
 block discarded – undo
308 308
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
309 309
         $zones = $this->loadFixturesFromFile('resources/zones.yml');
310 310
 
311
-        $this->client->request('DELETE', '/api/v1/zones/'.$zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType);
311
+        $this->client->request('DELETE', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType);
312 312
 
313 313
         $response = $this->client->getResponse();
314 314
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
315 315
 
316
-        $this->client->request('GET', '/api/v1/zones/'.$zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithAccept);
316
+        $this->client->request('GET', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithAccept);
317 317
 
318 318
         $response = $this->client->getResponse();
319 319
         $this->assertResponseCode($response, Response::HTTP_NOT_FOUND);
Please login to merge, or discard this patch.
Sylius/Bundle/CoreBundle/Installer/Requirement/FilesystemRequirements.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $this
23 23
             ->add(new Requirement(
24 24
                 $translator->trans('sylius.installer.filesystem.vendors', []),
25
-                is_dir($root.'/../vendor')
25
+                is_dir($root . '/../vendor')
26 26
             ))
27 27
             ->add(new Requirement(
28 28
                 $translator->trans('sylius.installer.filesystem.cache.header', []),
Please login to merge, or discard this patch.
Sylius/Bundle/ProductBundle/Form/Type/ProductOptionValueCollectionType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
             $builder->add((string) $option->getCode(), ProductOptionValueChoiceType::class, [
49 49
                 'label' => $option->getName() ?: $option->getCode(),
50 50
                 'option' => $option,
51
-                'property_path' => '['.$i.']',
51
+                'property_path' => '[' . $i . ']',
52 52
                 'block_name' => 'entry',
53 53
             ]);
54 54
         }
Please login to merge, or discard this patch.
tests/Controller/OrderApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 
108 108
         $this->addItemToCart($cartId);
109 109
 
110
-        $this->client->request('PATCH',  '/api/v1/carts/' . $cartId, [], [], static::$authorizedHeaderWithAccept, '{"promotionCoupon": "BANANAS"}');
110
+        $this->client->request('PATCH', '/api/v1/carts/' . $cartId, [], [], static::$authorizedHeaderWithAccept, '{"promotionCoupon": "BANANAS"}');
111 111
 
112 112
         $this->addressOrder($cartId);
113 113
         $this->selectOrderShippingMethod($cartId);
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/Factory/ChannelExampleFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     ) {
72 72
         $this->channelFactory = $channelFactory;
73 73
         $this->localeRepository = $localeRepository;
74
-        $this->currencyRepository= $currencyRepository;
74
+        $this->currencyRepository = $currencyRepository;
75 75
         $this->zoneRepository = $zoneRepository;
76 76
 
77 77
         $this->faker = \Faker\Factory::create();
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
                     count($this->commands),
77 77
                     $command['message']
78 78
                 ));
79
-                $this->commandExecutor->runCommand('sylius:install:'.$command['command'], [], $output);
79
+                $this->commandExecutor->runCommand('sylius:install:' . $command['command'], [], $output);
80 80
             } catch (RuntimeException $exception) {
81 81
                 $errored = true;
82 82
             }
Please login to merge, or discard this patch.
Tests/Functional/TestBundle/DependencyInjection/TestExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function load(array $configs, ContainerBuilder $container)
28 28
     {
29
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
29
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
30 30
         $loader->load('services.xml');
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Tests/Functional/TemplatingTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     {
29 29
         $client = self::createClient();
30 30
 
31
-        $crawler = $client->request('GET', '/template/'.$templateName);
31
+        $crawler = $client->request('GET', '/template/' . $templateName);
32 32
         $this->assertEquals($contents, trim($crawler->text()));
33 33
     }
34 34
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     {
57 57
         $client = self::createClient();
58 58
 
59
-        $crawler = $client->request('GET', '/template/'.$templateName);
59
+        $crawler = $client->request('GET', '/template/' . $templateName);
60 60
         $this->assertEquals($contents, trim($crawler->text()));
61 61
     }
62 62
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     {
85 85
         $client = self::createClient();
86 86
 
87
-        $crawler = $client->request('GET', '/template/'.$templateName);
87
+        $crawler = $client->request('GET', '/template/' . $templateName);
88 88
         $this->assertEquals($contents, trim($crawler->text()));
89 89
     }
90 90
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     {
111 111
         $client = self::createClient();
112 112
 
113
-        $crawler = $client->request('GET', '/template/'.$templateName);
113
+        $crawler = $client->request('GET', '/template/' . $templateName);
114 114
         $this->assertEquals($contents, trim($crawler->text()));
115 115
     }
116 116
 
Please login to merge, or discard this patch.