diff --git a/app/code/Magento/Catalog/Block/Product/Context.php b/app/code/Magento/Catalog/Block/Product/Context.php index 7b4afffc3cf27..8c15075747ed1 100644 --- a/app/code/Magento/Catalog/Block/Product/Context.php +++ b/app/code/Magento/Catalog/Block/Product/Context.php @@ -16,7 +16,7 @@ * As Magento moves from inheritance-based APIs all such classes will be deprecated together with * the classes they were introduced for. * - * @deprecated + * @deprecated * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Context extends \Magento\Framework\View\Element\Template\Context diff --git a/app/code/Magento/Catalog/Model/ProductVisibilityCondition.php b/app/code/Magento/Catalog/Model/ProductVisibilityCondition.php index cdaa8da793b87..08475ec3d052f 100644 --- a/app/code/Magento/Catalog/Model/ProductVisibilityCondition.php +++ b/app/code/Magento/Catalog/Model/ProductVisibilityCondition.php @@ -1,6 +1,6 @@ - [ - 1 => \Magento\Catalog\Model\Product\Type::TYPE_SIMPLE - ], - 'sku_2' => - [ - 2 => \Magento\Catalog\Model\Product\Type::TYPE_VIRTUAL - ] + 'sku_1' => [ + 1 => \Magento\Catalog\Model\Product\Type::TYPE_SIMPLE + ], + 'sku_2' => [ + 2 => \Magento\Catalog\Model\Product\Type::TYPE_VIRTUAL + ] ]; $select = $this->getMockBuilder(\Magento\Framework\DB\Select::class) ->disableOriginalConstructor()->getMock(); @@ -228,14 +226,12 @@ public function testDelete() $attributeId = 5; $skus = ['sku_1', 'sku_2']; $idsBySku = [ - 'sku_1' => - [ - 1 => \Magento\Catalog\Model\Product\Type::TYPE_SIMPLE - ], - 'sku_2' => - [ - 2 => \Magento\Catalog\Model\Product\Type::TYPE_VIRTUAL - ] + 'sku_1' => [ + 1 => \Magento\Catalog\Model\Product\Type::TYPE_SIMPLE + ], + 'sku_2' => [ + 2 => \Magento\Catalog\Model\Product\Type::TYPE_VIRTUAL + ] ]; $this->productIdLocator ->expects($this->once()) @@ -278,14 +274,12 @@ public function testDeleteWithException() $attributeId = 5; $skus = ['sku_1', 'sku_2']; $idsBySku = [ - 'sku_1' => - [ - 1 => \Magento\Catalog\Model\Product\Type::TYPE_SIMPLE - ], - 'sku_2' => - [ - 2 => \Magento\Catalog\Model\Product\Type::TYPE_VIRTUAL - ] + 'sku_1' => [ + 1 => \Magento\Catalog\Model\Product\Type::TYPE_SIMPLE + ], + 'sku_2' => [ + 2 => \Magento\Catalog\Model\Product\Type::TYPE_VIRTUAL + ] ]; $this->productIdLocator ->expects($this->once()) diff --git a/app/code/Magento/Catalog/Test/Unit/Model/ProductRenderListTest.php b/app/code/Magento/Catalog/Test/Unit/Model/ProductRenderListTest.php index b50297101d687..f407ccf33ab63 100644 --- a/app/code/Magento/Catalog/Test/Unit/Model/ProductRenderListTest.php +++ b/app/code/Magento/Catalog/Test/Unit/Model/ProductRenderListTest.php @@ -1,6 +1,6 @@