@@ -171,10 +171,10 @@ |
||
| 171 | 171 | $expected[$product->getId()] = [ |
| 172 | 172 | 'category_id' => [ |
| 173 | 173 | ['value' => 555, 'all_text' => false], |
| 174 | - ], |
|
| 174 | + ], |
|
| 175 | 175 | 'category_path' => [ |
| 176 | 176 | ['value' => '1_555', 'all_text' => false], |
| 177 | - ], |
|
| 177 | + ], |
|
| 178 | 178 | 'category_path_' . CategoryPathPlaceholder::NAME => [ |
| 179 | 179 | [ |
| 180 | 180 | 'value' => new PlaceholderValue(1, [CategoryPathPlaceholder::NAME => '1']), |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | * @method removeProduct(Product $value) |
| 28 | 28 | * @method ArrayCollection getProducts() |
| 29 | 29 | * @method addProduct(Product $value) |
| 30 | - |
|
| 31 | 30 | */ |
| 32 | 31 | class ExtendCategory |
| 33 | 32 | { |
@@ -305,7 +305,7 @@ |
||
| 305 | 305 | ); |
| 306 | 306 | |
| 307 | 307 | $qb->where($qb->expr()->eq('pi.product', ':product_id')) |
| 308 | - ->setParameter('product_id', $productId); |
|
| 308 | + ->setParameter('product_id', $productId); |
|
| 309 | 309 | |
| 310 | 310 | return $qb->getQuery()->execute(); |
| 311 | 311 | } |
@@ -90,8 +90,8 @@ |
||
| 90 | 90 | [self::USER_CURRENCY_PARAMETER] |
| 91 | 91 | ); |
| 92 | 92 | $event->getDatagrid() |
| 93 | - ->getParameters() |
|
| 94 | - ->set(self::USER_CURRENCY_PARAMETER, $this->currencyManager->getUserCurrency()); |
|
| 93 | + ->getParameters() |
|
| 94 | + ->set(self::USER_CURRENCY_PARAMETER, $this->currencyManager->getUserCurrency()); |
|
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | /** |
@@ -73,6 +73,6 @@ |
||
| 73 | 73 | ->setSubtotal($price->getValue() * $lineItem->getQuantity()) |
| 74 | 74 | ] |
| 75 | 75 | ] |
| 76 | - ]; |
|
| 76 | + ]; |
|
| 77 | 77 | } |
| 78 | 78 | } |
@@ -105,6 +105,6 @@ |
||
| 105 | 105 | ->setSourceLineItem($lineItem) |
| 106 | 106 | ->setSubtotal(0)] |
| 107 | 107 | ], |
| 108 | - ]; |
|
| 108 | + ]; |
|
| 109 | 109 | } |
| 110 | 110 | } |
@@ -223,7 +223,7 @@ |
||
| 223 | 223 | ->willReturn([ |
| 224 | 224 | [Item::class], |
| 225 | 225 | [self::WEBSITE_ID] |
| 226 | - ]); |
|
| 226 | + ]); |
|
| 227 | 227 | |
| 228 | 228 | $this->messageProducer->expects($this->atLeastOnce()) |
| 229 | 229 | ->method('send') |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | use Symfony\Component\HttpFoundation\RequestStack; |
| 9 | 9 | |
| 10 | 10 | class ScopedProductSearchQueryRestrictionEventListenerTest extends |
| 11 | - AbstractProductSearchQueryRestrictionEventListenerTest |
|
| 11 | + AbstractProductSearchQueryRestrictionEventListenerTest |
|
| 12 | 12 | { |
| 13 | 13 | const SCOPE = 'test_scope'; |
| 14 | 14 | |
@@ -57,10 +57,10 @@ |
||
| 57 | 57 | 'unit_disabled', |
| 58 | 58 | ProductUnitSelectType::class, |
| 59 | 59 | [ |
| 60 | - 'compact' => $options['compact'], |
|
| 61 | - 'disabled' => $disabled, |
|
| 62 | - 'mapped' => false, |
|
| 63 | - 'data' => $unitPrecision->getUnit() |
|
| 60 | + 'compact' => $options['compact'], |
|
| 61 | + 'disabled' => $disabled, |
|
| 62 | + 'mapped' => false, |
|
| 63 | + 'data' => $unitPrecision->getUnit() |
|
| 64 | 64 | ] |
| 65 | 65 | ); |
| 66 | 66 | |