Completed
Push — 1.2-symfony-4.0-application ( 618605 )
by Kamil
58:56
created
src/Sylius/Component/User/Security/PasswordUpdaterInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface PasswordUpdaterInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function updatePassword(CredentialsHolderInterface $user): void;
21 24
 }
Please login to merge, or discard this patch.
app/TestAppKernel.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 require_once __DIR__.'/AppKernel.php';
15 15
 
16
-use ProxyManager\Proxy\VirtualProxyInterface;
17 16
 use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer;
17
+use ProxyManager\Proxy\VirtualProxyInterface;
18 18
 use Symfony\Component\DependencyInjection\ContainerInterface;
19 19
 
20 20
 class TestAppKernel extends AppKernel
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 declare(strict_types=1);
13 13
 
14
-require_once __DIR__.'/AppKernel.php';
14
+require_once __DIR__ . '/AppKernel.php';
15 15
 
16 16
 use ProxyManager\Proxy\VirtualProxyInterface;
17 17
 use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ShippingContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -146,6 +146,7 @@
 block discarded – undo
146 146
 
147 147
     /**
148 148
      * @Given the store (also )allows shipping with :name
149
+     * @param string $name
149 150
      */
150 151
     public function theStoreAllowsShippingMethodWithName($name)
151 152
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/TaxationContext.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,6 +127,7 @@  discard block
 block discarded – undo
127 127
      * @Given the store has a tax category :name with a code :code
128 128
      * @Given the store has a tax category :name
129 129
      * @Given the store has a tax category :name also
130
+     * @param string $name
130 131
      */
131 132
     public function theStoreHasTaxCategoryWithCode($name, $code = null)
132 133
     {
@@ -213,7 +214,7 @@  discard block
 block discarded – undo
213 214
     /**
214 215
      * @param string $taxRateAmount
215 216
      *
216
-     * @return string
217
+     * @return integer
217 218
      */
218 219
     private function getAmountFromString($taxRateAmount)
219 220
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Crud/IndexPageInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -42,6 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @param string $fieldName
45
+     * @return void
45 46
      */
46 47
     public function sortBy($fieldName);
47 48
 
@@ -61,6 +62,7 @@  discard block
 block discarded – undo
61 62
 
62 63
     /**
63 64
      * @param array $parameters
65
+     * @return void
64 66
      */
65 67
     public function checkResourceOnPage(array $parameters): void;
66 68
 
@@ -69,7 +71,13 @@  discard block
 block discarded – undo
69 71
      */
70 72
     public function countItems();
71 73
 
74
+    /**
75
+     * @return void
76
+     */
72 77
     public function filter();
73 78
 
79
+    /**
80
+     * @return void
81
+     */
74 82
     public function bulkDelete(): void;
75 83
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/OrderItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @return ProductInterface|null
53
+     * @return \Sylius\Component\Product\Model\ProductInterface|null
54 54
      */
55 55
     public function getProduct(): ?ProductInterface
56 56
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/OrderItemInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param ProductVariantInterface|null $variant
32
+     * @return void
32 33
      */
33 34
     public function setVariant(?ProductVariantInterface $variant): void;
34 35
 
@@ -39,6 +40,7 @@  discard block
 block discarded – undo
39 40
 
40 41
     /**
41 42
      * @param string|null $productName
43
+     * @return void
42 44
      */
43 45
     public function setProductName(?string $productName): void;
44 46
 
@@ -49,6 +51,7 @@  discard block
 block discarded – undo
49 51
 
50 52
     /**
51 53
      * @param string|null $variantName
54
+     * @return void
52 55
      */
53 56
     public function setVariantName(?string $variantName): void;
54 57
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Order/OrderItemNamesSetterInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @param OrderInterface $order
22
+     * @return void
22 23
      */
23 24
     public function __invoke(OrderInterface $order): void;
24 25
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/spec/Routing/ResourceLoaderSpec.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1446,7 +1446,7 @@
 block discarded – undo
1446 1446
             ],
1447 1447
         ];
1448 1448
         $routeFactory->createRoute('/products/{id}', $deleteDefaults, [], [], '', [], ['DELETE'])
1449
-                     ->willReturn($deleteRoute);
1449
+                        ->willReturn($deleteRoute);
1450 1450
         $routeCollection->add('sylius_product_delete', $deleteRoute)->shouldBeCalled();
1451 1451
 
1452 1452
         $this->load($configuration, 'sylius.resource')->shouldReturn($routeCollection);
Please login to merge, or discard this patch.
Upper-Lower-Casing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 <<<EOT
41 41
 foo: bar
42 42
 only: string
43
-EOT;
43
+eot;
44 44
 
45 45
         $this
46 46
             ->shouldThrow(InvalidConfigurationException::class)
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         $configuration =
55 55
 <<<EOT
56 56
 alias: sylius.foo
57
-EOT;
57
+eot;
58 58
 
59 59
         $this
60 60
             ->shouldThrow(\InvalidArgumentException::class)
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         $configuration =
85 85
 <<<EOT
86 86
 alias: sylius.product
87
-EOT;
87
+eot;
88 88
 
89 89
         $showDefaults = [
90 90
             '_controller' => 'sylius.controller.product:showAction',
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
         $configuration =
190 190
 <<<EOT
191 191
 alias: sylius.product_option
192
-EOT;
192
+eot;
193 193
 
194 194
         $showDefaults = [
195 195
             '_controller' => 'sylius.controller.product_option:showAction',
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
 criteria:
299 299
     code: \$code
300 300
 filterable: true
301
-EOT;
301
+eot;
302 302
 
303 303
         $showDefaults = [
304 304
             '_controller' => 'sylius.controller.product_option:showAction',
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
 <<<EOT
429 429
 alias: sylius.product
430 430
 path: super-duper-products
431
-EOT;
431
+eot;
432 432
 
433 433
         $showDefaults = [
434 434
             '_controller' => 'sylius.controller.product:showAction',
@@ -534,7 +534,7 @@  discard block
 block discarded – undo
534 534
 <<<EOT
535 535
 alias: sylius.product
536 536
 form: sylius_product_custom
537
-EOT;
537
+eot;
538 538
 
539 539
         $showDefaults = [
540 540
             '_controller' => 'sylius.controller.product:showAction',
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
 <<<EOT
643 643
 alias: sylius.product
644 644
 section: admin
645
-EOT;
645
+eot;
646 646
 
647 647
         $showDefaults = [
648 648
             '_controller' => 'sylius.controller.product:showAction',
@@ -754,7 +754,7 @@  discard block
 block discarded – undo
754 754
 <<<EOT
755 755
 alias: sylius.product
756 756
 templates: SyliusAdminBundle:Product
757
-EOT;
757
+eot;
758 758
 
759 759
         $showDefaults = [
760 760
             '_controller' => 'sylius.controller.product:showAction',
@@ -861,7 +861,7 @@  discard block
 block discarded – undo
861 861
 <<<EOT
862 862
 alias: sylius.product
863 863
 except: ['show', 'delete', 'bulkDelete']
864
-EOT;
864
+eot;
865 865
 
866 866
         $indexDefaults = [
867 867
             '_controller' => 'sylius.controller.product:indexAction',
@@ -922,7 +922,7 @@  discard block
 block discarded – undo
922 922
 <<<EOT
923 923
 alias: sylius.product
924 924
 only: ['create', 'index']
925
-EOT;
925
+eot;
926 926
 
927 927
         $indexDefaults = [
928 928
             '_controller' => 'sylius.controller.product:indexAction',
@@ -958,7 +958,7 @@  discard block
 block discarded – undo
958 958
 alias: sylius.product
959 959
 except: ['show', 'delete']
960 960
 only: ['create']
961
-EOT;
961
+eot;
962 962
 
963 963
         $this
964 964
             ->shouldThrow(\InvalidArgumentException::class)
@@ -989,7 +989,7 @@  discard block
 block discarded – undo
989 989
 <<<EOT
990 990
 alias: sylius.product
991 991
 redirect: update
992
-EOT;
992
+eot;
993 993
 
994 994
         $showDefaults = [
995 995
             '_controller' => 'sylius.controller.product:showAction',
@@ -1095,7 +1095,7 @@  discard block
 block discarded – undo
1095 1095
         $configuration =
1096 1096
 <<<EOT
1097 1097
 alias: sylius.product
1098
-EOT;
1098
+eot;
1099 1099
 
1100 1100
         $showDefaults = [
1101 1101
             '_controller' => 'sylius.controller.product:showAction',
@@ -1186,7 +1186,7 @@  discard block
 block discarded – undo
1186 1186
 alias: sylius.product
1187 1187
 only: ['create', 'index']
1188 1188
 grid: sylius_admin_product
1189
-EOT;
1189
+eot;
1190 1190
 
1191 1191
         $indexDefaults = [
1192 1192
             '_controller' => 'sylius.controller.product:indexAction',
@@ -1246,7 +1246,7 @@  discard block
 block discarded – undo
1246 1246
         bar: foo
1247 1247
     update:
1248 1248
         abc: xyz
1249
-EOT;
1249
+eot;
1250 1250
 
1251 1251
         $showDefaults = [
1252 1252
             '_controller' => 'sylius.controller.product:showAction',
@@ -1372,7 +1372,7 @@  discard block
 block discarded – undo
1372 1372
             <<<EOT
1373 1373
 alias: sylius.product
1374 1374
 permission: true
1375
-EOT;
1375
+eot;
1376 1376
 
1377 1377
         $showDefaults = [
1378 1378
             '_controller' => 'sylius.controller.product:showAction',
Please login to merge, or discard this patch.