Completed
Push — symfony3-fqcn-promotion ( 358a27...51f651 )
by Kamil
34:17 queued 17:43
created
src/Sylius/Behat/Page/Shop/ProductReview/CreatePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -20,24 +20,31 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $title
23
+     * @return void
23 24
      */
24 25
     public function titleReview($title);
25 26
 
26 27
     /**
27 28
      * @param string $comment
29
+     * @return void
28 30
      */
29 31
     public function setComment($comment);
30 32
 
31 33
     /**
32 34
      * @param string $author
35
+     * @return void
33 36
      */
34 37
     public function setAuthor($author);
35 38
 
36 39
     /**
37 40
      * @param int $rate
41
+     * @return void
38 42
      */
39 43
     public function rateReview($rate);
40 44
 
45
+    /**
46
+     * @return void
47
+     */
41 48
     public function submitReview();
42 49
 
43 50
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductReviewContext.php 2 patches
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.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
 use Sylius\Behat\Page\Admin\Channel\IndexPageInterface;
16 16
 use Sylius\Behat\Page\Admin\Channel\UpdatePageInterface;
17 17
 use Sylius\Behat\Page\Shop\HomePageInterface;
18
+use Sylius\Behat\Service\SharedStorageInterface;
18 19
 use Sylius\Bundle\ThemeBundle\Model\ThemeInterface;
19 20
 use Sylius\Component\Core\Model\ChannelInterface;
20
-use Sylius\Behat\Service\SharedStorageInterface;
21 21
 use Webmozart\Assert\Assert;
22 22
 
23 23
 /**
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -42,6 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @param string $name
45
+     * @return void
45 46
      */
46 47
     public function setName($name);
47 48
 
@@ -52,6 +53,7 @@  discard block
 block discarded – undo
52 53
 
53 54
     /**
54 55
      * @param string $description
56
+     * @return void
55 57
      */
56 58
     public function setDescription($description);
57 59
 
@@ -62,6 +64,7 @@  discard block
 block discarded – undo
62 64
 
63 65
     /**
64 66
      * @param string $metaKeywords
67
+     * @return void
65 68
      */
66 69
     public function setMetaKeywords($metaKeywords);
67 70
 
@@ -72,6 +75,7 @@  discard block
 block discarded – undo
72 75
 
73 76
     /**
74 77
      * @param string $metaDescription
78
+     * @return void
75 79
      */
76 80
     public function setMetaDescription($metaDescription);
77 81
 
@@ -87,11 +91,13 @@  discard block
 block discarded – undo
87 91
 
88 92
     /**
89 93
      * @param ProductVariantInterface $variant
94
+     * @return void
90 95
      */
91 96
     public function addVariant(ProductVariantInterface $variant);
92 97
 
93 98
     /**
94 99
      * @param ProductVariantInterface $variant
100
+     * @return void
95 101
      */
96 102
     public function removeVariant(ProductVariantInterface $variant);
97 103
 
@@ -114,11 +120,13 @@  discard block
 block discarded – undo
114 120
 
115 121
     /**
116 122
      * @param ProductOptionInterface $option
123
+     * @return void
117 124
      */
118 125
     public function addOption(ProductOptionInterface $option);
119 126
 
120 127
     /**
121 128
      * @param ProductOptionInterface $option
129
+     * @return void
122 130
      */
123 131
     public function removeOption(ProductOptionInterface $option);
124 132
 
@@ -141,6 +149,7 @@  discard block
 block discarded – undo
141 149
 
142 150
     /**
143 151
      * @param \DateTime|null $availableOn
152
+     * @return void
144 153
      */
145 154
     public function setAvailableOn(\DateTime $availableOn = null);
146 155
 
@@ -151,11 +160,13 @@  discard block
 block discarded – undo
151 160
 
152 161
     /**
153 162
      * @param \DateTime|null $availableUntil
163
+     * @return void
154 164
      */
155 165
     public function setAvailableUntil(\DateTime $availableUntil = null);
156 166
 
157 167
     /**
158 168
      * @param ProductAssociationInterface $association
169
+     * @return void
159 170
      */
160 171
     public function addAssociation(ProductAssociationInterface $association);
161 172
 
@@ -166,6 +177,7 @@  discard block
 block discarded – undo
166 177
 
167 178
     /**
168 179
      * @param ProductAssociationInterface $association
180
+     * @return void
169 181
      */
170 182
     public function removeAssociation(ProductAssociationInterface $association);
171 183
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAssociationType/CreatePageInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OptionInterface $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(OptionInterface $option = null);
32 33
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
      * Set internal value.
42 43
      *
43 44
      * @param string $value
45
+     * @return void
44 46
      */
45 47
     public function setValue($value);
46 48
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAssociationType/UpdatePageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductReview/IndexPageInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OptionInterface $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(OptionInterface $option = null);
32 33
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
      * Set internal value.
42 43
      *
43 44
      * @param string $value
45
+     * @return void
44 46
      */
45 47
     public function setValue($value);
46 48
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductReview/UpdatePageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
      * Sets all option values.
40 40
      *
41 41
      * @param Collection $optionValues
42
+     * @return void
42 43
      */
43 44
     public function setValues(Collection $optionValues);
44 45
 
@@ -46,6 +47,7 @@  discard block
 block discarded – undo
46 47
      * Adds option value.
47 48
      *
48 49
      * @param OptionValueInterface $optionValue
50
+     * @return void
49 51
      */
50 52
     public function addValue(OptionValueInterface $optionValue);
51 53
 
@@ -53,6 +55,7 @@  discard block
 block discarded – undo
53 55
      * Removes option value.
54 56
      *
55 57
      * @param OptionValueInterface $optionValue
58
+     * @return void
56 59
      */
57 60
     public function removeValue(OptionValueInterface $optionValue);
58 61
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Promotion/CreatePageInterface.php 1 patch
Doc Comments   +19 added lines patch added patch discarded remove patch
@@ -22,16 +22,19 @@  discard block
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param string $code
25
+     * @return void
25 26
      */
26 27
     public function specifyCode($code);
27 28
 
28 29
     /**
29 30
      * @param string $name
31
+     * @return void
30 32
      */
31 33
     public function nameIt($name);
32 34
 
33 35
     /**
34 36
      * @param string $ruleName
37
+     * @return void
35 38
      */
36 39
     public function addRule($ruleName);
37 40
 
@@ -39,17 +42,20 @@  discard block
 block discarded – undo
39 42
      * @param string $option
40 43
      * @param string $value
41 44
      * @param bool $multiple
45
+     * @return void
42 46
      */
43 47
     public function selectRuleOption($option, $value, $multiple = false);
44 48
 
45 49
     /**
46 50
      * @param string $option
47 51
      * @param string $value
52
+     * @return void
48 53
      */
49 54
     public function fillRuleOption($option, $value);
50 55
 
51 56
     /**
52 57
      * @param string $actionName
58
+     * @return void
53 59
      */
54 60
     public function addAction($actionName);
55 61
 
@@ -57,36 +63,48 @@  discard block
 block discarded – undo
57 63
      * @param string $option
58 64
      * @param string $value
59 65
      * @param bool $multiple
66
+     * @return void
60 67
      */
61 68
     public function selectActionOption($option, $value, $multiple = false);
62 69
 
63 70
     /**
64 71
      * @param string $option
65 72
      * @param string $value
73
+     * @return void
66 74
      */
67 75
     public function fillActionOption($option, $value);
68 76
 
69 77
     /**
70 78
      * @param string $limit
79
+     * @return void
71 80
      */
72 81
     public function fillUsageLimit($limit);
73 82
 
83
+    /**
84
+     * @return void
85
+     */
74 86
     public function makeExclusive();
75 87
 
88
+    /**
89
+     * @return void
90
+     */
76 91
     public function checkCouponBased();
77 92
 
78 93
     /**
79 94
      * @param string $name
95
+     * @return void
80 96
      */
81 97
     public function checkChannel($name);
82 98
 
83 99
     /**
84 100
      * @param \DateTime $dateTime
101
+     * @return void
85 102
      */
86 103
     public function setStartsAt(\DateTime $dateTime);
87 104
 
88 105
     /**
89 106
      * @param \DateTime $dateTime
107
+     * @return void
90 108
      */
91 109
     public function setEndsAt(\DateTime $dateTime);
92 110
 
@@ -101,6 +119,7 @@  discard block
 block discarded – undo
101 119
      * @param string $option
102 120
      * @param string $value
103 121
      * @param bool $multiple
122
+     * @return void
104 123
      */
105 124
     public function selectFilterOption($option, $value, $multiple = false);
106 125
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Customer/OrderAddressesSaverInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.