We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c978ca commit 976deb6Copy full SHA for 976deb6
Magento2/Sniffs/Security/InsecureFunctionSniff.php
@@ -39,5 +39,6 @@ class InsecureFunctionSniff extends ForbiddenFunctionsSniff
39
'unserialize' => '\Magento\Framework\Serialize\SerializerInterface::unserialize',
40
'srand' => null,
41
'mt_srand'=> null,
42
+ 'mt_rand' => 'random_int',
43
];
44
}
0 commit comments