Completed
Push — unused-compiler-pass ( 93ebf5 )
by Kamil
31:23 queued 11:08
created
src/Sylius/Behat/Page/Admin/Taxon/CreatePage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
         $imageForm = $this->getLastImageElement();
56 56
         $imageForm->fillField('Code', $code);
57
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
57
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
58 58
     }
59 59
 
60 60
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateConfigurableProductPage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
         $imageForm = $this->getLastImageElement();
154 154
         $imageForm->fillField('Code', $code);
155
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
155
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
156 156
     }
157 157
 
158 158
     /**
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
         $filesPath = $this->getParameter('files_path');
164 164
 
165 165
         $imageForm = $this->getImageElementByCode($code);
166
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
166
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
167 167
     }
168 168
 
169 169
     /**
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
     private function getImageElementByCode($code)
262 262
     {
263 263
         $images = $this->getElement('images');
264
-        $inputCode = $images->find('css', 'input[value="'.$code.'"]');
264
+        $inputCode = $images->find('css', 'input[value="' . $code . '"]');
265 265
 
266 266
         if (null === $inputCode) {
267 267
             return null;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/CreateSimpleProductPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
         $imageForm = $this->getLastImageElement();
56 56
         $imageForm->fillField('Code', $code);
57
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
57
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
58 58
     }
59 59
 
60 60
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingMethod/CreatePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * @param  string $email
41
+     * @return void
41 42
      */
42 43
     public function setEmail($email);
43 44
 
@@ -50,6 +51,7 @@  discard block
 block discarded – undo
50 51
 
51 52
     /**
52 53
      * @param  string $emailCanonical
54
+     * @return void
53 55
      */
54 56
     public function setEmailCanonical($emailCanonical);
55 57
 
@@ -67,6 +69,7 @@  discard block
 block discarded – undo
67 69
 
68 70
     /**
69 71
      * @param  string $firstName
72
+     * @return void
70 73
      */
71 74
     public function setFirstName($firstName);
72 75
 
@@ -77,6 +80,7 @@  discard block
 block discarded – undo
77 80
 
78 81
     /**
79 82
      * @param  string $lastName
83
+     * @return void
80 84
      */
81 85
     public function setLastName($lastName);
82 86
 
@@ -87,6 +91,7 @@  discard block
 block discarded – undo
87 91
 
88 92
     /**
89 93
      * @param  \DateTime $birthday
94
+     * @return void
90 95
      */
91 96
     public function setBirthday(\DateTime $birthday = null);
92 97
 
@@ -99,6 +104,7 @@  discard block
 block discarded – undo
99 104
      * You should use interface constants for that.
100 105
      *
101 106
      * @param  string $gender
107
+     * @return void
102 108
      */
103 109
     public function setGender($gender);
104 110
 
@@ -119,6 +125,7 @@  discard block
 block discarded – undo
119 125
 
120 126
     /**
121 127
      * @param string $phoneNumber
128
+     * @return void
122 129
      */
123 130
     public function setPhoneNumber($phoneNumber);
124 131
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShippingMethodInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -31,6 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * @param string $name
34
+     * @return void
34 35
      */
35 36
     public function setName($name);
36 37
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
 
42 43
     /**
43 44
      * @param VariableInterface|null $object
45
+     * @return void
44 46
      */
45 47
     public function setObject(VariableInterface $object = null);
46 48
 
@@ -51,16 +53,19 @@  discard block
 block discarded – undo
51 53
 
52 54
     /**
53 55
      * @param Collection $options
56
+     * @return void
54 57
      */
55 58
     public function setOptions(Collection $options);
56 59
 
57 60
     /**
58 61
      * @param OptionValueInterface $option
62
+     * @return void
59 63
      */
60 64
     public function addOption(OptionValueInterface $option);
61 65
 
62 66
     /**
63 67
      * @param OptionValueInterface $option
68
+     * @return void
64 69
      */
65 70
     public function removeOption(OptionValueInterface $option);
66 71
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/IndexPageInterface.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/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 1 patch
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.
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.