Completed
Push — symfony3-fqcn-sylius-2 ( 026c63...c92ad2 )
by Kamil
31:21 queued 13:20
created
src/Sylius/Behat/Context/Setup/ProductContext.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,6 +15,7 @@  discard block
 block discarded – undo
15 15
 use Behat\Gherkin\Node\TableNode;
16 16
 use Behat\Mink\Element\NodeElement;
17 17
 use Doctrine\Common\Persistence\ObjectManager;
18
+use Sylius\Behat\Service\SharedStorageInterface;
18 19
 use Sylius\Component\Attribute\Factory\AttributeFactoryInterface;
19 20
 use Sylius\Component\Core\Formatter\StringInflector;
20 21
 use Sylius\Component\Core\Model\ChannelInterface;
@@ -24,7 +25,6 @@  discard block
 block discarded – undo
24 25
 use Sylius\Component\Core\Model\ProductVariantInterface;
25 26
 use Sylius\Component\Core\Pricing\Calculators;
26 27
 use Sylius\Component\Core\Repository\ProductRepositoryInterface;
27
-use Sylius\Behat\Service\SharedStorageInterface;
28 28
 use Sylius\Component\Core\Uploader\ImageUploaderInterface;
29 29
 use Sylius\Component\Product\Factory\ProductFactoryInterface;
30 30
 use Sylius\Component\Product\Generator\SlugGeneratorInterface;
@@ -32,11 +32,11 @@  discard block
 block discarded – undo
32 32
 use Sylius\Component\Product\Model\ProductAttributeValueInterface;
33 33
 use Sylius\Component\Product\Model\ProductOptionInterface;
34 34
 use Sylius\Component\Product\Model\ProductOptionValueInterface;
35
+use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
35 36
 use Sylius\Component\Resource\Factory\FactoryInterface;
36
-use Sylius\Component\Shipping\Model\ShippingCategoryInterface;
37 37
 use Sylius\Component\Resource\Model\TranslationInterface;
38
+use Sylius\Component\Shipping\Model\ShippingCategoryInterface;
38 39
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
39
-use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
40 40
 use Symfony\Component\HttpFoundation\File\UploadedFile;
41 41
 
42 42
 /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/CreateSimpleProductPageInterface.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/Product/UpdateSimpleProductPageInterface.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -29,18 +29,21 @@  discard block
 block discarded – undo
29 29
     public function isCodeDisabled();
30 30
 
31 31
     /**
32
+     * @param string $locale
32 33
      * @return bool
33 34
      */
34 35
     public function isSlugReadOnlyIn($locale);
35 36
     
36 37
     /**
37 38
      * @param int $price
39
+     * @return void
38 40
      */
39 41
     public function specifyPrice($price);
40 42
 
41 43
     /**
42 44
      * @param string $name
43 45
      * @param string $localeCode
46
+     * @return void
44 47
      */
45 48
     public function nameItIn($name, $localeCode);
46 49
 
@@ -67,11 +70,18 @@  discard block
 block discarded – undo
67 70
 
68 71
     /**
69 72
      * @param TaxonInterface $taxon
73
+     * @return void
70 74
      */
71 75
     public function selectMainTaxon(TaxonInterface $taxon);
72 76
 
77
+    /**
78
+     * @return void
79
+     */
73 80
     public function disableTracking();
74 81
 
82
+    /**
83
+     * @return void
84
+     */
75 85
     public function enableTracking();
76 86
 
77 87
     /**
@@ -81,6 +91,7 @@  discard block
 block discarded – undo
81 91
 
82 92
     /**
83 93
      * @param string $locale
94
+     * @return void
84 95
      */
85 96
     public function enableSlugModification($locale);
86 97
 
@@ -94,20 +105,26 @@  discard block
 block discarded – undo
94 105
     /**
95 106
      * @param string $path
96 107
      * @param string $code
108
+     * @return void
97 109
      */
98 110
     public function attachImage($path, $code = null);
99 111
 
100 112
     /**
101 113
      * @param string $code
102 114
      * @param string $path
115
+     * @return void
103 116
      */
104 117
     public function changeImageWithCode($code, $path);
105 118
 
106 119
     /**
107 120
      * @param string $code
121
+     * @return void
108 122
      */
109 123
     public function removeImageWithCode($code);
110 124
 
125
+    /**
126
+     * @return void
127
+     */
111 128
     public function removeFirstImage();
112 129
 
113 130
     /**
@@ -130,6 +147,7 @@  discard block
 block discarded – undo
130 147
     /**
131 148
      * @param ProductAssociationTypeInterface $productAssociationType
132 149
      * @param string[] $productsNames
150
+     * @return void
133 151
      */
134 152
     public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames);
135 153
 
@@ -144,6 +162,7 @@  discard block
 block discarded – undo
144 162
     /**
145 163
      * @param string $productName
146 164
      * @param ProductAssociationTypeInterface $productAssociationType
165
+     * @return void
147 166
      */
148 167
     public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType);
149 168
 
@@ -157,6 +176,7 @@  discard block
 block discarded – undo
157 176
 
158 177
     /**
159 178
      * @param string $locale
179
+     * @return void
160 180
      */
161 181
     public function activateLanguageTab($locale);
162 182
 
@@ -170,6 +190,7 @@  discard block
 block discarded – undo
170 190
     /**
171 191
      * @param string $slug
172 192
      * @param string $locale
193
+     * @return void
173 194
      */
174 195
     public function specifySlugIn($slug, $locale);
175 196
 }
Please login to merge, or discard this patch.