Completed
Push — pull-request/8500 ( e49efc...54b484 )
by Kamil
36:05 queued 17:36
created
src/Sylius/Behat/spec/Service/Mocker/MockerSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace spec\Sylius\Behat;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Domain/ManagingProductsContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Domain;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Domain/CartContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Domain;
15 15
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function theyAbandonedTheirCart(OrderInterface $cart, $amount, $time)
53 53
     {
54
-        $cart->setUpdatedAt(new \DateTime('-'.$amount.' '.$time));
54
+        $cart->setUpdatedAt(new \DateTime('-' . $amount . ' ' . $time));
55 55
         $this->orderManager->flush();
56 56
     }
57 57
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Domain/ManagingOrdersContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Domain;
15 15
 
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      */
170 170
     public function thisOrderHasNotBeenPaidForDays(OrderInterface $order, $amount, $time)
171 171
     {
172
-        $order->setCheckoutCompletedAt(new \DateTime('-'.$amount.' '.$time));
172
+        $order->setCheckoutCompletedAt(new \DateTime('-' . $amount . ' ' . $time));
173 173
         $this->orderManager->flush();
174 174
 
175 175
         $this->unpaidOrdersStateUpdater->cancel();
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Hook/TestThemeContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Hook;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Transform/LexicalContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Transform;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Api/Admin/ManagingTaxonsContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Api\Admin;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ShippingCategoryContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Setup;
15 15
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     public function theStoreHasAndShippingCategory($firstShippingCategoryName, $secondShippingCategoryName = null)
63 63
     {
64 64
         $this->createShippingCategory($firstShippingCategoryName);
65
-        (null === $secondShippingCategoryName)? : $this->createShippingCategory($secondShippingCategoryName);
65
+        (null === $secondShippingCategoryName) ?: $this->createShippingCategory($secondShippingCategoryName);
66 66
     }
67 67
 
68 68
     /**
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     private function createShippingCategory($shippingCategoryName, $shippingCategoryCode = null)
81 81
     {
82 82
         /** @var ShippingCategoryInterface $shippingCategory */
83
-        $shippingCategory =  $this->shippingCategoryFactory->createNew();
83
+        $shippingCategory = $this->shippingCategoryFactory->createNew();
84 84
         $shippingCategory->setName($shippingCategoryName);
85 85
         $shippingCategory->setCode($shippingCategoryCode);
86 86
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/TaxonomyContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Context\Setup;
15 15
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 
139 139
         /** @var ImageInterface $taxonImage */
140 140
         $taxonImage = $this->taxonImageFactory->createNew();
141
-        $taxonImage->setFile(new UploadedFile($filesPath.$imagePath, basename($imagePath)));
141
+        $taxonImage->setFile(new UploadedFile($filesPath . $imagePath, basename($imagePath)));
142 142
         $taxonImage->setType($imageType);
143 143
         $this->imageUploader->upload($taxonImage);
144 144
 
Please login to merge, or discard this patch.