Completed
Push — 1.3 ( 398444...af1b9f )
by Kamil
27:59
created
src/Sylius/Component/Core/spec/Updater/UnpaidOrdersStateUpdaterSpec.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
         StateMachineInterface $secondOrderStateMachine
47 47
     ): void {
48 48
         $orderRepository->findOrdersUnpaidSince(Argument::type(\DateTimeInterface::class))->willReturn([
49
-           $firstOrder,
50
-           $secondOrder,
49
+            $firstOrder,
50
+            $secondOrder,
51 51
         ]);
52 52
 
53 53
         $stateMachineFactory->get($firstOrder, 'sylius_order')->willReturn($firstOrderStateMachine);
Please login to merge, or discard this patch.
tests/Controller/CustomerApiTest.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
                 "enabled": "true"
76 76
             }
77 77
         }
78
-EOT;
78
+eot;
79 79
 
80 80
         $this->client->request('POST', '/api/v1/customers/', [], [], static::$authorizedHeaderWithContentType, $data);
81 81
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
             "email": "[email protected]",
99 99
             "gender": "m"
100 100
         }
101
-EOT;
101
+eot;
102 102
 
103 103
         $this->client->request('POST', '/api/v1/customers/', [], [], static::$authorizedHeaderWithContentType, $data);
104 104
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
                 "plainPassword" : "testPassword"
125 125
             }
126 126
         }
127
-EOT;
127
+eot;
128 128
 
129 129
         $this->client->request('POST', '/api/v1/customers/', [], [], static::$authorizedHeaderWithContentType, $data);
130 130
 
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
             "email": "[email protected]",
278 278
             "gender": "m"
279 279
         }
280
-EOT;
280
+eot;
281 281
 
282 282
         $this->client->request('PUT', '/api/v1/customers/' . $customers['customer_Oliver']->getId(), [], [], static::$authorizedHeaderWithContentType, $data);
283 283
 
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
             "firstName": "John",
318 318
             "lastName": "Doe"
319 319
         }
320
-EOT;
320
+eot;
321 321
 
322 322
         $this->client->request('PATCH', '/api/v1/customers/' . $customers['customer_Oliver']->getId(), [], [], static::$authorizedHeaderWithContentType, $data);
323 323
 
Please login to merge, or discard this patch.
tests/Controller/ZoneApiTest.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                 }
85 85
             ]
86 86
         }
87
-EOT;
87
+eot;
88 88
 
89 89
         $this->client->request('POST', '/api/v1/zones/country', [], [], static::$authorizedHeaderWithContentType, $data);
90 90
 
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
                 }
215 215
             ]
216 216
         }
217
-EOT;
217
+eot;
218 218
 
219 219
         $this->client->request('PUT', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType, $data);
220 220
 
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
         {
266 266
             "name": "European Union +"
267 267
         }
268
-EOT;
268
+eot;
269 269
 
270 270
         $this->client->request('PATCH', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType, $data);
271 271
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/IndexPerTaxonPageInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -30,8 +30,12 @@
 block discarded – undo
30 30
     /**
31 31
      * @param string $productName
32 32
      * @param int $position
33
+     * @return void
33 34
      */
34 35
     public function setPositionOfProduct($productName, $position);
35 36
 
37
+    /**
38
+     * @return void
39
+     */
36 40
     public function savePositions();
37 41
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductVariant/IndexPageInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -38,8 +38,12 @@
 block discarded – undo
38 38
     /**
39 39
      * @param string $name
40 40
      * @param int $position
41
+     * @return void
41 42
      */
42 43
     public function setPosition($name, $position);
43 44
 
45
+    /**
46
+     * @return void
47
+     */
44 48
     public function savePositions();
45 49
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -198,6 +198,7 @@
 block discarded – undo
198 198
 
199 199
     /**
200 200
      * @Given /^(this product) is(?:| also) priced at ("[^"]+") in ("[^"]+" channel)$/
201
+     * @param integer $price
201 202
      */
202 203
     public function thisProductIsAlsoPricedAtInChannel(ProductInterface $product, $price, ChannelInterface $channel)
203 204
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Administrator/CreatePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -17,25 +17,32 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function enable();
21 24
 
22 25
     /**
23 26
      * @param string $username
27
+     * @return void
24 28
      */
25 29
     public function specifyUsername($username);
26 30
 
27 31
     /**
28 32
      * @param string $email
33
+     * @return void
29 34
      */
30 35
     public function specifyEmail($email);
31 36
 
32 37
     /**
33 38
      * @param string $password
39
+     * @return void
34 40
      */
35 41
     public function specifyPassword($password);
36 42
 
37 43
     /**
38 44
      * @param string $localeCode
45
+     * @return void
39 46
      */
40 47
     public function specifyLocale($localeCode);
41 48
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Channel/CreatePageInterface.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -17,71 +17,95 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function enable();
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function disable();
23 29
 
24 30
     /**
25 31
      * @param string $name
32
+     * @return void
26 33
      */
27 34
     public function nameIt($name);
28 35
 
29 36
     /**
30 37
      * @param string $code
38
+     * @return void
31 39
      */
32 40
     public function specifyCode($code);
33 41
 
34 42
     /**
35 43
      * @param string $description
44
+     * @return void
36 45
      */
37 46
     public function describeItAs($description);
38 47
 
39 48
     /**
40 49
      * @param string $hostname
50
+     * @return void
41 51
      */
42 52
     public function setHostname($hostname);
43 53
 
44 54
     /**
45 55
      * @param string $contactEmail
56
+     * @return void
46 57
      */
47 58
     public function setContactEmail($contactEmail);
48 59
 
49 60
     /**
50 61
      * @param string $color
62
+     * @return void
51 63
      */
52 64
     public function defineColor($color);
53 65
 
54 66
     /**
55 67
      * @param string $language
68
+     * @return void
56 69
      */
57 70
     public function chooseLocale($language);
58 71
 
59 72
     /**
60 73
      * @param string $currencyCode
74
+     * @return void
61 75
      */
62 76
     public function chooseCurrency($currencyCode);
63 77
 
64 78
     /**
65 79
      * @param string $taxZone
80
+     * @return void
66 81
      */
67 82
     public function chooseDefaultTaxZone($taxZone);
68 83
 
69 84
     /**
70 85
      * @param string $locale
86
+     * @return void
71 87
      */
72 88
     public function chooseDefaultLocale($locale);
73 89
 
74 90
     /**
75 91
      * @param string $currency
92
+     * @return void
76 93
      */
77 94
     public function chooseBaseCurrency($currency);
78 95
 
79 96
     /**
80 97
      * @param string $taxCalculationStrategy
98
+     * @return void
81 99
      */
82 100
     public function chooseTaxCalculationStrategy($taxCalculationStrategy);
83 101
 
102
+    /**
103
+     * @return void
104
+     */
84 105
     public function allowToSkipShippingStep();
85 106
 
107
+    /**
108
+     * @return void
109
+     */
86 110
     public function allowToSkipPaymentStep();
87 111
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Channel/UpdatePageInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -18,17 +18,25 @@  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();
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function disable();
24 30
 
25 31
     /**
26 32
      * @param string $themeName
33
+     * @return void
27 34
      */
28 35
     public function setTheme($themeName);
29 36
 
30 37
     /**
31 38
      * @throws ElementNotFoundException
39
+     * @return void
32 40
      */
33 41
     public function unsetTheme();
34 42
 
@@ -39,6 +47,7 @@  discard block
 block discarded – undo
39 47
 
40 48
     /**
41 49
      * @param string $language
50
+     * @return void
42 51
      */
43 52
     public function chooseLocale($language);
44 53
 
@@ -51,6 +60,7 @@  discard block
 block discarded – undo
51 60
 
52 61
     /**
53 62
      * @param string $currencyCode
63
+     * @return void
54 64
      */
55 65
     public function chooseCurrency($currencyCode);
56 66
 
@@ -63,11 +73,13 @@  discard block
 block discarded – undo
63 73
 
64 74
     /**
65 75
      * @param string $taxZone
76
+     * @return void
66 77
      */
67 78
     public function chooseDefaultTaxZone($taxZone);
68 79
 
69 80
     /**
70 81
      * @param string $taxCalculationStrategy
82
+     * @return void
71 83
      */
72 84
     public function chooseTaxCalculationStrategy($taxCalculationStrategy);
73 85
 
Please login to merge, or discard this patch.