Severity minor, Drupal Commenting Standards, Internationalization, Drupal Security Checks, Drupal SQL Standards, Drupal Coding Standards sites/all/modules/pareview_temp/test_candidate/./sejmometr_api.install: +5: [normal] The $string argument to t() should not begin or end with a space. +321: [normal] Use st() instead of t() in hook_install(), hook_uninstall() and hook_update_N() +337: [normal] Use st() instead of t() in hook_install(), hook_uninstall() and hook_update_N() +354: [normal] Use st() instead of t() in hook_install(), hook_uninstall() and hook_update_N() +371: [normal] Use st() instead of t() in hook_install(), hook_uninstall() and hook_update_N() +387: [normal] Use st() instead of t() in hook_install(), hook_uninstall() and hook_update_N() +404: [normal] Use st() instead of t() in hook_install(), hook_uninstall() and hook_update_N() +445: [normal] The $message argument to watchdog() should NOT be enclosed within t(), so that it can be properly translated at display time. +449: [normal] The $message argument to watchdog() should NOT be enclosed within t(), so that it can be properly translated at display time. Status Messages: Coder found 7 projects, 7 files, 9 normal warnings, 0 warnings were flagged to be ignored FILE: ...eview/sites/all/modules/pareview_temp/test_candidate/sejmometr_api.info -------------------------------------------------------------------------------- FOUND 1 ERROR(S) AFFECTING 1 LINE(S) -------------------------------------------------------------------------------- 12 | ERROR | Files must end in a single new line character -------------------------------------------------------------------------------- FILE: ...ew/sites/all/modules/pareview_temp/test_candidate/sejmometr_api.install -------------------------------------------------------------------------------- FOUND 102 ERROR(S) AND 34 WARNING(S) AFFECTING 104 LINE(S) -------------------------------------------------------------------------------- 2 | ERROR | Missing file doc comment 3 | ERROR | Missing function doc comment 5 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 8 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 10 | WARNING | A comma should follow the last multiline array item. Found: | | TRUE 13 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 16 | WARNING | A comma should follow the last multiline array item. Found: 0 19 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 21 | WARNING | A comma should follow the last multiline array item. Found: | | TRUE 24 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 27 | WARNING | A comma should follow the last multiline array item. Found: 1 29 | ERROR | No space before comment text; expected "// FILTERS" but found | | "//FILTERS" 30 | ERROR | No space before comment text; expected "// MP related docs" | | but found "//MP related docs" 30 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 32 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 35 | WARNING | A comma should follow the last multiline array item. Found: 1 38 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 41 | WARNING | A comma should follow the last multiline array item. Found: 1 43 | ERROR | No space before comment text; expected "// doc types | | http://sejmometr.pl/api/druki (typ_id)" but found "//doc types | | http://sejmometr.pl/api/druki (typ_id)" 43 | ERROR | Inline comments must start with a capital letter 44 | ERROR | No space before comment text; expected "// bill" but found | | "//bill" 46 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 49 | WARNING | A comma should follow the last multiline array item. Found: 1 52 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 55 | WARNING | A comma should follow the last multiline array item. Found: 1 57 | ERROR | No space before comment text; expected "// resolution draft" | | but found "//resolution draft" 57 | ERROR | Inline comments must start with a capital letter 57 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 59 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 62 | WARNING | A comma should follow the last multiline array item. Found: 1 65 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 68 | WARNING | A comma should follow the last multiline array item. Found: 1 70 | ERROR | No space before comment text; expected "// proposal" but found | | "//proposal" 70 | ERROR | Inline comments must start with a capital letter 70 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 72 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 75 | WARNING | A comma should follow the last multiline array item. Found: 1 78 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 81 | WARNING | A comma should follow the last multiline array item. Found: 1 83 | ERROR | No space before comment text; expected "// other document" but | | found "//other document" 83 | ERROR | Inline comments must start with a capital letter 83 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 85 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 88 | WARNING | A comma should follow the last multiline array item. Found: 1 91 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 94 | WARNING | A comma should follow the last multiline array item. Found: 1 96 | ERROR | No space before comment text; expected "// ratifications" but | | found "//ratifications" 96 | ERROR | Inline comments must start with a capital letter 96 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 98 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 101 | WARNING | A comma should follow the last multiline array item. Found: 1 104 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 107 | WARNING | A comma should follow the last multiline array item. Found: 1 109 | ERROR | No space before comment text; expected "// commision report" | | but found "//commision report" 109 | ERROR | Inline comments must start with a capital letter 109 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 111 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 114 | WARNING | A comma should follow the last multiline array item. Found: 1 117 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 120 | WARNING | A comma should follow the last multiline array item. Found: 1 122 | ERROR | No space before comment text; expected "// position of a | | senate" but found "//position of a senate" 122 | ERROR | Inline comments must start with a capital letter 122 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 124 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 127 | WARNING | A comma should follow the last multiline array item. Found: 1 130 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 133 | WARNING | A comma should follow the last multiline array item. Found: 1 135 | ERROR | No space before comment text; expected "// additional | | commision report" but found "//additional commision report" 135 | ERROR | Inline comments must start with a capital letter 135 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 137 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 140 | WARNING | A comma should follow the last multiline array item. Found: 1 143 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 146 | WARNING | A comma should follow the last multiline array item. Found: 1 148 | ERROR | No space before comment text; expected "// author filters" but | | found "//author filters" 148 | ERROR | Inline comments must start with a capital letter 148 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 150 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 153 | WARNING | A comma should follow the last multiline array item. Found: 1 156 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 159 | WARNING | A comma should follow the last multiline array item. Found: 1 162 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 165 | WARNING | A comma should follow the last multiline array item. Found: 1 168 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 171 | WARNING | A comma should follow the last multiline array item. Found: 1 174 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 177 | WARNING | A comma should follow the last multiline array item. Found: 1 180 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 183 | WARNING | A comma should follow the last multiline array item. Found: 1 186 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 189 | WARNING | A comma should follow the last multiline array item. Found: 1 191 | ERROR | No space before comment text; expected "// on uninstall" but | | found "//on uninstall" 191 | ERROR | Inline comments must start with a capital letter 191 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 193 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 196 | WARNING | A comma should follow the last multiline array item. Found: 0 199 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 202 | WARNING | A comma should follow the last multiline array item. Found: 0 205 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 208 | WARNING | A comma should follow the last multiline array item. Found: 0 211 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 214 | WARNING | A comma should follow the last multiline array item. Found: 0 217 | ERROR | Do not use t() in hook_schema(), this will only generate | | overhead for translators 220 | WARNING | A comma should follow the last multiline array item. Found: 0 227 | ERROR | You must use "/**" style comments for a function comment 229 | ERROR | No space before comment text; expected "// insert initial | | config settings" but found "//insert initial config settings" 229 | ERROR | Inline comments must start with a capital letter 229 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 304 | ERROR | No space before comment text; expected "// import content | | types" but found "//import content types" 304 | ERROR | Inline comments must start with a capital letter 304 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 304 | ERROR | There must be no blank line following an inline comment 311 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 327 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 344 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 361 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 377 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 394 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 408 | ERROR | You must use "/**" style comments for a function comment 410 | ERROR | No space before comment text; expected "// basically | | node_delete without set_message call" but found "//basically | | node_delete without set_message call" 410 | ERROR | Inline comments must start with a capital letter 435 | ERROR | You must use "/**" style comments for a function comment 438 | ERROR | No space before comment text; expected "// fetch the nodes we | | want to delete" but found "//fetch the nodes we want to | | delete" 438 | ERROR | Inline comments must start with a capital letter 438 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 445 | ERROR | Concatenating translatable strings is not allowed, use | | placeholders instead and only one string literal 449 | ERROR | Concatenating translatable strings is not allowed, use | | placeholders instead and only one string literal 452 | ERROR | You must use "/**" style comments for a function comment 453 | ERROR | No space before comment text; expected "// get config" but | | found "//get config" 453 | ERROR | Inline comments must start with a capital letter 453 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 456 | ERROR | No space before comment text; expected "// remove content if | | desired" but found "//remove content if desired" 456 | ERROR | Inline comments must start with a capital letter 456 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 477 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 479 | ERROR | Files must end in a single new line character -------------------------------------------------------------------------------- FILE: ...iew/sites/all/modules/pareview_temp/test_candidate/sejmometr_api.module -------------------------------------------------------------------------------- FOUND 137 ERROR(S) AND 5 WARNING(S) AFFECTING 64 LINE(S) -------------------------------------------------------------------------------- 2 | ERROR | Missing file doc comment 4 | WARNING | Format should be "* Implements hook_foo()." or "Implements | | hook_foo_BAR_ID_bar() for xyz_bar()." 11 | WARNING | Format should be "* Implements hook_foo()." or "Implements | | hook_foo_BAR_ID_bar() for xyz_bar()." 26 | ERROR | Missing function doc comment 32 | ERROR | Missing function doc comment 308 | ERROR | Missing function doc comment 424 | ERROR | Missing function doc comment 465 | ERROR | Missing function doc comment 467 | ERROR | Line indented incorrectly; expected at least 2 spaces, found 0 467 | ERROR | No space before comment text; expected "// get ids" but found | | "//get ids" 467 | ERROR | Inline comments must start with a capital letter 467 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 470 | ERROR | No space before comment text; expected "// decode json" but | | found "//decode json" 470 | ERROR | Inline comments must start with a capital letter 470 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 473 | ERROR | No space before comment text; expected "// get info" but found | | "//get info" 473 | ERROR | Inline comments must start with a capital letter 473 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 478 | ERROR | No space before comment text; expected "// iterate and update | | node if exists, otherwise create new node" but found | | "//iterate and update node if exists, otherwise create new | | node" 478 | ERROR | Inline comments must start with a capital letter 478 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 481 | WARNING | A comma should follow the last multiline array item. Found: } 496 | ERROR | No space before comment text; expected "// well update" but | | found "//well update" 496 | ERROR | Inline comments must start with a capital letter 496 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 509 | ERROR | No space before comment text; expected "// move to next one" | | but found "//move to next one" 509 | ERROR | Inline comments must start with a capital letter 509 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 524 | ERROR | You must use "/**" style comments for a function comment 526 | ERROR | No space before comment text; expected "// get ids" but found | | "//get ids" 526 | ERROR | Inline comments must start with a capital letter 526 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 529 | ERROR | No space before comment text; expected "// decode json" but | | found "//decode json" 529 | ERROR | Inline comments must start with a capital letter 529 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 532 | ERROR | No space before comment text; expected "// get info" but found | | "//get info" 532 | ERROR | Inline comments must start with a capital letter 532 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 537 | ERROR | No space before comment text; expected "// iterate and update | | node if exists, otherwise create new node" but found | | "//iterate and update node if exists, otherwise create new | | node" 537 | ERROR | Inline comments must start with a capital letter 537 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 540 | WARNING | A comma should follow the last multiline array item. Found: } 573 | ERROR | No space before comment text; expected "// check if klub_id | | has changed" but found "//check if klub_id has changed" 573 | ERROR | Inline comments must start with a capital letter 573 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 583 | ERROR | No space before comment text; expected "// nothing to do, go | | to next one" but found "//nothing to do, go to next one" 583 | ERROR | Inline comments must start with a capital letter 583 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 596 | ERROR | No space before comment text; expected "// check for related | | docs" but found "//check for related docs" 596 | ERROR | Inline comments must start with a capital letter 596 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 610 | ERROR | You must use "/**" style comments for a function comment 620 | ERROR | Use "elseif" in place of "else if" 627 | ERROR | No space before comment text; expected "// decode json" but | | found "//decode json" 627 | ERROR | Inline comments must start with a capital letter 627 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 630 | ERROR | No space before comment text; expected "// we'll use mp name | | and date" but found "//we'll use mp name and date" 631 | ERROR | No space before comment text; expected "// get mp data" but | | found "//get mp data" 631 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 643 | ERROR | No space before comment text; expected "// create new node" | | but found "//create new node" 643 | ERROR | Inline comments must start with a capital letter 643 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 652 | ERROR | No space before comment text; expected "// get doc" but found | | "//get doc" 652 | ERROR | Inline comments must start with a capital letter 652 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 654 | ERROR | No space before comment text; expected "// decode json" but | | found "//decode json" 654 | ERROR | Inline comments must start with a capital letter 654 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 665 | ERROR | No space before comment text; expected "// create node" but | | found "//create node" 665 | ERROR | Inline comments must start with a capital letter 665 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 668 | ERROR | Concatenating translatable strings is not allowed, use | | placeholders instead and only one string literal 671 | ERROR | Concatenating translatable strings is not allowed, use | | placeholders instead and only one string literal 677 | ERROR | You must use "/**" style comments for a function comment 682 | ERROR | No space before comment text; expected "// get config" but | | found "//get config" 682 | ERROR | Inline comments must start with a capital letter 682 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 685 | ERROR | No space before comment text; expected "// get ids" but found | | "//get ids" 685 | ERROR | Inline comments must start with a capital letter 685 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 687 | ERROR | No space before comment text; expected "// decode json" but | | found "//decode json" 687 | ERROR | Inline comments must start with a capital letter 687 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 690 | ERROR | No space before comment text; expected "// get info - iterate | | trough id's" but found "//get info - iterate trough id's" 690 | ERROR | Inline comments must start with a capital letter 696 | ERROR | No space before comment text; expected "// skip already added | | docs" but found "//skip already added docs" 696 | ERROR | Inline comments must start with a capital letter 696 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 701 | ERROR | No space before comment text; expected "// get doc info" but | | found "//get doc info" 701 | ERROR | Inline comments must start with a capital letter 701 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 705 | ERROR | No space before comment text; expected "// apply filters" but | | found "//apply filters" 705 | ERROR | Inline comments must start with a capital letter 705 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 708 | ERROR | No space before comment text; expected "// Horrible. Must find | | nicer way to do it" but found "//Horrible. Must find nicer way | | to do it" 708 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 714 | ERROR | No space before comment text; expected "// go to next doc" but | | found "//go to next doc" 714 | ERROR | Inline comments must start with a capital letter 714 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 718 | ERROR | No space before comment text; expected "// iterate and update | | nodes if exists, otherwise create new node" but found | | "//iterate and update nodes if exists, otherwise create new | | node" 718 | ERROR | Inline comments must start with a capital letter 718 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 721 | WARNING | A comma should follow the last multiline array item. Found: | | $doc 728 | ERROR | No space before comment text; expected "// create new node - | | type sejmometr_doc" but found "//create new node - type | | sejmometr_doc" 728 | ERROR | Inline comments must start with a capital letter 737 | ERROR | No space before comment text; expected "// type" but found | | "//type" 737 | ERROR | Inline comments must start with a capital letter 737 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 787 | ERROR | No space before comment text; expected "// authors" but found | | "//authors" 787 | ERROR | Inline comments must start with a capital letter 787 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 810 | ERROR | No space before comment text; expected "// get doc info (links | | to original)" but found "//get doc info (links to original)" 810 | ERROR | Inline comments must start with a capital letter 826 | ERROR | No space before comment text; expected "// update last id" but | | found "//update last id" 826 | ERROR | Inline comments must start with a capital letter 826 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 837 | ERROR | You must use "/**" style comments for a function comment 838 | ERROR | No space before comment text; expected "// get ids" but found | | "//get ids" 838 | ERROR | Inline comments must start with a capital letter 838 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 840 | ERROR | No space before comment text; expected "// decode json" but | | found "//decode json" 840 | ERROR | Inline comments must start with a capital letter 840 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 843 | ERROR | No space before comment text; expected "// get info - iterate | | trough id's" but found "//get info - iterate trough id's" 843 | ERROR | Inline comments must start with a capital letter 846 | ERROR | Expected "if (...) {\n"; found "if(...){\n" 849 | ERROR | No space before comment text; expected "// get session info" | | but found "//get session info" 849 | ERROR | Inline comments must start with a capital letter 849 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 851 | ERROR | No space before comment text; expected "// check if session | | already exists" but found "//check if session already exists" 851 | ERROR | Inline comments must start with a capital letter 851 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 853 | ERROR | No space before comment text; expected "// create new node - | | type sejmometr_session" but found "//create new node - type | | sejmometr_session" 853 | ERROR | Inline comments must start with a capital letter 868 | ERROR | You must use "/**" style comments for a function comment 874 | ERROR | No space before comment text; expected "// get config" but | | found "//get config" 874 | ERROR | Inline comments must start with a capital letter 874 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 883 | ERROR | No space before comment text; expected "// run if any type of | | document is selected" but found "//run if any type of document | | is selected" 883 | ERROR | Inline comments must start with a capital letter 883 | ERROR | Inline comments must end in full-stops, exclamation marks, or | | question marks 887 | ERROR | Files must end in a single new line character --------------------------------------------------------------------------------