Completed
Push — unused-compiler-pass ( 93ebf5 )
by Kamil
31:23 queued 11:08
created
src/Sylius/Bundle/PromotionBundle/test/app/autoload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 use Composer\Autoload\ClassLoader;
13 13
 use Doctrine\Common\Annotations\AnnotationRegistry;
14 14
 
15
-$loader = require __DIR__.'/../../vendor/autoload.php';
15
+$loader = require __DIR__ . '/../../vendor/autoload.php';
16 16
 
17
-require __DIR__.'/AppKernel.php';
17
+require __DIR__ . '/AppKernel.php';
18 18
 
19 19
 AnnotationRegistry::registerLoader([$loader, 'loadClass']);
20 20
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Crud/IndexPageInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -20,8 +20,12 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $shippingMethod
23
+     * @return void
23 24
      */
24 25
     public function selectShippingMethod($shippingMethod);
25 26
 
27
+    /**
28
+     * @return void
29
+     */
26 30
     public function continueCheckout();
27 31
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Zone/CreatePageInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -18,20 +18,26 @@  discard block
 block discarded – undo
18 18
  */
19 19
 interface CreatePageInterface extends BaseCreatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function addMember();
22 25
 
23 26
     /**
24 27
      * @param string $message
28
+     * @return boolean
25 29
      */
26 30
     public function checkValidationMessageForMembers($message);
27 31
 
28 32
     /**
29 33
      * @param string $name
34
+     * @return void
30 35
      */
31 36
     public function chooseMember($name);
32 37
 
33 38
     /**
34 39
      * @param string $scope
40
+     * @return void
35 41
      */
36 42
     public function selectScope($scope);
37 43
 
@@ -49,11 +55,13 @@  discard block
 block discarded – undo
49 55
 
50 56
     /**
51 57
      * @param string $name
58
+     * @return void
52 59
      */
53 60
     public function nameIt($name);
54 61
 
55 62
     /**
56 63
      * @param string $code
64
+     * @return void
57 65
      */
58 66
     public function specifyCode($code);
59 67
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Filter/DateFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,6 +56,6 @@
 block discarded – undo
56 56
             return $data['date'];
57 57
         }
58 58
 
59
-        return $data['date'].' '.$data['time'];
59
+        return $data['date'] . ' ' . $data['time'];
60 60
     }
61 61
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateSimpleProductPageInterface.php 1 patch
Doc Comments   +25 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  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);
@@ -36,19 +37,25 @@  discard block
 block discarded – undo
36 37
     /**
37 38
      * @param string $channelName
38 39
      * @param int $price
40
+     * @return void
39 41
      */
40 42
     public function specifyPrice($channelName, $price);
41 43
 
42 44
     /**
43 45
      * @param string $name
44 46
      * @param string $localeCode
47
+     * @return void
45 48
      */
46 49
     public function nameItIn($name, $localeCode);
47 50
 
51
+    /**
52
+     * @return void
53
+     */
48 54
     public function addSelectedAttributes();
49 55
 
50 56
     /**
51 57
      * @param string $attribute
58
+     * @return void
52 59
      */
53 60
     public function removeAttribute($attribute);
54 61
 
@@ -80,11 +87,18 @@  discard block
 block discarded – undo
80 87
 
81 88
     /**
82 89
      * @param TaxonInterface $taxon
90
+     * @return void
83 91
      */
84 92
     public function selectMainTaxon(TaxonInterface $taxon);
85 93
 
94
+    /**
95
+     * @return void
96
+     */
86 97
     public function disableTracking();
87 98
 
99
+    /**
100
+     * @return void
101
+     */
88 102
     public function enableTracking();
89 103
 
90 104
     /**
@@ -94,6 +108,7 @@  discard block
 block discarded – undo
94 108
 
95 109
     /**
96 110
      * @param string $locale
111
+     * @return void
97 112
      */
98 113
     public function enableSlugModification($locale);
99 114
 
@@ -107,20 +122,26 @@  discard block
 block discarded – undo
107 122
     /**
108 123
      * @param string $path
109 124
      * @param string $code
125
+     * @return void
110 126
      */
111 127
     public function attachImage($path, $code = null);
112 128
 
113 129
     /**
114 130
      * @param string $code
115 131
      * @param string $path
132
+     * @return void
116 133
      */
117 134
     public function changeImageWithCode($code, $path);
118 135
 
119 136
     /**
120 137
      * @param string $code
138
+     * @return void
121 139
      */
122 140
     public function removeImageWithCode($code);
123 141
 
142
+    /**
143
+     * @return void
144
+     */
124 145
     public function removeFirstImage();
125 146
 
126 147
     /**
@@ -143,6 +164,7 @@  discard block
 block discarded – undo
143 164
     /**
144 165
      * @param ProductAssociationTypeInterface $productAssociationType
145 166
      * @param string[] $productsNames
167
+     * @return void
146 168
      */
147 169
     public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames);
148 170
 
@@ -157,6 +179,7 @@  discard block
 block discarded – undo
157 179
     /**
158 180
      * @param string $productName
159 181
      * @param ProductAssociationTypeInterface $productAssociationType
182
+     * @return void
160 183
      */
161 184
     public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType);
162 185
 
@@ -170,6 +193,7 @@  discard block
 block discarded – undo
170 193
 
171 194
     /**
172 195
      * @param string $locale
196
+     * @return void
173 197
      */
174 198
     public function activateLanguageTab($locale);
175 199
 
@@ -183,6 +207,7 @@  discard block
 block discarded – undo
183 207
     /**
184 208
      * @param string $slug
185 209
      * @param string $locale
210
+     * @return void
186 211
      */
187 212
     public function specifySlugIn($slug, $locale);
188 213
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/Controller/ProductAttributeController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 use Sylius\Component\Order\Modifier\OrderModifierInterface;
24 24
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
25 25
 use Symfony\Component\Form\FormFactoryInterface;
26
-use Symfony\Component\HttpFoundation\JsonResponse;
27 26
 use Symfony\Component\HttpFoundation\RedirectResponse;
28 27
 use Symfony\Component\HttpFoundation\Request;
29 28
 use Symfony\Component\HttpFoundation\Response;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ExchangeRate/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/Admin/ShippingMethod/UpdatePageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -31,10 +31,19 @@
 block discarded – undo
31 31
      */
32 32
     public function isAvailableInChannel($channelName);
33 33
 
34
+    /**
35
+     * @return void
36
+     */
34 37
     public function enable();
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function disable();
37 43
 
44
+    /**
45
+     * @return void
46
+     */
38 47
     public function removeZone();
39 48
 
40 49
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/TaxRate/UpdatePageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
18 18
  */
19 19
 interface PasswordUpdaterInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function updatePassword(CredentialsHolderInterface $user);
22 25
 }
Please login to merge, or discard this patch.