Completed
Push — 1.0-coding-standard ( 22328c )
by Kamil
98:35 queued 69:17
created
src/Sylius/Behat/Page/Shop/Account/RegisterPageInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -26,37 +26,49 @@
 block discarded – undo
26 26
      */
27 27
     public function checkValidationMessageFor($element, $message);
28 28
 
29
+    /**
30
+     * @return void
31
+     */
29 32
     public function register();
30 33
 
31 34
     /**
32 35
      * @param string $email
36
+     * @return void
33 37
      */
34 38
     public function specifyEmail($email);
35 39
 
36 40
     /**
37 41
      * @param string $firstName
42
+     * @return void
38 43
      */
39 44
     public function specifyFirstName($firstName);
40 45
 
41 46
     /**
42 47
      * @param string $lastName
48
+     * @return void
43 49
      */
44 50
     public function specifyLastName($lastName);
45 51
 
46 52
     /**
47 53
      * @param string $password
54
+     * @return void
48 55
      */
49 56
     public function specifyPassword($password);
50 57
 
51 58
     /**
52 59
      * @param string $phoneNumber
60
+     * @return void
53 61
      */
54 62
     public function specifyPhoneNumber($phoneNumber);
55 63
 
56 64
     /**
57 65
      * @param string $password
66
+     * @return void
58 67
      */
59 68
     public function verifyPassword($password);
60 69
 
70
+    /**
71
+     * @return void
72
+     */
61 73
     public function subscribeToTheNewsletter();
62 74
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Cart/SummaryPageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -70,17 +70,20 @@  discard block
 block discarded – undo
70 70
 
71 71
     /**
72 72
      * @param string $productName
73
+     * @return void
73 74
      */
74 75
     public function removeProduct($productName);
75 76
 
76 77
     /**
77 78
      * @param string $productName
78 79
      * @param int $quantity
80
+     * @return void
79 81
      */
80 82
     public function changeQuantity($productName, $quantity);
81 83
 
82 84
     /**
83 85
      * @param string $couponCode
86
+     * @return void
84 87
      */
85 88
     public function applyCoupon($couponCode);
86 89
 
@@ -143,12 +146,19 @@  discard block
 block discarded – undo
143 146
      */
144 147
     public function getCartTotal();
145 148
 
149
+    /**
150
+     * @return void
151
+     */
146 152
     public function clearCart();
147 153
 
154
+    /**
155
+     * @return void
156
+     */
148 157
     public function updateCart();
149 158
 
150 159
     /**
151 160
      * @param int $timeout
161
+     * @return void
152 162
      */
153 163
     public function waitForRedirect($timeout);
154 164
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/CompletePageInterface.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -75,6 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
     /**
77 77
      * @param string $notes
78
+     * @return void
78 79
      */
79 80
     public function addNotes($notes);
80 81
 
@@ -135,12 +136,24 @@  discard block
 block discarded – undo
135 136
      */
136 137
     public function hasProductOutOfStockValidationMessage(ProductInterface $product);
137 138
 
139
+    /**
140
+     * @return void
141
+     */
138 142
     public function changeAddress();
139 143
 
144
+    /**
145
+     * @return void
146
+     */
140 147
     public function changeShippingMethod();
141 148
 
149
+    /**
150
+     * @return void
151
+     */
142 152
     public function changePaymentMethod();
143 153
 
154
+    /**
155
+     * @return void
156
+     */
144 157
     public function confirmOrder();
145 158
 
146 159
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/SelectPaymentPageInterface.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $paymentMethod
23
+     * @return void
23 24
      */
24 25
     public function selectPaymentMethod($paymentMethod);
25 26
     
@@ -37,12 +38,24 @@  discard block
 block discarded – undo
37 38
      */
38 39
     public function getItemSubtotal($itemName);
39 40
 
41
+    /**
42
+     * @return void
43
+     */
40 44
     public function nextStep();
41 45
 
46
+    /**
47
+     * @return void
48
+     */
42 49
     public function changeShippingMethod();
43 50
 
51
+    /**
52
+     * @return void
53
+     */
44 54
     public function changeShippingMethodByStepLabel();
45 55
 
56
+    /**
57
+     * @return void
58
+     */
46 59
     public function changeAddressByStepLabel();
47 60
 
48 61
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Tests/Functional/AssetTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -101,6 +101,9 @@
 block discarded – undo
101 101
         return $webDirectory;
102 102
     }
103 103
 
104
+    /**
105
+     * @param string $webDirectory
106
+     */
104 107
     private function assertFileContent($lines, $webDirectory)
105 108
     {
106 109
         foreach ($lines as $line) {
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/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.
src/Sylius/Behat/Page/Shop/Product/ShowPageInterface.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@  discard block
 block discarded – undo
24 24
 {
25 25
     /**
26 26
      * @throws ElementNotFoundException
27
+     * @return void
27 28
      */
28 29
     public function addToCart();
29 30
 
@@ -31,6 +32,7 @@  discard block
 block discarded – undo
31 32
      * @param string $quantity
32 33
      *
33 34
      * @throws ElementNotFoundException
35
+     * @return void
34 36
      */
35 37
     public function addToCartWithQuantity($quantity);
36 38
 
@@ -38,6 +40,7 @@  discard block
 block discarded – undo
38 40
      * @param string $variant
39 41
      *
40 42
      * @throws ElementNotFoundException
43
+     * @return void
41 44
      */
42 45
     public function addToCartWithVariant($variant);
43 46
 
@@ -46,6 +49,7 @@  discard block
 block discarded – undo
46 49
      * @param string $optionValue
47 50
      *
48 51
      * @throws ElementNotFoundException
52
+     * @return void
49 53
      */
50 54
     public function addToCartWithOption(ProductOptionInterface $option, $optionValue);
51 55
 
@@ -56,6 +60,7 @@  discard block
 block discarded – undo
56 60
 
57 61
     /**
58 62
      * @param string $url
63
+     * @return void
59 64
      */
60 65
     public function visit($url);
61 66
 
@@ -67,7 +72,7 @@  discard block
 block discarded – undo
67 72
     public function getAttributeByName($attributeName);
68 73
 
69 74
     /**
70
-     * @return array
75
+     * @return \Behat\Mink\Element\NodeElement[]
71 76
      */
72 77
     public function getAttributes();
73 78
 
@@ -80,6 +85,7 @@  discard block
 block discarded – undo
80 85
 
81 86
     /**
82 87
      * @param int $timeout
88
+     * @return void
83 89
      */
84 90
     public function waitForValidationErrors($timeout);
85 91
 
@@ -123,11 +129,13 @@  discard block
 block discarded – undo
123 129
     /**
124 130
      * @param string $optionName
125 131
      * @param string $optionValue
132
+     * @return void
126 133
      */
127 134
     public function selectOption($optionName, $optionValue);
128 135
 
129 136
     /**
130 137
      * @param string $variantName
138
+     * @return void
131 139
      */
132 140
     public function selectVariant($variantName);
133 141
 
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.