Completed
Push — remove-codeowners ( c2a3b4 )
by Kamil
35:29 queued 21:05
created
src/Sylius/Behat/Page/Shop/Checkout/SelectPaymentPageInterface.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $paymentMethod
23
+     * @return void
23 24
      */
24 25
     public function selectPaymentMethod($paymentMethod);
25 26
     
@@ -37,12 +38,24 @@  discard block
 block discarded – undo
37 38
      */
38 39
     public function getItemSubtotal($itemName);
39 40
 
41
+    /**
42
+     * @return void
43
+     */
40 44
     public function nextStep();
41 45
 
46
+    /**
47
+     * @return void
48
+     */
42 49
     public function changeShippingMethod();
43 50
 
51
+    /**
52
+     * @return void
53
+     */
44 54
     public function changeShippingMethodByStepLabel();
45 55
 
56
+    /**
57
+     * @return void
58
+     */
46 59
     public function changeAddressByStepLabel();
47 60
 
48 61
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/SelectShippingPageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $shippingMethod
23
+     * @return void
23 24
      */
24 25
     public function selectShippingMethod($shippingMethod);
25 26
 
@@ -50,10 +51,19 @@  discard block
 block discarded – undo
50 51
      */
51 52
     public function getItemSubtotal($itemName);
52 53
 
54
+    /**
55
+     * @return void
56
+     */
53 57
     public function nextStep();
54 58
 
59
+    /**
60
+     * @return void
61
+     */
55 62
     public function changeAddress();
56 63
 
64
+    /**
65
+     * @return void
66
+     */
57 67
     public function changeAddressByStepLabel();
58 68
 
59 69
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Tests/Command/DebugResourceCommandTest.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 | sylius.two |
57 57
 +------------+
58 58
 
59
-EOT
59
+eot
60 60
         , $display);
61 61
     }
62 62
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 | whatever.something.elephants | camels          |
83 83
 +------------------------------+-----------------+
84 84
 
85
-EOT
85
+eot
86 86
         , $display);
87 87
     }
88 88
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/spec/Routing/ResourceLoaderSpec.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -969,7 +969,7 @@  discard block
 block discarded – undo
969 969
             ],
970 970
         ];
971 971
         $routeFactory->createRoute('/products/new', $createDefaults, [], [], '', [], ['GET', 'POST'])
972
-                     ->willReturn($createRoute);
972
+                        ->willReturn($createRoute);
973 973
         $routeCollection->add('sylius_product_create', $createRoute)->shouldBeCalled();
974 974
 
975 975
         $updateDefaults = [
@@ -979,7 +979,7 @@  discard block
 block discarded – undo
979 979
             ],
980 980
         ];
981 981
         $routeFactory->createRoute('/products/{id}/edit', $updateDefaults, [], [], '', [], ['GET', 'PUT', 'PATCH'])
982
-                     ->willReturn($updateRoute);
982
+                        ->willReturn($updateRoute);
983 983
         $routeCollection->add('sylius_product_update', $updateRoute)->shouldBeCalled();
984 984
 
985 985
         $deleteDefaults = [
@@ -989,7 +989,7 @@  discard block
 block discarded – undo
989 989
             ],
990 990
         ];
991 991
         $routeFactory->createRoute('/products/{id}', $deleteDefaults, [], [], '', [], ['DELETE'])
992
-                     ->willReturn($deleteRoute);
992
+                        ->willReturn($deleteRoute);
993 993
         $routeCollection->add('sylius_product_delete', $deleteRoute)->shouldBeCalled();
994 994
 
995 995
         $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
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 <<<EOT
50 50
 foo: bar
51 51
 only: string
52
-EOT;
52
+eot;
53 53
 
54 54
         $this
55 55
             ->shouldThrow(InvalidConfigurationException::class)
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         $configuration =
64 64
 <<<EOT
65 65
 alias: sylius.foo
66
-EOT;
66
+eot;
67 67
 
68 68
         $this
69 69
             ->shouldThrow(\InvalidArgumentException::class)
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         $configuration =
93 93
 <<<EOT
94 94
 alias: sylius.product
95
-EOT;
95
+eot;
96 96
 
97 97
         $showDefaults = [
98 98
             '_controller' => 'sylius.controller.product:showAction',
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
         $configuration =
165 165
 <<<EOT
166 166
 alias: sylius.product_option
167
-EOT;
167
+eot;
168 168
 
169 169
         $showDefaults = [
170 170
             '_controller' => 'sylius.controller.product_option:showAction',
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
 criteria: 
241 241
     code: \$code
242 242
 filterable: true
243
-EOT;
243
+eot;
244 244
 
245 245
         $showDefaults = [
246 246
             '_controller' => 'sylius.controller.product_option:showAction',
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
 <<<EOT
334 334
 alias: sylius.product
335 335
 path: super-duper-products
336
-EOT;
336
+eot;
337 337
 
338 338
         $showDefaults = [
339 339
             '_controller' => 'sylius.controller.product:showAction',
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
 <<<EOT
407 407
 alias: sylius.product
408 408
 form: sylius_product_custom
409
-EOT;
409
+eot;
410 410
 
411 411
         $showDefaults = [
412 412
             '_controller' => 'sylius.controller.product:showAction',
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
 <<<EOT
482 482
 alias: sylius.product
483 483
 section: admin
484
-EOT;
484
+eot;
485 485
 
486 486
         $showDefaults = [
487 487
             '_controller' => 'sylius.controller.product:showAction',
@@ -559,7 +559,7 @@  discard block
 block discarded – undo
559 559
 <<<EOT
560 560
 alias: sylius.product
561 561
 templates: SyliusAdminBundle:Product
562
-EOT;
562
+eot;
563 563
 
564 564
         $showDefaults = [
565 565
             '_controller' => 'sylius.controller.product:showAction',
@@ -634,7 +634,7 @@  discard block
 block discarded – undo
634 634
 <<<EOT
635 635
 alias: sylius.product
636 636
 except: ['show', 'delete']
637
-EOT;
637
+eot;
638 638
 
639 639
         $indexDefaults = [
640 640
             '_controller' => 'sylius.controller.product:indexAction',
@@ -686,7 +686,7 @@  discard block
 block discarded – undo
686 686
 <<<EOT
687 687
 alias: sylius.product
688 688
 only: ['create', 'index']
689
-EOT;
689
+eot;
690 690
 
691 691
         $indexDefaults = [
692 692
             '_controller' => 'sylius.controller.product:indexAction',
@@ -716,7 +716,7 @@  discard block
 block discarded – undo
716 716
 alias: sylius.product
717 717
 except: ['show', 'delete']
718 718
 only: ['create']
719
-EOT;
719
+eot;
720 720
 
721 721
         $this
722 722
             ->shouldThrow(\InvalidArgumentException::class)
@@ -746,7 +746,7 @@  discard block
 block discarded – undo
746 746
 <<<EOT
747 747
 alias: sylius.product
748 748
 redirect: update
749
-EOT;
749
+eot;
750 750
 
751 751
         $showDefaults = [
752 752
             '_controller' => 'sylius.controller.product:showAction',
@@ -820,7 +820,7 @@  discard block
 block discarded – undo
820 820
         $configuration =
821 821
 <<<EOT
822 822
 alias: sylius.product
823
-EOT;
823
+eot;
824 824
 
825 825
         $showDefaults = [
826 826
             '_controller' => 'sylius.controller.product:showAction',
@@ -896,7 +896,7 @@  discard block
 block discarded – undo
896 896
 alias: sylius.product
897 897
 only: ['create', 'index']
898 898
 grid: sylius_admin_product
899
-EOT;
899
+eot;
900 900
 
901 901
         $indexDefaults = [
902 902
             '_controller' => 'sylius.controller.product:indexAction',
@@ -949,7 +949,7 @@  discard block
 block discarded – undo
949 949
         bar: foo
950 950
     update:
951 951
         abc: xyz
952
-EOT;
952
+eot;
953 953
 
954 954
         $showDefaults = [
955 955
             '_controller' => 'sylius.controller.product:showAction',
@@ -1039,7 +1039,7 @@  discard block
 block discarded – undo
1039 1039
 <<<EOT
1040 1040
 alias: sylius.product
1041 1041
 permission: true
1042
-EOT;
1042
+eot;
1043 1043
 
1044 1044
         $showDefaults = [
1045 1045
             '_controller' => 'sylius.controller.product:showAction',
Please login to merge, or discard this patch.
tests/Controller/OauthTokenApiTest.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             "username": "[email protected]",
36 36
             "password": "sylius"
37 37
         }
38
-EOT;
38
+eot;
39 39
 
40 40
         $this->client->request('POST', '/api/oauth/v2/token', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
41 41
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             "grant_type": "refresh_token",
59 59
             "refresh_token": "SampleRefreshTokenODllODY4ZTQyOThlNWIyMjA1ZDhmZjE1ZDYyMGMwOTUxOWM2NGFmNGRjNjQ2NDBhMDVlNGZjMmQ0YzgyNDM2Ng"
60 60
         }
61
-EOT;
61
+eot;
62 62
 
63 63
         $this->client->request('POST', '/api/oauth/v2/token', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
64 64
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/ProductReview/CreatePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -20,24 +20,31 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $title
23
+     * @return void
23 24
      */
24 25
     public function titleReview($title);
25 26
 
26 27
     /**
27 28
      * @param string $comment
29
+     * @return void
28 30
      */
29 31
     public function setComment($comment);
30 32
 
31 33
     /**
32 34
      * @param string $author
35
+     * @return void
33 36
      */
34 37
     public function setAuthor($author);
35 38
 
36 39
     /**
37 40
      * @param int $rate
41
+     * @return void
38 42
      */
39 43
     public function rateReview($rate);
40 44
 
45
+    /**
46
+     * @return void
47
+     */
41 48
     public function submitReview();
42 49
 
43 50
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/SharedStorageInterface.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,11 +33,12 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * @param string $key
35 35
      * @param mixed $resource
36
+     * @return void
36 37
      */
37 38
     public function set($key, $resource);
38 39
 
39 40
     /**
40
-     * @return mixed
41
+     * @return string
41 42
      */
42 43
     public function getLatestResource();
43 44
 
@@ -45,6 +46,7 @@  discard block
 block discarded – undo
45 46
      * @param array $clipboard
46 47
      *
47 48
      * @throws \RuntimeException
49
+     * @return void
48 50
      */
49 51
     public function setClipboard(array $clipboard);
50 52
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/CreatePage.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -199,6 +199,7 @@
 block discarded – undo
199 199
 
200 200
     /**
201 201
      * {@inheritdoc}
202
+     * @param string $name
202 203
      */
203 204
     protected function getElement($name, array $parameters = [])
204 205
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/Form/Type/ReviewType.php 1 patch
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
 use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType;
15 15
 use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
16
-use Symfony\Component\Form\Extension\Core\Type\TextareaType;
17 16
 use Symfony\Component\Form\Extension\Core\Type\TextType;
17
+use Symfony\Component\Form\Extension\Core\Type\TextareaType;
18 18
 use Symfony\Component\Form\FormBuilderInterface;
19 19
 use Symfony\Component\OptionsResolver\OptionsResolver;
20 20
 use Symfony\Component\Validator\Constraints\Valid;
Please login to merge, or discard this patch.