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.
2 parents 283c9bb + 466aecf commit af37badCopy full SHA for af37bad
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