Skip to content

Commit 976deb6

Browse files
committed
MC-5894: Gift Card Account
1 parent 8c978ca commit 976deb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Magento2/Sniffs/Security/InsecureFunctionSniff.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ class InsecureFunctionSniff extends ForbiddenFunctionsSniff
3939
'unserialize' => '\Magento\Framework\Serialize\SerializerInterface::unserialize',
4040
'srand' => null,
4141
'mt_srand'=> null,
42+
'mt_rand' => 'random_int',
4243
];
4344
}

0 commit comments

Comments
 (0)