Completed
Push — taxon-ancestor ( 0755ef...1d276d )
by Kamil
140:53 queued 109:10
created
tests/Controller/OrderApiTest.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
         {
206 206
             "tracking": "BANANAS"
207 207
         }
208
-EOT;
208
+eot;
209 209
 
210 210
         $this->client->request('PUT', $this->getShipOrderShipmentUrl($orderId, $rawResponse['shipments'][0]['id']), [], [], static::$authorizedHeaderWithContentType, $data);
211 211
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 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\Tests\Controller;
15 15
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 
110 110
         $this->addItemToCart($cartId);
111 111
 
112
-        $this->client->request('PATCH',  '/api/v1/carts/' . $cartId, [], [], static::$authorizedHeaderWithAccept, '{"promotionCoupon": "BANANAS"}');
112
+        $this->client->request('PATCH', '/api/v1/carts/' . $cartId, [], [], static::$authorizedHeaderWithAccept, '{"promotionCoupon": "BANANAS"}');
113 113
 
114 114
         $this->addressOrder($cartId);
115 115
         $this->selectOrderShippingMethod($cartId);
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PaymentMethod/CreatePageInterface.php 2 patches
Doc Comments   +17 added lines patch added patch discarded remove patch
@@ -18,59 +18,76 @@
 block discarded – undo
18 18
  */
19 19
 interface CreatePageInterface extends BaseCreatePageInterface
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
     /**
25 32
      * @param string $name
26 33
      * @param string $languageCode
34
+     * @return void
27 35
      */
28 36
     public function nameIt($name, $languageCode);
29 37
 
30 38
     /**
31 39
      * @param string $code
40
+     * @return void
32 41
      */
33 42
     public function specifyCode($code);
34 43
 
35 44
     /**
36 45
      * @param string $channelName
46
+     * @return void
37 47
      */
38 48
     public function checkChannel($channelName);
39 49
 
40 50
     /**
41 51
      * @param string $description
42 52
      * @param string $languageCode
53
+     * @return void
43 54
      */
44 55
     public function describeIt($description, $languageCode);
45 56
 
46 57
     /**
47 58
      * @param string $instructions
48 59
      * @param string $languageCode
60
+     * @return void
49 61
      */
50 62
     public function setInstructions($instructions, $languageCode);
51 63
 
52 64
     /**
53 65
      * @param string $username
66
+     * @return void
54 67
      */
55 68
     public function setPaypalGatewayUsername($username);
56 69
 
57 70
     /**
58 71
      * @param string $password
72
+     * @return void
59 73
      */
60 74
     public function setPaypalGatewayPassword($password);
61 75
 
62 76
     /**
63 77
      * @param string $signature
78
+     * @return void
64 79
      */
65 80
     public function setPaypalGatewaySignature($signature);
66 81
 
67 82
     /**
68 83
      * @param string $secretKey
84
+     * @return void
69 85
      */
70 86
     public function setStripeSecretKey($secretKey);
71 87
 
72 88
     /**
73 89
      * @param string $publishableKey
90
+     * @return void
74 91
      */
75 92
     public function setStripePublishableKey($publishableKey);
76 93
 
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\PaymentMethod;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PaymentMethod/UpdatePageInterface.php 2 patches
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -18,27 +18,38 @@
 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
     /**
25 32
      * @param string $name
26 33
      * @param string $languageCode
34
+     * @return void
27 35
      */
28 36
     public function nameIt($name, $languageCode);
29 37
 
30 38
     /**
31 39
      * @param string $username
40
+     * @return void
32 41
      */
33 42
     public function setPaypalGatewayUsername($username);
34 43
 
35 44
     /**
36 45
      * @param string $password
46
+     * @return void
37 47
      */
38 48
     public function setPaypalGatewayPassword($password);
39 49
 
40 50
     /**
41 51
      * @param string $signature
52
+     * @return void
42 53
      */
43 54
     public function setPaypalGatewaySignature($signature);
44 55
 
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\PaymentMethod;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAttribute/CreatePageInterface.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,12 +20,14 @@  discard block
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $code
23
+     * @return void
23 24
      */
24 25
     public function specifyCode($code);
25 26
 
26 27
     /**
27 28
      * @param string $name
28 29
      * @param string $language
30
+     * @return void
29 31
      */
30 32
     public function nameIt($name, $language);
31 33
 
@@ -36,6 +38,7 @@  discard block
 block discarded – undo
36 38
 
37 39
     /**
38 40
      * @param string $value
41
+     * @return void
39 42
      */
40 43
     public function addAttributeValue($value);
41 44
 }
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\ProductAttribute;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/MugProductFixture.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Sylius\Bundle\FixturesBundle\Fixture\AbstractFixture;
15 15
 use Sylius\Component\Attribute\AttributeType\SelectAttributeType;
16
-use Sylius\Component\Attribute\AttributeType\TextAttributeType;
17 16
 use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
18 17
 use Symfony\Component\OptionsResolver\OptionsResolver;
19 18
 
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\CoreBundle\Fixture;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/PaymentMethod.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use Sylius\Component\Channel\Model\ChannelInterface as BaseChannelInterface;
18 18
 use Sylius\Component\Payment\Model\PaymentMethod as BasePaymentMethod;
19 19
 use Sylius\Component\Payment\Model\PaymentMethodTranslation;
20
-use Sylius\Component\Resource\Exception\UnsupportedMethodException;
21 20
 
22 21
 /**
23 22
  * @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\Component\Core\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/PaymentMethodInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param GatewayConfigInterface $gateway
25
+     * @return void
25 26
      */
26 27
     public function setGatewayConfig(GatewayConfigInterface $gateway);
27 28
 
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\Component\Core\Model;
15 15
 
Please login to merge, or discard this patch.
tests/Controller/TaxonApiTest.php 2 patches
Upper-Lower-Casing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
                 }
183 183
             }
184 184
         }
185
-EOT;
185
+eot;
186 186
 
187 187
         $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data);
188 188
 
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
         {
203 203
             "code": "fluffy_pets"
204 204
         }
205
-EOT;
205
+eot;
206 206
 
207 207
         $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data);
208 208
 
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
                 }
236 236
             }
237 237
         }
238
-EOT;
238
+eot;
239 239
 
240 240
         $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data);
241 241
 
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
             "code": "horror",
259 259
             "parent": "books"
260 260
         }
261
-EOT;
261
+eot;
262 262
 
263 263
         $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data);
264 264
 
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
                 }
300 300
             ]
301 301
         }
302
-EOT;
302
+eot;
303 303
 
304 304
         $this->client->request('POST', '/api/v1/taxons/', [], [
305 305
             'images' => [
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
             },
334 334
             "parent": "books"
335 335
         }
336
-EOT;
336
+eot;
337 337
         $this->client->request('PUT', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
338 338
         $response = $this->client->getResponse();
339 339
 
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
                 }
361 361
             }
362 362
         }
363
-EOT;
363
+eot;
364 364
         $this->client->request('PUT', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
365 365
         $response = $this->client->getResponse();
366 366
 
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
                 }
388 388
             }
389 389
         }
390
-EOT;
390
+eot;
391 391
         $this->client->request('PATCH', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
392 392
         $response = $this->client->getResponse();
393 393
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
                 }
414 414
             }
415 415
         }
416
-EOT;
416
+eot;
417 417
         $this->client->request('PATCH', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
418 418
         $response = $this->client->getResponse();
419 419
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
                 }
460 460
             ]
461 461
         }
462
-EOT;
462
+eot;
463 463
 
464 464
         $this->client->request('PUT', $this->getTaxonProductsPositionsChangeUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
465 465
 
@@ -489,7 +489,7 @@  discard block
 block discarded – undo
489 489
                 }
490 490
             ]
491 491
         }
492
-EOT;
492
+eot;
493 493
 
494 494
         $this->client->request('PUT', $this->getTaxonProductsPositionsChangeUrl($taxon) , [], [], static::$authorizedHeaderWithContentType, $data);
495 495
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 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\Tests\Controller;
15 15
 
@@ -493,7 +493,7 @@  discard block
 block discarded – undo
493 493
         }
494 494
 EOT;
495 495
 
496
-        $this->client->request('PUT', $this->getTaxonProductsPositionsChangeUrl($taxon) , [], [], static::$authorizedHeaderWithContentType, $data);
496
+        $this->client->request('PUT', $this->getTaxonProductsPositionsChangeUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
497 497
 
498 498
         $response = $this->client->getResponse();
499 499
         $this->assertResponse($response, 'taxon/update_validation_fail_response', Response::HTTP_BAD_REQUEST);
Please login to merge, or discard this patch.
tests/Controller/CheckoutCompleteApiTest.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
         {
109 109
             "notes": "Please, call me before delivery"
110 110
         }
111
-EOT;
111
+eot;
112 112
 
113 113
         $this->client->request('PUT', $this->getCheckoutCompleteUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
114 114
 
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\Tests\Controller;
15 15
 
Please login to merge, or discard this patch.