@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | "email": "[email protected]" |
129 | 129 | } |
130 | 130 | } |
131 | -EOT; |
|
131 | +eot; |
|
132 | 132 | |
133 | 133 | $this->client->request('POST', $this->getReviewListUrl($product), [], [], static::$authorizedHeaderWithContentType, $data); |
134 | 134 | $response = $this->client->getResponse(); |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | "rating": "1", |
220 | 220 | "comment": "NEW_REVIEW_COMMENT" |
221 | 221 | } |
222 | -EOT; |
|
222 | +eot; |
|
223 | 223 | $this->client->request('PUT', $this->getReviewUrl($product, $productReview), [], [], static::$authorizedHeaderWithContentType, $data); |
224 | 224 | $response = $this->client->getResponse(); |
225 | 225 | |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | { |
247 | 247 | "comment": "A_NEW_REVIEW_COMMENT" |
248 | 248 | } |
249 | -EOT; |
|
249 | +eot; |
|
250 | 250 | |
251 | 251 | $this->client->request('PATCH', $this->getReviewUrl($product, $productReview), [], [], static::$authorizedHeaderWithContentType, $data); |
252 | 252 | $response = $this->client->getResponse(); |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | "defaultLocale": "en_US", |
130 | 130 | "enabled": true |
131 | 131 | } |
132 | -EOT; |
|
132 | +eot; |
|
133 | 133 | |
134 | 134 | $this->client->request('POST', '/api/v1/channels/', [], [], static::$authorizedHeaderWithContentType, $data); |
135 | 135 | |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | "skippingPaymentStepAllowed": true, |
169 | 169 | "accountVerificationRequired": false |
170 | 170 | } |
171 | -EOT; |
|
171 | +eot; |
|
172 | 172 | |
173 | 173 | $this->client->request('POST', '/api/v1/channels/', [], [], static::$authorizedHeaderWithContentType, $data); |
174 | 174 | |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | "hostname": "localhost", |
226 | 226 | "taxCalculationStrategy": "order_items_based" |
227 | 227 | } |
228 | -EOT; |
|
228 | +eot; |
|
229 | 229 | |
230 | 230 | $this->client->request('PUT', $this->getChannelUrl($channel), [], [], static::$authorizedHeaderWithContentType, $data); |
231 | 231 | |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | "color": "black", |
285 | 285 | "enabled": false |
286 | 286 | } |
287 | -EOT; |
|
287 | +eot; |
|
288 | 288 | |
289 | 289 | $this->client->request('PATCH', $this->getChannelUrl($channel), [], [], static::$authorizedHeaderWithContentType, $data); |
290 | 290 |
@@ -15,5 +15,8 @@ |
||
15 | 15 | |
16 | 16 | interface CanonicalizerInterface |
17 | 17 | { |
18 | + /** |
|
19 | + * @return string |
|
20 | + */ |
|
18 | 21 | public function canonicalize(?string $string): ?string; |
19 | 22 | } |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @throws NotificationExpectationMismatchException |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function checkNotification(string $message, NotificationType $type): void; |
25 | 26 | } |
@@ -17,6 +17,7 @@ |
||
17 | 17 | { |
18 | 18 | /** |
19 | 19 | * {@inheritdoc} |
20 | + * @param \UnexpectedValueException $messageOrPreviousException |
|
20 | 21 | */ |
21 | 22 | public function __construct($messageOrPreviousException = null, ?\Throwable $previousException = null) |
22 | 23 | { |
@@ -25,7 +25,8 @@ |
||
25 | 25 | */ |
26 | 26 | public function it_does_not_crash(): void |
27 | 27 | { |
28 | - $class = new class() extends Bundle { |
|
28 | + $class = new class() extends Bundle |
|
29 | + { |
|
29 | 30 | use SyliusPluginTrait; |
30 | 31 | }; |
31 | 32 |
@@ -13,21 +13,47 @@ |
||
13 | 13 | */ |
14 | 14 | public function checkValidationMessageFor(string $element, string $message): bool; |
15 | 15 | |
16 | + /** |
|
17 | + * @return void |
|
18 | + */ |
|
16 | 19 | public function register(): void; |
17 | 20 | |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
18 | 24 | public function specifyEmail(?string $email): void; |
19 | 25 | |
20 | 26 | public function getEmail(): string; |
21 | 27 | |
28 | + /** |
|
29 | + * @return void |
|
30 | + */ |
|
22 | 31 | public function specifyFirstName(?string $firstName): void; |
23 | 32 | |
33 | + /** |
|
34 | + * @return void |
|
35 | + */ |
|
24 | 36 | public function specifyLastName(?string $lastName): void; |
25 | 37 | |
38 | + /** |
|
39 | + * @return void |
|
40 | + */ |
|
26 | 41 | public function specifyPassword(?string $password): void; |
27 | 42 | |
43 | + /** |
|
44 | + * @return void |
|
45 | + */ |
|
28 | 46 | public function specifyPhoneNumber(string $phoneNumber): void; |
29 | 47 | |
48 | + /** |
|
49 | + * @param string|null $password |
|
50 | + * |
|
51 | + * @return void |
|
52 | + */ |
|
30 | 53 | public function verifyPassword(?string $password): void; |
31 | 54 | |
55 | + /** |
|
56 | + * @return void |
|
57 | + */ |
|
32 | 58 | public function subscribeToTheNewsletter(): void; |
33 | 59 | } |
@@ -18,13 +18,20 @@ |
||
18 | 18 | |
19 | 19 | interface CreatePageInterface extends SymfonyPageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function fillAddressData(AddressInterface $address); |
22 | 25 | |
23 | 26 | /** |
24 | 27 | * @param string $name |
28 | + * @return void |
|
25 | 29 | */ |
26 | 30 | public function selectCountry($name); |
27 | 31 | |
32 | + /** |
|
33 | + * @return void |
|
34 | + */ |
|
28 | 35 | public function addAddress(); |
29 | 36 | |
30 | 37 | /** |
@@ -17,10 +17,19 @@ |
||
17 | 17 | |
18 | 18 | interface ResetPasswordPageInterface extends SymfonyPageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function reset(): void; |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function specifyNewPassword(string $password): void; |
23 | 29 | |
30 | + /** |
|
31 | + * @return void |
|
32 | + */ |
|
24 | 33 | public function specifyConfirmPassword(string $password): void; |
25 | 34 | |
26 | 35 | public function checkValidationMessageFor(string $element, string $message): bool; |