Completed
Push — pull-request/8500 ( e49efc...54b484 )
by Kamil
36:05 queued 17:36
created
src/Sylius/Bundle/ResourceBundle/test/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function registerContainerConfiguration(LoaderInterface $loader)
46 46
     {
47
-        $loader->load(__DIR__.'/config/config.yml');
47
+        $loader->load(__DIR__ . '/config/config.yml');
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/test/src/Tests/Controller/BookApiTest.php 3 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         }
64 64
 EOT;
65 65
 
66
-        $this->client->request('PUT', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
66
+        $this->client->request('PUT', '/books/' . $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
67 67
         $response = $this->client->getResponse();
68 68
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
69 69
     }
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         }
83 83
 EOT;
84 84
 
85
-        $this->client->request('PATCH', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
85
+        $this->client->request('PATCH', '/books/' . $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
86 86
         $response = $this->client->getResponse();
87 87
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
88 88
     }
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     {
95 95
         $objects = $this->loadFixturesFromFile('books.yml');
96 96
 
97
-        $this->client->request('DELETE', '/books/'. $objects["book1"]->getId());
97
+        $this->client->request('DELETE', '/books/' . $objects["book1"]->getId());
98 98
         $response = $this->client->getResponse();
99 99
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
100 100
     }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     {
107 107
         $objects = $this->loadFixturesFromFile('books.yml');
108 108
 
109
-        $this->client->request('GET', '/books/'. $objects["book1"]->getId());
109
+        $this->client->request('GET', '/books/' . $objects["book1"]->getId());
110 110
         $response = $this->client->getResponse();
111 111
         $this->assertResponse($response, 'books/show_response');
112 112
     }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             },
35 35
             "author": "Christie Golden"
36 36
         }
37
-EOT;
37
+eot;
38 38
 
39 39
         $this->client->request('POST', '/books/', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
40 40
         $response = $this->client->getResponse();
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             },
62 62
             "author": "Christie Golden"
63 63
         }
64
-EOT;
64
+eot;
65 65
 
66 66
         $this->client->request('PUT', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
67 67
         $response = $this->client->getResponse();
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         {
81 81
             "author": "Christie Golden"
82 82
         }
83
-EOT;
83
+eot;
84 84
 
85 85
         $this->client->request('PATCH', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
86 86
         $response = $this->client->getResponse();
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         $objects = $this->loadFixturesFromFile('books.yml');
77 77
 
78 78
         $data =
79
- <<<EOT
79
+    <<<EOT
80 80
         {
81 81
             "author": "Christie Golden"
82 82
         }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Command/AssetsInstallCommand.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,6 +91,6 @@
 block discarded – undo
91 91
 
92 92
   <info>php %command.full_name% web --symlink --relative</info>
93 93
 
94
-EOT;
94
+eot;
95 95
     }
96 96
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ThemeBundle\Command;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Customer/UpdatePageInterface.php 2 patches
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -18,7 +18,14 @@  discard block
 block discarded – undo
18 18
  */
19 19
 interface UpdatePageInterface extends BaseUpdatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function enable();
25
+
26
+    /**
27
+     * @return void
28
+     */
22 29
     public function disable();
23 30
 
24 31
     /**
@@ -28,6 +35,7 @@  discard block
 block discarded – undo
28 35
     
29 36
     /**
30 37
      * @param string $firstName
38
+     * @return void
31 39
      */
32 40
     public function changeFirstName($firstName);
33 41
 
@@ -38,6 +46,7 @@  discard block
 block discarded – undo
38 46
 
39 47
     /**
40 48
      * @param string $lastName
49
+     * @return void
41 50
      */
42 51
     public function changeLastName($lastName);
43 52
 
@@ -48,11 +57,13 @@  discard block
 block discarded – undo
48 57
 
49 58
     /**
50 59
      * @param string $email
60
+     * @return void
51 61
      */
52 62
     public function changeEmail($email);
53 63
 
54 64
     /**
55 65
      * @param string $password
66
+     * @return void
56 67
      */
57 68
     public function changePassword($password);
58 69
 
@@ -61,6 +72,9 @@  discard block
 block discarded – undo
61 72
      */
62 73
     public function getPassword();
63 74
 
75
+    /**
76
+     * @return void
77
+     */
64 78
     public function subscribeToTheNewsletter();
65 79
 
66 80
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Admin\Customer;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/ProfileUpdatePageInterface.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -21,19 +21,25 @@  discard block
 block discarded – undo
21 21
 {
22 22
     /**
23 23
      * @param string $firstName
24
+     * @return void
24 25
      */
25 26
     public function specifyFirstName($firstName);
26 27
 
27 28
     /**
28 29
      * @param string $lastName
30
+     * @return void
29 31
      */
30 32
     public function specifyLastName($lastName);
31 33
 
32 34
     /**
33 35
      * @param string $email
36
+     * @return void
34 37
      */
35 38
     public function specifyEmail($email);
36 39
 
40
+    /**
41
+     * @return void
42
+     */
37 43
     public function saveChanges();
38 44
 
39 45
     /**
@@ -46,6 +52,9 @@  discard block
 block discarded – undo
46 52
      */
47 53
     public function checkValidationMessageFor($element, $message);
48 54
 
55
+    /**
56
+     * @return void
57
+     */
49 58
     public function subscribeToTheNewsletter();
50 59
 
51 60
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Shop\Account;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/RegisterPageInterface.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Shop\Account;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Cart/SummaryPageInterface.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Shop\Cart;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/CompletePageInterface.php 3 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Sylius\Component\Core\Model\AddressInterface;
16 16
 use Sylius\Component\Core\Model\ProductInterface;
17 17
 use Sylius\Component\Core\Model\ShippingMethodInterface;
18
-use Sylius\Component\Payment\Model\PaymentMethodInterface;
19 18
 
20 19
 /**
21 20
  * @author Mateusz Zalewski <[email protected]>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Shop\Checkout;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/SelectPaymentPageInterface.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Shop\Checkout;
15 15
 
Please login to merge, or discard this patch.