Completed
Push — symfony3-fqcn-promotion ( 358a27...51f651 )
by Kamil
34:17 queued 17:43
created
src/Sylius/Behat/Context/Setup/PaymentContext.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use Sylius\Component\Addressing\Model\ZoneInterface;
18 18
 use Sylius\Component\Addressing\Repository\ZoneRepositoryInterface;
19 19
 use Sylius\Component\Core\Formatter\StringInflector;
20
-use Sylius\Component\Core\Model\ChannelInterface;
21 20
 use Sylius\Component\Core\Model\ShippingMethodInterface;
22 21
 use Sylius\Component\Resource\Factory\FactoryInterface;
23 22
 use Sylius\Component\Shipping\Calculator\DefaultCalculators;
Please login to merge, or discard this 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.
Bundle/TaxonomyBundle/Form/EventListener/BuildTaxonFormSubscriber.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     /**
72 72
      * @param TaxonInterface $taxon
73 73
      *
74
-     * @return callable|null
74
+     * @return null|\Closure
75 75
      */
76 76
     private function getFilterTaxonOption(TaxonInterface $taxon)
77 77
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/PromotionContext.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -314,6 +314,7 @@  discard block
 block discarded – undo
314 314
 
315 315
     /**
316 316
      * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order$/
317
+     * @param integer $discount
317 318
      */
318 319
     public function itGivesPercentageDiscountOnShippingToEveryOrder(PromotionInterface $promotion, $discount)
319 320
     {
@@ -634,7 +635,7 @@  discard block
 block discarded – undo
634 635
     }
635 636
 
636 637
     /**
637
-     * @param array $taxonCodes
638
+     * @param string[] $taxonCodes
638 639
      *
639 640
      * @return array
640 641
      */
@@ -644,7 +645,7 @@  discard block
 block discarded – undo
644 645
     }
645 646
 
646 647
     /**
647
-     * @param array $productCodes
648
+     * @param string[] $productCodes
648 649
      *
649 650
      * @return array
650 651
      */
Please login to merge, or discard this patch.
src/Sylius/Component/Taxonomy/Model/Taxon.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15 15
 use Doctrine\Common\Collections\Collection;
16 16
 use Sylius\Component\Resource\Model\TranslatableTrait;
17
-use Sylius\Component\Resource\Model\TranslationInterface;
18 17
 
19 18
 /**
20 19
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/Product.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15 15
 use Doctrine\Common\Collections\Collection;
16 16
 use Sylius\Component\Resource\Model\TranslatableTrait;
17
-use Sylius\Component\Resource\Model\TranslationInterface;
18 17
 
19 18
 /**
20 19
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShippingMethod.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15 15
 use Doctrine\Common\Collections\Collection;
16 16
 use Sylius\Component\Resource\Model\TranslatableTrait;
17
-use Sylius\Component\Resource\Model\TranslationInterface;
18 17
 
19 18
 /**
20 19
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOption.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15 15
 use Doctrine\Common\Collections\Collection;
16 16
 use Sylius\Component\Resource\Model\TranslatableTrait;
17
-use Sylius\Component\Resource\Model\TranslationInterface;
18 17
 
19 18
 /**
20 19
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOptionValue.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15 15
 use Doctrine\Common\Collections\Collection;
16 16
 use Sylius\Component\Resource\Model\TranslatableTrait;
17
-use Sylius\Component\Resource\Model\TranslationInterface;
18 17
 
19 18
 /**
20 19
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/UpdatePageInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -23,11 +23,13 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * @param string $description
25 25
      * @param string $languageCode
26
+     * @return void
26 27
      */
27 28
     public function describeItAs($description, $languageCode);
28 29
 
29 30
     /**
30 31
      * @param TaxonInterface $taxon
32
+     * @return void
31 33
      */
32 34
     public function chooseParent(TaxonInterface $taxon);
33 35
 
@@ -39,12 +41,14 @@  discard block
 block discarded – undo
39 41
     /**
40 42
      * @param string $name
41 43
      * @param string $languageCode
44
+     * @return void
42 45
      */
43 46
     public function nameIt($name, $languageCode);
44 47
 
45 48
     /**
46 49
      * @param string $slug
47 50
      * @param string $languageCode
51
+     * @return void
48 52
      */
49 53
     public function specifySlug($slug, $languageCode);
50 54
 
@@ -56,6 +60,7 @@  discard block
 block discarded – undo
56 60
     /**
57 61
      * @param string $path
58 62
      * @param string $code
63
+     * @return void
59 64
      */
60 65
     public function attachImage($path, $code = null);
61 66
 
@@ -75,13 +80,18 @@  discard block
 block discarded – undo
75 80
 
76 81
     /**
77 82
      * @param string $code
83
+     * @return void
78 84
      */
79 85
     public function removeImageWithCode($code);
80 86
 
87
+    /**
88
+     * @return void
89
+     */
81 90
     public function removeFirstImage();
82 91
 
83 92
     /**
84 93
      * @param string $languageCode
94
+     * @return void
85 95
      */
86 96
     public function enableSlugModification($languageCode = 'en_US');
87 97
 
@@ -93,6 +103,7 @@  discard block
 block discarded – undo
93 103
     /**
94 104
      * @param string $code
95 105
      * @param string $path
106
+     * @return void
96 107
      */
97 108
     public function changeImageWithCode($code, $path);
98 109
 
@@ -126,6 +137,7 @@  discard block
 block discarded – undo
126 137
 
127 138
     /**
128 139
      * @param string $locale
140
+     * @return void
129 141
      */
130 142
     public function activateLanguageTab($locale);
131 143
 }
Please login to merge, or discard this patch.