Completed
Push — symfony3-directorystructure ( c2fd26 )
by Kamil
85:38 queued 68:27
created
src/Sylius/Behat/Page/Shop/Taxon/ShowPageInterface.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/Context/Setup/ShippingContext.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -271,6 +271,6 @@
 block discarded – undo
271 271
      */
272 272
     private function generateCodeFromNameAndZone($shippingMethodName, $zoneCode = null)
273 273
     {
274
-        return StringInflector::nameToLowercaseCode($shippingMethodName).'_'.StringInflector::nameToLowercaseCode($zoneCode);
274
+        return StringInflector::nameToLowercaseCode($shippingMethodName) . '_' . StringInflector::nameToLowercaseCode($zoneCode);
275 275
     }
276 276
 }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use Sylius\Component\Addressing\Model\ZoneInterface;
18 18
 use Sylius\Component\Addressing\Repository\ZoneRepositoryInterface;
19 19
 use Sylius\Component\Core\Formatter\StringInflector;
20
-use Sylius\Component\Core\Model\ChannelInterface;
21 20
 use Sylius\Component\Core\Model\ShippingMethodInterface;
22 21
 use Sylius\Component\Resource\Factory\FactoryInterface;
23 22
 use Sylius\Component\Shipping\Calculator\DefaultCalculators;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/CustomerGroup/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/Order/ShowPageInterface.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@  discard block
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param string $customerName
25
+     * @return boolean
25 26
      */
26 27
     public function hasCustomer($customerName);
27 28
 
@@ -56,6 +57,7 @@  discard block
 block discarded – undo
56 57
 
57 58
     /**
58 59
      * @param string $code
60
+     * @return void
59 61
      */
60 62
     public function specifyTrackingCode($code);
61 63
 
@@ -68,6 +70,7 @@  discard block
 block discarded – undo
68 70
 
69 71
     /**
70 72
      * @param OrderInterface $order
73
+     * @return void
71 74
      */
72 75
     public function shipOrder(OrderInterface $order);
73 76
 
@@ -87,11 +90,13 @@  discard block
 block discarded – undo
87 90
 
88 91
     /**
89 92
      * @param OrderInterface $order
93
+     * @return void
90 94
      */
91 95
     public function completeOrderLastPayment(OrderInterface $order);
92 96
 
93 97
     /**
94 98
      * @param OrderInterface $order
99
+     * @return void
95 100
      */
96 101
     public function refundOrderLastPayment(OrderInterface $order);
97 102
 
@@ -234,8 +239,14 @@  discard block
 block discarded – undo
234 239
      */
235 240
     public function getPaymentState();
236 241
 
242
+    /**
243
+     * @return void
244
+     */
237 245
     public function cancelOrder();
238 246
 
247
+    /**
248
+     * @return void
249
+     */
239 250
     public function deleteOrder();
240 251
 
241 252
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/AddressBook/CreatePageInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -63,12 +63,14 @@  discard block
 block discarded – undo
63 63
 
64 64
     /**
65 65
      * @param string $productName
66
+     * @return void
66 67
      */
67 68
     public function removeProduct($productName);
68 69
 
69 70
     /**
70 71
      * @param string $productName
71 72
      * @param int $quantity
73
+     * @return void
72 74
      */
73 75
     public function changeQuantity($productName, $quantity);
74 76
 
@@ -112,5 +114,8 @@  discard block
 block discarded – undo
112 114
      */
113 115
     public function getQuantity($productName);
114 116
 
117
+    /**
118
+     * @return void
119
+     */
115 120
     public function clearCart();
116 121
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/AddressBook/UpdatePageInterface.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/Service/SharedStorageInterface.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,11 +33,12 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * @param string $key
35 35
      * @param mixed $resource
36
+     * @return void
36 37
      */
37 38
     public function set($key, $resource);
38 39
 
39 40
     /**
40
-     * @return mixed
41
+     * @return string
41 42
      */
42 43
     public function getLatestResource();
43 44
 
@@ -45,6 +46,7 @@  discard block
 block discarded – undo
45 46
      * @param array $clipboard
46 47
      *
47 48
      * @throws \RuntimeException
49
+     * @return void
48 50
      */
49 51
     public function setClipboard(array $clipboard);
50 52
 }
Please login to merge, or discard this patch.
ReviewBundle/DependencyInjection/Compiler/RegisterReviewFactoryPass.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@
 block discarded – undo
27 27
     public function process(ContainerBuilder $container)
28 28
     {
29 29
         foreach ($container->getParameter('sylius.review.subjects') as $subject => $configuration) {
30
-            $factory = $container->findDefinition('sylius.factory.'.$subject.'_review');
30
+            $factory = $container->findDefinition('sylius.factory.' . $subject . '_review');
31 31
             $reviewFactoryDefinition = new Definition(ReviewFactory::class);
32 32
 
33
-            $reviewFactory = $container->setDefinition(sprintf('sylius.factory.'.$subject.'_review'), $reviewFactoryDefinition);
33
+            $reviewFactory = $container->setDefinition(sprintf('sylius.factory.' . $subject . '_review'), $reviewFactoryDefinition);
34 34
             $reviewFactory->addArgument($factory);
35 35
         }
36 36
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/AddressBook/UpdatePage.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function fillField($field, $value)
34 34
     {
35
-        $field = $this->getElement(str_replace(' ', '_',strtolower($field)));
35
+        $field = $this->getElement(str_replace(' ', '_', strtolower($field)));
36 36
         $field->setValue($value);
37 37
     }
38 38
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      */
97 97
     private function waitForElement($timeout, $elementName)
98 98
     {
99
-        $this->getDocument()->waitFor($timeout, function () use ($elementName){
99
+        $this->getDocument()->waitFor($timeout, function () use ($elementName) {
100 100
             return $this->hasElement($elementName);
101 101
         });
102 102
     }
Please login to merge, or discard this patch.