function theme_drush_coder_warning in Coder 5.2
Same name and namespace in other branches
- 6.2 coder.drush.inc \theme_drush_coder_warning()
- 6 coder.drush.inc \theme_drush_coder_warning()
1 call to theme_drush_coder_warning()
- theme_coder_warning in ./
coder.module - Format a coder warning to be included in results.
File
- ./
coder.drush.inc, line 98
Code
function theme_drush_coder_warning($warning, $severity_name, $lineno = 0, $line = '') {
$output = $lineno ? '+' . $lineno . ': ' : '';
$output .= is_array($warning) ? $warning['#warning'] : $warning;
return _coder_drush_output($output);
}