Completed
Push — phpspec-7 ( 2faf6a )
by Kamil
62:22 queued 34:00
created
src/Sylius/Behat/Page/Shop/Cart/SummaryPageInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -44,10 +44,19 @@  discard block
 block discarded – undo
44 44
 
45 45
     public function isItemDiscounted(string $productName): bool;
46 46
 
47
+    /**
48
+     * @return void
49
+     */
47 50
     public function removeProduct(string $productName): void;
48 51
 
52
+    /**
53
+     * @return void
54
+     */
49 55
     public function changeQuantity(string $productName, string $quantity): void;
50 56
 
57
+    /**
58
+     * @return void
59
+     */
51 60
     public function applyCoupon(string $couponCode): void;
52 61
 
53 62
     public function isSingleItemOnPage(): bool;
@@ -68,10 +77,19 @@  discard block
 block discarded – undo
68 77
 
69 78
     public function getCartTotal(): string;
70 79
 
80
+    /**
81
+     * @return void
82
+     */
71 83
     public function clearCart(): void;
72 84
 
85
+    /**
86
+     * @return void
87
+     */
73 88
     public function updateCart(): void;
74 89
 
90
+    /**
91
+     * @return void
92
+     */
75 93
     public function waitForRedirect(int $timeout): void;
76 94
 
77 95
     public function getPromotionCouponValidationMessage(): string;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/ProductReview/CreatePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -17,14 +17,29 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends PageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function titleReview(?string $title): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function setComment(?string $comment): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function setAuthor(string $author): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function rateReview(int $rate): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function submitReview(): void;
29 44
 
30 45
     public function getRateValidationMessage(): string;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShippingBundle/Assigner/ShippingDateAssignerInterface.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 ShippingDateAssignerInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function assign(ShipmentInterface $shipment): void;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ShopBillingDataInterface.php 1 patch
Doc Comments   +36 added lines patch added patch discarded remove patch
@@ -17,27 +17,63 @@
 block discarded – undo
17 17
 
18 18
 interface ShopBillingDataInterface extends ResourceInterface
19 19
 {
20
+    /**
21
+     * @return string|null
22
+     */
20 23
     public function getTaxId(): ?string;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function setTaxId(?string $taxId): void;
23 29
 
30
+    /**
31
+     * @return string|null
32
+     */
24 33
     public function getCompany(): ?string;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function setCompany(?string $company): void;
27 39
 
40
+    /**
41
+     * @return string|null
42
+     */
28 43
     public function getCountryCode(): ?string;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function setCountryCode(?string $countryCode): void;
31 49
 
50
+    /**
51
+     * @return string|null
52
+     */
32 53
     public function getStreet(): ?string;
33 54
 
55
+    /**
56
+     * @return void
57
+     */
34 58
     public function setStreet(?string $street): void;
35 59
 
60
+    /**
61
+     * @return string|null
62
+     */
36 63
     public function getCity(): ?string;
37 64
 
65
+    /**
66
+     * @return void
67
+     */
38 68
     public function setCity(?string $city): void;
39 69
 
70
+    /**
71
+     * @return string|null
72
+     */
40 73
     public function getPostcode(): ?string;
41 74
 
75
+    /**
76
+     * @return void
77
+     */
42 78
     public function setPostcode(?string $postcode): void;
43 79
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Shipping/Model/ShipmentInterface.php 1 patch
Doc Comments   +32 added lines patch added patch discarded remove patch
@@ -27,12 +27,24 @@  discard block
 block discarded – undo
27 27
 
28 28
     public const STATE_CANCELLED = 'cancelled';
29 29
 
30
+    /**
31
+     * @return string
32
+     */
30 33
     public function getState(): ?string;
31 34
 
35
+    /**
36
+     * @return void
37
+     */
32 38
     public function setState(?string $state): void;
33 39
 
40
+    /**
41
+     * @return ShippingMethodInterface|null
42
+     */
34 43
     public function getMethod(): ?ShippingMethodInterface;
35 44
 
45
+    /**
46
+     * @return void
47
+     */
36 48
     public function setMethod(?ShippingMethodInterface $method): void;
37 49
 
38 50
     /**
@@ -42,19 +54,39 @@  discard block
 block discarded – undo
42 54
      */
43 55
     public function getUnits(): Collection;
44 56
 
57
+    /**
58
+     * @return void
59
+     */
45 60
     public function addUnit(ShipmentUnitInterface $unit): void;
46 61
 
62
+    /**
63
+     * @return void
64
+     */
47 65
     public function removeUnit(ShipmentUnitInterface $unit): void;
48 66
 
49 67
     public function hasUnit(ShipmentUnitInterface $unit): bool;
50 68
 
69
+    /**
70
+     * @return string|null
71
+     */
51 72
     public function getTracking(): ?string;
52 73
 
74
+    /**
75
+     * @return void
76
+     */
53 77
     public function setTracking(?string $tracking): void;
54 78
 
55 79
     public function isTracked(): bool;
56 80
 
81
+    /**
82
+     * @return \DateTimeInterface|null
83
+     */
57 84
     public function getShippedAt(): ?\DateTimeInterface;
58 85
 
86
+    /**
87
+     * @param \DateTimeInterface $shippedAt
88
+     *
89
+     * @return void
90
+     */
59 91
     public function setShippedAt(?\DateTimeInterface $shippedAt): void;
60 92
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/DashboardPageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,5 +25,8 @@
 block discarded – undo
25 25
 
26 26
     public function hasResendVerificationEmailButton(): bool;
27 27
 
28
+    /**
29
+     * @return void
30
+     */
28 31
     public function pressResendVerificationEmail(): void;
29 32
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/SecurityServiceInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -21,9 +21,13 @@  discard block
 block discarded – undo
21 21
 {
22 22
     /**
23 23
      * @throws \InvalidArgumentException
24
+     * @return void
24 25
      */
25 26
     public function logIn(UserInterface $user): void;
26 27
 
28
+    /**
29
+     * @return void
30
+     */
27 31
     public function logOut(): void;
28 32
 
29 33
     /**
@@ -31,5 +35,8 @@  discard block
 block discarded – undo
31 35
      */
32 36
     public function getCurrentToken(): TokenInterface;
33 37
 
38
+    /**
39
+     * @return void
40
+     */
34 41
     public function restoreToken(TokenInterface $token): void;
35 42
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShopBundle/EventListener/NonChannelLocaleListener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@
 block discarded – undo
86 86
         }
87 87
     }
88 88
 
89
+    /**
90
+     * @param FirewallConfig $firewall
91
+     */
89 92
     private function isFirewallSupported(?FirewallConfig $firewall = null): bool
90 93
     {
91 94
         return
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Api/Admin/ManagingProductReviewsContext.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -170,9 +170,9 @@
 block discarded – undo
170 170
     {
171 171
         $id = (string) $this->sharedStorage->get('product_review_id');
172 172
         Assert::false(
173
-           $this->isItemOnIndex('id', $id),
174
-           sprintf('Product review with id %s exist', $id)
175
-       );
173
+            $this->isItemOnIndex('id', $id),
174
+            sprintf('Product review with id %s exist', $id)
175
+        );
176 176
     }
177 177
 
178 178
     /**
Please login to merge, or discard this patch.