Skip to content

Commit 989058c

Browse files
authored
#22228: Suppress PHPCS violations in test
1 parent 44569d5 commit 989058c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev/tests/integration/testsuite/Magento/GraphQlCache/Controller/Catalog/DeepNestedCategoriesAndProductsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public function testDispatchForCacheHeadersOnDeepNestedQueries(): void
8080
$resolvedCategoryIds = array_merge($resolvedCategoryIds, [$baseCategoryId]);
8181
foreach ($resolvedCategoryIds as $categoryId) {
8282
$category = $categoryRepository->get($categoryId);
83+
// phpcs:ignore Magento2.Performance.ForeachArrayMerge
8384
$productIdsFromCategory= array_merge(
8485
$productIdsFromCategory,
8586
$category->getProductCollection()->getAllIds()

0 commit comments

Comments
 (0)