Completed
Push — 1.3-make-js-behat-faster ( 85e122 )
by Kamil
09:41
created
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/Behat/Page/Shop/Checkout/SelectShippingPageInterface.php 1 patch
Doc Comments   +10 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 $shippingMethod
23
+     * @return void
23 24
      */
24 25
     public function selectShippingMethod($shippingMethod);
25 26
 
@@ -50,10 +51,19 @@  discard block
 block discarded – undo
50 51
      */
51 52
     public function getItemSubtotal($itemName);
52 53
 
54
+    /**
55
+     * @return void
56
+     */
53 57
     public function nextStep();
54 58
 
59
+    /**
60
+     * @return void
61
+     */
55 62
     public function changeAddress();
56 63
 
64
+    /**
65
+     * @return void
66
+     */
57 67
     public function changeAddressByStepLabel();
58 68
 
59 69
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Tests/Command/DebugResourceCommandTest.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 | sylius.two |
57 57
 +------------+
58 58
 
59
-EOT
59
+eot
60 60
         , $display);
61 61
     }
62 62
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 | whatever.something.elephants | camels          |
83 83
 +------------------------------+-----------------+
84 84
 
85
-EOT
85
+eot
86 86
         , $display);
87 87
     }
88 88
 
Please login to merge, or discard this patch.
tests/Controller/OauthTokenApiTest.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             "username": "[email protected]",
36 36
             "password": "sylius"
37 37
         }
38
-EOT;
38
+eot;
39 39
 
40 40
         $this->client->request('POST', '/api/oauth/v2/token', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
41 41
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             "grant_type": "refresh_token",
59 59
             "refresh_token": "SampleRefreshTokenODllODY4ZTQyOThlNWIyMjA1ZDhmZjE1ZDYyMGMwOTUxOWM2NGFmNGRjNjQ2NDBhMDVlNGZjMmQ0YzgyNDM2Ng"
60 60
         }
61
-EOT;
61
+eot;
62 62
 
63 63
         $this->client->request('POST', '/api/oauth/v2/token', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
64 64
 
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/Bundle/ReviewBundle/Form/Type/ReviewType.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType;
15 15
 use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
16
-use Symfony\Component\Form\Extension\Core\Type\TextareaType;
17 16
 use Symfony\Component\Form\Extension\Core\Type\TextType;
17
+use Symfony\Component\Form\Extension\Core\Type\TextareaType;
18 18
 use Symfony\Component\Form\FormBuilderInterface;
19 19
 use Symfony\Component\OptionsResolver\OptionsResolver;
20 20
 use Symfony\Component\Validator\Constraints\Valid;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Form/Extension/CartTypeExtension.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,8 @@
 block discarded – undo
47 47
     {
48 48
         $resolver->setNormalizer('validation_groups', function (Options $options, array $validationGroups) {
49 49
             return function (FormInterface $form) use ($validationGroups) {
50
-                if ((bool) $form->get('promotionCoupon')->getNormData()) { // Validate the coupon if it was sent
50
+                if ((bool) $form->get('promotionCoupon')->getNormData()) {
51
+// Validate the coupon if it was sent
51 52
                     $validationGroups[] = 'sylius_promotion_coupon';
52 53
                 }
53 54
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/AddressPage.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -429,6 +429,8 @@
 block discarded – undo
429 429
     }
430 430
 
431 431
     /**
432
+     * @param integer $timeout
433
+     * @param string $elementName
432 434
      * @return bool
433 435
      */
434 436
     private function waitForElement($timeout, $elementName)
Please login to merge, or discard this patch.