Completed
Push — unused-compiler-pass ( 93ebf5 )
by Kamil
31:23 queued 11:08
created
src/Sylius/Behat/Page/Shop/Cart/SummaryPageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -70,17 +70,20 @@  discard block
 block discarded – undo
70 70
 
71 71
     /**
72 72
      * @param string $productName
73
+     * @return void
73 74
      */
74 75
     public function removeProduct($productName);
75 76
 
76 77
     /**
77 78
      * @param string $productName
78 79
      * @param int $quantity
80
+     * @return void
79 81
      */
80 82
     public function changeQuantity($productName, $quantity);
81 83
 
82 84
     /**
83 85
      * @param string $couponCode
86
+     * @return void
84 87
      */
85 88
     public function applyCoupon($couponCode);
86 89
 
@@ -143,12 +146,19 @@  discard block
 block discarded – undo
143 146
      */
144 147
     public function getCartTotal();
145 148
 
149
+    /**
150
+     * @return void
151
+     */
146 152
     public function clearCart();
147 153
 
154
+    /**
155
+     * @return void
156
+     */
148 157
     public function updateCart();
149 158
 
150 159
     /**
151 160
      * @param int $timeout
161
+     * @return void
152 162
      */
153 163
     public function waitForRedirect($timeout);
154 164
 
Please login to merge, or discard this patch.
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/Order/ShowPageInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -26,10 +26,14 @@
 block discarded – undo
26 26
      */
27 27
     public function checkValidationMessageFor($element, $message);
28 28
 
29
+    /**
30
+     * @return void
31
+     */
29 32
     public function reset();
30 33
 
31 34
     /**
32 35
      * @param string $email
36
+     * @return void
33 37
      */
34 38
     public function specifyEmail($email);
35 39
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Order/ThankYouPageInterface.php 1 patch
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.
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 1 patch
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.
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/SetupCommand.php 3 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.
Unused Use Statements   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,18 +12,14 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\CoreBundle\Command;
13 13
 
14 14
 use Sylius\Component\Core\Model\AdminUserInterface;
15
-use Sylius\Component\Core\Model\ChannelInterface;
16
-use Sylius\Component\Currency\Model\CurrencyInterface;
17 15
 use Sylius\Component\Locale\Model\LocaleInterface;
18
-use Sylius\Component\User\Model\UserInterface;
19 16
 use Symfony\Component\Console\Helper\QuestionHelper;
20 17
 use Symfony\Component\Console\Input\InputInterface;
21 18
 use Symfony\Component\Console\Output\OutputInterface;
22 19
 use Symfony\Component\Console\Question\Question;
23
-use Symfony\Component\Intl\Intl;
20
+use Symfony\Component\Validator\ConstraintViolationListInterface;
24 21
 use Symfony\Component\Validator\Constraints\Email;
25 22
 use Symfony\Component\Validator\Constraints\NotBlank;
26
-use Symfony\Component\Validator\ConstraintViolationListInterface;
27 23
 use Webmozart\Assert\Assert;
28 24
 
29 25
 /**
Please login to merge, or discard this patch.
Sylius/Bundle/OrderBundle/NumberAssigner/OrderNumberAssignerInterface.php 1 patch
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.