Skip to content

Commit 6aa0382

Browse files
magento/magenot2#23351: Static tests fix.
1 parent 7653c80 commit 6aa0382

File tree

1 file changed

+2
-0
lines changed
  • lib/internal/Magento/Framework/App/Utility

1 file changed

+2
-0
lines changed

lib/internal/Magento/Framework/App/Utility/Files.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ protected function getLayoutXmlFiles($location, $incomingParams = [], $asDataSet
615615
$params[$key] = $incomingParams[$key];
616616
}
617617
}
618+
//phpcs:ignore Magento2.Security.InsecureFunction
618619
$cacheKey = md5($location . '|' . implode('|', $params));
619620

620621
if (!isset(self::$_cache[__METHOD__][$cacheKey])) {
@@ -768,6 +769,7 @@ public function getPageTypeFiles($incomingParams = [], $asDataSet = true)
768769
$params[$key] = $incomingParams[$key];
769770
}
770771
}
772+
//phpcs:ignore Magento2.Security.InsecureFunction
771773
$cacheKey = md5(implode('|', $params));
772774

773775
if (!isset(self::$_cache[__METHOD__][$cacheKey])) {

0 commit comments

Comments
 (0)