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:
Bob Heise 2008-03-19 14:50:32 +00:00
parent 57215e1191
commit d1d164b8ec

View file

@ -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() {