Skip to content

Commit 703c117

Browse files
committed
MC-38168: Manual Indexer after Merchandising - Empty Catalog/ Number of products incorrect
1 parent 4dd36af commit 703c117

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

app/code/Magento/Catalog/Model/Indexer/Category/Product/Action/Rows.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ class Rows extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractActio
6565
* @param EventManagerInterface|null $eventManager
6666
* @param IndexerRegistry|null $indexerRegistry
6767
* @param WorkingStateProvider|null $workingStateProvider
68+
* @SuppressWarnings(PHPMD.ExcessiveParameterList) Preserve compatibility with the parent class
6869
*/
6970
public function __construct(
7071
ResourceConnection $resource,

app/code/Magento/Catalog/Model/Indexer/Product/Category/Action/Rows.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ class Rows extends \Magento\Catalog\Model\Indexer\Category\Product\AbstractActio
6666
* @param EventManagerInterface|null $eventManager
6767
* @param IndexerRegistry|null $indexerRegistry
6868
* @param WorkingStateProvider|null $workingStateProvider
69+
* @SuppressWarnings(PHPMD.ExcessiveParameterList) Preserve compatibility with the parent class
6970
*/
7071
public function __construct(
7172
ResourceConnection $resource,

app/code/Magento/Catalog/Test/Unit/Model/Indexer/Category/Product/Action/RowsTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131

3232
/**
3333
* Test for Rows action
34+
*
35+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects) to preserve compatibility with tested class
3436
*/
3537
class RowsTest extends TestCase
3638
{

app/code/Magento/Catalog/Test/Unit/Model/Indexer/Product/Category/Action/RowsTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131

3232
/**
3333
* Test for Rows action
34+
*
35+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects) to preserve compatibility with tested class
3436
*/
3537
class RowsTest extends TestCase
3638
{

0 commit comments

Comments
 (0)