Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(1032 errors, 169 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]

blocks/quickmail/admin_email.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) "require_once" must be immediately followed by an open parenthesis
(#26) "require_once" must be immediately followed by an open parenthesis
(#27) "require_once" must be immediately followed by an open parenthesis
(#28) "require_once" must be immediately followed by an open parenthesis
(#29) "require_once" must be immediately followed by an open parenthesis
(#30) "require_once" must be immediately followed by an open parenthesis
(#31) "require_once" must be immediately followed by an open parenthesis
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Expected "if (...) {\n"; found "if(...) {\n"
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Expected 1 space before "=>"; 0 found
(#51) Expected 1 space after "=>"; 0 found
(#51) Expected 1 space before "=>"; 0 found
(#51) Expected 1 space after "=>"; 0 found
(#51) Expected 1 space before "=>"; 0 found
(#51) Expected 1 space after "=>"; 0 found
(#61) Expected "if (...) {\n"; found "if(...){\n"
(#62) Variable "log_message" must not contain underscores.
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Expected "if (...) {\n"; found "if(...) {\n"
(#64) Variable "log_message" must not contain underscores.
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Variable "log_message" must not contain underscores.
(#67) Line indented incorrectly; expected 12 spaces, found 8
(#67) Expected "if (...) {\n"; found "if (...){\n"
(#69) Closing brace indented incorrectly; expected 8 spaces, found 12
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Whitespace found at end of line
(#107) Expected "if (...) {\n"; found "if(...){\n"
(#108) Variable "log_message" must not contain underscores.
(#111) Variable "display_users" must not contain underscores.
(#112) Expected 1 space before "*"; 0 found
(#112) Expected 1 space after "*"; 0 found
(#112) Whitespace found at end of line
(#116) Whitespace found at end of line
(#119) Variable "editor_options" must not contain underscores.
(#128) Variable "editor_options" must not contain underscores.
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Inline comments must start with a capital letter, digit or 3-dots sequence
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Commas (,) must be followed by white space.
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Expected "if (...) {\n"; found "if(...) {\n"
(#157) Expected "if (...) {\n"; found "if(...) {\n"
(#160) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#162) Whitespace found at end of line
(#163) Expected "} else {\n"; found "} \n else{\n"
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Expected "if (...) {\n"; found "if(...) {\n"
(#172) Variable "log_message" must not contain underscores.
(#173) Variable "log_message" must not contain underscores.
(#174) Variable "log_message" must not contain underscores.
(#175) Variable "log_message" must not contain underscores.
(#175) Variable "editor_options" must not contain underscores.
(#175) Variable "log_message" must not contain underscores.
(#177) Expected "} else {\n"; found "}else{\n"
(#178) Variable "log_message" must not contain underscores.
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) Expected "if (...) {\n"; found "if(...) {\n"
(#187) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Whitespace found at end of line
(#193) Expected "if (...) {\n"; found "if(...){\n"
(#198) Variable "paging_bar" must not contain underscores.
(#207) Expected "if (...) {\n"; found "if(...) {\n"
(#211) Variable "paging_bar" must not contain underscores.
(#213) Expected "if (...) {\n"; found "if(...) {\n"
(#213) Variable "display_users" must not contain underscores.
(#215) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#222) Whitespace found at end of line
(#227) Variable "lastaccess_time" must not contain underscores.
(#227) Whitespace found at end of line
(#229) Variable "lastaccess_time" must not contain underscores.
(#230) Variable "display_users" must not contain underscores.
(#234) Inline comments must start with a capital letter, digit or 3-dots sequence
(#235) Variable "log_message" must not contain underscores.
(#237) Inline comments must start with a capital letter, digit or 3-dots sequence
(#238) Variable "log_message" must not contain underscores.
(#240) Variable "paging_bar" must not contain underscores.
blocks/quickmail/admin_email_form.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#24) "require_once" must be immediately followed by an open parenthesis
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Visibility must be declared on method "definition"
(#34) Whitespace found at end of line
(#38) Line exceeds 132 characters; contains 139 characters
(#52) Visibility must be declared on method "validation"
(#54) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#55) Inline control structures are not allowed
blocks/quickmail/alt_form.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#24) "require_once" must be immediately followed by an open parenthesis
(#27) Visibility must be declared on method "definition"
(#38) Commas (,) must be followed by white space.
(#39) Whitespace found at end of line
(#41) Commas (,) must be followed by white space.
(#42) Whitespace found at end of line
(#44) Commas (,) must be followed by white space.
(#45) Whitespace found at end of line
(#47) Commas (,) must be followed by white space.
blocks/quickmail/alt_lib.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
(#59) Variable "confirm_url" must not contain underscores.
(#63) Variable "cancel_url" must not contain underscores.
(#65) Variable "confirm_url" must not contain underscores.
(#65) Variable "cancel_url" must not contain underscores.
(#91) Variable "back_url" must not contain underscores.
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Variable "back_url" must not contain underscores.
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Variable "back_url" must not contain underscores.
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Variable "approval_url" must not contain underscores.
(#141) Variable "approval_url" must not contain underscores.
(#141) Variable "approval_url" must not contain underscores.
(#147) Variable "html_body" must not contain underscores.
(#148) Variable "html_body" must not contain underscores.
(#150) Inline comments must end in full-stops, exclamation marks, or question marks
(#156) Variable "html_body" must not contain underscores.
(#163) Expected 1 space before "=>"; 0 found
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#228) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) Variable "form_field" must not contain underscores.
(#231) Variable "form_field" must not contain underscores.
(#233) Variable "form_field" must not contain underscores.
(#241) Variable "new_url" must not contain underscores.
(#246) Variable "new_url" must not contain underscores.
(#265) Variable "edit_url" must not contain underscores.
(#269) Variable "edit_url" must not contain underscores.
(#271) Variable "delete_url" must not contain underscores.
(#275) Variable "delete_url" must not contain underscores.
(#286) Variable "new_link" must not contain underscores.
(#286) Variable "new_url" must not contain underscores.
(#288) Variable "new_link" must not contain underscores.
blocks/quickmail/alternate.php
(#24) "require_once" must be immediately followed by an open parenthesis
(#25) "require_once" must be immediately followed by an open parenthesis
(#26) "require_once" must be immediately followed by an open parenthesis
(#27) "require_once" must be immediately followed by an open parenthesis
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/quickmail/backup/moodle2/backup_quickmail_block_task.class.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#24) "require_once" must be immediately followed by an open parenthesis
(#28) Variable "include_history" must not contain underscores.
(#28) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#29) Variable "include_history" must not contain underscores.
(#30) Variable "include_history" must not contain underscores.
(#32) Variable "include_history" must not contain underscores.
(#33) Variable "include_history" must not contain underscores.
(#35) Variable "include_config_settings" must not contain underscores.
(#36) Variable "include_config_settings" must not contain underscores.
(#37) Variable "include_config_settings" must not contain underscores.
(#39) Variable "include_config_settings" must not contain underscores.
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/quickmail/backup/moodle2/backup_quickmail_stepslib.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) No space found before comment text; expected "// LOGS" but found "//LOGS"
(#31) Variable "quickmail_logs" must not contain underscores.
(#32) Variable "include_history" must not contain underscores.
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Whitespace found at end of line
(#38) Variable "paramsTwo" must be all lower-case
(#39) Variable "quickmail_block_level_settings" must not contain underscores.
(#39) Variable "paramsTwo" must be all lower-case
(#40) Variable "include_config" must not contain underscores.
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) No space found before comment text; expected "// LOGS" but found "//LOGS"
(#43) Variable "backup_logs_and_settings" must not contain underscores.
(#47) Commas (,) must be followed by white space.
(#47) Commas (,) must be followed by white space.
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Variable "quickmail_settings" must not contain underscores.
(#54) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#56) Variable "backup_logs_and_settings" must not contain underscores.
(#58) Variable "backup_logs_and_settings" must not contain underscores.
(#58) Variable "quickmail_settings" must not contain underscores.
(#60) Variable "backup_logs_and_settings" must not contain underscores.
(#62) Variable "quickmail_logs" must not contain underscores.
(#62) Variable "include_history" must not contain underscores.
(#69) Variable "quickmail_block_level_settings" must not contain underscores.
(#69) Variable "include_config" must not contain underscores.
(#70) Variable "quickmail_settings" must not contain underscores.
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) This comment is 86% valid code; is this commented out code?
(#77) No space found before comment text; expected "// $quickmail_settings->annotate_ids('setting');" but found "//$quickmail_settings->annotate_ids('setting');"
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) This comment is 69% valid code; is this commented out code?
(#83) Variable "backup_logs_and_settings" must not contain underscores.
blocks/quickmail/backup/moodle2/restore_quickmail_block_task.class.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#24) "require_once" must be immediately followed by an open parenthesis
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Variable "is_blocks" must not contain underscores.
(#55) Variable "is_users" must not contain underscores.
(#57) Variable "is_blocks" must not contain underscores.
(#57) Variable "is_users" must not contain underscores.
(#62) Variable "restore_history" must not contain underscores.
(#64) Variable "restore_history" must not contain underscores.
(#65) Variable "restore_history" must not contain underscores.
(#70) Variable "restore_history" must not contain underscores.
(#71) Variable "restore_history" must not contain underscores.
(#72) Variable "restore_history" must not contain underscores.
(#75) Variable "restore_history" must not contain underscores.
(#76) Variable "restore_history" must not contain underscores.
(#77) Variable "restore_history" must not contain underscores.
(#79) Variable "overwrite_history" must not contain underscores.
(#80) Variable "overwrite_history" must not contain underscores.
(#81) Variable "overwrite_history" must not contain underscores.
(#88) Variable "overwrite_history" must not contain underscores.
(#89) Variable "overwrite_history" must not contain underscores.
(#92) Variable "overwrite_history" must not contain underscores.
(#93) Variable "restore_history" must not contain underscores.
(#93) Variable "overwrite_history" must not contain underscores.
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/quickmail/backup/moodle2/restore_quickmail_stepslib.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Variable "current_context" must not contain underscores.
(#57) Variable "current_context" must not contain underscores.
(#63) Variable "current_context" must not contain underscores.
(#67) Expected "if (...) {\n"; found "if(...){\n"
(#68) Variable "block_level_setting" must not contain underscores.
(#69) Variable "block_level_setting" must not contain underscores.
(#75) Variable "block_level_setting" must not contain underscores.
(#77) Expected "if (...) {\n"; found "if(...){\n"
(#77) Variable "block_level_setting" must not contain underscores.
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) This comment is 72% valid code; is this commented out code?
(#78) No space found before comment text; expected "// quickmail::default_config($courseid);" but found "//quickmail::default_config($courseid);"
(#81) Variable "block_level_setting" must not contain underscores.
(#82) Variable "block_level_setting" must not contain underscores.
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/quickmail/block_quickmail.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) Visibility must be declared on method "init"
(#31) Visibility must be declared on method "applicable_formats"
(#33) Expected "if (...) {\n"; found "if(...) {\n"
(#39) Visibility must be declared on method "has_config"
(#46) Visibility must be declared on method "instance_allow_multiple"
(#49) Whitespace found at end of line
(#50) Visibility must be declared on method "get_content"
(#53) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#67) Variable "can_send" must not contain underscores.
(#69) Variable "icon_class" must not contain underscores.
(#73) Variable "can_send" must not contain underscores.
(#74) Variable "send_email_str" must not contain underscores.
(#75) Variable "send_email_str" must not contain underscores.
(#75) Variable "icon_class" must not contain underscores.
(#76) Variable "send_email" must not contain underscores.
(#78) Variable "send_email_str" must not contain underscores.
(#80) Variable "send_email" must not contain underscores.
(#82) Variable "signature_str" must not contain underscores.
(#83) Variable "signature_str" must not contain underscores.
(#83) Variable "icon_class" must not contain underscores.
(#86) Variable "signature_str" must not contain underscores.
(#90) Variable "draft_params" must not contain underscores.
(#91) Variable "drafts_email_str" must not contain underscores.
(#92) Variable "drafts_email_str" must not contain underscores.
(#92) Variable "icon_class" must not contain underscores.
(#94) Variable "draft_params" must not contain underscores.
(#95) Variable "drafts_email_str" must not contain underscores.
(#99) Variable "history_str" must not contain underscores.
(#100) Variable "history_str" must not contain underscores.
(#100) Variable "icon_class" must not contain underscores.
(#103) Variable "history_str" must not contain underscores.
(#108) Variable "alt_str" must not contain underscores.
(#109) Variable "alt_str" must not contain underscores.
(#109) Variable "icon_class" must not contain underscores.
(#112) Variable "alt_str" must not contain underscores.
(#117) Whitespace found at end of line
(#119) Line indented incorrectly; expected at least 16 spaces, found 12
(#119) Variable "config_str" must not contain underscores.
(#120) Line indented incorrectly; expected at least 16 spaces, found 12
(#120) Variable "config_str" must not contain underscores.
(#120) Variable "icon_class" must not contain underscores.
(#121) Line indented incorrectly; expected at least 16 spaces, found 12
(#123) Variable "config_str" must not contain underscores.
(#124) Line indented incorrectly; expected at least 16 spaces, found 12
(#125) Line indented incorrectly; expected at least 16 spaces, found 12
(#126) Line indented incorrectly; expected 12 spaces, found 8
(#126) Closing brace indented incorrectly; expected 12 spaces, found 8
(#127) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#131) Expected "if (...) {\n"; found "if(...) {\n"
(#131) Line exceeds 132 characters; contains 143 characters
(#132) Variable "send_adminemail_str" must not contain underscores.
(#133) Variable "send_adminemail_str" must not contain underscores.
(#133) Variable "icon_class" must not contain underscores.
(#134) Variable "send_adminemail" must not contain underscores.
(#136) Variable "send_adminemail_str" must not contain underscores.
(#138) Variable "send_adminemail" must not contain underscores.
(#139) Whitespace found at end of line
(#141) Variable "history_str" must not contain underscores.
(#142) Variable "history_str" must not contain underscores.
(#142) Variable "icon_class" must not contain underscores.
(#145) Variable "history_str" must not contain underscores.
(#149) Functions must not contain multiple empty lines in a row; found 2 empty lines
blocks/quickmail/classes/event/alternate_email_added.php
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) This comment is 48% valid code; is this commented out code?
(#37) Whitespace found at end of line
(#43) Whitespace found at end of line
(#46) Whitespace found at end of line
(#53) Whitespace found at end of line
(#56) Whitespace found at end of line
(#64) Whitespace found at end of line
(#67) Whitespace found at end of line
blocks/quickmail/classes/message.php
(#24) Inline comments must start with a capital letter, digit or 3-dots sequence
(#24) No space found before comment text; expected "// library functions for the admin email part of quickmail." but found "//library functions for the admin email part of quickmail."
(#24) Whitespace found at end of line
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
(#28) Scope keyword "public" must be followed by a single space
(#35) Member variable "sentUsers" must be all lower-case
(#37) Member variable "startTime" must be all lower-case
(#38) Member variable "endTime" must be all lower-case
(#39) Whitespace found at end of line
(#46) Expected 1 space after closing parenthesis; found 0
(#58) Whitespace found at end of line
(#59) Whitespace found at end of line
(#64) Expected 1 space after closing parenthesis; found 0
(#65) Whitespace found at end of line
(#69) Variable "noreplyUser" must be all lower-case
(#70) Variable "noreplyUser" must be all lower-case
(#71) Variable "noreplyUser" must be all lower-case
(#72) Variable "noreplyUser" must be all lower-case
(#73) Variable "noreplyUser" must be all lower-case
(#74) Variable "noreplyUser" must be all lower-case
(#75) Variable "noreplyUser" must be all lower-case
(#76) Variable "noreplyUser" must be all lower-case
(#77) Variable "noreplyUser" must be all lower-case
(#78) Variable "noreplyUser" must be all lower-case
(#79) Expected "if (...) {\n"; found "if(...){\n"
(#82) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) Variable "noreplyUser" must be all lower-case
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Expected "if (...) {\n"; found "if(...){\n"
(#96) Whitespace found at end of line
(#100) Expected "} else {\n"; found "}\n else{\n"
(#104) Whitespace found at end of line
(#106) Whitespace found at end of line
(#113) Whitespace found at end of line
(#114) Public method name "Message::buildAdminReceipt" must be in lower-case letters only
(#114) Expected 1 space after closing parenthesis; found 0
(#116) Variable "adminIds" must be all lower-case
(#116) Commas (,) must be followed by white space.
(#117) Commas (,) must be followed by white space.
(#117) Variable "adminIds" must be all lower-case
(#119) Variable "usersLine" must be all lower-case
(#119) Line exceeds 132 characters; contains 136 characters
(#119) Whitespace found at end of line
(#120) Variable "timeLine" must be all lower-case
(#120) Line exceeds 132 characters; contains 146 characters
(#120) Whitespace found at end of line
(#122) Variable "msgLine" must be all lower-case
(#123) Expected "if (...) {\n"; found "if(...) {\n"
(#124) Variable "recipLine" must be all lower-case
(#124) Line exceeds 132 characters; contains 139 characters
(#126) Variable "recipLine" must be all lower-case
(#128) Variable "usersLine" must be all lower-case
(#128) Variable "timeLine" must be all lower-case
(#128) Variable "msgLine" must be all lower-case
(#128) Variable "recipLine" must be all lower-case
(#134) Public method name "Message::sendAdminReceipt" must be in lower-case letters only
(#134) Expected 1 space after closing parenthesis; found 0
blocks/quickmail/config_qm.php
(#24) "require_once" must be immediately followed by an open parenthesis
(#25) "require_once" must be immediately followed by an open parenthesis
(#26) "require_once" must be immediately followed by an open parenthesis
blocks/quickmail/config_qm_form.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#24) "require_once" must be immediately followed by an open parenthesis
(#30) Variable "reset_link" must not contain underscores.
(#36) Variable "reset_link" must not contain underscores.
(#38) Variable "student_select" must not contain underscores.
(#45) Variable "student_select" must not contain underscores.
(#63) Variable "student_select" must not contain underscores.
(#66) Whitespace found at end of line
(#68) Commas (,) must be followed by white space.
blocks/quickmail/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#5) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/quickmail/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion
(#10) Inline comments must end in full-stops, exclamation marks, or question marks
(#12) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#19) Inline comments must end in full-stops, exclamation marks, or question marks
(#23) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) Inline comments must start with a capital letter, digit or 3-dots sequence
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) Spaces must be used to indent lines; tabs are not allowed
(#162) Tab found within whitespace
(#162) Line indented incorrectly; expected at least 8 spaces, found 5
(#164) Whitespace found at end of line
(#165) Expected "if (...) {\n"; found "if(...){\n"
(#178) Spaces must be used to indent lines; tabs are not allowed
(#178) Tab found within whitespace
(#178) Line indented incorrectly; expected at least 8 spaces, found 1
(#184) Spaces must be used to indent lines; tabs are not allowed
(#184) Tab found within whitespace
(#184) Line indented incorrectly; expected 8 spaces, found 1
(#186) Closing brace indented incorrectly; expected 1 spaces, found 8
(#187) Whitespace found at end of line
(#196) Whitespace found at end of line
(#196) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#197) Whitespace found at end of line
blocks/quickmail/db/upgradelib.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#5) Whitespace found at end of line
(#6) Whitespace found at end of line
(#15) Expected MOODLE_INTERNAL check or config.php inclusion
(#15) Expected 1 space after closing parenthesis; found 0
(#16) Spaces must be used to indent lines; tabs are not allowed
(#16) Tab found within whitespace
(#16) Line indented incorrectly; expected at least 4 spaces, found 1
(#17) Spaces must be used to indent lines; tabs are not allowed
(#17) Tab found within whitespace
(#17) Inline comments must start with a capital letter, digit or 3-dots sequence
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#17) Line indented incorrectly; expected at least 4 spaces, found 1
(#17) No space found before comment text; expected "// migration of attachments" but found "//migration of attachments"
(#18) Spaces must be used to indent lines; tabs are not allowed
(#18) Tab found within whitespace
(#18) Line indented incorrectly; expected at least 4 spaces, found 1
(#19) Spaces must be used to indent lines; tabs are not allowed
(#19) Tab found within whitespace
(#19) Line indented incorrectly; expected at least 4 spaces, found 1
(#19) Variable "quickmail_log_records" must not contain underscores.
(#19) Expected 1 space before "="; 0 found
(#19) Expected 1 space after "="; 0 found
(#19) Commas (,) must be followed by white space.
(#20) Spaces must be used to indent lines; tabs are not allowed
(#20) Tab found within whitespace
(#20) Line indented incorrectly; expected 4 spaces, found 1
(#20) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#20) Variable "quickmail_log_records" must not contain underscores.
(#20) Variable "quickmail_log_record" must not contain underscores.
(#21) Spaces must be used to indent lines; tabs are not allowed
(#21) Tab found within whitespace
(#21) Inline comments must start with a capital letter, digit or 3-dots sequence
(#21) Line indented incorrectly; expected at least 8 spaces, found 2
(#21) No space found before comment text; expected "// searching file into mdl_files" but found "//searching file into mdl_files"
(#22) Spaces must be used to indent lines; tabs are not allowed
(#22) Tab found within whitespace
(#22) Inline comments must end in full-stops, exclamation marks, or question marks
(#22) Line indented incorrectly; expected at least 8 spaces, found 2
(#22) No space found before comment text; expected "// analysing attachment content" but found "//analysing attachment content"
(#23) Spaces must be used to indent lines; tabs are not allowed
(#23) Tab found within whitespace
(#23) Line indented incorrectly; expected at least 8 spaces, found 2
(#23) Expected 1 space before "="; 0 found
(#23) Expected 1 space after "="; 0 found
(#23) Variable "quickmail_log_record" must not contain underscores.
(#24) Spaces must be used to indent lines; tabs are not allowed
(#24) Tab found within whitespace
(#24) Line indented incorrectly; expected at least 8 spaces, found 2
(#24) Expected 1 space before "="; 0 found
(#24) Expected 1 space after "="; 0 found
(#25) Spaces must be used to indent lines; tabs are not allowed
(#25) Tab found within whitespace
(#25) Line indented incorrectly; expected at least 8 spaces, found 2
(#25) Expected 1 space before "="; 0 found
(#25) Expected 1 space after "="; 0 found
(#25) Variable "quickmail_log_record" must not contain underscores.
(#25) Commas (,) must be followed by white space.
(#25) Spaces must be used for alignment; tabs are not allowed
(#25) Tab found within whitespace
(#25) Whitespace found at end of line
(#26) Spaces must be used for alignment; tabs are not allowed
(#26) Tab found within whitespace
(#26) Line indented incorrectly; expected 8 spaces, found 2
(#26) Expected "if (...) {\n"; found "if(...){\n"
(#27) Spaces must be used for alignment; tabs are not allowed
(#27) Tab found within whitespace
(#27) Line indented incorrectly; expected at least 12 spaces, found 3
(#27) Expected 1 space before "="; 0 found
(#27) Expected 1 space after "="; 0 found
(#27) Variable "quickmail_log_record" must not contain underscores.
(#27) Commas (,) must be followed by white space.
(#27) Variable "quickmail_log_record" must not contain underscores.
(#27) Commas (,) must be followed by white space.
(#27) Expected 1 space before "+"; 0 found
(#27) Expected 1 space after "+"; 0 found
(#28) Spaces must be used for alignment; tabs are not allowed
(#28) Tab found within whitespace
(#28) Line indented incorrectly; expected at least 12 spaces, found 3
(#28) Expected 1 space before "="; 0 found
(#28) Expected 1 space after "="; 0 found
(#28) Variable "quickmail_log_record" must not contain underscores.
(#28) Commas (,) must be followed by white space.
(#28) Commas (,) must be followed by white space.
(#28) Variable "quickmail_log_record" must not contain underscores.
(#28) Commas (,) must be followed by white space.
(#28) Commas (,) must be followed by white space.
(#28) Expected 1 space before "+"; 0 found
(#28) Expected 1 space after "+"; 0 found
(#29) Spaces must be used for alignment; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected 8 spaces, found 2
(#29) Expected "} else {\n"; found "}else{\n"
(#30) Spaces must be used for alignment; tabs are not allowed
(#30) Tab found within whitespace
(#30) Line indented incorrectly; expected at least 12 spaces, found 3
(#30) Expected 1 space before "="; 0 found
(#30) Expected 1 space after "="; 0 found
(#31) Spaces must be used for alignment; tabs are not allowed
(#31) Tab found within whitespace
(#31) Line indented incorrectly; expected at least 12 spaces, found 3
(#31) Expected 1 space before "="; 0 found
(#31) Expected 1 space after "="; 0 found
(#31) Variable "quickmail_log_record" must not contain underscores.
(#32) Spaces must be used for alignment; tabs are not allowed
(#32) Tab found within whitespace
(#32) Line indented incorrectly; expected 8 spaces, found 2
(#33) Spaces must be used for alignment; tabs are not allowed
(#33) Tab found within whitespace
(#33) Line indented incorrectly; expected at least 8 spaces, found 2
(#34) Variable "quickmail_log_record" must not contain underscores.
(#36) Spaces must be used for alignment; tabs are not allowed
(#36) Tab found within whitespace
(#36) Line indented incorrectly; expected at least 8 spaces, found 2
(#36) Expected 1 space before "="; 0 found
(#36) Expected 1 space after "="; 0 found
(#37) Spaces must be used for alignment; tabs are not allowed
(#37) Tab found within whitespace
(#37) Line indented incorrectly; expected 8 spaces, found 2
(#37) Expected "if (...) {\n"; found "if(...){\n"
(#38) Spaces must be used for alignment; tabs are not allowed
(#38) Tab found within whitespace
(#38) Line indented incorrectly; expected 12 spaces, found 3
(#38) Expected "if (...) {\n"; found "if(...){\n"
(#39) Spaces must be used for alignment; tabs are not allowed
(#39) Tab found within whitespace
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Line indented incorrectly; expected at least 16 spaces, found 4
(#39) No space found before comment text; expected "// rename" but found "//rename"
(#40) Spaces must be used for alignment; tabs are not allowed
(#40) Tab found within whitespace
(#40) Line indented incorrectly; expected at least 16 spaces, found 4
(#40) Expected 1 space before "="; 0 found
(#40) Expected 1 space after "="; 0 found
(#40) Variable "quickmail_log_record" must not contain underscores.
(#41) Spaces must be used for alignment; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected at least 16 spaces, found 4
(#41) Expected 1 space before "="; 0 found
(#41) Expected 1 space after "="; 0 found
(#42) Spaces must be used for alignment; tabs are not allowed
(#42) Tab found within whitespace
(#42) Line indented incorrectly; expected at least 16 spaces, found 4
(#42) Variable "quickmail_log_record" must not contain underscores.
(#42) Expected 1 space before "="; 0 found
(#42) Expected 1 space after "="; 0 found
(#43) Spaces must be used for alignment; tabs are not allowed
(#43) Tab found within whitespace
(#43) Line indented incorrectly; expected at least 16 spaces, found 4
(#43) Variable "quickmail_log_record" must not contain underscores.
(#44) Spaces must be used for alignment; tabs are not allowed
(#44) Tab found within whitespace
(#44) Line indented incorrectly; expected 12 spaces, found 3
(#45) Spaces must be used for alignment; tabs are not allowed
(#45) Tab found within whitespace
(#45) Line indented incorrectly; expected at least 12 spaces, found 3
(#45) Variable "file_record" must not contain underscores.
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#45) Variable "quickmail_log_record" must not contain underscores.
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#45) Line exceeds maximum limit of 180 characters; contains 201 characters
(#46) Spaces must be used for alignment; tabs are not allowed
(#46) Tab found within whitespace
(#46) Line indented incorrectly; expected at least 12 spaces, found 5
(#46) Expected 1 space before "=>"; 0 found
(#46) Expected 1 space after "=>"; 0 found
(#46) Expected 1 space before "=>"; 0 found
(#46) Expected 1 space after "=>"; 0 found
(#47) Spaces must be used for alignment; tabs are not allowed
(#47) Tab found within whitespace
(#47) Line indented incorrectly; expected 18 spaces, found 3
(#47) Expected "if (...) {\n"; found "if(...){\n"
(#48) Spaces must be used for alignment; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected at least 22 spaces, found 4
(#48) Variable "file_record" must not contain underscores.
(#49) Spaces must be used for alignment; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected 20 spaces, found 3
(#50) Spaces must be used for alignment; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected 8 spaces, found 2
(#51) Spaces must be used for alignment; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected 4 spaces, found 1
blocks/quickmail/email.php
(#36) Variable "messageIDresend" must be all lower-case
(#57) Variable "has_permission" must not contain underscores.
(#62) Variable "has_permission" must not contain underscores.
(#68) Variable "alt_params" must not contain underscores.
(#69) Variable "alt_params" must not contain underscores.
(#87) Variable "course_roles" must not contain underscores.
(#89) Variable "filter_roles" must not contain underscores.
(#91) Variable "course_roles" must not contain underscores.
(#91) Variable "filter_roles" must not contain underscores.
(#99) Variable "restricted_view" must not contain underscores.
(#104) Variable "respected_view" must not contain underscores.
(#110) Variable "restricted_view" must not contain underscores.
(#110) Variable "respected_view" must not contain underscores.
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Variable "users_to_roles" must not contain underscores.
(#124) Variable "users_to_groups" must not contain underscores.
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Inline control structures are not allowed
(#143) Closing brace must be on a line by itself
(#145) Variable "users_to_groups" must not contain underscores.
(#146) Variable "users_to_roles" must not contain underscores.
(#152) Inline comments must start with a capital letter, digit or 3-dots sequence
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) Whitespace found at end of line
(#159) Line exceeds 132 characters; contains 141 characters
(#161) Whitespace found at end of line
(#165) Inline comments must start with a capital letter, digit or 3-dots sequence
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Whitespace found at end of line
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) This comment is 63% valid code; is this commented out code?
(#169) No space found before comment text; expected "// $emailmailto = array();" but found "//$emailmailto = array();"
(#174) Variable "messageIDresend" must be all lower-case
(#182) Expected 1 space after "="; 2 found
(#183) Variable "default_sigid" must not contain underscores.
(#186) Variable "default_sigid" must not contain underscores.
(#186) Variable "default_sigid" must not contain underscores.
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Variable "editor_options" must not contain underscores.
(#201) Variable "editor_options" must not contain underscores.
(#207) Expected 1 space before "=>"; 0 found
(#207) Expected 1 space after "=>"; 0 found
(#207) Commas (,) must be followed by white space.
(#207) Expected 1 space before "=>"; 0 found
(#207) Expected 1 space after "=>"; 0 found
(#207) Commas (,) must be followed by white space.
(#207) Expected 1 space before "=>"; 0 found
(#207) Expected 1 space after "=>"; 0 found
(#207) Commas (,) must be followed by white space.
(#207) Expected 1 space before "=>"; 0 found
(#207) Expected 1 space after "=>"; 0 found
(#207) Commas (,) must be followed by white space.
(#207) Expected 1 space before "=>"; 0 found
(#207) Expected 1 space after "=>"; 0 found
(#207) Commas (,) must be followed by white space.
(#207) Expected 1 space before "=>"; 0 found
(#207) Expected 1 space after "=>"; 0 found
(#207) Commas (,) must be followed by white space.
(#207) Expected 1 space before "=>"; 0 found
(#207) Expected 1 space after "=>"; 0 found
(#207) Commas (,) must be followed by white space.
(#207) Expected 1 space before "=>"; 0 found
(#207) Expected 1 space after "=>"; 0 found
(#207) Line exceeds 132 characters; contains 172 characters
(#207) Whitespace found at end of line
(#208) Expected "if (...) {\n"; found "if(...) {\n"
(#210) Whitespace found at end of line
(#217) Variable "editor_options" must not contain underscores.
(#222) Variable "users_to_roles" must not contain underscores.
(#223) Variable "users_to_groups" must not contain underscores.
(#224) Closing brace must be on a line by itself
(#230) Blank comments are not allowed
(#233) Whitespace found at end of line
(#242) Inline comments must end in full-stops, exclamation marks, or question marks
(#248) Inline comments must end in full-stops, exclamation marks, or question marks
(#263) Variable "editor_options" must not contain underscores.
(#274) Inline comments must end in full-stops, exclamation marks, or question marks
(#276) Variable "editor_options" must not contain underscores.
(#279) Inline comments must end in full-stops, exclamation marks, or question marks
(#284) Inline comments must start with a capital letter, digit or 3-dots sequence
(#287) Variable "editor_options" must not contain underscores.
(#287) Line exceeds 132 characters; contains 174 characters
(#290) Inline comments must end in full-stops, exclamation marks, or question marks
(#291) Variable "editor_options" must not contain underscores.
(#291) Line exceeds 132 characters; contains 165 characters
(#293) Expected "if (...) {\n"; found "if(...){\n"
(#296) Expected "} else {\n"; found "}\n else{\n"
(#297) Expected "if (...) {\n"; found "if(...){\n"
(#299) Expected "} else {\n"; found "}else{\n"
(#303) Inline comments must end in full-stops, exclamation marks, or question marks
(#308) Inline comments must end in full-stops, exclamation marks, or question marks
(#316) Inline comments must end in full-stops, exclamation marks, or question marks
(#322) Inline comments must end in full-stops, exclamation marks, or question marks
(#326) Expected "if (...) {\n"; found "if(...) {\n"
(#329) Inline comments must end in full-stops, exclamation marks, or question marks
(#330) Expected "if (...) {\n"; found "if (...) { "
(#330) Closing brace must be on a line by itself
(#331) Commas (,) must be followed by white space.
(#339) Line indented incorrectly; expected 16 spaces, found 12
(#339) Expected "if (...) {\n"; found "if(...){\n"
(#340) Line indented incorrectly; expected at least 20 spaces, found 16
(#340) Variable "additional_email_array" must not contain underscores.
(#342) Variable "additional_email_array" must not contain underscores.
(#342) Variable "additional_email" must not contain underscores.
(#343) Variable "additional_email" must not contain underscores.
(#343) Variable "additional_email" must not contain underscores.
(#343) Whitespace found at end of line
(#346) Variable "additional_email" must not contain underscores.
(#347) Inline comments must end in full-stops, exclamation marks, or question marks
(#349) Variable "additional_email_success" must not contain underscores.
(#350) Variable "additional_email_success" must not contain underscores.
(#351) Variable "additional_email" must not contain underscores.
(#352) Inline comments must start with a capital letter, digit or 3-dots sequence
(#352) Inline comments must end in full-stops, exclamation marks, or question marks
(#357) Line indented incorrectly; expected 16 spaces, found 12
blocks/quickmail/email_form.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#34) Variable "users_to_groups" must not contain underscores.
(#36) Variable "users_to_groups" must not contain underscores.
(#39) Variable "only_names" must not contain underscores.
(#39) Closing brace must be on a line by itself
(#40) Variable "only_names" must not contain underscores.
(#40) Variable "users_to_groups" must not contain underscores.
(#47) Variable "users_to_groups" must not contain underscores.
(#48) Variable "users_to_roles" must not contain underscores.
(#49) Variable "only_sn" must not contain underscores.
(#49) Closing brace must be on a line by itself
(#50) Expected "if (...) {\n"; found "if(...) {\n"
(#51) Line indented incorrectly; expected at least 12 spaces, found 11
(#51) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#53) Variable "only_sn" must not contain underscores.
(#53) Variable "users_to_roles" must not contain underscores.
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Expected "if (...) {\n"; found "if(...) {\n"
(#58) Line indented incorrectly; expected at least 12 spaces, found 8
(#61) Variable "users_to_groups" must not contain underscores.
(#64) Variable "only_id" must not contain underscores.
(#64) Closing brace must be on a line by itself
(#65) Variable "only_id" must not contain underscores.
(#65) Variable "users_to_groups" must not contain underscores.
(#81) Commas (,) must be followed by white space.
(#92) Variable "role_options" must not contain underscores.
(#94) Variable "role_options" must not contain underscores.
(#97) Variable "group_options" must not contain underscores.
(#101) Variable "group_options" must not contain underscores.
(#103) Variable "group_options" must not contain underscores.
(#106) Variable "group_options" must not contain underscores.
(#108) Variable "user_options" must not contain underscores.
(#110) Variable "user_options" must not contain underscores.
(#114) Variable "gen_url" must not contain underscores.
(#115) Variable "email_param" must not contain underscores.
(#116) Variable "email_param" must not contain underscores.
(#119) Variable "draft_link" must not contain underscores.
(#119) Variable "gen_url" must not contain underscores.
(#120) Variable "draft_link" must not contain underscores.
(#126) Variable "can_send" must not contain underscores.
(#131) Variable "can_send" must not contain underscores.
(#132) Variable "history_link" must not contain underscores.
(#132) Variable "gen_url" must not contain underscores.
(#133) Variable "history_link" must not contain underscores.
(#141) Variable "selected_label" must not contain underscores.
(#142) Variable "selected_label" must not contain underscores.
(#145) Variable "role_filter_label" must not contain underscores.
(#146) Variable "role_filter_label" must not contain underscores.
(#147) Variable "role_filter_label" must not contain underscores.
(#150) Variable "select_filter" must not contain underscores.
(#151) Variable "select_filter" must not contain underscores.
(#163) Variable "embed_quick" must not contain underscores.
(#167) Variable "center_buttons" must not contain underscores.
(#168) Variable "center_buttons" must not contain underscores.
(#171) Variable "embed_quick" must not contain underscores.
(#172) Variable "embed_quick" must not contain underscores.
(#177) Variable "role_options" must not contain underscores.
(#182) Variable "group_options" must not contain underscores.
(#188) Variable "user_options" must not contain underscores.
(#191) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Variable "selected_label" must not contain underscores.
(#194) Variable "role_filter_label" must not contain underscores.
(#195) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#197) Inline comments must start with a capital letter, digit or 3-dots sequence
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) This comment is 67% valid code; is this commented out code?
(#197) No space found before comment text; expected "// $table->data[] = new html_table_row(array($selected_required_label, $role_filter_label));" but found "//$table->data[] = new html_table_row(array($selected_required_label, $role_filter_label));"
(#198) Variable "select_filter" must not contain underscores.
(#198) Variable "center_buttons" must not contain underscores.
(#216) Line indented incorrectly; expected at least 12 spaces, found 8
(#216) Expected 1 space before "=>"; 0 found
(#216) Expected 1 space after "=>"; 0 found
(#217) Line indented incorrectly; expected at least 12 spaces, found 8
(#218) Line indented incorrectly; expected at least 12 spaces, found 8
(#218) Line exceeds 132 characters; contains 139 characters
(#219) Line indented incorrectly; expected at least 12 spaces, found 8
blocks/quickmail/emaillog.php
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Variable "valid_actions" must not contain underscores.
(#57) Variable "can_send" must not contain underscores.
(#59) Variable "proper_permission" must not contain underscores.
(#59) Variable "can_send" must not contain underscores.
(#61) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) No space found before comment text; expected "// managers can delete by capability 'candelete';" but found "//managers can delete by capability 'candelete';"
(#61) Whitespace found at end of line
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) No space found before comment text; expected "// those with 'cansend' (incl students, if $config['allowstudents']) can only delete drafts;" but found "//those with 'cansend' (incl students, if $config['allowstudents']) can only delete drafts;"
(#62) Whitespace found at end of line
(#63) Variable "can_delete" must not contain underscores.
(#63) Variable "can_send" must not contain underscores.
(#63) Variable "proper_permission" must not contain underscores.
(#63) Line exceeds 132 characters; contains 153 characters
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Variable "proper_permission" must not contain underscores.
(#66) Variable "can_delete" must not contain underscores.
(#66) Variable "valid_actions" must not contain underscores.
(#70) Variable "valid_actions" must not contain underscores.
(#104) Inline control structures are not allowed
(#110) Variable "can_delete" must not contain underscores.
(#113) Expected "if (...) {\n"; found "if(...) {\n"
(#114) Expected 1 space before ".="; 0 found
(#119) Expected 1 space before ".="; 0 found
(#121) Whitespace found at end of line
(#127) Expected "if (...) {\n"; found "if(...) {\n"
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Whitespace found at end of line
(#138) Expected "if (...) {\n"; found "if(...) {\n"
(#139) Whitespace found at end of line
(#140) Variable "get_name_string" must not contain underscores.
(#142) Expected "if (...) {\n"; found "if(...){\n"
(#143) Variable "get_name_string" must not contain underscores.
(#145) Variable "get_name_string" must not contain underscores.
(#150) Whitespace found at end of line
(#151) Variable "user_options" must not contain underscores.
(#151) Closing brace must be on a line by itself
(#158) Variable "default_option" must not contain underscores.
(#160) Variable "user_options" must not contain underscores.
(#160) Variable "default_option" must not contain underscores.
(#163) Expected "if (...) {\n"; found "if(...) {\n"
blocks/quickmail/lang/en/block_quickmail.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#46) Expected 1 space after "="; 0 found
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Inline comments must start with a capital letter, digit or 3-dots sequence
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) No space found before comment text; expected "// admin" but found "//admin"
(#166) Space found before semicolon; expected "'sent successfully to the following users: ';" but found "'sent successfully to the following users: ' ;"
blocks/quickmail/lang/en_us/block_quickmail.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#4) Whitespace found at end of line
(#46) Expected 1 space after "="; 0 found
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) No space found before comment text; expected "// admin" but found "//admin"
(#165) Space found before semicolon; expected "'sent successfully to the following users: ';" but found "'sent successfully to the following users: ' ;"
(#172) Whitespace found at end of line within string
blocks/quickmail/lang/sv/block_quickmail.php
(#2) The opening <?php tag must be followed by exactly one newline.
blocks/quickmail/lib.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
(#35) Visibility must be declared on method "format_time"
(#39) Visibility must be declared on method "cleanup"
(#63) Visibility must be declared on method "history_cleanup"
(#64) Must use "self::" for local static member reference
(#67) Visibility must be declared on method "draft_cleanup"
(#68) Must use "self::" for local static member reference
(#71) Variable "gen_link" must not contain underscores.
(#77) Variable "gen_link" must not contain underscores.
(#81) Variable "gen_link" must not contain underscores.
(#87) Visibility must be declared on method "process_attachments"
(#102) Variable "base_url" must not contain underscores.
(#104) Inline doc block comments are not allowed; use "// Comment." instead
(#110) Variable "gen_link" must not contain underscores.
(#110) Variable "base_url" must not contain underscores.
(#115) Variable "base_url" must not contain underscores.
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) No space found before comment text; expected "// to prevent double encoding of ampersands in urls for our plaintext users," but found "//to prevent double encoding of ampersands in urls for our plaintext users,"
(#118) No space found before comment text; expected "// we use the out() method of moodle_url" but found "//we use the out() method of moodle_url"
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) No space found before comment text; expected "// @see http://phpdocs.moodle.org/HEAD/moodlecore/moodle_url.html" but found "//@see http://phpdocs.moodle.org/HEAD/moodlecore/moodle_url.html"
(#120) Expected "if (...) {\n"; found "if(...){\n"
(#121) Whitespace found at end of line
(#126) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#129) Variable "gen_link" must not contain underscores.
(#131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) No space found before comment text; expected "// get a plain text version of the link" but found "//get a plain text version of the link"
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) No space found before comment text; expected "// by calling gen_link with @param $plain set to true" but found "//by calling gen_link with @param $plain set to true"
(#133) Variable "gen_link" must not contain underscores.
(#141) Variable "gen_link" must not contain underscores.
(#144) Visibility must be declared on method "zip_attachments"
(#147) Variable "base_path" must not contain underscores.
(#148) Variable "moodle_base" must not contain underscores.
(#150) Variable "moodle_base" must not contain underscores.
(#151) Variable "moodle_base" must not contain underscores.
(#155) Variable "actual_zip" must not contain underscores.
(#155) Variable "moodle_base" must not contain underscores.
(#168) Variable "stored_files" must not contain underscores.
(#174) Variable "stored_files" must not contain underscores.
(#177) Variable "stored_files" must not contain underscores.
(#177) Variable "actual_zip" must not contain underscores.
(#179) Variable "actual_zip" must not contain underscores.
(#182) Visibility must be declared on method "attachment_names"
(#189) Variable "only_files" must not contain underscores.
(#193) Variable "only_names" must not contain underscores.
(#193) Closing brace must be on a line by itself
(#195) Variable "only_named_files" must not contain underscores.
(#195) Variable "only_names" must not contain underscores.
(#195) Variable "only_files" must not contain underscores.
(#197) Variable "only_named_files" must not contain underscores.
(#200) Visibility must be declared on method "filter_roles"
(#200) Variable "user_roles" must not contain underscores.
(#200) Variable "master_roles" must not contain underscores.
(#201) Variable "master_roles" must not contain underscores.
(#201) Variable "user_roles" must not contain underscores.
(#206) Visibility must be declared on method "load_config"
(#227) Whitespace found at end of line
(#235) Whitespace found at end of line
(#239) Line indented incorrectly; expected 12 spaces, found 13
(#241) Line indented incorrectly; expected 12 spaces, found 13
(#242) Whitespace found at end of line
(#248) Visibility must be declared on method "default_config"
(#255) Visibility must be declared on method "save_config"
(#258) Must use "self::" for local static member reference
(#270) Visibility must be declared on method "delete_dialog"
(#275) Inline control structures are not allowed
(#279) Variable "yes_params" must not contain underscores.
(#281) Variable "yes_params" must not contain underscores.
(#285) Must use "self::" for local static member reference
(#286) Expected "if (...) {\n"; found "if(...) {\n"
(#286) Expected 1 space after "=="; 0 found
(#287) Line indented incorrectly; expected at least 12 spaces, found 11
(#288) Line indented incorrectly; expected at least 12 spaces, found 11
(#289) Line indented incorrectly; expected at least 12 spaces, found 11
(#289) Must use "self::" for local static member reference
(#290) Line indented incorrectly; expected at least 12 spaces, found 11
(#291) Line indented incorrectly; expected at least 12 spaces, found 11
(#292) Line indented incorrectly; expected at least 12 spaces, found 9
(#294) Line indented incorrectly; expected at least 12 spaces, found 8
(#296) Must use "self::" for local static member reference
(#299) Line indented incorrectly; expected at least 12 spaces, found 11
(#301) Must use "self::" for local static member reference
(#307) Visibility must be declared on method "list_entries"
(#307) Variable "can_delete" must not contain underscores.
(#317) Expected "if (...) {\n"; found "if(...){\n"
(#318) Expected 1 space before "="; 0 found
(#318) Must use "self::" for local static member reference
(#318) Commas (,) must be followed by white space.
(#318) Must use "self::" for local static member reference
(#318) Must use "self::" for local static member reference
(#318) Commas (,) must be followed by white space.
(#318) Must use "self::" for local static member reference
(#318) Line exceeds maximum limit of 180 characters; contains 188 characters
(#320) Expected "} else {\n"; found "}\n else{\n"
(#321) Expected 1 space before "="; 0 found
(#321) Must use "self::" for local static member reference
(#322) Must use "self::" for local static member reference
(#322) Must use "self::" for local static member reference
(#322) Must use "self::" for local static member reference
(#322) Commas (,) must be followed by white space.
(#322) Must use "self::" for local static member reference
(#322) Line exceeds 132 characters; contains 164 characters
(#322) Whitespace found at end of line
(#324) Whitespace found at end of line
(#327) Variable "array_of_failed_user_ids" must not contain underscores.
(#328) Must use "self::" for local static member reference
(#331) Expected "if (...) {\n"; found "if(...){\n"
(#332) Line indented incorrectly; expected at least 16 spaces, found 12
(#332) Whitespace found at end of line
(#333) Variable "array_of_failed_user_ids" must not contain underscores.
(#333) Commas (,) must be followed by white space.
(#342) Expected "if (...) {\n"; found "if(...){\n"
(#343) Variable "open_link" must not contain underscores.
(#346) Line indented incorrectly; expected at least 16 spaces, found 12
(#346) Whitespace found at end of line
(#348) Expected "} else {\n"; found "}\n else{\n"
(#349) Line indented incorrectly; expected at least 16 spaces, found 12
(#349) Variable "open_link" must not contain underscores.
(#352) Line indented incorrectly; expected at least 16 spaces, found 12
(#354) Variable "open_link" must not contain underscores.
(#356) Variable "can_delete" must not contain underscores.
(#357) Variable "delete_params" must not contain underscores.
(#362) Variable "delete_link" must not contain underscores.
(#363) Variable "delete_params" must not contain underscores.
(#367) Variable "delete_link" must not contain underscores.
(#370) Variable "action_links" must not contain underscores.
(#371) Whitespace found at end of line
(#372) Variable "statusSENTorNot" must be all lower-case
(#372) Must use "self::" for local static member reference
(#373) Whitespace found at end of line
(#374) Expected "if (...) {\n"; found "if (...){\n"
(#374) Variable "array_of_failed_user_ids" must not contain underscores.
(#375) Variable "statusSENTorNot" must be all lower-case
(#375) Must use "self::" for local static member reference
(#379) Must use "self::" for local static member reference
(#379) Whitespace found at end of line
(#380) Whitespace found at end of line
(#381) Expected "if (...) {\n"; found "if(...){\n"
(#383) Expected "} else {\n"; found "}else{\n"
(#386) Variable "listFailIDs" must be all lower-case
(#386) Variable "array_of_failed_user_ids" must not contain underscores.
(#387) Whitespace found at end of line
(#388) Variable "failCount" must be all lower-case
(#388) Expected 1 space after "="; 2 found
(#388) Variable "listFailIDs" must be all lower-case
(#388) Expected 1 space after "?"; 2 found
(#388) Variable "listFailIDs" must be all lower-case
(#388) Must use "self::" for local static member reference
(#388) Expected 1 space after ":"; 2 found
(#388) Variable "listFailIDs" must be all lower-case
(#388) Must use "self::" for local static member reference
(#388) Line exceeds 132 characters; contains 155 characters
(#388) Whitespace found at end of line
(#392) Expected "} else {\n"; found "}\n\n else{\n"
(#393) Whitespace found at end of line
(#394) Variable "listFailIDs" must be all lower-case
(#394) Variable "array_of_failed_user_ids" must not contain underscores.
(#396) Variable "failCount" must be all lower-case
(#398) Whitespace found at end of line
(#398) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#401) Variable "action_links" must not contain underscores.
(#401) Variable "statusSENTorNot" must be all lower-case
(#401) Variable "failCount" must be all lower-case
(#403) Variable "action_links" must not contain underscores.
(#403) Variable "statusSENTorNot" must be all lower-case
(#403) Commas (,) must be followed by white space.
(#403) Variable "failCount" must be all lower-case
(#403) Commas (,) must be followed by white space.
(#404) Line indented incorrectly; expected 12 spaces, found 13
(#404) Closing brace indented incorrectly; expected 12 spaces, found 13
(#404) Whitespace found at end of line
(#405) Whitespace found at end of line
(#406) Line indented incorrectly; expected 8 spaces, found 12
(#406) Closing brace indented incorrectly; expected 8 spaces, found 12
(#422) Expected 1 space after closing parenthesis; found 0
(#428) Variable "get_name_string" must not contain underscores.
(#429) Whitespace found at end of line
(#430) Expected "if (...) {\n"; found "if(...){\n"
(#431) Variable "get_name_string" must not contain underscores.
(#433) Variable "get_name_string" must not contain underscores.
(#440) Whitespace found at end of line
(#442) Whitespace found at end of line
(#445) Whitespace found at end of line
(#450) Whitespace found at end of line
(#455) Expected 1 space after closing parenthesis; found 0
(#458) Whitespace found at end of line
(#459) Variable "get_name_string" must not contain underscores.
(#460) Whitespace found at end of line
(#461) Expected "if (...) {\n"; found "if(...){\n"
(#462) Variable "get_name_string" must not contain underscores.
(#465) Variable "get_name_string" must not contain underscores.
(#465) Line exceeds 132 characters; contains 140 characters
(#465) Whitespace found at end of line within string
(#466) Whitespace found at end of line within string
(#467) Whitespace found at end of line within string
(#469) Whitespace found at end of line within string
(#470) Whitespace found at end of line within string
(#471) Whitespace found at end of line within string
(#473) Whitespace found at end of line within string
(#476) Whitespace found at end of line
(#478) Inline comments must start with a capital letter, digit or 3-dots sequence
(#478) Inline comments must end in full-stops, exclamation marks, or question marks
(#478) No space found before comment text; expected "// let's use a recordset in case the enrollment is huge" but found "//let's use a recordset in case the enrollment is huge"
(#479) Variable "rs_valids" must not contain underscores.
(#481) Inline comments must start with a capital letter, digit or 3-dots sequence
(#481) Inline comments must end in full-stops, exclamation marks, or question marks
(#481) No space found before comment text; expected "// container for user_enrolments records" but found "//container for user_enrolments records"
(#484) Inline doc block comments are not allowed; use "// Comment." instead
(#491) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#491) Variable "rs_valids" must not contain underscores.
(#494) Inline comments must start with a capital letter, digit or 3-dots sequence
(#494) Inline comments must end in full-stops, exclamation marks, or question marks
(#494) No space found before comment text; expected "// required to close the recordset" but found "//required to close the recordset"
(#495) Variable "rs_valids" must not contain underscores.
(#496) Whitespace found at end of line
(#497) Inline comments must start with a capital letter, digit or 3-dots sequence
(#497) Inline comments must end in full-stops, exclamation marks, or question marks
(#497) No space found before comment text; expected "// get the intersection of self::all_users and this potentially shorter list" but found "//get the intersection of self::all_users and this potentially shorter list"
(#498) Variable "evryone_not_suspended" must not contain underscores.
(#500) Variable "evryone_not_suspended" must not contain underscores.
(#502) Whitespace found at end of line
(#503) Line indented incorrectly; expected 4 spaces, found 5
(#503) Expected 1 space after closing parenthesis; found 0
(#504) Variable "additional_emails" must not contain underscores.
(#505) Whitespace found at end of line
(#506) Whitespace found at end of line
(#507) Line indented incorrectly; expected 8 spaces, found 9
(#507) Variable "failed_address_or_id" must not contain underscores.
(#508) Line indented incorrectly; expected 12 spaces, found 13
(#508) Variable "failed_address_or_id" must not contain underscores.
(#509) Variable "additional_emails" must not contain underscores.
(#509) Variable "failed_address_or_id" must not contain underscores.
(#510) Whitespace found at end of line
(#510) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#511) Whitespace found at end of line
(#513) Line indented incorrectly; expected 12 spaces, found 13
(#514) Line indented incorrectly; expected 8 spaces, found 9
(#515) Whitespace found at end of line
(#516) Variable "additional_emails" must not contain underscores.
(#516) Variable "additional_emails" must not contain underscores.
(#518) Whitespace found at end of line
(#519) Variable "additional_emails" must not contain underscores.
(#520) Line indented incorrectly; expected 4 spaces, found 5
(#521) Whitespace found at end of line
blocks/quickmail/settings.php
(#26) Expected "if (...) {\n"; found "if(...) {\n"
(#27) "require_once" must be immediately followed by an open parenthesis
(#41) Variable "default_sns" must not contain underscores.
(#42) Variable "default_sns" must not contain underscores.
(#43) Variable "default_sns" must not contain underscores.
(#46) Variable "only_names" must not contain underscores.
(#46) Closing brace must be on a line by itself
(#48) Variable "select_roles" must not contain underscores.
(#51) Variable "select_roles" must not contain underscores.
(#51) Variable "select_roles" must not contain underscores.
(#53) Variable "only_names" must not contain underscores.
blocks/quickmail/signature.php
(#42) Variable "has_permission" must not contain underscores.
(#47) Variable "has_permission" must not contain underscores.
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) Variable "only_names" must not contain underscores.
(#160) Expected 1 space before ":"; 0 found
(#162) Variable "sig_options" must not contain underscores.
(#162) Variable "only_names" must not contain underscores.
(#172) Variable "confirm_url" must not contain underscores.
(#177) Variable "cancel_url" must not contain underscores.
(#181) Variable "confirm_url" must not contain underscores.
(#181) Variable "cancel_url" must not contain underscores.
(#183) Variable "sig_options" must not contain underscores.
blocks/quickmail/signature_form.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#33) Commas (,) must be followed by white space.
(#34) Whitespace found at end of line
(#36) Commas (,) must be followed by white space.
(#37) Whitespace found at end of line
(#39) Commas (,) must be followed by white space.
(#40) Whitespace found at end of line
(#42) Commas (,) must be followed by white space.
(#43) Whitespace found at end of line
blocks/quickmail/version.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) Whitespace found at end of line

Javascript coding style problems

(38 errors, 30 warnings)

This section shows the coding style problems detected in the code by eslint [More info]

blocks/quickmail/js/selection.js
(#1) Missing space before opening brace. (space-before-blocks)
(#3) '$' is not defined. (no-undef)
(#4) Identifier 'clear_selections' is not in camel case. (camelcase)
(#4) Identifier 'quickmail_changer' is not in camel case. (camelcase)
(#8) Identifier 'clear_selections' is not in camel case. (camelcase)
(#11) '$' is not defined. (no-undef)
(#13) '$' is not defined. (no-undef)
(#15) Identifier 'quickmail_changer' is not in camel case. (camelcase)
(#17) '$' is not defined. (no-undef)
(#19) '$' is not defined. (no-undef)
(#20) '$' is not defined. (no-undef)
(#21) '$' is not defined. (no-undef)
(#21) Expected to return a value at the end of function. (consistent-return)
(#22) Identifier 'in_list' is not in camel case. (camelcase)
(#23) '$' is not defined. (no-undef)
(#26) Identifier 'in_list' is not in camel case. (camelcase)
(#31) '$' is not defined. (no-undef)
(#34) '$' is not defined. (no-undef)
(#35) '$' is not defined. (no-undef)
(#43) '$' is not defined. (no-undef)
(#44) '$' is not defined. (no-undef)
(#47) '$' is not defined. (no-undef)
(#48) '$' is not defined. (no-undef)
(#49) '$' is not defined. (no-undef)
(#50) '$' is not defined. (no-undef)
(#51) '$' is not defined. (no-undef)
(#52) '$' is not defined. (no-undef)
(#53) '$' is not defined. (no-undef)
(#56) '$' is not defined. (no-undef)
(#58) '$' is not defined. (no-undef)
(#59) '$' is not defined. (no-undef)
blocks/quickmail/validation.js
(#1) Missing JSDoc comment. (require-jsdoc)
(#1) Identifier 'block_quickmail_testInfo' is not in camel case. (camelcase)
(#1) Missing space before opening brace. (space-before-blocks)
(#2) Line 2 exceeds the maximum line length of 132. (max-len)
(#2) Unnecessary escape character: \". (no-useless-escape)
(#2) Unnecessary escape character: \". (no-useless-escape)
(#2) Unnecessary escape character: \". (no-useless-escape)
(#2) Unnecessary escape character: \". (no-useless-escape)
(#2) Trailing spaces not allowed. (no-trailing-spaces)
(#4) Expected { after 'if' condition. (curly)
(#4) Trailing spaces not allowed. (no-trailing-spaces)
(#5) Trailing spaces not allowed. (no-trailing-spaces)
(#6) Expected { after 'else'. (curly)
(#8) Trailing spaces not allowed. (no-trailing-spaces)
(#9) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#12) Missing JSDoc comment. (require-jsdoc)
(#12) Identifier 'block_quickmail_mycallback' is not in camel case. (camelcase)
(#12) 'block_quickmail_mycallback' is defined but never used. (no-unused-vars)
(#12) Missing space before opening brace. (space-before-blocks)
(#16) Expected space(s) after "for". (keyword-spacing)
(#16) Missing whitespace after semicolon. (semi-spacing)
(#16) Missing space before opening brace. (space-before-blocks)
(#17) Expected space(s) after "if". (keyword-spacing)
(#17) Missing space before opening brace. (space-before-blocks)
(#19) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#20) Expected space(s) after "else". (keyword-spacing)
(#24) Unexpected tab character. (no-tabs)
(#24) Expected space(s) after "if". (keyword-spacing)
(#24) Missing space before opening brace. (space-before-blocks)
(#25) Unexpected tab character. (no-tabs)
(#26) Unexpected tab character. (no-tabs)
(#26) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#27) Unexpected tab character. (no-tabs)
(#27) Expected space(s) after "else". (keyword-spacing)
(#28) Unexpected tab character. (no-tabs)
(#29) Unexpected tab character. (no-tabs)
(#31) Trailing spaces not allowed. (no-trailing-spaces)

CSS problems

(17 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]

blocks/quickmail/styles.css
(#59) Invalid value for `position` (csstree/validator)
(#18) Unexpected empty block (block-no-empty)
(#57) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#58) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#59) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#60) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#61) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#62) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#63) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#57) Expected indentation of 4 spaces (indentation)
(#58) Expected indentation of 4 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)
(#60) Expected indentation of 4 spaces (indentation)
(#61) Expected indentation of 4 spaces (indentation)
(#62) Expected indentation of 4 spaces (indentation)
(#63) Expected indentation of 4 spaces (indentation)
(#52) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(132 errors, 3 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

blocks/quickmail/admin_email.php
(#17) No one-line description found in phpdocs for file
(#138) Invalid inline phpdocs tag @todo found
blocks/quickmail/admin_email_form.php
(#26) Class admin_email_form is not documented
(#28) Function admin_email_form::definition is not documented
(#52) Function admin_email_form::validation is not documented
(#17) No one-line description found in phpdocs for file
blocks/quickmail/alt_form.php
(#26) Class quickmail_alternate_form is not documented
(#27) Function quickmail_alternate_form::definition is not documented
(#17) No one-line description found in phpdocs for file
blocks/quickmail/alt_lib.php
(#33) Class quickmail_alternate is not documented
(#35) Function quickmail_alternate::base_url is not documented
(#40) Function quickmail_alternate::get is not documented
(#47) Function quickmail_alternate::get_one is not documented
(#54) Function quickmail_alternate::delete is not documented
(#68) Function quickmail_alternate::confirmed is not documented
(#76) Function quickmail_alternate::verify is not documented
(#123) Function quickmail_alternate::inform is not documented
(#183) Function quickmail_alternate::interact is not documented
(#236) Function quickmail_alternate::view is not documented
(#25) Constant VIEW is not documented
(#26) Constant DELETE is not documented
(#27) Constant INTERACT is not documented
(#28) Constant CONFIRMED is not documented
(#29) Constant INFORMATION is not documented
(#30) Constant VERIFY is not documented
(#17) No one-line description found in phpdocs for file
blocks/quickmail/alternate.php
(#17) No one-line description found in phpdocs for file
blocks/quickmail/backup/moodle2/backup_quickmail_block_task.class.php
(#26) Class backup_quickmail_block_task is not documented
(#27) Function backup_quickmail_block_task::define_my_settings is not documented
(#42) Function backup_quickmail_block_task::define_my_steps is not documented
(#47) Function backup_quickmail_block_task::get_fileareas is not documented
(#51) Function backup_quickmail_block_task::get_configdata_encoded_attributes is not documented
(#55) Function backup_quickmail_block_task::encode_content_links is not documented
(#17) No one-line description found in phpdocs for file
blocks/quickmail/backup/moodle2/backup_quickmail_stepslib.php
(#24) Class backup_quickmail_block_structure_step is not documented
(#25) Function backup_quickmail_block_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
blocks/quickmail/backup/moodle2/restore_quickmail_block_task.class.php
(#26) Class restore_quickmail_block_task is not documented
(#27) Function restore_quickmail_block_task::history_exists is not documented
(#43) Function restore_quickmail_block_task::define_my_settings is not documented
(#96) Function restore_quickmail_block_task::define_my_steps is not documented
(#104) Function restore_quickmail_block_task::get_fileareas is not documented
(#108) Function restore_quickmail_block_task::get_configdata_encoded_attributes is not documented
(#112) Function restore_quickmail_block_task::define_decode_contents is not documented
(#117) Function restore_quickmail_block_task::define_decode_rules is not documented
(#17) No one-line description found in phpdocs for file
blocks/quickmail/backup/moodle2/restore_quickmail_stepslib.php
(#24) Class restore_quickmail_log_structure_step is not documented
(#25) Function restore_quickmail_log_structure_step::define_structure is not documented
(#35) Function restore_quickmail_log_structure_step::process_block is not documented
(#75) Function restore_quickmail_log_structure_step::process_block_level_setting is not documented
(#87) Function restore_quickmail_log_structure_step::process_log is not documented
(#17) No one-line description found in phpdocs for file
blocks/quickmail/block_quickmail.php
(#26) Class block_quickmail is not documented
(#27) Function block_quickmail::init is not documented
(#31) Function block_quickmail::applicable_formats is not documented
(#39) Function block_quickmail::has_config is not documented
(#50) Function block_quickmail::get_content is not documented
(#17) No one-line description found in phpdocs for file
blocks/quickmail/classes/event/alternate_email_added.php
(#29) Class alternate_email_added is not documented
(#30) Function alternate_email_added::init is not documented
blocks/quickmail/classes/message.php
(#26) Class Message is not documented
(#46) Function Message::__construct is not documented
(#64) Function Message::send is not documented
(#114) Function Message::buildAdminReceipt is not documented
(#134) Function Message::sendAdminReceipt is not documented
(#28) Variable Message::$subject is not documented
(#29) Variable Message::$text is not documented
(#30) Variable Message::$html is not documented
(#31) Variable Message::$users is not documented
(#32) Variable Message::$admins is not documented
(#33) Variable Message::$warnings is not documented
(#34) Variable Message::$noreply is not documented
(#35) Variable Message::$sentUsers is not documented
(#36) Variable Message::$failuserids is not documented
(#37) Variable Message::$startTime is not documented
(#38) Variable Message::$endTime is not documented
(#17) No one-line description found in phpdocs for file
(#61) Invalid phpdocs tag @params used
blocks/quickmail/config_qm.php
(#17) No one-line description found in phpdocs for file
blocks/quickmail/config_qm_form.php
(#26) Class config_form is not documented
(#27) Function config_form::definition is not documented
(#17) No one-line description found in phpdocs for file
blocks/quickmail/db/access.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
blocks/quickmail/db/upgrade.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#3) Function xmldb_block_quickmail_upgrade is not documented
(#3) Package is not specified for function xmldb_block_quickmail_upgrade. It is also not specified in file-level phpdocs
blocks/quickmail/db/upgradelib.php
(#12) Package is not specified for function migrate_quickmail_20. It is also not specified in file-level phpdocs
(#5) Package is not valid
blocks/quickmail/email.php
(#17) No one-line description found in phpdocs for file
blocks/quickmail/email_form.php
(#27) Class email_form is not documented
(#28) Function email_form::reduce_users is not documented
(#33) Function email_form::option_display is not documented
(#46) Function email_form::option_value is not documented
(#72) Function email_form::definition is not documented
(#17) No one-line description found in phpdocs for file
blocks/quickmail/emaillog.php
(#17) No one-line description found in phpdocs for file
blocks/quickmail/lang/en/block_quickmail.php
(#2) File-level phpdocs block is not found
blocks/quickmail/lang/en_us/block_quickmail.php
(#2) File-level phpdocs block is not found
blocks/quickmail/lang/sv/block_quickmail.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block does not have @copyright tag
(#21) Package block is not valid
blocks/quickmail/lib.php
(#24) Class quickmail is not documented
(#31) Function quickmail::_s is not documented
(#35) Function quickmail::format_time is not documented
(#39) Function quickmail::cleanup is not documented
(#63) Function quickmail::history_cleanup is not documented
(#67) Function quickmail::draft_cleanup is not documented
(#71) Function quickmail::flatten_subdirs is not documented
(#87) Function quickmail::process_attachments is not documented
(#144) Function quickmail::zip_attachments is not documented
(#182) Function quickmail::attachment_names is not documented
(#200) Function quickmail::filter_roles is not documented
(#206) Function quickmail::load_config is not documented
(#248) Function quickmail::default_config is not documented
(#255) Function quickmail::save_config is not documented
(#270) Function quickmail::delete_dialog is not documented
(#307) Function quickmail::list_entries is not documented
(#503) Function quickmail::clean is not documented
(#524) Function block_quickmail_pluginfile is not documented
(#17) No one-line description found in phpdocs for file
(#419) Phpdocs for function quickmail::get_all_users has incomplete parameters list
(#452) Phpdocs for function quickmail::get_non_suspended_users has incomplete parameters list
(#27) Invalid phpdocs tag @const used
(#448) Invalid phpdocs tag @TODO used
(#485) Invalid phpdocs tag @TODO used
(#119) Invalid inline phpdocs tag @see found
(#132) Invalid inline phpdocs tag @param found
blocks/quickmail/settings.php
(#17) No one-line description found in phpdocs for file
blocks/quickmail/signature.php
(#17) No one-line description found in phpdocs for file
blocks/quickmail/signature_form.php
(#26) Class signature_form is not documented
(#27) Function signature_form::definition is not documented
(#17) No one-line description found in phpdocs for file
blocks/quickmail/version.php
(#17) No one-line description found in phpdocs for file

Update savepoints problems

(5 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

blocks/quickmail/db/upgrade.php
Detected more 'if' blocks (4) than 'savepoint' calls (1)
version 2011021812 is missing corresponding savepoint call
version 2012021014 is missing corresponding savepoint call
version 2012061112 is missing corresponding savepoint call
version 2012061112 is missing corresponding savepoint call

Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]