Completed
Push — master ( 6d05bc...71ecc8 )
by Kamil
25:05
created
src/Sylius/Behat/Context/Ui/Shop/ProductContext.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,9 @@
 block discarded – undo
12 12
 namespace Sylius\Behat\Context\Ui\Shop;
13 13
 
14 14
 use Behat\Behat\Context\Context;
15
-use Sylius\Behat\Page\Shop\Product\ShowPageInterface;
16 15
 use Sylius\Behat\Page\Shop\ProductReview\IndexPageInterface;
16
+use Sylius\Behat\Page\Shop\Product\ShowPageInterface;
17 17
 use Sylius\Behat\Page\Shop\Taxon\ShowPageInterface as TaxonShowPageInterface;
18
-use Sylius\Behat\Page\SymfonyPageInterface;
19 18
 use Sylius\Component\Core\Model\ProductInterface;
20 19
 use Sylius\Component\Core\Model\TaxonInterface;
21 20
 use Webmozart\Assert\Assert;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductReviewContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     ) {
87 87
         $review = $this->createProductReview($product, $title, $rating, $title, $customer);
88 88
         if (null !== $daysSinceCreation) {
89
-            $review->setCreatedAt(new \DateTime('-'.$daysSinceCreation.' days'));
89
+            $review->setCreatedAt(new \DateTime('-' . $daysSinceCreation . ' days'));
90 90
         }
91 91
 
92 92
         $this->productReviewRepository->add($review);
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     {
115 115
         $customer = $this->sharedStorage->get('customer');
116 116
         foreach ($rates as $key => $rate) {
117
-            $review = $this->createProductReview($product, 'Title '.$key, $rate, 'Comment '.$key, $customer);
117
+            $review = $this->createProductReview($product, 'Title ' . $key, $rate, 'Comment ' . $key, $customer);
118 118
             $this->productReviewRepository->add($review);
119 119
         }
120 120
     }
Please login to merge, or discard this patch.