Completed
Push — 1.3 ( 398444...af1b9f )
by Kamil
27:59
created
src/Sylius/Behat/Page/Admin/Product/CreateSimpleProductPageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -21,39 +21,46 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * @param string $channelName
23 23
      * @param int $price
24
+     * @return void
24 25
      */
25 26
     public function specifyPrice($channelName, $price);
26 27
 
27 28
     /**
28 29
      * @param string $channelName
29 30
      * @param int $originalPrice
31
+     * @return void
30 32
      */
31 33
     public function specifyOriginalPrice($channelName, $originalPrice);
32 34
 
33 35
     /**
34 36
      * @param string $name
37
+     * @return void
35 38
      */
36 39
     public function choosePricingCalculator($name);
37 40
 
38 41
     /**
39 42
      * @param string $channelName
43
+     * @return void
40 44
      */
41 45
     public function checkChannel($channelName);
42 46
 
43 47
     /**
44 48
      * @param string $code
49
+     * @return void
45 50
      */
46 51
     public function specifyCode($code);
47 52
 
48 53
     /**
49 54
      * @param string $name
50 55
      * @param string $localeCode
56
+     * @return void
51 57
      */
52 58
     public function nameItIn($name, $localeCode);
53 59
 
54 60
     /**
55 61
      * @param string $slug
56 62
      * @param string $locale
63
+     * @return void
57 64
      */
58 65
     public function specifySlugIn($slug, $locale);
59 66
 
@@ -61,6 +68,7 @@  discard block
 block discarded – undo
61 68
      * @param string $attributeName
62 69
      * @param string $value
63 70
      * @param string $localeCode
71
+     * @return void
64 72
      */
65 73
     public function addAttribute($attributeName, $value, $localeCode);
66 74
 
@@ -75,37 +83,44 @@  discard block
 block discarded – undo
75 83
     /**
76 84
      * @param string $attributeName
77 85
      * @param string $localeCode
86
+     * @return void
78 87
      */
79 88
     public function removeAttribute($attributeName, $localeCode);
80 89
 
81 90
     /**
82 91
      * @param string $path
83 92
      * @param string $type
93
+     * @return void
84 94
      */
85 95
     public function attachImage($path, $type = null);
86 96
 
87 97
     /**
88 98
      * @param string[] $productsNames
99
+     * @return void
89 100
      */
90 101
     public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames);
91 102
 
92 103
     /**
93 104
      * @param string $productName
105
+     * @return void
94 106
      */
95 107
     public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType);
96 108
 
97 109
     /**
98 110
      * @param string $locale
111
+     * @return void
99 112
      */
100 113
     public function activateLanguageTab($locale);
101 114
 
102 115
     /**
103 116
      * @param string $shippingCategoryName
117
+     * @return void
104 118
      */
105 119
     public function selectShippingCategory($shippingCategoryName);
106 120
 
107 121
     /**
108 122
      * @param bool $isShippingRequired
123
+     * @return void
109 124
      */
110 125
     public function setShippingRequired($isShippingRequired);
111 126
 }
Please login to merge, or discard this patch.
Sylius/Behat/Page/Admin/Product/UpdateConfigurableProductPageInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * @param string $name
28 28
      * @param string $localeCode
29
+     * @return void
29 30
      */
30 31
     public function nameItIn($name, $localeCode);
31 32
 
@@ -46,10 +47,14 @@  discard block
 block discarded – undo
46 47
      */
47 48
     public function isMainTaxonChosen($taxonName);
48 49
 
50
+    /**
51
+     * @return void
52
+     */
49 53
     public function selectMainTaxon(TaxonInterface $taxon);
50 54
 
51 55
     /**
52 56
      * @param string $channelName
57
+     * @return void
53 58
      */
54 59
     public function checkChannel($channelName);
55 60
 
@@ -63,24 +68,31 @@  discard block
 block discarded – undo
63 68
     /**
64 69
      * @param string $path
65 70
      * @param string $type
71
+     * @return void
66 72
      */
67 73
     public function attachImage($path, $type = null);
68 74
 
69 75
     /**
70 76
      * @param string $type
71 77
      * @param string $path
78
+     * @return void
72 79
      */
73 80
     public function changeImageWithType($type, $path);
74 81
 
75 82
     /**
76 83
      * @param string $type
84
+     * @return void
77 85
      */
78 86
     public function removeImageWithType($type);
79 87
 
88
+    /**
89
+     * @return void
90
+     */
80 91
     public function removeFirstImage();
81 92
 
82 93
     /**
83 94
      * @param string $type
95
+     * @return void
84 96
      */
85 97
     public function modifyFirstImageType($type);
86 98
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateSimpleProductPageInterface.php 1 patch
Doc Comments   +28 added lines patch added patch discarded remove patch
@@ -36,26 +36,33 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * @param string $channelName
38 38
      * @param int $price
39
+     * @return void
39 40
      */
40 41
     public function specifyPrice($channelName, $price);
41 42
 
42 43
     /**
43 44
      * @param string $channelName
44 45
      * @param int $originalPrice
46
+     * @return void
45 47
      */
46 48
     public function specifyOriginalPrice($channelName, $originalPrice);
47 49
 
48 50
     /**
49 51
      * @param string $name
50 52
      * @param string $localeCode
53
+     * @return void
51 54
      */
52 55
     public function nameItIn($name, $localeCode);
53 56
 
57
+    /**
58
+     * @return void
59
+     */
54 60
     public function addSelectedAttributes();
55 61
 
56 62
     /**
57 63
      * @param string $attributeName
58 64
      * @param string $localeCode
65
+     * @return void
59 66
      */
60 67
     public function removeAttribute($attributeName, $localeCode);
61 68
 
@@ -94,10 +101,19 @@  discard block
 block discarded – undo
94 101
      */
95 102
     public function isMainTaxonChosen($taxonName);
96 103
 
104
+    /**
105
+     * @return void
106
+     */
97 107
     public function selectMainTaxon(TaxonInterface $taxon);
98 108
 
109
+    /**
110
+     * @return void
111
+     */
99 112
     public function disableTracking();
100 113
 
114
+    /**
115
+     * @return void
116
+     */
101 117
     public function enableTracking();
102 118
 
103 119
     /**
@@ -107,6 +123,7 @@  discard block
 block discarded – undo
107 123
 
108 124
     /**
109 125
      * @param string $locale
126
+     * @return void
110 127
      */
111 128
     public function enableSlugModification($locale);
112 129
 
@@ -120,24 +137,31 @@  discard block
 block discarded – undo
120 137
     /**
121 138
      * @param string $path
122 139
      * @param string $type
140
+     * @return void
123 141
      */
124 142
     public function attachImage($path, $type = null);
125 143
 
126 144
     /**
127 145
      * @param string $type
128 146
      * @param string $path
147
+     * @return void
129 148
      */
130 149
     public function changeImageWithType($type, $path);
131 150
 
132 151
     /**
133 152
      * @param string $type
153
+     * @return void
134 154
      */
135 155
     public function removeImageWithType($type);
136 156
 
157
+    /**
158
+     * @return void
159
+     */
137 160
     public function removeFirstImage();
138 161
 
139 162
     /**
140 163
      * @param string $type
164
+     * @return void
141 165
      */
142 166
     public function modifyFirstImageType($type);
143 167
 
@@ -148,6 +172,7 @@  discard block
 block discarded – undo
148 172
 
149 173
     /**
150 174
      * @param string[] $productsNames
175
+     * @return void
151 176
      */
152 177
     public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames);
153 178
 
@@ -160,6 +185,7 @@  discard block
 block discarded – undo
160 185
 
161 186
     /**
162 187
      * @param string $productName
188
+     * @return void
163 189
      */
164 190
     public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType);
165 191
 
@@ -170,6 +196,7 @@  discard block
 block discarded – undo
170 196
 
171 197
     /**
172 198
      * @param string $locale
199
+     * @return void
173 200
      */
174 201
     public function activateLanguageTab($locale);
175 202
 
@@ -183,6 +210,7 @@  discard block
 block discarded – undo
183 210
     /**
184 211
      * @param string $slug
185 212
      * @param string $locale
213
+     * @return void
186 214
      */
187 215
     public function specifySlugIn($slug, $locale);
188 216
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAttribute/CreatePageInterface.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -20,12 +20,14 @@  discard block
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $code
23
+     * @return void
23 24
      */
24 25
     public function specifyCode($code);
25 26
 
26 27
     /**
27 28
      * @param string $name
28 29
      * @param string $language
30
+     * @return void
29 31
      */
30 32
     public function nameIt($name, $language);
31 33
 
@@ -34,12 +36,24 @@  discard block
 block discarded – undo
34 36
      */
35 37
     public function isTypeDisabled();
36 38
 
39
+    /**
40
+     * @return void
41
+     */
37 42
     public function addAttributeValue(string $value, string $localeCode): void;
38 43
 
44
+    /**
45
+     * @return void
46
+     */
39 47
     public function specifyMinValue(int $min): void;
40 48
 
49
+    /**
50
+     * @return void
51
+     */
41 52
     public function specifyMaxValue(int $max): void;
42 53
 
54
+    /**
55
+     * @return void
56
+     */
43 57
     public function checkMultiple(): void;
44 58
 
45 59
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAttribute/UpdatePageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * @param string $name
22 22
      * @param string $language
23
+     * @return void
23 24
      */
24 25
     public function changeName($name, $language);
25 26
 
@@ -33,11 +34,20 @@  discard block
 block discarded – undo
33 34
      */
34 35
     public function isTypeDisabled();
35 36
 
37
+    /**
38
+     * @return void
39
+     */
36 40
     public function changeAttributeValue(string $oldValue, string $newValue): void;
37 41
 
38 42
     public function hasAttributeValue(string $value): bool;
39 43
 
44
+    /**
45
+     * @return void
46
+     */
40 47
     public function addAttributeValue(string $value, string $localeCode): void;
41 48
 
49
+    /**
50
+     * @return void
51
+     */
42 52
     public function deleteAttributeValue(string $value): void;
43 53
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductReview/IndexPageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,7 +17,13 @@
 block discarded – undo
17 17
 
18 18
 interface IndexPageInterface extends BaseIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function accept(array $parameters);
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function reject(array $parameters);
23 29
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Promotion/CreatePageInterface.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -20,16 +20,19 @@  discard block
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $code
23
+     * @return void
23 24
      */
24 25
     public function specifyCode($code);
25 26
 
26 27
     /**
27 28
      * @param string $name
29
+     * @return void
28 30
      */
29 31
     public function nameIt($name);
30 32
 
31 33
     /**
32 34
      * @param string $ruleName
35
+     * @return void
33 36
      */
34 37
     public function addRule($ruleName);
35 38
 
@@ -37,6 +40,7 @@  discard block
 block discarded – undo
37 40
      * @param string $option
38 41
      * @param string $value
39 42
      * @param bool $multiple
43
+     * @return void
40 44
      */
41 45
     public function selectRuleOption($option, $value, $multiple = false);
42 46
 
@@ -44,12 +48,14 @@  discard block
 block discarded – undo
44 48
      * @param string $option
45 49
      * @param string|string[] $value
46 50
      * @param bool $multiple
51
+     * @return void
47 52
      */
48 53
     public function selectAutocompleteRuleOption($option, $value, $multiple = false);
49 54
 
50 55
     /**
51 56
      * @param string $option
52 57
      * @param string $value
58
+     * @return void
53 59
      */
54 60
     public function fillRuleOption($option, $value);
55 61
 
@@ -57,11 +63,13 @@  discard block
 block discarded – undo
57 63
      * @param string $channelName
58 64
      * @param string $option
59 65
      * @param string $value
66
+     * @return void
60 67
      */
61 68
     public function fillRuleOptionForChannel($channelName, $option, $value);
62 69
 
63 70
     /**
64 71
      * @param string $actionName
72
+     * @return void
65 73
      */
66 74
     public function addAction($actionName);
67 75
 
@@ -69,12 +77,14 @@  discard block
 block discarded – undo
69 77
      * @param string $option
70 78
      * @param string $value
71 79
      * @param bool $multiple
80
+     * @return void
72 81
      */
73 82
     public function selectActionOption($option, $value, $multiple = false);
74 83
 
75 84
     /**
76 85
      * @param string $option
77 86
      * @param string $value
87
+     * @return void
78 88
      */
79 89
     public function fillActionOption($option, $value);
80 90
 
@@ -82,25 +92,40 @@  discard block
 block discarded – undo
82 92
      * @param string $channelName
83 93
      * @param string $option
84 94
      * @param string $value
95
+     * @return void
85 96
      */
86 97
     public function fillActionOptionForChannel($channelName, $option, $value);
87 98
 
88 99
     /**
89 100
      * @param string $limit
101
+     * @return void
90 102
      */
91 103
     public function fillUsageLimit($limit);
92 104
 
105
+    /**
106
+     * @return void
107
+     */
93 108
     public function makeExclusive();
94 109
 
110
+    /**
111
+     * @return void
112
+     */
95 113
     public function checkCouponBased();
96 114
 
97 115
     /**
98 116
      * @param string $name
117
+     * @return void
99 118
      */
100 119
     public function checkChannel($name);
101 120
 
121
+    /**
122
+     * @return void
123
+     */
102 124
     public function setStartsAt(\DateTimeInterface $dateTime);
103 125
 
126
+    /**
127
+     * @return void
128
+     */
104 129
     public function setEndsAt(\DateTimeInterface $dateTime);
105 130
 
106 131
     /**
@@ -114,6 +139,7 @@  discard block
 block discarded – undo
114 139
      * @param string $option
115 140
      * @param string|string[] $value
116 141
      * @param bool $multiple
142
+     * @return void
117 143
      */
118 144
     public function selectAutoCompleteFilterOption($option, $value, $multiple = false);
119 145
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Promotion/UpdatePageInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@  discard block
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @param int|null $priority
22
+     * @return void
22 23
      */
23 24
     public function setPriority($priority);
24 25
 
@@ -29,6 +30,7 @@  discard block
 block discarded – undo
29 30
 
30 31
     /**
31 32
      * @param string $name
33
+     * @return void
32 34
      */
33 35
     public function nameIt($name);
34 36
 
@@ -46,29 +48,45 @@  discard block
 block discarded – undo
46 48
 
47 49
     /**
48 50
      * @param string $limit
51
+     * @return void
49 52
      */
50 53
     public function fillUsageLimit($limit);
51 54
 
55
+    /**
56
+     * @return void
57
+     */
52 58
     public function makeExclusive();
53 59
 
60
+    /**
61
+     * @return void
62
+     */
54 63
     public function checkCouponBased();
55 64
 
56 65
     /**
57 66
      * @param string $name
67
+     * @return void
58 68
      */
59 69
     public function checkChannel($name);
60 70
 
71
+    /**
72
+     * @return void
73
+     */
61 74
     public function setStartsAt(\DateTimeInterface $dateTime);
62 75
 
76
+    /**
77
+     * @return void
78
+     */
63 79
     public function setEndsAt(\DateTimeInterface $dateTime);
64 80
 
65 81
     /**
66 82
      * {@inheritdoc}
83
+     * @return boolean
67 84
      */
68 85
     public function hasStartsAt(\DateTimeInterface $dateTime);
69 86
 
70 87
     /**
71 88
      * {@inheritdoc}
89
+     * @return boolean
72 90
      */
73 91
     public function hasEndsAt(\DateTimeInterface $dateTime);
74 92
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/CreatePageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,18 +19,24 @@
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @param int $limit
22
+     * @return void
22 23
      */
23 24
     public function setCustomerUsageLimit($limit);
24 25
 
26
+    /**
27
+     * @return void
28
+     */
25 29
     public function setExpiresAt(\DateTimeInterface $date);
26 30
 
27 31
     /**
28 32
      * @param string $code
33
+     * @return void
29 34
      */
30 35
     public function specifyCode($code);
31 36
 
32 37
     /**
33 38
      * @param int $limit
39
+     * @return void
34 40
      */
35 41
     public function setUsageLimit($limit);
36 42
 }
Please login to merge, or discard this patch.