We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eb17063 + af37bad commit 8304fabCopy full SHA for 8304fab
Magento2/Sniffs/Security/InsecureFunctionSniff.php
@@ -20,7 +20,7 @@ class InsecureFunctionSniff extends ForbiddenFunctionsSniff
20
public $forbiddenFunctions = [
21
'assert' => null,
22
'create_function' => null,
23
- 'exec' => null,
+ 'exec' => '\Magento\Framework\Shell::execute',
24
'md5' => 'improved hash functions (SHA-256, SHA-512 etc.)',
25
'passthru' => null,
26
'pcntl_exec' => null,
0 commit comments