Completed
Push — remove-codeowners ( c2a3b4 )
by Kamil
35:29 queued 21:05
created
src/Sylius/Component/Core/Storage/CartStorageInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -35,11 +35,13 @@
 block discarded – undo
35 35
     /**
36 36
      * @param ChannelInterface $channel
37 37
      * @param OrderInterface $cart
38
+     * @return void
38 39
      */
39 40
     public function setForChannel(ChannelInterface $channel, OrderInterface $cart): void;
40 41
 
41 42
     /**
42 43
      * @param ChannelInterface $channel
44
+     * @return void
43 45
      */
44 46
     public function removeForChannel(ChannelInterface $channel): void;
45 47
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/TokenAssigner/OrderTokenAssignerInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -22,11 +22,13 @@
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param OrderInterface $order
25
+     * @return void
25 26
      */
26 27
     public function assignTokenValue(OrderInterface $order): void;
27 28
 
28 29
     /**
29 30
      * @param OrderInterface $order
31
+     * @return void
30 32
      */
31 33
     public function assignTokenValueIfNotSet(OrderInterface $order): void;
32 34
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Collector/SyliusCollector.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 namespace Sylius\Bundle\CoreBundle\Collector;
15 15
 
16 16
 use Sylius\Bundle\CoreBundle\Application\Kernel;
17
-use Sylius\Component\Channel\Context\ChannelNotFoundException;
18 17
 use Sylius\Component\Core\Context\ShopperContextInterface;
19 18
 use Sylius\Component\Core\Model\ChannelInterface;
20 19
 use Sylius\Component\Currency\Context\CurrencyNotFoundException;
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserOAuthInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * @param string|null $provider
31
+     * @return void
31 32
      */
32 33
     public function setProvider(?string $provider): void;
33 34
 
@@ -38,6 +39,7 @@  discard block
 block discarded – undo
38 39
 
39 40
     /**
40 41
      * @param string|null $identifier
42
+     * @return void
41 43
      */
42 44
     public function setIdentifier(?string $identifier): void;
43 45
 
@@ -48,6 +50,7 @@  discard block
 block discarded – undo
48 50
 
49 51
     /**
50 52
      * @param string|null $accessToken
53
+     * @return void
51 54
      */
52 55
     public function setAccessToken(?string $accessToken): void;
53 56
 
@@ -58,6 +61,7 @@  discard block
 block discarded – undo
58 61
 
59 62
     /**
60 63
      * @param string|null $refreshToken
64
+     * @return void
61 65
      */
62 66
     public function setRefreshToken(?string $refreshToken): void;
63 67
 }
Please login to merge, or discard this patch.
tests/Controller/TaxonApiTest.php 1 patch
Upper-Lower-Casing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
                 }
185 185
             }
186 186
         }
187
-EOT;
187
+eot;
188 188
 
189 189
         $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data);
190 190
 
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
         {
205 205
             "code": "fluffy_pets"
206 206
         }
207
-EOT;
207
+eot;
208 208
 
209 209
         $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data);
210 210
 
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
                 }
238 238
             }
239 239
         }
240
-EOT;
240
+eot;
241 241
 
242 242
         $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data);
243 243
 
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
             "code": "horror",
261 261
             "parent": "books"
262 262
         }
263
-EOT;
263
+eot;
264 264
 
265 265
         $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data);
266 266
 
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
                 }
302 302
             ]
303 303
         }
304
-EOT;
304
+eot;
305 305
 
306 306
         $this->client->request('POST', '/api/v1/taxons/', [], [
307 307
             'images' => [
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
             },
336 336
             "parent": "books"
337 337
         }
338
-EOT;
338
+eot;
339 339
         $this->client->request('PUT', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
340 340
         $response = $this->client->getResponse();
341 341
 
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
                 }
363 363
             }
364 364
         }
365
-EOT;
365
+eot;
366 366
         $this->client->request('PUT', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
367 367
         $response = $this->client->getResponse();
368 368
 
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
                 }
390 390
             }
391 391
         }
392
-EOT;
392
+eot;
393 393
         $this->client->request('PATCH', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
394 394
         $response = $this->client->getResponse();
395 395
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
                 }
416 416
             }
417 417
         }
418
-EOT;
418
+eot;
419 419
         $this->client->request('PATCH', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
420 420
         $response = $this->client->getResponse();
421 421
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
@@ -461,7 +461,7 @@  discard block
 block discarded – undo
461 461
                 }
462 462
             ]
463 463
         }
464
-EOT;
464
+eot;
465 465
 
466 466
         $this->client->request('PUT', $this->getTaxonProductsPositionsChangeUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
467 467
 
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
                 }
492 492
             ]
493 493
         }
494
-EOT;
494
+eot;
495 495
 
496 496
         $this->client->request('PUT', $this->getTaxonProductsPositionsChangeUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data);
497 497
 
Please login to merge, or discard this patch.
tests/Controller/CheckoutPaymentApiTest.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('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
90 90
 
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
                 }
175 175
             ]
176 176
         }
177
-EOT;
177
+eot;
178 178
 
179 179
         $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
180 180
 
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
                 }
216 216
             ]
217 217
         }
218
-EOT;
218
+eot;
219 219
 
220 220
         $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data);
221 221
 
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOptionInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -35,6 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param string $name
38
+     * @return void
38 39
      */
39 40
     public function setName(?string $name): void;
40 41
 
@@ -45,6 +46,7 @@  discard block
 block discarded – undo
45 46
 
46 47
     /**
47 48
      * @param int $position
49
+     * @return void
48 50
      */
49 51
     public function setPosition(?int $position): void;
50 52
 
@@ -55,11 +57,13 @@  discard block
 block discarded – undo
55 57
 
56 58
     /**
57 59
      * @param ProductOptionValueInterface $optionValue
60
+     * @return void
58 61
      */
59 62
     public function addValue(ProductOptionValueInterface $optionValue): void;
60 63
 
61 64
     /**
62 65
      * @param ProductOptionValueInterface $optionValue
66
+     * @return void
63 67
      */
64 68
     public function removeValue(ProductOptionValueInterface $optionValue): void;
65 69
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/UpdatePage.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -44,6 +44,7 @@
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * {@inheritdoc}
47
+     * @param string $addressType
47 48
      */
48 49
     private function specifyAddress(AddressInterface $address, $addressType)
49 50
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Promotion/UpdatePageInterface.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@  discard block
 block discarded – undo
23 23
 {
24 24
     /**
25 25
      * @param int|null $priority
26
+     * @return void
26 27
      */
27 28
     public function setPriority($priority);
28 29
 
@@ -33,6 +34,7 @@  discard block
 block discarded – undo
33 34
 
34 35
     /**
35 36
      * @param string $name
37
+     * @return void
36 38
      */
37 39
     public function nameIt($name);
38 40
 
@@ -50,35 +52,47 @@  discard block
 block discarded – undo
50 52
 
51 53
     /**
52 54
      * @param string $limit
55
+     * @return void
53 56
      */
54 57
     public function fillUsageLimit($limit);
55 58
 
59
+    /**
60
+     * @return void
61
+     */
56 62
     public function makeExclusive();
57 63
 
64
+    /**
65
+     * @return void
66
+     */
58 67
     public function checkCouponBased();
59 68
 
60 69
     /**
61 70
      * @param string $name
71
+     * @return void
62 72
      */
63 73
     public function checkChannel($name);
64 74
 
65 75
     /**
66 76
      * @param \DateTimeInterface $dateTime
77
+     * @return void
67 78
      */
68 79
     public function setStartsAt(\DateTimeInterface $dateTime);
69 80
 
70 81
     /**
71 82
      * @param \DateTimeInterface $dateTime
83
+     * @return void
72 84
      */
73 85
     public function setEndsAt(\DateTimeInterface $dateTime);
74 86
 
75 87
     /**
76 88
      * {@inheritdoc}
89
+     * @return boolean
77 90
      */
78 91
     public function hasStartsAt(\DateTimeInterface $dateTime);
79 92
 
80 93
     /**
81 94
      * {@inheritdoc}
95
+     * @return boolean
82 96
      */
83 97
     public function hasEndsAt(\DateTimeInterface $dateTime);
84 98
 }
Please login to merge, or discard this patch.