Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Common.php')
-rw-r--r--core/Common.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Common.php b/core/Common.php
index fd67308062..7085aea33f 100644
--- a/core/Common.php
+++ b/core/Common.php
@@ -319,6 +319,7 @@ class Common
public static function safe_unserialize($string, $allowedClasses = [], $rethrow = false)
{
try {
+ // phpcs:ignore Generic.PHP.ForbiddenFunctions
return unserialize($string, ['allowed_classes' => empty($allowedClasses) ? false : $allowedClasses]);
} catch (\Throwable $e) {
if ($rethrow) {