Completed
Push — pull-request/8500 ( e49efc...54b484 )
by Kamil
36:05 queued 17:36
created
src/Sylius/Behat/Page/Admin/ProductVariant/UpdatePageInterface.php 2 patches
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -27,11 +27,18 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param int $price
30
+     * @return void
30 31
      */
31 32
     public function specifyPrice($price);
32 33
 
34
+    /**
35
+     * @return void
36
+     */
33 37
     public function disableTracking();
34 38
 
39
+    /**
40
+     * @return void
41
+     */
35 42
     public function enableTracking();
36 43
 
37 44
     /**
@@ -70,6 +77,7 @@  discard block
 block discarded – undo
70 77
 
71 78
     /**
72 79
      * @param int $amount
80
+     * @return void
73 81
      */
74 82
     public function specifyCurrentStock($amount);
75 83
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Admin\ProductVariant;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ImageInterface.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param string $type
28
+     * @return void
28 29
      */
29 30
     public function setType($type);
30 31
 
@@ -35,6 +36,7 @@  discard block
 block discarded – undo
35 36
 
36 37
     /**
37 38
      * @param \SplFileInfo $file
39
+     * @return void
38 40
      */
39 41
     public function setFile(\SplFileInfo $file);
40 42
 
@@ -50,6 +52,7 @@  discard block
 block discarded – undo
50 52
 
51 53
     /**
52 54
      * @param string $path
55
+     * @return void
53 56
      */
54 57
     public function setPath($path);
55 58
 
@@ -60,6 +63,7 @@  discard block
 block discarded – undo
60 63
 
61 64
     /**
62 65
      * @param object|null $owner
66
+     * @return void
63 67
      */
64 68
     public function setOwner($owner);
65 69
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Core\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ImagesAwareInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -44,11 +44,13 @@
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * @param ImageInterface $image
47
+     * @return void
47 48
      */
48 49
     public function addImage(ImageInterface $image);
49 50
 
50 51
     /**
51 52
      * @param ImageInterface $image
53
+     * @return void
52 54
      */
53 55
     public function removeImage(ImageInterface $image);
54 56
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Core\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateSimpleProductPageInterface.php 2 patches
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -38,26 +38,33 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * @param string $channelName
40 40
      * @param int $price
41
+     * @return void
41 42
      */
42 43
     public function specifyPrice($channelName, $price);
43 44
 
44 45
     /**
45 46
      * @param string $channelName
46 47
      * @param int $originalPrice
48
+     * @return void
47 49
      */
48 50
     public function specifyOriginalPrice($channelName, $originalPrice);
49 51
 
50 52
     /**
51 53
      * @param string $name
52 54
      * @param string $localeCode
55
+     * @return void
53 56
      */
54 57
     public function nameItIn($name, $localeCode);
55 58
 
59
+    /**
60
+     * @return void
61
+     */
56 62
     public function addSelectedAttributes();
57 63
 
58 64
     /**
59 65
      * @param string $attributeName
60 66
      * @param string $localeCode
67
+     * @return void
61 68
      */
62 69
     public function removeAttribute($attributeName, $localeCode);
63 70
 
@@ -90,11 +97,18 @@  discard block
 block discarded – undo
90 97
 
91 98
     /**
92 99
      * @param TaxonInterface $taxon
100
+     * @return void
93 101
      */
94 102
     public function selectMainTaxon(TaxonInterface $taxon);
95 103
 
104
+    /**
105
+     * @return void
106
+     */
96 107
     public function disableTracking();
97 108
 
109
+    /**
110
+     * @return void
111
+     */
98 112
     public function enableTracking();
99 113
 
100 114
     /**
@@ -104,6 +118,7 @@  discard block
 block discarded – undo
104 118
 
105 119
     /**
106 120
      * @param string $locale
121
+     * @return void
107 122
      */
108 123
     public function enableSlugModification($locale);
109 124
 
@@ -117,24 +132,31 @@  discard block
 block discarded – undo
117 132
     /**
118 133
      * @param string $path
119 134
      * @param string $type
135
+     * @return void
120 136
      */
121 137
     public function attachImage($path, $type = null);
122 138
 
123 139
     /**
124 140
      * @param string $type
125 141
      * @param string $path
142
+     * @return void
126 143
      */
127 144
     public function changeImageWithType($type, $path);
128 145
 
129 146
     /**
130 147
      * @param string $type
148
+     * @return void
131 149
      */
132 150
     public function removeImageWithType($type);
133 151
 
152
+    /**
153
+     * @return void
154
+     */
134 155
     public function removeFirstImage();
135 156
 
136 157
     /**
137 158
      * @param string $type
159
+     * @return void
138 160
      */
139 161
     public function modifyFirstImageType($type);
140 162
 
@@ -146,6 +168,7 @@  discard block
 block discarded – undo
146 168
     /**
147 169
      * @param ProductAssociationTypeInterface $productAssociationType
148 170
      * @param string[] $productsNames
171
+     * @return void
149 172
      */
150 173
     public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames);
151 174
 
@@ -160,6 +183,7 @@  discard block
 block discarded – undo
160 183
     /**
161 184
      * @param string $productName
162 185
      * @param ProductAssociationTypeInterface $productAssociationType
186
+     * @return void
163 187
      */
164 188
     public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType);
165 189
 
@@ -173,6 +197,7 @@  discard block
 block discarded – undo
173 197
 
174 198
     /**
175 199
      * @param string $locale
200
+     * @return void
176 201
      */
177 202
     public function activateLanguageTab($locale);
178 203
 
@@ -186,6 +211,7 @@  discard block
 block discarded – undo
186 211
     /**
187 212
      * @param string $slug
188 213
      * @param string $locale
214
+     * @return void
189 215
      */
190 216
     public function specifySlugIn($slug, $locale);
191 217
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Admin\Product;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Channel/CreatePageInterface.php 2 patches
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -18,71 +18,95 @@
 block discarded – undo
18 18
  */
19 19
 interface CreatePageInterface extends BaseCreatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function enable();
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function disable();
24 30
 
25 31
     /**
26 32
      * @param string $name
33
+     * @return void
27 34
      */
28 35
     public function nameIt($name);
29 36
 
30 37
     /**
31 38
      * @param string $code
39
+     * @return void
32 40
      */
33 41
     public function specifyCode($code);
34 42
 
35 43
     /**
36 44
      * @param string $description
45
+     * @return void
37 46
      */
38 47
     public function describeItAs($description);
39 48
 
40 49
     /**
41 50
      * @param string $hostname
51
+     * @return void
42 52
      */
43 53
     public function setHostname($hostname);
44 54
 
45 55
     /**
46 56
      * @param string $contactEmail
57
+     * @return void
47 58
      */
48 59
     public function setContactEmail($contactEmail);
49 60
 
50 61
     /**
51 62
      * @param string $color
63
+     * @return void
52 64
      */
53 65
     public function defineColor($color);
54 66
 
55 67
     /**
56 68
      * @param string $language
69
+     * @return void
57 70
      */
58 71
     public function chooseLocale($language);
59 72
 
60 73
     /**
61 74
      * @param string $currencyCode
75
+     * @return void
62 76
      */
63 77
     public function chooseCurrency($currencyCode);
64 78
 
65 79
     /**
66 80
      * @param string $taxZone
81
+     * @return void
67 82
      */
68 83
     public function chooseDefaultTaxZone($taxZone);
69 84
 
70 85
     /**
71 86
      * @param string $locale
87
+     * @return void
72 88
      */
73 89
     public function chooseDefaultLocale($locale);
74 90
 
75 91
     /**
76 92
      * @param string $currency
93
+     * @return void
77 94
      */
78 95
     public function chooseBaseCurrency($currency);
79 96
 
80 97
     /**
81 98
      * @param string $taxCalculationStrategy
99
+     * @return void
82 100
      */
83 101
     public function chooseTaxCalculationStrategy($taxCalculationStrategy);
84 102
 
103
+    /**
104
+     * @return void
105
+     */
85 106
     public function allowToSkipShippingStep();
86 107
 
108
+    /**
109
+     * @return void
110
+     */
87 111
     public function allowToSkipPaymentStep();
88 112
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Admin\Channel;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/CreateSimpleProductPage.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -199,6 +199,7 @@
 block discarded – undo
199 199
 
200 200
     /**
201 201
      * {@inheritdoc}
202
+     * @param string $name
202 203
      */
203 204
     protected function getElement($name, array $parameters = [])
204 205
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Admin\Product;
15 15
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
             $imageForm->fillField('Type', $type);
144 144
         }
145 145
 
146
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
146
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
147 147
     }
148 148
 
149 149
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/AttributeType/IntegerAttributeType.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 namespace Sylius\Component\Attribute\AttributeType;
13 13
 
14 14
 use Sylius\Component\Attribute\Model\AttributeValueInterface;
15
-use Symfony\Component\Validator\Constraints\NotBlank;
16 15
 use Symfony\Component\Validator\ConstraintViolationListInterface;
16
+use Symfony\Component\Validator\Constraints\NotBlank;
17 17
 use Symfony\Component\Validator\Context\ExecutionContextInterface;
18 18
 
19 19
 /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Attribute\AttributeType;
15 15
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     private function getValidationErrors(
74 74
         ExecutionContextInterface $context,
75 75
         ?string $value
76
-    ): ConstraintViolationListInterface {
76
+    ) : ConstraintViolationListInterface {
77 77
         $validator = $context->getValidator();
78 78
 
79 79
         return $validator->validate(
Please login to merge, or discard this patch.
Component/Core/Checker/OrderPaymentMethodSelectionRequirementChecker.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sylius\Component\Core\Checker;
13 13
 
14 14
 use Sylius\Component\Core\Model\OrderInterface;
15
-use Sylius\Component\Core\Model\PaymentInterface;
16 15
 use Sylius\Component\Payment\Resolver\PaymentMethodsResolverInterface;
17 16
 
18 17
 /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Core\Checker;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ChannelInterface.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param CurrencyInterface $currency
36
+     * @return void
36 37
      */
37 38
     public function setBaseCurrency(CurrencyInterface $currency);
38 39
 
@@ -43,6 +44,7 @@  discard block
 block discarded – undo
43 44
 
44 45
     /**
45 46
      * @param LocaleInterface $locale
47
+     * @return void
46 48
      */
47 49
     public function setDefaultLocale(LocaleInterface $locale);
48 50
 
@@ -53,6 +55,7 @@  discard block
 block discarded – undo
53 55
 
54 56
     /**
55 57
      * @param ZoneInterface $defaultTaxZone
58
+     * @return void
56 59
      */
57 60
     public function setDefaultTaxZone(ZoneInterface $defaultTaxZone);
58 61
 
@@ -63,6 +66,7 @@  discard block
 block discarded – undo
63 66
 
64 67
     /**
65 68
      * @param string $taxCalculationStrategy
69
+     * @return void
66 70
      */
67 71
     public function setTaxCalculationStrategy($taxCalculationStrategy);
68 72
 
@@ -73,6 +77,7 @@  discard block
 block discarded – undo
73 77
 
74 78
     /**
75 79
      * @param string $themeName
80
+     * @return void
76 81
      */
77 82
     public function setThemeName($themeName);
78 83
 
@@ -83,6 +88,7 @@  discard block
 block discarded – undo
83 88
 
84 89
     /**
85 90
      * @param string $contactEmail
91
+     * @return void
86 92
      */
87 93
     public function setContactEmail($contactEmail);
88 94
 
@@ -93,6 +99,7 @@  discard block
 block discarded – undo
93 99
 
94 100
     /**
95 101
      * @param bool $skippingShippingStepAllowed
102
+     * @return void
96 103
      */
97 104
     public function setSkippingShippingStepAllowed($skippingShippingStepAllowed);
98 105
 
@@ -103,6 +110,7 @@  discard block
 block discarded – undo
103 110
 
104 111
     /**
105 112
      * @param bool $skippingPaymentStepAllowed
113
+     * @return void
106 114
      */
107 115
     public function setSkippingPaymentStepAllowed($skippingPaymentStepAllowed);
108 116
 
@@ -113,6 +121,7 @@  discard block
 block discarded – undo
113 121
 
114 122
     /**
115 123
      * @param bool $accountVerificationRequired
124
+     * @return void
116 125
      */
117 126
     public function setAccountVerificationRequired($accountVerificationRequired);
118 127
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Core\Model;
15 15
 
Please login to merge, or discard this patch.