You are here

function _coder_review_drush_xml_output_footer in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_review/coder_review.drush.inc \_coder_review_drush_xml_output_footer()

XML: output appropriate footer tag.

1 call to _coder_review_drush_xml_output_footer()
coder_review_drush_review in coder_review/coder_review.drush.inc
Do the actual review.

File

coder_review/coder_review.drush.inc, line 370
Command line utility for coder_review.

Code

function _coder_review_drush_xml_output_footer($type = 'xml') {
  switch ($type) {
    case 'checkstyle':
      _coder_review_drush_print('</checkstyle>');
      break;
    case 'xml':
    default:
      _coder_review_drush_print('</coderreview>');
      break;
  }
}