Completed
Push — symfony3 ( 9e4aea...666329 )
by Kamil
18:10
created
src/Sylius/Behat/Page/Shop/Product/ShowPageInterface.php 2 patches
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -41,6 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * @param null|TaxonInterface $taxon
44
+     * @return void
44 45
      */
45 46
     public function setParent(TaxonInterface $taxon = null);
46 47
 
@@ -63,11 +64,13 @@  discard block
 block discarded – undo
63 64
 
64 65
     /**
65 66
      * @param TaxonInterface $taxon
67
+     * @return void
66 68
      */
67 69
     public function addChild(TaxonInterface $taxon);
68 70
 
69 71
     /**
70 72
      * @param TaxonInterface $taxon
73
+     * @return void
71 74
      */
72 75
     public function removeChild(TaxonInterface $taxon);
73 76
 
@@ -78,6 +81,7 @@  discard block
 block discarded – undo
78 81
 
79 82
     /**
80 83
      * @param string $name
84
+     * @return void
81 85
      */
82 86
     public function setName($name);
83 87
 
@@ -88,6 +92,7 @@  discard block
 block discarded – undo
88 92
 
89 93
     /**
90 94
      * @param string $permalink
95
+     * @return void
91 96
      */
92 97
     public function setPermalink($permalink);
93 98
 
@@ -98,6 +103,7 @@  discard block
 block discarded – undo
98 103
 
99 104
     /**
100 105
      * @param int $left
106
+     * @return void
101 107
      */
102 108
     public function setLeft($left);
103 109
 
@@ -108,6 +114,7 @@  discard block
 block discarded – undo
108 114
 
109 115
     /**
110 116
      * @param int $right
117
+     * @return void
111 118
      */
112 119
     public function setRight($right);
113 120
 
@@ -118,6 +125,7 @@  discard block
 block discarded – undo
118 125
 
119 126
     /**
120 127
      * @param int $level
128
+     * @return void
121 129
      */
122 130
     public function setLevel($level);
123 131
 }
Please login to merge, or discard this 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 Behat\Mink\Exception\ElementNotFoundException;
15 15
 use Sylius\Behat\Page\PageInterface;
16
-use Sylius\Component\Product\Model\ProductOptionInterface;
17 16
 use Sylius\Component\Product\Model\ProductInterface;
17
+use Sylius\Component\Product\Model\ProductOptionInterface;
18 18
 
19 19
 /**
20 20
  * @author Łukasz Chruściel <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/Mocker/MockerInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -20,8 +20,12 @@
 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
 
27
+    /**
28
+     * @return void
29
+     */
26 30
     public function continueCheckout();
27 31
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/SharedSecurityServiceInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sylius\Behat\Service;
13 13
 
14 14
 use Sylius\Component\Core\Model\AdminUserInterface;
15
-use Sylius\Component\Core\Model\ShopUserInterface;
16 15
 
17 16
 /**
18 17
  * @author Arkadiusz Krakowiak <[email protected]>
Please login to merge, or discard this patch.
Bundle/AttributeBundle/Doctrine/ORM/Subscriber/LoadMetadataSubscriber.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-     * @return array
61
+     * @return string[]
62 62
      */
63 63
     public function getRecipients()
64 64
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
             'targetEntity' => $subjectClass,
88 88
             'inversedBy' => 'attributes',
89 89
             'joinColumns' => [[
90
-                'name' => $subject.'_id',
90
+                'name' => $subject . '_id',
91 91
                 'referencedColumnName' => $targetEntityMetadata->fieldMappings['id']['columnName'],
92 92
                 'nullable' => false,
93 93
                 'onDelete' => 'CASCADE',
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/AbstractInstallCommand.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-     * @param $id
49
+     * @param string $id
50 50
      *
51 51
      * @return object
52 52
      */
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     }
73 73
 
74 74
     /**
75
-     * @param array $headers
75
+     * @param string[] $headers
76 76
      * @param array $rows
77 77
      * @param OutputInterface $output
78 78
      */
@@ -144,9 +144,9 @@  discard block
 block discarded – undo
144 144
     /**
145 145
      * @param OutputInterface $output
146 146
      * @param string          $question
147
-     * @param array           $constraints
147
+     * @param \Symfony\Component\Validator\Constraints\NotBlank[]           $constraints
148 148
      *
149
-     * @return mixed
149
+     * @return string
150 150
      */
151 151
     protected function askHidden(OutputInterface $output, $question, array $constraints = [])
152 152
     {
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      * @param array $constraints
160 160
      * @param mixed $default
161 161
      *
162
-     * @return mixed
162
+     * @return string
163 163
      */
164 164
     protected function ask(OutputInterface $output, $question, array $constraints = [], $default = null)
165 165
     {
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     }
168 168
 
169 169
     /**
170
-     * @param mixed $value
170
+     * @param string $value
171 171
      * @param array $constraints
172 172
      *
173 173
      * @return bool
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      * @param string          $default
196 196
      * @param bool         $hidden
197 197
      *
198
-     * @return mixed
198
+     * @return string
199 199
      */
200 200
     private function proceedAskRequest(OutputInterface $output, $question, array $constraints = [], $default = null, $hidden = false)
201 201
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/SetupCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
     /**
216 216
      * @param OutputInterface $output
217 217
      *
218
-     * @return mixed
218
+     * @return string
219 219
      */
220 220
     private function getAdministratorPassword(OutputInterface $output)
221 221
     {
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
             ->setDescription('Initialize default permissions & roles in the application.')
31 31
             ->setHelp(<<<EOT
32 32
 The <info>%command.name%</info> command initializes default RBAC setup.
33
-EOT
33
+eot
34 34
             )
35 35
         ;
36 36
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Context/CustomerContext.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * Gets customer based on currently logged user.
47 47
      *
48
-     * @return CustomerInterface|null
48
+     * @return null|\Sylius\Component\Customer\Model\CustomerInterface
49 49
      */
50 50
     public function getCustomer()
51 51
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/CustomerBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,17 +12,17 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\CustomerBundle\DependencyInjection;
13 13
 
14 14
 use Sylius\Bundle\CustomerBundle\Form\Type\CustomerGroupType;
15
+use Sylius\Bundle\CustomerBundle\Form\Type\CustomerProfileType;
16
+use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType;
15 17
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
16 18
 use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType;
17
-use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
18 19
 use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType;
19
-use Sylius\Bundle\CustomerBundle\Form\Type\CustomerProfileType;
20
-use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType;
21
-use Sylius\Component\Customer\Model\CustomerGroup;
22
-use Sylius\Component\Resource\Factory\Factory;
20
+use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
23 21
 use Sylius\Component\Customer\Model\Customer;
24
-use Sylius\Component\Customer\Model\CustomerInterface;
22
+use Sylius\Component\Customer\Model\CustomerGroup;
25 23
 use Sylius\Component\Customer\Model\CustomerGroupInterface;
24
+use Sylius\Component\Customer\Model\CustomerInterface;
25
+use Sylius\Component\Resource\Factory\Factory;
26 26
 use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
27 27
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
28 28
 use Symfony\Component\Config\Definition\ConfigurationInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/OrderBundle/Controller/OrderItemController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
 use Sylius\Component\Order\CartActions;
20 20
 use Sylius\Component\Order\Context\CartContextInterface;
21 21
 use Sylius\Component\Order\Model\OrderInterface;
22
-use Sylius\Component\Order\Modifier\OrderModifierInterface;
23 22
 use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface;
23
+use Sylius\Component\Order\Modifier\OrderModifierInterface;
24 24
 use Sylius\Component\Resource\ResourceActions;
25 25
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
26 26
 use Symfony\Component\HttpFoundation\RedirectResponse;
Please login to merge, or discard this patch.