Completed
Push — master ( 85508a...fbb5f8 )
by Kamil
24:40
created
src/Sylius/Component/Core/Repository/ProductRepositoryInterface.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Doctrine\ORM\QueryBuilder;
15 15
 use Sylius\Component\Core\Model\ChannelInterface;
16 16
 use Sylius\Component\Core\Model\ProductInterface;
17
-use Sylius\Component\Core\Model\TaxonInterface;
18 17
 use Sylius\Component\Product\Repository\ProductRepositoryInterface as BaseProductRepositoryInterface;
19 18
 
20 19
 /**
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/Context/Setup/ProductReviewContext.php 1 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/Behat/Context/Ui/Admin/ManagingProductsContext.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,16 +15,16 @@
 block discarded – undo
15 15
 use Sylius\Behat\NotificationType;
16 16
 use Sylius\Behat\Page\Admin\Crud\CreatePageInterface;
17 17
 use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface;
18
+use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface;
18 19
 use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface;
19 20
 use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface;
20 21
 use Sylius\Behat\Page\Admin\Product\IndexPageInterface;
21 22
 use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface;
22 23
 use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface;
23
-use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface;
24 24
 use Sylius\Behat\Service\NotificationCheckerInterface;
25 25
 use Sylius\Behat\Service\Resolver\CurrentProductPageResolverInterface;
26
-use Sylius\Component\Core\Model\ProductInterface;
27 26
 use Sylius\Behat\Service\SharedStorageInterface;
27
+use Sylius\Component\Core\Model\ProductInterface;
28 28
 use Sylius\Component\Taxonomy\Model\TaxonInterface;
29 29
 use Webmozart\Assert\Assert;
30 30
 
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/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.
Bundle/ReviewBundle/Validator/Constraints/UniqueReviewerEmailValidator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\ReviewBundle\Validator\Constraints;
13 13
 
14 14
 use Sylius\Bundle\UserBundle\Doctrine\ORM\UserRepository;
15
-use Sylius\Component\Core\Model\AdminUserInterface;
16 15
 use Sylius\Component\Review\Model\ReviewerInterface;
17 16
 use Sylius\Component\User\Model\UserInterface;
18 17
 use Sylius\Component\User\Repository\UserRepositoryInterface;
Please login to merge, or discard this patch.