Skip to content

Commit 26a877c

Browse files
committed
MC-40558: Stabilize Static tests and MHI
1 parent 9166f02 commit 26a877c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/static/testsuite/Magento/Test/Integrity/PublicCodeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ private function getWhitelist(): array
4444
foreach (glob($whiteListFiles) as $fileName) {
4545
$whiteListItems[] = file($fileName, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
4646
}
47-
$this->blockWhitelist = $whiteListItems;
47+
$this->blockWhitelist = array_merge([], ...$whiteListItems);
4848
}
4949
return $this->blockWhitelist;
5050
}

0 commit comments

Comments
 (0)