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 887ecba commit a460bdaCopy full SHA for a460bda
Magento2/Sniffs/Security/InsecureFunctionSniff.php
@@ -33,5 +33,19 @@ class InsecureFunctionSniff extends ForbiddenFunctionsSniff
33
'srand' => null,
34
'mt_srand' => null,
35
'mt_rand' => 'random_int',
36
+ // Custom Rules - MTS-2096
37
+ 'eval' => null,
38
+ 'preg_replace' => null,
39
+ 'preg_replace_callback' => null,
40
+ 'preg_replace_callback_array' => null,
41
+ 'include' => null,
42
+ 'include_once' => null,
43
+ 'require' => null,
44
+ 'require_once' => null,
45
+ 'proc_nice' => null,
46
+ 'proc_open' => null,
47
+ 'proc_close' => null,
48
+ 'proc_terminate' => null,
49
+ 'proc_get_status' => null,
50
];
51
}
0 commit comments