Completed
Push — checkout-context-cleanup ( 3b30b9...1e6a42 )
by Kamil
18:57
created
src/Sylius/Behat/Context/Ui/CheckoutContext.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -815,6 +815,8 @@
 block discarded – undo
815 815
     /**
816 816
      * @Given I have proceeded order with :shippingMethod shipping method and :paymentMethod payment
817 817
      * @When I proceed with :shippingMethod shipping method and :paymentMethod payment
818
+     * @param string $shippingMethod
819
+     * @param string $paymentMethod
818 820
      */
819 821
     public function iProceedOrderWithShippingMethodAndPayment($shippingMethod, $paymentMethod)
820 822
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use Sylius\Behat\Page\Shop\Checkout\SelectShippingPageInterface;
22 22
 use Sylius\Behat\Page\UnexpectedPageException;
23 23
 use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface;
24
-use Sylius\Behat\Service\SharedStorageInterface;
25 24
 use Sylius\Component\Addressing\Model\CountryInterface;
26 25
 use Webmozart\Assert\Assert;
27 26
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Shop/Checkout/CompleteContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      */
101 101
     public function iShouldSeeThisShippingAddressAsShippingAddress($fullName)
102 102
     {
103
-        $address = $this->sharedStorage->get('shipping_address_'.StringInflector::nameToLowercaseCode($fullName));
103
+        $address = $this->sharedStorage->get('shipping_address_' . StringInflector::nameToLowercaseCode($fullName));
104 104
 
105 105
         Assert::true($this->completePage->hasShippingAddress($address));
106 106
     }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public function iShouldSeeThisBillingAddressAsBillingAddress($fullName)
112 112
     {
113
-        $address = $this->sharedStorage->get('billing_address_'.StringInflector::nameToLowercaseCode($fullName));
113
+        $address = $this->sharedStorage->get('billing_address_' . StringInflector::nameToLowercaseCode($fullName));
114 114
 
115 115
         Assert::true($this->completePage->hasBillingAddress($address));
116 116
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Shop/Checkout/ShippingContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,6 +204,6 @@
 block discarded – undo
204 204
      */
205 205
     public function iShouldBeCheckingOutAs($email)
206 206
     {
207
-        Assert::same('Checking out as '.$email.'.', $this->selectShippingPage->getPurchaserEmail());
207
+        Assert::same('Checking out as ' . $email . '.', $this->selectShippingPage->getPurchaserEmail());
208 208
     }
209 209
 }
Please login to merge, or discard this patch.