added scanning for the deprecated function error_to_log Mantis: 2691
git-svn-id: file:///srv/svn/scanner/trunk@17 a0501263-5b7a-4423-a8ba-1edf086583e7
This commit is contained in:
parent
57215e1191
commit
d1d164b8ec
1 changed files with 6 additions and 0 deletions
|
@ -25,6 +25,12 @@ class PatternModule extends ScannerModule {
|
|||
'level' => FAULT_MINOR,
|
||||
'pattern' => '/(?<!dev|qa)@payquik\.com/'
|
||||
),
|
||||
array(
|
||||
'type' => PHPPARSER_FUNCTION_CALL,
|
||||
'desc' => 'Deprecated Function',
|
||||
'level' => FAULT_MINOR,
|
||||
'pattern' => '/^(error_to_log)$/i'
|
||||
),
|
||||
);
|
||||
|
||||
function PatternModule() {
|
||||
|
|
Loading…
Reference in a new issue