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

(2031 errors, 3251 warnings)

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

mod/hsuforum/backup/moodle1/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#55) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#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
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#120) Inline comments must start with a capital letter, digit or 3-dots sequence
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Inline comments must start with a capital letter, digit or 3-dots sequence
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Short array syntax must be used to define arrays
mod/hsuforum/backup/moodle2/backup_hsuforum_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) No one-line description found in phpdocs for docblock of function get_comment_file_annotation_info
(#58) Short array syntax must be used to define arrays
(#70) The static declaration must come after the visibility declaration
(#73) Commas (,) must be followed by white space.
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Expected 1 space before "="; 0 found
(#76) Expected 1 space after "="; 0 found
(#77) Expected 1 space before "="; 0 found
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Expected 1 space before "="; 0 found
(#80) Expected 1 space after "="; 0 found
(#81) Expected 1 space before "="; 0 found
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Expected 1 space before "="; 0 found
(#84) Expected 1 space after "="; 0 found
(#85) Expected 1 space before "="; 0 found
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Expected 1 space before "="; 0 found
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Expected 1 space before "="; 0 found
(#92) Expected 1 space after "="; 0 found
(#93) Expected 1 space before "="; 0 found
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Expected 1 space before "="; 0 found
(#96) Expected 1 space after "="; 0 found
(#97) Expected 1 space before "="; 0 found
mod/hsuforum/backup/moodle2/backup_hsuforum_settingslib.php
(#1) No one-line description found in phpdocs for docblock of file backup_hsuforum_settingslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
mod/hsuforum/backup/moodle2/backup_hsuforum_stepslib.php
(#1) No one-line description found in phpdocs for docblock of file backup_hsuforum_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#36) Missing docblock for function define_structure
(#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
(#43) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Short array syntax must be used to define arrays
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#149) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
mod/hsuforum/backup/moodle2/restore_hsuforum_activity_task.class.php
(#1) No one-line description found in phpdocs for docblock of file restore_hsuforum_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) No one-line description found in phpdocs for docblock of function get_comment_file_annotation_info
(#53) Short array syntax must be used to define arrays
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) The static declaration must come after the visibility declaration
(#79) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#91) The static declaration must come after the visibility declaration
(#92) Short array syntax must be used to define arrays
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#116) The static declaration must come after the visibility declaration
(#117) Short array syntax must be used to define arrays
(#131) Line exceeds 132 characters; contains 134 characters
(#132) Line exceeds 132 characters; contains 135 characters
(#133) Line exceeds 132 characters; contains 135 characters
(#137) Line exceeds 132 characters; contains 145 characters
(#138) Line exceeds 132 characters; contains 165 characters
(#139) Line exceeds 132 characters; contains 148 characters
(#156) The static declaration must come after the visibility declaration
(#157) Short array syntax must be used to define arrays
mod/hsuforum/backup/moodle2/restore_hsuforum_stepslib.php
(#1) No one-line description found in phpdocs for docblock of file restore_hsuforum_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#36) Missing docblock for function define_structure
(#37) Short array syntax must be used to define arrays
(#43) Line exceeds 132 characters; contains 168 characters
(#46) Line exceeds 132 characters; contains 138 characters
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Missing docblock for function process_hsuforum
(#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
(#90) Missing docblock for function process_hsuforum_discussion
(#111) Missing docblock for function process_hsuforum_discussion_subscription
(#123) Missing docblock for function process_hsuforum_post
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Short array syntax must be used to define arrays
(#146) Missing docblock for function process_hsuforum_tag
(#163) Missing docblock for function process_hsuforum_rating
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Inline comments must start with a capital letter, digit or 3-dots sequence
(#171) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) Missing docblock for function process_hsuforum_subscription
(#199) Short array syntax must be used to define arrays
(#208) Missing docblock for function process_hsuforum_digest
(#220) Missing docblock for function process_hsuforum_read
(#234) Missing docblock for function process_hsuforum_track
(#246) Missing docblock for function after_execute
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#255) Missing docblock for function after_restore
(#262) Short array syntax must be used to define arrays
(#263) Whitespace found at end of line
(#264) Short array syntax must be used to define arrays
(#265) Inline comments must end in full-stops, exclamation marks, or question marks
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#278) Commas (,) must be followed by white space.
(#278) Short array syntax must be used to define arrays
(#279) Inline comments must end in full-stops, exclamation marks, or question marks
(#285) Short array syntax must be used to define arrays
mod/hsuforum/classes/analytics/indicator/activity_base.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#45) Short array syntax must be used to define arrays
mod/hsuforum/classes/analytics/indicator/cognitive_depth.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#45) There must not be a space before the colon in a return type declaration
(#49) Missing docblock for function get_indicator_type
(#53) Missing docblock for function get_cognitive_depth_level
(#72) Short array syntax must be used to define arrays
mod/hsuforum/classes/analytics/indicator/social_breadth.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#45) There must not be a space before the colon in a return type declaration
(#49) Missing docblock for function get_indicator_type
(#53) Missing docblock for function get_social_breadth_level
mod/hsuforum/classes/attachments.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) No one-line description found in phpdocs for docblock of class attachments
(#77) No one-line description found in phpdocs for docblock of function __construct
(#77) Short array syntax must be used to define arrays
(#89) Line exceeds maximum limit of 180 characters; contains 182 characters
(#97) No one-line description found in phpdocs for docblock of function get_all_attachments
(#111) Short array syntax must be used to define arrays
(#177) Line exceeds 132 characters; contains 140 characters
mod/hsuforum/classes/controller/controller_abstract.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#47) No one-line description found in phpdocs for docblock of function set_renderer
(#58) Short array syntax must be used to define arrays
(#80) Docblock tag "@abstract" is not recommended.
mod/hsuforum/classes/controller/edit_controller.php
(#20) Incorrect @package tag for file edit_controller.php. Expected mod_hsuforum, found mod.
(#40) Missing docblock for class edit_controller
(#56) Missing docblock for function init
(#110) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#111) Line exceeds 132 characters; contains 142 characters
(#117) Short array syntax must be used to define arrays
(#122) There should be a comma after the last array item in a multi-line array.
(#169) Short array syntax must be used to define arrays
(#178) There should be a comma after the last array item in a multi-line array.
(#202) Short array syntax must be used to define arrays
(#215) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#216) Line exceeds 132 characters; contains 140 characters
(#223) Short array syntax must be used to define arrays
(#231) Short array syntax must be used to define arrays
(#241) There should be a comma after the last array item in a multi-line array.
(#261) Short array syntax must be used to define arrays
(#284) There should be a comma after the last array item in a multi-line array.
(#293) No one-line description found in phpdocs for docblock of function delete_post_action
(#303) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#325) Short array syntax must be used to define arrays
mod/hsuforum/classes/controller/export_controller.php
(#20) Incorrect @package tag for file export_controller.php. Expected mod_hsuforum, found mod.
(#46) Missing docblock for class export_controller
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
mod/hsuforum/classes/controller/flag_controller.php
(#20) Incorrect @package tag for file flag_controller.php. Expected mod_hsuforum, found mod.
(#34) Missing docblock for class flag_controller
(#58) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#64) Expected "if (...) {\n"; found "if (...){\n"
mod/hsuforum/classes/controller/kernel.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#58) No one-line description found in phpdocs for docblock of function __construct
(#71) No one-line description found in phpdocs for docblock of function get_renderer
(#78) No one-line description found in phpdocs for docblock of function get_router
(#104) Inline doc block comments are not allowed; use "// Comment." instead
(#110) Short array syntax must be used to define arrays
(#128) Logical operator "and" is prohibited; use "&&" instead
mod/hsuforum/classes/controller/posters_controller.php
(#20) Incorrect @package tag for file posters_controller.php. Expected mod_hsuforum, found mod.
(#34) Missing docblock for class posters_controller
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
mod/hsuforum/classes/controller/posts_controller.php
(#20) Incorrect @package tag for file posts_controller.php. Expected mod_hsuforum, found mod.
(#38) Missing docblock for class posts_controller
(#44) Missing docblock for function init
(#69) Line exceeds 132 characters; contains 137 characters
(#93) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#134) Missing docblock for function discsubscribers_action
(#151) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#163) Expected 1 space before "=>"; 0 found
(#163) Expected 1 space after "=>"; 0 found
(#163) Expected 1 space before "=>"; 0 found
(#163) Expected 1 space after "=>"; 0 found
(#163) Expected 1 space before "=>"; 0 found
(#163) Expected 1 space after "=>"; 0 found
(#171) Inline doc block comments are not allowed; use "// Comment." instead
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) Short array syntax must be used to define arrays
(#197) Line exceeds 132 characters; contains 151 characters
(#221) Line exceeds maximum limit of 180 characters; contains 195 characters
mod/hsuforum/classes/controller/router.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#49) Missing docblock for function __construct
(#70) No one-line description found in phpdocs for docblock of function get_controllers
(#93) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/assessable_uploaded.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#101) Short array syntax must be used to define arrays
(#101) Line exceeds 132 characters; contains 133 characters
(#130) Missing docblock for function get_objectid_mapping
(#131) Short array syntax must be used to define arrays
(#134) Missing docblock for function get_other_mapping
(#135) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/course_module_instance_list_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/event/course_module_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#56) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#69) Missing docblock for function get_objectid_mapping
(#70) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/course_searched.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#82) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#114) Missing docblock for function get_other_mapping
mod/hsuforum/classes/event/discussion_created.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#80) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#113) Missing docblock for function get_objectid_mapping
(#114) Short array syntax must be used to define arrays
(#117) Missing docblock for function get_other_mapping
(#118) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/discussion_deleted.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#81) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#111) Missing docblock for function get_objectid_mapping
(#112) Short array syntax must be used to define arrays
(#115) Missing docblock for function get_other_mapping
(#116) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/discussion_moved.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#81) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#115) Missing docblock for function get_objectid_mapping
(#116) Short array syntax must be used to define arrays
(#119) Missing docblock for function get_other_mapping
(#120) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/discussion_pinned.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#70) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/discussion_subscription_created.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#81) Short array syntax must be used to define arrays
(#113) Missing docblock for function get_objectid_mapping
(#114) Short array syntax must be used to define arrays
(#117) Missing docblock for function get_other_mapping
(#118) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/discussion_subscription_deleted.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#81) Short array syntax must be used to define arrays
(#113) Missing docblock for function get_objectid_mapping
(#114) Short array syntax must be used to define arrays
(#117) Missing docblock for function get_other_mapping
(#118) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/discussion_unpinned.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#70) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/discussion_updated.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#80) Short array syntax must be used to define arrays
(#101) Missing docblock for function get_objectid_mapping
(#102) Short array syntax must be used to define arrays
(#105) Missing docblock for function get_other_mapping
(#106) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/discussion_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#75) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#102) Missing docblock for function get_objectid_mapping
(#103) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/post_created.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#86) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#132) Missing docblock for function get_objectid_mapping
(#133) Short array syntax must be used to define arrays
(#136) Missing docblock for function get_other_mapping
(#137) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/post_deleted.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#86) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#131) Missing docblock for function get_objectid_mapping
(#132) Short array syntax must be used to define arrays
(#135) Missing docblock for function get_other_mapping
(#136) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/post_updated.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#86) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#132) Missing docblock for function get_objectid_mapping
(#133) Short array syntax must be used to define arrays
(#136) Missing docblock for function get_other_mapping
(#137) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/readtracking_disabled.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#79) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#114) Missing docblock for function get_other_mapping
(#115) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/readtracking_enabled.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#79) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#114) Missing docblock for function get_other_mapping
(#115) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/subscribers_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#80) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#111) Missing docblock for function get_other_mapping
(#112) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/subscription_created.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#80) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#115) Missing docblock for function get_objectid_mapping
(#116) Short array syntax must be used to define arrays
(#119) Missing docblock for function get_other_mapping
(#120) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/subscription_deleted.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#80) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#115) Missing docblock for function get_objectid_mapping
(#116) Short array syntax must be used to define arrays
(#119) Missing docblock for function get_other_mapping
(#120) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/user_report_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#81) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#131) Missing docblock for function get_other_mapping
mod/hsuforum/classes/export/adapter_interface.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) No one-line description found in phpdocs for docblock of interface adapter_interface
mod/hsuforum/classes/export/csv_format.php
(#36) No one-line description found in phpdocs for docblock of class csv_format
(#38) Missing docblock for function init
(#42) Short array syntax must be used to define arrays
(#72) No one-line description found in phpdocs for docblock of function export_discussion
(#87) No one-line description found in phpdocs for docblock of function export_post
(#89) Short array syntax must be used to define arrays
mod/hsuforum/classes/export/export_manager.php
(#36) No one-line description found in phpdocs for docblock of class export_manager
(#51) No one-line description found in phpdocs for docblock of function __construct
(#82) Short array syntax must be used to define arrays
(#99) Line exceeds maximum limit of 180 characters; contains 189 characters
(#104) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
mod/hsuforum/classes/export/file_adapter.php
(#36) No one-line description found in phpdocs for docblock of class file_adapter
(#59) Short array syntax must be used to define arrays
(#80) No one-line description found in phpdocs for docblock of function __construct
(#100) Short array syntax must be used to define arrays
(#116) Line exceeds 132 characters; contains 133 characters
(#126) Line exceeds 132 characters; contains 167 characters
(#137) Line exceeds 132 characters; contains 155 characters
(#179) Short array syntax must be used to define arrays
(#184) Line exceeds 132 characters; contains 162 characters
mod/hsuforum/classes/export/format_abstract.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) No one-line description found in phpdocs for docblock of class format_abstract
(#73) No one-line description found in phpdocs for docblock of function export_discussion
(#86) No one-line description found in phpdocs for docblock of function export_post
mod/hsuforum/classes/export/print_adapter.php
(#38) No one-line description found in phpdocs for docblock of class print_adapter
(#44) Missing docblock for function __construct
mod/hsuforum/classes/export/text_format.php
(#36) No one-line description found in phpdocs for docblock of class text_format
(#64) No one-line description found in phpdocs for docblock of function export_discussion
(#81) No one-line description found in phpdocs for docblock of function export_post
(#83) Short array syntax must be used to define arrays
mod/hsuforum/classes/form/export_form.php
(#19) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#23) Missing @copyright tag
(#23) Missing @license tag
(#23) Missing docblock for class export_form
(#24) Missing docblock for function definition
(#32) Line exceeds 132 characters; contains 166 characters
(#33) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
mod/hsuforum/classes/grades/gradeitems.php
(#29) Import statements must not begin with a leading backslash
(#30) Import statements must not begin with a leading backslash
mod/hsuforum/classes/local.php
(#20) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#22) Missing @copyright tag
(#22) Missing @license tag
(#22) Missing docblock for class local
mod/hsuforum/classes/message/inbound/reply_handler.php
(#75) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#106) Logical operator "and" is prohibited; use "&&" instead
(#199) Line exceeds 132 characters; contains 137 characters
(#210) Line exceeds 132 characters; contains 134 characters
(#229) Line exceeds 132 characters; contains 133 characters
(#249) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
(#256) There should be a comma after the last array item in a multi-line array.
(#323) Short array syntax must be used to define arrays
mod/hsuforum/classes/observer.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
mod/hsuforum/classes/output/big_search_form.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Missing member variable doc comment
(#45) Missing member variable doc comment
(#46) Missing member variable doc comment
(#47) Missing member variable doc comment
(#48) Missing member variable doc comment
(#49) Missing member variable doc comment
(#50) Missing member variable doc comment
(#51) Missing member variable doc comment
(#52) Missing member variable doc comment
(#53) Missing member variable doc comment
(#54) Missing member variable doc comment
(#55) Missing member variable doc comment
(#76) There should be a comma after the last array item in a multi-line array.
(#171) Missing docblock for function export_for_template
(#191) Short array syntax must be used to define arrays
(#197) Short array syntax must be used to define arrays
(#203) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/output/email/renderer_textemail.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/output/emaildigestbasic/renderer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/output/emaildigestbasic/renderer_textemail.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/output/emaildigestfull/renderer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/output/emaildigestfull/renderer_textemail.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/output/hsuforum_post.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#77) Expected "bool" but found "boolean" for @var tag in member variable comment
(#83) Expected "bool" but found "boolean" for @var tag in member variable comment
(#106) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#199) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#291) Short array syntax must be used to define arrays
(#307) Short array syntax must be used to define arrays
(#320) Method name "_get_discussionlink" should not be prefixed with an underscore to indicate visibility
(#323) Short array syntax must be used to define arrays
(#372) Short array syntax must be used to define arrays
(#388) Short array syntax must be used to define arrays
(#403) Short array syntax must be used to define arrays
(#419) Short array syntax must be used to define arrays
(#458) Short array syntax must be used to define arrays
(#469) Short array syntax must be used to define arrays
(#553) Short array syntax must be used to define arrays
mod/hsuforum/classes/output/hsuforum_post_email.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/output/quick_search_form.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#65) Missing docblock for function export_for_template
mod/hsuforum/classes/post_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#50) Short array syntax must be used to define arrays
(#55) There should be a comma after the last array item in a multi-line array.
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Short array syntax must be used to define arrays
(#73) Expected 1 space before "=>"; 0 found
(#74) Expected 1 space before "=>"; 0 found
(#75) There should be a comma after the last array item in a multi-line array.
(#84) Visibility must be declared on method "definition"
(#115) Line exceeds 132 characters; contains 163 characters
(#121) Line exceeds 132 characters; contains 149 characters
(#129) Short array syntax must be used to define arrays
(#135) Line indented incorrectly; expected 8 spaces, found 12
(#135) Closing brace indented incorrectly; expected 8 spaces, found 12
(#136) Line exceeds 132 characters; contains 150 characters
(#140) Line indented incorrectly; expected 8 spaces, found 12
(#143) Line exceeds 132 characters; contains 139 characters
(#152) Logical operator "and" is prohibited; use "&&" instead
(#152) Logical operator "and" is prohibited; use "&&" instead
(#157) Inline comments must start with a capital letter, digit or 3-dots sequence
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Logical operator "and" is prohibited; use "&&" instead
(#161) Logical operator "and" is prohibited; use "&&" instead
(#161) Line exceeds 132 characters; contains 137 characters
(#166) Short array syntax must be used to define arrays
(#167) Short array syntax must be used to define arrays
(#167) Line exceeds 132 characters; contains 145 characters
(#171) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#176) Short array syntax must be used to define arrays
(#228) Line exceeds 132 characters; contains 135 characters
(#234) Commas (,) must be followed by white space.
(#247) Line exceeds 132 characters; contains 151 characters
(#247) Inline comments must start with a capital letter, digit or 3-dots sequence
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Short array syntax must be used to define arrays
(#250) Line exceeds 132 characters; contains 133 characters
(#253) Short array syntax must be used to define arrays
(#261) Short array syntax must be used to define arrays
(#261) Expected 1 space before "=>"; 0 found
(#261) Expected 1 space before "=>"; 0 found
(#261) Expected 1 space after "=>"; 0 found
(#268) Short array syntax must be used to define arrays
(#271) Inline comments must start with a capital letter, digit or 3-dots sequence
(#271) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#273) Inline comments must start with a capital letter, digit or 3-dots sequence
(#273) Inline comments must end in full-stops, exclamation marks, or question marks
(#274) Variable "submit_string" must not contain underscores.
(#276) Variable "submit_string" must not contain underscores.
(#278) Variable "submit_string" must not contain underscores.
(#311) Visibility must be declared on method "validation"
(#313) Expected 1 space before "!="; 0 found
(#313) Expected 1 space after "!="; 0 found
(#313) Expected 1 space before "!="; 0 found
(#313) Expected 1 space after "!="; 0 found
mod/hsuforum/classes/privacy/provider.php
(#17) Missing @copyright tag
(#17) Missing @license tag
(#25) Import statements must not begin with a leading backslash
(#26) Import statements must not begin with a leading backslash
(#27) Import statements must not begin with a leading backslash
(#28) Import statements must not begin with a leading backslash
(#29) Import statements must not begin with a leading backslash
(#30) Import statements must not begin with a leading backslash
(#31) Import statements must not begin with a leading backslash
(#32) Import statements must not begin with a leading backslash
(#34) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#62) There must not be a space before the colon in a return type declaration
(#96) No space found before comment text; expected "// The 'hsuforum_queue' table contains user data, but it is only a temporary cache of other data." but found "//The 'hsuforum_queue' table contains user data, but it is only a temporary cache of other data."
(#101) There should be a comma after the last array item in a multi-line array.
(#144) There must not be a space before the colon in a return type declaration
(#253) Expected 1 space before opening brace; found 2
(#386) Line exceeds 132 characters; contains 152 characters
(#438) Whitespace found at end of line within string
(#522) Whitespace found at end of line within string
(#532) Using ${var} in strings is deprecated since PHP 8.2, use {$var} instead. Found: ${hsuforuminsql}
(#557) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#564) There should be a comma after the last array item in a multi-line array.
(#605) Invalid docblock tag "@params".
(#630) Using ${var} in strings is deprecated since PHP 8.2, use {$var} instead. Found: ${hsuforuminsql}
(#787) Line exceeds 132 characters; contains 135 characters
(#794) Line exceeds 132 characters; contains 139 characters
(#868) Short array syntax must be used to define arrays
(#868) Line exceeds 132 characters; contains 141 characters
(#984) Functions must not contain multiple empty lines in a row; found 2 empty lines
mod/hsuforum/classes/privacy/subcontext_info.php
(#17) Missing @copyright tag
(#26) Import statements must not begin with a leading backslash
(#27) Import statements must not begin with a leading backslash
(#28) Import statements must not begin with a leading backslash
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) There must not be a space before the colon in a return type declaration
(#68) There must not be a space before the colon in a return type declaration
(#79) Missing docblock for function get_post_area_for_parent
(#91) Missing docblock for function get_subcontext
mod/hsuforum/classes/prune_form.php
(#25) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#47) Short array syntax must be used to define arrays
mod/hsuforum/classes/renderables/advanced_editor.php
(#19) Incorrect @package tag for file advanced_editor.php. Expected mod_hsuforum, found mod.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Missing docblock for class advanced_editor
(#46) No one-line description found in phpdocs for docblock of function __construct
(#56) Expected 1 space before opening brace; found 0
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Short array syntax must be used to define arrays
(#79) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Variable "image_options" must not contain underscores.
(#81) Variable "image_options" must not contain underscores.
(#82) Variable "image_options" must not contain underscores.
(#83) Variable "image_options" must not contain underscores.
(#84) Variable "image_options" must not contain underscores.
(#85) Variable "image_options" must not contain underscores.
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Short array syntax must be used to define arrays
(#89) Variable "media_options" must not contain underscores.
(#90) Variable "media_options" must not contain underscores.
(#91) Variable "media_options" must not contain underscores.
(#92) Variable "media_options" must not contain underscores.
(#93) Variable "media_options" must not contain underscores.
(#94) Variable "media_options" must not contain underscores.
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Variable "link_options" must not contain underscores.
(#99) Variable "link_options" must not contain underscores.
(#100) Variable "link_options" must not contain underscores.
(#101) Variable "link_options" must not contain underscores.
(#102) Variable "link_options" must not contain underscores.
(#103) Variable "link_options" must not contain underscores.
(#105) Variable "image_options" must not contain underscores.
(#106) Variable "media_options" must not contain underscores.
(#107) Variable "link_options" must not contain underscores.
(#113) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/response/json_response.php
(#23) Incorrect @package tag for file json_response.php. Expected mod_hsuforum, found mod.
(#43) No one-line description found in phpdocs for docblock of class json_response
(#52) No one-line description found in phpdocs for docblock of function __construct
(#52) Visibility must be declared on method "__construct"
mod/hsuforum/classes/response/response_interface.php
(#23) Incorrect @package tag for file response_interface.php. Expected mod_hsuforum, found mod.
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/search/activity.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/search/post.php
(#43) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Short array syntax must be used to define arrays
(#147) There should be a comma after the last array item in a multi-line array.
(#243) Short array syntax must be used to define arrays
(#254) Short array syntax must be used to define arrays
(#287) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#318) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/service/discussion_service.php
(#45) No one-line description found in phpdocs for docblock of class discussion_service
(#51) Missing docblock for function __construct
(#98) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#176) Line exceeds 132 characters; contains 134 characters
(#216) Short array syntax must be used to define arrays
(#240) Short array syntax must be used to define arrays
(#243) Short array syntax must be used to define arrays
(#245) There should be a comma after the last array item in a multi-line array.
(#261) Short array syntax must be used to define arrays
(#264) Line exceeds 132 characters; contains 153 characters
(#287) Short array syntax must be used to define arrays
mod/hsuforum/classes/service/form_service.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) No one-line description found in phpdocs for docblock of class form_service
(#61) Docblock tag "@global" is not recommended.
(#62) Docblock tag "@global" is not recommended.
(#72) Line exceeds 132 characters; contains 140 characters
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Variable "file_record" must not contain underscores.
(#90) Short array syntax must be used to define arrays
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#91) Logical operator "and" is prohibited; use "&&" instead
(#93) Logical operator "and" is prohibited; use "&&" instead
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Logical operator "and" is prohibited; use "&&" instead
(#98) Logical operator "or" is prohibited; use "||" instead
(#103) Variable "file_record" must not contain underscores.
(#108) Variable "file_record" must not contain underscores.
(#113) 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
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#141) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) Missing docblock for function prepare_message_for_edit
(#154) Short array syntax must be used to define arrays
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#190) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#218) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/service/post_service.php
(#45) No one-line description found in phpdocs for docblock of class post_service
(#56) Missing docblock for function __construct
(#96) Short array syntax must be used to define arrays
(#152) IF keyword must be lowercase; expected "if" but found "If"
(#169) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#196) Logical operator "and" is prohibited; use "&&" instead
(#216) Short array syntax must be used to define arrays
(#266) Short array syntax must be used to define arrays
(#281) Line exceeds 132 characters; contains 138 characters
(#342) Short array syntax must be used to define arrays
(#362) Inline comments must end in full-stops, exclamation marks, or question marks
(#370) Short array syntax must be used to define arrays
(#373) Short array syntax must be used to define arrays
(#377) There should be a comma after the last array item in a multi-line array.
(#396) Short array syntax must be used to define arrays
(#399) Short array syntax must be used to define arrays
(#403) There should be a comma after the last array item in a multi-line array.
(#419) No one-line description found in phpdocs for docblock of function create_error_response
(#425) Short array syntax must be used to define arrays
mod/hsuforum/classes/subscriptions.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#51) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#166) Must use "self::" for local static member reference
(#167) Must use "self::" for local static member reference
(#207) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#221) Short array syntax must be used to define arrays
(#226) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
(#272) Short array syntax must be used to define arrays
(#276) Short array syntax must be used to define arrays
(#297) Short array syntax must be used to define arrays
(#301) Short array syntax must be used to define arrays
mod/hsuforum/classes/task/cron_task.php
(#28) Missing docblock for class cron_task
mod/hsuforum/classes/upload_file.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#38) No one-line description found in phpdocs for docblock of class upload_file
(#61) Expected "bool" but found "boolean" for @var tag in member variable comment
(#70) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#86) No one-line description found in phpdocs for docblock of function __construct
(#103) Short array syntax must be used to define arrays
(#168) Line indented incorrectly; expected at least 16 spaces, found 15
(#200) Line exceeds 132 characters; contains 133 characters
(#227) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) No one-line description found in phpdocs for docblock of function save_files
(#258) Expected 1 space before opening brace; found 0
(#259) Short array syntax must be used to define arrays
(#270) Expected 1 space before opening brace; found 0
(#271) Expected "if (...) {\n"; found "if (...){\n"
mod/hsuforum/db/access.php
(#29) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#38) There should be a comma after the last array item in a multi-line array.
(#40) There should be a comma after the last array item in a multi-line array.
(#43) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) There should be a comma after the last array item in a multi-line array.
(#54) There should be a comma after the last array item in a multi-line array.
(#57) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#64) There should be a comma after the last array item in a multi-line array.
(#65) There should be a comma after the last array item in a multi-line array.
(#68) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#78) There should be a comma after the last array item in a multi-line array.
(#79) There should be a comma after the last array item in a multi-line array.
(#82) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#92) There should be a comma after the last array item in a multi-line array.
(#93) There should be a comma after the last array item in a multi-line array.
(#96) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#105) There should be a comma after the last array item in a multi-line array.
(#106) There should be a comma after the last array item in a multi-line array.
(#109) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#118) There should be a comma after the last array item in a multi-line array.
(#119) There should be a comma after the last array item in a multi-line array.
(#122) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#130) There should be a comma after the last array item in a multi-line array.
(#131) There should be a comma after the last array item in a multi-line array.
(#134) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#142) There should be a comma after the last array item in a multi-line array.
(#143) There should be a comma after the last array item in a multi-line array.
(#146) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#154) There should be a comma after the last array item in a multi-line array.
(#156) Expected 1 space after "=>"; 2 found
(#156) There should be a comma after the last array item in a multi-line array.
(#159) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#166) There should be a comma after the last array item in a multi-line array.
(#167) There should be a comma after the last array item in a multi-line array.
(#170) Short array syntax must be used to define arrays
(#176) Short array syntax must be used to define arrays
(#180) There should be a comma after the last array item in a multi-line array.
(#181) There should be a comma after the last array item in a multi-line array.
(#184) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#192) There should be a comma after the last array item in a multi-line array.
(#193) There should be a comma after the last array item in a multi-line array.
(#196) Short array syntax must be used to define arrays
(#200) Short array syntax must be used to define arrays
(#203) There should be a comma after the last array item in a multi-line array.
(#204) There should be a comma after the last array item in a multi-line array.
(#207) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#214) There should be a comma after the last array item in a multi-line array.
(#215) There should be a comma after the last array item in a multi-line array.
(#218) Short array syntax must be used to define arrays
(#222) Short array syntax must be used to define arrays
(#225) There should be a comma after the last array item in a multi-line array.
(#226) There should be a comma after the last array item in a multi-line array.
(#229) Short array syntax must be used to define arrays
(#233) Short array syntax must be used to define arrays
(#236) There should be a comma after the last array item in a multi-line array.
(#237) There should be a comma after the last array item in a multi-line array.
(#240) Short array syntax must be used to define arrays
(#246) Short array syntax must be used to define arrays
(#249) There should be a comma after the last array item in a multi-line array.
(#250) There should be a comma after the last array item in a multi-line array.
(#253) Short array syntax must be used to define arrays
(#257) Short array syntax must be used to define arrays
(#261) There should be a comma after the last array item in a multi-line array.
(#262) There should be a comma after the last array item in a multi-line array.
(#265) Short array syntax must be used to define arrays
(#269) Short array syntax must be used to define arrays
(#272) There should be a comma after the last array item in a multi-line array.
(#273) There should be a comma after the last array item in a multi-line array.
(#276) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#283) There should be a comma after the last array item in a multi-line array.
(#284) There should be a comma after the last array item in a multi-line array.
(#287) Short array syntax must be used to define arrays
(#293) Short array syntax must be used to define arrays
(#296) There should be a comma after the last array item in a multi-line array.
(#297) There should be a comma after the last array item in a multi-line array.
(#300) Short array syntax must be used to define arrays
(#306) Short array syntax must be used to define arrays
(#309) There should be a comma after the last array item in a multi-line array.
(#310) There should be a comma after the last array item in a multi-line array.
(#313) Short array syntax must be used to define arrays
(#319) Short array syntax must be used to define arrays
(#322) There should be a comma after the last array item in a multi-line array.
(#323) There should be a comma after the last array item in a multi-line array.
(#325) Short array syntax must be used to define arrays
(#331) Short array syntax must be used to define arrays
(#334) There should be a comma after the last array item in a multi-line array.
(#335) There should be a comma after the last array item in a multi-line array.
(#337) Short array syntax must be used to define arrays
(#343) Short array syntax must be used to define arrays
(#348) There should be a comma after the last array item in a multi-line array.
(#350) Short array syntax must be used to define arrays
(#356) Short array syntax must be used to define arrays
(#359) There should be a comma after the last array item in a multi-line array.
(#360) There should be a comma after the last array item in a multi-line array.
(#363) Short array syntax must be used to define arrays
(#369) Short array syntax must be used to define arrays
(#374) There should be a comma after the last array item in a multi-line array.
(#375) There should be a comma after the last array item in a multi-line array.
(#378) Expected 1 space before "=>"; 0 found
(#378) Short array syntax must be used to define arrays
(#382) Short array syntax must be used to define arrays
(#387) There should be a comma after the last array item in a multi-line array.
(#388) There should be a comma after the last array item in a multi-line array.
(#391) Short array syntax must be used to define arrays
(#395) Short array syntax must be used to define arrays
(#399) There should be a comma after the last array item in a multi-line array.
(#400) There should be a comma after the last array item in a multi-line array.
(#402) Short array syntax must be used to define arrays
(#406) Short array syntax must be used to define arrays
(#410) There should be a comma after the last array item in a multi-line array.
(#411) There should be a comma after the last array item in a multi-line array.
(#413) Short array syntax must be used to define arrays
(#417) Short array syntax must be used to define arrays
(#420) There should be a comma after the last array item in a multi-line array.
(#421) There should be a comma after the last array item in a multi-line array.
(#423) Short array syntax must be used to define arrays
(#426) Short array syntax must be used to define arrays
(#429) There should be a comma after the last array item in a multi-line array.
(#430) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/db/events.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#38) There should be a comma after the last array item in a multi-line array.
(#41) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
mod/hsuforum/db/log.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#35) Short array syntax must be used to define arrays
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#36) Short array syntax must be used to define arrays
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#37) Short array syntax must be used to define arrays
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#38) Short array syntax must be used to define arrays
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#39) Short array syntax must be used to define arrays
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#39) Line exceeds 132 characters; contains 138 characters
(#40) Short array syntax must be used to define arrays
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#41) Short array syntax must be used to define arrays
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#42) Short array syntax must be used to define arrays
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#43) Short array syntax must be used to define arrays
(#43) Expected 1 space before "=>"; 0 found
(#43) Expected 1 space after "=>"; 0 found
(#43) Expected 1 space before "=>"; 0 found
(#43) Expected 1 space after "=>"; 0 found
(#44) Short array syntax must be used to define arrays
(#44) Expected 1 space before "=>"; 0 found
(#44) Expected 1 space after "=>"; 0 found
(#44) Expected 1 space before "=>"; 0 found
(#44) Expected 1 space after "=>"; 0 found
(#45) Short array syntax must be used to define arrays
(#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
(#46) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
mod/hsuforum/db/messageinbound_handlers.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
mod/hsuforum/db/messages.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
mod/hsuforum/db/services.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) Short array syntax must be used to define arrays
(#27) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#46) There should be a comma after the last array item in a multi-line array.
(#49) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
(#59) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#66) There should be a comma after the last array item in a multi-line array.
(#69) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#76) There should be a comma after the last array item in a multi-line array.
(#79) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#86) There should be a comma after the last array item in a multi-line array.
(#89) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#96) There should be a comma after the last array item in a multi-line array.
(#99) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#105) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/db/tag.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
mod/hsuforum/db/tasks.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/db/upgrade.php
(#45) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#47) Missing docblock for function xmldb_hsuforum_upgrade
(#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
(#55) Short array syntax must be used to define arrays
(#58) There should be a comma after the last array item in a multi-line array.
(#63) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#103) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#141) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Short array syntax must be used to define arrays
(#167) There should be a comma after the last array item in a multi-line array.
(#173) Expected "if (...) {\n"; found "if (...){\n"
(#199) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#206) Short array syntax must be used to define arrays
(#235) Line exceeds 132 characters; contains 134 characters
(#273) Short array syntax must be used to define arrays
(#337) A comma after the last array item in a single-line array is not allowed.
(#337) Commas (,) must be followed by white space.
mod/hsuforum/discuss.php
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Line indented incorrectly; expected 0 spaces, found 4
(#42) Line indented incorrectly; expected 4 spaces, found 8
(#44) Line indented incorrectly; expected 4 spaces, found 8
(#45) Line indented incorrectly; expected 0 spaces, found 4
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Short array syntax must be used to define arrays
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#57) Line indented incorrectly; expected 0 spaces, found 4
(#59) Line indented incorrectly; expected 0 spaces, found 4
(#62) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#75) Line indented incorrectly; expected 0 spaces, found 4
(#80) Short array syntax must be used to define arrays
(#82) There should be a comma after the last array item in a multi-line array.
(#91) Line indented incorrectly; expected 0 spaces, found 4
(#93) Line indented incorrectly; expected 0 spaces, found 4
(#96) Short array syntax must be used to define arrays
(#96) Line exceeds 132 characters; contains 156 characters
(#98) Line indented incorrectly; expected 0 spaces, found 4
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) 3 slashes comments are not allowed; use "// Comment." instead
(#101) Line indented incorrectly; expected 0 spaces, found 4
(#101) Logical operator "and" is prohibited; use "&&" instead
(#106) Line indented incorrectly; expected 4 spaces, found 8
(#108) Line indented incorrectly; expected 4 spaces, found 8
(#110) Line indented incorrectly; expected 4 spaces, found 8
(#110) Short array syntax must be used to define arrays
(#112) Line indented incorrectly; expected 4 spaces, found 8
(#114) Line indented incorrectly; expected 4 spaces, found 8
(#116) Line indented incorrectly; expected 4 spaces, found 8
(#121) Line indented incorrectly; expected 4 spaces, found 8
(#123) Line indented incorrectly; expected 4 spaces, found 8
(#125) Line indented incorrectly; expected 4 spaces, found 8
(#127) Line indented incorrectly; expected 4 spaces, found 8
(#132) Line indented incorrectly; expected 4 spaces, found 8
(#132) Logical operator "or" is prohibited; use "||" instead
(#133) Line indented incorrectly; expected 8 spaces, found 12
(#135) Line indented incorrectly; expected 8 spaces, found 12
(#136) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#145) There should be a comma after the last array item in a multi-line array.
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) Line indented incorrectly; expected 4 spaces, found 8
(#160) Line indented incorrectly; expected 0 spaces, found 4
(#163) Line indented incorrectly; expected 0 spaces, found 4
(#166) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#168) Line indented incorrectly; expected 4 spaces, found 8
(#169) Line indented incorrectly; expected 8 spaces, found 12
(#173) Line indented incorrectly; expected 8 spaces, found 12
(#177) Line indented incorrectly; expected 8 spaces, found 12
(#180) Line indented incorrectly; expected 4 spaces, found 8
(#182) Short array syntax must be used to define arrays
(#183) Line indented incorrectly; expected 0 spaces, found 4
(#190) Line indented incorrectly; expected 0 spaces, found 4
(#192) Line indented incorrectly; expected 0 spaces, found 4
(#194) Line indented incorrectly; expected 0 spaces, found 4
(#196) Line indented incorrectly; expected 0 spaces, found 4
(#198) Line indented incorrectly; expected 0 spaces, found 4
(#200) Line indented incorrectly; expected 0 spaces, found 4
(#202) Line indented incorrectly; expected 0 spaces, found 4
(#204) Line indented incorrectly; expected 0 spaces, found 4
(#208) Line indented incorrectly; expected 0 spaces, found 4
(#210) Line indented incorrectly; expected 0 spaces, found 4
(#212) Line indented incorrectly; expected 0 spaces, found 4
(#213) Short array syntax must be used to define arrays
(#213) Expected 1 space before "=>"; 0 found
(#213) Expected 1 space after "=>"; 0 found
(#213) Line exceeds 132 characters; contains 136 characters
(#215) Line indented incorrectly; expected 0 spaces, found 4
(#217) Line indented incorrectly; expected 0 spaces, found 4
(#228) Line indented incorrectly; expected 0 spaces, found 4
(#230) Line indented incorrectly; expected 0 spaces, found 4
(#234) 3 slashes comments are not allowed; use "// Comment." instead
(#235) 3 slashes comments are not allowed; use "// Comment." instead
(#236) Inline comments must end in full-stops, exclamation marks, or question marks
(#236) 3 slashes comments are not allowed; use "// Comment." instead
(#239) Line indented incorrectly; expected 0 spaces, found 4
(#239) Logical operator "and" is prohibited; use "&&" instead
(#240) Line indented incorrectly; expected 4 spaces, found 8
(#240) Logical operator "or" is prohibited; use "||" instead
(#242) Line indented incorrectly; expected 4 spaces, found 8
(#243) Line indented incorrectly; expected 4 spaces, found 8
(#243) Logical operator "and" is prohibited; use "&&" instead
(#244) Inline comments must start with a capital letter, digit or 3-dots sequence
(#245) Inline comments must end in full-stops, exclamation marks, or question marks
(#247) Line indented incorrectly; expected 4 spaces, found 8
(#248) Line indented incorrectly; expected 0 spaces, found 4
(#251) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) Line indented incorrectly; expected 0 spaces, found 4
(#252) Logical operator "and" is prohibited; use "&&" instead
(#255) Short array syntax must be used to define arrays
(#256) Short array syntax must be used to define arrays
(#258) Line indented incorrectly; expected 0 spaces, found 4
(#260) Line indented incorrectly; expected 0 spaces, found 4
(#263) Line indented incorrectly; expected 0 spaces, found 4
(#265) Line indented incorrectly; expected 0 spaces, found 4
(#269) Commas (,) must be followed by white space.
(#269) Commas (,) must be followed by white space.
(#270) Line indented incorrectly; expected 0 spaces, found 4
(#272) Line indented incorrectly; expected 0 spaces, found 4
(#273) Commas (,) must be followed by white space.
(#273) Commas (,) must be followed by white space.
(#275) Line indented incorrectly; expected 0 spaces, found 4
(#277) Line indented incorrectly; expected 0 spaces, found 4
(#277) Logical operator "and" is prohibited; use "&&" instead
(#278) Commas (,) must be followed by white space.
(#279) Line indented incorrectly; expected 0 spaces, found 4
(#286) Line indented incorrectly; expected 0 spaces, found 4
(#286) Line exceeds 132 characters; contains 147 characters
(#289) Short array syntax must be used to define arrays
(#292) Line indented incorrectly; expected 4 spaces, found 8
(#293) Inline comments must start with a capital letter, digit or 3-dots sequence
(#296) Line indented incorrectly; expected 4 spaces, found 8
(#297) Short array syntax must be used to define arrays
(#298) Line indented incorrectly; expected 0 spaces, found 4
(#300) Line indented incorrectly; expected 0 spaces, found 4
(#300) Expected 1 space after "!="; 0 found
(#306) Line indented incorrectly; expected 4 spaces, found 8
(#307) Short array syntax must be used to define arrays
(#309) Short array syntax must be used to define arrays
(#309) Commas (,) must be followed by white space.
(#310) Line indented incorrectly; expected 8 spaces, found 12
(#311) Line indented incorrectly; expected 12 spaces, found 16
(#314) Line indented incorrectly; expected 12 spaces, found 16
(#317) Line indented incorrectly; expected 12 spaces, found 16
(#318) Short array syntax must be used to define arrays
(#318) Short array syntax must be used to define arrays
(#319) Line indented incorrectly; expected 12 spaces, found 16
(#322) Line indented incorrectly; expected 12 spaces, found 16
(#322) Logical operator "and" is prohibited; use "&&" instead
(#325) Line indented incorrectly; expected 12 spaces, found 16
(#326) Line indented incorrectly; expected 8 spaces, found 12
(#327) Line indented incorrectly; expected 4 spaces, found 8
(#329) Line indented incorrectly; expected 0 spaces, found 4
(#330) Line indented incorrectly; expected 0 spaces, found 4
(#333) Short array syntax must be used to define arrays
(#337) Line indented incorrectly; expected 0 spaces, found 4
(#338) Line indented incorrectly; expected 0 spaces, found 4
(#344) Line indented incorrectly; expected 4 spaces, found 8
(#345) Line indented incorrectly; expected 8 spaces, found 12
(#374) Line indented incorrectly; expected 8 spaces, found 16
(#376) Line indented incorrectly; expected 8 spaces, found 16
(#378) Line indented incorrectly; expected 8 spaces, found 16
(#388) Line indented incorrectly; expected 8 spaces, found 12
(#390) Line indented incorrectly; expected 8 spaces, found 12
(#393) Line indented incorrectly; expected 12 spaces, found 16
(#395) Line indented incorrectly; expected 16 spaces, found 20
(#397) Line indented incorrectly; expected 20 spaces, found 24
(#418) Line indented incorrectly; expected 20 spaces, found 24
(#419) Line indented incorrectly; expected 16 spaces, found 20
(#420) Line indented incorrectly; expected 12 spaces, found 16
(#421) Line indented incorrectly; expected 8 spaces, found 12
(#422) Line indented incorrectly; expected 4 spaces, found 8
(#423) Line indented incorrectly; expected 0 spaces, found 4
mod/hsuforum/externallib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Missing docblock for class mod_hsuforum_external
(#40) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#154) Line exceeds 132 characters; contains 135 characters
(#156) Line exceeds 132 characters; contains 137 characters
(#172) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#190) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#201) Short array syntax must be used to define arrays
(#202) Short array syntax must be used to define arrays
(#203) Short array syntax must be used to define arrays
(#235) Short array syntax must be used to define arrays
(#256) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#319) Short array syntax must be used to define arrays
(#322) Short array syntax must be used to define arrays
(#344) There should be a comma after the last array item in a multi-line array.
(#349) There should be a comma after the last array item in a multi-line array.
(#362) Short array syntax must be used to define arrays
(#391) Short array syntax must be used to define arrays
(#392) Short array syntax must be used to define arrays
(#395) Short array syntax must be used to define arrays
(#400) There should be a comma after the last array item in a multi-line array.
(#411) Short array syntax must be used to define arrays
(#418) Short array syntax must be used to define arrays
(#424) Short array syntax must be used to define arrays
(#425) Short array syntax must be used to define arrays
(#433) Short array syntax must be used to define arrays
(#434) Short array syntax must be used to define arrays
(#435) Short array syntax must be used to define arrays
(#466) Short array syntax must be used to define arrays
(#543) Short array syntax must be used to define arrays
(#558) Short array syntax must be used to define arrays
(#561) Short array syntax must be used to define arrays
(#596) There should be a comma after the last array item in a multi-line array.
(#608) Short array syntax must be used to define arrays
(#609) There should be a comma after the last array item in a multi-line array.
(#627) Short array syntax must be used to define arrays
(#628) There should be a comma after the last array item in a multi-line array.
(#630) Short array syntax must be used to define arrays
(#631) Short array syntax must be used to define arrays
(#634) Short array syntax must be used to define arrays
(#645) Short array syntax must be used to define arrays
(#659) Short array syntax must be used to define arrays
(#661) There should be a comma after the last array item in a multi-line array.
(#674) Short array syntax must be used to define arrays
(#675) There should be a comma after the last array item in a multi-line array.
(#693) Short array syntax must be used to define arrays
(#694) There should be a comma after the last array item in a multi-line array.
(#696) Short array syntax must be used to define arrays
(#698) Short array syntax must be used to define arrays
(#699) Short array syntax must be used to define arrays
(#713) Short array syntax must be used to define arrays
(#727) Short array syntax must be used to define arrays
(#729) There should be a comma after the last array item in a multi-line array.
(#742) Short array syntax must be used to define arrays
(#749) Short array syntax must be used to define arrays
(#758) There should be a comma after the last array item in a multi-line array.
(#760) Short array syntax must be used to define arrays
(#760) There should be a comma after the last array item in a multi-line array.
(#776) Short array syntax must be used to define arrays
(#781) Short array syntax must be used to define arrays
(#785) There should be a comma after the last array item in a multi-line array.
(#788) Short array syntax must be used to define arrays
(#794) Short array syntax must be used to define arrays
(#799) Short array syntax must be used to define arrays
(#806) Short array syntax must be used to define arrays
(#809) There should be a comma after the last array item in a multi-line array.
(#861) Short array syntax must be used to define arrays
(#864) Short array syntax must be used to define arrays
(#868) There should be a comma after the last array item in a multi-line array.
(#889) Short array syntax must be used to define arrays
(#903) Short array syntax must be used to define arrays
(#905) There should be a comma after the last array item in a multi-line array.
(#918) Short array syntax must be used to define arrays
(#925) Short array syntax must be used to define arrays
(#935) There should be a comma after the last array item in a multi-line array.
(#937) Short array syntax must be used to define arrays
(#937) There should be a comma after the last array item in a multi-line array.
(#954) Short array syntax must be used to define arrays
(#959) Short array syntax must be used to define arrays
(#964) There should be a comma after the last array item in a multi-line array.
(#967) Short array syntax must be used to define arrays
(#970) Short array syntax must be used to define arrays
(#977) Short array syntax must be used to define arrays
(#981) There should be a comma after the last array item in a multi-line array.
(#1059) Short array syntax must be used to define arrays
(#1062) Short array syntax must be used to define arrays
(#1064) There should be a comma after the last array item in a multi-line array.
(#1083) Short array syntax must be used to define arrays
(#1097) Short array syntax must be used to define arrays
(#1099) There should be a comma after the last array item in a multi-line array.
(#1112) Short array syntax must be used to define arrays
(#1115) There should be a comma after the last array item in a multi-line array.
(#1134) Short array syntax must be used to define arrays
(#1138) Short array syntax must be used to define arrays
(#1141) Short array syntax must be used to define arrays
(#1149) Short array syntax must be used to define arrays
(#1165) Short array syntax must be used to define arrays
(#1171) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/index.php
(#1) No one-line description found in phpdocs for docblock of file index.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#58) There should be a comma after the last array item in a multi-line array.
(#82) Variable "digestoptions_selector" must not contain underscores.
(#83) Short array syntax must be used to define arrays
(#90) Variable "digestoptions_selector" must not contain underscores.
(#94) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#100) Variable "subscribed_forums" must not contain underscores.
(#102) Variable "can_subscribe" must not contain underscores.
(#103) Variable "can_subscribe" must not contain underscores.
(#111) Variable "show_rss" must not contain underscores.
(#111) Variable "can_subscribe" must not contain underscores.
(#132) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#140) Logical operator "or" is prohibited; use "||" instead
(#164) Logical operator "or" is prohibited; use "||" instead
(#167) Logical operator "or" is prohibited; use "||" instead
(#175) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) 3 slashes comments are not allowed; use "// Comment." instead
(#176) Logical operator "and" is prohibited; use "&&" instead
(#177) Expected 1 space before "=>"; 0 found
(#177) Expected 1 space after "=>"; 0 found
(#177) Expected 1 space before "=>"; 0 found
(#177) Expected 1 space after "=>"; 0 found
(#185) Expected "if (...) {\n"; found "if (...)\n {\n"
(#192) Line exceeds maximum limit of 180 characters; contains 193 characters
(#199) Short array syntax must be used to define arrays
(#200) Short array syntax must be used to define arrays
(#227) Line indented incorrectly; expected 8 spaces, found 9
(#227) Closing brace indented incorrectly; expected 8 spaces, found 9
(#229) Line indented incorrectly; expected 8 spaces, found 9
(#238) Commas (,) must be followed by white space.
(#241) Short array syntax must be used to define arrays
(#244) Short array syntax must be used to define arrays
(#251) Variable "show_rss" must not contain underscores.
(#252) Logical operator "and" is prohibited; use "&&" instead
(#253) Inline comments must end in full-stops, exclamation marks, or question marks
(#253) No space found before comment text; expected "// Calculate the tooltip text" but found "//Calculate the tooltip text"
(#265) Inline comments must end in full-stops, exclamation marks, or question marks
(#265) No space found before comment text; expected "// Get html code for RSS link" but found "//Get html code for RSS link"
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#293) Variable "show_rss" must not contain underscores.
(#293) Variable "can_subscribe" must not contain underscores.
(#300) Inline comments must end in full-stops, exclamation marks, or question marks
(#300) 3 slashes comments are not allowed; use "// Comment." instead
(#303) Inline comments must end in full-stops, exclamation marks, or question marks
(#305) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) Line indented incorrectly; expected 8 spaces, found 12
(#319) Line indented incorrectly; expected 12 spaces, found 13
(#319) Closing brace indented incorrectly; expected 12 spaces, found 13
(#321) Line indented incorrectly; expected 12 spaces, found 13
(#335) Commas (,) must be followed by white space.
(#342) Commas (,) must be followed by white space.
(#345) Short array syntax must be used to define arrays
(#347) Variable "can_subscribe" must not contain underscores.
(#348) Short array syntax must be used to define arrays
(#350) Variable "subscribed_forums" must not contain underscores.
(#352) Variable "digestoptions_selector" must not contain underscores.
(#354) Variable "digestoptions_selector" must not contain underscores.
(#356) Variable "digestoptions_selector" must not contain underscores.
(#358) Variable "digestoptions_selector" must not contain underscores.
(#361) Inline comments must end in full-stops, exclamation marks, or question marks
(#361) No space found before comment text; expected "// If this forum has RSS activated, calculate it" but found "//If this forum has RSS activated, calculate it"
(#362) Variable "show_rss" must not contain underscores.
(#363) Logical operator "and" is prohibited; use "&&" instead
(#364) Inline comments must end in full-stops, exclamation marks, or question marks
(#364) No space found before comment text; expected "// Calculate the tolltip text" but found "//Calculate the tolltip text"
(#370) Inline comments must end in full-stops, exclamation marks, or question marks
(#370) No space found before comment text; expected "// Get html code for RSS link" but found "//Get html code for RSS link"
(#378) Closing brace indented incorrectly; expected 12 spaces, found 8
(#383) Inline comments must end in full-stops, exclamation marks, or question marks
(#383) 3 slashes comments are not allowed; use "// Comment." instead
(#393) Short array syntax must be used to define arrays
(#393) Expected 1 space before "=>"; 0 found
(#393) Expected 1 space after "=>"; 0 found
(#393) Expected 1 space before "=>"; 0 found
(#393) Expected 1 space after "=>"; 0 found
(#393) Expected 1 space before "=>"; 0 found
(#393) Expected 1 space after "=>"; 0 found
(#395) Short array syntax must be used to define arrays
(#395) Expected 1 space before "=>"; 0 found
(#395) Expected 1 space after "=>"; 0 found
(#397) Short array syntax must be used to define arrays
(#397) Expected 1 space before "=>"; 0 found
(#397) Expected 1 space after "=>"; 0 found
(#397) Expected 1 space before "=>"; 0 found
(#397) Expected 1 space after "=>"; 0 found
(#397) Expected 1 space before "=>"; 0 found
(#397) Expected 1 space after "=>"; 0 found
(#399) Short array syntax must be used to define arrays
(#399) Expected 1 space before "=>"; 0 found
(#399) Expected 1 space after "=>"; 0 found
mod/hsuforum/lib.php
(#1) No one-line description found in phpdocs for docblock of file lib.php
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) 3 slashes comments are not allowed; use "// Comment." instead
(#37) Commas (,) must be followed by white space.
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) 3 slashes comments are not allowed; use "// Comment." instead
(#105) Logical operator "or" is prohibited; use "||" instead
(#124) Expected 1 space after "="; 2 found
(#130) Logical operator "and" is prohibited; use "&&" instead
(#132) Short array syntax must be used to define arrays
(#132) Expected 1 space before "=>"; 0 found
(#132) Expected 1 space after "=>"; 0 found
(#133) Short array syntax must be used to define arrays
(#133) Expected 1 space before "=>"; 0 found
(#133) Expected 1 space after "=>"; 0 found
(#135) Short array syntax must be used to define arrays
(#135) Expected 1 space before "=>"; 0 found
(#135) Expected 1 space after "=>"; 0 found
(#136) Line exceeds 132 characters; contains 144 characters
(#137) Short array syntax must be used to define arrays
(#137) Expected 1 space before "=>"; 0 found
(#137) Expected 1 space after "=>"; 0 found
(#171) Docblock tag "@global" is not recommended.
(#192) Logical operator "or" is prohibited; use "||" instead
(#197) Short array syntax must be used to define arrays
(#197) Expected 1 space before "=>"; 0 found
(#197) Expected 1 space after "=>"; 0 found
(#201) Line exceeds 132 characters; contains 147 characters
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#202) Expected 1 space before "<>"; 0 found
(#202) Expected 1 space after "<>"; 0 found
(#202) Logical operator "or" is prohibited; use "||" instead
(#202) Expected 1 space before "<>"; 0 found
(#202) Expected 1 space after "<>"; 0 found
(#203) Inline comments must start with a capital letter, digit or 3-dots sequence
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Short array syntax must be used to define arrays
(#207) Expected 1 space before "=>"; 0 found
(#207) Expected 1 space after "=>"; 0 found
(#214) Inline comments must start with a capital letter, digit or 3-dots sequence
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#231) Short array syntax must be used to define arrays
(#231) Expected 1 space before "=>"; 0 found
(#231) Expected 1 space after "=>"; 0 found
(#235) Short array syntax must be used to define arrays
(#235) Expected 1 space before "=>"; 0 found
(#235) Expected 1 space after "=>"; 0 found
(#242) Short array syntax must be used to define arrays
(#242) Expected 1 space before "=>"; 0 found
(#242) Expected 1 space after "=>"; 0 found
(#250) Logical operator "and" is prohibited; use "&&" instead
(#252) Short array syntax must be used to define arrays
(#252) Expected 1 space before "=>"; 0 found
(#252) Expected 1 space after "=>"; 0 found
(#253) Line exceeds 132 characters; contains 144 characters
(#285) Docblock tag "@global" is not recommended.
(#292) Short array syntax must be used to define arrays
(#292) Expected 1 space before "=>"; 0 found
(#292) Expected 1 space after "=>"; 0 found
(#298) Short array syntax must be used to define arrays
(#298) Expected 1 space before "=>"; 0 found
(#298) Expected 1 space after "=>"; 0 found
(#304) Inline comments must start with a capital letter, digit or 3-dots sequence
(#304) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) Short array syntax must be used to define arrays
(#312) Expected 1 space before "=>"; 0 found
(#312) Expected 1 space after "=>"; 0 found
(#320) Short array syntax must be used to define arrays
(#324) Short array syntax must be used to define arrays
(#324) Expected 1 space before "=>"; 0 found
(#324) Expected 1 space after "=>"; 0 found
(#333) Short array syntax must be used to define arrays
(#333) Expected 1 space before "=>"; 0 found
(#333) Expected 1 space after "=>"; 0 found
(#358) Closing brace must be on a line by itself
(#359) Closing brace must be on a line by itself
(#360) Closing brace must be on a line by itself
(#361) Closing brace must be on a line by itself
(#362) Closing brace must be on a line by itself
(#363) Closing brace must be on a line by itself
(#364) Closing brace must be on a line by itself
(#365) Closing brace must be on a line by itself
(#366) Closing brace must be on a line by itself
(#367) Closing brace must be on a line by itself
(#368) Closing brace must be on a line by itself
(#369) Closing brace must be on a line by itself
(#371) Closing brace must be on a line by itself
(#381) Short array syntax must be used to define arrays
(#448) Short array syntax must be used to define arrays
(#452) Short array syntax must be used to define arrays
(#453) Short array syntax must be used to define arrays
(#456) Short array syntax must be used to define arrays
(#457) Short array syntax must be used to define arrays
(#458) Short array syntax must be used to define arrays
(#459) Short array syntax must be used to define arrays
(#460) Short array syntax must be used to define arrays
(#461) Short array syntax must be used to define arrays
(#462) Short array syntax must be used to define arrays
(#469) Inline comments must end in full-stops, exclamation marks, or question marks
(#472) Inline comments must end in full-stops, exclamation marks, or question marks
(#476) Short array syntax must be used to define arrays
(#479) Short array syntax must be used to define arrays
(#497) Inline comments must end in full-stops, exclamation marks, or question marks
(#500) Inline comments must start with a capital letter, digit or 3-dots sequence
(#500) Inline comments must end in full-stops, exclamation marks, or question marks
(#505) Short array syntax must be used to define arrays
(#505) Expected 1 space before "=>"; 0 found
(#515) Short array syntax must be used to define arrays
(#525) Short array syntax must be used to define arrays
(#553) Inline comments must start with a capital letter, digit or 3-dots sequence
(#553) Inline comments must end in full-stops, exclamation marks, or question marks
(#573) Inline comments must start with a capital letter, digit or 3-dots sequence
(#573) Inline comments must end in full-stops, exclamation marks, or question marks
(#576) Short array syntax must be used to define arrays
(#576) Line exceeds 132 characters; contains 167 characters
(#579) Inline comments must start with a capital letter, digit or 3-dots sequence
(#580) Inline comments must end in full-stops, exclamation marks, or question marks
(#582) Inline comments must start with a capital letter, digit or 3-dots sequence
(#582) Inline comments must end in full-stops, exclamation marks, or question marks
(#604) Short array syntax must be used to define arrays
(#607) Short array syntax must be used to define arrays
(#608) Short array syntax must be used to define arrays
(#609) Short array syntax must be used to define arrays
(#617) Short array syntax must be used to define arrays
(#634) Inline comments must start with a capital letter, digit or 3-dots sequence
(#634) Inline comments must end in full-stops, exclamation marks, or question marks
(#639) Logical operator "and" is prohibited; use "&&" instead
(#646) Line exceeds 132 characters; contains 144 characters
(#657) Short array syntax must be used to define arrays
(#661) Short array syntax must be used to define arrays
(#685) Line exceeds 132 characters; contains 136 characters
(#689) Short array syntax must be used to define arrays
(#691) Short array syntax must be used to define arrays
(#701) Logical operator "and" is prohibited; use "&&" instead
(#708) Logical operator "and" is prohibited; use "&&" instead
(#735) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#741) Short array syntax must be used to define arrays
(#753) Line indented incorrectly; expected at least 16 spaces, found 15
(#761) Short array syntax must be used to define arrays
(#765) Line exceeds 132 characters; contains 142 characters
(#835) Short array syntax must be used to define arrays
(#835) Short array syntax must be used to define arrays
(#836) Short array syntax must be used to define arrays
(#842) Commas (,) must be followed by white space.
(#846) Line exceeds 132 characters; contains 141 characters
(#848) Short array syntax must be used to define arrays
(#854) Line exceeds 132 characters; contains 135 characters
(#859) Expected 1 space before "*"; 0 found
(#859) Expected 1 space after "*"; 0 found
(#859) Expected 1 space before "*"; 0 found
(#859) Expected 1 space after "*"; 0 found
(#859) Expected 1 space before "*"; 0 found
(#859) Expected 1 space after "*"; 0 found
(#880) Short array syntax must be used to define arrays
(#894) Inline comments must end in full-stops, exclamation marks, or question marks
(#898) Inline comments must end in full-stops, exclamation marks, or question marks
(#908) Inline comments must end in full-stops, exclamation marks, or question marks
(#910) Short array syntax must be used to define arrays
(#913) Logical operator "and" is prohibited; use "&&" instead
(#917) Variable "digestposts_rs" must not contain underscores.
(#917) Short array syntax must be used to define arrays
(#919) Variable "digestposts_rs" must not contain underscores.
(#921) Inline comments must end in full-stops, exclamation marks, or question marks
(#924) Inline comments must start with a capital letter, digit or 3-dots sequence
(#924) Inline comments must end in full-stops, exclamation marks, or question marks
(#924) No space found before comment text; expected "// caches - reuse the those filled before too" but found "//caches - reuse the those filled before too"
(#925) Short array syntax must be used to define arrays
(#926) Short array syntax must be used to define arrays
(#928) Variable "digestposts_rs" must not contain underscores.
(#930) Short array syntax must be used to define arrays
(#938) Short array syntax must be used to define arrays
(#946) Short array syntax must be used to define arrays
(#955) Short array syntax must be used to define arrays
(#972) Variable "digestposts_rs" must not contain underscores.
(#972) Inline comments must end in full-stops, exclamation marks, or question marks
(#972) 3 slashes comments are not allowed; use "// Comment." instead
(#974) Inline comments must end in full-stops, exclamation marks, or question marks
(#977) Inline comments must start with a capital letter, digit or 3-dots sequence
(#977) Inline comments must end in full-stops, exclamation marks, or question marks
(#983) Inline comments must end in full-stops, exclamation marks, or question marks
(#984) Short array syntax must be used to define arrays
(#988) Logical operator "and" is prohibited; use "&&" instead
(#991) Short array syntax must be used to define arrays
(#994) Short array syntax must be used to define arrays
(#995) Short array syntax must be used to define arrays
(#996) Short array syntax must be used to define arrays
(#1009) Line exceeds 132 characters; contains 146 characters
(#1016) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1016) Inline comments must end in full-stops, exclamation marks, or question marks
(#1023) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1023) Inline comments must end in full-stops, exclamation marks, or question marks
(#1023) No space found before comment text; expected "// override language" but found "//override language"
(#1026) Inline comments must end in full-stops, exclamation marks, or question marks
(#1033) Line exceeds 132 characters; contains 140 characters
(#1039) Short array syntax must be used to define arrays
(#1044) Commas (,) must be followed by white space.
(#1046) Commas (,) must be followed by white space.
(#1055) Commas (,) must be followed by white space.
(#1055) Line exceeds 132 characters; contains 142 characters
(#1059) Commas (,) must be followed by white space.
(#1059) Line exceeds maximum limit of 180 characters; contains 187 characters
(#1070) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1070) Inline comments must end in full-stops, exclamation marks, or question marks
(#1073) Short array syntax must be used to define arrays
(#1077) Short array syntax must be used to define arrays
(#1091) Short array syntax must be used to define arrays
(#1093) Short array syntax must be used to define arrays
(#1103) Short array syntax must be used to define arrays
(#1142) Inline comments must end in full-stops, exclamation marks, or question marks
(#1147) Expected 1 space before "*"; 0 found
(#1147) Expected 1 space after "*"; 0 found
(#1147) Expected 1 space before "*"; 0 found
(#1147) Expected 1 space after "*"; 0 found
(#1147) Expected 1 space before "*"; 0 found
(#1147) Expected 1 space after "*"; 0 found
(#1154) Short array syntax must be used to define arrays
(#1156) Line exceeds 132 characters; contains 160 characters
(#1160) Line exceeds 132 characters; contains 161 characters
(#1166) Inline comments must end in full-stops, exclamation marks, or question marks
(#1191) Inline comments must end in full-stops, exclamation marks, or question marks
(#1198) Inline comments must end in full-stops, exclamation marks, or question marks
(#1198) Line indented incorrectly; expected at least 8 spaces, found 4
(#1198) 3 slashes comments are not allowed; use "// Comment." instead
(#1211) Expected 1 space before "*"; 0 found
(#1211) Expected 1 space after "*"; 0 found
(#1220) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1265) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1265) No space found before comment text; expected "// datesubmitted == time created. dategraded == time modified or time overridden" but found "//datesubmitted == time created. dategraded == time modified or time overridden"
(#1266) No space found before comment text; expected "// if grade was last modified by the user themselves use date graded. Otherwise use date submitted" but found "//if grade was last modified by the user themselves use date graded. Otherwise use date submitted"
(#1267) Inline comments must end in full-stops, exclamation marks, or question marks
(#1267) No space found before comment text; expected "// TODO: move this copied & pasted code somewhere in the grades API. See MDL-26704" but found "//TODO: move this copied & pasted code somewhere in the grades API. See MDL-26704"
(#1276) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#1281) Docblock tag "@global" is not recommended.
(#1282) Docblock tag "@global" is not recommended.
(#1288) No one-line description found in phpdocs for docblock of function hsuforum_user_complete
(#1289) Commas (,) must be followed by white space.
(#1340) Short array syntax must be used to define arrays
(#1396) Docblock tag "@global" is not recommended.
(#1397) Docblock tag "@global" is not recommended.
(#1398) Docblock tag "@global" is not recommended.
(#1402) Commas (,) must be followed by white space.
(#1408) Short array syntax must be used to define arrays
(#1411) Commas (,) must be followed by white space.
(#1417) Inline comments must end in full-stops, exclamation marks, or question marks
(#1418) Short array syntax must be used to define arrays
(#1419) Short array syntax must be used to define arrays
(#1422) Inline comments must end in full-stops, exclamation marks, or question marks
(#1427) Inline comments must end in full-stops, exclamation marks, or question marks
(#1427) Line indented incorrectly; expected at least 12 spaces, found 8
(#1451) Short array syntax must be used to define arrays
(#1456) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1457) Short array syntax must be used to define arrays
(#1463) Expected 1 space before "*"; 0 found
(#1463) Expected 1 space after "*"; 0 found
(#1463) Expected 1 space before "*"; 0 found
(#1463) Expected 1 space after "*"; 0 found
(#1463) Expected 1 space before "*"; 0 found
(#1463) Expected 1 space after "*"; 0 found
(#1468) Short array syntax must be used to define arrays
(#1474) Expected 1 space after "="; 2 found
(#1476) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1476) Inline comments must end in full-stops, exclamation marks, or question marks
(#1489) Commas (,) must be followed by white space.
(#1489) Commas (,) must be followed by white space.
(#1489) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1489) Inline comments must end in full-stops, exclamation marks, or question marks
(#1501) Short array syntax must be used to define arrays
(#1505) Logical operator "and" is prohibited; use "&&" instead
(#1509) Commas (,) must be followed by white space.
(#1516) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1520) Commas (,) must be followed by white space.
(#1525) Line exceeds 132 characters; contains 173 characters
(#1535) Commas (,) must be followed by white space.
(#1536) Short array syntax must be used to define arrays
(#1538) Commas (,) must be followed by white space.
(#1539) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1539) Inline comments must end in full-stops, exclamation marks, or question marks
(#1568) Docblock tag "@global" is not recommended.
(#1569) Docblock tag "@global" is not recommended.
(#1574) Missing docblock for function hsuforum_recent_activity_query
(#1602) Short array syntax must be used to define arrays
(#1614) Docblock tag "@global" is not recommended.
(#1615) Docblock tag "@global" is not recommended.
(#1616) Docblock tag "@global" is not recommended.
(#1617) Docblock tag "@global" is not recommended.
(#1633) Short array syntax must be used to define arrays
(#1634) Short array syntax must be used to define arrays
(#1639) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1639) Inline comments must end in full-stops, exclamation marks, or question marks
(#1652) Logical operator "and" is prohibited; use "&&" instead
(#1653) Logical operator "and" is prohibited; use "&&" instead
(#1653) Logical operator "and" is prohibited; use "&&" instead
(#1653) Logical operator "or" is prohibited; use "||" instead
(#1653) Logical operator "and" is prohibited; use "&&" instead
(#1685) Expected "if (...) {\n"; found "if(...) {\n"
(#1701) No one-line description found in phpdocs for docblock of function hsuforum_media_object
(#1719) No one-line description found in phpdocs for docblock of function hsuforum_get_user_formatted_rating_grade
(#1721) Logical operator "and" is prohibited; use "&&" instead
(#1722) Short array syntax must be used to define arrays
(#1737) Docblock tag "@global" is not recommended.
(#1738) Docblock tag "@global" is not recommended.
(#1756) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1756) No space found before comment text; expected "// need these to work backwards to get a context id. Is there a better way to get contextid from a module instance?" but found "//need these to work backwards to get a context id. Is there a better way to get contextid from a module instance?"
(#1772) Docblock tag "@global" is not recommended.
(#1773) Docblock tag "@global" is not recommended.
(#1798) Logical operator "or" is prohibited; use "||" instead
(#1798) Logical operator "or" is prohibited; use "||" instead
(#1799) Logical operator "and" is prohibited; use "&&" instead
(#1805) Logical operator "and" is prohibited; use "&&" instead
(#1808) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#1818) Docblock tag "@global" is not recommended.
(#1834) Expected 1 space before "="; 0 found
(#1834) Expected 1 space after "="; 0 found
(#1837) Expected 1 space before "*"; 0 found
(#1837) Expected 1 space after "*"; 0 found
(#1837) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1837) Inline comments must end in full-stops, exclamation marks, or question marks
(#1856) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#1858) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1858) Inline comments must end in full-stops, exclamation marks, or question marks
(#1858) No space found before comment text; expected "// workaround for buggy PHP versions" but found "//workaround for buggy PHP versions"
(#1862) Short array syntax must be used to define arrays
(#1862) Expected 1 space before "=>"; 0 found
(#1862) Expected 1 space after "=>"; 0 found
(#1862) Expected 1 space before "=>"; 0 found
(#1862) Expected 1 space after "=>"; 0 found
(#1864) Logical operator "or" is prohibited; use "||" instead
(#1864) Logical operator "and" is prohibited; use "&&" instead
(#1864) Logical operator "or" is prohibited; use "||" instead
(#1864) Line exceeds 132 characters; contains 151 characters
(#1877) Expected 1 space before "==="; 2 found
(#1879) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#1896) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#1896) Short array syntax must be used to define arrays
(#1896) Expected 1 space before "=>"; 0 found
(#1896) Expected 1 space after "=>"; 0 found
(#1902) Docblock tag "@global" is not recommended.
(#1907) Commas (,) must be followed by white space.
(#1911) Commas (,) must be followed by white space.
(#1911) Short array syntax must be used to define arrays
(#1911) Commas (,) must be followed by white space.
(#1925) Docblock tag "@global" is not recommended.
(#1931) Logical operator "and" is prohibited; use "&&" instead
(#1931) Short array syntax must be used to define arrays
(#1938) Inline comments must end in full-stops, exclamation marks, or question marks
(#1944) Docblock tag "@global" is not recommended.
(#1945) Docblock tag "@global" is not recommended.
(#1959) Short array syntax must be used to define arrays
(#1965) Docblock tag "@global" is not recommended.
(#1966) Docblock tag "@global" is not recommended.
(#1967) Docblock tag "@global" is not recommended.
(#1972) Short array syntax must be used to define arrays
(#1975) Variable "tr_sel" must not contain underscores.
(#1976) Variable "tr_join" must not contain underscores.
(#1977) Short array syntax must be used to define arrays
(#1980) Variable "tr_sel" must not contain underscores.
(#1981) Variable "tr_join" must not contain underscores.
(#1995) Variable "tr_sel" must not contain underscores.
(#1998) Variable "tr_join" must not contain underscores.
(#2003) Short array syntax must be used to define arrays
(#2006) Expected 1 space before "=>"; 0 found
(#2006) Expected 1 space after "=>"; 0 found
(#2006) Expected 1 space before "=>"; 0 found
(#2006) Expected 1 space after "=>"; 0 found
(#2014) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2017) Short array syntax must be used to define arrays
(#2042) Docblock tag "@global" is not recommended.
(#2043) Docblock tag "@global" is not recommended.
(#2044) Docblock tag "@global" is not recommended.
(#2058) Short array syntax must be used to define arrays
(#2065) Short array syntax must be used to define arrays
(#2068) Short array syntax must be used to define arrays
(#2069) Short array syntax must be used to define arrays
(#2073) Short array syntax must be used to define arrays
(#2076) Short array syntax must be used to define arrays
(#2083) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2094) Logical operator "or" is prohibited; use "||" instead
(#2106) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2106) Inline comments must end in full-stops, exclamation marks, or question marks
(#2106) Line indented incorrectly; expected at least 12 spaces, found 9
(#2106) 3 slashes comments are not allowed; use "// Comment." instead
(#2107) Logical operator "and" is prohibited; use "&&" instead
(#2107) Line exceeds 132 characters; contains 141 characters
(#2113) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2113) Inline comments must end in full-stops, exclamation marks, or question marks
(#2113) Line indented incorrectly; expected at least 12 spaces, found 8
(#2113) 3 slashes comments are not allowed; use "// Comment." instead
(#2121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2121) Inline comments must end in full-stops, exclamation marks, or question marks
(#2121) Line indented incorrectly; expected at least 12 spaces, found 8
(#2121) 3 slashes comments are not allowed; use "// Comment." instead
(#2126) Short array syntax must be used to define arrays
(#2148) Docblock tag "@global" is not recommended.
(#2149) Docblock tag "@global" is not recommended.
(#2150) Docblock tag "@global" is not recommended.
(#2173) Short array syntax must be used to define arrays
(#2174) Short array syntax must be used to define arrays
(#2175) Short array syntax must be used to define arrays
(#2178) Short array syntax must be used to define arrays
(#2181) Line exceeds 132 characters; contains 151 characters
(#2182) Short array syntax must be used to define arrays
(#2182) Expected 1 space before "=>"; 0 found
(#2182) Expected 1 space after "=>"; 0 found
(#2182) Expected 1 space before "=>"; 0 found
(#2182) Expected 1 space after "=>"; 0 found
(#2182) Expected 1 space before "=>"; 0 found
(#2182) Expected 1 space after "=>"; 0 found
(#2182) Line exceeds 132 characters; contains 134 characters
(#2188) Variable "discussionid_sql" must not contain underscores.
(#2188) Variable "discussionid_params" must not contain underscores.
(#2188) Line exceeds 132 characters; contains 150 characters
(#2189) Variable "discussionid_params" must not contain underscores.
(#2190) Variable "discussionid_sql" must not contain underscores.
(#2197) Variable "groupid_sql" must not contain underscores.
(#2197) Variable "groupid_params" must not contain underscores.
(#2198) Variable "groupid_params" must not contain underscores.
(#2199) Variable "groupid_sql" must not contain underscores.
(#2212) Variable "fullid_sql" must not contain underscores.
(#2212) Variable "fullid_params" must not contain underscores.
(#2213) Variable "fullid_params" must not contain underscores.
(#2214) Variable "fullid_sql" must not contain underscores.
(#2223) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#2232) Commas (,) must be followed by white space.
(#2232) Commas (,) must be followed by white space.
(#2271) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#2384) Short array syntax must be used to define arrays
(#2419) Docblock tag "@global" is not recommended.
(#2420) Docblock tag "@global" is not recommended.
(#2434) Short array syntax must be used to define arrays
(#2460) Docblock tag "@global" is not recommended.
(#2468) Short array syntax must be used to define arrays
(#2502) Docblock tag "@global" is not recommended.
(#2546) Docblock tag "@global" is not recommended.
(#2547) Docblock tag "@global" is not recommended.
(#2557) Short array syntax must be used to define arrays
(#2583) Docblock tag "@global" is not recommended.
(#2584) Docblock tag "@global" is not recommended.
(#2595) Short array syntax must be used to define arrays
(#2620) Docblock tag "@global" is not recommended.
(#2621) Docblock tag "@global" is not recommended.
(#2632) Short array syntax must be used to define arrays
(#2638) Docblock tag "@global" is not recommended.
(#2639) Docblock tag "@global" is not recommended.
(#2654) Expected 1 space before "*"; 0 found
(#2654) Expected 1 space after "*"; 0 found
(#2672) Logical operator "and" is prohibited; use "&&" instead
(#2672) Logical operator "or" is prohibited; use "||" instead
(#2679) Short array syntax must be used to define arrays
(#2688) Short array syntax must be used to define arrays
(#2693) Docblock tag "@global" is not recommended.
(#2694) Docblock tag "@global" is not recommended.
(#2695) Docblock tag "@global" is not recommended.
(#2696) Docblock tag "@staticvar" is not recommended.
(#2702) No one-line description found in phpdocs for docblock of function hsuforum_count_discussions
(#2705) Short array syntax must be used to define arrays
(#2710) Short array syntax must be used to define arrays
(#2734) Short array syntax must be used to define arrays
(#2758) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2758) Inline comments must end in full-stops, exclamation marks, or question marks
(#2761) Variable "mygroups_sql" must not contain underscores.
(#2774) Variable "mygroups_sql" must not contain underscores.
(#2783) Docblock tag "@global" is not recommended.
(#2784) Docblock tag "@global" is not recommended.
(#2785) Docblock tag "@global" is not recommended.
(#2810) Expected 1 space before "*"; 0 found
(#2810) Expected 1 space after "*"; 0 found
(#2810) Expected 1 space before "*"; 0 found
(#2810) Expected 1 space after "*"; 0 found
(#2810) Expected 1 space before "*"; 0 found
(#2810) Expected 1 space after "*"; 0 found
(#2811) Short array syntax must be used to define arrays
(#2815) Inline comments must end in full-stops, exclamation marks, or question marks
(#2815) 3 slashes comments are not allowed; use "// Comment." instead
(#2816) Short array syntax must be used to define arrays
(#2819) Short array syntax must be used to define arrays
(#2842) Short array syntax must be used to define arrays
(#2842) Line exceeds 132 characters; contains 142 characters
(#2854) Inline comments must end in full-stops, exclamation marks, or question marks
(#2854) 3 slashes comments are not allowed; use "// Comment." instead
(#2874) Expected 1 space before "*"; 0 found
(#2874) Expected 1 space after "*"; 0 found
(#2894) Short array syntax must be used to define arrays
(#2904) Logical operator "or" is prohibited; use "||" instead
(#2946) Inline comments must end in full-stops, exclamation marks, or question marks
(#2962) Inline comments must end in full-stops, exclamation marks, or question marks
(#2963) Logical operator "and" is prohibited; use "&&" instead
(#2985) Line exceeds 132 characters; contains 135 characters
(#3024) Logical operator "or" is prohibited; use "||" instead
(#3024) Logical operator "or" is prohibited; use "||" instead
(#3028) Short array syntax must be used to define arrays
(#3030) Short array syntax must be used to define arrays
(#3035) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#3189) Docblock tag "@global" is not recommended.
(#3190) Docblock tag "@global" is not recommended.
(#3191) Docblock tag "@global" is not recommended.
(#3203) Expected 1 space before "*"; 0 found
(#3203) Expected 1 space after "*"; 0 found
(#3203) Expected 1 space before "*"; 0 found
(#3203) Expected 1 space after "*"; 0 found
(#3203) Expected 1 space before "*"; 0 found
(#3203) Expected 1 space after "*"; 0 found
(#3205) Short array syntax must be used to define arrays
(#3212) Logical operator "or" is prohibited; use "||" instead
(#3221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3221) Inline comments must end in full-stops, exclamation marks, or question marks
(#3221) No space found before comment text; expected "// separate groups without access all" but found "//separate groups without access all"
(#3258) Short array syntax must be used to define arrays
(#3262) Docblock tag "@global" is not recommended.
(#3263) Docblock tag "@global" is not recommended.
(#3264) Docblock tag "@global" is not recommended.
(#3270) No one-line description found in phpdocs for docblock of function hsuforum_get_discussions_count
(#3275) Short array syntax must be used to define arrays
(#3282) Logical operator "or" is prohibited; use "||" instead
(#3291) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3291) Inline comments must end in full-stops, exclamation marks, or question marks
(#3291) No space found before comment text; expected "// seprate groups without access all" but found "//seprate groups without access all"
(#3342) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3342) Inline comments must end in full-stops, exclamation marks, or question marks
(#3360) Docblock tag "@global" is not recommended.
(#3361) Docblock tag "@global" is not recommended.
(#3375) Expected 1 space after "="; 0 found
(#3405) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3405) Inline comments must end in full-stops, exclamation marks, or question marks
(#3428) Inline comments must end in full-stops, exclamation marks, or question marks
(#3432) Docblock tag "@global" is not recommended.
(#3433) Docblock tag "@global" is not recommended.
(#3437) No one-line description found in phpdocs for docblock of function hsuforum_get_course_forum
(#3438) Inline comments must end in full-stops, exclamation marks, or question marks
(#3438) Line indented incorrectly; expected at least 4 spaces, found 0
(#3441) Short array syntax must be used to define arrays
(#3445) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3445) Inline comments must end in full-stops, exclamation marks, or question marks
(#3491) Short array syntax must be used to define arrays
(#3506) Short array syntax must be used to define arrays
(#3515) Short array syntax must be used to define arrays
(#3570) There should be a comma after the last array item in a multi-line array.
(#3615) Short array syntax must be used to define arrays
(#3619) There should be a comma after the last array item in a multi-line array.
(#3632) Line exceeds 132 characters; contains 148 characters
(#3639) Inline comments must end in full-stops, exclamation marks, or question marks
(#3644) Inline comments must end in full-stops, exclamation marks, or question marks
(#3649) Inline comments must end in full-stops, exclamation marks, or question marks
(#3654) Inline comments must end in full-stops, exclamation marks, or question marks
(#3655) Short array syntax must be used to define arrays
(#3655) Line exceeds 132 characters; contains 133 characters
(#3656) Short array syntax must be used to define arrays
(#3657) Short array syntax must be used to define arrays
(#3658) Short array syntax must be used to define arrays
(#3662) Inline comments must end in full-stops, exclamation marks, or question marks
(#3668) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3668) Inline comments must end in full-stops, exclamation marks, or question marks
(#3668) No space found before comment text; expected "// the scale being submitted doesnt match the one in the database" but found "//the scale being submitted doesnt match the one in the database"
(#3672) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3672) Inline comments must end in full-stops, exclamation marks, or question marks
(#3679) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3679) Inline comments must end in full-stops, exclamation marks, or question marks
(#3679) No space found before comment text; expected "// check that the submitted rating is valid for the scale" but found "//check that the submitted rating is valid for the scale"
(#3681) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3681) Inline comments must end in full-stops, exclamation marks, or question marks
(#3686) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3686) Inline comments must end in full-stops, exclamation marks, or question marks
(#3688) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3688) Inline comments must end in full-stops, exclamation marks, or question marks
(#3688) No space found before comment text; expected "// its a custom scale" but found "//its a custom scale"
(#3689) Short array syntax must be used to define arrays
(#3699) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3699) Inline comments must end in full-stops, exclamation marks, or question marks
(#3699) No space found before comment text; expected "// if its numeric and submitted rating is above maximum" but found "//if its numeric and submitted rating is above maximum"
(#3703) Inline comments must end in full-stops, exclamation marks, or question marks
(#3704) Logical operator "and" is prohibited; use "&&" instead
(#3704) Inline comments must end in full-stops, exclamation marks, or question marks
(#3705) Inline comments must end in full-stops, exclamation marks, or question marks
(#3706) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3706) Inline comments must end in full-stops, exclamation marks, or question marks
(#3706) No space found before comment text; expected "// something is wrong" but found "//something is wrong"
(#3719) Logical operator "and" is prohibited; use "&&" instead
(#3720) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3720) Inline comments must end in full-stops, exclamation marks, or question marks
(#3725) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3725) Inline comments must end in full-stops, exclamation marks, or question marks
(#3734) Docblock tag "@global" is not recommended.
(#3739) No one-line description found in phpdocs for docblock of function hsuforum_search_form
(#3748) Docblock tag "@global" is not recommended.
(#3749) Docblock tag "@global" is not recommended.
(#3751) No one-line description found in phpdocs for docblock of function hsuforum_set_return
(#3799) Short array syntax must be used to define arrays
(#3800) Short array syntax must be used to define arrays
(#3801) Short array syntax must be used to define arrays
(#3802) Short array syntax must be used to define arrays
(#3813) Docblock tag "@global" is not recommended.
(#3817) No one-line description found in phpdocs for docblock of function hsuforum_go_back_to
(#3847) Docblock tag "@global" is not recommended.
(#3864) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3864) Inline comments must end in full-stops, exclamation marks, or question marks
(#3865) Short array syntax must be used to define arrays
(#3865) Expected 1 space before "=>"; 0 found
(#3865) Expected 1 space after "=>"; 0 found
(#3872) Inline comments must end in full-stops, exclamation marks, or question marks
(#3876) Inline comments must end in full-stops, exclamation marks, or question marks
(#3889) Docblock tag "@global" is not recommended.
(#3890) Docblock tag "@global" is not recommended.
(#3891) Docblock tag "@global" is not recommended.
(#3901) Short array syntax must be used to define arrays
(#3904) Short array syntax must be used to define arrays
(#3905) Short array syntax must be used to define arrays
(#3909) Short array syntax must be used to define arrays
(#3918) Line exceeds maximum limit of 180 characters; contains 243 characters
(#3934) Short array syntax must be used to define arrays
(#3934) Line exceeds 132 characters; contains 135 characters
(#3935) Line exceeds 132 characters; contains 139 characters
(#3941) Short array syntax must be used to define arrays
(#3941) Line exceeds 132 characters; contains 158 characters
(#3950) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3950) No space found before comment text; expected "// 'returnimages'" but found "//'returnimages'"
(#3951) Short array syntax must be used to define arrays
(#3952) Inline comments must end in full-stops, exclamation marks, or question marks
(#3955) Short array syntax must be used to define arrays
(#3955) Line exceeds 132 characters; contains 162 characters
(#3961) Short array syntax must be used to define arrays
(#3961) Expected 1 space before "=>"; 0 found
(#3961) Expected 1 space after "=>"; 0 found
(#3963) Short array syntax must be used to define arrays
(#3963) Line exceeds 132 characters; contains 162 characters
(#3973) Short array syntax must be used to define arrays
(#3987) Short array syntax must be used to define arrays
(#3991) 80 slashes comments are not allowed; use "// Comment." instead
(#3993) Inline comments must end in full-stops, exclamation marks, or question marks
(#3993) 80 slashes comments are not allowed; use "// Comment." instead
(#4006) Short array syntax must be used to define arrays
(#4035) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4035) Inline comments must end in full-stops, exclamation marks, or question marks
(#4052) Short array syntax must be used to define arrays
(#4053) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4056) Short array syntax must be used to define arrays
(#4061) Short array syntax must be used to define arrays
(#4069) Short array syntax must be used to define arrays
(#4077) Short array syntax must be used to define arrays
(#4095) Inline comments must end in full-stops, exclamation marks, or question marks
(#4104) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#4126) Short array syntax must be used to define arrays
(#4140) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4140) Inline comments must end in full-stops, exclamation marks, or question marks
(#4147) Short array syntax must be used to define arrays
(#4147) Expected 1 space before "=>"; 0 found
(#4147) Expected 1 space after "=>"; 0 found
(#4151) Short array syntax must be used to define arrays
(#4151) Expected 1 space before "=>"; 0 found
(#4151) Expected 1 space after "=>"; 0 found
(#4155) Short array syntax must be used to define arrays
(#4155) Expected 1 space before "=>"; 0 found
(#4155) Expected 1 space after "=>"; 0 found
(#4162) Logical operator "or" is prohibited; use "||" instead
(#4166) Inline comments must end in full-stops, exclamation marks, or question marks
(#4170) Logical operator "and" is prohibited; use "&&" instead
(#4177) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#4181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4181) Inline comments must end in full-stops, exclamation marks, or question marks
(#4182) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4188) Docblock tag "@global" is not recommended.
(#4202) Short array syntax must be used to define arrays
(#4211) Inline comments must end in full-stops, exclamation marks, or question marks
(#4217) Expected 1 space before ">"; 0 found
(#4217) Expected 1 space after ">"; 0 found
(#4221) Short array syntax must be used to define arrays
(#4221) Expected 1 space before "=>"; 0 found
(#4221) Expected 1 space after "=>"; 0 found
(#4229) Docblock tag "@global" is not recommended.
(#4230) Docblock tag "@global" is not recommended.
(#4231) Docblock tag "@global" is not recommended.
(#4241) Short array syntax must be used to define arrays
(#4242) Short array syntax must be used to define arrays
(#4268) Inline comments must end in full-stops, exclamation marks, or question marks
(#4270) Short array syntax must be used to define arrays
(#4271) Short array syntax must be used to define arrays
(#4280) Inline comments must end in full-stops, exclamation marks, or question marks
(#4289) Docblock tag "@global" is not recommended.
(#4290) Docblock tag "@global" is not recommended.
(#4291) Docblock tag "@global" is not recommended.
(#4301) Short array syntax must be used to define arrays
(#4302) Short array syntax must be used to define arrays
(#4303) Short array syntax must be used to define arrays
(#4327) Inline comments must end in full-stops, exclamation marks, or question marks
(#4356) Inline comments must end in full-stops, exclamation marks, or question marks
(#4385) Short array syntax must be used to define arrays
(#4385) Expected 1 space before "=>"; 0 found
(#4385) Expected 1 space after "=>"; 0 found
(#4399) Expected 1 space before ":"; 0 found
(#4401) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4401) Inline comments must end in full-stops, exclamation marks, or question marks
(#4402) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4402) Inline comments must end in full-stops, exclamation marks, or question marks
(#4413) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#4415) Inline comments must end in full-stops, exclamation marks, or question marks
(#4416) Inline comments must end in full-stops, exclamation marks, or question marks
(#4420) Short array syntax must be used to define arrays
(#4420) Expected 1 space before "=>"; 0 found
(#4420) Expected 1 space after "=>"; 0 found
(#4427) Inline comments must end in full-stops, exclamation marks, or question marks
(#4438) Short array syntax must be used to define arrays
(#4438) Expected 1 space before "=>"; 0 found
(#4438) Expected 1 space after "=>"; 0 found
(#4446) Inline comments must end in full-stops, exclamation marks, or question marks
(#4460) Short array syntax must be used to define arrays
(#4494) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4494) Inline comments must end in full-stops, exclamation marks, or question marks
(#4501) Short array syntax must be used to define arrays
(#4504) Short array syntax must be used to define arrays
(#4506) There should be a comma after the last array item in a multi-line array.
(#4528) Short array syntax must be used to define arrays
(#4531) Short array syntax must be used to define arrays
(#4535) There should be a comma after the last array item in a multi-line array.
(#4552) Docblock tag "@global" is not recommended.
(#4566) Short array syntax must be used to define arrays
(#4578) Short array syntax must be used to define arrays
(#4578) Expected 1 space before "=>"; 0 found
(#4578) Expected 1 space after "=>"; 0 found
(#4581) Short array syntax must be used to define arrays
(#4586) Inline comments must end in full-stops, exclamation marks, or question marks
(#4602) Docblock tag "@global" is not recommended.
(#4622) Short array syntax must be used to define arrays
(#4622) Expected 1 space before "=>"; 0 found
(#4622) Expected 1 space after "=>"; 0 found
(#4623) Line indented incorrectly; expected 8 spaces, found 7
(#4624) Line indented incorrectly; expected 12 spaces, found 11
(#4625) Line indented incorrectly; expected at least 16 spaces, found 15
(#4626) Line indented incorrectly; expected 12 spaces, found 11
(#4627) Line indented incorrectly; expected 8 spaces, found 7
(#4628) Line indented incorrectly; expected at least 12 spaces, found 11
(#4629) Line indented incorrectly; expected 8 spaces, found 7
(#4632) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4632) Inline comments must end in full-stops, exclamation marks, or question marks
(#4632) No space found before comment text; expected "// delete ratings" but found "//delete ratings"
(#4642) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4642) Inline comments must end in full-stops, exclamation marks, or question marks
(#4642) No space found before comment text; expected "// delete attachments" but found "//delete attachments"
(#4647) Short array syntax must be used to define arrays
(#4651) Inline comments must end in full-stops, exclamation marks, or question marks
(#4651) Line indented incorrectly; expected at least 8 spaces, found 4
(#4655) Inline comments must end in full-stops, exclamation marks, or question marks
(#4665) Short array syntax must be used to define arrays
(#4668) Short array syntax must be used to define arrays
(#4672) There should be a comma after the last array item in a multi-line array.
(#4693) Expected 1 space before asterisk; 0 found
(#4698) Short array syntax must be used to define arrays
(#4701) Short array syntax must be used to define arrays
(#4706) There should be a comma after the last array item in a multi-line array.
(#4714) Docblock tag "@global" is not recommended.
(#4719) No one-line description found in phpdocs for docblock of function hsuforum_count_replies
(#4724) Short array syntax must be used to define arrays
(#4728) Line indented incorrectly; expected 12 spaces, found 11
(#4729) Line indented incorrectly; expected at least 16 spaces, found 15
(#4729) Inline comments must end in full-stops, exclamation marks, or question marks
(#4730) Line indented incorrectly; expected at least 16 spaces, found 15
(#4731) Line indented incorrectly; expected 12 spaces, found 11
(#4742) Docblock tag "@global" is not recommended.
(#4747) No one-line description found in phpdocs for docblock of function hsuforum_forcesubscribe
(#4749) Short array syntax must be used to define arrays
(#4753) Docblock tag "@global" is not recommended.
(#4757) No one-line description found in phpdocs for docblock of function hsuforum_is_forcesubscribed
(#4759) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4759) Inline comments must end in full-stops, exclamation marks, or question marks
(#4761) Inline comments must end in full-stops, exclamation marks, or question marks
(#4762) Line indented incorrectly; expected at least 8 spaces, found 7
(#4762) Short array syntax must be used to define arrays
(#4766) Missing docblock for function hsuforum_get_forcesubscribed
(#4768) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4768) Inline comments must end in full-stops, exclamation marks, or question marks
(#4770) Inline comments must end in full-stops, exclamation marks, or question marks
(#4771) Short array syntax must be used to define arrays
(#4776) Docblock tag "@global" is not recommended.
(#4781) No one-line description found in phpdocs for docblock of function hsuforum_is_subscribed
(#4784) Short array syntax must be used to define arrays
(#4792) Short array syntax must be used to define arrays
(#4795) Missing docblock for function hsuforum_get_subscribed_forums
(#4802) Short array syntax must be used to define arrays
(#4808) Short array syntax must be used to define arrays
(#4820) Inline comments must end in full-stops, exclamation marks, or question marks
(#4823) Short array syntax must be used to define arrays
(#4826) Short array syntax must be used to define arrays
(#4827) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#4832) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4832) Inline comments must end in full-stops, exclamation marks, or question marks
(#4840) Short array syntax must be used to define arrays
(#4840) Expected 1 space before "=>"; 0 found
(#4840) Expected 1 space after "=>"; 0 found
(#4840) Expected 1 space before "=>"; 0 found
(#4840) Expected 1 space after "=>"; 0 found
(#4840) Expected 1 space before "=>"; 0 found
(#4840) Expected 1 space after "=>"; 0 found
(#4840) Line exceeds 132 characters; contains 138 characters
(#4842) Short array syntax must be used to define arrays
(#4845) Short array syntax must be used to define arrays
(#4845) Inline comments must end in full-stops, exclamation marks, or question marks
(#4847) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#4850) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4850) Inline comments must end in full-stops, exclamation marks, or question marks
(#4853) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4853) Inline comments must end in full-stops, exclamation marks, or question marks
(#4858) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4859) Inline comments must end in full-stops, exclamation marks, or question marks
(#4861) Inline comments must end in full-stops, exclamation marks, or question marks
(#4884) Short array syntax must be used to define arrays
(#4884) Expected 1 space before "=>"; 0 found
(#4884) Expected 1 space after "=>"; 0 found
(#4884) Expected 1 space before "=>"; 0 found
(#4884) Expected 1 space after "=>"; 0 found
(#4904) Short array syntax must be used to define arrays
(#4908) Short array syntax must be used to define arrays
(#4920) Docblock tag "@global" is not recommended.
(#4928) Short array syntax must be used to define arrays
(#4930) Short array syntax must be used to define arrays
(#4931) Short array syntax must be used to define arrays
(#4943) Short array syntax must be used to define arrays
(#4947) Short array syntax must be used to define arrays
(#4962) Docblock tag "@global" is not recommended.
(#4973) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4973) Inline comments must end in full-stops, exclamation marks, or question marks
(#4976) Usage of ELSEIF not allowed; use ELSE IF instead
(#4979) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4979) Inline comments must end in full-stops, exclamation marks, or question marks
(#4984) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4984) Inline comments must end in full-stops, exclamation marks, or question marks
(#4986) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4986) Inline comments must end in full-stops, exclamation marks, or question marks
(#4991) Usage of ELSEIF not allowed; use ELSE IF instead
(#4994) Usage of ELSEIF not allowed; use ELSE IF instead
(#5027) Short array syntax must be used to define arrays
(#5030) Short array syntax must be used to define arrays
(#5035) Commas (,) must be followed by white space.
(#5035) There should be a comma after the last array item in a multi-line array.
(#5041) Line exceeds 132 characters; contains 135 characters
(#5058) Short array syntax must be used to define arrays
(#5070) Short array syntax must be used to define arrays
(#5100) Docblock tag "@global" is not recommended.
(#5101) Docblock tag "@global" is not recommended.
(#5106) No one-line description found in phpdocs for docblock of function hsuforum_discussions_user_has_posted_in
(#5117) Short array syntax must be used to define arrays
(#5121) Docblock tag "@global" is not recommended.
(#5122) Docblock tag "@global" is not recommended.
(#5128) No one-line description found in phpdocs for docblock of function hsuforum_user_has_posted
(#5132) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5137) Short array syntax must be used to define arrays
(#5137) Expected 1 space before "=>"; 0 found
(#5137) Expected 1 space after "=>"; 0 found
(#5137) Commas (,) must be followed by white space.
(#5137) Expected 1 space before "=>"; 0 found
(#5137) Expected 1 space after "=>"; 0 found
(#5139) Short array syntax must be used to define arrays
(#5139) Expected 1 space before "=>"; 0 found
(#5139) Expected 1 space after "=>"; 0 found
(#5139) Commas (,) must be followed by white space.
(#5139) Expected 1 space before "=>"; 0 found
(#5139) Expected 1 space after "=>"; 0 found
(#5145) Docblock tag "@global" is not recommended.
(#5153) Short array syntax must be used to define arrays
(#5153) Expected 1 space before "=>"; 0 found
(#5153) Expected 1 space after "=>"; 0 found
(#5153) Expected 1 space before "=>"; 0 found
(#5153) Expected 1 space after "=>"; 0 found
(#5161) Docblock tag "@global" is not recommended.
(#5169) No one-line description found in phpdocs for docblock of function hsuforum_user_can_post_discussion
(#5169) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5169) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5170) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5170) Line indented incorrectly; expected at least 4 spaces, found 0
(#5173) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5173) Inline comments must end in full-stops, exclamation marks, or question marks
(#5174) Logical operator "or" is prohibited; use "||" instead
(#5217) Logical operator "or" is prohibited; use "||" instead
(#5224) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5225) Inline comments must end in full-stops, exclamation marks, or question marks
(#5235) Docblock tag "@global" is not recommended.
(#5236) Docblock tag "@global" is not recommended.
(#5248) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5248) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5248) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5248) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5254) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5254) Inline comments must end in full-stops, exclamation marks, or question marks
(#5255) Logical operator "or" is prohibited; use "||" instead
(#5273) Short array syntax must be used to define arrays
(#5289) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5289) Inline comments must end in full-stops, exclamation marks, or question marks
(#5290) Logical operator "and" is prohibited; use "&&" instead
(#5314) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5314) Inline comments must end in full-stops, exclamation marks, or question marks
(#5320) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5320) Inline comments must end in full-stops, exclamation marks, or question marks
(#5320) No space found before comment text; expected "// separate groups" but found "//separate groups"
(#5329) Expected 1 space before asterisk; 0 found
(#5330) Expected 1 space before asterisk; 0 found
(#5331) Expected 1 space before asterisk; 0 found
(#5332) Expected 1 space before asterisk; 0 found
(#5333) Expected 1 space before asterisk; 0 found
(#5334) Expected 1 space before asterisk; 0 found
(#5335) Expected 1 space before asterisk; 0 found
(#5355) Expected 1 space before asterisk; 0 found
(#5356) Expected 1 space before asterisk; 0 found
(#5357) Expected 1 space before asterisk; 0 found
(#5358) Expected 1 space before asterisk; 0 found
(#5359) Expected 1 space before asterisk; 0 found
(#5360) Expected 1 space before asterisk; 0 found
(#5361) Expected 1 space before asterisk; 0 found
(#5376) Docblock tag "@global" is not recommended.
(#5377) Docblock tag "@global" is not recommended.
(#5385) No one-line description found in phpdocs for docblock of function hsuforum_user_can_see_discussion
(#5385) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5392) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5392) Inline comments must end in full-stops, exclamation marks, or question marks
(#5395) Commas (,) must be followed by white space.
(#5395) Short array syntax must be used to define arrays
(#5395) Expected 1 space before "=>"; 0 found
(#5395) Expected 1 space after "=>"; 0 found
(#5401) Commas (,) must be followed by white space.
(#5401) Short array syntax must be used to define arrays
(#5401) Expected 1 space before "=>"; 0 found
(#5401) Expected 1 space after "=>"; 0 found
(#5425) Docblock tag "@global" is not recommended.
(#5426) Docblock tag "@global" is not recommended.
(#5432) Invalid docblock tag "@params".
(#5435) No one-line description found in phpdocs for docblock of function hsuforum_user_can_see_post
(#5435) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5435) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5438) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5438) Inline comments must end in full-stops, exclamation marks, or question marks
(#5441) Commas (,) must be followed by white space.
(#5441) Short array syntax must be used to define arrays
(#5441) Expected 1 space before "=>"; 0 found
(#5441) Expected 1 space after "=>"; 0 found
(#5448) Commas (,) must be followed by white space.
(#5448) Short array syntax must be used to define arrays
(#5448) Expected 1 space before "=>"; 0 found
(#5448) Expected 1 space after "=>"; 0 found
(#5454) Commas (,) must be followed by white space.
(#5454) Short array syntax must be used to define arrays
(#5454) Expected 1 space before "=>"; 0 found
(#5454) Expected 1 space after "=>"; 0 found
(#5482) Short array syntax must be used to define arrays
(#5482) Line exceeds 132 characters; contains 157 characters
(#5508) Logical operator "and" is prohibited; use "&&" instead
(#5532) Docblock tag "@global" is not recommended.
(#5533) Docblock tag "@global" is not recommended.
(#5545) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5563) Inline comments must end in full-stops, exclamation marks, or question marks
(#5563) Line indented incorrectly; expected at least 4 spaces, found 1
(#5570) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5570) Inline comments must end in full-stops, exclamation marks, or question marks
(#5583) Inline comments must end in full-stops, exclamation marks, or question marks
(#5583) Line indented incorrectly; expected at least 4 spaces, found 0
(#5585) Inline comments must end in full-stops, exclamation marks, or question marks
(#5585) Line indented incorrectly; expected at least 4 spaces, found 0
(#5586) Logical operator "or" is prohibited; use "||" instead
(#5591) Short array syntax must be used to define arrays
(#5591) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5591) Inline comments must end in full-stops, exclamation marks, or question marks
(#5591) No space found before comment text; expected "// cache" but found "//cache"
(#5593) Line indented incorrectly; expected at least 4 spaces, found 0
(#5594) Line indented incorrectly; expected at least 4 spaces, found 0
(#5595) Line indented incorrectly; expected at least 4 spaces, found 0
(#5598) Logical operator "and" is prohibited; use "&&" instead
(#5599) Logical operator "or" is prohibited; use "||" instead
(#5602) Logical operator "and" is prohibited; use "&&" instead
(#5603) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5605) Inline comments must end in full-stops, exclamation marks, or question marks
(#5610) Inline comments must end in full-stops, exclamation marks, or question marks
(#5612) Line exceeds 132 characters; contains 143 characters
(#5614) Inline comments must end in full-stops, exclamation marks, or question marks
(#5620) Logical operator "and" is prohibited; use "&&" instead
(#5624) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#5627) Empty IF statement detected
(#5628) Logical operator "or" is prohibited; use "||" instead
(#5629) Logical operator "or" is prohibited; use "||" instead
(#5630) Logical operator "or" is prohibited; use "||" instead
(#5630) Logical operator "and" is prohibited; use "&&" instead
(#5631) Logical operator "or" is prohibited; use "||" instead
(#5631) Logical operator "and" is prohibited; use "&&" instead
(#5632) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5632) Inline comments must end in full-stops, exclamation marks, or question marks
(#5633) Logical operator "and" is prohibited; use "&&" instead
(#5634) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5634) Inline comments must end in full-stops, exclamation marks, or question marks
(#5650) Line exceeds 132 characters; contains 147 characters
(#5653) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5653) Inline comments must end in full-stops, exclamation marks, or question marks
(#5670) Inline comments must end in full-stops, exclamation marks, or question marks
(#5671) Short array syntax must be used to define arrays
(#5671) Expected 1 space before "=>"; 0 found
(#5671) Expected 1 space after "=>"; 0 found
(#5692) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#5694) Inline comments must end in full-stops, exclamation marks, or question marks
(#5696) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5696) Inline comments must end in full-stops, exclamation marks, or question marks
(#5699) Short array syntax must be used to define arrays
(#5699) Short array syntax must be used to define arrays
(#5734) Short array syntax must be used to define arrays
(#5760) Expected 1 space before "="; 0 found
(#5760) Expected 1 space after "="; 0 found
(#5766) Short array syntax must be used to define arrays
(#5769) Short array syntax must be used to define arrays
(#5786) Inline comments must end in full-stops, exclamation marks, or question marks
(#5791) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#5808) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5814) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5820) Short array syntax must be used to define arrays
(#5825) Expected 1 space before "=>"; 0 found
(#5825) Expected 1 space after "=>"; 0 found
(#5825) Expected 1 space before "=>"; 0 found
(#5825) Expected 1 space after "=>"; 0 found
(#5829) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5829) Inline comments must end in full-stops, exclamation marks, or question marks
(#5829) No space found before comment text; expected "// load ratings" but found "//load ratings"
(#5836) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5836) Inline comments must end in full-stops, exclamation marks, or question marks
(#5836) No space found before comment text; expected "// the aggregation method" but found "//the aggregation method"
(#5839) Logical operator "or" is prohibited; use "||" instead
(#5850) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#5852) Inline comments must end in full-stops, exclamation marks, or question marks
(#5863) Inline comments must end in full-stops, exclamation marks, or question marks
(#5874) Docblock tag "@global" is not recommended.
(#5875) Docblock tag "@global" is not recommended.
(#5876) Docblock tag "@global" is not recommended.
(#5877) Docblock tag "@global" is not recommended.
(#5879) Expected 1 space before opening brace; found 2
(#5887) Short array syntax must be used to define arrays
(#5895) Short array syntax must be used to define arrays
(#5909) Short array syntax must be used to define arrays
(#5934) Line exceeds 132 characters; contains 135 characters
(#5936) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5936) Inline comments must end in full-stops, exclamation marks, or question marks
(#5941) Variable "cm_context" must not contain underscores.
(#5942) Variable "cm_context" must not contain underscores.
(#5943) Variable "cm_context" must not contain underscores.
(#5945) Short array syntax must be used to define arrays
(#5948) Logical operator "and" is prohibited; use "&&" instead
(#5949) Logical operator "and" is prohibited; use "&&" instead
(#5949) Logical operator "and" is prohibited; use "&&" instead
(#5949) Logical operator "or" is prohibited; use "||" instead
(#5949) Logical operator "and" is prohibited; use "&&" instead
(#5956) Empty IF statement detected
(#5956) Logical operator "or" is prohibited; use "||" instead
(#5956) Logical operator "or" is prohibited; use "||" instead
(#5957) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5957) Inline comments must end in full-stops, exclamation marks, or question marks
(#5959) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5959) Inline comments must end in full-stops, exclamation marks, or question marks
(#5961) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5961) Inline comments must end in full-stops, exclamation marks, or question marks
(#5978) Commas (,) must be followed by white space.
(#5997) Short array syntax must be used to define arrays
(#6002) Short array syntax must be used to define arrays
(#6005) There should be a comma after the last array item in a multi-line array.
(#6042) There should be a comma after the last array item in a multi-line array.
(#6100) Docblock tag "@global" is not recommended.
(#6107) Short array syntax must be used to define arrays
(#6108) Short array syntax must be used to define arrays
(#6119) Docblock tag "@global" is not recommended.
(#6120) Docblock tag "@global" is not recommended.
(#6136) Short array syntax must be used to define arrays
(#6138) Short array syntax must be used to define arrays
(#6140) Short array syntax must be used to define arrays
(#6141) Short array syntax must be used to define arrays
(#6158) Expected 1 space before comment text but found 7; use block comment if you need indentation
(#6159) Expected 1 space before comment text but found 7; use block comment if you need indentation
(#6165) Short array syntax must be used to define arrays
(#6165) Expected 1 space before "=>"; 0 found
(#6165) Expected 1 space after "=>"; 0 found
(#6165) Expected 1 space before "=>"; 0 found
(#6165) Expected 1 space after "=>"; 0 found
(#6165) Expected 1 space before "=>"; 0 found
(#6165) Expected 1 space after "=>"; 0 found
(#6178) Docblock tag "@global" is not recommended.
(#6179) Docblock tag "@global" is not recommended.
(#6205) Short array syntax must be used to define arrays
(#6215) Line indented incorrectly; expected at least 4 spaces, found 1
(#6216) Line indented incorrectly; expected at least 4 spaces, found 1
(#6233) Line indented incorrectly; expected at least 4 spaces, found 1
(#6235) Line indented incorrectly; expected at least 4 spaces, found 1
(#6236) Line indented incorrectly; expected at least 4 spaces, found 1
(#6236) Short array syntax must be used to define arrays
(#6240) Line indented incorrectly; expected at least 4 spaces, found 1
(#6241) Line indented incorrectly; expected at least 4 spaces, found 1
(#6252) Docblock tag "@global" is not recommended.
(#6253) Docblock tag "@global" is not recommended.
(#6265) Short array syntax must be used to define arrays
(#6272) Short array syntax must be used to define arrays
(#6278) Short array syntax must be used to define arrays
(#6301) Docblock tag "@global" is not recommended.
(#6302) Docblock tag "@global" is not recommended.
(#6313) Expected 1 space before "*"; 0 found
(#6313) Expected 1 space after "*"; 0 found
(#6313) Expected 1 space before "*"; 0 found
(#6313) Expected 1 space after "*"; 0 found
(#6313) Expected 1 space before "*"; 0 found
(#6313) Expected 1 space after "*"; 0 found
(#6316) Short array syntax must be used to define arrays
(#6342) Docblock tag "@global" is not recommended.
(#6343) Docblock tag "@global" is not recommended.
(#6353) Expected 1 space before "*"; 0 found
(#6353) Expected 1 space after "*"; 0 found
(#6353) Expected 1 space before "*"; 0 found
(#6353) Expected 1 space after "*"; 0 found
(#6353) Expected 1 space before "*"; 0 found
(#6353) Expected 1 space after "*"; 0 found
(#6361) Short array syntax must be used to define arrays
(#6370) Docblock tag "@global" is not recommended.
(#6374) No one-line description found in phpdocs for docblock of function hsuforum_tp_is_post_read
(#6377) Short array syntax must be used to define arrays
(#6381) Docblock tag "@global" is not recommended.
(#6385) No one-line description found in phpdocs for docblock of function hsuforum_tp_is_post_old
(#6398) Docblock tag "@global" is not recommended.
(#6399) Docblock tag "@global" is not recommended.
(#6410) Short array syntax must be used to define arrays
(#6437) Short array syntax must be used to define arrays
(#6443) Docblock tag "@global" is not recommended.
(#6444) Docblock tag "@global" is not recommended.
(#6445) Docblock tag "@global" is not recommended.
(#6454) Short array syntax must be used to define arrays
(#6457) Short array syntax must be used to define arrays
(#6464) Short array syntax must be used to define arrays
(#6473) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6473) Inline comments must end in full-stops, exclamation marks, or question marks
(#6496) Variable "groups_sql" must not contain underscores.
(#6496) Variable "groups_params" must not contain underscores.
(#6500) Short array syntax must be used to define arrays
(#6510) Variable "groups_params" must not contain underscores.
(#6520) Variable "groups_sql" must not contain underscores.
(#6533) Short array syntax must be used to define arrays
(#6544) Short array syntax must be used to define arrays
(#6555) Short array syntax must be used to define arrays
(#6560) Docblock tag "@global" is not recommended.
(#6561) Docblock tag "@global" is not recommended.
(#6572) Line indented incorrectly; expected at least 4 spaces, found 0
(#6573) Expected 1 space before "*"; 0 found
(#6573) Expected 1 space after "*"; 0 found
(#6573) Expected 1 space before "*"; 0 found
(#6573) Expected 1 space after "*"; 0 found
(#6573) Expected 1 space before "*"; 0 found
(#6573) Expected 1 space after "*"; 0 found
(#6575) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6575) Inline comments must end in full-stops, exclamation marks, or question marks
(#6575) No space found before comment text; expected "// first get the oldest tracking present - we need tis to speedup the next delete query" but found "//first get the oldest tracking present - we need tis to speedup the next delete query"
(#6580) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6580) Inline comments must end in full-stops, exclamation marks, or question marks
(#6584) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6584) Inline comments must end in full-stops, exclamation marks, or question marks
(#6590) Short array syntax must be used to define arrays
(#6596) Docblock tag "@global" is not recommended.
(#6597) Docblock tag "@global" is not recommended.
(#6604) Inline comments must end in full-stops, exclamation marks, or question marks
(#6604) Line indented incorrectly; expected at least 4 spaces, found 0
(#6605) Short array syntax must be used to define arrays
(#6609) Inline comments must end in full-stops, exclamation marks, or question marks
(#6609) Line indented incorrectly; expected at least 4 spaces, found 0
(#6615) Inline comments must end in full-stops, exclamation marks, or question marks
(#6615) Line indented incorrectly; expected at least 4 spaces, found 0
(#6616) Short array syntax must be used to define arrays
(#6626) Line indented incorrectly; expected at least 4 spaces, found 0
(#6627) Inline comments must end in full-stops, exclamation marks, or question marks
(#6627) Line indented incorrectly; expected at least 4 spaces, found 0
(#6643) Short array syntax must be used to define arrays
(#6653) Short array syntax must be used to define arrays
(#6672) Short array syntax must be used to define arrays
(#6672) Commas (,) must be followed by white space.
(#6672) Commas (,) must be followed by white space.
(#6672) Commas (,) must be followed by white space.
(#6672) Commas (,) must be followed by white space.
(#6672) Commas (,) must be followed by white space.
(#6672) Commas (,) must be followed by white space.
(#6688) Short array syntax must be used to define arrays
(#6718) Short array syntax must be used to define arrays
(#6772) Docblock tag "@global" is not recommended.
(#6773) Docblock tag "@global" is not recommended.
(#6781) Short array syntax must be used to define arrays
(#6803) Docblock tag "@global" is not recommended.
(#6804) Docblock tag "@global" is not recommended.
(#6813) Short array syntax must be used to define arrays
(#6815) Short array syntax must be used to define arrays
(#6822) Short array syntax must be used to define arrays
(#6823) Expected "} else if (...) {\n"; found "} else if (...){\n"
(#6823) Expected "if (...) {\n"; found "if (...){\n"
(#6825) Short array syntax must be used to define arrays
(#6826) Short array syntax must be used to define arrays
(#6827) Variable "hsuforum_types_all" must not contain underscores.
(#6829) Variable "hsuforum_types_all" must not contain underscores.
(#6832) Variable "hsuforum_types_all" must not contain underscores.
(#6873) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6873) Inline comments must end in full-stops, exclamation marks, or question marks
(#6876) Expected 1 space before "=>"; 0 found
(#6876) Expected 1 space after "=>"; 0 found
(#6876) Expected 1 space before "=>"; 0 found
(#6876) Expected 1 space after "=>"; 0 found
(#6884) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6884) Inline comments must end in full-stops, exclamation marks, or question marks
(#6884) No space found before comment text; expected "// remove ratings" but found "//remove ratings"
(#6892) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6892) Inline comments must end in full-stops, exclamation marks, or question marks
(#6895) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6895) Inline comments must end in full-stops, exclamation marks, or question marks
(#6898) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6898) Inline comments must end in full-stops, exclamation marks, or question marks
(#6901) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6901) Inline comments must end in full-stops, exclamation marks, or question marks
(#6902) Line exceeds 132 characters; contains 135 characters
(#6902) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6902) Inline comments must end in full-stops, exclamation marks, or question marks
(#6903) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6903) Inline comments must end in full-stops, exclamation marks, or question marks
(#6903) Line exceeds maximum limit of 180 characters; contains 182 characters
(#6905) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6905) Inline comments must end in full-stops, exclamation marks, or question marks
(#6908) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6908) Inline comments must end in full-stops, exclamation marks, or question marks
(#6919) Short array syntax must be used to define arrays
(#6919) Expected 1 space before "=>"; 0 found
(#6919) Expected 1 space after "=>"; 0 found
(#6919) Expected 1 space before "=>"; 0 found
(#6919) Expected 1 space after "=>"; 0 found
(#6919) Expected 1 space before "=>"; 0 found
(#6919) Expected 1 space after "=>"; 0 found
(#6922) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6922) Inline comments must end in full-stops, exclamation marks, or question marks
(#6925) Expected 1 space before "=>"; 0 found
(#6925) Expected 1 space after "=>"; 0 found
(#6925) Expected 1 space before "=>"; 0 found
(#6925) Expected 1 space after "=>"; 0 found
(#6931) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6931) Inline comments must end in full-stops, exclamation marks, or question marks
(#6931) No space found before comment text; expected "// remove ratings" but found "//remove ratings"
(#6937) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6937) Inline comments must end in full-stops, exclamation marks, or question marks
(#6956) Short array syntax must be used to define arrays
(#6959) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6962) Short array syntax must be used to define arrays
(#6965) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6965) Inline comments must end in full-stops, exclamation marks, or question marks
(#6968) Short array syntax must be used to define arrays
(#6968) Expected 1 space before "=>"; 0 found
(#6968) Expected 1 space after "=>"; 0 found
(#6968) Expected 1 space before "=>"; 0 found
(#6968) Expected 1 space after "=>"; 0 found
(#6968) Commas (,) must be followed by white space.
(#6968) Expected 1 space before "=>"; 0 found
(#6968) Expected 1 space after "=>"; 0 found
(#6971) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6971) Inline comments must end in full-stops, exclamation marks, or question marks
(#6974) Short array syntax must be used to define arrays
(#6974) Expected 1 space before "=>"; 0 found
(#6974) Expected 1 space after "=>"; 0 found
(#6974) Expected 1 space before "=>"; 0 found
(#6974) Expected 1 space after "=>"; 0 found
(#6974) Commas (,) must be followed by white space.
(#6974) Expected 1 space before "=>"; 0 found
(#6974) Expected 1 space after "=>"; 0 found
(#6977) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6977) Inline comments must end in full-stops, exclamation marks, or question marks
(#6977) 3 slashes comments are not allowed; use "// Comment." instead
(#6981) Short array syntax must be used to define arrays
(#6982) Short array syntax must be used to define arrays
(#6982) Expected 1 space before "=>"; 0 found
(#6982) Expected 1 space after "=>"; 0 found
(#6982) Expected 1 space before "=>"; 0 found
(#6982) Expected 1 space after "=>"; 0 found
(#6982) Expected 1 space before "=>"; 0 found
(#6982) Expected 1 space after "=>"; 0 found
(#6996) Commas (,) must be followed by white space.
(#6998) Short array syntax must be used to define arrays
(#6998) Line exceeds 132 characters; contains 164 characters
(#7005) Commas (,) must be followed by white space.
(#7008) Commas (,) must be followed by white space.
(#7025) Short array syntax must be used to define arrays
(#7025) Expected 1 space before "=>"; 0 found
(#7025) Expected 1 space after "=>"; 0 found
(#7025) Expected 1 space before "=>"; 0 found
(#7025) Expected 1 space after "=>"; 0 found
(#7025) Expected 1 space before "=>"; 0 found
(#7025) Expected 1 space after "=>"; 0 found
(#7025) Expected 1 space before "=>"; 0 found
(#7025) Expected 1 space after "=>"; 0 found
(#7025) Line exceeds 132 characters; contains 170 characters
(#7034) Short array syntax must be used to define arrays
(#7047) Short array syntax must be used to define arrays
(#7047) Commas (,) must be followed by white space.
(#7048) Commas (,) must be followed by white space.
(#7059) Expected 1 space before opening brace; found 0
(#7060) Short array syntax must be used to define arrays
(#7063) There should be a comma after the last array item in a multi-line array.
(#7087) Short array syntax must be used to define arrays
(#7092) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7092) Inline comments must end in full-stops, exclamation marks, or question marks
(#7098) Line exceeds 132 characters; contains 153 characters
(#7101) Logical operator "and" is prohibited; use "&&" instead
(#7101) Line exceeds 132 characters; contains 145 characters
(#7106) Short array syntax must be used to define arrays
(#7106) Line exceeds 132 characters; contains 141 characters
(#7114) Short array syntax must be used to define arrays
(#7114) Line exceeds 132 characters; contains 142 characters
(#7124) Short array syntax must be used to define arrays
(#7124) Expected 1 space before "=>"; 0 found
(#7124) Expected 1 space after "=>"; 0 found
(#7124) Expected 1 space before "=>"; 0 found
(#7124) Expected 1 space after "=>"; 0 found
(#7124) Expected 1 space before "=>"; 0 found
(#7124) Expected 1 space after "=>"; 0 found
(#7124) Line exceeds maximum limit of 180 characters; contains 247 characters
(#7125) Short array syntax must be used to define arrays
(#7125) Expected 1 space before "=>"; 0 found
(#7125) Expected 1 space after "=>"; 0 found
(#7125) Expected 1 space before "=>"; 0 found
(#7125) Expected 1 space after "=>"; 0 found
(#7125) Expected 1 space before "=>"; 0 found
(#7125) Expected 1 space after "=>"; 0 found
(#7125) Line exceeds maximum limit of 180 characters; contains 245 characters
(#7126) Short array syntax must be used to define arrays
(#7126) Expected 1 space before "=>"; 0 found
(#7126) Expected 1 space after "=>"; 0 found
(#7126) Expected 1 space before "=>"; 0 found
(#7126) Expected 1 space after "=>"; 0 found
(#7126) Expected 1 space before "=>"; 0 found
(#7126) Expected 1 space after "=>"; 0 found
(#7126) Line exceeds maximum limit of 180 characters; contains 247 characters
(#7127) Short array syntax must be used to define arrays
(#7127) Expected 1 space before "=>"; 0 found
(#7127) Expected 1 space after "=>"; 0 found
(#7127) Expected 1 space before "=>"; 0 found
(#7127) Expected 1 space after "=>"; 0 found
(#7127) Expected 1 space before "=>"; 0 found
(#7127) Expected 1 space after "=>"; 0 found
(#7127) Line exceeds maximum limit of 180 characters; contains 252 characters
(#7176) Short array syntax must be used to define arrays
(#7176) Expected 1 space before "=>"; 0 found
(#7176) Expected 1 space after "=>"; 0 found
(#7176) Expected 1 space before "=>"; 0 found
(#7176) Expected 1 space after "=>"; 0 found
(#7185) Short array syntax must be used to define arrays
(#7201) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#7203) Expected "if (...) {\n"; found "if (...){\n"
(#7204) Short array syntax must be used to define arrays
(#7204) Expected 1 space before "=>"; 0 found
(#7204) Expected 1 space after "=>"; 0 found
(#7207) Logical operator "or" is prohibited; use "||" instead
(#7211) Short array syntax must be used to define arrays
(#7216) Line exceeds 132 characters; contains 143 characters
(#7226) Line exceeds 132 characters; contains 136 characters
(#7236) Commas (,) must be followed by white space.
(#7238) Commas (,) must be followed by white space.
(#7297) Expected 1 space after "="; 2 found
(#7321) Missing @var tag in member variable comment
(#7322) Short array syntax must be used to define arrays
(#7332) Expected 1 space before "="; 0 found
(#7332) Expected 1 space after "="; 0 found
(#7342) Expected 1 space before "==="; 0 found
(#7342) Expected 1 space after "==="; 0 found
(#7343) Expected 1 space before "="; 0 found
(#7343) Expected 1 space after "="; 0 found
(#7359) Short array syntax must be used to define arrays
(#7366) Short array syntax must be used to define arrays
(#7409) Short array syntax must be used to define arrays
(#7413) Short array syntax must be used to define arrays
(#7415) Short array syntax must be used to define arrays
(#7454) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7454) Inline comments must end in full-stops, exclamation marks, or question marks
(#7467) Short array syntax must be used to define arrays
(#7513) Variable "hsuforum_pagetype" must not contain underscores.
(#7513) Short array syntax must be used to define arrays
(#7514) Expected 1 space before "=>"; 0 found
(#7514) Expected 1 space after "=>"; 0 found
(#7515) Expected 1 space before "=>"; 0 found
(#7515) Expected 1 space after "=>"; 0 found
(#7516) Expected 1 space before "=>"; 0 found
(#7516) Expected 1 space after "=>"; 0 found
(#7516) There should be a comma after the last array item in a multi-line array.
(#7518) Variable "hsuforum_pagetype" must not contain underscores.
(#7524) Docblock tag "@global" is not recommended.
(#7532) Line exceeds 132 characters; contains 141 characters
(#7542) Short array syntax must be used to define arrays
(#7546) Short array syntax must be used to define arrays
(#7576) Docblock tag "@global" is not recommended.
(#7586) Line exceeds 132 characters; contains 140 characters
(#7594) Short array syntax must be used to define arrays
(#7634) Docblock tag "@global" is not recommended.
(#7652) Line exceeds 132 characters; contains 143 characters
(#7657) Inline comments must end in full-stops, exclamation marks, or question marks
(#7658) Short array syntax must be used to define arrays
(#7658) Inline comments must end in full-stops, exclamation marks, or question marks
(#7659) Short array syntax must be used to define arrays
(#7659) Inline comments must end in full-stops, exclamation marks, or question marks
(#7660) Short array syntax must be used to define arrays
(#7660) Inline comments must end in full-stops, exclamation marks, or question marks
(#7668) Inline comments must end in full-stops, exclamation marks, or question marks
(#7677) Short array syntax must be used to define arrays
(#7677) Line exceeds 132 characters; contains 142 characters
(#7678) Short array syntax must be used to define arrays
(#7678) Line exceeds 132 characters; contains 137 characters
(#7695) Inline comments must end in full-stops, exclamation marks, or question marks
(#7717) Line exceeds 132 characters; contains 159 characters
(#7718) Inline comments must end in full-stops, exclamation marks, or question marks
(#7719) Logical operator "or" is prohibited; use "||" instead
(#7720) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7720) Inline comments must end in full-stops, exclamation marks, or question marks
(#7726) Inline comments must end in full-stops, exclamation marks, or question marks
(#7728) Inline comments must end in full-stops, exclamation marks, or question marks
(#7747) Inline comments must end in full-stops, exclamation marks, or question marks
(#7750) Inline comments must end in full-stops, exclamation marks, or question marks
(#7767) Inline comments must end in full-stops, exclamation marks, or question marks
(#7768) Short array syntax must be used to define arrays
(#7769) Inline comments must end in full-stops, exclamation marks, or question marks
(#7770) Short array syntax must be used to define arrays
(#7771) Inline comments must end in full-stops, exclamation marks, or question marks
(#7772) Short array syntax must be used to define arrays
(#7773) Inline comments must end in full-stops, exclamation marks, or question marks
(#7779) Inline comments must end in full-stops, exclamation marks, or question marks
(#7782) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7785) Inline comments must end in full-stops, exclamation marks, or question marks
(#7787) Logical operator "or" is prohibited; use "||" instead
(#7790) Inline comments must end in full-stops, exclamation marks, or question marks
(#7803) Inline comments must end in full-stops, exclamation marks, or question marks
(#7804) Line exceeds 132 characters; contains 174 characters
(#7808) Inline comments must end in full-stops, exclamation marks, or question marks
(#7809) Short array syntax must be used to define arrays
(#7811) Inline comments must end in full-stops, exclamation marks, or question marks
(#7812) Logical operator "and" is prohibited; use "&&" instead
(#7812) Line exceeds 132 characters; contains 149 characters
(#7815) Variable "groupid_sql" must not contain underscores.
(#7815) Variable "groupid_params" must not contain underscores.
(#7816) Variable "groupid_params" must not contain underscores.
(#7817) Variable "groupid_sql" must not contain underscores.
(#7820) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7820) Inline comments must end in full-stops, exclamation marks, or question marks
(#7822) Line exceeds 132 characters; contains 170 characters
(#7828) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7828) Inline comments must end in full-stops, exclamation marks, or question marks
(#7833) Short array syntax must be used to define arrays
(#7833) Line exceeds 132 characters; contains 143 characters
(#7837) Variable "discussionid_sql" must not contain underscores.
(#7837) Variable "discussionid_params" must not contain underscores.
(#7837) Line exceeds 132 characters; contains 156 characters
(#7838) Variable "discussionid_params" must not contain underscores.
(#7839) Variable "discussionid_sql" must not contain underscores.
(#7853) Inline comments must end in full-stops, exclamation marks, or question marks
(#7899) Inline comments must end in full-stops, exclamation marks, or question marks
(#7901) Inline comments must end in full-stops, exclamation marks, or question marks
(#7930) Short array syntax must be used to define arrays
(#7955) Logical operator "or" is prohibited; use "||" instead
(#7971) Logical operator "or" is prohibited; use "||" instead
(#7986) No one-line description found in phpdocs for docblock of function hsuforum_anonymize_user
(#7990) Logical operator "or" is prohibited; use "||" instead
(#7997) Logical operator "or" is prohibited; use "||" instead
(#8000) Logical operator "or" is prohibited; use "||" instead
(#8006) Short array syntax must be used to define arrays
(#8017) Short array syntax must be used to define arrays
(#8017) Expected 1 space before "=>"; 0 found
(#8017) Expected 1 space after "=>"; 0 found
(#8017) Expected 1 space before "=>"; 0 found
(#8017) Expected 1 space after "=>"; 0 found
(#8018) There should be a comma after the last array item in a multi-line array.
(#8024) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#8044) No one-line description found in phpdocs for docblock of function hsuforum_is_anonymous_user
(#8063) Short array syntax must be used to define arrays
(#8066) Short array syntax must be used to define arrays
(#8092) Short array syntax must be used to define arrays
(#8098) Short array syntax must be used to define arrays
(#8114) Short array syntax must be used to define arrays
(#8150) No one-line description found in phpdocs for docblock of function mod_hsuforum_comment_validate
(#8156) Short array syntax must be used to define arrays
(#8156) Expected 1 space before "=>"; 0 found
(#8156) Expected 1 space after "=>"; 0 found
(#8166) Logical operator "or" is prohibited; use "||" instead
(#8174) Missing docblock for function mod_hsuforum_comment_permissions
(#8180) Short array syntax must be used to define arrays
(#8180) Expected 1 space before "=>"; 0 found
(#8180) Expected 1 space after "=>"; 0 found
(#8190) Logical operator "or" is prohibited; use "||" instead
(#8191) Short array syntax must be used to define arrays
(#8195) Short array syntax must be used to define arrays
(#8203) No one-line description found in phpdocs for docblock of function mod_hsuforum_comment_display
(#8222) No one-line description found in phpdocs for docblock of function hsuforum_forum_comments_pluginfile
(#8232) Short array syntax must be used to define arrays
(#8232) Expected 1 space before "=>"; 0 found
(#8232) Expected 1 space after "=>"; 0 found
(#8240) Logical operator "or" is prohibited; use "||" instead
(#8246) Logical operator "or" is prohibited; use "||" instead
(#8251) Inline comments must start with a capital letter, digit or 3-dots sequence
(#8251) Inline comments must end in full-stops, exclamation marks, or question marks
(#8260) No one-line description found in phpdocs for docblock of function mod_hsuforum_comment_message
(#8266) Short array syntax must be used to define arrays
(#8266) Expected 1 space before "=>"; 0 found
(#8266) Expected 1 space after "=>"; 0 found
(#8280) Logical operator "and" is prohibited; use "&&" instead
(#8285) Short array syntax must be used to define arrays
(#8292) Short array syntax must be used to define arrays
(#8293) Short array syntax must be used to define arrays
(#8298) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#8300) Short array syntax must be used to define arrays
(#8316) Short array syntax must be used to define arrays
(#8323) Short array syntax must be used to define arrays
(#8338) Short array syntax must be used to define arrays
(#8346) Short array syntax must be used to define arrays
(#8401) Short array syntax must be used to define arrays
(#8454) Short array syntax must be used to define arrays
(#8484) No one-line description found in phpdocs for docblock of function hsuforum_xreplies
(#8502) Short array syntax must be used to define arrays
(#8517) There should be a comma after the last array item in a multi-line array.
(#8574) Short array syntax must be used to define arrays
(#8576) There should be a comma after the last array item in a multi-line array.
(#8595) Short array syntax must be used to define arrays
(#8617) Short array syntax must be used to define arrays
(#8619) Short array syntax must be used to define arrays
(#8622) Short array syntax must be used to define arrays
(#8622) There should be a comma after the last array item in a multi-line array.
(#8641) Short array syntax must be used to define arrays
(#8643) Short array syntax must be used to define arrays
(#8646) Short array syntax must be used to define arrays
(#8646) There should be a comma after the last array item in a multi-line array.
(#8670) Short array syntax must be used to define arrays
(#8678) Short array syntax must be used to define arrays
(#8690) Missing docblock for function mod_hsuforum_output_fragment_editor
(#8738) Short array syntax must be used to define arrays
(#8739) Short array syntax must be used to define arrays
(#8785) Short array syntax must be used to define arrays
(#8793) Short array syntax must be used to define arrays
(#8796) Short array syntax must be used to define arrays
(#8818) Logical operator "and" is prohibited; use "&&" instead
(#8911) Short array syntax must be used to define arrays
(#8920) Short array syntax must be used to define arrays
(#8923) Short array syntax must be used to define arrays
mod/hsuforum/lib/discussion/sort.php
(#20) Incorrect @package tag for file sort.php. Expected mod_hsuforum, found mod.
(#27) When the magic __serialize() and __unserialize() methods are available and the code base does not need to support PHP < 7.4, the implementation of the Serializable interface can be removed.
(#27) Missing docblock for class hsuforum_lib_discussion_sort
(#40) Short array syntax must be used to define arrays
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) This comment is 67% valid code; is this commented out code?
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) This comment is 58% valid code; is this commented out code?
(#58) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#69) Docblock tag "@static" is not recommended.
(#74) No one-line description found in phpdocs for docblock of function get_from_session
(#80) Inline doc block comments are not allowed; use "// Comment." instead
(#93) Docblock tag "@static" is not recommended.
(#96) No one-line description found in phpdocs for docblock of function set_to_session
(#105) No one-line description found in phpdocs for docblock of function set_disabled
(#116) No one-line description found in phpdocs for docblock of function get_disabled
(#123) No one-line description found in phpdocs for docblock of function get_keyopts
(#130) No one-line description found in phpdocs for docblock of function get_directionopts
(#138) No one-line description found in phpdocs for docblock of function set_direction
(#149) No one-line description found in phpdocs for docblock of function get_direction
(#157) No one-line description found in phpdocs for docblock of function set_key
(#171) No one-line description found in phpdocs for docblock of function get_key
(#178) No one-line description found in phpdocs for docblock of function get_key_options_menu
(#179) Short array syntax must be used to define arrays
(#191) No one-line description found in phpdocs for docblock of function get_direction_options_menu
(#192) Short array syntax must be used to define arrays
(#202) No one-line description found in phpdocs for docblock of function get_sort_sql
(#211) No one-line description found in phpdocs for docblock of function disable
(#218) Object operator not indented correctly; expected 16 spaces but found 17
(#252) No one-line description found in phpdocs for docblock of function __serialize
(#253) Short array syntax must be used to define arrays
(#259) No one-line description found in phpdocs for docblock of function __unserialize
(#263) Empty CATCH statement detected
mod/hsuforum/lib/discussion/subscribe.php
(#20) Incorrect @package tag for file subscribe.php. Expected mod_hsuforum, found mod.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Missing docblock for class hsuforum_lib_discussion_subscribe
(#55) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#70) No one-line description found in phpdocs for docblock of function __construct
(#80) Object operator not indented correctly; expected 12 spaces but found 13
(#81) Object operator not indented correctly; expected 12 spaces but found 13
(#82) Object operator not indented correctly; expected 12 spaces but found 13
(#89) No one-line description found in phpdocs for docblock of function set_forum
(#97) No one-line description found in phpdocs for docblock of function get_forum
(#105) No one-line description found in phpdocs for docblock of function set_context
(#113) No one-line description found in phpdocs for docblock of function get_context
(#121) No one-line description found in phpdocs for docblock of function set_repo
(#129) No one-line description found in phpdocs for docblock of function get_repo
(#137) No one-line description found in phpdocs for docblock of function set_userid
(#145) No one-line description found in phpdocs for docblock of function get_userid
(#152) No one-line description found in phpdocs for docblock of function require_can_subscribe
(#163) Method name "_can_subscribe" should not be prefixed with an underscore to indicate visibility
(#190) Logical operator "or" is prohibited; use "||" instead
(#204) Logical operator "or" is prohibited; use "||" instead
(#205) Line exceeds 132 characters; contains 133 characters
mod/hsuforum/lib/flag.php
(#20) Incorrect @package tag for file flag.php. Expected mod_hsuforum, found mod.
(#27) Missing docblock for class hsuforum_lib_flag
(#33) Short array syntax must be used to define arrays
(#41) No one-line description found in phpdocs for docblock of function get_flags
mod/hsuforum/lib/table/posters.php
(#20) Incorrect @package tag for file posters.php. Expected mod_hsuforum, found mod.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Missing docblock for class hsuforum_lib_table_posters
(#30) Missing docblock for function __construct
(#35) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#75) Missing docblock for function col_userpic
mod/hsuforum/lib/userselector/discussion/abstract.php
(#20) Incorrect @package tag for file abstract.php. Expected mod_hsuforum, found mod.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Missing docblock for class hsuforum_userselector_discussion_abstract
(#80) Docblock tag "@abstract" is not recommended.
(#92) Expected 1 space after "="; 2 found
(#104) No one-line description found in phpdocs for docblock of function set_repo
(#112) No one-line description found in phpdocs for docblock of function get_repo
mod/hsuforum/lib/userselector/discussion/existing.php
(#20) Incorrect @package tag for file existing.php. Expected mod_hsuforum, found mod.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Missing docblock for class hsuforum_userselector_discussion_existing
(#39) Missing docblock for function find_users
(#40) Short array syntax must be used to define arrays
(#42) Line exceeds maximum limit of 180 characters; contains 187 characters
(#42) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/lib/userselector/discussion/potential.php
(#20) Incorrect @package tag for file potential.php. Expected mod_hsuforum, found mod.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Missing docblock for class hsuforum_userselector_discussion_potential
(#39) Missing docblock for function find_users
(#40) Short array syntax must be used to define arrays
(#42) Line exceeds maximum limit of 180 characters; contains 189 characters
(#42) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/locallib.php
(#1) DocBlock missing a @package tag for file locallib.php. Expected @package mod_hsuforum
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) Missing @copyright tag
(#18) Missing @license tag
(#22) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#32) No one-line description found in phpdocs for docblock of class hsuforum_portfolio_caller
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#38) Missing member variable doc comment
(#39) Missing member variable doc comment
(#40) Missing member variable doc comment
(#41) Missing member variable doc comment
(#42) Missing member variable doc comment
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) No one-line description found in phpdocs for docblock of function expected_callbackargs
(#48) Short array syntax must be used to define arrays
(#57) No one-line description found in phpdocs for docblock of function __construct
(#57) Visibility must be declared on method "__construct"
(#64) Docblock tag "@global" is not recommended.
(#66) No one-line description found in phpdocs for docblock of function load_data
(#70) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#108) Line exceeds 132 characters; contains 139 characters
(#109) Line exceeds 132 characters; contains 133 characters
(#116) Short array syntax must be used to define arrays
(#118) Inline comments must start with a capital letter, digit or 3-dots sequence
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Short array syntax must be used to define arrays
(#123) Line exceeds 132 characters; contains 133 characters
(#135) Short array syntax must be used to define arrays
(#135) Inline comments must start with a capital letter, digit or 3-dots sequence
(#135) 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
(#148) Docblock tag "@global" is not recommended.
(#151) No one-line description found in phpdocs for docblock of function get_return_url
(#151) Visibility must be declared on method "get_return_url"
(#156) Docblock tag "@global" is not recommended.
(#159) No one-line description found in phpdocs for docblock of function get_navigation
(#159) Visibility must be declared on method "get_navigation"
(#162) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#166) There should be a comma after the last array item in a multi-line array.
(#168) Short array syntax must be used to define arrays
(#175) Docblock tag "@global" is not recommended.
(#176) Docblock tag "@global" is not recommended.
(#180) Visibility must be declared on method "prepare_package"
(#183) Inline comments must start with a capital letter, digit or 3-dots sequence
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#189) Inline comments must start with a capital letter, digit or 3-dots sequence
(#189) Inline comments must end in full-stops, exclamation marks, or question marks
(#190) Short array syntax must be used to define arrays
(#191) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Line exceeds 132 characters; contains 133 characters
(#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
(#198) Inline comments must start with a capital letter, digit or 3-dots sequence
(#198) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) Short array syntax must be used to define arrays
(#199) Inline comments must start with a capital letter, digit or 3-dots sequence
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Expected 1 space after "="; 2 found
(#212) Inline comments must start with a capital letter, digit or 3-dots sequence
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#222) Inline comments must start with a capital letter, digit or 3-dots sequence
(#222) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) Line exceeds 132 characters; contains 134 characters
(#270) No one-line description found in phpdocs for docblock of function copy_files
(#280) Inline comments must start with a capital letter, digit or 3-dots sequence
(#280) Inline comments must end in full-stops, exclamation marks, or question marks
(#287) Docblock tag "@global" is not recommended.
(#295) Short array syntax must be used to define arrays
(#298) Short array syntax must be used to define arrays
(#300) Inline comments must start with a capital letter, digit or 3-dots sequence
(#300) Inline comments must end in full-stops, exclamation marks, or question marks
(#303) Inline comments must start with a capital letter, digit or 3-dots sequence
(#303) Inline comments must end in full-stops, exclamation marks, or question marks
(#307) Line exceeds 132 characters; contains 142 characters
(#311) Inline comments must start with a capital letter, digit or 3-dots sequence
(#335) Line exceeds 132 characters; contains 177 characters
(#351) No one-line description found in phpdocs for docblock of function get_sha1
(#351) Visibility must be declared on method "get_sha1"
(#353) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch (...) { "
(#355) Empty CATCH statement detected
(#355) Empty CATCH statement must have a comment to explain why the exception is not handled
(#355) Closing brace must be on a line by itself
(#360) Short array syntax must be used to define arrays
(#368) Missing docblock for function expected_time
(#368) Visibility must be declared on method "expected_time"
(#382) No one-line description found in phpdocs for docblock of function check_permissions
(#382) Visibility must be declared on method "check_permissions"
(#394) No one-line description found in phpdocs for docblock of function display_name
(#398) Missing docblock for function base_supported_formats
(#399) Short array syntax must be used to define arrays
(#411) DocBlock missing a @package tag for class hsuforum_file_info_container. Expected @package mod_hsuforum
(#451) No one-line description found in phpdocs for docblock of function get_params
(#452) Short array syntax must be used to define arrays
(#508) Short array syntax must be used to define arrays
(#528) Short array syntax must be used to define arrays
(#594) DocBlock missing a @package tag for function mod_hsuforum_get_tagged_posts. Expected @package mod_hsuforum
(#616) Short array syntax must be used to define arrays
(#655) There should be a comma after the last array item in a multi-line array.
(#661) There should be a comma after the last array item in a multi-line array.
(#667) There should be a comma after the last array item in a multi-line array.
(#689) Short array syntax must be used to define arrays
(#690) Short array syntax must be used to define arrays
(#694) Short array syntax must be used to define arrays
(#696) Short array syntax must be used to define arrays
mod/hsuforum/maildigest.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#36) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
mod/hsuforum/mod_form.php
(#1) No one-line description found in phpdocs for docblock of file mod_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) 3 slashes comments are not allowed; use "// Comment." instead
(#27) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#30) "require_once" must be immediately followed by an open parenthesis
(#34) Missing docblock for class mod_hsuforum_mod_form
(#39) Missing docblock for function definition
(#39) Visibility must be declared on method "definition"
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Line indented incorrectly; expected at least 8 spaces, found 0
(#46) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#49) Short array syntax must be used to define arrays
(#49) Expected 1 space before "=>"; 0 found
(#49) Expected 1 space after "=>"; 0 found
(#108) Short array syntax must be used to define arrays
(#122) There should be a comma after the last array item in a multi-line array.
(#142) Inline comments must start with a capital letter, digit or 3-dots sequence
(#142) Line indented incorrectly; expected at least 12 spaces, found 0
(#142) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#144) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#179) Expected 1 space before "*"; 3 found
(#180) Expected 1 space before "*"; 3 found
(#181) Expected 1 space before "*"; 3 found
(#182) Expected 1 space before "*"; 2 found
(#183) Expected 1 space before "*"; 2 found
(#184) Expected 1 space before "*"; 2 found
(#186) Expected 1 space before "*"; 3 found
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Line indented incorrectly; expected at least 8 spaces, found 0
(#192) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#194) Short array syntax must be used to define arrays
(#195) Commas (,) must be followed by white space.
(#196) Expected 1 space before "*"; 0 found
(#196) Expected 1 space after "*"; 0 found
(#196) Expected 1 space before "*"; 0 found
(#196) Expected 1 space after "*"; 0 found
(#197) Expected 1 space before "*"; 0 found
(#197) Expected 1 space after "*"; 0 found
(#197) Expected 1 space before "*"; 0 found
(#197) Expected 1 space after "*"; 0 found
(#197) Expected 1 space before "*"; 0 found
(#197) Expected 1 space after "*"; 0 found
(#198) Expected 1 space before "*"; 0 found
(#198) Expected 1 space after "*"; 0 found
(#198) Expected 1 space before "*"; 0 found
(#198) Expected 1 space after "*"; 0 found
(#198) Expected 1 space before "*"; 0 found
(#198) Expected 1 space after "*"; 0 found
(#199) Expected 1 space before "*"; 0 found
(#199) Expected 1 space after "*"; 0 found
(#199) Expected 1 space before "*"; 0 found
(#199) Expected 1 space after "*"; 0 found
(#199) Expected 1 space before "*"; 0 found
(#199) Expected 1 space after "*"; 0 found
(#200) Expected 1 space before "*"; 0 found
(#200) Expected 1 space after "*"; 0 found
(#200) Expected 1 space before "*"; 0 found
(#200) Expected 1 space after "*"; 0 found
(#200) Expected 1 space before "*"; 0 found
(#200) Expected 1 space after "*"; 0 found
(#201) Expected 1 space before "*"; 0 found
(#201) Expected 1 space after "*"; 0 found
(#201) Expected 1 space before "*"; 0 found
(#201) Expected 1 space after "*"; 0 found
(#201) Expected 1 space before "*"; 0 found
(#201) Expected 1 space after "*"; 0 found
(#202) Expected 1 space before "*"; 0 found
(#202) Expected 1 space after "*"; 0 found
(#202) Expected 1 space before "*"; 0 found
(#202) Expected 1 space after "*"; 0 found
(#202) Expected 1 space before "*"; 0 found
(#202) Expected 1 space after "*"; 0 found
(#220) Inline comments must start with a capital letter, digit or 3-dots sequence
(#220) Line indented incorrectly; expected at least 8 spaces, found 0
(#220) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#258) Inline comments must start with a capital letter, digit or 3-dots sequence
(#258) Line indented incorrectly; expected at least 8 spaces, found 0
(#258) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#259) Line indented incorrectly; expected at least 8 spaces, found 0
(#263) Inline doc block comments are not allowed; use "// Comment." instead
(#265) Short array syntax must be used to define arrays
(#265) Line exceeds 132 characters; contains 142 characters
(#269) Missing docblock for function standard_grading_coursemodule_elements
(#269) Visibility must be declared on method "standard_grading_coursemodule_elements"
(#296) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#318) Short array syntax must be used to define arrays
(#334) Short array syntax must be used to define arrays
(#343) Short array syntax must be used to define arrays
(#344) Short array syntax must be used to define arrays
(#344) Expected 1 space before "=>"; 0 found
(#344) Expected 1 space after "=>"; 0 found
(#350) Short array syntax must be used to define arrays
(#361) Short array syntax must be used to define arrays
(#383) Inline comments must end in full-stops, exclamation marks, or question marks
(#384) Expected "if (...) {\n"; found "if(...) {\n"
(#390) Inline comments must end in full-stops, exclamation marks, or question marks
(#409) Short array syntax must be used to define arrays
(#409) Expected 1 space before "=>"; 0 found
(#409) Expected 1 space after "=>"; 0 found
(#410) Expected 1 space before "=>"; 0 found
(#410) Expected 1 space after "=>"; 0 found
(#414) Inline comments must end in full-stops, exclamation marks, or question marks
(#477) Inline comments must end in full-stops, exclamation marks, or question marks
(#484) Expected 1 space before ">"; 0 found
(#484) Expected 1 space after ">"; 0 found
(#486) Inline comments must end in full-stops, exclamation marks, or question marks
(#493) Inline comments must end in full-stops, exclamation marks, or question marks
(#495) Short array syntax must be used to define arrays
(#503) Short array syntax must be used to define arrays
(#522) Short array syntax must be used to define arrays
(#540) Inline comments must start with a capital letter, digit or 3-dots sequence
(#540) Inline comments must end in full-stops, exclamation marks, or question marks
(#540) No space found before comment text; expected "// if supports grades and grades aren't being handled via ratings" but found "//if supports grades and grades aren't being handled via ratings"
(#542) Short array syntax must be used to define arrays
(#559) Logical operator "and" is prohibited; use "&&" instead
(#560) Logical operator "and" is prohibited; use "&&" instead
(#563) Inline comments must start with a capital letter, digit or 3-dots sequence
(#564) Inline comments must end in full-stops, exclamation marks, or question marks
(#575) Inline comments must start with a capital letter, digit or 3-dots sequence
(#576) Inline comments must end in full-stops, exclamation marks, or question marks
(#577) Short array syntax must be used to define arrays
(#581) Line exceeds 132 characters; contains 134 characters
(#584) Short array syntax must be used to define arrays
(#687) Missing docblock for function definition_after_data
(#687) Visibility must be declared on method "definition_after_data"
(#696) Inline comments must start with a capital letter, digit or 3-dots sequence
(#696) No space found before comment text; expected "// we don't want to have these appear as possible selections in the form but" but found "//we don't want to have these appear as possible selections in the form but"
(#697) No space found before comment text; expected "// we want the form to display them if they are set." but found "//we want the form to display them if they are set."
(#698) Expected 1 space before "=="; 0 found
(#698) Expected 1 space after "=="; 0 found
(#704) Expected 1 space before "=="; 0 found
(#704) Expected 1 space after "=="; 0 found
(#712) Missing docblock for function data_preprocessing
(#712) Visibility must be declared on method "data_preprocessing"
(#712) Variable "default_values" must not contain underscores.
(#713) Variable "default_values" must not contain underscores.
(#718) Variable "default_values" must not contain underscores.
(#718) Expected 1 space before "="; 0 found
(#719) Variable "default_values" must not contain underscores.
(#720) Variable "default_values" must not contain underscores.
(#721) Variable "default_values" must not contain underscores.
(#721) Expected 1 space before "="; 0 found
(#721) Expected 1 space after "="; 0 found
(#723) Variable "default_values" must not contain underscores.
(#723) Expected 1 space before "="; 0 found
(#724) Variable "default_values" must not contain underscores.
(#725) Variable "default_values" must not contain underscores.
(#726) Variable "default_values" must not contain underscores.
(#726) Expected 1 space before "="; 0 found
(#726) Expected 1 space after "="; 0 found
(#729) Variable "default_values" must not contain underscores.
(#730) Variable "default_values" must not contain underscores.
(#732) Variable "default_values" must not contain underscores.
(#734) Variable "default_values" must not contain underscores.
(#735) Variable "default_values" must not contain underscores.
(#735) Expected 1 space before "="; 0 found
(#735) Expected 1 space after "="; 0 found
(#747) Expected 1 space before "="; 0 found
(#747) Expected 1 space after "="; 0 found
(#747) Short array syntax must be used to define arrays
(#748) Commas (,) must be followed by white space.
(#749) Short array syntax must be used to define arrays
(#749) Expected 1 space before "=>"; 0 found
(#749) Expected 1 space after "=>"; 0 found
(#750) Commas (,) must be followed by white space.
(#751) Commas (,) must be followed by white space.
(#751) Short array syntax must be used to define arrays
(#752) Commas (,) must be followed by white space.
(#752) Commas (,) must be followed by white space.
(#754) Expected 1 space before "="; 0 found
(#754) Expected 1 space after "="; 0 found
(#754) Short array syntax must be used to define arrays
(#755) Commas (,) must be followed by white space.
(#755) Line exceeds 132 characters; contains 138 characters
(#756) Short array syntax must be used to define arrays
(#756) Expected 1 space before "=>"; 0 found
(#756) Expected 1 space after "=>"; 0 found
(#757) Commas (,) must be followed by white space.
(#758) Commas (,) must be followed by white space.
(#758) Short array syntax must be used to define arrays
(#758) Line exceeds 132 characters; contains 135 characters
(#759) Commas (,) must be followed by white space.
(#759) Commas (,) must be followed by white space.
(#761) Expected 1 space before "="; 0 found
(#761) Expected 1 space after "="; 0 found
(#761) Short array syntax must be used to define arrays
(#762) Commas (,) must be followed by white space.
(#763) Short array syntax must be used to define arrays
(#763) Expected 1 space before "=>"; 0 found
(#763) Expected 1 space after "=>"; 0 found
(#764) Commas (,) must be followed by white space.
(#765) Commas (,) must be followed by white space.
(#765) Short array syntax must be used to define arrays
(#766) Commas (,) must be followed by white space.
(#766) Commas (,) must be followed by white space.
(#768) Short array syntax must be used to define arrays
(#768) Commas (,) must be followed by white space.
(#768) Commas (,) must be followed by white space.
(#771) Missing docblock for function completion_rule_enabled
(#771) Visibility must be declared on method "completion_rule_enabled"
(#772) Expected 1 space before "!="; 0 found
(#772) Expected 1 space after "!="; 0 found
(#773) Expected 1 space before "!="; 0 found
(#773) Expected 1 space after "!="; 0 found
(#774) Expected 1 space before "!="; 0 found
(#774) Expected 1 space after "!="; 0 found
(#787) Inline comments must end in full-stops, exclamation marks, or question marks
(#789) Expected 1 space before "=="; 0 found
(#789) Expected 1 space after "=="; 0 found
(#802) Missing docblock for function validation
(#802) Visibility must be declared on method "validation"
(#808) Logical operator "or" is prohibited; use "||" instead
(#808) Logical operator "and" is prohibited; use "&&" instead
(#808) Logical operator "or" is prohibited; use "||" instead
(#808) Line exceeds 132 characters; contains 163 characters
mod/hsuforum/post.php
(#45) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#60) Logical operator "or" is prohibited; use "||" instead
(#62) Logical operator "and" is prohibited; use "&&" instead
(#68) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#99) Line exceeds 132 characters; contains 133 characters
(#107) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#137) Logical operator "and" is prohibited; use "&&" instead
(#172) Short array syntax must be used to define arrays
(#175) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#199) Short array syntax must be used to define arrays
(#213) Logical operator "and" is prohibited; use "&&" instead
(#223) Logical operator "and" is prohibited; use "&&" instead
(#236) Expected 1 space before "="; 0 found
(#262) Short array syntax must be used to define arrays
(#265) Short array syntax must be used to define arrays
(#268) Short array syntax must be used to define arrays
(#282) Logical operator "and" is prohibited; use "&&" instead
(#287) Logical operator "and" is prohibited; use "&&" instead
(#309) Short array syntax must be used to define arrays
(#312) Short array syntax must be used to define arrays
(#318) Short array syntax must be used to define arrays
(#349) Short array syntax must be used to define arrays
(#349) Line exceeds 132 characters; contains 134 characters
(#378) Short array syntax must be used to define arrays
(#381) Short array syntax must be used to define arrays
(#402) Short array syntax must be used to define arrays
(#406) Short array syntax must be used to define arrays
(#442) Short array syntax must be used to define arrays
(#445) Short array syntax must be used to define arrays
(#447) There should be a comma after the last array item in a multi-line array.
(#452) Short array syntax must be used to define arrays
(#455) Short array syntax must be used to define arrays
(#457) There should be a comma after the last array item in a multi-line array.
(#462) Short array syntax must be used to define arrays
(#465) Short array syntax must be used to define arrays
(#469) There should be a comma after the last array item in a multi-line array.
(#477) Short array syntax must be used to define arrays
(#485) Short array syntax must be used to define arrays
(#490) Short array syntax must be used to define arrays
(#522) Inline comments must start with a capital letter, digit or 3-dots sequence
(#540) Short array syntax must be used to define arrays
(#549) Short array syntax must be used to define arrays
(#582) Short array syntax must be used to define arrays
(#604) Line exceeds 132 characters; contains 134 characters
(#612) Short array syntax must be used to define arrays
(#613) Expected 1 space before "=>"; 0 found
(#613) Expected 1 space after "=>"; 0 found
(#614) Expected 1 space before "=>"; 0 found
(#614) Expected 1 space after "=>"; 0 found
(#615) Expected 1 space before "=>"; 0 found
(#615) Expected 1 space after "=>"; 0 found
(#615) Short array syntax must be used to define arrays
(#616) Expected 1 space before "=>"; 0 found
(#616) Expected 1 space after "=>"; 0 found
(#617) Expected 1 space before "=>"; 0 found
(#617) Expected 1 space after "=>"; 0 found
(#618) Expected 1 space before "=>"; 0 found
(#618) Expected 1 space after "=>"; 0 found
(#618) There should be a comma after the last array item in a multi-line array.
(#620) Expected 1 space before "=>"; 0 found
(#620) Expected 1 space after "=>"; 0 found
(#620) Expected 1 space before "?"; 0 found
(#620) Expected 1 space after "?"; 0 found
(#620) Expected 1 space before ":"; 0 found
(#620) Expected 1 space after ":"; 0 found
(#621) Expected 1 space before "=>"; 0 found
(#621) Expected 1 space after "=>"; 0 found
(#622) Expected 1 space before "=>"; 0 found
(#622) Expected 1 space after "=>"; 0 found
(#623) Expected 1 space before "=>"; 0 found
(#623) Expected 1 space after "=>"; 0 found
(#624) Expected 1 space before "=>"; 0 found
(#624) Expected 1 space after "=>"; 0 found
(#625) Expected 1 space before "=>"; 0 found
(#625) Expected 1 space after "=>"; 0 found
(#626) Expected 1 space before "=>"; 0 found
(#626) Expected 1 space after "=>"; 0 found
(#627) Expected 1 space before "=>"; 0 found
(#627) Expected 1 space after "=>"; 0 found
(#627) There should be a comma after the last array item in a multi-line array.
(#632) Short array syntax must be used to define arrays
(#632) Expected 1 space before "=>"; 0 found
(#632) Expected 1 space after "=>"; 0 found
(#632) Short array syntax must be used to define arrays
(#634) Short array syntax must be used to define arrays
(#634) Expected 1 space before "=>"; 0 found
(#634) Expected 1 space after "=>"; 0 found
(#634) Short array syntax must be used to define arrays
(#636) Short array syntax must be used to define arrays
(#636) Expected 1 space before "=>"; 0 found
(#636) Expected 1 space after "=>"; 0 found
(#636) Short array syntax must be used to define arrays
(#638) Short array syntax must be used to define arrays
(#638) Short array syntax must be used to define arrays
(#640) Short array syntax must be used to define arrays
(#640) Expected 1 space before "=>"; 0 found
(#640) Expected 1 space after "=>"; 0 found
(#640) Short array syntax must be used to define arrays
(#642) Short array syntax must be used to define arrays
(#642) Expected 1 space before "=>"; 0 found
(#642) Expected 1 space after "=>"; 0 found
(#642) Short array syntax must be used to define arrays
(#668) Short array syntax must be used to define arrays
(#698) Short array syntax must be used to define arrays
(#726) Short array syntax must be used to define arrays
(#727) Short array syntax must be used to define arrays
(#742) Short array syntax must be used to define arrays
(#744) Short array syntax must be used to define arrays
(#747) Short array syntax must be used to define arrays
(#750) Short array syntax must be used to define arrays
(#754) There should be a comma after the last array item in a multi-line array.
(#795) Short array syntax must be used to define arrays
(#797) Short array syntax must be used to define arrays
(#799) Short array syntax must be used to define arrays
(#800) Short array syntax must be used to define arrays
(#803) Short array syntax must be used to define arrays
(#807) There should be a comma after the last array item in a multi-line array.
(#835) Short array syntax must be used to define arrays
(#861) Short array syntax must be used to define arrays
(#862) Short array syntax must be used to define arrays
(#902) Short array syntax must be used to define arrays
(#905) Short array syntax must be used to define arrays
(#907) There should be a comma after the last array item in a multi-line array.
(#952) Short array syntax must be used to define arrays
(#1028) Short array syntax must be used to define arrays
mod/hsuforum/renderer.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#55) No one-line description found in phpdocs for docblock of function view
(#56) global $OUTPUT cannot be used in renderers. Use $this->output.
(#70) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#76) global $OUTPUT cannot be used in renderers. Use $this->output.
(#80) global $OUTPUT cannot be used in renderers. Use $this->output.
(#80) Commas (,) must be followed by white space.
(#85) Line exceeds 132 characters; contains 150 characters
(#95) Line exceeds 132 characters; contains 141 characters
(#107) global $PAGE cannot be used in renderers. Use $this->page.
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#138) Inline comments must start with a capital letter, digit or 3-dots sequence
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Short array syntax must be used to define arrays
(#150) Line exceeds 132 characters; contains 161 characters
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) 3 slashes comments are not allowed; use "// Comment." instead
(#159) Logical operator "and" is prohibited; use "&&" instead
(#175) global $PAGE cannot be used in renderers. Use $this->page.
(#181) global $PAGE cannot be used in renderers. Use $this->page.
(#200) Line exceeds 132 characters; contains 135 characters
(#232) global $PAGE cannot be used in renderers. Use $this->page.
(#236) Line exceeds 132 characters; contains 143 characters
(#275) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#280) Short array syntax must be used to define arrays
(#280) Line exceeds maximum limit of 180 characters; contains 190 characters
(#319) Short array syntax must be used to define arrays
(#320) global $PAGE cannot be used in renderers. Use $this->page.
(#340) Logical operator "or" is prohibited; use "||" instead
(#364) Short array syntax must be used to define arrays
(#366) Inline comments must end in full-stops, exclamation marks, or question marks
(#378) Short array syntax must be used to define arrays
(#385) Short array syntax must be used to define arrays
(#392) Short array syntax must be used to define arrays
(#394) Commas (,) must be followed by white space.
(#410) Short array syntax must be used to define arrays
(#421) Space found before semicolon; expected ");" but found ") ;"
(#425) Line exceeds 132 characters; contains 150 characters
(#430) global $PAGE cannot be used in renderers. Use $this->page.
(#438) Missing docblock for function article_assets
(#447) Short array syntax must be used to define arrays
(#452) Short array syntax must be used to define arrays
(#469) Short array syntax must be used to define arrays
(#469) Line exceeds 132 characters; contains 133 characters
(#474) Inline comments must end in full-stops, exclamation marks, or question marks
(#475) Commas (,) must be followed by white space.
(#477) Expected "if (...) {\n"; found "if (...){\n"
(#478) Short array syntax must be used to define arrays
(#481) Expected "} else if (...) {\n"; found "} else if (...){\n"
(#481) Expected "if (...) {\n"; found "if (...){\n"
(#487) Inline comments must start with a capital letter, digit or 3-dots sequence
(#500) Short array syntax must be used to define arrays
(#505) Commas (,) must be followed by white space.
(#519) Inline comments must end in full-stops, exclamation marks, or question marks
(#520) Expected "if (...) {\n"; found "if(...) {\n"
(#537) Short array syntax must be used to define arrays
(#549) Missing docblock for function discussion_template
(#550) global $PAGE cannot be used in renderers. Use $this->page.
(#553) Expected "if (...) {\n"; found "if(...) {\n"
(#580) Line exceeds 132 characters; contains 167 characters
(#583) Commas (,) must be followed by white space.
(#584) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#586) Short array syntax must be used to define arrays
(#607) Line exceeds 132 characters; contains 133 characters
(#719) Short array syntax must be used to define arrays
(#744) global $PAGE cannot be used in renderers. Use $this->page.
(#759) Short array syntax must be used to define arrays
(#762) Line exceeds maximum limit of 180 characters; contains 253 characters
(#762) There should be a comma after the last array item in a multi-line array.
(#769) Short array syntax must be used to define arrays
(#771) There should be a comma after the last array item in a multi-line array.
(#787) Short array syntax must be used to define arrays
(#788) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#791) Expected "if (...) {\n"; found "if(...) {\n"
(#796) global $PAGE cannot be used in renderers. Use $this->page.
(#806) Line indented incorrectly; expected at least 8 spaces, found 1
(#807) Line exceeds maximum limit of 180 characters; contains 204 characters
(#844) Short array syntax must be used to define arrays
(#849) Short array syntax must be used to define arrays
(#849) Expected 1 space before "=>"; 0 found
(#849) Expected 1 space after "=>"; 0 found
(#849) Expected 1 space before "=>"; 0 found
(#849) Expected 1 space after "=>"; 0 found
(#849) Expected 1 space before "=>"; 0 found
(#849) Expected 1 space after "=>"; 0 found
(#855) Short array syntax must be used to define arrays
(#856) Short array syntax must be used to define arrays
(#856) Expected 1 space before "=>"; 0 found
(#856) Expected 1 space after "=>"; 0 found
(#856) Expected 1 space before "=>"; 0 found
(#856) Expected 1 space after "=>"; 0 found
(#856) Expected 1 space before "=>"; 0 found
(#856) Expected 1 space after "=>"; 0 found
(#856) Expected 1 space before "=>"; 0 found
(#856) Expected 1 space after "=>"; 0 found
(#856) Line exceeds maximum limit of 180 characters; contains 191 characters
(#857) Short array syntax must be used to define arrays
(#858) Short array syntax must be used to define arrays
(#858) Expected 1 space before "=>"; 0 found
(#858) Expected 1 space after "=>"; 0 found
(#858) Expected 1 space before "=>"; 0 found
(#858) Expected 1 space after "=>"; 0 found
(#858) Expected 1 space before "=>"; 0 found
(#858) Expected 1 space after "=>"; 0 found
(#858) Expected 1 space before "=>"; 0 found
(#858) Expected 1 space after "=>"; 0 found
(#858) Line exceeds maximum limit of 180 characters; contains 196 characters
(#859) Short array syntax must be used to define arrays
(#867) Short array syntax must be used to define arrays
(#867) Short array syntax must be used to define arrays
(#887) Expected 1 space before "==="; 0 found
(#887) Expected 1 space after "==="; 0 found
(#902) Short array syntax must be used to define arrays
(#904) Short array syntax must be used to define arrays
(#904) Short array syntax must be used to define arrays
(#904) Expected 1 space before "=>"; 0 found
(#904) Expected 1 space after "=>"; 0 found
(#939) Short array syntax must be used to define arrays
(#951) Short array syntax must be used to define arrays
(#981) Short array syntax must be used to define arrays
(#984) Short array syntax must be used to define arrays
(#995) Short array syntax must be used to define arrays
(#996) Short array syntax must be used to define arrays
(#997) Short array syntax must be used to define arrays
(#998) Short array syntax must be used to define arrays
(#999) Short array syntax must be used to define arrays
(#1000) Short array syntax must be used to define arrays
(#1001) Short array syntax must be used to define arrays
(#1002) Short array syntax must be used to define arrays
(#1003) Short array syntax must be used to define arrays
(#1004) Short array syntax must be used to define arrays
(#1005) Short array syntax must be used to define arrays
(#1006) Short array syntax must be used to define arrays
(#1007) Short array syntax must be used to define arrays
(#1008) Short array syntax must be used to define arrays
(#1009) Short array syntax must be used to define arrays
(#1009) There should be a comma after the last array item in a multi-line array.
(#1011) There should be a comma after the last array item in a multi-line array.
(#1027) global $PAGE cannot be used in renderers. Use $this->page.
(#1032) Short array syntax must be used to define arrays
(#1043) Short array syntax must be used to define arrays
(#1064) Short array syntax must be used to define arrays
(#1070) There should be a comma after the last array item in a multi-line array.
(#1082) Short array syntax must be used to define arrays
(#1101) global $PAGE cannot be used in renderers. Use $this->page.
(#1102) global $PAGE cannot be used in renderers. Use $this->page.
(#1103) global $PAGE cannot be used in renderers. Use $this->page.
(#1105) global $PAGE cannot be used in renderers. Use $this->page.
(#1132) Short array syntax must be used to define arrays
(#1134) Expected "if (...) {\n"; found "if (...){\n"
(#1137) Short array syntax must be used to define arrays
(#1150) Expected 1 space after ":"; 2 found
(#1176) Short array syntax must be used to define arrays
(#1189) Short array syntax must be used to define arrays
(#1200) No one-line description found in phpdocs for docblock of function discussion_sorting
(#1206) Short array syntax must be used to define arrays
(#1223) No one-line description found in phpdocs for docblock of function raw_post_subject
(#1236) No one-line description found in phpdocs for docblock of function post_message
(#1237) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1246) Line exceeds 132 characters; contains 156 characters
(#1250) Short array syntax must be used to define arrays
(#1256) Whitespace found at end of line
(#1271) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1271) Line exceeds 132 characters; contains 142 characters
(#1276) Line exceeds 132 characters; contains 139 characters
(#1287) No one-line description found in phpdocs for docblock of function post_rating
(#1310) No one-line description found in phpdocs for docblock of function user_posts_overview
(#1311) global $PAGE cannot be used in renderers. Use $this->page.
(#1320) Logical operator "and" is prohibited; use "&&" instead
(#1320) Logical operator "and" is prohibited; use "&&" instead
(#1329) Logical operator "and" is prohibited; use "&&" instead
(#1332) Logical operator "and" is prohibited; use "&&" instead
(#1347) Short array syntax must be used to define arrays
(#1350) Logical operator "and" is prohibited; use "&&" instead
(#1356) Short array syntax must be used to define arrays
(#1358) Short array syntax must be used to define arrays
(#1381) Short array syntax must be used to define arrays
(#1383) Short array syntax must be used to define arrays
(#1390) Logical operator "or" is prohibited; use "||" instead
(#1395) Short array syntax must be used to define arrays
(#1396) Expected 1 space before "+"; 0 found
(#1396) Expected 1 space after "+"; 0 found
(#1398) There should be a comma after the last array item in a multi-line array.
(#1410) Short array syntax must be used to define arrays
(#1422) No one-line description found in phpdocs for docblock of function validation_errors
(#1428) Short array syntax must be used to define arrays
(#1432) Short array syntax must be used to define arrays
(#1448) Short array syntax must be used to define arrays
(#1449) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1455) Short array syntax must be used to define arrays
(#1463) Short array syntax must be used to define arrays
(#1466) Short array syntax must be used to define arrays
(#1474) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1481) Short array syntax must be used to define arrays
(#1486) Short array syntax must be used to define arrays
(#1505) Short array syntax must be used to define arrays
(#1553) Short array syntax must be used to define arrays
(#1576) Short array syntax must be used to define arrays
(#1577) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1593) Short array syntax must be used to define arrays
(#1596) Inline comments must end in full-stops, exclamation marks, or question marks
(#1603) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1610) Short array syntax must be used to define arrays
(#1616) Short array syntax must be used to define arrays
(#1636) Short array syntax must be used to define arrays
(#1645) Short array syntax must be used to define arrays
(#1666) Short array syntax must be used to define arrays
(#1679) Short array syntax must be used to define arrays
(#1685) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1709) Short array syntax must be used to define arrays
(#1714) Whitespace found at end of line within string
(#1746) Line exceeds maximum limit of 180 characters; contains 182 characters
(#1750) Line exceeds maximum limit of 180 characters; contains 271 characters
(#1771) Missing docblock for function article_js
(#1782) Short array syntax must be used to define arrays
(#1782) Short array syntax must be used to define arrays
(#1786) Short array syntax must be used to define arrays
(#1794) Missing docblock for function get_post_user_url
(#1801) Missing docblock for function notification_area
(#1814) No one-line description found in phpdocs for docblock of function post_get_commands
(#1815) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1817) Short array syntax must be used to define arrays
(#1818) Logical operator "and" is prohibited; use "&&" instead
(#1819) Short array syntax must be used to define arrays
(#1827) Logical operator "and" is prohibited; use "&&" instead
(#1831) Short array syntax must be used to define arrays
(#1833) Short array syntax must be used to define arrays
(#1840) Inline comments must end in full-stops, exclamation marks, or question marks
(#1845) Line exceeds 132 characters; contains 151 characters
(#1847) Short array syntax must be used to define arrays
(#1852) Line exceeds maximum limit of 180 characters; contains 250 characters
(#1854) Short array syntax must be used to define arrays
(#1864) Short array syntax must be used to define arrays
(#1866) Short array syntax must be used to define arrays
(#1869) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1871) Line exceeds maximum limit of 180 characters; contains 272 characters
(#1874) Short array syntax must be used to define arrays
(#1921) global $PAGE cannot be used in renderers. Use $this->page.
(#1923) global $PAGE cannot be used in renderers. Use $this->page.
(#1923) Short array syntax must be used to define arrays
(#1927) Commas (,) must be followed by white space.
(#1928) Commas (,) must be followed by white space.
(#1929) Commas (,) must be followed by white space.
(#1947) Expected "if (...) {\n"; found "if (...){\n"
(#1962) Expected "} else {\n"; found "} else{\n"
(#1965) Line exceeds 132 characters; contains 150 characters
(#1966) Line exceeds 132 characters; contains 150 characters
(#1978) global $PAGE cannot be used in renderers. Use $this->page.
(#1984) global $PAGE cannot be used in renderers. Use $this->page.
(#1992) global $PAGE cannot be used in renderers. Use $this->page.
(#2000) Expected 1 space after "!=="; 0 found
(#2000) Expected 1 space after "!=="; 0 found
(#2014) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2014) Inline comments must end in full-stops, exclamation marks, or question marks
(#2014) This comment is 67% valid code; is this commented out code?
(#2014) No space found before comment text; expected "// fill="#FFFFFF"" but found "//fill="#FFFFFF""
(#2015) Missing docblock for function svg_sprite
mod/hsuforum/repository/abstract.php
(#20) Incorrect @package tag for file abstract.php. Expected mod_hsuforum, found mod.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Missing docblock for class hsuforum_repository_abstract
(#38) No one-line description found in phpdocs for docblock of function __construct
(#52) No one-line description found in phpdocs for docblock of function set_db
(#60) No one-line description found in phpdocs for docblock of function get_db
mod/hsuforum/repository/discussion.php
(#20) Incorrect @package tag for file discussion.php. Expected mod_hsuforum, found mod.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Missing docblock for class hsuforum_repository_discussion
(#36) No one-line description found in phpdocs for docblock of function get_user_subscriptions
(#43) Short array syntax must be used to define arrays
(#56) No one-line description found in phpdocs for docblock of function get_unsubscribed_users
(#56) Short array syntax must be used to define arrays
(#56) Line exceeds maximum limit of 180 characters; contains 186 characters
(#59) Logical operator "or" is prohibited; use "||" instead
(#60) Short array syntax must be used to define arrays
(#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
(#123) Short array syntax must be used to define arrays
(#123) Line exceeds maximum limit of 180 characters; contains 184 characters
(#126) Logical operator "or" is prohibited; use "||" instead
(#127) Short array syntax must be used to define arrays
(#184) No one-line description found in phpdocs for docblock of function subscribe
(#185) Short array syntax must be used to define arrays
(#197) No one-line description found in phpdocs for docblock of function unsubscribe
(#200) Short array syntax must be used to define arrays
(#210) No one-line description found in phpdocs for docblock of function unsubscribe_all
(#213) Short array syntax must be used to define arrays
mod/hsuforum/route.php
(#20) Incorrect @package tag for file route.php. Expected mod_hsuforum, found mod.
(#35) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#62) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
mod/hsuforum/rsslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) No space found before comment text; expected "// are RSS feeds enabled?" but found "//are RSS feeds enabled?"
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) No space found before comment text; expected "// context id from db should match the submitted one" but found "//context id from db should match the submitted one"
(#58) Short array syntax must be used to define arrays
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) No space found before comment text; expected "// the sql that will retreive the data for the feed and be hashed to get the cache filename" but found "//the sql that will retreive the data for the feed and be hashed to get the cache filename"
(#70) No space found before comment text; expected "// Is the cache out of date?" but found "//Is the cache out of date?"
(#76) Expected 1 space before "-"; 0 found
(#76) Expected 1 space after "-"; 0 found
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) No space found before comment text; expected "// return the path to the cached version" but found "//return the path to the cached version"
(#99) 55 slashes comments are not allowed; use "// Comment." instead
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// Utility functions" but found "//Utility functions"
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) Short array syntax must be used to define arrays
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) 3 slashes comments are not allowed; use "// Comment." instead
(#187) Line exceeds maximum limit of 180 characters; contains 252 characters
(#199) Short array syntax must be used to define arrays
(#218) Short array syntax must be used to define arrays
(#260) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#277) Logical operator "or" is prohibited; use "||" instead
(#293) Short array syntax must be used to define arrays
(#306) Invalid docblock tag "@Todo".
(#309) Missing docblock for function hsuforum_rss_feed_contents
(#316) Inline comments must start with a capital letter, digit or 3-dots sequence
(#316) No space found before comment text; expected "// set a flag. Are we displaying discussions or posts?" but found "//set a flag. Are we displaying discussions or posts?"
(#318) Expected 1 space before "!="; 0 found
(#318) Expected 1 space after "!="; 0 found
(#327) Short array syntax must be used to define arrays
(#347) Inline comments must end in full-stops, exclamation marks, or question marks
(#364) Inline comments must end in full-stops, exclamation marks, or question marks
(#370) Inline comments must start with a capital letter, digit or 3-dots sequence
(#370) Inline comments must end in full-stops, exclamation marks, or question marks
(#370) No space found before comment text; expected "// we should have an item title by now but if we dont somehow then substitute something somewhat meaningful" but found "//we should have an item title by now but if we dont somehow then substitute something somewhat meaningful"
(#371) Commas (,) must be followed by white space.
(#371) Line exceeds 132 characters; contains 141 characters
(#373) Short array syntax must be used to define arrays
(#389) Inline comments must end in full-stops, exclamation marks, or question marks
(#389) No space found before comment text; expected "// TODO: MDL-31129 implement post attachment handling" but found "//TODO: MDL-31129 implement post attachment handling"
(#390) This comment is 65% valid code; is this commented out code?
(#403) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#409) Line indented incorrectly; expected at least 4 spaces, found 0
(#414) Line indented incorrectly; expected at least 4 spaces, found 0
mod/hsuforum/search.php
(#1) No one-line description found in phpdocs for docblock of file search.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) 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
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) 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
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) 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
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) 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
(#50) 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
(#59) 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
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) 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
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) No space found before comment text; expected "// TODO: this is very sloppy --skodak" but found "//TODO: this is very sloppy --skodak"
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Short array syntax must be used to define arrays
(#119) Expected 1 space before "=>"; 0 found
(#119) Expected 1 space after "=>"; 0 found
(#125) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#127) There should be a comma after the last array item in a multi-line array.
(#140) Short array syntax must be used to define arrays
(#140) Expected 1 space before "=>"; 0 found
(#140) Expected 1 space after "=>"; 0 found
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#152) 3 slashes comments are not allowed; use "// Comment." instead
(#162) Short array syntax must be used to define arrays
(#162) Expected 1 space before "=>"; 0 found
(#162) Expected 1 space after "=>"; 0 found
(#164) Expected 1 space before "*"; 0 found
(#164) Expected 1 space after "*"; 0 found
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) No space found before comment text; expected "// including this here to prevent it being included if there are no search results" but found "//including this here to prevent it being included if there are no search results"
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) No space found before comment text; expected "// set up the ratings information that will be the same for all posts" but found "//set up the ratings information that will be the same for all posts"
(#214) There should be a comma after the last array item in a multi-line array.
(#226) Short array syntax must be used to define arrays
(#228) Inline comments must start with a capital letter, digit or 3-dots sequence
(#228) No space found before comment text; expected "// added to implement highlighting of search terms found only in HTML markup" but found "//added to implement highlighting of search terms found only in HTML markup"
(#229) Inline comments must end in full-stops, exclamation marks, or question marks
(#229) No space found before comment text; expected "// fiedorow - 9/2/2005" but found "//fiedorow - 9/2/2005"
(#230) Commas (,) must be followed by white space.
(#230) Commas (,) must be followed by white space.
(#231) Commas (,) must be followed by white space.
(#231) Commas (,) must be followed by white space.
(#232) Commas (,) must be followed by white space.
(#232) Commas (,) must be followed by white space.
(#233) Inline comments must end in full-stops, exclamation marks, or question marks
(#235) Commas (,) must be followed by white space.
(#238) Commas (,) must be followed by white space.
(#238) Commas (,) must be followed by white space.
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#244) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#270) Commas (,) must be followed by white space.
(#272) Commas (,) must be followed by white space.
(#274) Commas (,) must be followed by white space.
(#274) Line exceeds 132 characters; contains 142 characters
(#280) Inline comments must start with a capital letter, digit or 3-dots sequence
(#280) No space found before comment text; expected "// add the ratings information to the post" but found "//add the ratings information to the post"
(#281) Inline comments must end in full-stops, exclamation marks, or question marks
(#281) No space found before comment text; expected "// Unfortunately seem to have do this individually as posts may be from different forums" but found "//Unfortunately seem to have do this individually as posts may be from different forums"
(#285) Short array syntax must be used to define arrays
(#286) Inline comments must start with a capital letter, digit or 3-dots sequence
(#286) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) No space found before comment text; expected "// the aggregation method" but found "//the aggregation method"
(#292) Expected 1 space before "=="; 0 found
(#292) Expected 1 space after "=="; 0 found
(#300) Variable "missing_terms" must not contain underscores.
(#320) Commas (,) must be followed by white space.
(#320) Commas (,) must be followed by white space.
(#320) Line exceeds 132 characters; contains 134 characters
(#321) Variable "missing_terms" must not contain underscores.
(#328) Variable "missing_terms" must not contain underscores.
(#329) Commas (,) must be followed by white space.
(#330) Variable "missing_terms" must not contain underscores.
(#341) Short array syntax must be used to define arrays
(#344) Short array syntax must be used to define arrays
(#347) Inline comments must end in full-stops, exclamation marks, or question marks
(#410) Expected 1 space before opening brace; found 2
(#411) Short array syntax must be used to define arrays
mod/hsuforum/settings.php
(#1) No one-line description found in phpdocs for docblock of file settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) 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
(#51) Line exceeds 132 characters; contains 133 characters
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Short array syntax must be used to define arrays
(#69) There should be a comma after the last array item in a multi-line array.
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Short array syntax must be used to define arrays
(#85) Commas (,) must be followed by white space.
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#100) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space after "=>"; 0 found
(#100) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space after "=>"; 0 found
(#107) Short array syntax must be used to define arrays
(#110) There should be a comma after the last array item in a multi-line array.
(#115) Short array syntax must be used to define arrays
(#128) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/subscribe.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#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
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Short array syntax must be used to define arrays
(#44) Expected 1 space before "=>"; 0 found
(#44) Expected 1 space after "=>"; 0 found
(#56) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#84) Logical operator "and" is prohibited; use "&&" instead
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Short array syntax must be used to define arrays
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#96) Short array syntax must be used to define arrays
(#96) Expected 1 space before "=>"; 0 found
(#96) Expected 1 space after "=>"; 0 found
(#104) Commas (,) must be followed by white space.
(#104) Commas (,) must be followed by white space.
(#108) Logical operator "and" is prohibited; use "&&" instead
(#172) Inline comments must start with a capital letter, digit or 3-dots sequence
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Short array syntax must be used to define arrays
(#177) Short array syntax must be used to define arrays
(#177) Line exceeds 132 characters; contains 136 characters
(#193) Inline comments must start with a capital letter, digit or 3-dots sequence
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Inline comments must start with a capital letter, digit or 3-dots sequence
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
(#206) Line exceeds 132 characters; contains 136 characters
mod/hsuforum/subscribers.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Commas (,) must be followed by white space.
(#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
(#32) Commas (,) must be followed by white space.
(#32) Commas (,) must be followed by white space.
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Commas (,) must be followed by white space.
(#33) Commas (,) must be followed by white space.
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Short array syntax must be used to define arrays
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#44) Short array syntax must be used to define arrays
(#44) Expected 1 space before "=>"; 0 found
(#44) Expected 1 space after "=>"; 0 found
(#45) Short array syntax must be used to define arrays
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#59) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#77) Inline doc block comments are not allowed; use "// Comment." instead
(#154) Short array syntax must be used to define arrays
mod/hsuforum/tests/backup_hsuforum_activity_test.php
(#43) PHPUnit testcase name "mod_hsuforum_backup_hsuforum_activity_task_testcase" does not match file name "backup_hsuforum_activity_test"
(#43) PHPUnit class "mod_hsuforum_backup_hsuforum_activity_task_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#53) Test method test_encode_content_links() is missing any coverage information, own or at class level
(#57) Missing docblock for function encode_content_links_provider in testcase
mod/hsuforum/tests/behat/behat_mod_hsuforum.php
(#55) Line exceeds 132 characters; contains 166 characters
(#66) Line exceeds 132 characters; contains 136 characters
(#68) Line exceeds 132 characters; contains 135 characters
(#125) Expected 0 spaces after "i_set_editable_div_to"; 1 found
(#264) Line exceeds 132 characters; contains 133 characters
(#266) No one-line description found in phpdocs for docblock of function i_upload_file_using_input
(#299) Short array syntax must be used to define arrays
(#300) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
(#353) Expected 0 spaces after "i_wait_to_be_redirected_to_open_forum"; 1 found
(#383) Functions must not contain multiple empty lines in a row; found 2 empty lines
mod/hsuforum/tests/custom_completion_test.php
(#58) Data provider method "get_state_provider" will need to be converted to static in future.
(#61) There should be a comma after the last array item in a multi-line array.
(#64) There should be a comma after the last array item in a multi-line array.
(#67) There should be a comma after the last array item in a multi-line array.
(#70) There should be a comma after the last array item in a multi-line array.
(#73) There should be a comma after the last array item in a multi-line array.
(#76) There should be a comma after the last array item in a multi-line array.
(#79) There should be a comma after the last array item in a multi-line array.
(#82) There should be a comma after the last array item in a multi-line array.
(#85) There should be a comma after the last array item in a multi-line array.
(#88) There should be a comma after the last array item in a multi-line array.
(#106) Test method test_get_state() is missing any coverage information, own or at class level
(#125) There should be a comma after the last array item in a multi-line array.
(#163) Test method test_get_defined_custom_rules() is missing any coverage information, own or at class level
(#172) Test method test_get_custom_rule_descriptions() is missing any coverage information, own or at class level
(#197) Test method test_is_defined() is missing any coverage information, own or at class level
(#217) Data provider method "get_available_custom_rules_provider" will need to be converted to static in future.
(#220) There should be a comma after the last array item in a multi-line array.
(#223) There should be a comma after the last array item in a multi-line array.
(#226) There should be a comma after the last array item in a multi-line array.
(#229) There should be a comma after the last array item in a multi-line array.
(#232) There should be a comma after the last array item in a multi-line array.
(#235) There should be a comma after the last array item in a multi-line array.
(#247) Test method test_get_available_custom_rules() is missing any coverage information, own or at class level
(#249) There should be a comma after the last array item in a multi-line array.
(#254) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/tests/events_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) PHPUnit testcase name "mod_hsuforum_events_testcase" does not match file name "events_test"
(#36) PHPUnit class "mod_hsuforum_events_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#48) Test method test_course_searched_searchterm_validation() is missing any coverage information, own or at class level
(#51) Short array syntax must be used to define arrays
(#63) Test method test_course_searched_context_validation() is missing any coverage information, own or at class level
(#65) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#80) Test method test_course_searched() is missing any coverage information, own or at class level
(#87) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#113) Test method test_discussion_created_forumid_validation() is missing any coverage information, own or at class level
(#115) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#130) Test method test_discussion_created_context_validation() is missing any coverage information, own or at class level
(#132) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#147) Test method test_discussion_created() is missing any coverage information, own or at class level
(#151) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#190) Test method test_discussion_updated_forumid_validation() is missing any coverage information, own or at class level
(#192) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#207) Test method test_discussion_updated_context_validation() is missing any coverage information, own or at class level
(#209) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#224) Test method test_discussion_updated() is missing any coverage information, own or at class level
(#228) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#240) Short array syntax must be used to define arrays
(#243) Short array syntax must be used to define arrays
(#267) Test method test_discussion_deleted_forumid_validation() is missing any coverage information, own or at class level
(#269) Short array syntax must be used to define arrays
(#272) Short array syntax must be used to define arrays
(#284) Test method test_discussion_deleted_context_validation() is missing any coverage information, own or at class level
(#286) Short array syntax must be used to define arrays
(#288) Short array syntax must be used to define arrays
(#290) Short array syntax must be used to define arrays
(#301) Test method test_discussion_deleted() is missing any coverage information, own or at class level
(#305) Short array syntax must be used to define arrays
(#309) Short array syntax must be used to define arrays
(#317) Short array syntax must be used to define arrays
(#320) Short array syntax must be used to define arrays
(#343) Test method test_discussion_moved_fromforumid_validation() is missing any coverage information, own or at class level
(#345) Short array syntax must be used to define arrays
(#349) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#351) There should be a comma after the last array item in a multi-line array.
(#362) Test method test_discussion_moved_toforumid_validation() is missing any coverage information, own or at class level
(#364) Short array syntax must be used to define arrays
(#365) Short array syntax must be used to define arrays
(#368) Short array syntax must be used to define arrays
(#370) Short array syntax must be used to define arrays
(#370) There should be a comma after the last array item in a multi-line array.
(#381) Test method test_discussion_moved_context_validation() is missing any coverage information, own or at class level
(#383) Short array syntax must be used to define arrays
(#384) Short array syntax must be used to define arrays
(#388) Short array syntax must be used to define arrays
(#394) Short array syntax must be used to define arrays
(#397) Short array syntax must be used to define arrays
(#397) There should be a comma after the last array item in a multi-line array.
(#408) Test method test_discussion_moved() is missing any coverage information, own or at class level
(#411) Short array syntax must be used to define arrays
(#412) Short array syntax must be used to define arrays
(#416) Short array syntax must be used to define arrays
(#424) Short array syntax must be used to define arrays
(#427) Short array syntax must be used to define arrays
(#427) There should be a comma after the last array item in a multi-line array.
(#451) Test method test_discussion_viewed_context_validation() is missing any coverage information, own or at class level
(#453) Short array syntax must be used to define arrays
(#457) Short array syntax must be used to define arrays
(#463) Short array syntax must be used to define arrays
(#476) Test method test_discussion_viewed() is missing any coverage information, own or at class level
(#479) Short array syntax must be used to define arrays
(#483) Short array syntax must be used to define arrays
(#491) Short array syntax must be used to define arrays
(#516) Test method test_course_module_viewed_context_validation() is missing any coverage information, own or at class level
(#518) Short array syntax must be used to define arrays
(#520) Short array syntax must be used to define arrays
(#533) Test method test_course_module_viewed() is missing any coverage information, own or at class level
(#536) Short array syntax must be used to define arrays
(#540) Short array syntax must be used to define arrays
(#557) Short array syntax must be used to define arrays
(#567) Test method test_subscription_created_forumid_validation() is missing any coverage information, own or at class level
(#570) Short array syntax must be used to define arrays
(#572) Short array syntax must be used to define arrays
(#585) Test method test_subscription_created_relateduserid_validation() is missing any coverage information, own or at class level
(#587) Short array syntax must be used to define arrays
(#589) Short array syntax must be used to define arrays
(#602) Test method test_subscription_created_contextlevel_validation() is missing any coverage information, own or at class level
(#605) Short array syntax must be used to define arrays
(#607) Short array syntax must be used to define arrays
(#609) Short array syntax must be used to define arrays
(#621) Test method test_subscription_created() is missing any coverage information, own or at class level
(#625) Short array syntax must be used to define arrays
(#630) Short array syntax must be used to define arrays
(#636) Short array syntax must be used to define arrays
(#639) Short array syntax must be used to define arrays
(#655) Short array syntax must be used to define arrays
(#665) Test method test_subscription_deleted_forumid_validation() is missing any coverage information, own or at class level
(#668) Short array syntax must be used to define arrays
(#670) Short array syntax must be used to define arrays
(#683) Test method test_subscription_deleted_relateduserid_validation() is missing any coverage information, own or at class level
(#685) Short array syntax must be used to define arrays
(#687) Short array syntax must be used to define arrays
(#700) Test method test_subscription_deleted_contextlevel_validation() is missing any coverage information, own or at class level
(#703) Short array syntax must be used to define arrays
(#705) Short array syntax must be used to define arrays
(#707) Short array syntax must be used to define arrays
(#719) Test method test_subscription_deleted() is missing any coverage information, own or at class level
(#723) Short array syntax must be used to define arrays
(#728) Short array syntax must be used to define arrays
(#734) Short array syntax must be used to define arrays
(#737) Short array syntax must be used to define arrays
(#753) Short array syntax must be used to define arrays
(#763) Test method test_readtracking_enabled_forumid_validation() is missing any coverage information, own or at class level
(#766) Short array syntax must be used to define arrays
(#768) Short array syntax must be used to define arrays
(#781) Test method test_readtracking_enabled_relateduserid_validation() is missing any coverage information, own or at class level
(#783) Short array syntax must be used to define arrays
(#785) Short array syntax must be used to define arrays
(#798) Test method test_readtracking_enabled_contextlevel_validation() is missing any coverage information, own or at class level
(#801) Short array syntax must be used to define arrays
(#803) Short array syntax must be used to define arrays
(#805) Short array syntax must be used to define arrays
(#817) Test method test_readtracking_enabled() is missing any coverage information, own or at class level
(#821) Short array syntax must be used to define arrays
(#824) Short array syntax must be used to define arrays
(#826) Short array syntax must be used to define arrays
(#842) Short array syntax must be used to define arrays
(#852) Test method test_readtracking_disabled_forumid_validation() is missing any coverage information, own or at class level
(#855) Short array syntax must be used to define arrays
(#857) Short array syntax must be used to define arrays
(#870) Test method test_readtracking_disabled_relateduserid_validation() is missing any coverage information, own or at class level
(#872) Short array syntax must be used to define arrays
(#874) Short array syntax must be used to define arrays
(#887) Test method test_readtracking_disabled_contextlevel_validation() is missing any coverage information, own or at class level
(#890) Short array syntax must be used to define arrays
(#892) Short array syntax must be used to define arrays
(#894) Short array syntax must be used to define arrays
(#906) Test method test_readtracking_disabled() is missing any coverage information, own or at class level
(#910) Short array syntax must be used to define arrays
(#913) Short array syntax must be used to define arrays
(#915) Short array syntax must be used to define arrays
(#931) Short array syntax must be used to define arrays
(#941) Test method test_subscribers_viewed_forumid_validation() is missing any coverage information, own or at class level
(#944) Short array syntax must be used to define arrays
(#946) Short array syntax must be used to define arrays
(#959) Test method test_subscribers_viewed_contextlevel_validation() is missing any coverage information, own or at class level
(#962) Short array syntax must be used to define arrays
(#964) Short array syntax must be used to define arrays
(#966) Short array syntax must be used to define arrays
(#978) Test method test_subscribers_viewed() is missing any coverage information, own or at class level
(#981) Short array syntax must be used to define arrays
(#984) Short array syntax must be used to define arrays
(#986) Short array syntax must be used to define arrays
(#1009) Test method test_user_report_viewed_reportmode_validation() is missing any coverage information, own or at class level
(#1013) Short array syntax must be used to define arrays
(#1026) Test method test_user_report_viewed_contextlevel_validation() is missing any coverage information, own or at class level
(#1029) Short array syntax must be used to define arrays
(#1031) Short array syntax must be used to define arrays
(#1033) Short array syntax must be used to define arrays
(#1045) Test method test_user_report_viewed_relateduserid_validation() is missing any coverage information, own or at class level
(#1047) Short array syntax must be used to define arrays
(#1049) Short array syntax must be used to define arrays
(#1060) Test method test_user_report_viewed() is missing any coverage information, own or at class level
(#1066) Short array syntax must be used to define arrays
(#1069) Short array syntax must be used to define arrays
(#1092) Test method test_post_created_postid_validation() is missing any coverage information, own or at class level
(#1094) Short array syntax must be used to define arrays
(#1098) Short array syntax must be used to define arrays
(#1104) Short array syntax must be used to define arrays
(#1106) Short array syntax must be used to define arrays
(#1106) There should be a comma after the last array item in a multi-line array.
(#1115) Test method test_post_created_discussionid_validation() is missing any coverage information, own or at class level
(#1117) Short array syntax must be used to define arrays
(#1121) Short array syntax must be used to define arrays
(#1128) Short array syntax must be used to define arrays
(#1133) Short array syntax must be used to define arrays
(#1136) Short array syntax must be used to define arrays
(#1136) There should be a comma after the last array item in a multi-line array.
(#1147) Test method test_post_created_forumid_validation() is missing any coverage information, own or at class level
(#1149) Short array syntax must be used to define arrays
(#1153) Short array syntax must be used to define arrays
(#1160) Short array syntax must be used to define arrays
(#1165) Short array syntax must be used to define arrays
(#1168) Short array syntax must be used to define arrays
(#1168) There should be a comma after the last array item in a multi-line array.
(#1179) Test method test_post_created_forumtype_validation() is missing any coverage information, own or at class level
(#1181) Short array syntax must be used to define arrays
(#1185) Short array syntax must be used to define arrays
(#1192) Short array syntax must be used to define arrays
(#1197) Short array syntax must be used to define arrays
(#1200) Short array syntax must be used to define arrays
(#1200) There should be a comma after the last array item in a multi-line array.
(#1211) Test method test_post_created_context_validation() is missing any coverage information, own or at class level
(#1213) Short array syntax must be used to define arrays
(#1217) Short array syntax must be used to define arrays
(#1224) Short array syntax must be used to define arrays
(#1229) Short array syntax must be used to define arrays
(#1232) Short array syntax must be used to define arrays
(#1232) There should be a comma after the last array item in a multi-line array.
(#1243) Test method test_post_created() is missing any coverage information, own or at class level
(#1246) Short array syntax must be used to define arrays
(#1250) Short array syntax must be used to define arrays
(#1257) Short array syntax must be used to define arrays
(#1264) Short array syntax must be used to define arrays
(#1267) Short array syntax must be used to define arrays
(#1267) There should be a comma after the last array item in a multi-line array.
(#1282) Short array syntax must be used to define arrays
(#1293) Test method test_post_created_single() is missing any coverage information, own or at class level
(#1296) Short array syntax must be used to define arrays
(#1300) Short array syntax must be used to define arrays
(#1307) Short array syntax must be used to define arrays
(#1314) Short array syntax must be used to define arrays
(#1317) Short array syntax must be used to define arrays
(#1317) There should be a comma after the last array item in a multi-line array.
(#1332) Short array syntax must be used to define arrays
(#1343) Test method test_post_deleted_postid_validation() is missing any coverage information, own or at class level
(#1345) Short array syntax must be used to define arrays
(#1349) Short array syntax must be used to define arrays
(#1355) Short array syntax must be used to define arrays
(#1357) Short array syntax must be used to define arrays
(#1357) There should be a comma after the last array item in a multi-line array.
(#1366) Test method test_post_deleted_discussionid_validation() is missing any coverage information, own or at class level
(#1368) Short array syntax must be used to define arrays
(#1372) Short array syntax must be used to define arrays
(#1379) Short array syntax must be used to define arrays
(#1384) Short array syntax must be used to define arrays
(#1387) Short array syntax must be used to define arrays
(#1387) There should be a comma after the last array item in a multi-line array.
(#1398) Test method test_post_deleted_forumid_validation() is missing any coverage information, own or at class level
(#1400) Short array syntax must be used to define arrays
(#1404) Short array syntax must be used to define arrays
(#1411) Short array syntax must be used to define arrays
(#1416) Short array syntax must be used to define arrays
(#1419) Short array syntax must be used to define arrays
(#1419) There should be a comma after the last array item in a multi-line array.
(#1430) Test method test_post_deleted_forumtype_validation() is missing any coverage information, own or at class level
(#1432) Short array syntax must be used to define arrays
(#1436) Short array syntax must be used to define arrays
(#1443) Short array syntax must be used to define arrays
(#1448) Short array syntax must be used to define arrays
(#1451) Short array syntax must be used to define arrays
(#1451) There should be a comma after the last array item in a multi-line array.
(#1462) Test method test_post_deleted_context_validation() is missing any coverage information, own or at class level
(#1464) Short array syntax must be used to define arrays
(#1468) Short array syntax must be used to define arrays
(#1475) Short array syntax must be used to define arrays
(#1480) Short array syntax must be used to define arrays
(#1483) Short array syntax must be used to define arrays
(#1483) There should be a comma after the last array item in a multi-line array.
(#1494) Test method test_post_deleted() is missing any coverage information, own or at class level
(#1499) Short array syntax must be used to define arrays
(#1504) Short array syntax must be used to define arrays
(#1516) Short array syntax must be used to define arrays
(#1519) Short array syntax must be used to define arrays
(#1537) Short array syntax must be used to define arrays
(#1556) Short array syntax must be used to define arrays
(#1566) Test method test_post_deleted_single() is missing any coverage information, own or at class level
(#1569) Short array syntax must be used to define arrays
(#1573) Short array syntax must be used to define arrays
(#1580) Short array syntax must be used to define arrays
(#1587) Short array syntax must be used to define arrays
(#1590) Short array syntax must be used to define arrays
(#1590) There should be a comma after the last array item in a multi-line array.
(#1605) Short array syntax must be used to define arrays
(#1615) Test method test_post_updated_discussionid_validation() is missing any coverage information, own or at class level
(#1617) Short array syntax must be used to define arrays
(#1621) Short array syntax must be used to define arrays
(#1628) Short array syntax must be used to define arrays
(#1633) Short array syntax must be used to define arrays
(#1636) Short array syntax must be used to define arrays
(#1636) There should be a comma after the last array item in a multi-line array.
(#1647) Test method test_post_updated_forumid_validation() is missing any coverage information, own or at class level
(#1649) Short array syntax must be used to define arrays
(#1653) Short array syntax must be used to define arrays
(#1660) Short array syntax must be used to define arrays
(#1665) Short array syntax must be used to define arrays
(#1668) Short array syntax must be used to define arrays
(#1668) There should be a comma after the last array item in a multi-line array.
(#1679) Test method test_post_updated_forumtype_validation() is missing any coverage information, own or at class level
(#1681) Short array syntax must be used to define arrays
(#1685) Short array syntax must be used to define arrays
(#1692) Short array syntax must be used to define arrays
(#1697) Short array syntax must be used to define arrays
(#1700) Short array syntax must be used to define arrays
(#1700) There should be a comma after the last array item in a multi-line array.
(#1711) Test method test_post_updated_context_validation() is missing any coverage information, own or at class level
(#1713) Short array syntax must be used to define arrays
(#1717) Short array syntax must be used to define arrays
(#1724) Short array syntax must be used to define arrays
(#1729) Short array syntax must be used to define arrays
(#1732) Short array syntax must be used to define arrays
(#1732) There should be a comma after the last array item in a multi-line array.
(#1743) Test method test_post_updated() is missing any coverage information, own or at class level
(#1746) Short array syntax must be used to define arrays
(#1750) Short array syntax must be used to define arrays
(#1757) Short array syntax must be used to define arrays
(#1764) Short array syntax must be used to define arrays
(#1767) Short array syntax must be used to define arrays
(#1767) There should be a comma after the last array item in a multi-line array.
(#1782) Short array syntax must be used to define arrays
(#1793) Test method test_post_updated_single() is missing any coverage information, own or at class level
(#1796) Short array syntax must be used to define arrays
(#1800) Short array syntax must be used to define arrays
(#1807) Short array syntax must be used to define arrays
(#1814) Short array syntax must be used to define arrays
(#1817) Short array syntax must be used to define arrays
(#1817) There should be a comma after the last array item in a multi-line array.
(#1832) Short array syntax must be used to define arrays
(#1843) Test method test_observers() is missing any coverage information, own or at class level
(#1851) Short array syntax must be used to define arrays
(#1852) Short array syntax must be used to define arrays
(#1858) Short array syntax must be used to define arrays
(#1860) There should be a comma after the last array item in a multi-line array.
(#1864) Short array syntax must be used to define arrays
(#1865) Short array syntax must be used to define arrays
(#1870) Short array syntax must be used to define arrays
(#1879) Short array syntax must be used to define arrays
(#1886) Inline comments must end in full-stops, exclamation marks, or question marks
(#1891) Short array syntax must be used to define arrays
(#1892) Short array syntax must be used to define arrays
(#1893) Short array syntax must be used to define arrays
(#1896) Short array syntax must be used to define arrays
mod/hsuforum/tests/externallib_test.php
(#33) PHPUnit testcase name "mod_hsuforum_external_testcase" does not match file name "externallib_test"
(#33) PHPUnit class "mod_hsuforum_external_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#33) Missing docblock for class mod_hsuforum_external_testcase
(#38) There must be a single space between the colon and type in a return type declaration
(#47) Test method test_mod_hsuforum_get_forums_by_courses() is missing any coverage information, own or at class level
(#53) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#167) Short array syntax must be used to define arrays
(#175) Test method test_mod_hsuforum_get_forum_discussion_posts() is missing any coverage information, own or at class level
(#233) Short array syntax must be used to define arrays
(#260) Short array syntax must be used to define arrays
(#261) Short array syntax must be used to define arrays
(#262) Short array syntax must be used to define arrays
(#268) Short array syntax must be used to define arrays
(#269) Short array syntax must be used to define arrays
(#271) Short array syntax must be used to define arrays
(#273) Short array syntax must be used to define arrays
(#287) Short array syntax must be used to define arrays
(#288) Short array syntax must be used to define arrays
(#297) There should be a comma after the last array item in a multi-line array.
(#301) Short array syntax must be used to define arrays
(#306) There should be a comma after the last array item in a multi-line array.
(#308) Short array syntax must be used to define arrays
(#324) Short array syntax must be used to define arrays
(#329) There should be a comma after the last array item in a multi-line array.
(#352) Short array syntax must be used to define arrays
(#391) Short array syntax must be used to define arrays
(#403) Test method test_mod_hsuforum_get_forum_discussion_posts_qanda() is missing any coverage information, own or at class level
(#469) Test method test_mod_hsuforum_get_forum_discussions_paginated() is missing any coverage information, own or at class level
(#473) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#539) Short array syntax must be used to define arrays
(#542) Short array syntax must be used to define arrays
(#576) Line exceeds 132 characters; contains 135 characters
(#577) Short array syntax must be used to define arrays
(#578) Short array syntax must be used to define arrays
(#579) Short array syntax must be used to define arrays
(#579) There should be a comma after the last array item in a multi-line array.
(#617) Test method test_mod_hsuforum_get_forum_discussions_paginated_qanda() is missing any coverage information, own or at class level
(#642) Line exceeds 132 characters; contains 135 characters
(#651) Line exceeds 132 characters; contains 135 characters
(#661) Test method test_add_discussion_post() is missing any coverage information, own or at class level
(#672) Short array syntax must be used to define arrays
(#728) Short array syntax must be used to define arrays
(#746) Short array syntax must be used to define arrays
(#746) Short array syntax must be used to define arrays
(#747) Short array syntax must be used to define arrays
(#775) Short array syntax must be used to define arrays
(#778) Short array syntax must be used to define arrays
(#796) Test method test_add_discussion() is missing any coverage information, own or at class level
(#827) Line exceeds 132 characters; contains 135 characters
(#838) Short array syntax must be used to define arrays
(#838) Short array syntax must be used to define arrays
(#842) Line exceeds 132 characters; contains 135 characters
(#859) Short array syntax must be used to define arrays
(#880) Short array syntax must be used to define arrays
(#880) Short array syntax must be used to define arrays
(#881) Short array syntax must be used to define arrays
(#887) Line exceeds 132 characters; contains 135 characters
(#911) Test method test_add_discussion_without_attachment_capability() is missing any coverage information, own or at class level
(#935) Short array syntax must be used to define arrays
(#947) Line exceeds 132 characters; contains 135 characters
(#951) Line exceeds 132 characters; contains 135 characters
(#964) Test method test_add_discussion_in_course_with_groups() is missing any coverage information, own or at class level
(#970) Short array syntax must be used to define arrays
(#977) Short array syntax must be used to define arrays
(#998) Short array syntax must be used to define arrays
(#1024) Line exceeds 132 characters; contains 135 characters
(#1036) Line exceeds 132 characters; contains 135 characters
(#1044) Short array syntax must be used to define arrays
(#1052) Line exceeds 132 characters; contains 135 characters
(#1065) Test method test_can_add_discussion() is missing any coverage information, own or at class level
(#1091) Short array syntax must be used to define arrays
(#1097) Short array syntax must be used to define arrays
(#1111) Test method test_mod_hsuforum_get_forum_discussion_rating_information() is missing any coverage information, own or at class level
(#1125) Short array syntax must be used to define arrays
(#1126) Short array syntax must be used to define arrays
(#1149) Short array syntax must be used to define arrays
mod/hsuforum/tests/form_service_test.php
(#1) DocBlock missing a @package tag for file form_service_test.php. Expected @package mod_hsuforum
(#16) Whitespace found at end of line
(#17) Missing @copyright tag
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Multiple artifacts detected.
(#24) Missing docblock for class testable_form_service
(#25) Missing docblock for function protected_file_prepare_draft_area in testcase
(#25) Line exceeds 132 characters; contains 147 characters
(#30) PHPUnit testcase name "mod_hsuforum_form_service_testcase" does not match file name "form_service_test"
(#30) PHPUnit class "mod_hsuforum_form_service_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#30) Missing docblock for class mod_hsuforum_form_service_testcase
(#31) Test method test_prepare_draft_area() is missing any coverage information, own or at class level
(#43) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#82) There should be a comma after the last array item in a multi-line array.
(#86) Short array syntax must be used to define arrays
(#88) There should be a comma after the last array item in a multi-line array.
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Short array syntax must be used to define arrays
(#117) Expected 1 space before "=>"; 0 found
(#117) Expected 1 space after "=>"; 0 found
(#118) Line exceeds 132 characters; contains 134 characters
(#134) File must end with a newline character
mod/hsuforum/tests/generator/lib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#67) Missing docblock for function create_instance
(#215) Short array syntax must be used to define arrays
(#345) Missing docblock for function create_content
(#345) Short array syntax must be used to define arrays
(#347) Short array syntax must be used to define arrays
(#350) There should be a comma after the last array item in a multi-line array.
(#355) Short array syntax must be used to define arrays
(#359) Short array syntax must be used to define arrays
(#359) Line exceeds 132 characters; contains 138 characters
(#361) Short array syntax must be used to define arrays
(#361) Line exceeds 132 characters; contains 133 characters
mod/hsuforum/tests/generator_test.php
(#21) Invalid @category tag value "phpunit".
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) Invalid @category tag value "phpunit".
(#37) PHPUnit testcase name "mod_hsuforum_generator_testcase" does not match file name "generator_test"
(#37) PHPUnit class "mod_hsuforum_generator_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#38) Test method test_generator() is missing any coverage information, own or at class level
(#52) Short array syntax must be used to define arrays
(#52) Expected 1 space before "=>"; 0 found
(#52) Expected 1 space after "=>"; 0 found
(#53) Short array syntax must be used to define arrays
(#53) Expected 1 space before "=>"; 0 found
(#53) Expected 1 space after "=>"; 0 found
(#54) Short array syntax must be used to define arrays
(#54) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space after "=>"; 0 found
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Short array syntax must be used to define arrays
(#66) Expected 1 space before "=>"; 0 found
(#66) Expected 1 space after "=>"; 0 found
(#66) Expected 1 space before "=>"; 0 found
(#66) Expected 1 space after "=>"; 0 found
(#66) Expected 1 space before "=>"; 0 found
(#66) Expected 1 space after "=>"; 0 found
(#66) Line exceeds 132 characters; contains 146 characters
(#67) Short array syntax must be used to define arrays
(#67) Expected 1 space before "=>"; 0 found
(#67) Expected 1 space after "=>"; 0 found
(#67) Expected 1 space before "=>"; 0 found
(#67) Expected 1 space after "=>"; 0 found
(#67) Expected 1 space before "=>"; 0 found
(#67) Expected 1 space after "=>"; 0 found
(#67) Expected 1 space before "=>"; 0 found
(#67) Expected 1 space after "=>"; 0 found
(#67) Line exceeds 132 characters; contains 153 characters
(#77) Test method test_create_discussion() is missing any coverage information, own or at class level
(#94) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#117) Test method test_create_post() is missing any coverage information, own or at class level
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Short array syntax must be used to define arrays
(#156) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#162) Test method test_create_content() is missing any coverage information, own or at class level
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Short array syntax must be used to define arrays
(#183) Short array syntax must be used to define arrays
(#184) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#190) Short array syntax must be used to define arrays
(#192) Short array syntax must be used to define arrays
(#201) Short array syntax must be used to define arrays
mod/hsuforum/tests/generator_trait.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#27) Missing docblock for trait mod_hsuforum_tests_generator_trait
(#39) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
mod/hsuforum/tests/grades_gradeitems_test.php
(#28) PHPUnit class "tests\mod_hsuforum\grades\gradeitems_test", with namespace "tests\mod_hsuforum\grades", currently located at "tests/" directory, does not match its expected location at "tests/mod_hsuforum/grades"
(#28) PHPUnit class namespace "tests\mod_hsuforum\grades" does not match expected file namespace "mod_hsuforum"
(#42) PHPUnit testcase name "gradeitems_test" does not match file name "grades_gradeitems_test"
(#43) Opening brace should be on the same line as the declaration for class gradeitems_test
(#48) Test method test_get_itemname_mapping_for_component() is missing any coverage information, own or at class level
(#49) Opening brace should be on the same line as the declaration
(#63) Test method test_get_advancedgrading_itemnames_for_component() is missing any coverage information, own or at class level
(#64) Opening brace should be on the same line as the declaration
(#78) Test method test_is_advancedgrading_itemname() is missing any coverage information, own or at class level
(#79) Opening brace should be on the same line as the declaration
(#91) Data provider method "is_advancedgrading_itemname_provider" will need to be converted to static in future.
(#92) Opening brace should be on the same line as the declaration
mod/hsuforum/tests/helper.php
(#17) Missing @copyright tag
(#45) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
mod/hsuforum/tests/lib_test.php
(#36) PHPUnit testcase name "mod_hsuforum_lib_testcase" does not match file name "lib_test"
(#36) PHPUnit class "mod_hsuforum_lib_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#36) Missing docblock for class mod_hsuforum_lib_testcase
(#38) Test method test_hsuforum_trigger_content_uploaded_event() is missing any coverage information, own or at class level
(#43) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#57) There should be a comma after the last array item in a multi-line array.
(#78) Test method test_hsuforum_get_courses_user_posted_in() is missing any coverage information, own or at class level
(#157) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#167) Short array syntax must be used to define arrays
(#168) Short array syntax must be used to define arrays
(#175) Test method test_hsuforum_tp_get_course_unread_posts() is missing any coverage information, own or at class level
(#183) Short array syntax must be used to define arrays
(#205) Test method test_forum_auto_subscribe_on_create() is missing any coverage information, own or at class level
(#212) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#233) Test method test_forum_forced_subscribe_on_create() is missing any coverage information, own or at class level
(#240) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#261) Test method test_forum_optional_subscribe_on_create() is missing any coverage information, own or at class level
(#268) Short array syntax must be used to define arrays
(#276) Short array syntax must be used to define arrays
(#290) Test method test_forum_disallow_subscribe_on_create() is missing any coverage information, own or at class level
(#297) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
(#316) Test method test_discussion_pinned_sort() is missing any coverage information, own or at class level
(#325) Test method test_forum_view() is missing any coverage information, own or at class level
(#331) Short array syntax must be used to define arrays
(#332) Short array syntax must be used to define arrays
(#333) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#366) Test method test_forum_discussion_view() is missing any coverage information, own or at class level
(#373) Short array syntax must be used to define arrays
(#401) Test method test_forum_get_neighbours() is missing any coverage information, own or at class level
(#416) Short array syntax must be used to define arrays
(#525) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#529) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#602) Short array syntax must be used to define arrays
(#603) Short array syntax must be used to define arrays
(#604) Short array syntax must be used to define arrays
(#604) Line exceeds 132 characters; contains 133 characters
(#605) Short array syntax must be used to define arrays
(#606) Short array syntax must be used to define arrays
(#617) Short array syntax must be used to define arrays
(#621) Short array syntax must be used to define arrays
(#632) Short array syntax must be used to define arrays
(#634) Short array syntax must be used to define arrays
(#652) Test method test_forum_get_neighbours_blog() is missing any coverage information, own or at class level
(#668) Short array syntax must be used to define arrays
(#830) Short array syntax must be used to define arrays
(#831) Short array syntax must be used to define arrays
(#845) Test method test_forum_get_neighbours_with_groups() is missing any coverage information, own or at class level
(#859) Short array syntax must be used to define arrays
(#860) Short array syntax must be used to define arrays
(#865) Short array syntax must be used to define arrays
(#867) Short array syntax must be used to define arrays
(#867) Line exceeds 132 characters; contains 133 characters
(#868) Short array syntax must be used to define arrays
(#868) Line exceeds 132 characters; contains 134 characters
(#1047) Test method test_forum_get_neighbours_with_groups_blog() is missing any coverage information, own or at class level
(#1056) Short array syntax must be used to define arrays
(#1057) Short array syntax must be used to define arrays
(#1062) Short array syntax must be used to define arrays
(#1064) Short array syntax must be used to define arrays
(#1066) Short array syntax must be used to define arrays
(#1244) Test method test_count_discussion_replies_basic() is missing any coverage information, own or at class level
(#1252) Test method test_count_discussion_replies_limited() is missing any coverage information, own or at class level
(#1259) Test method test_count_discussion_replies_paginated() is missing any coverage information, own or at class level
(#1266) Test method test_count_discussion_replies_paginated_sorted() is missing any coverage information, own or at class level
(#1278) Test method test_count_discussion_replies_limited_sorted() is missing any coverage information, own or at class level
(#1290) Test method test_count_discussion_replies_paginated_sorted_small() is missing any coverage information, own or at class level
(#1302) Test method test_count_discussion_replies_paginated_sorted_small_reverse() is missing any coverage information, own or at class level
(#1314) Test method test_count_discussion_replies_limited_sorted_small_reverse() is missing any coverage information, own or at class level
(#1326) Test method test_count_discussion_replies_private() is missing any coverage information, own or at class level
(#1349) Short array syntax must be used to define arrays
(#1364) Test method test_hsuforum_view() is missing any coverage information, own or at class level
(#1371) Short array syntax must be used to define arrays
(#1372) Short array syntax must be used to define arrays
(#1373) Short array syntax must be used to define arrays
(#1391) Short array syntax must be used to define arrays
(#1406) Test method test_hsuforum_discussion_view() is missing any coverage information, own or at class level
(#1413) Short array syntax must be used to define arrays
(#1456) Short array syntax must be used to define arrays
(#1467) Short array syntax must be used to define arrays
(#1490) Short array syntax must be used to define arrays
(#1525) Short array syntax must be used to define arrays
(#1546) Test method test_mod_hsuforum_rating_can_see_item_ratings() is missing any coverage information, own or at class level
(#1556) Short array syntax must be used to define arrays
(#1568) Short array syntax must be used to define arrays
(#1574) Short array syntax must be used to define arrays
(#1575) Short array syntax must be used to define arrays
(#1589) Short array syntax must be used to define arrays
(#1603) Short array syntax must be used to define arrays
(#1646) Test method test_forum_get_discussions_with_groups() is missing any coverage information, own or at class level
(#1652) Short array syntax must be used to define arrays
(#1657) Short array syntax must be used to define arrays
(#1665) Short array syntax must be used to define arrays
(#1669) Short array syntax must be used to define arrays
(#1670) Short array syntax must be used to define arrays
(#1671) Short array syntax must be used to define arrays
(#1682) Short array syntax must be used to define arrays
(#1765) Test method test_forum_user_can_post_discussion() is missing any coverage information, own or at class level
(#1771) Short array syntax must be used to define arrays
(#1778) Short array syntax must be used to define arrays
(#1789) Short array syntax must be used to define arrays
(#1866) Test method test_forum_user_has_posted_discussion_no_groups() is missing any coverage information, own or at class level
(#1898) Test method test_forum_user_has_posted_discussion_multiple_forums() is missing any coverage information, own or at class level
(#1930) Test method test_forum_user_has_posted_discussion_multiple_groups() is missing any coverage information, own or at class level
(#1939) Short array syntax must be used to define arrays
(#1940) Short array syntax must be used to define arrays
(#1985) Test method test_mod_hsuforum_myprofile_navigation() is missing any coverage information, own or at class level
(#2009) Test method test_mod_hsuforum_myprofile_navigation_as_guest() is missing any coverage information, own or at class level
(#2034) Test method test_mod_hsuforum_myprofile_navigation_different_user() is missing any coverage information, own or at class level
(#2056) Test method test_print_overview() is missing any coverage information, own or at class level
(#2071) Short array syntax must be used to define arrays
(#2078) Short array syntax must be used to define arrays
(#2079) Short array syntax must be used to define arrays
(#2097) Short array syntax must be used to define arrays
(#2105) Short array syntax must be used to define arrays
(#2122) Short array syntax must be used to define arrays
(#2129) Test method test_print_overview_groups() is missing any coverage information, own or at class level
(#2132) Short array syntax must be used to define arrays
(#2133) Short array syntax must be used to define arrays
(#2140) Short array syntax must be used to define arrays
(#2142) Short array syntax must be used to define arrays
(#2144) Short array syntax must be used to define arrays
(#2146) Short array syntax must be used to define arrays
(#2151) Short array syntax must be used to define arrays
(#2165) Short array syntax must be used to define arrays
(#2169) Short array syntax must be used to define arrays
(#2181) Short array syntax must be used to define arrays
(#2192) Test method test_print_overview_timed() is missing any coverage information, own or at class level
(#2192) No one-line description found in phpdocs for docblock of function test_print_overview_timed
(#2201) Short array syntax must be used to define arrays
(#2207) Short array syntax must be used to define arrays
(#2223) Short array syntax must be used to define arrays
(#2227) Short array syntax must be used to define arrays
(#2247) Test method test_print_overview_timed_groups() is missing any coverage information, own or at class level
(#2247) No one-line description found in phpdocs for docblock of function test_print_overview_timed_groups
(#2250) Short array syntax must be used to define arrays
(#2251) Short array syntax must be used to define arrays
(#2258) Short array syntax must be used to define arrays
(#2260) Short array syntax must be used to define arrays
(#2262) Short array syntax must be used to define arrays
(#2264) Short array syntax must be used to define arrays
(#2269) Short array syntax must be used to define arrays
(#2289) Short array syntax must be used to define arrays
(#2293) Short array syntax must be used to define arrays
(#2310) Short array syntax must be used to define arrays
(#2318) Missing docblock for function print_overview_timed_provider in testcase
(#2319) Short array syntax must be used to define arrays
(#2320) Short array syntax must be used to define arrays
(#2321) Short array syntax must be used to define arrays
(#2326) Short array syntax must be used to define arrays
(#2327) Short array syntax must be used to define arrays
(#2332) Short array syntax must be used to define arrays
(#2333) Short array syntax must be used to define arrays
(#2338) Short array syntax must be used to define arrays
(#2339) Short array syntax must be used to define arrays
(#2350) Test method test_pinned_discussion_with_group() is missing any coverage information, own or at class level
(#2355) Short array syntax must be used to define arrays
(#2362) Short array syntax must be used to define arrays
(#2365) Short array syntax must be used to define arrays
(#2367) Short array syntax must be used to define arrays
(#2369) Short array syntax must be used to define arrays
(#2376) Short array syntax must be used to define arrays
(#2377) Short array syntax must be used to define arrays
(#2402) Line exceeds 132 characters; contains 133 characters
(#2478) Test method test_pinned_with_timed_discussions() is missing any coverage information, own or at class level
(#2493) Short array syntax must be used to define arrays
(#2500) Short array syntax must be used to define arrays
(#2550) Test method test_pinned_timed_discussions_with_timed_discussions() is missing any coverage information, own or at class level
(#2565) Short array syntax must be used to define arrays
(#2572) Short array syntax must be used to define arrays
(#2633) Test method test_forum_get_unmailed_posts() is missing any coverage information, own or at class level
(#2633) No one-line description found in phpdocs for docblock of function test_forum_get_unmailed_posts
(#2677) Short array syntax must be used to define arrays
(#2689) Test method test_function_validate_files() is missing any coverage information, own or at class level
(#2689) Expected 1 space before opening brace; found 0
(#2699) Short array syntax must be used to define arrays
(#2713) Short array syntax must be used to define arrays
(#2714) Short array syntax must be used to define arrays
(#2720) There should be a comma after the last array item in a multi-line array.
(#2725) Inline comments must end in full-stops, exclamation marks, or question marks
(#2727) Short array syntax must be used to define arrays
(#2728) Short array syntax must be used to define arrays
(#2731) There should be a comma after the last array item in a multi-line array.
(#2734) Inline comments must end in full-stops, exclamation marks, or question marks
(#2737) Inline comments must end in full-stops, exclamation marks, or question marks
(#2742) Inline comments must end in full-stops, exclamation marks, or question marks
(#2748) Inline comments must end in full-stops, exclamation marks, or question marks
(#2749) Short array syntax must be used to define arrays
(#2751) There should be a comma after the last array item in a multi-line array.
(#2757) Inline comments must end in full-stops, exclamation marks, or question marks
(#2758) Short array syntax must be used to define arrays
(#2765) Test method test_attachment_field_on_create_discussion() is missing any coverage information, own or at class level
(#2772) Short array syntax must be used to define arrays
(#2797) Short array syntax must be used to define arrays
(#2804) Test method test_forum_is_author_hidden() is missing any coverage information, own or at class level
(#2836) Missing docblock for function hsuforum_get_unmailed_posts_provider in testcase
(#2875) There should be a comma after the last array item in a multi-line array.
(#2894) There should be a comma after the last array item in a multi-line array.
(#2948) Line exceeds 132 characters; contains 141 characters
(#2959) Line exceeds 132 characters; contains 136 characters
(#3001) Test method test_forum_discussion_is_locked() is missing any coverage information, own or at class level
(#3015) There should be a comma after the last array item in a multi-line array.
(#3020) There should be a comma after the last array item in a multi-line array.
(#3025) There should be a comma after the last array item in a multi-line array.
(#3030) There should be a comma after the last array item in a multi-line array.
(#3035) There should be a comma after the last array item in a multi-line array.
(#3040) There should be a comma after the last array item in a multi-line array.
(#3045) There should be a comma after the last array item in a multi-line array.
(#3053) Test method test_forum_update_post_keeps_discussions_usermodified() is missing any coverage information, own or at class level
(#3146) Test method test_forum_core_calendar_provide_event_action() is missing any coverage information, own or at class level
(#3152) Short array syntax must be used to define arrays
(#3173) Test method test_forum_core_calendar_provide_event_action_in_hidden_section() is missing any coverage information, own or at class level
(#3186) Short array syntax must be used to define arrays
(#3210) Test method test_forum_core_calendar_provide_event_action_for_user() is missing any coverage information, own or at class level
(#3223) Short array syntax must be used to define arrays
(#3248) Test method test_forum_core_calendar_provide_event_action_as_non_user() is missing any coverage information, own or at class level
(#3256) Short array syntax must be used to define arrays
(#3276) Test method test_forum_core_calendar_provide_event_action_already_completed() is missing any coverage information, own or at class level
(#3285) Short array syntax must be used to define arrays
(#3286) Short array syntax must be used to define arrays
(#3287) Short array syntax must be used to define arrays
(#3310) Test method test_forum_core_calendar_provide_event_action_already_completed_for_user() is missing any coverage information, own or at class level
(#3319) Short array syntax must be used to define arrays
(#3325) Short array syntax must be used to define arrays
(#3326) Short array syntax must be used to define arrays
(#3349) Test method test_mod_hsuforum_get_tagged_posts() is missing any coverage information, own or at class level
(#3360) Short array syntax must be used to define arrays
(#3361) Short array syntax must be used to define arrays
(#3362) Short array syntax must be used to define arrays
(#3363) Short array syntax must be used to define arrays
(#3363) Short array syntax must be used to define arrays
(#3364) Short array syntax must be used to define arrays
(#3364) Short array syntax must be used to define arrays
(#3365) Short array syntax must be used to define arrays
(#3365) Short array syntax must be used to define arrays
(#3367) Short array syntax must be used to define arrays
(#3367) Short array syntax must be used to define arrays
(#3368) Short array syntax must be used to define arrays
(#3368) Short array syntax must be used to define arrays
(#3369) Short array syntax must be used to define arrays
(#3369) Short array syntax must be used to define arrays
(#3370) Short array syntax must be used to define arrays
(#3370) Short array syntax must be used to define arrays
(#3371) Short array syntax must be used to define arrays
(#3371) Short array syntax must be used to define arrays
(#3372) Short array syntax must be used to define arrays
(#3372) Short array syntax must be used to define arrays
(#3408) Short array syntax must be used to define arrays
(#3463) Test method test_mod_hsuforum_completion_get_active_rule_descriptions() is missing any coverage information, own or at class level
(#3474) There should be a comma after the last array item in a multi-line array.
(#3481) There should be a comma after the last array item in a multi-line array.
(#3493) There should be a comma after the last array item in a multi-line array.
(#3500) There should be a comma after the last array item in a multi-line array.
(#3508) Test method test_hsuforum_recent_activity_query() is missing any coverage information, own or at class level
(#3521) No space found before comment text; expected "// Create 3 discussions." but found "//Create 3 discussions."
(#3554) Test method test_hsuforum_word_count() is missing any coverage information, own or at class level
(#3565) No space found before comment text; expected "// Create a discussion." but found "//Create a discussion."
(#3582) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3592) Test method test_hsuforum_scale_dependency_form() is missing any coverage information, own or at class level
(#3613) Test method test_create_instance_with_advanced_grading() is missing any coverage information, own or at class level
(#3613) Expected 0 spaces after "test_create_instance_with_advanced_grading"; 1 found
(#3621) Short array syntax must be used to define arrays
mod/hsuforum/tests/mail_test.php
(#30) PHPUnit testcase name "mod_hsuforum_mail_testcase" does not match file name "mail_test"
(#30) PHPUnit class "mod_hsuforum_mail_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#30) Missing docblock for class mod_hsuforum_mail_testcase
(#32) Missing member variable doc comment
(#86) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#253) Test method test_cron_message_includes_courseid() is missing any coverage information, own or at class level
(#260) Short array syntax must be used to define arrays
(#293) Whitespace found at end of line
(#300) Test method test_forced_subscription() is missing any coverage information, own or at class level
(#306) Short array syntax must be used to define arrays
(#339) Test method test_subscription_disabled() is missing any coverage information, own or at class level
(#347) Short array syntax must be used to define arrays
(#368) Short array syntax must be used to define arrays
(#381) Short array syntax must be used to define arrays
(#401) Test method test_automatic() is missing any coverage information, own or at class level
(#407) Short array syntax must be used to define arrays
(#440) Test method test_optional() is missing any coverage information, own or at class level
(#446) Short array syntax must be used to define arrays
(#462) Test method test_automatic_with_unsubscribed_user() is missing any coverage information, own or at class level
(#468) Short array syntax must be used to define arrays
(#504) Test method test_optional_with_subscribed_user() is missing any coverage information, own or at class level
(#510) Short array syntax must be used to define arrays
(#546) Test method test_automatic_with_unsubscribed_discussion() is missing any coverage information, own or at class level
(#552) Short array syntax must be used to define arrays
(#600) Test method test_optional_with_subscribed_discussion() is missing any coverage information, own or at class level
(#606) Short array syntax must be used to define arrays
(#661) Test method test_automatic_with_subscribed_discussion_in_unsubscribed_forum() is missing any coverage information, own or at class level
(#667) Short array syntax must be used to define arrays
(#709) No space found before comment text; expected "// $this->assertFalse($seenauthor);" but found "//$this->assertFalse($seenauthor);"
(#743) Test method test_optional_with_unsubscribed_discussion_in_subscribed_forum() is missing any coverage information, own or at class level
(#749) Short array syntax must be used to define arrays
(#758) Inline comments must start with a capital letter, digit or 3-dots sequence
(#779) Test method test_forum_discussion_subscription_forum_unsubscribed_discussion_subscribed_after_post() is missing any coverage information, own or at class level
(#785) Short array syntax must be used to define arrays
(#788) Short array syntax must be used to define arrays
(#797) Short array syntax must be used to define arrays
(#812) Short array syntax must be used to define arrays
(#826) Test method test_forum_message_inbound_multiple_posts() is missing any coverage information, own or at class level
(#831) Short array syntax must be used to define arrays
(#834) Short array syntax must be used to define arrays
(#840) Short array syntax must be used to define arrays
(#846) Short array syntax must be used to define arrays
(#856) Short array syntax must be used to define arrays
(#892) Test method test_long_subject() is missing any coverage information, own or at class level
(#898) Short array syntax must be used to define arrays
(#905) Line exceeds 132 characters; contains 178 characters
(#906) Short array syntax must be used to define arrays
(#908) Short array syntax must be used to define arrays
(#919) Test method test_subjects() is missing any coverage information, own or at class level
(#924) Short array syntax must be used to define arrays
(#969) Short array syntax must be used to define arrays
(#970) Short array syntax must be used to define arrays
(#971) Short array syntax must be used to define arrays
(#972) Short array syntax must be used to define arrays
(#973) Short array syntax must be used to define arrays
(#975) Short array syntax must be used to define arrays
(#976) Short array syntax must be used to define arrays
(#980) Short array syntax must be used to define arrays
(#981) Short array syntax must be used to define arrays
(#983) There should be a comma after the last array item in a multi-line array.
(#990) Short array syntax must be used to define arrays
(#991) Short array syntax must be used to define arrays
(#993) Short array syntax must be used to define arrays
(#998) There should be a comma after the last array item in a multi-line array.
(#1005) Short array syntax must be used to define arrays
(#1005) Short array syntax must be used to define arrays
(#1014) Short array syntax must be used to define arrays
(#1017) Short array syntax must be used to define arrays
(#1028) Short array syntax must be used to define arrays
(#1031) Short array syntax must be used to define arrays
(#1041) Short array syntax must be used to define arrays
(#1044) Short array syntax must be used to define arrays
(#1052) Short array syntax must be used to define arrays
(#1062) Short array syntax must be used to define arrays
(#1065) Short array syntax must be used to define arrays
(#1070) Short array syntax must be used to define arrays
(#1075) Short array syntax must be used to define arrays
(#1084) Short array syntax must be used to define arrays
(#1090) Short array syntax must be used to define arrays
(#1099) Short array syntax must be used to define arrays
(#1109) Short array syntax must be used to define arrays
(#1120) Test method test_forum_post_email_templates() is missing any coverage information, own or at class level
(#1129) Short array syntax must be used to define arrays
(#1136) Short array syntax must be used to define arrays
(#1144) Short array syntax must be used to define arrays
(#1146) Short array syntax must be used to define arrays
(#1148) Short array syntax must be used to define arrays
(#1156) Short array syntax must be used to define arrays
(#1158) Short array syntax must be used to define arrays
(#1170) Short array syntax must be used to define arrays
(#1176) There should be a comma after the last array item in a multi-line array.
(#1180) Short array syntax must be used to define arrays
(#1186) Inline comments must end in full-stops, exclamation marks, or question marks
(#1227) Logical operator "and" is prohibited; use "&&" instead
(#1230) Short array syntax must be used to define arrays
mod/hsuforum/tests/maildigest_test.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) PHPUnit testcase name "mod_hsuforum_maildigest_testcase" does not match file name "maildigest_test"
(#31) PHPUnit class "mod_hsuforum_maildigest_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#31) Missing docblock for class mod_hsuforum_maildigest_testcase
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Short array syntax must be used to define arrays
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#193) Test method test_set_maildigest() is missing any coverage information, own or at class level
(#207) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#223) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#236) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) Short array syntax must be used to define arrays
(#249) Test method test_get_user_digest_options_default() is missing any coverage information, own or at class level
(#264) Short array syntax must be used to define arrays
(#288) Test method test_get_user_digest_options_sorting() is missing any coverage information, own or at class level
(#313) Test method test_cron_no_posts() is missing any coverage information, own or at class level
(#328) Test method test_cron_profile_single_mails() is missing any coverage information, own or at class level
(#362) Short array syntax must be used to define arrays
(#378) Test method test_cron_profile_digest_email() is missing any coverage information, own or at class level
(#412) Short array syntax must be used to define arrays
(#429) Test method test_cron_mixed_email_1() is missing any coverage information, own or at class level
(#463) Short array syntax must be used to define arrays
(#480) Test method test_cron_mixed_email_2() is missing any coverage information, own or at class level
(#514) Short array syntax must be used to define arrays
(#530) Test method test_cron_forum_digest_email() is missing any coverage information, own or at class level
(#564) Short array syntax must be used to define arrays
mod/hsuforum/tests/output_email_test.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) PHPUnit testcase name "mod_hsuforum_output_email_testcase" does not match file name "output_email_test"
(#33) PHPUnit class "mod_hsuforum_output_email_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#38) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#135) Test method test_postdate() is missing any coverage information, own or at class level
(#151) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#196) Test method test_anonymous_author() is missing any coverage information, own or at class level
mod/hsuforum/tests/portfolio_caller_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) PHPUnit testcase name "mod_hsuforum_portfolio_caller_testcase" does not match file name "portfolio_caller_test"
(#33) PHPUnit class "mod_hsuforum_portfolio_caller_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#39) Test method test_file_in_user_post_is_loaded() is missing any coverage information, own or at class level
(#46) Short array syntax must be used to define arrays
(#49) This comment is 50% valid code; is this commented out code?
(#52) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
(#61) Short array syntax must be used to define arrays
(#67) There should be a comma after the last array item in a multi-line array.
(#71) Short array syntax must be used to define arrays
(#73) There should be a comma after the last array item in a multi-line array.
(#84) Test method test_file_not_in_user_post_not_loaded() is missing any coverage information, own or at class level
(#91) Short array syntax must be used to define arrays
(#94) This comment is 50% valid code; is this commented out code?
(#97) Short array syntax must be used to define arrays
(#101) There should be a comma after the last array item in a multi-line array.
(#106) Short array syntax must be used to define arrays
(#112) There should be a comma after the last array item in a multi-line array.
(#118) Short array syntax must be used to define arrays
(#121) There should be a comma after the last array item in a multi-line array.
(#124) Short array syntax must be used to define arrays
(#130) There should be a comma after the last array item in a multi-line array.
(#134) Short array syntax must be used to define arrays
(#136) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/tests/privacy_provider_test.php
(#31) Import statements must not begin with a leading backslash
(#39) PHPUnit testcase name "mod_hsuforum_privacy_provider_testcase" does not match file name "privacy_provider_test"
(#39) PHPUnit class "mod_hsuforum_privacy_provider_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#121) Test method test_user_has_never_posted() is missing any coverage information, own or at class level
(#157) Test method test_user_has_never_posted_subscribed_to_forum() is missing any coverage information, own or at class level
(#226) Test method test_user_has_posted_own_discussion() is missing any coverage information, own or at class level
(#263) Test method test_user_has_posted_reply() is missing any coverage information, own or at class level
(#336) Test method test_user_has_rated_others() is missing any coverage information, own or at class level
(#405) Test method test_user_has_been_rated() is missing any coverage information, own or at class level
(#418) Inline comments must end in full-stops, exclamation marks, or question marks
(#472) Test method test_user_forum_digest() is missing any coverage information, own or at class level
(#545) Test method test_user_read_posts() is missing any coverage information, own or at class level
(#722) Test method test_post_attachment_inclusion() is missing any coverage information, own or at class level
(#789) Test method test_post_tags() is missing any coverage information, own or at class level
(#833) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#848) Test method test_all_users_deleted_from_context() is missing any coverage information, own or at class level
(#1024) Test method test_delete_data_for_user() is missing any coverage information, own or at class level
(#1200) Line exceeds 132 characters; contains 133 characters
(#1207) Test method test_delete_data_for_users() is missing any coverage information, own or at class level
mod/hsuforum/tests/restore_date_test.php
(#38) PHPUnit testcase name "mod_hsuforum_restore_date_testcase" does not match file name "restore_date_test"
(#38) PHPUnit class "mod_hsuforum_restore_date_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#43) Test method test_restore_dates() is missing any coverage information, own or at class level
mod/hsuforum/tests/rsslib_test.php
(#40) PHPUnit testcase name "mod_hsuforum_rsslib_testcase" does not match file name "rsslib_test"
(#40) PHPUnit class "mod_hsuforum_rsslib_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#48) Test method test_forum_rss_feed_discussions_sql_respect_deleted() is missing any coverage information, own or at class level
(#79) Test method test_forum_rss_feed_posts_sql_respect_deleted() is missing any coverage information, own or at class level
mod/hsuforum/tests/search_test.php
(#41) PHPUnit testcase name "mod_hsuforum_search_testcase" does not match file name "search_test"
(#41) PHPUnit class "mod_hsuforum_search_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#63) Test method test_search_enabled() is missing any coverage information, own or at class level
(#83) Test method test_posts_indexing() is missing any coverage information, own or at class level
(#175) Test method test_posts_document() is missing any coverage information, own or at class level
(#213) Short array syntax must be used to define arrays
(#231) Test method test_posts_group_support() is missing any coverage information, own or at class level
(#299) Test method test_posts_access() is missing any coverage information, own or at class level
(#366) Test method test_attach_files() is missing any coverage information, own or at class level
(#398) Short array syntax must be used to define arrays
(#399) Short array syntax must be used to define arrays
(#405) There should be a comma after the last array item in a multi-line array.
(#467) Test method test_posts_get_contexts_to_reindex() is missing any coverage information, own or at class level
(#517) There should be a comma after the last array item in a multi-line array.
(#527) Test method test_anonymous_posts_indexing() is missing any coverage information, own or at class level
(#595) Test method test_private_reply_access() is missing any coverage information, own or at class level
mod/hsuforum/tests/user_autosubscription_test.php
(#29) Invalid @category tag value "phpunit".
(#33) PHPUnit testcase name "mod_hsuforum_user_autosubscription_testcase" does not match file name "user_autosubscription_test"
(#33) PHPUnit class "mod_hsuforum_user_autosubscription_testcase" does not have any namespace. It is recommended to add it to the "mod_hsuforum" namespace, using more levels if needed, in order to match the code being tested
(#34) Test method test_hsuforum_optional_subscription() is missing any coverage information, own or at class level
(#45) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#103) Test method test_hsuforum_automatic_subscriptions() is missing any coverage information, own or at class level
(#114) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#173) Test method test_hsuforum_subscriptions_not_allowed() is missing any coverage information, own or at class level
(#184) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#240) Short array syntax must be used to define arrays
mod/hsuforum/unsubscribeall.php
(#1) No one-line description found in phpdocs for docblock of file unsubscribeall.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#51) Logical operator "and" is prohibited; use "&&" instead
(#51) Logical operator "and" is prohibited; use "&&" instead
(#54) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#57) Short array syntax must be used to define arrays
(#57) Expected 1 space before "=>"; 0 found
(#57) Expected 1 space after "=>"; 0 found
(#69) Short array syntax must be used to define arrays
(#69) Expected 1 space before "=>"; 0 found
(#69) Expected 1 space after "=>"; 0 found
mod/hsuforum/user.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#33) 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
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Short array syntax must be used to define arrays
(#88) Expected 1 space before "=>"; 0 found
(#88) Expected 1 space after "=>"; 0 found
(#88) Expected 1 space before "=>"; 0 found
(#88) Expected 1 space after "=>"; 0 found
(#89) Short array syntax must be used to define arrays
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Short array syntax must be used to define arrays
(#100) 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
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#138) 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
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#177) Short array syntax must be used to define arrays
(#182) Line exceeds 132 characters; contains 151 characters
(#182) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#210) Short array syntax must be used to define arrays
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) Short array syntax must be used to define arrays
(#233) There should be a comma after the last array item in a multi-line array.
(#247) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
(#255) Inline comments must start with a capital letter, digit or 3-dots sequence
(#255) No space found before comment text; expected "// todo Rather than retrieving the ratings for each post individually it would be nice to do them in groups" but found "//todo Rather than retrieving the ratings for each post individually it would be nice to do them in groups"
(#256) No space found before comment text; expected "// however this requires creating arrays of posts with each array containing all of the posts from a particular forum," but found "//however this requires creating arrays of posts with each array containing all of the posts from a particular forum,"
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) No space found before comment text; expected "// retrieving the ratings then reassembling them all back into a single array sorted by post.modified (descending)" but found "//retrieving the ratings then reassembling them all back into a single array sorted by post.modified (descending)"
(#268) Inline comments must end in full-stops, exclamation marks, or question marks
(#276) Short array syntax must be used to define arrays
(#277) Short array syntax must be used to define arrays
(#283) Inline comments must start with a capital letter, digit or 3-dots sequence
(#283) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) Short array syntax must be used to define arrays
(#287) Inline comments must start with a capital letter, digit or 3-dots sequence
(#287) Inline comments must end in full-stops, exclamation marks, or question marks
(#287) No space found before comment text; expected "// the aggregation method" but found "//the aggregation method"
(#292) Logical operator "or" is prohibited; use "||" instead
(#299) Inline comments must start with a capital letter, digit or 3-dots sequence
(#299) Inline comments must end in full-stops, exclamation marks, or question marks
(#299) No space found before comment text; expected "// updating the array this way because we're iterating over a collection and updating them one by one" but found "//updating the array this way because we're iterating over a collection and updating them one by one"
(#303) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#306) Short array syntax must be used to define arrays
(#308) Short array syntax must be used to define arrays
(#315) Short array syntax must be used to define arrays
(#322) Short array syntax must be used to define arrays
(#324) Short array syntax must be used to define arrays
(#324) Line exceeds 132 characters; contains 165 characters
(#337) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#367) Line exceeds 132 characters; contains 143 characters
(#367) Inline comments must start with a capital letter, digit or 3-dots sequence
(#376) Short array syntax must be used to define arrays
(#379) Short array syntax must be used to define arrays
(#384) Short array syntax must be used to define arrays
(#387) Short array syntax must be used to define arrays
(#390) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/version.php
(#20) Incorrect @package tag for file version.php. Expected mod_hsuforum, found mod.
(#30) 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
mod/hsuforum/view.php
(#1) No one-line description found in phpdocs for docblock of file view.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#36) Short array syntax must be used to define arrays
(#38) Line indented incorrectly; expected 0 spaces, found 4
(#40) Line indented incorrectly; expected 0 spaces, found 4
(#41) Short array syntax must be used to define arrays
(#43) Line indented incorrectly; expected 0 spaces, found 4
(#44) Line indented incorrectly; expected 4 spaces, found 8
(#44) Expected "if (...) {\n"; found "if (...){\n"
(#46) Line indented incorrectly; expected 4 spaces, found 8
(#47) Short array syntax must be used to define arrays
(#49) Line indented incorrectly; expected 0 spaces, found 4
(#51) Line indented incorrectly; expected 0 spaces, found 4
(#53) Line indented incorrectly; expected 0 spaces, found 4
(#54) Line indented incorrectly; expected 0 spaces, found 4
(#56) Line indented incorrectly; expected 0 spaces, found 4
(#59) Short array syntax must be used to define arrays
(#61) Line indented incorrectly; expected 0 spaces, found 4
(#63) Line indented incorrectly; expected 0 spaces, found 4
(#67) Line indented incorrectly; expected 0 spaces, found 4
(#68) Short array syntax must be used to define arrays
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#71) Line indented incorrectly; expected 4 spaces, found 8
(#73) Line indented incorrectly; expected 4 spaces, found 8
(#75) Short array syntax must be used to define arrays
(#76) Line indented incorrectly; expected 0 spaces, found 4
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) 3 slashes comments are not allowed; use "// Comment." instead
(#90) 3 slashes comments are not allowed; use "// Comment." instead
(#100) Line indented incorrectly; expected 0 spaces, found 4
(#100) Logical operator "and" is prohibited; use "&&" instead
(#102) Line indented incorrectly; expected 0 spaces, found 4
(#104) Line indented incorrectly; expected 0 spaces, found 4
(#106) Line indented incorrectly; expected 0 spaces, found 4

Javascript coding style problems

(7 errors, 116 warnings)

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

mod/hsuforum/module.js
(#5) Identifier 'mod_hsuforum' is not in camel case. (camelcase)
(#31) Operator '+' must be spaced. (space-infix-ops)
(#31) Operator '+' must be spaced. (space-infix-ops)
(#31) A space is required after ','. (comma-spacing)
(#34) Missing semicolon. (semi)
(#44) Missing semicolon. (semi)
(#75) Missing space before opening brace. (space-before-blocks)
(#76) Unexpected space before function parentheses. (space-before-function-paren)
(#78) Operator '+' must be spaced. (space-infix-ops)
(#78) Operator '+' must be spaced. (space-infix-ops)
(#78) Operator '+' must be spaced. (space-infix-ops)
(#78) Operator '+' must be spaced. (space-infix-ops)
(#84) Missing semicolon. (semi)
(#105) Identifier 'io_success_handler' is not in camel case. (camelcase)
(#111) Unexpected alert. (no-alert)
(#112) Unexpected console statement. (no-console)
(#113) Unexpected console statement. (no-console)
(#114) Unexpected console statement. (no-console)
(#115) Unexpected console statement. (no-console)
(#120) Unexpected alert. (no-alert)
(#120) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#132) Identifier 'io_failure_handler' is not in camel case. (camelcase)
(#133) Unexpected alert. (no-alert)
(#133) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#143) Identifier 'init_modform' is not in camel case. (camelcase)
(#147) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
mod/hsuforum/yui/src/article/js/article.js
(#30) There should be no space after '{'. (object-curly-spacing)
(#30) There should be no space before '}'. (object-curly-spacing)
(#39) There should be no space after '{'. (object-curly-spacing)
(#39) There should be no space before '}'. (object-curly-spacing)
(#48) There should be no space after '{'. (object-curly-spacing)
(#48) There should be no space before '}'. (object-curly-spacing)
(#57) There should be no space after '{'. (object-curly-spacing)
(#57) There should be no space before '}'. (object-curly-spacing)
(#66) There should be no space after '{'. (object-curly-spacing)
(#66) There should be no space before '}'. (object-curly-spacing)
(#75) There should be no space after '{'. (object-curly-spacing)
(#75) There should be no space before '}'. (object-curly-spacing)
(#95) Comments should not begin with a lowercase character. (capitalized-comments)
(#104) Expected space(s) after "if". (keyword-spacing)
(#105) Comments should not begin with a lowercase character. (capitalized-comments)
(#127) Multiple spaces found before '='. (no-multi-spaces)
(#128) Multiple spaces found before '='. (no-multi-spaces)
(#129) Multiple spaces found before '='. (no-multi-spaces)
(#180) Multiple spaces found before '='. (no-multi-spaces)
(#181) Multiple spaces found before '='. (no-multi-spaces)
(#182) Multiple spaces found before '='. (no-multi-spaces)
(#236) Unexpected confirm. (no-alert)
(#236) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#270) Identifier 'init_article' is not in camel case. (camelcase)
mod/hsuforum/yui/src/article/js/common.js
(#1) 'CSS' is already defined as a built-in global variable. (no-redeclare)
(#54) Identifier 'mod_hsuforum' is not in camel case. (camelcase)
mod/hsuforum/yui/src/article/js/dom.js
(#29) There should be no space after '{'. (object-curly-spacing)
(#29) There should be no space before '}'. (object-curly-spacing)
(#84) There should be no space after '{'. (object-curly-spacing)
(#84) There should be no space before '}'. (object-curly-spacing)
(#185) Unexpected space before function parentheses. (space-before-function-paren)
mod/hsuforum/yui/src/article/js/form.js
(#31) There should be no space after '{'. (object-curly-spacing)
(#31) There should be no space before '}'. (object-curly-spacing)
(#63) Multiple spaces found before '='. (no-multi-spaces)
(#82) Unexpected space before function parentheses. (space-before-function-paren)
(#258) Missing space before value for key 'sendInProgressData'. (key-spacing)
(#258) Unexpected space before function parentheses. (space-before-function-paren)
(#296) Operator '+' must be spaced. (space-infix-ops)
(#310) Operator '+' must be spaced. (space-infix-ops)
(#310) Operator '+' must be spaced. (space-infix-ops)
(#311) Operator '+' must be spaced. (space-infix-ops)
(#311) Operator '+' must be spaced. (space-infix-ops)
(#312) Operator '+' must be spaced. (space-infix-ops)
(#312) Operator '+' must be spaced. (space-infix-ops)
(#313) Operator '+' must be spaced. (space-infix-ops)
(#313) Operator '+' must be spaced. (space-infix-ops)
(#314) Operator '+' must be spaced. (space-infix-ops)
(#314) Operator '+' must be spaced. (space-infix-ops)
(#353) Missing space before opening brace. (space-before-blocks)
(#373) Expected space(s) after "if". (keyword-spacing)
(#373) There should be no space after this paren. (space-in-parens)
(#376) Identifier 'title_nodes' is not in camel case. (camelcase)
(#377) Unexpected space before function parentheses. (space-before-function-paren)
(#378) Identifier 'title_nodes' is not in camel case. (camelcase)
(#380) Unexpected space before function parentheses. (space-before-function-paren)
(#385) Identifier 'title_nodes' is not in camel case. (camelcase)
(#390) Unexpected space before function parentheses. (space-before-function-paren)
(#434) Unexpected space before function parentheses. (space-before-function-paren)
(#458) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#459) Expected space(s) after "catch". (keyword-spacing)
(#465) Unexpected space before function parentheses. (space-before-function-paren)
(#503) Identifier 'server_offset' is not in camel case. (camelcase)
mod/hsuforum/yui/src/article/js/router.js
(#20) Unexpected empty method 'initializer'. (no-empty-function)
(#44) ["delete"] is better written in dot notation. (dot-notation)
(#45) ["delete"] is better written in dot notation. (dot-notation)
(#61) Missing space before opening brace. (space-before-blocks)
(#64) Empty block statement. (no-empty)
(#66) A space is required after ','. (comma-spacing)
(#82) Operator '>' must be spaced. (space-infix-ops)
(#82) Missing space before opening brace. (space-before-blocks)
(#117) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#123) Multiple spaces found before '='. (no-multi-spaces)
(#167) There should be no space after '{'. (object-curly-spacing)
(#167) There should be no space before '}'. (object-curly-spacing)
(#179) Operator '+' must be spaced. (space-infix-ops)
(#192) There should be no space after '{'. (object-curly-spacing)
(#192) There should be no space before '}'. (object-curly-spacing)
(#193) There should be no space after '{'. (object-curly-spacing)
(#193) There should be no space before '}'. (object-curly-spacing)
(#194) There should be no space after '{'. (object-curly-spacing)
(#194) There should be no space before '}'. (object-curly-spacing)
mod/hsuforum/yui/src/io/js/io.js
(#34) There should be no space after '{'. (object-curly-spacing)
(#34) There should be no space before '}'. (object-curly-spacing)
(#43) There should be no space after '{'. (object-curly-spacing)
(#43) There should be no space before '}'. (object-curly-spacing)
(#63) Unexpected alert. (no-alert)
(#70) Unexpected alert. (no-alert)
(#94) There should be no space before '}'. (object-curly-spacing)
(#96) There should be no space after '{'. (object-curly-spacing)
(#96) There should be no space before '}'. (object-curly-spacing)
(#116) There should be no space after '{'. (object-curly-spacing)
(#116) There should be no space before '}'. (object-curly-spacing)
(#117) There should be no space after '{'. (object-curly-spacing)
(#117) There should be no space before '}'. (object-curly-spacing)
(#135) Identifier 'mod_hsuforum' is not in camel case. (camelcase)
mod/hsuforum/yui/src/livelog/js/livelog.js
(#161) Identifier 'mod_hsuforum' is not in camel case. (camelcase)
(#163) Identifier 'init_livelog' is not in camel case. (camelcase)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(133 errors, 0 warnings)

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

mod/hsuforum/backup/moodle1/lib.php
(#73) Phpdocs for function moodle1_mod_hsuforum_handler::process_hsuforum has incomplete parameters list
(#44) Inline phpdocs tag {@link convert_path} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#44) Inline phpdocs tag {@link convert_path} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/hsuforum/backup/moodle2/restore_hsuforum_activity_task.class.php
(#37) Phpdocs for function restore_hsuforum_activity_task::get_comment_mapping_itemname has incomplete parameters list
(#112) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#114) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#148) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#150) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/hsuforum/classes/attachments.php
(#93) Phpdocs for function attachments::get_all_attachments has incomplete parameters list
(#106) Phpdocs for function attachments::get_attachments has incomplete parameters list
(#154) Phpdocs for function attachments::delete_attachments has incomplete parameters list
mod/hsuforum/classes/controller/router.php
(#80) Phpdocs for function router::route_action has incomplete parameters list
mod/hsuforum/classes/form/export_form.php
(#154) Phpdocs for function export_form::get_fullname has incomplete parameters list
mod/hsuforum/classes/local.php
(#26) Phpdocs for function local::cached_has_capability has incomplete parameters list
(#53) Phpdocs for function local::shorten_post_name has incomplete parameters list
mod/hsuforum/classes/message/inbound/reply_handler.php
(#67) Phpdocs for function reply_handler::process_message has incomplete parameters list
mod/hsuforum/classes/output/big_search_form.php
(#62) Phpdocs for function big_search_form::__construct has incomplete parameters list
mod/hsuforum/classes/output/hsuforum_post.php
(#136) Phpdocs for function hsuforum_post::export_for_template has incomplete parameters list
mod/hsuforum/classes/privacy/provider.php
(#59) Phpdocs for function provider::get_metadata has incomplete parameters list
(#584) Phpdocs for function provider::export_grade_data has incomplete parameters list
(#656) Phpdocs for function provider::export_all_posts_in_discussion has incomplete parameters list
(#725) Phpdocs for function provider::export_posts_in_structure has incomplete parameters list
(#752) Phpdocs for function provider::export_post_data has incomplete parameters list
(#857) Phpdocs for function provider::export_discussion_subscription_data has incomplete parameters list
(#893) Phpdocs for function provider::export_tracking_data has incomplete parameters list
(#913) Phpdocs for function provider::export_read_data has incomplete parameters list
mod/hsuforum/classes/renderables/advanced_editor.php
(#51) Phpdocs for function advanced_editor::get_data has incomplete parameters list
mod/hsuforum/classes/service/discussion_service.php
(#63) Phpdocs for function discussion_service::handle_add_discussion has incomplete parameters list
(#153) Phpdocs for function discussion_service::validate_discussion has incomplete parameters list
(#255) Phpdocs for function discussion_service::get_posts has incomplete parameters list
(#294) Phpdocs for function discussion_service::render_discussion has incomplete parameters list
mod/hsuforum/classes/service/form_service.php
(#183) Phpdocs for function form_service::edit_post_form has incomplete parameters list
(#112) Inline phpdocs tag {@link file_storage::search_references()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#113) Inline phpdocs tag {@link file_storage::search_references_count()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/hsuforum/classes/subscriptions.php
(#95) Phpdocs for function subscriptions::is_subscribed has incomplete parameters list
mod/hsuforum/classes/upload_file.php
(#81) Phpdocs for function upload_file::__construct has incomplete parameters list
(#115) Phpdocs for function upload_file::process_file_upload has incomplete parameters list
(#151) Phpdocs for function upload_file::validate_files has incomplete parameters list
mod/hsuforum/discuss.php
(#100) Found comment starting with three or more slashes
(#234) Found comment starting with three or more slashes
(#235) Found comment starting with three or more slashes
(#236) Found comment starting with three or more slashes
mod/hsuforum/index.php
(#175) Found comment starting with three or more slashes
(#300) Found comment starting with three or more slashes
(#383) Found comment starting with three or more slashes
mod/hsuforum/lib.php
(#31) Found comment starting with three or more slashes
(#76) Found comment starting with three or more slashes
(#972) Found comment starting with three or more slashes
(#1198) Found comment starting with three or more slashes
(#2106) Found comment starting with three or more slashes
(#2113) Found comment starting with three or more slashes
(#2121) Found comment starting with three or more slashes
(#2815) Found comment starting with three or more slashes
(#2854) Found comment starting with three or more slashes
(#3991) Found comment starting with three or more slashes
(#3993) Found comment starting with three or more slashes
(#6977) Found comment starting with three or more slashes
(#172) Phpdocs for function hsuforum_update_instance has incomplete parameters list
(#1283) Phpdocs for function hsuforum_user_complete has incomplete parameters list
(#1620) Phpdocs for function hsuforum_recent_activity has incomplete parameters list
(#1693) Phpdocs for function hsuforum_media_object has incomplete parameters list
(#1714) Phpdocs for function hsuforum_get_user_formatted_rating_grade has incomplete parameters list
(#1926) Phpdocs for function hsuforum_scale_used_anywhere has incomplete parameters list
(#1968) Phpdocs for function hsuforum_get_all_discussion_posts has incomplete parameters list
(#2045) Phpdocs for function hsuforum_get_readable_forums has incomplete parameters list
(#2151) Phpdocs for function hsuforum_search_posts has incomplete parameters list
(#2457) Phpdocs for function hsuforum_get_user_posts has incomplete parameters list
(#2498) Phpdocs for function hsuforum_get_users_with_posts has incomplete parameters list
(#2622) Phpdocs for function hsuforum_get_firstpost_from_discussion has incomplete parameters list
(#2788) Phpdocs for function hsuforum_get_discussions has incomplete parameters list
(#3605) Phpdocs for function hsuforum_rating_permissions has incomplete parameters list
(#3735) Phpdocs for function hsuforum_search_form has incomplete parameters list
(#4366) Phpdocs for function hsuforum_add_discussion has incomplete parameters list
(#5017) Phpdocs for function hsuforum_get_subscribe_link has incomplete parameters list
(#5427) Phpdocs for function hsuforum_user_can_see_post has incomplete parameters list
(#5534) Phpdocs for function hsuforum_print_latest_discussions has incomplete parameters list
(#5870) Phpdocs for function hsuforum_get_recent_mod_activity has incomplete parameters list
(#6805) Phpdocs for function hsuforum_reset_userdata has incomplete parameters list
(#6991) Phpdocs for function hsuforum_reset_course_form_definition has incomplete parameters list
(#7020) Phpdocs for function hsuforum_reset_course_form_defaults has incomplete parameters list
(#7079) Phpdocs for function hsuforum_extend_settings_navigation has incomplete parameters list
(#7427) Phpdocs for function hsuforum_potential_subscriber_selector::set_force_subscribed has incomplete parameters list
(#7920) Phpdocs for function hsuforum_extract_postuser has incomplete parameters list
(#8040) Phpdocs for function hsuforum_is_anonymous_user has incomplete parameters list
(#8057) Phpdocs for function hsuforum_get_cm_forum has incomplete parameters list
(#8075) Phpdocs for function hsuforum_word_count has incomplete parameters list
(#8086) Phpdocs for function hsuforum_get_cm_course has incomplete parameters list
(#8213) Phpdocs for function hsuforum_forum_comments_pluginfile has incomplete parameters list
(#8420) Phpdocs for function hsuforum_simpler_time has incomplete parameters list
(#8808) Phpdocs for function hsuforum_change_format has incomplete parameters list
mod/hsuforum/lib/discussion/sort.php
(#208) Phpdocs for function hsuforum_lib_discussion_sort::disable has incomplete parameters list
(#256) Phpdocs for function hsuforum_lib_discussion_sort::__unserialize has incomplete parameters list
mod/hsuforum/lib/discussion/subscribe.php
(#65) Phpdocs for function hsuforum_lib_discussion_subscribe::__construct has incomplete parameters list
mod/hsuforum/locallib.php
(#288) Phpdocs for function hsuforum_portfolio_caller::prepare_post has incomplete parameters list
(#500) Phpdocs for function hsuforum_file_info_container::get_filtered_children has incomplete parameters list
(#549) Phpdocs for function hsuforum_file_info_container::get_non_empty_children has incomplete parameters list
(#560) Phpdocs for function hsuforum_file_info_container::count_non_empty_children has incomplete parameters list
(#248) Inline phpdocs tag {@link prepare_post} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/hsuforum/mod_form.php
(#27) Found comment starting with three or more slashes
mod/hsuforum/renderer.php
(#158) Found comment starting with three or more slashes
(#49) Phpdocs for function mod_hsuforum_renderer::view has incomplete parameters list
(#312) Phpdocs for function mod_hsuforum_renderer::discussion has incomplete parameters list
(#460) Phpdocs for function mod_hsuforum_renderer::post has incomplete parameters list
(#957) Phpdocs for function mod_hsuforum_renderer::render_hsuforum_post_email has incomplete parameters list
(#1018) Phpdocs for function mod_hsuforum_renderer::post_get_flags has incomplete parameters list
(#1116) Phpdocs for function mod_hsuforum_renderer::toggle_element has incomplete parameters list
(#1195) Phpdocs for function mod_hsuforum_renderer::discussion_sorting has incomplete parameters list
(#1231) Phpdocs for function mod_hsuforum_renderer::post_message has incomplete parameters list
(#1303) Phpdocs for function mod_hsuforum_renderer::user_posts_overview has incomplete parameters list
(#1941) Phpdocs for function mod_hsuforum_renderer::render_advanced_editor has incomplete parameters list
mod/hsuforum/repository/discussion.php
(#47) Phpdocs for function hsuforum_repository_discussion::get_unsubscribed_users has incomplete parameters list
mod/hsuforum/rsslib.php
(#99) Found comment starting with three or more slashes
(#157) Found comment starting with three or more slashes
mod/hsuforum/search.php
(#152) Found comment starting with three or more slashes
mod/hsuforum/tests/behat/behat_mod_hsuforum.php
(#69) Phpdocs for function behat_mod_hsuforum::i_reply_post_from_forum_with has incomplete parameters list
(#214) Phpdocs for function behat_mod_hsuforum::add_inline_discussions has incomplete parameters list
(#313) Phpdocs for function behat_mod_hsuforum::image_exists has incomplete parameters list
(#326) Phpdocs for function behat_mod_hsuforum::i_find_and_switch_to_iframe has incomplete parameters list
mod/hsuforum/tests/helper.php
(#60) Phpdocs for function helper_hsuforums::helper_post_to_forum has incomplete parameters list
(#125) Phpdocs for function helper_hsuforums::helper_reply_to_post has incomplete parameters list
mod/hsuforum/tests/lib_test.php
(#2189) Phpdocs for function mod_hsuforum_lib_testcase::test_print_overview_timed has incomplete parameters list
(#2244) Phpdocs for function mod_hsuforum_lib_testcase::test_print_overview_timed_groups has incomplete parameters list
(#2630) Phpdocs for function mod_hsuforum_lib_testcase::test_forum_get_unmailed_posts has incomplete parameters list
(#3051) Inline phpdocs tag {@link hsuforum_update_post()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/hsuforum/tests/mail_test.php
(#96) Phpdocs for function mod_hsuforum_mail_testcase::helper_create_users has incomplete parameters list
(#114) Phpdocs for function mod_hsuforum_mail_testcase::helper_post_to_forum has incomplete parameters list
(#198) Phpdocs for function mod_hsuforum_mail_testcase::helper_run_cron_check_count has incomplete parameters list
(#228) Phpdocs for function mod_hsuforum_mail_testcase::helper_run_cron_check_counts has incomplete parameters list
mod/hsuforum/tests/privacy_provider_test.php
(#61) Phpdocs for function mod_hsuforum_privacy_provider_testcase::assert_forum_data has incomplete parameters list
(#69) Phpdocs for function mod_hsuforum_privacy_provider_testcase::assert_discussion_data has incomplete parameters list
(#91) Phpdocs for function mod_hsuforum_privacy_provider_testcase::assert_post_data has incomplete parameters list
mod/hsuforum/view.php
(#84) Found comment starting with three or more slashes
(#90) Found comment starting with three or more slashes

Update savepoints problems

(0 errors, 0 warnings)

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


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, 0 warnings)

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

Problems running grunt shifter

shifter problems

(2 errors, 0 warnings)

This section shows problems detected by shifter [More info]

mod/hsuforum/yui/src/io/js/io.js
contains 2 lint errors
mod/hsuforum/yui/src/article/js/article.js
contains 5 lint errors

Mustache template problems

(1 errors, 23 warnings)

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

mod/hsuforum/templates/hsuforum_post_email_htmlemail.mustache
(#1) HTML Validation error, line 12: The “cellpadding” attribute on the “table” element is obsolete. Use CSS instead. (></div><table border="0" cellpadding="3" cellspacing="0" class="forumpost"> <)
(#1) HTML Validation error, line 12: The “cellspacing” attribute on the “table” element is obsolete. Use CSS instead. (></div><table border="0" cellpadding="3" cellspacing="0" class="forumpost"> <)
(#1) HTML Validation error, line 12: The “border” attribute on the “table” element is obsolete. Use CSS instead. (></div><table border="0" cellpadding="3" cellspacing="0" class="forumpost"> <)
(#1) HTML Validation error, line 14: The “width” attribute on the “td” element is obsolete. Use CSS instead. (="header"> <td width="35" valign="top" class="picture left"> )
(#1) HTML Validation error, line 14: The “valign” attribute on the “td” element is obsolete. Use CSS instead. (="header"> <td width="35" valign="top" class="picture left"> )
(#1) HTML Validation info, line 15: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (course=6"><img src="https://example.com/theme/image.php?theme=clean&amp;component=core&amp;image=u%2Ff2&amp;svg=0" alt="Picture of Admin User" title="Picture of Admin User" class="userpicture defaultuserpic" width="35" height="35" /></a> )
(#1) HTML Validation error, line 27: The “valign” attribute on the “td” element is obsolete. Use CSS instead. (> <tr> <td class="left side" valign="top"> )
(#1) HTML Validation info, line 31: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (st.</p><p><br /></p>)
(#1) HTML Validation info, line 48: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (</table><hr /><div )
mod/hsuforum/templates/hsuforum_post_email_htmlemail_body.mustache
(#1) HTML Validation error, line 2: The “cellpadding” attribute on the “table” element is obsolete. Use CSS instead. (ad><body><table border="0" cellpadding="3" cellspacing="0" class="forumpost"> <)
(#1) HTML Validation error, line 2: The “cellspacing” attribute on the “table” element is obsolete. Use CSS instead. (ad><body><table border="0" cellpadding="3" cellspacing="0" class="forumpost"> <)
(#1) HTML Validation error, line 2: The “border” attribute on the “table” element is obsolete. Use CSS instead. (ad><body><table border="0" cellpadding="3" cellspacing="0" class="forumpost"> <)
(#1) HTML Validation error, line 4: The “width” attribute on the “td” element is obsolete. Use CSS instead. (="header"> <td width="35" valign="top" class="picture left"> )
(#1) HTML Validation error, line 4: The “valign” attribute on the “td” element is obsolete. Use CSS instead. (="header"> <td width="35" valign="top" class="picture left"> )
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (course=6"><img src="https://example.com/theme/image.php?theme=clean&amp;component=core&amp;image=u%2Ff2&amp;svg=0" alt="Picture of Admin User" title="Picture of Admin User" class="userpicture defaultuserpic" width="35" height="35" /></a> )
(#1) HTML Validation error, line 17: The “valign” attribute on the “td” element is obsolete. Use CSS instead. (> <tr> <td class="left side" valign="top"> )
(#1) HTML Validation info, line 21: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (st.</p><p><br /></p>)
mod/hsuforum/templates/hsuforum_post_email_textemail.mustache
(#1) Example context missing.
mod/hsuforum/templates/hsuforum_post_emaildigestbasic_htmlemail.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
mod/hsuforum/templates/hsuforum_post_emaildigestbasic_textemail.mustache
(#1) Example context missing.
mod/hsuforum/templates/hsuforum_post_emaildigestfull_htmlemail.mustache
(#1) HTML Validation error, line 2: The “cellpadding” attribute on the “table” element is obsolete. Use CSS instead. (ad><body><table border="0" cellpadding="3" cellspacing="0" class="forumpost"> <)
(#1) HTML Validation error, line 2: The “cellspacing” attribute on the “table” element is obsolete. Use CSS instead. (ad><body><table border="0" cellpadding="3" cellspacing="0" class="forumpost"> <)
(#1) HTML Validation error, line 2: The “border” attribute on the “table” element is obsolete. Use CSS instead. (ad><body><table border="0" cellpadding="3" cellspacing="0" class="forumpost"> <)
(#1) HTML Validation error, line 4: The “width” attribute on the “td” element is obsolete. Use CSS instead. (="header"> <td width="35" valign="top" class="picture left"> )
(#1) HTML Validation error, line 4: The “valign” attribute on the “td” element is obsolete. Use CSS instead. (="header"> <td width="35" valign="top" class="picture left"> )
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (course=6"><img src="https://example.com/theme/image.php?theme=clean&amp;component=core&amp;image=u%2Ff2&amp;svg=0" alt="Picture of Admin User" title="Picture of Admin User" class="userpicture defaultuserpic" width="35" height="35" /></a> )
(#1) HTML Validation error, line 17: The “valign” attribute on the “td” element is obsolete. Use CSS instead. (> <tr> <td class="left side" valign="top"> )
(#1) HTML Validation info, line 21: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (st.</p><p><br /></p>)
mod/hsuforum/templates/hsuforum_post_emaildigestfull_textemail.mustache
(#1) Example context missing.
mod/hsuforum/templates/quick_search_form.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 3: Bad value “” for attribute “action” on element “form”: Must be non-empty. (rch"> <form action="" style="display: inline;"> )

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]