Completed
Push — travis-xenial ( 84a270...92e80e )
by Kamil
26:32 queued 04:30
created
src/Sylius/Behat/Context/Setup/PromotionContext.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -400,6 +400,7 @@  discard block
 block discarded – undo
400 400
 
401 401
     /**
402 402
      * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order$/
403
+     * @param integer $discount
403 404
      */
404 405
     public function itGivesPercentageDiscountOnShippingToEveryOrder(PromotionInterface $promotion, $discount)
405 406
     {
@@ -725,6 +726,7 @@  discard block
 block discarded – undo
725 726
 
726 727
     /**
727 728
      * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order over ("(?:€|£|\$)[^"]+")$/
729
+     * @param integer $discount
728 730
      */
729 731
     public function itGivesDiscountOnShippingToEveryOrderOver(
730 732
         PromotionInterface $promotion,
@@ -899,6 +901,9 @@  discard block
 block discarded – undo
899 901
         return $coupon;
900 902
     }
901 903
 
904
+    /**
905
+     * @param string $prefix
906
+     */
902 907
     private function generateCoupons(
903 908
         int $amount,
904 909
         PromotionInterface $promotion,
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/GeneratePageInterface.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -23,17 +23,38 @@
 block discarded – undo
23 23
 
24 24
     public function checkGenerationValidation(string $message): bool;
25 25
 
26
+    /**
27
+     * @return void
28
+     */
26 29
     public function generate(): void;
27 30
 
31
+    /**
32
+     * @return void
33
+     */
28 34
     public function specifyAmount(?int $amount): void;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function specifyCodeLength(?int $codeLength): void;
31 40
 
41
+    /**
42
+     * @return void
43
+     */
32 44
     public function setExpiresAt(\DateTimeInterface $date): void;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function setUsageLimit(int $limit): void;
35 50
 
51
+    /**
52
+     * @return void
53
+     */
36 54
     public function specifyPrefix(string $prefix): void;
37 55
 
56
+    /**
57
+     * @return void
58
+     */
38 59
     public function specifySuffix(string $suffix): void;
39 60
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/LoginPageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -19,9 +19,18 @@
 block discarded – undo
19 19
 {
20 20
     public function hasValidationErrorWith(string $message): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function logIn(): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function specifyPassword(string $password): void;
25 31
 
32
+    /**
33
+     * @return void
34
+     */
26 35
     public function specifyUsername(string $username): void;
27 36
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/RequestPasswordResetPageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,7 +19,13 @@
 block discarded – undo
19 19
 {
20 20
     public function checkValidationMessageFor(string $element, string $message): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function reset(): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function specifyEmail(?string $email): void;
25 31
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Product/IndexPageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -23,10 +23,19 @@
 block discarded – undo
23 23
 
24 24
     public function getLastProductNameFromList(): string;
25 25
 
26
+    /**
27
+     * @return void
28
+     */
26 29
     public function search(string $name): void;
27 30
 
31
+    /**
32
+     * @return void
33
+     */
28 34
     public function sort(string $orderNumber): void;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function clearFilter(): void;
31 40
 
32 41
     public function isProductOnList(string $productName): bool;
Please login to merge, or discard this patch.
src/Sylius/Bundle/AdminBundle/EmailManager/OrderEmailManagerInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface OrderEmailManagerInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function sendConfirmationEmail(OrderInterface $order): void;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShopBundle/EmailManager/ContactEmailManagerInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,6 +17,12 @@
 block discarded – undo
17 17
 
18 18
 interface ContactEmailManagerInterface
19 19
 {
20
+    /**
21
+     * @param ChannelInterface $channel
22
+     * @param string $localeCode
23
+     *
24
+     * @return void
25
+     */
20 26
     public function sendContactRequest(
21 27
         array $data,
22 28
         array $recipients,
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/OptionsResolver/LazyOption.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     public static function findOneBy(RepositoryInterface $repository, string $field, array $criteria = []): \Closure
124 124
     {
125 125
         return
126
-            /** @param mixed $previousValue */
126
+            /** @param string $previousValue */
127 127
             function (Options $options, $previousValue) use ($repository, $field, $criteria): ?object {
128 128
                 if (null === $previousValue || [] === $previousValue) {
129 129
                     return $previousValue;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 
103 103
     public static function findBy(RepositoryInterface $repository, string $field, array $criteria = []): \Closure
104 104
     {
105
-        return function (Options $options, ?array $previousValues) use ($repository, $field, $criteria): ?iterable {
105
+        return function (Options $options, ?array $previousValues) use ($repository, $field, $criteria) : ?iterable {
106 106
             if (null === $previousValues || [] === $previousValues) {
107 107
                 return $previousValues;
108 108
             }
Please login to merge, or discard this patch.
Bundle/CoreBundle/Validator/Constraints/HasEnabledEntityValidator.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@  discard block
 block discarded – undo
95 95
 
96 96
     /**
97 97
      * @param object $entity
98
+     * @param string|null $manager
98 99
      */
99 100
     private function getProperObjectManager(?string $manager, $entity): ?ObjectManager
100 101
     {
@@ -119,6 +120,7 @@  discard block
 block discarded – undo
119 120
 
120 121
     /**
121 122
      * @throws ConstraintDefinitionException
123
+     * @param \Doctrine\Persistence\ObjectManager|null $objectManager
122 124
      */
123 125
     private function validateObjectManager(?ObjectManager $objectManager, string $exceptionMessage): void
124 126
     {
Please login to merge, or discard this patch.