@@ -65,7 +65,7 @@ discard block |
||
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 |
||
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( |
@@ -63,7 +63,7 @@ |
||
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 | } |