Completed
Push — symfony3-fqcn ( fc44dc...d46cdc )
by Kamil
34:08 queued 14:53
created
app/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 use Composer\Autoload\ClassLoader;
5 5
 
6 6
 /** @var ClassLoader $loader */
7
-$loader = require __DIR__.'/../vendor/autoload.php';
7
+$loader = require __DIR__ . '/../vendor/autoload.php';
8 8
 
9 9
 AnnotationRegistry::registerLoader([$loader, 'loadClass']);
10 10
 
Please login to merge, or discard this patch.
web/app.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
  */
18 18
 
19 19
 /** @var \Composer\Autoload\ClassLoader $loader */
20
-$loader = require __DIR__.'/../app/autoload.php';
21
-include_once __DIR__.'/../var/bootstrap.php.cache';
20
+$loader = require __DIR__ . '/../app/autoload.php';
21
+include_once __DIR__ . '/../var/bootstrap.php.cache';
22 22
 
23 23
 $kernel = new AppKernel('prod', false);
24 24
 $kernel->loadClassCache();
Please login to merge, or discard this patch.
web/app_dev.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@
 block discarded – undo
27 27
     || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server')
28 28
 )) {
29 29
     header('HTTP/1.0 403 Forbidden');
30
-    exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
30
+    exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.');
31 31
 }
32 32
 
33 33
 /** @var \Composer\Autoload\ClassLoader $loader */
34
-$loader = require __DIR__.'/../app/autoload.php';
35
-include_once __DIR__.'/../var/bootstrap.php.cache';
34
+$loader = require __DIR__ . '/../app/autoload.php';
35
+include_once __DIR__ . '/../var/bootstrap.php.cache';
36 36
 
37 37
 Debug::enable();
38 38
 
Please login to merge, or discard this patch.
web/app_test_cached.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@
 block discarded – undo
27 27
     || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server')
28 28
 )) {
29 29
     header('HTTP/1.0 403 Forbidden');
30
-    exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
30
+    exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.');
31 31
 }
32 32
 
33 33
 /** @var \Composer\Autoload\ClassLoader $loader */
34
-$loader = require __DIR__.'/../app/autoload.php';
35
-include_once __DIR__.'/../var/bootstrap.php.cache';
34
+$loader = require __DIR__ . '/../app/autoload.php';
35
+include_once __DIR__ . '/../var/bootstrap.php.cache';
36 36
 
37 37
 Debug::enable();
38 38
 
Please login to merge, or discard this patch.
web/app_test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@
 block discarded – undo
27 27
     || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server')
28 28
 )) {
29 29
     header('HTTP/1.0 403 Forbidden');
30
-    exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
30
+    exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.');
31 31
 }
32 32
 
33 33
 /** @var \Composer\Autoload\ClassLoader $loader */
34
-$loader = require __DIR__.'/../app/autoload.php';
35
-include_once __DIR__.'/../var/bootstrap.php.cache';
34
+$loader = require __DIR__ . '/../app/autoload.php';
35
+include_once __DIR__ . '/../var/bootstrap.php.cache';
36 36
 
37 37
 Debug::enable();
38 38
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/PaymentContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     public function storeAllowsPaying($paymentMethodName, $position = null)
90 90
     {
91
-        $this->createPaymentMethod($paymentMethodName, 'PM_'.$paymentMethodName, 'Payment method', true, $position);
91
+        $this->createPaymentMethod($paymentMethodName, 'PM_' . $paymentMethodName, 'Payment method', true, $position);
92 92
     }
93 93
 
94 94
     /**
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      */
141 141
     public function theStoreHasPaymentMethodNotAssignedToAnyChannel($paymentMethodName)
142 142
     {
143
-        $this->createPaymentMethod($paymentMethodName, 'PM_'.$paymentMethodName, 'Payment method', false);
143
+        $this->createPaymentMethod($paymentMethodName, 'PM_' . $paymentMethodName, 'Payment method', false);
144 144
     }
145 145
 
146 146
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductContext.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     {
181 181
         $product = $this->createProduct($productName, $price);
182 182
 
183
-        $product->setDescription('Awesome '.$productName);
183
+        $product->setDescription('Awesome ' . $productName);
184 184
 
185 185
         if ($this->sharedStorage->has('channel')) {
186 186
             $product->addChannel($this->sharedStorage->get('channel'));
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     {
214 214
         $product = $this->createProduct($productName, $price);
215 215
 
216
-        $product->setDescription('Awesome '.$productName);
216
+        $product->setDescription('Awesome ' . $productName);
217 217
 
218 218
         foreach ($channels as $channel) {
219 219
             $product->addChannel($channel);
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
         $product->setCode(StringInflector::nameToUppercaseCode($productName));
252 252
         $product->setSlug($this->slugGenerator->generate($productName));
253 253
 
254
-        $product->setDescription('Awesome '.$productName);
254
+        $product->setDescription('Awesome ' . $productName);
255 255
 
256 256
         if ($this->sharedStorage->has('channel')) {
257 257
             $channel = $this->sharedStorage->get('channel');
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
      */
374 374
     public function thisProductHasAttributeWithValue(ProductInterface $product, $productAttributeType, $productAttributeName, $value)
375 375
     {
376
-        $attribute = $this->createProductAttribute($productAttributeType,$productAttributeName);
376
+        $attribute = $this->createProductAttribute($productAttributeType, $productAttributeName);
377 377
         $attributeValue = $this->createProductAttributeValue($value, $attribute);
378 378
         $product->addAttribute($attributeValue);
379 379
 
@@ -385,8 +385,8 @@  discard block
 block discarded – undo
385 385
      */
386 386
     public function thisProductHasPercentAttributeWithValue(ProductInterface $product, $productAttributeName, $value)
387 387
     {
388
-        $attribute = $this->createProductAttribute('percent',$productAttributeName);
389
-        $attributeValue = $this->createProductAttributeValue($value/100, $attribute);
388
+        $attribute = $this->createProductAttribute('percent', $productAttributeName);
389
+        $attributeValue = $this->createProductAttributeValue($value / 100, $attribute);
390 390
         $product->addAttribute($attributeValue);
391 391
 
392 392
         $this->objectManager->flush();
@@ -410,9 +410,9 @@  discard block
 block discarded – undo
410 410
      */
411 411
     public function thisProductHasPercentAttributeWithValueAtPosition(ProductInterface $product, $productAttributeName, $position)
412 412
     {
413
-        $attribute = $this->createProductAttribute('percent',$productAttributeName);
413
+        $attribute = $this->createProductAttribute('percent', $productAttributeName);
414 414
         $attribute->setPosition($position);
415
-        $attributeValue = $this->createProductAttributeValue(rand(1,100)/100, $attribute);
415
+        $attributeValue = $this->createProductAttributeValue(rand(1, 100) / 100, $attribute);
416 416
 
417 417
         $product->addAttribute($attributeValue);
418 418
 
@@ -583,7 +583,7 @@  discard block
 block discarded – undo
583 583
 
584 584
         /** @var ImageInterface $productImage */
585 585
         $productImage = $this->productImageFactory->createNew();
586
-        $productImage->setFile(new UploadedFile($filesPath.$imagePath, basename($imagePath)));
586
+        $productImage->setFile(new UploadedFile($filesPath . $imagePath, basename($imagePath)));
587 587
         $productImage->setCode($imageCode);
588 588
         $this->imageUploader->upload($productImage);
589 589
 
Please login to merge, or discard this patch.