original_string: public static function antivir_scan_file($thefile, $filename, $deleteinfected) {
          debugging('Please upgrade your code to use \core\antivirus\manager::scan_file instead', DEBUG_DEVELOPER);
          \core\antivirus\manager::scan_file($thefile, $filename, $deleteinfected);
      }
code: public static function antivir_scan_file($thefile, $filename, $deleteinfected) {
          debugging('Please upgrade your code to use \core\antivirus\manager::scan_file instead', DEBUG_DEVELOPER);
          \core\antivirus\manager::scan_file($thefile, $filename, $deleteinfected);
      }
code_tokens: public static function antivir_scan_file ( $ thefile , $ filename , $ deleteinfected ) { debugging ( 'Please upgrade your code to use \core\antivirus\manager::scan_file instead' , DEBUG_DEVELOPER ) ; \ core \ antivirus \ manager :: scan_file ( $ thefile , $ filename , $ deleteinfected ) ; }
docstring: Scan file, throws exception in case of infected file.
  
  Please note that the scanning engine must be able to access the file,
  permissions of the file are not modified here!
  
  @static
  @deprecated since Moodle 3.0
  @param string $thefile
  @param string $filename name of the file
  @param bool $deleteinfected
docstring_tokens: Scan file throws exception in case of infected file .