Completed
Push — remove-codeowners ( c2a3b4 )
by Kamil
35:29 queued 21:05
created
test/src/Tests/DependencyInjection/SyliusResourceExtensionTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
                     'translation' => [
41 41
                         'classes' => [
42 42
                             'model' => BookTranslation::class,
43
-                         ],
43
+                            ],
44 44
                     ],
45 45
                 ],
46 46
             ],
@@ -77,10 +77,10 @@  discard block
 block discarded – undo
77 77
         $this->setParameter('kernel.bundles', []);
78 78
 
79 79
         $this->load([
80
-             'translation' => [
81
-                 'locale_provider' => 'test.custom_locale_provider',
82
-             ],
83
-         ]);
80
+                'translation' => [
81
+                    'locale_provider' => 'test.custom_locale_provider',
82
+                ],
83
+            ]);
84 84
 
85 85
         $this->assertContainerBuilderHasAlias('sylius.translation_locale_provider', 'test.custom_locale_provider');
86 86
     }
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
@@ -15,7 +15,8 @@
 block discarded – undo
15 15
      */
16 16
     public function it_does_not_crash(): void
17 17
     {
18
-        new class() extends Bundle {
18
+        new class() extends Bundle
19
+        {
19 20
             use SyliusPluginTrait;
20 21
         };
21 22
     }
Please login to merge, or discard this patch.
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/Component/Mailer/Sender/SenderInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@
 block discarded – undo
24 24
      * @param array $data
25 25
      * @param array $attachments
26 26
      * @param array $replyTo
27
+     * @return void
27 28
      */
28 29
     public function send(string $code, array $recipients, array $data = [], array $attachments = [], array $replyTo = []): void;
29 30
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAttribute/CreatePageInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -23,12 +23,14 @@  discard block
 block discarded – undo
23 23
 {
24 24
     /**
25 25
      * @param string $code
26
+     * @return void
26 27
      */
27 28
     public function specifyCode($code);
28 29
 
29 30
     /**
30 31
      * @param string $name
31 32
      * @param string $language
33
+     * @return void
32 34
      */
33 35
     public function nameIt($name, $language);
34 36
 
@@ -39,19 +41,25 @@  discard block
 block discarded – undo
39 41
 
40 42
     /**
41 43
      * @param string $value
44
+     * @return void
42 45
      */
43 46
     public function addAttributeValue($value);
44 47
 
45 48
     /**
46 49
      * @param int $min
50
+     * @return void
47 51
      */
48 52
     public function specifyMinValue(int $min): void;
49 53
 
50 54
     /**
51 55
      * @param int $max
56
+     * @return void
52 57
      */
53 58
     public function specifyMaxValue(int $max): void;
54 59
 
60
+    /**
61
+     * @return void
62
+     */
55 63
     public function checkMultiple(): void;
56 64
 
57 65
     /**
Please login to merge, or discard this patch.