Completed
Push — 1.3 ( 398444...af1b9f )
by Kamil
27:59
created
tests/Controller/ChannelApiTest.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
             "defaultLocale": "en_US",
130 130
             "enabled": true
131 131
         }
132
-EOT;
132
+eot;
133 133
 
134 134
         $this->client->request('POST', '/api/v1/channels/', [], [], static::$authorizedHeaderWithContentType, $data);
135 135
 
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
             "skippingPaymentStepAllowed": true,
169 169
             "accountVerificationRequired": false
170 170
         }
171
-EOT;
171
+eot;
172 172
 
173 173
         $this->client->request('POST', '/api/v1/channels/', [], [], static::$authorizedHeaderWithContentType, $data);
174 174
 
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
             "hostname": "localhost",
226 226
             "taxCalculationStrategy": "order_items_based"
227 227
         }
228
-EOT;
228
+eot;
229 229
 
230 230
         $this->client->request('PUT', $this->getChannelUrl($channel), [], [], static::$authorizedHeaderWithContentType, $data);
231 231
 
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
             "color": "black",
285 285
             "enabled": false
286 286
         }
287
-EOT;
287
+eot;
288 288
 
289 289
         $this->client->request('PATCH', $this->getChannelUrl($channel), [], [], static::$authorizedHeaderWithContentType, $data);
290 290
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductVariant/CreatePageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -22,12 +22,14 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * @param int $price
24 24
      * @param string $channelName
25
+     * @return void
25 26
      */
26 27
     public function specifyPrice($price, $channelName);
27 28
 
28 29
     /**
29 30
      * @param int $originalPrice
30 31
      * @param string $channelName
32
+     * @return void
31 33
      */
32 34
     public function specifyOriginalPrice($originalPrice, $channelName);
33 35
 
@@ -36,33 +38,39 @@  discard block
 block discarded – undo
36 38
      * @param int $width
37 39
      * @param int $depth
38 40
      * @param int $weight
41
+     * @return void
39 42
      */
40 43
     public function specifyHeightWidthDepthAndWeight($height, $width, $depth, $weight);
41 44
 
42 45
     /**
43 46
      * @param string $code
47
+     * @return void
44 48
      */
45 49
     public function specifyCode($code);
46 50
 
47 51
     /**
48 52
      * @param int $currentStock
53
+     * @return void
49 54
      */
50 55
     public function specifyCurrentStock($currentStock);
51 56
 
52 57
     /**
53 58
      * @param string $name
54 59
      * @param string $language
60
+     * @return void
55 61
      */
56 62
     public function nameItIn($name, $language);
57 63
 
58 64
     /**
59 65
      * @param string $optionName
60 66
      * @param string $optionValue
67
+     * @return void
61 68
      */
62 69
     public function selectOption($optionName, $optionValue);
63 70
 
64 71
     /**
65 72
      * @param string $name
73
+     * @return void
66 74
      */
67 75
     public function choosePricingCalculator($name);
68 76
 
@@ -73,6 +81,7 @@  discard block
 block discarded – undo
73 81
 
74 82
     /**
75 83
      * @param string $shippingCategoryName
84
+     * @return void
76 85
      */
77 86
     public function selectShippingCategory($shippingCategoryName);
78 87
 
@@ -83,6 +92,7 @@  discard block
 block discarded – undo
83 92
 
84 93
     /**
85 94
      * @param bool $isShippingRequired
95
+     * @return void
86 96
      */
87 97
     public function setShippingRequired($isShippingRequired);
88 98
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Canonicalizer/CanonicalizerInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,5 +15,8 @@
 block discarded – undo
15 15
 
16 16
 interface CanonicalizerInterface
17 17
 {
18
+    /**
19
+     * @return string
20
+     */
18 21
     public function canonicalize(?string $string): ?string;
19 22
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/NotificationCheckerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @throws NotificationExpectationMismatchException
23
+     * @return void
23 24
      */
24 25
     public function checkNotification(string $message, NotificationType $type): void;
25 26
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Channel/Context/ChannelNotFoundException.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@
 block discarded – undo
17 17
 {
18 18
     /**
19 19
      * {@inheritdoc}
20
+     * @param \UnexpectedValueException $messageOrPreviousException
20 21
      */
21 22
     public function __construct($messageOrPreviousException = null, ?\Throwable $previousException = null)
22 23
     {
Please login to merge, or discard this patch.
app/migrations/Version20180226142349.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Sylius\Migrations;
4 4
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Tests/Application/SyliusPluginTraitTest.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,8 @@
 block discarded – undo
25 25
      */
26 26
     public function it_does_not_crash(): void
27 27
     {
28
-        $class = new class() extends Bundle {
28
+        $class = new class() extends Bundle
29
+        {
29 30
             use SyliusPluginTrait;
30 31
         };
31 32
 
Please login to merge, or discard this patch.
app/migrations/Version20161209095131.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -6,10 +6,6 @@
 block discarded – undo
6 6
 use Doctrine\DBAL\Schema\Schema;
7 7
 use Sylius\Component\Addressing\Model\Scope;
8 8
 use Sylius\Component\Addressing\Model\ZoneInterface;
9
-use Sylius\Component\Addressing\Model\ZoneMemberInterface;
10
-use Sylius\Component\Core\Formatter\StringInflector;
11
-use Sylius\Component\Core\Model\TaxRateInterface;
12
-use Sylius\Component\Resource\Model\CodeAwareInterface;
13 9
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
14 10
 use Symfony\Component\DependencyInjection\ContainerInterface;
15 11
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingCategory/CreatePageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,16 +19,19 @@
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @param string $code
22
+     * @return void
22 23
      */
23 24
     public function specifyCode($code);
24 25
 
25 26
     /**
26 27
      * @param string $name
28
+     * @return void
27 29
      */
28 30
     public function nameIt($name);
29 31
 
30 32
     /**
31 33
      * @param string $description
34
+     * @return void
32 35
      */
33 36
     public function specifyDescription($description);
34 37
 }
Please login to merge, or discard this patch.