Completed
Push — coding-style-checks ( b80fd2...3cea25 )
by Kamil
51:47 queued 28:55
created
src/Sylius/Behat/Context/Setup/OrderContext.php 1 patch
Spacing   +5 added lines, -5 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
 
@@ -568,7 +568,7 @@  discard block
 block discarded – undo
568 568
         $this->addVariantWithPriceToOrder($order, $product->getVariants()->first(), $price);
569 569
 
570 570
         $this->orderRepository->add($order);
571
-        $this->sharedStorage->set('order',  $order);
571
+        $this->sharedStorage->set('order', $order);
572 572
     }
573 573
 
574 574
     /**
@@ -784,7 +784,7 @@  discard block
 block discarded – undo
784 784
             $customer = $this->customerFactory->createNew();
785 785
             $customer->setEmail(sprintf('john%[email protected]', uniqid()));
786 786
             $customer->setFirstname('John');
787
-            $customer->setLastname('Doe'.$i);
787
+            $customer->setLastname('Doe' . $i);
788 788
 
789 789
             $customers[] = $customer;
790 790
 
@@ -876,7 +876,7 @@  discard block
 block discarded – undo
876 876
         $total = $this->getPriceFromString($total);
877 877
 
878 878
         for ($i = 0; $i < $numberOfOrders; $i++) {
879
-            $order = $this->createOrder($customers[rand(0, $numberOfCustomers - 1)], '#'.uniqid());
879
+            $order = $this->createOrder($customers[rand(0, $numberOfCustomers - 1)], '#' . uniqid());
880 880
             $order->setState(OrderInterface::STATE_NEW); // Temporary, we should use checkout to place these orders.
881 881
             $this->applyPaymentTransitionOnOrder($order, PaymentTransitions::TRANSITION_COMPLETE);
882 882
 
@@ -915,7 +915,7 @@  discard block
 block discarded – undo
915 915
         $total = $this->getPriceFromString($total);
916 916
 
917 917
         for ($i = 0; $i < $numberOfOrders; $i++) {
918
-            $order = $this->createOrder($customers[rand(0, $numberOfCustomers - 1)], '#'.uniqid(), $product->getChannels()->first());
918
+            $order = $this->createOrder($customers[rand(0, $numberOfCustomers - 1)], '#' . uniqid(), $product->getChannels()->first());
919 919
             $order->setState(OrderInterface::STATE_NEW);
920 920
             $this->applyPaymentTransitionOnOrder($order, PaymentTransitions::TRANSITION_COMPLETE);
921 921
 
Please login to merge, or discard this patch.