You are here

function _coder_review_default_reviews in Coder 7.2

Same name and namespace in other branches
  1. 7 coder_review/coder_review.module \_coder_review_default_reviews()

Returns a default list of reviews to perform a coder_review analysis upon.

Return value

array An associative array with keys set to the names of the reviews to perform. The values are set to ???

See also

_coder_review_get_default_settings()

1 call to _coder_review_default_reviews()
_coder_review_get_default_settings in coder_review/coder_review.common.inc
Returns an active settings array for coder_review.

File

coder_review/coder_review.common.inc, line 86
Common functions used by both the drush and form interfaces.

Code

function _coder_review_default_reviews() {

  // Do not use drupal_map_assoc() so that this will run without Drupal being
  // bootstraped.
  return array(
    'style' => 'style',
    'sql' => 'sql',
    'comment' => 'comment',
    'security' => 'security',
    'i18n' => 'i18n',
    'sniffer' => 'sniffer',
  );
}