@@ -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 |
@@ -299,7 +299,7 @@ |
||
299 | 299 | |
300 | 300 | /** |
301 | 301 | * @param string $attributeName |
302 | - * @param string|array $selector |
|
302 | + * @param string $selector |
|
303 | 303 | * |
304 | 304 | * @return bool |
305 | 305 | * |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Doctrine\ORM\Event\LifecycleEventArgs; |
18 | 18 | use Doctrine\ORM\UnitOfWork; |
19 | 19 | use Mockery; |
20 | -use Mockery\Mock; |
|
21 | 20 | use Mockery\MockInterface; |
22 | 21 | use PhpSpec\ObjectBehavior; |
23 | 22 | use Sylius\Component\Attribute\AttributeType\SelectAttributeType; |
@@ -17,8 +17,8 @@ |
||
17 | 17 | use PhpSpec\ObjectBehavior; |
18 | 18 | use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface; |
19 | 19 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
20 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
21 | 20 | use Sylius\Component\Review\Model\ReviewInterface; |
21 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
22 | 22 | |
23 | 23 | final class AverageRatingUpdaterSpec extends ObjectBehavior |
24 | 24 | { |
@@ -26,8 +26,8 @@ |
||
26 | 26 | use Sylius\Component\Resource\Model\VersionedInterface; |
27 | 27 | use Sylius\Component\Shipping\Model\ShippableInterface; |
28 | 28 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
29 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
30 | 29 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
30 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
31 | 31 | |
32 | 32 | final class ProductVariantSpec extends ObjectBehavior |
33 | 33 | { |
@@ -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 |