Completed
Push — master ( 99b9b3...0bcb3b )
by Kamil
18:37
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/Data/ExpressionBuilderInterface.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
     /**
59 59
      * @param string $field
60
-     * @param mixed $value
60
+     * @param string $value
61 61
      *
62 62
      * @return self
63 63
      */
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
     /**
83 83
      * @param string $field
84
-     * @param mixed $value
84
+     * @param string $value
85 85
      *
86 86
      * @return self
87 87
      */
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/Order/IndexPageInterface.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/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/Context/Setup/ShippingContext.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
22 22
 use Sylius\Component\Resource\Factory\FactoryInterface;
23 23
 use Sylius\Component\Resource\Repository\RepositoryInterface;
24
-use Sylius\Component\Shipping\Calculator\CalculatorInterface;
25 24
 use Sylius\Component\Shipping\Calculator\DefaultCalculators;
26 25
 use Sylius\Component\Shipping\Model\ShippingCategoryInterface;
27 26
 use Sylius\Component\Shipping\Model\ShippingMethodTranslationInterface;
Please login to merge, or discard this patch.