Skip to content

Commit 9c8e7be

Browse files
committed
ACP2E-1456: fix static tests errors
1 parent beffa73 commit 9c8e7be

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

app/code/Magento/Bundle/Helper/Catalog/Product/Configuration.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@
88
use Magento\Catalog\Helper\Product\Configuration\ConfigurationInterface;
99
use Magento\Catalog\Model\Product\Configuration\Item\ItemInterface;
1010
use Magento\Framework\App\Helper\AbstractHelper;
11-
use Magento\Framework\App\Helper\Context;
1211
use Magento\Framework\App\ObjectManager;
13-
use Magento\Framework\Escaper;
14-
use Magento\Framework\Pricing\Helper\Data;
15-
use Magento\Framework\Serialize\Serializer\Json;
1612

1713
/**
1814
* Helper for fetching properties by product configuration item
@@ -36,8 +32,6 @@ class Configuration extends AbstractHelper implements ConfigurationInterface
3632
protected $productConfiguration;
3733

3834
/**
39-
* Escaper
40-
*
4135
* @var \Magento\Framework\Escaper
4236
*/
4337
protected $escaper;
@@ -130,6 +124,7 @@ public function getSelectionFinalPrice(ItemInterface $item, \Magento\Catalog\Mod
130124
*
131125
* @param ItemInterface $item
132126
* @return array
127+
* phpcs:disable Generic.Metrics.NestingLevel
133128
*/
134129
public function getBundleOptions(ItemInterface $item)
135130
{
@@ -187,6 +182,7 @@ public function getBundleOptions(ItemInterface $item)
187182

188183
return $options;
189184
}
185+
//phpcs:enable Generic.Metrics.NestingLevel
190186

191187
/**
192188
* Retrieves product options list

0 commit comments

Comments
 (0)