Passed
Push — master ( 0f8b85...1af5ec )
by Kevin
15:29 queued 03:24
created
features/global_search_solr/global_search_solr.apachesolr_environments.inc 1 patch
Indentation   +71 added lines, -71 removed lines patch added patch discarded remove patch
@@ -4,15 +4,15 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_apachesolr_environments().
5 5
  */
6 6
 function global_search_solr_apachesolr_environments() {
7
-  $export = array();
7
+    $export = array();
8 8
 
9
-  $environment = new stdClass;
10
-  $environment->api_version = 1;
11
-  $environment->env_id = 'solr';
12
-  $environment->name = 'localhost server';
13
-  $environment->url = 'http://localhost:8983/solr';
14
-  $environment->service_class = '';
15
-  $environment->conf = array(
9
+    $environment = new stdClass;
10
+    $environment->api_version = 1;
11
+    $environment->env_id = 'solr';
12
+    $environment->name = 'localhost server';
13
+    $environment->url = 'http://localhost:8983/solr';
14
+    $environment->service_class = '';
15
+    $environment->conf = array(
16 16
     'apachesolr_read_only' => '0',
17 17
     'apachesolr_search_changed_boost' => '0:0',
18 18
     'apachesolr_search_comment_boost' => '0:0',
@@ -21,73 +21,73 @@  discard block
 block discarded – undo
21 21
     'apachesolr_search_promote_boost' => '0',
22 22
     'apachesolr_search_sticky_boost' => '0',
23 23
     'apachesolr_search_type_boosts' => array(
24
-      'page' => '0',
25
-      'news' => '0',
26
-      'profile' => '0',
27
-      'forum' => '0',
28
-      'panel' => '0',
29
-      'story' => '0',
24
+        'page' => '0',
25
+        'news' => '0',
26
+        'profile' => '0',
27
+        'forum' => '0',
28
+        'panel' => '0',
29
+        'story' => '0',
30 30
     ),
31 31
     'field_bias' => array(
32
-      'bs_promote' => '0',
33
-      'bs_status' => '0',
34
-      'bs_sticky' => '0',
35
-      'bs_translate' => '0',
36
-      'bundle' => '0',
37
-      'bundle_name' => '0',
38
-      'content' => '1.0',
39
-      'ds_changed' => '0',
40
-      'ds_created' => '0',
41
-      'ds_last_comment_or_change' => '0',
42
-      'entity_id' => '0',
43
-      'entity_type' => '0',
44
-      'hash' => '0',
45
-      'id' => '0',
46
-      'is_tnid' => '0',
47
-      'is_uid' => '0',
48
-      'label' => '5.0',
49
-      'path' => '0',
50
-      'path_alias' => '0',
51
-      'site' => '0',
52
-      'sm_field_background' => '0',
53
-      'sm_field_country' => '0',
54
-      'sm_field_opinions' => '0',
55
-      'sm_field_url' => '0',
56
-      'sm_field_zip' => '0',
57
-      'sort_label' => '0',
58
-      'sort_language' => '0',
59
-      'sort_name' => '0',
60
-      'sort_name_formatted' => '0',
61
-      'spell' => '0',
62
-      'ss_language' => '0',
63
-      'ss_name' => '0',
64
-      'ss_name_formatted' => '0',
65
-      'tags_a' => '0',
66
-      'tags_h1' => '5.0',
67
-      'tags_h2_h3' => '3.0',
68
-      'tags_h4_h5_h6' => '2.0',
69
-      'tags_inline' => '1.0',
70
-      'taxonomy_names' => '2.0',
71
-      'timestamp' => '0',
72
-      'tos_content_extra' => '0.1',
73
-      'tos_name' => '3.0',
74
-      'tos_name_formatted' => '0',
75
-      'ts_comments' => '0.5',
76
-      'url' => '0',
32
+        'bs_promote' => '0',
33
+        'bs_status' => '0',
34
+        'bs_sticky' => '0',
35
+        'bs_translate' => '0',
36
+        'bundle' => '0',
37
+        'bundle_name' => '0',
38
+        'content' => '1.0',
39
+        'ds_changed' => '0',
40
+        'ds_created' => '0',
41
+        'ds_last_comment_or_change' => '0',
42
+        'entity_id' => '0',
43
+        'entity_type' => '0',
44
+        'hash' => '0',
45
+        'id' => '0',
46
+        'is_tnid' => '0',
47
+        'is_uid' => '0',
48
+        'label' => '5.0',
49
+        'path' => '0',
50
+        'path_alias' => '0',
51
+        'site' => '0',
52
+        'sm_field_background' => '0',
53
+        'sm_field_country' => '0',
54
+        'sm_field_opinions' => '0',
55
+        'sm_field_url' => '0',
56
+        'sm_field_zip' => '0',
57
+        'sort_label' => '0',
58
+        'sort_language' => '0',
59
+        'sort_name' => '0',
60
+        'sort_name_formatted' => '0',
61
+        'spell' => '0',
62
+        'ss_language' => '0',
63
+        'ss_name' => '0',
64
+        'ss_name_formatted' => '0',
65
+        'tags_a' => '0',
66
+        'tags_h1' => '5.0',
67
+        'tags_h2_h3' => '3.0',
68
+        'tags_h4_h5_h6' => '2.0',
69
+        'tags_inline' => '1.0',
70
+        'taxonomy_names' => '2.0',
71
+        'timestamp' => '0',
72
+        'tos_content_extra' => '0.1',
73
+        'tos_name' => '3.0',
74
+        'tos_name_formatted' => '0',
75
+        'ts_comments' => '0.5',
76
+        'url' => '0',
77 77
     ),
78
-  );
79
-  $environment->index_bundles = array(
78
+    );
79
+    $environment->index_bundles = array(
80 80
     'node' => array(
81
-      0 => 'forum',
82
-      1 => 'news',
83
-      2 => 'page',
84
-      3 => 'panel',
85
-      4 => 'profile',
86
-      5 => 'story',
87
-      6 => 'team',
81
+        0 => 'forum',
82
+        1 => 'news',
83
+        2 => 'page',
84
+        3 => 'panel',
85
+        4 => 'profile',
86
+        5 => 'story',
87
+        6 => 'team',
88 88
     ),
89
-  );
90
-  $export['solr'] = $environment;
89
+    );
90
+    $export['solr'] = $environment;
91 91
 
92
-  return $export;
92
+    return $export;
93 93
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/boinc_solr_search/boinc_solr_search.strongarm.inc 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -4,20 +4,20 @@
 block discarded – undo
4 4
  * Implementation of hook_strongarm().
5 5
  */
6 6
 function boinc_solr_search_strongarm() {
7
-  $export = array();
7
+    $export = array();
8 8
 
9
-  $strongarm = new stdClass;
10
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
11
-  $strongarm->api_version = 1;
12
-  $strongarm->name = 'boinc_solr_comments_nodetypes';
13
-  $strongarm->value = array(
9
+    $strongarm = new stdClass;
10
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
11
+    $strongarm->api_version = 1;
12
+    $strongarm->name = 'boinc_solr_comments_nodetypes';
13
+    $strongarm->value = array(
14 14
     'forum' => 'forum',
15 15
     'news' => 'news',
16 16
     'page' => 'page',
17 17
     'story' => 'story',
18 18
     'team_forum' => 'team_forum',
19
-  );
20
-  $export['boinc_solr_comments_nodetypes'] = $strongarm;
19
+    );
20
+    $export['boinc_solr_comments_nodetypes'] = $strongarm;
21 21
 
22
-  return $export;
22
+    return $export;
23 23
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/boinc_solr_search/boinc_solr_search.features.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
  * Implementation of hook_ctools_plugin_api().
5 5
  */
6 6
 function boinc_solr_search_ctools_plugin_api() {
7
-  list($module, $api) = func_get_args();
8
-  if ($module == "strongarm" && $api == "strongarm") {
7
+    list($module, $api) = func_get_args();
8
+    if ($module == "strongarm" && $api == "strongarm") {
9 9
     return array("version" => 1);
10
-  }
10
+    }
11 11
 }
Please login to merge, or discard this patch.
sites/all/features/boinc_standard/boinc_standard.features.role_export.inc 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -4,31 +4,31 @@
 block discarded – undo
4 4
  * Implementation of hook_role_export_defaults().
5 5
  */
6 6
 function boinc_standard_role_export_defaults() {
7
-  $roles = array();
7
+    $roles = array();
8 8
 
9
-  $roles['administrator'] = array(
9
+    $roles['administrator'] = array(
10 10
     'rid' => '3519698132',
11 11
     'name' => 'administrator',
12 12
     'machine_name' => 'administrator',
13
-  );
13
+    );
14 14
 
15
-  $roles['community_member'] = array(
15
+    $roles['community_member'] = array(
16 16
     'rid' => '1110965548',
17 17
     'name' => 'community member',
18 18
     'machine_name' => 'community_member',
19
-  );
19
+    );
20 20
 
21
-  $roles['content_editor'] = array(
21
+    $roles['content_editor'] = array(
22 22
     'rid' => '2938987599',
23 23
     'name' => 'content editor',
24 24
     'machine_name' => 'content_editor',
25
-  );
25
+    );
26 26
 
27
-  $roles['verified_contributor'] = array(
27
+    $roles['verified_contributor'] = array(
28 28
     'rid' => '933038561',
29 29
     'name' => 'verified contributor',
30 30
     'machine_name' => 'verified_contributor',
31
-  );
31
+    );
32 32
 
33
-  return $roles;
33
+    return $roles;
34 34
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/boinc_standard/boinc_standard.wysiwyg.inc 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -4,20 +4,20 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_default_wysiwyg().
5 5
  */
6 6
 function boinc_standard_default_wysiwyg() {
7
-  $export = array();
7
+    $export = array();
8 8
 
9
-  $wysiwyg = new stdClass;
10
-  $wysiwyg->disabled = FALSE; /* Edit this to true to make a default wysiwyg disabled initially */
11
-  $wysiwyg->api_version = 2;
12
-  $wysiwyg->editor = 'tinymce';
13
-  $wysiwyg->settings = array(
9
+    $wysiwyg = new stdClass;
10
+    $wysiwyg->disabled = FALSE; /* Edit this to true to make a default wysiwyg disabled initially */
11
+    $wysiwyg->api_version = 2;
12
+    $wysiwyg->editor = 'tinymce';
13
+    $wysiwyg->settings = array(
14 14
     'default' => 1,
15 15
     'user_choose' => 1,
16 16
     'show_toggle' => 1,
17 17
     'theme' => 'advanced',
18 18
     'language' => 'en',
19 19
     'buttons' => array(
20
-      'default' => array(
20
+        'default' => array(
21 21
         'bold' => 1,
22 22
         'italic' => 1,
23 23
         'underline' => 1,
@@ -40,25 +40,25 @@  discard block
 block discarded – undo
40 40
         'hr' => 1,
41 41
         'removeformat' => 1,
42 42
         'charmap' => 1,
43
-      ),
44
-      'advimage' => array(
43
+        ),
44
+        'advimage' => array(
45 45
         'advimage' => 1,
46
-      ),
47
-      'emotions' => array(
46
+        ),
47
+        'emotions' => array(
48 48
         'emotions' => 1,
49
-      ),
50
-      'font' => array(
49
+        ),
50
+        'font' => array(
51 51
         'formatselect' => 1,
52
-      ),
53
-      'paste' => array(
52
+        ),
53
+        'paste' => array(
54 54
         'pastetext' => 1,
55
-      ),
56
-      'media' => array(
55
+        ),
56
+        'media' => array(
57 57
         'media' => 1,
58
-      ),
59
-      'drupal' => array(
58
+        ),
59
+        'drupal' => array(
60 60
         'linebreaks' => 1,
61
-      ),
61
+        ),
62 62
     ),
63 63
     'toolbar_loc' => 'top',
64 64
     'toolbar_align' => 'left',
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
     'css_classes' => 'Image with caption=standalone-image
77 77
 Float left with caption=image-left
78 78
 Float right with caption=image-right',
79
-  );
80
-  $wysiwyg->machine = 'rich_text';
81
-  $export['rich_text'] = $wysiwyg;
79
+    );
80
+    $wysiwyg->machine = 'rich_text';
81
+    $export['rich_text'] = $wysiwyg;
82 82
 
83
-  return $export;
83
+    return $export;
84 84
 }
Please login to merge, or discard this patch.
all/features/boinc_standard/boinc_standard.features.fe_block_settings.inc 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_default_fe_block_settings().
5 5
  */
6 6
 function boinc_standard_default_fe_block_settings() {
7
-  $export = array();
7
+    $export = array();
8 8
 
9
-  // boinc
10
-  $theme = array();
9
+    // boinc
10
+    $theme = array();
11 11
 
12
-  $theme['menu_block-1'] = array(
12
+    $theme['menu_block-1'] = array(
13 13
     'module' => 'menu_block',
14 14
     'delta' => '1',
15 15
     'theme' => 'boinc',
@@ -22,14 +22,14 @@  discard block
 block discarded – undo
22 22
     'pages' => '',
23 23
     'title' => '<none>',
24 24
     'cache' => '-1',
25
-  );
25
+    );
26 26
 
27
-  $export['boinc'] = $theme;
27
+    $export['boinc'] = $theme;
28 28
 
29
-  // einstein
30
-  $theme = array();
29
+    // einstein
30
+    $theme = array();
31 31
 
32
-  $theme['menu_block-1'] = array(
32
+    $theme['menu_block-1'] = array(
33 33
     'module' => 'menu_block',
34 34
     'delta' => '1',
35 35
     'theme' => 'einstein',
@@ -42,14 +42,14 @@  discard block
 block discarded – undo
42 42
     'pages' => '',
43 43
     'title' => '<none>',
44 44
     'cache' => '-1',
45
-  );
45
+    );
46 46
 
47
-  $export['einstein'] = $theme;
47
+    $export['einstein'] = $theme;
48 48
 
49
-  // garland
50
-  $theme = array();
49
+    // garland
50
+    $theme = array();
51 51
 
52
-  $theme['menu_block-1'] = array(
52
+    $theme['menu_block-1'] = array(
53 53
     'module' => 'menu_block',
54 54
     'delta' => '1',
55 55
     'theme' => 'garland',
@@ -62,16 +62,16 @@  discard block
 block discarded – undo
62 62
     'pages' => '',
63 63
     'title' => '<none>',
64 64
     'cache' => '-1',
65
-  );
65
+    );
66 66
 
67
-  $export['garland'] = $theme;
67
+    $export['garland'] = $theme;
68 68
 
69
-  $theme_default = variable_get('theme_default', 'garland');
70
-  $themes = list_themes();
71
-  foreach ($export as $theme_key => $settings) {
69
+    $theme_default = variable_get('theme_default', 'garland');
70
+    $themes = list_themes();
71
+    foreach ($export as $theme_key => $settings) {
72 72
     if ($theme_key != $theme_default && empty($themes[$theme_key]->status)) {
73
-      unset($export[$theme_key]);
73
+        unset($export[$theme_key]);
74 74
     }
75
-  }
76
-  return $export;
75
+    }
76
+    return $export;
77 77
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/boinc_standard/boinc_standard.module 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,16 +6,16 @@
 block discarded – undo
6 6
  * Make some changes to configurations after the feature has been enabled
7 7
  */
8 8
 function boinc_standard_enable() {
9
-  // Ensure that the default theme is enabled. A bit ridiculous, but it is
10
-  // possible for this not to be the case.
11
-  $default_theme = variable_get('theme_default', 'boinc');
12
-  // If default theme is garland, this is because the boinc_standard feature
13
-  // has not been reverted yet. Work around this by forcing it to default to
14
-  // the boinc theme
15
-  if ($default_theme == 'garland') {
9
+    // Ensure that the default theme is enabled. A bit ridiculous, but it is
10
+    // possible for this not to be the case.
11
+    $default_theme = variable_get('theme_default', 'boinc');
12
+    // If default theme is garland, this is because the boinc_standard feature
13
+    // has not been reverted yet. Work around this by forcing it to default to
14
+    // the boinc theme
15
+    if ($default_theme == 'garland') {
16 16
     $default_theme = 'boinc';
17 17
     variable_set('theme_default', $default_theme);
18
-  }
19
-  $default_theme_enabled = db_query("UPDATE {system} SET status = 1
18
+    }
19
+    $default_theme_enabled = db_query("UPDATE {system} SET status = 1
20 20
     WHERE type = 'theme' and name = '%s'", $default_theme);
21 21
 }
Please login to merge, or discard this patch.
all/features/boinc_server_migration/boinc_server_migration.strongarm.inc 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
  * Implementation of hook_strongarm().
5 5
  */
6 6
 function boinc_server_migration_strongarm() {
7
-  $export = array();
7
+    $export = array();
8 8
 
9
-  $strongarm = new stdClass;
10
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
11
-  $strongarm->api_version = 1;
12
-  $strongarm->name = 'boincimport_input_format';
13
-  $strongarm->value = '4';
14
-  $export['boincimport_input_format'] = $strongarm;
9
+    $strongarm = new stdClass;
10
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
11
+    $strongarm->api_version = 1;
12
+    $strongarm->name = 'boincimport_input_format';
13
+    $strongarm->value = '4';
14
+    $export['boincimport_input_format'] = $strongarm;
15 15
 
16
-  return $export;
16
+    return $export;
17 17
 }
Please login to merge, or discard this patch.
all/features/boinc_server_migration/boinc_server_migration.features.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
  * Implementation of hook_ctools_plugin_api().
5 5
  */
6 6
 function boinc_server_migration_ctools_plugin_api() {
7
-  list($module, $api) = func_get_args();
8
-  if ($module == "strongarm" && $api == "strongarm") {
7
+    list($module, $api) = func_get_args();
8
+    if ($module == "strongarm" && $api == "strongarm") {
9 9
     return array("version" => 1);
10
-  }
10
+    }
11 11
 }
Please login to merge, or discard this patch.