You are here

function theme_coder_warning_msg in Coder 6.2

Same name and namespace in other branches
  1. 6 coder.module \theme_coder_warning_msg()

Format a coder warning to be included in results, creating the text.

Parameters

$results: Results array variable to save errors to.

$error: Error array from _coder_error().

1 theme call to theme_coder_warning_msg()
do_coder_reviews in ./coder.module
Perform batch coder reviews for multiple files.

File

./coder.module, line 1971

Code

function theme_coder_warning_msg($error) {

  // @TODO: we can combine theme_coder_warning() and theme_coder_warning_msg(),
  // But let's do this on the 7.x upgrade in case anyone's actually using it.
  return theme('coder_warning', _coder_warning($error['rule']), $error['severity_name'], $error['lineno'], $error['line']);
}