Completed
Push — unused-compiler-pass ( 93ebf5 )
by Kamil
31:23 queued 11:08
created
src/Sylius/Behat/Context/Setup/PaymentContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     public function storeAllowsPaying($paymentMethodName, $position = null)
90 90
     {
91
-        $this->createPaymentMethod($paymentMethodName, 'PM_'.$paymentMethodName, 'Payment method', true, $position);
91
+        $this->createPaymentMethod($paymentMethodName, 'PM_' . $paymentMethodName, 'Payment method', true, $position);
92 92
     }
93 93
 
94 94
     /**
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      */
141 141
     public function theStoreHasPaymentMethodNotAssignedToAnyChannel($paymentMethodName)
142 142
     {
143
-        $this->createPaymentMethod($paymentMethodName, 'PM_'.$paymentMethodName, 'Payment method', false);
143
+        $this->createPaymentMethod($paymentMethodName, 'PM_' . $paymentMethodName, 'Payment method', false);
144 144
     }
145 145
 
146 146
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ExchangeRate/CreatePageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
      * Sets all option values.
40 40
      *
41 41
      * @param Collection $optionValues
42
+     * @return void
42 43
      */
43 44
     public function setValues(Collection $optionValues);
44 45
 
@@ -46,6 +47,7 @@  discard block
 block discarded – undo
46 47
      * Adds option value.
47 48
      *
48 49
      * @param OptionValueInterface $optionValue
50
+     * @return void
49 51
      */
50 52
     public function addValue(OptionValueInterface $optionValue);
51 53
 
@@ -53,6 +55,7 @@  discard block
 block discarded – undo
53 55
      * Removes option value.
54 56
      *
55 57
      * @param OptionValueInterface $optionValue
58
+     * @return void
56 59
      */
57 60
     public function removeValue(OptionValueInterface $optionValue);
58 61
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ExchangeRate/UpdatePageInterface.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/Component/Currency/Model/ExchangeRateInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
      * Sets all option values.
40 40
      *
41 41
      * @param Collection $optionValues
42
+     * @return void
42 43
      */
43 44
     public function setValues(Collection $optionValues);
44 45
 
@@ -46,6 +47,7 @@  discard block
 block discarded – undo
46 47
      * Adds option value.
47 48
      *
48 49
      * @param OptionValueInterface $optionValue
50
+     * @return void
49 51
      */
50 52
     public function addValue(OptionValueInterface $optionValue);
51 53
 
@@ -53,6 +55,7 @@  discard block
 block discarded – undo
53 55
      * Removes option value.
54 56
      *
55 57
      * @param OptionValueInterface $optionValue
58
+     * @return void
56 59
      */
57 60
     public function removeValue(OptionValueInterface $optionValue);
58 61
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingExchangeRatesContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
      */
117 117
     public function iChangeRatioTo($ratio)
118 118
     {
119
-        $this->updatePage->changeRatio((float)$ratio);
119
+        $this->updatePage->changeRatio((float) $ratio);
120 120
     }
121 121
 
122 122
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Form/Extension/CountryTypeExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-     * @param $code
96
+     * @param string $code
97 97
      *
98 98
      * @return null|string
99 99
      */
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @return array
106
+     * @return string[]
107 107
      */
108 108
     private function getAvailableCountries()
109 109
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ShippingCategoryContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     public function theStoreHasAndShippingCategory($firstShippingCategoryName, $secondShippingCategoryName = null)
70 70
     {
71 71
         $this->createShippingCategory($firstShippingCategoryName);
72
-        (null === $secondShippingCategoryName)? : $this->createShippingCategory($secondShippingCategoryName);
72
+        (null === $secondShippingCategoryName) ?: $this->createShippingCategory($secondShippingCategoryName);
73 73
     }
74 74
 
75 75
     /**
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     private function createShippingCategory($shippingCategoryName)
79 79
     {
80 80
         /** @var ShippingCategoryInterface $shippingCategory */
81
-        $shippingCategory =  $this->shippingCategoryFactory->createNew();
81
+        $shippingCategory = $this->shippingCategoryFactory->createNew();
82 82
         $shippingCategory->setName($shippingCategoryName);
83 83
         $shippingCategory->setCode(StringInflector::nameToCode($shippingCategoryName));
84 84
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/LocaleBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\LocaleBundle\DependencyInjection;
13 13
 
14
-use Sylius\Bundle\LocaleBundle\Form\Type\LocaleChoiceType;
15 14
 use Sylius\Bundle\LocaleBundle\Form\Type\LocaleType;
16 15
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
17 16
 use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
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.