xmlsitemap.admin.inc ✗ 60 more |
line 38 | No space found before comment text; expected "// '#validate' => array('xmlsitemap_sitemap_list_form_validate')," but found "//'#validate' => array('xmlsitemap_sitemap_list_form_validate')," |
39 | No space found before comment text; expected "// '#submit' => array('xmlsitemap_sitemap_list_form_submit')," but found "//'#submit' => array('xmlsitemap_sitemap_list_form_submit')," |
39 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
51 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
85 | There must be no blank line following an inline comment |
85 | No space found before comment text; expected "// $options[$smid]['#attributes']['class'][] = 'warning';" but found "//$options[$smid]['#attributes']['class'][] = 'warning';" |
108 | Do not concatenate strings to translatable strings, they should be part of the t() argument and you should use placeholders |
154 | Line exceeds 80 characters; contains 128 characters |
154 | No space found before comment text; expected "// watchdog('xmlsitemap', '@action @count XML sitemaps.', array('@action' => $operation['action past'], '@count' => $count));" but found "//watchdog('xmlsitemap', '@action @count XML sitemaps.', array('@act... |
154 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
156 | No space found before comment text; expected "// $form_state['redirect'] = 'admin/config/search/xmlsitemap';" but found "//$form_state['redirect'] = 'admin/config/search/xmlsitemap';" |
156 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
160 | Missing function doc comment |
199 | Missing function doc comment |
210 | Missing function doc comment |
220 | Missing function doc comment |
228 | Missing function doc comment |
251 | Missing function doc comment |
267 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
291 | No space found before comment text; expected "// $form['advanced']['xmlsitemap_gz'] = array(" but found "//$form['advanced']['xmlsitemap_gz'] = array(" |
296 | No space found before comment text; expected "// );" but found "//);" |
296 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
300 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
308 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
365 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
428 | Doc comment short description must end with a full stop |
577 | No space found before comment text; expected "// if (!isset($bundle) && isset($entity_info['bundle keys']['bundle'])) {" but found "//if (!isset($bundle) && isset($entity_info['bundle keys']['bundle'])) {" |
577 | Inline comments must start with a capital letter |
580 | Comment indentation error, expected only 2 spaces |
583 | Comment indentation error, expected only 2 spaces |
585 | There must be no blank line following an inline comment |
585 | No space found before comment text; expected "// }" but found "//}" |
585 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
658 | Missing function doc comment |
666 | There should be no white space after an opening "(" |
745 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
760 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
776 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
805 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
835 | No space found before comment text; expected "// $form['xmlsitemap']['lastmod'] = array(" but found "//$form['xmlsitemap']['lastmod'] = array(" |
838 | No space found before comment text; expected "// );" but found "//);" |
839 | No space found before comment text; expected "// $form['xmlsitemap']['changefreq'] = array(" but found "//$form['xmlsitemap']['changefreq'] = array(" |
842 | No space found before comment text; expected "// );" but found "//);" |
843 | No space found before comment text; expected "// $form['xmlsitemap']['changecount'] = array(" but found "//$form['xmlsitemap']['changecount'] = array(" |
846 | There must be no blank line following an inline comment |
846 | No space found before comment text; expected "// );" but found "//);" |
846 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
858 | Missing parameter type |
860 | Missing parameter type |
862 | Separate the @param and @return sections by a blank line. |
862 | Return type missing for @return tag in function comment |
901 | Missing parameter type |
903 | Separate the @param and @return sections by a blank line. |
903 | Return type missing for @return tag in function comment |
929 | Missing parameter type |
931 | Separate the @param and @return sections by a blank line. |
931 | Return type missing for @return tag in function comment |
934 | Trailing punctuation for @see references is not allowed. |
942 | Only string literals should be passed to t() where possible |
946 | A cast statement must be followed by a single space |
xmlsitemap.generate.inc ✗ 27 more |
17 | Missing parameter type |
19 | Missing parameter type |
73 | Array indentation error, expected 6 spaces but found 8 |
74 | Array closing indentation error, expected 4 spaces but found 6 |
80 | Missing function doc comment |
116 | Missing parameter type |
135 | Missing parameter type |
137 | Missing parameter type |
150 | Code after THROW statement cannot be executed |
156 | Missing function doc comment |
157 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
172 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
246 | Missing parameter type |
259 | Code after THROW statement cannot be executed |
265 | There must be no blank line following an inline comment |
265 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
270 | Missing parameter type |
279 | No space found before comment text; expected "// $t = get_t();" but found "//$t = get_t();" |
282 | No space found before comment text; expected "// 'error_message' => $t('An error has occurred.')," but found "//'error_message' => $t('An error has occurred.')," |
282 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
366 | No space found before comment text; expected "// drupal_set_message(t('The sitemaps were regenerated.'));" but found "//drupal_set_message(t('The sitemaps were regenerated.'));" |
397 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
473 | Comments may not appear after statements |
473 | No space found before comment text; expected "// variable_get('xmlsitemap_batch_limit', 100)" but found "//variable_get('xmlsitemap_batch_limit', 100)" |
473 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
482 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
504 | Missing function doc comment |
xmlsitemap.install ✗ 11 more |
65 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
114 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
217 | No space found before comment text; expected "// 'default' => 0.5," but found "//'default' => 0.5," |
218 | No space found before comment text; expected "// 'not null' => NULL," but found "//'not null' => NULL," |
296 | No space found before comment text; expected "// 'queued' => array(" but found "//'queued' => array(" |
301 | Line exceeds 80 characters; contains 98 characters |
302 | No space found before comment text; expected "// )," but found "//)," |
302 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
474 | Doc comment short description must be on a single line, further text should be a separate paragraph |
550 | Doc comment short description must be on a single line, further text should be a separate paragraph |
564 | Missing function doc comment |
xmlsitemap.module ✗ 115 more |
4 | The second line in the file doc comment must be "@file" |
22 | Comments may not appear after statements |
23 | Comments may not appear after statements |
24 | Comments may not appear after statements |
25 | Comments may not appear after statements |
26 | Comments may not appear after statements |
26 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
100 | Case breaking statements must be followed by a single blank line |
102 | Case breaking statements must be followed by a single blank line |
104 | Case breaking statements must be followed by a single blank line |
342 | Missing parameter type |
345 | Return type missing for @return tag in function comment |
356 | Missing parameter type |
358 | Missing parameter type |
361 | Return type missing for @return tag in function comment |
387 | Missing parameter type |
405 | Missing parameter type |
454 | Missing parameter type |
464 | Missing parameter type |
484 | Missing parameter type |
486 | Missing parameter type |
496 | Missing parameter type |
508 | Missing function doc comment |
516 | Missing parameter type |
518 | Separate the @param and @return sections by a blank line. |
518 | Return type missing for @return tag in function comment |
536 | Missing parameter type |
538 | Missing parameter type |
540 | Separate the @param and @return sections by a blank line. |
540 | Return type missing for @return tag in function comment |
551 | Missing parameter type |
554 | Separate the @param and @return sections by a blank line. |
554 | Return type missing for @return tag in function comment |
601 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
604 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
634 | Missing parameter type |
636 | Missing parameter type |
638 | Separate the @param and @return sections by a blank line. |
638 | Return type missing for @return tag in function comment |
664 | Missing parameter type |
666 | Missing parameter type |
668 | Separate the @param and @return sections by a blank line. |
668 | Return type missing for @return tag in function comment |
682 | Missing parameter type |
685 | Separate the @param and @return sections by a blank line. |
685 | Return type missing for @return tag in function comment |
714 | Missing parameter type |
716 | Missing parameter type |
719 | Separate the @param and @return sections by a blank line. |
719 | Return type missing for @return tag in function comment |
745 | Missing parameter type |
747 | Missing parameter type |
751 | Missing parameter type |
754 | Separate the @param and @return sections by a blank line. |
754 | Return type missing for @return tag in function comment |
777 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
791 | There must be no blank lines after the function comment |
820 | Missing function doc comment |
842 | Missing function doc comment |
850 | Missing parameter type |
852 | Missing parameter type |
854 | Missing parameter type |
857 | Return type missing for @return tag in function comment |
887 | Missing parameter type |
889 | Missing parameter type |
896 | dir() is a function name alias, use getdir() instead |
913 | Missing parameter type |
916 | Missing parameter type |
948 | No space found before comment text; expected "// unset($link_info[$key]['bundles'][$bundle_key]);" but found "//unset($link_info[$key]['bundles'][$bundle_key]);" |
948 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
984 | Missing function doc comment |
990 | Line indented incorrectly; expected 6 spaces, found 4 |
990 | No space found before comment text; expected "// if (!empty($bundle_info['xmlsitemap']['status'])) {" but found "//if (!empty($bundle_info['xmlsitemap']['status'])) {" |
990 | Inline comments must start with a capital letter |
990 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
997 | Missing function doc comment |
1007 | No space found before comment text; expected "// $total->addTag('xmlsitemap_link_bundle_access');" but found "//$total->addTag('xmlsitemap_link_bundle_access');" |
1007 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
1032 | Missing function doc comment |
1036 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
1039 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
1042 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
1048 | No space found before comment text; expected "// xmlsitemap_get_link_info(NULL, TRUE);" but found "//xmlsitemap_get_link_info(NULL, TRUE);" |
1048 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
1051 | Missing function doc comment |
1078 | Missing function doc comment |
1098 | Missing function doc comment |
1104 | No space found before comment text; expected "// xmlsitemap_get_link_info(NULL, TRUE);" but found "//xmlsitemap_get_link_info(NULL, TRUE);" |
1104 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
1107 | Missing function doc comment |
1131 | Missing function doc comment |
1162 | Missing parameter type |
1164 | Separate the @param and @return sections by a blank line. |
1164 | Return type missing for @return tag in function comment |
1212 | Missing parameter type |
1214 | Separate the @param and @return sections by a blank line. |
1214 | Return type missing for @return tag in function comment |
1222 | Line exceeds 80 characters; contains 84 characters |
1222 | Comments may not appear after statements |
1232 | Missing parameter type |
1244 | Missing parameter type |
1246 | Separate the @param and @return sections by a blank line. |
1246 | Return type missing for @return tag in function comment |
1337 | Return type missing for @return tag in function comment |
1338 | Return comment indentation must be 3 spaces, found 2 spaces |
1344 | Missing function doc comment |
1346 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
1359 | Missing function doc comment |
1392 | Return type missing for @return tag in function comment |
1411 | Missing parameter type |
1413 | Separate the @param and @return sections by a blank line. |
1413 | Return type missing for @return tag in function comment |
1430 | There must be no blank lines after the function comment |
1473 | Missing function doc comment |
1544 | Missing function doc comment |
1 | Missing file doc comment |
90 | Missing parameter type |
125 | No space found before comment text; expected "// function xmlsitemap_menu_form_menu_overview_form_alter(&$form, $form_state) {" but found "//function xmlsitemap_menu_form_menu_overview_form_alter(&$form, $form_state) {" |
125 | Inline comments must start with a capital letter |
127 | No space found before comment text; expected "// }" but found "//}" |
129 | No space found before comment text; expected "// function xmlsitemap_menu_menu_overview_form_submit($form, $form_state) {" but found "//function xmlsitemap_menu_menu_overview_form_submit($form, $form_state) {" |
132 | Comment indentation error, expected only 2 spaces |
133 | Comment indentation error, expected only 4 spaces |
137 | There must be no blank line following an inline comment |
137 | No space found before comment text; expected "// }" but found "//}" |
205 | No space found before comment text; expected "// $link += array('xmlsitemap' => array());" but found "//$link += array('xmlsitemap' => array());" |
206 | Line exceeds 80 characters; contains 93 characters |
206 | No space found before comment text; expected "// xmlsitemap_menu_xmlsitemap_process_menu_links(array($link['mlid']), $link['xmlsitemap']);" but found "//xmlsitemap_menu_xmlsitemap_process_menu_links(array($link['mlid']), $link['xmlsitemap']);" |
206 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
235 | Missing parameter type |
xmlsitemap_node/xmlsitemap_node.module ✗ 20 more |
41 | Missing parameter type |
166 | Missing parameter type |
168 | Separate the @param and @return sections by a blank line. |
168 | Return type missing for @return tag in function comment |
190 | Missing parameter type |
229 | Line exceeds 80 characters; contains 86 characters |
230 | No space found before comment text; expected "// $access = &drupal_static('node_access');" but found "//$access = &drupal_static('node_access');" |
231 | No space found before comment text; expected "// unset($access[0][$node->nid]);" but found "//unset($access[0][$node->nid]);" |
232 | There must be no blank line following an inline comment |
232 | No space found before comment text; expected "// node_access_acquire_grants($node);" but found "//node_access_acquire_grants($node);" |
246 | Missing parameter type |
249 | Missing parameter type |
252 | Separate the @param and @return sections by a blank line. |
252 | Return type missing for @return tag in function comment |
255 | Line exceeds 80 characters; contains 81 characters |
255 | Return comment indentation must be 3 spaces, found 1 spaces |
275 | There must be no blank line following an inline comment |
275 | No space found before comment text; expected "// $cid = is_object($node) ? $node->nid : $node;" but found "//$cid = is_object($node) ? $node->nid : $node;" |
275 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
328 | Line exceeds 80 characters; contains 83 characters |
xmlsitemap_node/xmlsitemap_node.test ✗ 20 more |
8 | Missing class doc comment |
9 | Class property $normal_user should use lowerCamel naming without underscores |
12 | Missing function doc comment |
20 | Missing function doc comment |
20 | Visibility must be declared on method "setUp" |
25 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
26 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
27 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
30 | Missing function doc comment |
30 | Visibility must be declared on method "testNodeSettings" |
34 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
47 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
61 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
70 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
76 | Visibility must be declared on method "testTypeSettings" |
102 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
103 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
115 | Visibility must be declared on method "testCron" |
140 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
148 | The closing brace for the class must have an empty line before it |
xmlsitemap_taxonomy/xmlsitemap_taxonomy.module ✗ 6 more |
212 | No space found before comment text; expected "// function xmlsitemap_taxonomy_calculate_term_priority(stdClass $term) {" but found "//function xmlsitemap_taxonomy_calculate_term_priority(stdClass $term) {" |
212 | Inline comments must start with a capital letter |
217 | There must be no blank line following an inline comment |
217 | No space found before comment text; expected "// }" but found "//}" |
217 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
274 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
xmlsitemap_user/xmlsitemap_user.module ✗ 4 more |
1 | Missing file doc comment |
33 | Missing parameter type |
123 | Missing parameter type |
161 | Format should be "* Implements hook_foo().", "* Implements hook_foo_BAR_ID_bar() for xyz_bar().",, "* Implements hook_foo_BAR_ID_bar() for xyz-bar.html.twig.", or "* Implements hook_foo_BAR_ID_bar() for xyz-bar.tpl.php.". |
xmlsitemap_user/xmlsitemap_user.test ✗ 11 more |
8 | Missing class doc comment |
9 | Class property $normal_user should use lowerCamel naming without underscores |
12 | Missing function doc comment |
20 | Missing function doc comment |
20 | Visibility must be declared on method "setUp" |
25 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
27 | Inline comments must end in full-stops, exclamation marks, colons, or question marks |
28 | If the line declaring an array spans longer than 80 characters, each element should be broken into its own line |
36 | Missing function doc comment |
36 | Visibility must be declared on method "testBlockedUser" |
50 | The closing brace for the class must have an empty line before it |