Skip to content

Commit bd8c956

Browse files
committed
Update list of functions to block
1 parent 4f6be44 commit bd8c956

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Magento2/Sniffs/Security/InsecureFunctionSniff.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@ class InsecureFunctionSniff extends ForbiddenFunctionsSniff
3535
'mt_rand' => 'random_int',
3636
// Custom Rules - MTS-2096
3737
'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,
4538
'proc_nice' => null,
4639
'proc_open' => null,
4740
'proc_close' => null,

0 commit comments

Comments
 (0)