Completed
Push — master ( 1671b1...4e9462 )
by Kamil
23:39
created
src/Sylius/Behat/spec/Context/Ui/ProductContextSpec.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         $productShowPage->tryToOpen(['product' => $product])->shouldBeCalled();
66 66
         $productShowPage->isOpen(['product' => $product])->willReturn(false);
67 67
 
68
-        $this->shouldThrow(NotEqualException::class)->during('iShouldBeAbleToAccessProduct',[$product]);
68
+        $this->shouldThrow(NotEqualException::class)->during('iShouldBeAbleToAccessProduct', [$product]);
69 69
     }
70 70
 
71 71
     function it_checks_if_i_am_not_able_to_access_product_page(ProductShowPageInterface $productShowPage, ProductInterface $product)
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         $productShowPage->tryToOpen(['product' => $product])->shouldBeCalled();
84 84
         $productShowPage->isOpen(['product' => $product])->willReturn(true);
85 85
 
86
-        $this->shouldThrow(NotEqualException::class)->during('iShouldNotBeAbleToAccessProduct',[$product]);
86
+        $this->shouldThrow(NotEqualException::class)->during('iShouldNotBeAbleToAccessProduct', [$product]);
87 87
     }
88 88
 
89 89
     function it_deletes_a_product(
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Domain/PromotionContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
             $this->couponRepository->remove($coupon);
64 64
 
65 65
             throw new \Exception(sprintf('Coupon "%s" has been removed, but it should not.', $coupon->getCode()));
66
-        } catch(ForeignKeyConstraintViolationException $exception) {
66
+        } catch (ForeignKeyConstraintViolationException $exception) {
67 67
             $this->sharedStorage->set('last_exception', $exception);
68 68
         }
69 69
     }
Please login to merge, or discard this patch.