Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(1978 errors, 3618 warnings)

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

mod/hsuforum/backup/moodle1/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#54) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Inline comments must start with a capital letter, digit or 3-dots sequence
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#119) Inline comments must start with a capital letter, digit or 3-dots sequence
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) Inline comments must start with a capital letter, digit or 3-dots sequence
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Short array syntax must be used to define arrays
mod/hsuforum/backup/moodle2/backup_hsuforum_activity_task.class.php
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) No one-line description found in phpdocs for docblock of function get_comment_file_annotation_info
(#57) Short array syntax must be used to define arrays
(#69) The static declaration must come after the visibility declaration
(#72) Commas (,) must be followed by white space.
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Expected 1 space before "="; 0 found
(#75) Expected 1 space after "="; 0 found
(#76) Expected 1 space before "="; 0 found
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Expected 1 space before "="; 0 found
(#79) Expected 1 space after "="; 0 found
(#80) Expected 1 space before "="; 0 found
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Expected 1 space before "="; 0 found
(#83) Expected 1 space after "="; 0 found
(#84) Expected 1 space before "="; 0 found
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Expected 1 space before "="; 0 found
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Expected 1 space before "="; 0 found
(#91) Expected 1 space after "="; 0 found
(#92) Expected 1 space before "="; 0 found
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Expected 1 space before "="; 0 found
(#95) Expected 1 space after "="; 0 found
(#96) 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
(#28) 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
(#35) Missing docblock for function define_structure
(#37) 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
(#42) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#63) 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
(#70) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#79) 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
(#89) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Short array syntax must be used to define arrays
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#150) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#165) Short array syntax must be used to define arrays
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) 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
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) No one-line description found in phpdocs for docblock of function get_comment_file_annotation_info
(#52) Short array syntax must be used to define arrays
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) The static declaration must come after the visibility declaration
(#78) 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
(#90) The static declaration must come after the visibility declaration
(#91) Short array syntax must be used to define arrays
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#115) The static declaration must come after the visibility declaration
(#116) Short array syntax must be used to define arrays
(#130) Line exceeds 132 characters; contains 134 characters
(#131) Line exceeds 132 characters; contains 135 characters
(#132) Line exceeds 132 characters; contains 135 characters
(#136) Line exceeds 132 characters; contains 145 characters
(#137) Line exceeds 132 characters; contains 165 characters
(#138) Line exceeds 132 characters; contains 148 characters
(#155) The static declaration must come after the visibility declaration
(#156) 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
(#35) Missing docblock for function define_structure
(#36) Short array syntax must be used to define arrays
(#42) Line exceeds 132 characters; contains 168 characters
(#45) Line exceeds 132 characters; contains 138 characters
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Missing docblock for function process_hsuforum
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Missing docblock for function process_hsuforum_discussion
(#110) Missing docblock for function process_hsuforum_discussion_subscription
(#122) Missing docblock for function process_hsuforum_post
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Short array syntax must be used to define arrays
(#145) Missing docblock for function process_hsuforum_tag
(#162) Missing docblock for function process_hsuforum_rating
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) Missing docblock for function process_hsuforum_subscription
(#198) Short array syntax must be used to define arrays
(#207) Missing docblock for function process_hsuforum_digest
(#219) Missing docblock for function process_hsuforum_read
(#233) Missing docblock for function process_hsuforum_track
(#245) Missing docblock for function after_execute
(#246) Inline comments must end in full-stops, exclamation marks, or question marks
(#249) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) Missing docblock for function after_restore
(#261) Short array syntax must be used to define arrays
(#262) Whitespace found at end of line
(#263) Short array syntax must be used to define arrays
(#264) Inline comments must end in full-stops, exclamation marks, or question marks
(#276) Inline comments must end in full-stops, exclamation marks, or question marks
(#277) Commas (,) must be followed by white space.
(#277) Short array syntax must be used to define arrays
(#278) Inline comments must end in full-stops, exclamation marks, or question marks
(#284) 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
(#169) Short array syntax must be used to define arrays
(#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
(#261) Short array syntax must be used to define arrays
(#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
(#58) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $renderer.
(#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
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.
(#72) Short array syntax must be used to define arrays
(#72) Line exceeds 132 characters; contains 133 characters
(#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/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
(#59) Missing docblock for function get_objectid_mapping
(#60) 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
(#102) 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
(#100) Missing docblock for function get_objectid_mapping
(#101) Short array syntax must be used to define arrays
(#104) Missing docblock for function get_other_mapping
(#105) Short array syntax must be used to define arrays
(#106) 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
(#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_moved.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#81) Short array syntax must be used to define arrays
(#105) Missing docblock for function get_objectid_mapping
(#106) Short array syntax must be used to define arrays
(#109) Missing docblock for function get_other_mapping
(#110) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
mod/hsuforum/classes/event/discussion_pinned.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#70) Short array syntax must be used to define arrays
(#98) 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
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
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#70) Short array syntax must be used to define arrays
(#98) 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
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
(#92) Missing docblock for function get_objectid_mapping
(#93) 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
(#120) Missing docblock for function get_objectid_mapping
(#121) Short array syntax must be used to define arrays
(#124) Missing docblock for function get_other_mapping
(#125) 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
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
(#119) Missing docblock for function get_objectid_mapping
(#120) Short array syntax must be used to define arrays
(#123) Missing docblock for function get_other_mapping
(#124) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#126) 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
(#120) Missing docblock for function get_objectid_mapping
(#121) Short array syntax must be used to define arrays
(#124) Missing docblock for function get_other_mapping
(#125) 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
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
(#104) Missing docblock for function get_other_mapping
(#105) Short array syntax must be used to define arrays
(#106) 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
(#104) Missing docblock for function get_other_mapping
(#105) Short array syntax must be used to define arrays
(#106) 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
(#101) Missing docblock for function get_other_mapping
(#102) Short array syntax must be used to define arrays
(#103) 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
(#105) Missing docblock for function get_objectid_mapping
(#106) Short array syntax must be used to define arrays
(#109) Missing docblock for function get_other_mapping
(#110) Short array syntax must be used to define arrays
(#111) 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
(#105) Missing docblock for function get_objectid_mapping
(#106) Short array syntax must be used to define arrays
(#109) Missing docblock for function get_other_mapping
(#110) Short array syntax must be used to define arrays
(#111) 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
(#119) 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/forum_gradeitem.php
(#17) Missing @copyright tag
(#166) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $grader.
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/local/builders/exported_discussion.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/builders/exported_discussion_summaries.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#176) Short array syntax must be used to define arrays
mod/hsuforum/classes/local/builders/exported_posts.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#246) There should be a comma after the last array item in a multi-line array.
(#295) There should be a comma after the last array item in a multi-line array.
(#333) There should be a comma after the last array item in a multi-line array.
(#379) There should be a comma after the last array item in a multi-line array.
(#458) There should be a comma after the last array item in a multi-line array.
(#483) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/container.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/data_mappers/legacy/author.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#57) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/data_mappers/legacy/discussion.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#59) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/data_mappers/legacy/forum.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#74) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/data_mappers/legacy/post.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/entities/author.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#82) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $middlename.
(#83) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $firstnamephonetic.
(#84) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $lastnamephonetic.
(#85) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $alternatename.
(#86) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $imagealt.
mod/hsuforum/classes/local/entities/discussion.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/entities/discussion_summary.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/entities/forum.php
(#17) Missing @copyright tag
mod/hsuforum/classes/local/entities/post.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/entities/post_read_receipt_collection.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/entities/sorter.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#128) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/exporters/author.php
(#17) Missing @copyright tag
(#85) There should be a comma after the last array item in a multi-line array.
(#91) There should be a comma after the last array item in a multi-line array.
(#97) There should be a comma after the last array item in a multi-line array.
(#111) There should be a comma after the last array item in a multi-line array.
(#112) There should be a comma after the last array item in a multi-line array.
(#113) There should be a comma after the last array item in a multi-line array.
(#114) There should be a comma after the last array item in a multi-line array.
(#115) There should be a comma after the last array item in a multi-line array.
(#124) 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.
(#133) There should be a comma after the last array item in a multi-line array.
(#134) There should be a comma after the last array item in a multi-line array.
(#160) There should be a comma after the last array item in a multi-line array.
(#161) There should be a comma after the last array item in a multi-line array.
(#177) There should be a comma after the last array item in a multi-line array.
(#179) There should be a comma after the last array item in a multi-line array.
(#190) There should be a comma after the last array item in a multi-line array.
(#191) There should be a comma after the last array item in a multi-line array.
(#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.
mod/hsuforum/classes/local/exporters/discussion.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#109) There should be a comma after the last array item in a multi-line array.
(#110) There should be a comma after the last array item in a multi-line array.
(#117) There should be a comma after the last array item in a multi-line array.
(#137) 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.
(#144) There should be a comma after the last array item in a multi-line array.
(#145) There should be a comma after the last array item in a multi-line array.
(#146) There should be a comma after the last array item in a multi-line array.
(#205) There should be a comma after the last array item in a multi-line array.
(#212) There should be a comma after the last array item in a multi-line array.
(#224) There should be a comma after the last array item in a multi-line array.
(#224) Line exceeds 132 characters; contains 137 characters
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) There should be a comma after the last array item in a multi-line array.
(#231) There should be a comma after the last array item in a multi-line array.
(#282) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/exporters/discussion_summaries.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#104) There should be a comma after the last array item in a multi-line array.
(#168) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/exporters/forum.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#80) There should be a comma after the last array item in a multi-line array.
(#123) There should be a comma after the last array item in a multi-line array.
(#179) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/exporters/group.php
(#17) Missing @copyright tag
(#65) There should be a comma after the last array item in a multi-line array.
(#74) There should be a comma after the last array item in a multi-line array.
(#75) There should be a comma after the last array item in a multi-line array.
(#91) There should be a comma after the last array item in a multi-line array.
(#92) There should be a comma after the last array item in a multi-line array.
(#104) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/exporters/post.php
(#17) Missing @copyright tag
(#75) 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.
(#77) There should be a comma after the last array item in a multi-line array.
(#86) 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.
(#104) There should be a comma after the last array item in a multi-line array.
(#109) There should be a comma after the last array item in a multi-line array.
(#114) There should be a comma after the last array item in a multi-line array.
(#120) There should be a comma after the last array item in a multi-line array.
(#129) There should be a comma after the last array item in a multi-line array.
(#135) There should be a comma after the last array item in a multi-line array.
(#183) There should be a comma after the last array item in a multi-line array.
(#184) There should be a comma after the last array item in a multi-line array.
(#196) There should be a comma after the last array item in a multi-line array.
(#203) There should be a comma after the last array item in a multi-line array.
(#210) There should be a comma after the last array item in a multi-line array.
(#217) There should be a comma after the last array item in a multi-line array.
(#224) 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.
(#239) There should be a comma after the last array item in a multi-line array.
(#246) There should be a comma after the last array item in a multi-line array.
(#253) There should be a comma after the last array item in a multi-line array.
(#260) There should be a comma after the last array item in a multi-line array.
(#266) There should be a comma after the last array item in a multi-line array.
(#267) There should be a comma after the last array item in a multi-line array.
(#268) There should be a comma after the last array item in a multi-line array.
(#272) There should be a comma after the last array item in a multi-line array.
(#319) There should be a comma after the last array item in a multi-line array.
(#320) There should be a comma after the last array item in a multi-line array.
(#321) 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.
(#350) There should be a comma after the last array item in a multi-line array.
(#470) There should be a comma after the last array item in a multi-line array.
(#492) There should be a comma after the last array item in a multi-line array.
(#493) There should be a comma after the last array item in a multi-line array.
(#518) There should be a comma after the last array item in a multi-line array.
(#535) There should be a comma after the last array item in a multi-line array.
(#536) There should be a comma after the last array item in a multi-line array.
(#559) There should be a comma after the last array item in a multi-line array.
(#606) There should be a comma after the last array item in a multi-line array.
(#613) There should be a comma after the last array item in a multi-line array.
(#616) There should be a comma after the last array item in a multi-line array.
(#663) There should be a comma after the last array item in a multi-line array.
(#664) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/exporters/posts.php
(#17) Missing @copyright tag
(#103) There should be a comma after the last array item in a multi-line array.
(#104) There should be a comma after the last array item in a multi-line array.
(#151) There should be a comma after the last array item in a multi-line array.
(#159) There should be a comma after the last array item in a multi-line array.
(#177) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/factories/builder.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/factories/entity.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/factories/exporter.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#141) There should be a comma after the last array item in a multi-line array.
(#198) There should be a comma after the last array item in a multi-line array.
(#239) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $readreceiptcollection.
(#261) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/factories/legacy_data_mapper.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/factories/manager.php
(#17) Missing @copyright tag
mod/hsuforum/classes/local/factories/renderer.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#176) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $displaymode.
(#612) Short array syntax must be used to define arrays
mod/hsuforum/classes/local/factories/url.php
(#17) Missing @copyright tag
(#139) There should be a comma after the last array item in a multi-line array.
(#252) There should be a comma after the last array item in a multi-line array.
(#256) There should be a comma after the last array item in a multi-line array.
(#269) There should be a comma after the last array item in a multi-line array.
(#281) There should be a comma after the last array item in a multi-line array.
(#293) There should be a comma after the last array item in a multi-line array.
(#330) There should be a comma after the last array item in a multi-line array.
(#351) Line exceeds 132 characters; contains 133 characters
(#355) There should be a comma after the last array item in a multi-line array.
(#401) There should be a comma after the last array item in a multi-line array.
(#416) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $authorcontextid.
(#439) There should be a comma after the last array item in a multi-line array.
(#487) There should be a comma after the last array item in a multi-line array.
(#502) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/factories/vault.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/managers/capability.php
(#17) Missing @copyright tag
(#109) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $groupid.
(#110) Logical operator "or" is prohibited; use "||" instead
(#120) Line exceeds 132 characters; contains 133 characters
(#691) Logical operator "or" is prohibited; use "||" instead
(#695) Logical operator "and" is prohibited; use "&&" instead
(#723) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $gradee.
mod/hsuforum/classes/local/renderers/discussion.php
(#17) Missing @copyright tag
(#140) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $postprocessfortemplate.
(#216) 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.
(#337) Logical operator "and" is prohibited; use "&&" instead
(#420) Object operator not indented correctly; expected 16 spaces but found 12
(#421) Object operator not indented correctly; expected 16 spaces but found 12
(#436) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/renderers/discussion_list.php
(#17) Missing @copyright tag
(#119) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $postprocessfortemplate.
(#159) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $displaymode.
(#212) There should be a comma after the last array item in a multi-line array.
(#298) 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.
(#312) Short array syntax must be used to define arrays
(#315) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#317) 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.
(#380) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/renderers/posts.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#59) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $postprocessfortemplate.
mod/hsuforum/classes/local/vaults/author.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#59) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $wheresql.
(#59) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $sortsql.
mod/hsuforum/classes/local/vaults/db_table_vault.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#76) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $wheresql.
(#76) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $sortsql.
mod/hsuforum/classes/local/vaults/discussion.php
(#17) Missing @copyright tag
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#65) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $wheresql.
(#65) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $sortsql.
(#96) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $sort.
mod/hsuforum/classes/local/vaults/discussion_list.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#113) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $wheresql.
(#148) There should be a comma after the last array item in a multi-line array.
(#171) There should be a comma after the last array item in a multi-line array.
(#194) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $wheresql.
mod/hsuforum/classes/local/vaults/forum.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#66) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $wheresql.
(#66) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $sortsql.
mod/hsuforum/classes/local/vaults/post.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#72) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $wheresql.
(#72) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $sortsql.
(#545) There should be a comma after the last array item in a multi-line array.
mod/hsuforum/classes/local/vaults/post_attachment.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/vaults/post_read_receipt_collection.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#63) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $wheresql.
(#63) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $sortsql.
mod/hsuforum/classes/local/vaults/preprocessors/extract_context.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/vaults/preprocessors/extract_record.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/hsuforum/classes/local/vaults/preprocessors/extract_user.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#70) File must end with a newline character
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
(#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
(#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
(#56) Missing member variable doc comment
(#77) There should be a comma after the last array item in a multi-line array.
(#172) Missing docblock for function export_for_template
(#192) Short array syntax must be used to define arrays
(#198) Short array syntax must be used to define arrays
(#204) 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
(#49) Short array syntax must be used to define arrays
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Short array syntax must be used to define arrays
(#72) Expected 1 space before "=>"; 0 found
(#73) Expected 1 space before "=>"; 0 found
(#83) Visibility must be declared on method "definition"
(#114) Line exceeds 132 characters; contains 163 characters
(#120) Line exceeds 132 characters; contains 149 characters
(#128) Short array syntax must be used to define arrays
(#134) Line indented incorrectly; expected 8 spaces, found 12
(#134) Closing brace indented incorrectly; expected 8 spaces, found 12
(#135) Line exceeds 132 characters; contains 150 characters
(#139) Line indented incorrectly; expected 8 spaces, found 12
(#142) Line exceeds 132 characters; contains 139 characters
(#156) Inline comments must start with a capital letter, digit or 3-dots sequence
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Line exceeds 132 characters; contains 135 characters
(#165) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#166) Line exceeds 132 characters; contains 145 characters
(#170) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#175) Short array syntax must be used to define arrays
(#227) Line exceeds 132 characters; contains 135 characters
(#233) Commas (,) must be followed by white space.
(#246) Line exceeds 132 characters; contains 151 characters
(#246) Inline comments must start with a capital letter, digit or 3-dots sequence
(#246) Inline comments must end in full-stops, exclamation marks, or question marks
(#249) Short array syntax must be used to define arrays
(#249) Line exceeds 132 characters; contains 133 characters
(#252) Short array syntax must be used to define arrays
(#260) Short array syntax must be used to define arrays
(#260) Expected 1 space before "=>"; 0 found
(#260) Expected 1 space before "=>"; 0 found
(#260) Expected 1 space after "=>"; 0 found
(#267) Short array syntax must be used to define arrays
(#270) Inline comments must start with a capital letter, digit or 3-dots sequence
(#270) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#272) Inline comments must start with a capital letter, digit or 3-dots sequence
(#272) Inline comments must end in full-stops, exclamation marks, or question marks
(#273) Variable "submit_string" must not contain underscores.
(#275) Variable "submit_string" must not contain underscores.
(#277) Variable "submit_string" must not contain underscores.
(#310) Visibility must be declared on method "validation"
(#312) Expected 1 space before "!="; 0 found
(#312) Expected 1 space after "!="; 0 found
(#312) Expected 1 space before "!="; 0 found
(#312) 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."
(#158) There must not be a space before the colon in a return type declaration
(#267) Expected 1 space before opening brace; found 2
(#400) Line exceeds 132 characters; contains 152 characters
(#452) Whitespace found at end of line within string
(#536) Whitespace found at end of line within string
(#571) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#619) Invalid docblock tag "@params".
(#801) Line exceeds 132 characters; contains 135 characters
(#808) Line exceeds 132 characters; contains 139 characters
(#882) Short array syntax must be used to define arrays
(#882) Line exceeds 132 characters; contains 141 characters
(#998) 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.
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
(#62) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $context.
(#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
(#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
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
(#51) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $db.
(#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
(#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) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $options.
(#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
(#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 "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
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
(#56) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $discussionservice.
(#56) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $db.
(#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
(#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
(#396) Short array syntax must be used to define arrays
(#399) Short array syntax must be used to define arrays
(#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
(#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
(#57) 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
(#74) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#156) Expected 1 space after "=>"; 2 found
(#159) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#173) Short array syntax must be used to define arrays
(#176) There should be a comma after the last array item in a multi-line array.
(#177) There should be a comma after the last array item in a multi-line array.
(#180) Short array syntax must be used to define arrays
(#183) Short array syntax must be used to define arrays
(#186) There should be a comma after the last array item in a multi-line array.
(#187) There should be a comma after the last array item in a multi-line array.
(#190) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#204) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#231) Short array syntax must be used to define arrays
(#238) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
(#253) Short array syntax must be used to define arrays
(#260) Short array syntax must be used to define arrays
(#266) Short array syntax must be used to define arrays
(#273) Short array syntax must be used to define arrays
(#277) Short array syntax must be used to define arrays
(#285) Short array syntax must be used to define arrays
(#289) Short array syntax must be used to define arrays
(#296) Short array syntax must be used to define arrays
(#300) Short array syntax must be used to define arrays
(#307) Short array syntax must be used to define arrays
(#313) Short array syntax must be used to define arrays
(#320) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#333) Short array syntax must be used to define arrays
(#339) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#357) Short array syntax must be used to define arrays
(#363) Short array syntax must be used to define arrays
(#370) Short array syntax must be used to define arrays
(#376) Short array syntax must be used to define arrays
(#383) Short array syntax must be used to define arrays
(#389) Short array syntax must be used to define arrays
(#398) Expected 1 space before "=>"; 0 found
(#398) Short array syntax must be used to define arrays
(#402) Short array syntax must be used to define arrays
(#411) Short array syntax must be used to define arrays
(#415) Short array syntax must be used to define arrays
(#422) Short array syntax must be used to define arrays
(#426) Short array syntax must be used to define arrays
(#433) Short array syntax must be used to define arrays
(#437) Short array syntax must be used to define arrays
(#443) Short array syntax must be used to define arrays
(#446) Short array syntax must be used to define arrays
(#452) Short array syntax must be used to define arrays
(#455) Short array syntax must be used to define arrays
(#458) There should be a comma after the last array item in a multi-line array.
(#460) 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
(#466) There should be a comma after the last array item in a multi-line array.
(#467) 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
(#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
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#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
(#38) Line exceeds 132 characters; contains 138 characters
(#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
(#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
(#46) 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
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#33) 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
(#39) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#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
(#79) 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
(#96) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
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
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
(#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
(#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
(#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
(#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
(#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
(#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
(#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
(#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
(#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
(#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
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) Missing docblock for class mod_hsuforum_external
(#48) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#137) Line exceeds 132 characters; contains 151 characters
(#167) Line exceeds 132 characters; contains 135 characters
(#169) Line exceeds 132 characters; contains 137 characters
(#185) 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
(#208) Short array syntax must be used to define arrays
(#214) 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
(#248) Short array syntax must be used to define arrays
(#269) Short array syntax must be used to define arrays
(#293) Short array syntax must be used to define arrays
(#303) Line exceeds 132 characters; contains 135 characters
(#317) Short array syntax must be used to define arrays
(#332) Short array syntax must be used to define arrays
(#335) Short array syntax must be used to define arrays
(#375) Short array syntax must be used to define arrays
(#404) Short array syntax must be used to define arrays
(#405) Short array syntax must be used to define arrays
(#408) Short array syntax must be used to define arrays
(#424) Short array syntax must be used to define arrays
(#431) Short array syntax must be used to define arrays
(#437) Short array syntax must be used to define arrays
(#438) Short array syntax must be used to define arrays
(#446) Short array syntax must be used to define arrays
(#447) Short array syntax must be used to define arrays
(#448) Short array syntax must be used to define arrays
(#479) Short array syntax must be used to define arrays
(#556) Short array syntax must be used to define arrays
(#571) Short array syntax must be used to define arrays
(#574) Short array syntax must be used to define arrays
(#622) Short array syntax must be used to define arrays
(#653) Short array syntax must be used to define arrays
(#654) Short array syntax must be used to define arrays
(#657) Short array syntax must be used to define arrays
(#662) There should be a comma after the last array item in a multi-line array.
(#676) Short array syntax must be used to define arrays
(#682) There should be a comma after the last array item in a multi-line array.
(#709) Short array syntax must be used to define arrays
(#736) Short array syntax must be used to define arrays
(#758) Short array syntax must be used to define arrays
(#796) Short array syntax must be used to define arrays
(#841) Short array syntax must be used to define arrays
(#856) Short array syntax must be used to define arrays
(#859) Short array syntax must be used to define arrays
(#897) There should be a comma after the last array item in a multi-line array.
(#914) There should be a comma after the last array item in a multi-line array.
(#969) There should be a comma after the last array item in a multi-line array.
(#982) Short array syntax must be used to define arrays
(#1001) 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
(#1008) Short array syntax must be used to define arrays
(#1019) Short array syntax must be used to define arrays
(#1033) Short array syntax must be used to define arrays
(#1048) Short array syntax must be used to define arrays
(#1067) Short array syntax must be used to define arrays
(#1070) Short array syntax must be used to define arrays
(#1072) Short array syntax must be used to define arrays
(#1073) Short array syntax must be used to define arrays
(#1087) Short array syntax must be used to define arrays
(#1101) Short array syntax must be used to define arrays
(#1116) Short array syntax must be used to define arrays
(#1123) Short array syntax must be used to define arrays
(#1134) Short array syntax must be used to define arrays
(#1150) Short array syntax must be used to define arrays
(#1155) Short array syntax must be used to define arrays
(#1162) Short array syntax must be used to define arrays
(#1168) Short array syntax must be used to define arrays
(#1173) Short array syntax must be used to define arrays
(#1180) Short array syntax must be used to define arrays
(#1243) Short array syntax must be used to define arrays
(#1246) Short array syntax must be used to define arrays
(#1271) Short array syntax must be used to define arrays
(#1285) 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
(#1319) Short array syntax must be used to define arrays
(#1336) Short array syntax must be used to define arrays
(#1341) Short array syntax must be used to define arrays
(#1349) Short array syntax must be used to define arrays
(#1352) Short array syntax must be used to define arrays
(#1359) Short array syntax must be used to define arrays
(#1444) Short array syntax must be used to define arrays
(#1447) Short array syntax must be used to define arrays
(#1468) Short array syntax must be used to define arrays
(#1482) Short array syntax must be used to define arrays
(#1497) Short array syntax must be used to define arrays
(#1519) Short array syntax must be used to define arrays
(#1523) Short array syntax must be used to define arrays
(#1526) Short array syntax must be used to define arrays
(#1534) Short array syntax must be used to define arrays
(#1550) Short array syntax must be used to define arrays
mod/hsuforum/index.php
(#1) No one-line description found in phpdocs for docblock of file index.php
(#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
(#35) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#81) Variable "digestoptions_selector" must not contain underscores.
(#82) Short array syntax must be used to define arrays
(#89) Variable "digestoptions_selector" must not contain underscores.
(#93) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#99) Variable "subscribed_forums" must not contain underscores.
(#101) Variable "can_subscribe" must not contain underscores.
(#102) Variable "can_subscribe" must not contain underscores.
(#110) Variable "show_rss" must not contain underscores.
(#110) Variable "can_subscribe" must not contain underscores.
(#131) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#139) Logical operator "or" is prohibited; use "||" instead
(#163) Logical operator "or" is prohibited; use "||" instead
(#166) Logical operator "or" is prohibited; use "||" instead
(#174) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) 3 slashes comments are not allowed; use "// Comment." instead
(#176) Expected 1 space before "=>"; 0 found
(#176) Expected 1 space after "=>"; 0 found
(#176) Expected 1 space before "=>"; 0 found
(#176) Expected 1 space after "=>"; 0 found
(#184) Expected "if (...) {\n"; found "if (...)\n {\n"
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#198) Short array syntax must be used to define arrays
(#199) Short array syntax must be used to define arrays
(#226) Line indented incorrectly; expected 8 spaces, found 9
(#226) Closing brace indented incorrectly; expected 8 spaces, found 9
(#228) Line indented incorrectly; expected 8 spaces, found 9
(#237) Commas (,) must be followed by white space.
(#240) Short array syntax must be used to define arrays
(#243) Short array syntax must be used to define arrays
(#250) Variable "show_rss" must not contain underscores.
(#252) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) No space found before comment text; expected "// Calculate the tooltip text" but found "//Calculate the tooltip text"
(#264) Inline comments must end in full-stops, exclamation marks, or question marks
(#264) No space found before comment text; expected "// Get html code for RSS link" but found "//Get html code for RSS link"
(#276) Inline comments must end in full-stops, exclamation marks, or question marks
(#278) Short array syntax must be used to define arrays
(#279) Short array syntax must be used to define arrays
(#292) Variable "show_rss" must not contain underscores.
(#292) Variable "can_subscribe" must not contain underscores.
(#299) Inline comments must end in full-stops, exclamation marks, or question marks
(#299) 3 slashes comments are not allowed; use "// Comment." instead
(#302) Inline comments must end in full-stops, exclamation marks, or question marks
(#304) Inline comments must end in full-stops, exclamation marks, or question marks
(#311) Line indented incorrectly; expected 8 spaces, found 12
(#318) Line indented incorrectly; expected 12 spaces, found 13
(#318) Closing brace indented incorrectly; expected 12 spaces, found 13
(#320) Line indented incorrectly; expected 12 spaces, found 13
(#334) Commas (,) must be followed by white space.
(#341) Commas (,) must be followed by white space.
(#344) Short array syntax must be used to define arrays
(#346) Variable "can_subscribe" must not contain underscores.
(#347) Short array syntax must be used to define arrays
(#349) Variable "subscribed_forums" must not contain underscores.
(#351) Variable "digestoptions_selector" must not contain underscores.
(#353) Variable "digestoptions_selector" must not contain underscores.
(#355) Variable "digestoptions_selector" must not contain underscores.
(#357) Variable "digestoptions_selector" must not contain underscores.
(#360) Inline comments must end in full-stops, exclamation marks, or question marks
(#360) 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"
(#361) Variable "show_rss" must not contain underscores.
(#363) Inline comments must end in full-stops, exclamation marks, or question marks
(#363) No space found before comment text; expected "// Calculate the tolltip text" but found "//Calculate the tolltip text"
(#369) Inline comments must end in full-stops, exclamation marks, or question marks
(#369) No space found before comment text; expected "// Get html code for RSS link" but found "//Get html code for RSS link"
(#377) Closing brace indented incorrectly; expected 12 spaces, found 8
(#382) Inline comments must end in full-stops, exclamation marks, or question marks
(#382) 3 slashes comments are not allowed; use "// Comment." instead
(#392) Short array syntax must be used to define arrays
(#392) Expected 1 space before "=>"; 0 found
(#392) Expected 1 space after "=>"; 0 found
(#392) Expected 1 space before "=>"; 0 found
(#392) Expected 1 space after "=>"; 0 found
(#392) Expected 1 space before "=>"; 0 found
(#392) Expected 1 space after "=>"; 0 found
(#394) Short array syntax must be used to define arrays
(#394) Expected 1 space before "=>"; 0 found
(#394) Expected 1 space after "=>"; 0 found
(#396) Short array syntax must be used to define arrays
(#396) Expected 1 space before "=>"; 0 found
(#396) Expected 1 space after "=>"; 0 found
(#396) Expected 1 space before "=>"; 0 found
(#396) Expected 1 space after "=>"; 0 found
(#396) Expected 1 space before "=>"; 0 found
(#396) Expected 1 space after "=>"; 0 found
(#398) Short array syntax must be used to define arrays
(#398) Expected 1 space before "=>"; 0 found
(#398) Expected 1 space after "=>"; 0 found
mod/hsuforum/lang/en/hsuforum.php
(#83) The string key "completiondetail:posts" is not in the correct order, it should be before "completiondetail:replies"
(#107) The string key "configrssarticlesdefault" is not in the correct order, it should be before "configrsstypedefault"
(#109) The string key "configshortpost" is not in the correct order, it should be before "configsubscriptiontype"
(#136) The string key "discussionlockingdisabled" is not in the correct order, it should be before "discussionlockingheader"
(#144) The string key "discussions" is not in the correct order, it should be before "discussionsplit"
(#165) The string key "eventdiscussiondeleted" is not in the correct order, it should be before "eventdiscussionupdated"
(#169) The string key "eventdiscussionpinned" is not in the correct order, it should be before "eventuserreportviewed"
(#179) The string key "emaildigestcompleteshort" is not in the correct order, it should be before "eventsubscriptiondeleted"
(#193) The string key "emaildigest_0" is not in the correct order, it should be before "emaildigestupdated_default"
(#201) The string key "errortimestartgreater" is not in the correct order, it should be before "errorwhiledelete"
(#215) The string key "forumauthorhidden" is not in the correct order, it should be before "hsuforum:allowforcesubscribe"
(#231) The string key "forumname" is not in the correct order, it should be before "hsuforum:postwithoutthrottling"
(#239) The string key "forums" is not in the correct order, it should be before "hsuforum:replypost"
(#242) The string key "forumsubjecthidden" is not in the correct order, it should be before "hsuforum:startdiscussion"
(#260) The string key "hsuforum:viewposters" is not in the correct order, it should be before "hsuforum:viewsubscribers"
(#261) The string key "hsuforum:allowprivate" is not in the correct order, it should be before "hsuforum:viewposters"
(#262) The string key "generalforum" is not in the correct order, it should be before "hsuforum:allowprivate"
(#276) The string key "invaliddigestsetting" is not in the correct order, it should be before "invaliddiscussionid"
(#290) The string key "managesubscriptionsoff" is not in the correct order, it should be before "manydiscussions"
(#297) The string key "markasreadonnotification_help" is not in the correct order, it should be before "markasreadonnotificationyes"
(#348) The string key "myprofileowndis" is not in the correct order, it should be before "myprofileownpost"
(#349) The string key "myprofileotherpost" is not in the correct order, it should be before "myprofileowndis"
(#350) The string key "myprofileotherdis" is not in the correct order, it should be before "myprofileotherpost"
(#394) The string key "page-mod-hsuforum-view" is not in the correct order, it should be before "page-mod-hsuforum-x"
(#395) The string key "page-mod-hsuforum-discuss" is not in the correct order, it should be before "page-mod-hsuforum-view"
(#418) The string key "postoptions" is not in the correct order, it should be before "postsmadebyuserincourse"
(#436) The string key "privacy:metadata:hsuforum_discussions:assessed" is not in the correct order, it should be before "privacy:metadata:hsuforum_discussions:userid"
(#439) The string key "privacy:metadata:hsuforum_discussions" is not in the correct order, it should be before "privacy:metadata:hsuforum_discussions:usermodified"
(#442) The string key "privacy:metadata:hsuforum_queue:discussionid" is not in the correct order, it should be before "privacy:metadata:hsuforum_queue:userid"
(#445) The string key "privacy:metadata:hsuforum_queue" is not in the correct order, it should be before "privacy:metadata:hsuforum_queue:timemodified"
(#448) The string key "privacy:metadata:hsuforum_posts:discussion" is not in the correct order, it should be before "privacy:metadata:hsuforum_queue"
(#450) The string key "privacy:metadata:hsuforum_posts:created" is not in the correct order, it should be before "privacy:metadata:hsuforum_posts:parent"
(#453) The string key "privacy:metadata:hsuforum_posts:message" is not in the correct order, it should be before "privacy:metadata:hsuforum_posts:subject"
(#455) The string key "privacy:metadata:hsuforum_posts" is not in the correct order, it should be before "privacy:metadata:hsuforum_posts:userid"
(#459) The string key "privacy:metadata:hsuforum_subscriptions_disc" is not in the correct order, it should be before "privacy:metadata:hsuforum_subscriptions_disc:userid"
(#461) The string key "privacy:metadata:hsuforum_read:userid" is not in the correct order, it should be before "privacy:metadata:hsuforum_subscriptions_disc"
(#462) The string key "privacy:metadata:hsuforum_read:discussionid" is not in the correct order, it should be before "privacy:metadata:hsuforum_read:userid"
(#464) The string key "privacy:metadata:hsuforum_read:firstread" is not in the correct order, it should be before "privacy:metadata:hsuforum_read:postid"
(#466) The string key "privacy:metadata:hsuforum_read" is not in the correct order, it should be before "privacy:metadata:hsuforum_read:lastread"
(#469) The string key "privacy:metadata:hsuforum_subscriptions:forum" is not in the correct order, it should be before "privacy:metadata:hsuforum_subscriptions:userid"
(#470) The string key "privacy:metadata:hsuforum_subscriptions" is not in the correct order, it should be before "privacy:metadata:hsuforum_subscriptions:forum"
(#473) The string key "privacy:metadata:hsuforum_track_prefs:forumid" is not in the correct order, it should be before "privacy:metadata:hsuforum_track_prefs:userid"
(#474) The string key "privacy:metadata:hsuforum_track_prefs" is not in the correct order, it should be before "privacy:metadata:hsuforum_track_prefs:forumid"
(#476) The string key "privacy:metadata:hsuforum_discussion_subs:discussionid" is not in the correct order, it should be before "privacy:metadata:hsuforum_track_prefs"
(#479) The string key "privacy:metadata:hsuforum_discussion_subs" is duplicated
(#484) The string key "privacy:metadata:hsuforum_grades" is not in the correct order, it should be before "privacy:metadata:hsuforum_grades:userid"
(#486) The string key "privacy:metadata:core_tag" is not in the correct order, it should be before "privacy:metadata:hsuforum_grades"
(#487) The string key "privacy:metadata:core_rating" is not in the correct order, it should be before "privacy:metadata:core_tag"
(#496) The string key "privacy:readtrackingdisabled" is not in the correct order, it should be before "privacy:subscribedtoforum"
(#497) The string key "privacy:postwasread" is not in the correct order, it should be before "privacy:readtrackingdisabled"
(#501) The string key "privacy:request:delete:discussion:name" is not in the correct order, it should be before "privacy:request:delete:post:subject"
(#519) The string key "reply_handler" is not in the correct order, it should be before "replytouser"
(#523) The string key "resetdigests" is not in the correct order, it should be before "resetforumsall"
(#528) The string key "rssarticles" is not in the correct order, it should be before "rsssubscriberssposts"
(#535) The string key "search:activity" is not in the correct order, it should be before "search:post"
(#554) The string key "showrecent" is not in the correct order, it should be before "showsubscribers"
(#559) The string key "showbookmark" is not in the correct order, it should be before "showsubstantivedisabledglobally"
(#569) The string key "subscribeall" is not in the correct order, it should be before "subscribeshort"
(#571) The string key "subscribed" is not in the correct order, it should be before "subscribeenrolledonly"
(#587) The string key "subscriptionforced" is not in the correct order, it should be before "subscriptionoptional"
(#588) The string key "subscriptionauto" is not in the correct order, it should be before "subscriptionforced"
(#607) The string key "unsubscribediscussion" is not in the correct order, it should be before "unsubscribelink"
(#609) The string key "unsubscribeall" is not in the correct order, it should be before "unsubscribediscussionlink"
(#625) The string key "allowanonymous" is not in the correct order, it should be before "yourreply"
(#629) The string key "anonymousfirstnamephonetic" is not in the correct order, it should be before "anonymouslastname"
(#632) The string key "anonymousalternatename" is not in the correct order, it should be before "anonymousmiddlename"
(#635) The string key "hsuforum:revealpost" is not in the correct order, it should be before "reveal_help"
(#637) The string key "hsuforum:canoverridecutoff" is not in the correct order, it should be before "hsuforum:viewflags"
(#643) The string key "substantive" is not in the correct order, it should be before "viewposters"
(#650) The string key "jsondecodeerror" is not in the correct order, it should be before "toggled:substantive"
(#651) The string key "ajaxrequesterror" is not in the correct order, it should be before "jsondecodeerror"
(#654) The string key "discussiondisplay" is not in the correct order, it should be before "tree"
(#656) The string key "cansubscribediscerror" is not in the correct order, it should be before "javascriptdisableddisplayformat"
(#658) The string key "subscribedisc" is not in the correct order, it should be before "unsubscribedisc"
(#659) The string key "showdiscussionsubscribers" is not in the correct order, it should be before "subscribedisc"
(#660) The string key "discussionsubscribers" is not in the correct order, it should be before "showdiscussionsubscribers"
(#663) The string key "privatereplies" is not in the correct order, it should be before "privatereply_help"
(#667) The string key "discussionsortkey:lastreply" is not in the correct order, it should be before "privaterepliesdisabledglobally"
(#668) The string key "discussionsortkey:created" is not in the correct order, it should be before "discussionsortkey:lastreply"
(#674) The string key "modeflatfirstname" is not in the correct order, it should be before "prevdiscussionx"
(#679) The string key "lastpostbyx" is not in the correct order, it should be before "startedbyxgroupx"
(#682) The string key "clicktoexpand" is not in the correct order, it should be before "unreadx"
(#683) The string key "clicktocollapse" is not in the correct order, it should be before "clicktoexpand"
(#686) The string key "collapseall" is not in the correct order, it should be before "expandall"
(#688) The string key "gradetypemanual" is not in the correct order, it should be before "gradetypenone"
(#690) The string key "gradetype" is not in the correct order, it should be before "gradetyperating"
(#697) The string key "totalreplies" is not in the correct order, it should be before "totalsubstantive"
(#698) The string key "totaldiscussions" is not in the correct order, it should be before "totalreplies"
(#701) The string key "grade" is not in the correct order, it should be before "totalrating"
(#703) The string key "anonymouswarning" is not in the correct order, it should be before "thisisanonymous"
(#705) The string key "completionusegradeerror" is not in the correct order, it should be before "totalposts"
(#707) The string key "manualwarning" is not in the correct order, it should be before "splitprivatewarning"
(#711) The string key "orderdiscussionsby" is not in the correct order, it should be before "sortdiscussionsbysronlytext"
(#712) The string key "displaydiscussionreplies" is not in the correct order, it should be before "orderdiscussionsby"
(#713) The string key "discussionsummary" is not in the correct order, it should be before "displaydiscussionreplies"
(#715) The string key "discussion:x" is not in the correct order, it should be before "export"
(#717) The string key "subjectbyprivateuserondate" is not in the correct order, it should be before "subjectbyuserondate"
(#718) The string key "attachments:x" is not in the correct order, it should be before "subjectbyprivateuserondate"
(#721) The string key "exportformat" is not in the correct order, it should be before "postsfor"
(#722) The string key "csv" is not in the correct order, it should be before "exportformat"
(#724) The string key "plaintext" is not in the correct order, it should be before "print"
(#725) The string key "exportattachments" is not in the correct order, it should be before "plaintext"
(#726) The string key "all" is not in the correct order, it should be before "exportattachments"
(#728) The string key "author" is not in the correct order, it should be before "participants"
(#730) The string key "byx" is not in the correct order, it should be before "date"
(#733) The string key "onereply" is not in the correct order, it should be before "xreplies"
(#735) The string key "onediscussion" is not in the correct order, it should be before "xdiscussions"
(#736) The string key "loadmorediscussions" is not in the correct order, it should be before "onediscussion"
(#738) The string key "validationerrorsx" is not in the correct order, it should be before "validationerrorx"
(#739) The string key "messageisrequired" is not in the correct order, it should be before "validationerrorsx"
(#741) The string key "replytox" is not in the correct order, it should be before "subjectisrequired"
(#742) The string key "addareply" is not in the correct order, it should be before "replytox"
(#745) The string key "accessible" is not in the correct order, it should be before "useadvancededitor"
(#748) The string key "messageplaceholder" is not in the correct order, it should be before "subjectplaceholder"
(#752) The string key "replybuttontitle" is not in the correct order, it should be before "xunread"
(#754) The string key "postbyxinreplytox" is not in the correct order, it should be before "replybyx"
(#756) The string key "postbyxinprivatereplytox" is not in the correct order, it should be before "privatereplybyx"
(#757) The string key "inreplyto" is not in the correct order, it should be before "postbyxinprivatereplytox"
(#758) The string key "inprivatereplyto" is not in the correct order, it should be before "inreplyto"
(#760) The string key "articledateformat" is not in the correct order, it should be before "options"
(#762) The string key "postdeleted" is not in the correct order, it should be before "userdateformat"
(#763) The string key "postcreated" is not in the correct order, it should be before "postdeleted"
(#764) The string key "cannnotdeletesinglediscussion" is not in the correct order, it should be before "postcreated"
(#767) The string key "deleteattachmentx" is not in the correct order, it should be before "editingpost"
(#768) The string key "deleteattachments" is not in the correct order, it should be before "deleteattachmentx"
(#770) The string key "id" is not in the correct order, it should be before "postwasupdated"
(#772) The string key "anonymousrecentactivity" is not in the correct order, it should be before "switchtoaccessible"
(#775) The string key "hiderecentposts" is not in the correct order, it should be before "nonanonymous"
(#776) The string key "confighiderecentposts" is not in the correct order, it should be before "hiderecentposts"
(#778) The string key "forumbodydeleted" is not in the correct order, it should be before "forumsubjectdeleted"
(#780) Unexpected comment found. Auto-fixing will not work after this comment
(#781) The string key "completionview" is not in the correct order, it should be before "gradeitem:posts"
(#782) The string key "completionusegrade" is not in the correct order, it should be before "completionview"
(#784) Unexpected string end, it should be a line feed after a semicolon
(#784) File must end with a newline character
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
(#42) Commas (,) must be followed by white space.
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) 3 slashes comments are not allowed; use "// Comment." instead
(#110) Logical operator "or" is prohibited; use "||" instead
(#129) Expected 1 space after "="; 2 found
(#137) Short array syntax must be used to define arrays
(#137) Expected 1 space before "=>"; 0 found
(#137) Expected 1 space after "=>"; 0 found
(#138) Short array syntax must be used to define arrays
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#140) Short array syntax must be used to define arrays
(#140) Expected 1 space before "=>"; 0 found
(#140) Expected 1 space after "=>"; 0 found
(#141) Line exceeds 132 characters; contains 144 characters
(#142) Short array syntax must be used to define arrays
(#142) Expected 1 space before "=>"; 0 found
(#142) Expected 1 space after "=>"; 0 found
(#176) Docblock tag "@global" is not recommended.
(#197) Logical operator "or" is prohibited; use "||" instead
(#202) Short array syntax must be used to define arrays
(#202) Expected 1 space before "=>"; 0 found
(#202) Expected 1 space after "=>"; 0 found
(#206) Line exceeds 132 characters; contains 147 characters
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Expected 1 space before "<>"; 0 found
(#207) Expected 1 space after "<>"; 0 found
(#207) Logical operator "or" is prohibited; use "||" instead
(#207) Expected 1 space before "<>"; 0 found
(#207) Expected 1 space after "<>"; 0 found
(#208) Inline comments must start with a capital letter, digit or 3-dots sequence
(#208) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Short array syntax must be used to define arrays
(#212) Expected 1 space before "=>"; 0 found
(#212) Expected 1 space after "=>"; 0 found
(#219) Inline comments must start with a capital letter, digit or 3-dots sequence
(#219) Inline comments must end in full-stops, exclamation marks, or question marks
(#236) Short array syntax must be used to define arrays
(#236) Expected 1 space before "=>"; 0 found
(#236) Expected 1 space after "=>"; 0 found
(#240) Short array syntax must be used to define arrays
(#240) Expected 1 space before "=>"; 0 found
(#240) Expected 1 space after "=>"; 0 found
(#247) Short array syntax must be used to define arrays
(#247) Expected 1 space before "=>"; 0 found
(#247) Expected 1 space after "=>"; 0 found
(#257) Short array syntax must be used to define arrays
(#257) Expected 1 space before "=>"; 0 found
(#257) Expected 1 space after "=>"; 0 found
(#258) Line exceeds 132 characters; contains 144 characters
(#290) Docblock tag "@global" is not recommended.
(#297) Short array syntax must be used to define arrays
(#297) Expected 1 space before "=>"; 0 found
(#297) Expected 1 space after "=>"; 0 found
(#303) Short array syntax must be used to define arrays
(#303) Expected 1 space before "=>"; 0 found
(#303) Expected 1 space after "=>"; 0 found
(#309) Inline comments must start with a capital letter, digit or 3-dots sequence
(#309) Inline comments must end in full-stops, exclamation marks, or question marks
(#317) Short array syntax must be used to define arrays
(#317) Expected 1 space before "=>"; 0 found
(#317) Expected 1 space after "=>"; 0 found
(#325) Short array syntax must be used to define arrays
(#329) Short array syntax must be used to define arrays
(#329) Expected 1 space before "=>"; 0 found
(#329) Expected 1 space after "=>"; 0 found
(#338) Short array syntax must be used to define arrays
(#338) Expected 1 space before "=>"; 0 found
(#338) Expected 1 space after "=>"; 0 found
(#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
(#370) Closing brace must be on a line by itself
(#371) Closing brace must be on a line by itself
(#372) Closing brace must be on a line by itself
(#373) Closing brace must be on a line by itself
(#374) Closing brace must be on a line by itself
(#376) Closing brace must be on a line by itself
(#386) Short array syntax must be used to define arrays
(#453) 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
(#461) Short array syntax must be used to define arrays
(#462) Short array syntax must be used to define arrays
(#463) Short array syntax must be used to define arrays
(#464) Short array syntax must be used to define arrays
(#465) Short array syntax must be used to define arrays
(#466) Short array syntax must be used to define arrays
(#467) Short array syntax must be used to define arrays
(#474) 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
(#481) Short array syntax must be used to define arrays
(#484) Short array syntax must be used to define arrays
(#502) Inline comments must end in full-stops, exclamation marks, or question marks
(#505) Inline comments must start with a capital letter, digit or 3-dots sequence
(#505) Inline comments must end in full-stops, exclamation marks, or question marks
(#510) Short array syntax must be used to define arrays
(#510) Expected 1 space before "=>"; 0 found
(#520) Short array syntax must be used to define arrays
(#530) Short array syntax must be used to define arrays
(#558) Inline comments must start with a capital letter, digit or 3-dots sequence
(#558) Inline comments must end in full-stops, exclamation marks, or question marks
(#578) Inline comments must start with a capital letter, digit or 3-dots sequence
(#578) Inline comments must end in full-stops, exclamation marks, or question marks
(#581) Short array syntax must be used to define arrays
(#581) Line exceeds 132 characters; contains 167 characters
(#584) Inline comments must start with a capital letter, digit or 3-dots sequence
(#585) Inline comments must end in full-stops, exclamation marks, or question marks
(#587) Inline comments must start with a capital letter, digit or 3-dots sequence
(#587) Inline comments must end in full-stops, exclamation marks, or question marks
(#609) Short array syntax must be used to define arrays
(#612) Short array syntax must be used to define arrays
(#613) Short array syntax must be used to define arrays
(#614) Short array syntax must be used to define arrays
(#622) Short array syntax must be used to define arrays
(#639) Inline comments must start with a capital letter, digit or 3-dots sequence
(#639) Inline comments must end in full-stops, exclamation marks, or question marks
(#651) Line exceeds 132 characters; contains 144 characters
(#662) Short array syntax must be used to define arrays
(#666) Short array syntax must be used to define arrays
(#690) Line exceeds 132 characters; contains 136 characters
(#694) Short array syntax must be used to define arrays
(#696) Short array syntax must be used to define arrays
(#740) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#746) Short array syntax must be used to define arrays
(#758) Line indented incorrectly; expected at least 16 spaces, found 15
(#766) Short array syntax must be used to define arrays
(#770) Line exceeds 132 characters; contains 142 characters
(#840) Short array syntax must be used to define arrays
(#840) Short array syntax must be used to define arrays
(#841) Short array syntax must be used to define arrays
(#847) Commas (,) must be followed by white space.
(#851) Line exceeds 132 characters; contains 141 characters
(#853) Short array syntax must be used to define arrays
(#859) Line exceeds 132 characters; contains 135 characters
(#864) Expected 1 space before "*"; 0 found
(#864) Expected 1 space after "*"; 0 found
(#864) Expected 1 space before "*"; 0 found
(#864) Expected 1 space after "*"; 0 found
(#864) Expected 1 space before "*"; 0 found
(#864) Expected 1 space after "*"; 0 found
(#885) Short array syntax must be used to define arrays
(#899) Inline comments must end in full-stops, exclamation marks, or question marks
(#903) Inline comments must end in full-stops, exclamation marks, or question marks
(#913) Inline comments must end in full-stops, exclamation marks, or question marks
(#915) Short array syntax must be used to define arrays
(#922) Variable "digestposts_rs" must not contain underscores.
(#922) Short array syntax must be used to define arrays
(#924) Variable "digestposts_rs" must not contain underscores.
(#926) Inline comments must end in full-stops, exclamation marks, or question marks
(#929) Inline comments must start with a capital letter, digit or 3-dots sequence
(#929) Inline comments must end in full-stops, exclamation marks, or question marks
(#929) No space found before comment text; expected "// caches - reuse the those filled before too" but found "//caches - reuse the those filled before too"
(#930) Short array syntax must be used to define arrays
(#931) Short array syntax must be used to define arrays
(#933) Variable "digestposts_rs" must not contain underscores.
(#935) Short array syntax must be used to define arrays
(#943) Short array syntax must be used to define arrays
(#951) Short array syntax must be used to define arrays
(#960) Short array syntax must be used to define arrays
(#977) Variable "digestposts_rs" must not contain underscores.
(#977) Inline comments must end in full-stops, exclamation marks, or question marks
(#977) 3 slashes comments are not allowed; use "// Comment." instead
(#979) Inline comments must end in full-stops, exclamation marks, or question marks
(#982) Inline comments must start with a capital letter, digit or 3-dots sequence
(#982) Inline comments must end in full-stops, exclamation marks, or question marks
(#988) Inline comments must end in full-stops, exclamation marks, or question marks
(#989) Short array syntax must be used to define arrays
(#996) 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
(#1014) Line exceeds 132 characters; contains 146 characters
(#1021) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1021) Inline comments must end in full-stops, exclamation marks, or question marks
(#1028) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1028) Inline comments must end in full-stops, exclamation marks, or question marks
(#1028) No space found before comment text; expected "// override language" but found "//override language"
(#1031) Inline comments must end in full-stops, exclamation marks, or question marks
(#1038) Line exceeds 132 characters; contains 140 characters
(#1044) Short array syntax must be used to define arrays
(#1049) Commas (,) must be followed by white space.
(#1051) Commas (,) must be followed by white space.
(#1060) Commas (,) must be followed by white space.
(#1060) Line exceeds 132 characters; contains 142 characters
(#1064) Commas (,) must be followed by white space.
(#1064) Line exceeds maximum limit of 180 characters; contains 187 characters
(#1075) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1075) Inline comments must end in full-stops, exclamation marks, or question marks
(#1078) Short array syntax must be used to define arrays
(#1082) Short array syntax must be used to define arrays
(#1096) Short array syntax must be used to define arrays
(#1098) Short array syntax must be used to define arrays
(#1108) Short array syntax must be used to define arrays
(#1147) Inline comments must end in full-stops, exclamation marks, or question marks
(#1152) Expected 1 space before "*"; 0 found
(#1152) Expected 1 space after "*"; 0 found
(#1152) Expected 1 space before "*"; 0 found
(#1152) Expected 1 space after "*"; 0 found
(#1152) Expected 1 space before "*"; 0 found
(#1152) Expected 1 space after "*"; 0 found
(#1159) Short array syntax must be used to define arrays
(#1161) Line exceeds 132 characters; contains 160 characters
(#1165) Line exceeds 132 characters; contains 161 characters
(#1171) Inline comments must end in full-stops, exclamation marks, or question marks
(#1196) Inline comments must end in full-stops, exclamation marks, or question marks
(#1203) Inline comments must end in full-stops, exclamation marks, or question marks
(#1203) Line indented incorrectly; expected at least 8 spaces, found 4
(#1203) 3 slashes comments are not allowed; use "// Comment." instead
(#1216) Expected 1 space before "*"; 0 found
(#1216) Expected 1 space after "*"; 0 found
(#1225) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1270) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1270) 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"
(#1271) 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"
(#1272) Inline comments must end in full-stops, exclamation marks, or question marks
(#1272) 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"
(#1281) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#1286) Docblock tag "@global" is not recommended.
(#1287) Docblock tag "@global" is not recommended.
(#1293) No one-line description found in phpdocs for docblock of function hsuforum_user_complete
(#1294) Commas (,) must be followed by white space.
(#1345) Short array syntax must be used to define arrays
(#1401) Docblock tag "@global" is not recommended.
(#1402) Docblock tag "@global" is not recommended.
(#1403) Docblock tag "@global" is not recommended.
(#1407) Commas (,) must be followed by white space.
(#1413) Short array syntax must be used to define arrays
(#1416) Commas (,) must be followed by white space.
(#1422) Inline comments must end in full-stops, exclamation marks, or question marks
(#1423) Short array syntax must be used to define arrays
(#1424) Short array syntax must be used to define arrays
(#1427) Inline comments must end in full-stops, exclamation marks, or question marks
(#1432) Inline comments must end in full-stops, exclamation marks, or question marks
(#1432) Line indented incorrectly; expected at least 12 spaces, found 8
(#1456) Short array syntax must be used to define arrays
(#1461) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1462) Short array syntax must be used to define arrays
(#1468) Expected 1 space before "*"; 0 found
(#1468) Expected 1 space after "*"; 0 found
(#1468) Expected 1 space before "*"; 0 found
(#1468) Expected 1 space after "*"; 0 found
(#1468) Expected 1 space before "*"; 0 found
(#1468) Expected 1 space after "*"; 0 found
(#1473) Short array syntax must be used to define arrays
(#1479) Expected 1 space after "="; 2 found
(#1481) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1481) Inline comments must end in full-stops, exclamation marks, or question marks
(#1494) Commas (,) must be followed by white space.
(#1494) Commas (,) must be followed by white space.
(#1494) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1494) Inline comments must end in full-stops, exclamation marks, or question marks
(#1506) Short array syntax must be used to define arrays
(#1514) Commas (,) must be followed by white space.
(#1521) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1525) Commas (,) must be followed by white space.
(#1530) Line exceeds 132 characters; contains 173 characters
(#1540) Commas (,) must be followed by white space.
(#1541) Short array syntax must be used to define arrays
(#1543) Commas (,) must be followed by white space.
(#1544) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1544) Inline comments must end in full-stops, exclamation marks, or question marks
(#1573) Docblock tag "@global" is not recommended.
(#1574) Docblock tag "@global" is not recommended.
(#1579) Missing docblock for function hsuforum_recent_activity_query
(#1607) Short array syntax must be used to define arrays
(#1619) Docblock tag "@global" is not recommended.
(#1620) Docblock tag "@global" is not recommended.
(#1621) Docblock tag "@global" is not recommended.
(#1622) Docblock tag "@global" is not recommended.
(#1638) Short array syntax must be used to define arrays
(#1639) Short array syntax must be used to define arrays
(#1644) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1644) Inline comments must end in full-stops, exclamation marks, or question marks
(#1658) Logical operator "or" is prohibited; use "||" instead
(#1690) Expected "if (...) {\n"; found "if(...) {\n"
(#1706) No one-line description found in phpdocs for docblock of function hsuforum_media_object
(#1724) No one-line description found in phpdocs for docblock of function hsuforum_get_user_formatted_rating_grade
(#1727) Short array syntax must be used to define arrays
(#1742) Docblock tag "@global" is not recommended.
(#1743) Docblock tag "@global" is not recommended.
(#1761) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1761) 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?"
(#1777) Docblock tag "@global" is not recommended.
(#1778) Docblock tag "@global" is not recommended.
(#1803) Logical operator "or" is prohibited; use "||" instead
(#1803) Logical operator "or" is prohibited; use "||" instead
(#1813) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#1823) Docblock tag "@global" is not recommended.
(#1839) Expected 1 space before "="; 0 found
(#1839) Expected 1 space after "="; 0 found
(#1842) Expected 1 space before "*"; 0 found
(#1842) Expected 1 space after "*"; 0 found
(#1842) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1842) Inline comments must end in full-stops, exclamation marks, or question marks
(#1861) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#1863) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1863) Inline comments must end in full-stops, exclamation marks, or question marks
(#1863) No space found before comment text; expected "// workaround for buggy PHP versions" but found "//workaround for buggy PHP versions"
(#1867) Short array syntax must be used to define arrays
(#1867) Expected 1 space before "=>"; 0 found
(#1867) Expected 1 space after "=>"; 0 found
(#1867) Expected 1 space before "=>"; 0 found
(#1867) Expected 1 space after "=>"; 0 found
(#1869) Logical operator "or" is prohibited; use "||" instead
(#1869) Logical operator "or" is prohibited; use "||" instead
(#1869) Line exceeds 132 characters; contains 150 characters
(#1882) Expected 1 space before "==="; 2 found
(#1884) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#1901) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#1901) Short array syntax must be used to define arrays
(#1901) Expected 1 space before "=>"; 0 found
(#1901) Expected 1 space after "=>"; 0 found
(#1907) Docblock tag "@global" is not recommended.
(#1912) Commas (,) must be followed by white space.
(#1916) Commas (,) must be followed by white space.
(#1916) Short array syntax must be used to define arrays
(#1916) Commas (,) must be followed by white space.
(#1930) Docblock tag "@global" is not recommended.
(#1936) Short array syntax must be used to define arrays
(#1943) Inline comments must end in full-stops, exclamation marks, or question marks
(#1949) Docblock tag "@global" is not recommended.
(#1950) Docblock tag "@global" is not recommended.
(#1964) Short array syntax must be used to define arrays
(#1970) Docblock tag "@global" is not recommended.
(#1971) Docblock tag "@global" is not recommended.
(#1972) Docblock tag "@global" is not recommended.
(#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.
(#1982) Short array syntax must be used to define arrays
(#1985) Variable "tr_sel" must not contain underscores.
(#1986) Variable "tr_join" must not contain underscores.
(#2000) Variable "tr_sel" must not contain underscores.
(#2003) Variable "tr_join" must not contain underscores.
(#2008) Short array syntax must be used to define arrays
(#2011) Expected 1 space before "=>"; 0 found
(#2011) Expected 1 space after "=>"; 0 found
(#2011) Expected 1 space before "=>"; 0 found
(#2011) Expected 1 space after "=>"; 0 found
(#2019) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2022) Short array syntax must be used to define arrays
(#2047) Docblock tag "@global" is not recommended.
(#2048) Docblock tag "@global" is not recommended.
(#2049) Docblock tag "@global" is not recommended.
(#2063) Short array syntax must be used to define arrays
(#2070) Short array syntax must be used to define arrays
(#2073) Short array syntax must be used to define arrays
(#2074) Short array syntax must be used to define arrays
(#2078) Short array syntax must be used to define arrays
(#2081) Short array syntax must be used to define arrays
(#2088) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2099) Logical operator "or" is prohibited; use "||" instead
(#2111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2111) Inline comments must end in full-stops, exclamation marks, or question marks
(#2111) Line indented incorrectly; expected at least 12 spaces, found 9
(#2111) 3 slashes comments are not allowed; use "// Comment." instead
(#2112) Line exceeds 132 characters; contains 140 characters
(#2118) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2118) Inline comments must end in full-stops, exclamation marks, or question marks
(#2118) Line indented incorrectly; expected at least 12 spaces, found 8
(#2118) 3 slashes comments are not allowed; use "// Comment." instead
(#2126) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2126) Inline comments must end in full-stops, exclamation marks, or question marks
(#2126) Line indented incorrectly; expected at least 12 spaces, found 8
(#2126) 3 slashes comments are not allowed; use "// Comment." instead
(#2131) Short array syntax must be used to define arrays
(#2153) Docblock tag "@global" is not recommended.
(#2154) Docblock tag "@global" is not recommended.
(#2155) Docblock tag "@global" is not recommended.
(#2178) Short array syntax must be used to define arrays
(#2179) Short array syntax must be used to define arrays
(#2180) Short array syntax must be used to define arrays
(#2183) Short array syntax must be used to define arrays
(#2186) Line exceeds 132 characters; contains 151 characters
(#2187) Short array syntax must be used to define arrays
(#2187) Expected 1 space before "=>"; 0 found
(#2187) Expected 1 space after "=>"; 0 found
(#2187) Expected 1 space before "=>"; 0 found
(#2187) Expected 1 space after "=>"; 0 found
(#2187) Expected 1 space before "=>"; 0 found
(#2187) Expected 1 space after "=>"; 0 found
(#2187) Line exceeds 132 characters; contains 134 characters
(#2193) Variable "discussionid_sql" must not contain underscores.
(#2193) Variable "discussionid_params" must not contain underscores.
(#2193) Line exceeds 132 characters; contains 150 characters
(#2194) Variable "discussionid_params" must not contain underscores.
(#2195) Variable "discussionid_sql" must not contain underscores.
(#2202) Variable "groupid_sql" must not contain underscores.
(#2202) Variable "groupid_params" must not contain underscores.
(#2203) Variable "groupid_params" must not contain underscores.
(#2204) Variable "groupid_sql" must not contain underscores.
(#2217) Variable "fullid_sql" must not contain underscores.
(#2217) Variable "fullid_params" must not contain underscores.
(#2218) Variable "fullid_params" must not contain underscores.
(#2219) Variable "fullid_sql" must not contain underscores.
(#2228) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#2237) Commas (,) must be followed by white space.
(#2237) Commas (,) must be followed by white space.
(#2276) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#2389) Short array syntax must be used to define arrays
(#2424) Docblock tag "@global" is not recommended.
(#2425) Docblock tag "@global" is not recommended.
(#2439) Short array syntax must be used to define arrays
(#2465) Docblock tag "@global" is not recommended.
(#2469) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $context.
(#2473) Short array syntax must be used to define arrays
(#2507) Docblock tag "@global" is not recommended.
(#2511) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $context.
(#2551) Docblock tag "@global" is not recommended.
(#2552) Docblock tag "@global" is not recommended.
(#2562) Short array syntax must be used to define arrays
(#2588) Docblock tag "@global" is not recommended.
(#2589) Docblock tag "@global" is not recommended.
(#2600) Short array syntax must be used to define arrays
(#2625) Docblock tag "@global" is not recommended.
(#2626) Docblock tag "@global" is not recommended.
(#2637) Short array syntax must be used to define arrays
(#2643) Docblock tag "@global" is not recommended.
(#2644) Docblock tag "@global" is not recommended.
(#2659) Expected 1 space before "*"; 0 found
(#2659) Expected 1 space after "*"; 0 found
(#2677) Logical operator "or" is prohibited; use "||" instead
(#2684) Short array syntax must be used to define arrays
(#2693) Short array syntax must be used to define arrays
(#2698) Docblock tag "@global" is not recommended.
(#2699) Docblock tag "@global" is not recommended.
(#2700) Docblock tag "@global" is not recommended.
(#2701) Docblock tag "@staticvar" is not recommended.
(#2707) No one-line description found in phpdocs for docblock of function hsuforum_count_discussions
(#2710) Short array syntax must be used to define arrays
(#2715) Short array syntax must be used to define arrays
(#2739) Short array syntax must be used to define arrays
(#2763) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2763) Inline comments must end in full-stops, exclamation marks, or question marks
(#2766) Variable "mygroups_sql" must not contain underscores.
(#2779) Variable "mygroups_sql" must not contain underscores.
(#2788) Docblock tag "@global" is not recommended.
(#2789) Docblock tag "@global" is not recommended.
(#2790) Docblock tag "@global" is not recommended.
(#2815) Expected 1 space before "*"; 0 found
(#2815) Expected 1 space after "*"; 0 found
(#2815) Expected 1 space before "*"; 0 found
(#2815) Expected 1 space after "*"; 0 found
(#2815) Expected 1 space before "*"; 0 found
(#2815) Expected 1 space after "*"; 0 found
(#2816) Short array syntax must be used to define arrays
(#2820) Inline comments must end in full-stops, exclamation marks, or question marks
(#2820) 3 slashes comments are not allowed; use "// Comment." instead
(#2821) Short array syntax must be used to define arrays
(#2824) Short array syntax must be used to define arrays
(#2847) Short array syntax must be used to define arrays
(#2847) Line exceeds 132 characters; contains 142 characters
(#2859) Inline comments must end in full-stops, exclamation marks, or question marks
(#2859) 3 slashes comments are not allowed; use "// Comment." instead
(#2879) Expected 1 space before "*"; 0 found
(#2879) Expected 1 space after "*"; 0 found
(#2899) Short array syntax must be used to define arrays
(#2909) Logical operator "or" is prohibited; use "||" instead
(#2951) Inline comments must end in full-stops, exclamation marks, or question marks
(#2967) Inline comments must end in full-stops, exclamation marks, or question marks
(#2990) Line exceeds 132 characters; contains 135 characters
(#3029) Logical operator "or" is prohibited; use "||" instead
(#3029) Logical operator "or" is prohibited; use "||" instead
(#3033) Short array syntax must be used to define arrays
(#3035) Short array syntax must be used to define arrays
(#3040) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#3194) Docblock tag "@global" is not recommended.
(#3195) Docblock tag "@global" is not recommended.
(#3196) Docblock tag "@global" is not recommended.
(#3208) Expected 1 space before "*"; 0 found
(#3208) Expected 1 space after "*"; 0 found
(#3208) Expected 1 space before "*"; 0 found
(#3208) Expected 1 space after "*"; 0 found
(#3208) Expected 1 space before "*"; 0 found
(#3208) Expected 1 space after "*"; 0 found
(#3210) Short array syntax must be used to define arrays
(#3217) Logical operator "or" is prohibited; use "||" instead
(#3226) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3226) Inline comments must end in full-stops, exclamation marks, or question marks
(#3226) No space found before comment text; expected "// separate groups without access all" but found "//separate groups without access all"
(#3263) Short array syntax must be used to define arrays
(#3267) Docblock tag "@global" is not recommended.
(#3268) Docblock tag "@global" is not recommended.
(#3269) Docblock tag "@global" is not recommended.
(#3275) No one-line description found in phpdocs for docblock of function hsuforum_get_discussions_count
(#3280) Short array syntax must be used to define arrays
(#3287) Logical operator "or" is prohibited; use "||" instead
(#3296) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3296) Inline comments must end in full-stops, exclamation marks, or question marks
(#3296) No space found before comment text; expected "// seprate groups without access all" but found "//seprate groups without access all"
(#3347) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3347) Inline comments must end in full-stops, exclamation marks, or question marks
(#3365) Docblock tag "@global" is not recommended.
(#3366) Docblock tag "@global" is not recommended.
(#3380) Expected 1 space after "="; 0 found
(#3410) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3410) Inline comments must end in full-stops, exclamation marks, or question marks
(#3433) Inline comments must end in full-stops, exclamation marks, or question marks
(#3437) Docblock tag "@global" is not recommended.
(#3438) Docblock tag "@global" is not recommended.
(#3442) No one-line description found in phpdocs for docblock of function hsuforum_get_course_forum
(#3443) Inline comments must end in full-stops, exclamation marks, or question marks
(#3443) Line indented incorrectly; expected at least 4 spaces, found 0
(#3446) Short array syntax must be used to define arrays
(#3450) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3450) Inline comments must end in full-stops, exclamation marks, or question marks
(#3496) Short array syntax must be used to define arrays
(#3511) Short array syntax must be used to define arrays
(#3520) Short array syntax must be used to define arrays
(#3620) Short array syntax must be used to define arrays
(#3637) Line exceeds 132 characters; contains 148 characters
(#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
(#3659) Inline comments must end in full-stops, exclamation marks, or question marks
(#3660) Short array syntax must be used to define arrays
(#3660) Line exceeds 132 characters; contains 133 characters
(#3661) Short array syntax must be used to define arrays
(#3662) Short array syntax must be used to define arrays
(#3663) Short array syntax must be used to define arrays
(#3667) Inline comments must end in full-stops, exclamation marks, or question marks
(#3673) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3673) Inline comments must end in full-stops, exclamation marks, or question marks
(#3673) 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"
(#3677) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3677) Inline comments must end in full-stops, exclamation marks, or question marks
(#3684) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3684) Inline comments must end in full-stops, exclamation marks, or question marks
(#3684) 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"
(#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
(#3691) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3691) Inline comments must end in full-stops, exclamation marks, or question marks
(#3693) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3693) Inline comments must end in full-stops, exclamation marks, or question marks
(#3693) No space found before comment text; expected "// its a custom scale" but found "//its a custom scale"
(#3694) Short array syntax must be used to define arrays
(#3704) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3704) Inline comments must end in full-stops, exclamation marks, or question marks
(#3704) 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"
(#3708) Inline comments must end in full-stops, exclamation marks, or question marks
(#3709) Inline comments must end in full-stops, exclamation marks, or question marks
(#3710) Inline comments must end in full-stops, exclamation marks, or question marks
(#3711) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3711) Inline comments must end in full-stops, exclamation marks, or question marks
(#3711) No space found before comment text; expected "// something is wrong" but found "//something is wrong"
(#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
(#3730) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3730) Inline comments must end in full-stops, exclamation marks, or question marks
(#3739) Docblock tag "@global" is not recommended.
(#3744) No one-line description found in phpdocs for docblock of function hsuforum_search_form
(#3753) Docblock tag "@global" is not recommended.
(#3754) Docblock tag "@global" is not recommended.
(#3756) No one-line description found in phpdocs for docblock of function hsuforum_set_return
(#3804) Short array syntax must be used to define arrays
(#3805) Short array syntax must be used to define arrays
(#3806) Short array syntax must be used to define arrays
(#3807) Short array syntax must be used to define arrays
(#3818) Docblock tag "@global" is not recommended.
(#3822) No one-line description found in phpdocs for docblock of function hsuforum_go_back_to
(#3852) Docblock tag "@global" is not recommended.
(#3869) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3869) Inline comments must end in full-stops, exclamation marks, or question marks
(#3870) Short array syntax must be used to define arrays
(#3870) Expected 1 space before "=>"; 0 found
(#3870) Expected 1 space after "=>"; 0 found
(#3877) Inline comments must end in full-stops, exclamation marks, or question marks
(#3881) Inline comments must end in full-stops, exclamation marks, or question marks
(#3894) Docblock tag "@global" is not recommended.
(#3895) Docblock tag "@global" is not recommended.
(#3896) Docblock tag "@global" is not recommended.
(#3906) Short array syntax must be used to define arrays
(#3909) Short array syntax must be used to define arrays
(#3910) Short array syntax must be used to define arrays
(#3914) Short array syntax must be used to define arrays
(#3923) Line exceeds maximum limit of 180 characters; contains 243 characters
(#3939) Short array syntax must be used to define arrays
(#3939) Line exceeds 132 characters; contains 135 characters
(#3940) Line exceeds 132 characters; contains 139 characters
(#3946) Short array syntax must be used to define arrays
(#3946) Line exceeds 132 characters; contains 158 characters
(#3955) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3955) No space found before comment text; expected "// 'returnimages'" but found "//'returnimages'"
(#3956) Short array syntax must be used to define arrays
(#3957) Inline comments must end in full-stops, exclamation marks, or question marks
(#3960) Short array syntax must be used to define arrays
(#3960) Line exceeds 132 characters; contains 162 characters
(#3966) Short array syntax must be used to define arrays
(#3966) Expected 1 space before "=>"; 0 found
(#3966) Expected 1 space after "=>"; 0 found
(#3968) Short array syntax must be used to define arrays
(#3968) Line exceeds 132 characters; contains 162 characters
(#3978) Short array syntax must be used to define arrays
(#3992) Short array syntax must be used to define arrays
(#3996) 80 slashes comments are not allowed; use "// Comment." instead
(#3998) Inline comments must end in full-stops, exclamation marks, or question marks
(#3998) 80 slashes comments are not allowed; use "// Comment." instead
(#4011) Short array syntax must be used to define arrays
(#4040) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4040) Inline comments must end in full-stops, exclamation marks, or question marks
(#4057) Short array syntax must be used to define arrays
(#4058) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4061) Short array syntax must be used to define arrays
(#4066) Short array syntax must be used to define arrays
(#4074) Short array syntax must be used to define arrays
(#4082) Short array syntax must be used to define arrays
(#4100) Inline comments must end in full-stops, exclamation marks, or question marks
(#4109) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#4131) Short array syntax must be used to define arrays
(#4145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4145) Inline comments must end in full-stops, exclamation marks, or question marks
(#4152) Short array syntax must be used to define arrays
(#4152) Expected 1 space before "=>"; 0 found
(#4152) Expected 1 space after "=>"; 0 found
(#4156) Short array syntax must be used to define arrays
(#4156) Expected 1 space before "=>"; 0 found
(#4156) Expected 1 space after "=>"; 0 found
(#4160) Short array syntax must be used to define arrays
(#4160) Expected 1 space before "=>"; 0 found
(#4160) Expected 1 space after "=>"; 0 found
(#4167) Logical operator "or" is prohibited; use "||" instead
(#4171) Inline comments must end in full-stops, exclamation marks, or question marks
(#4182) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#4186) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4186) Inline comments must end in full-stops, exclamation marks, or question marks
(#4187) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4193) Docblock tag "@global" is not recommended.
(#4202) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $uploader.
(#4207) Short array syntax must be used to define arrays
(#4216) Inline comments must end in full-stops, exclamation marks, or question marks
(#4222) Expected 1 space before ">"; 0 found
(#4222) Expected 1 space after ">"; 0 found
(#4226) Short array syntax must be used to define arrays
(#4226) Expected 1 space before "=>"; 0 found
(#4226) Expected 1 space after "=>"; 0 found
(#4234) Docblock tag "@global" is not recommended.
(#4235) Docblock tag "@global" is not recommended.
(#4236) Docblock tag "@global" is not recommended.
(#4243) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $uploader.
(#4246) Short array syntax must be used to define arrays
(#4247) Short array syntax must be used to define arrays
(#4276) Inline comments must end in full-stops, exclamation marks, or question marks
(#4278) Short array syntax must be used to define arrays
(#4279) Short array syntax must be used to define arrays
(#4288) Inline comments must end in full-stops, exclamation marks, or question marks
(#4297) Docblock tag "@global" is not recommended.
(#4298) Docblock tag "@global" is not recommended.
(#4299) Docblock tag "@global" is not recommended.
(#4306) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $uploader.
(#4309) Short array syntax must be used to define arrays
(#4310) Short array syntax must be used to define arrays
(#4311) Short array syntax must be used to define arrays
(#4335) Inline comments must end in full-stops, exclamation marks, or question marks
(#4364) Inline comments must end in full-stops, exclamation marks, or question marks
(#4381) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $uploader.
(#4393) Short array syntax must be used to define arrays
(#4393) Expected 1 space before "=>"; 0 found
(#4393) Expected 1 space after "=>"; 0 found
(#4407) Expected 1 space before ":"; 0 found
(#4409) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4409) Inline comments must end in full-stops, exclamation marks, or question marks
(#4410) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4410) Inline comments must end in full-stops, exclamation marks, or question marks
(#4421) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#4423) Inline comments must end in full-stops, exclamation marks, or question marks
(#4424) Inline comments must end in full-stops, exclamation marks, or question marks
(#4428) Short array syntax must be used to define arrays
(#4428) Expected 1 space before "=>"; 0 found
(#4428) Expected 1 space after "=>"; 0 found
(#4435) Inline comments must end in full-stops, exclamation marks, or question marks
(#4447) Short array syntax must be used to define arrays
(#4447) Expected 1 space before "=>"; 0 found
(#4447) Expected 1 space after "=>"; 0 found
(#4455) Inline comments must end in full-stops, exclamation marks, or question marks
(#4469) Short array syntax must be used to define arrays
(#4503) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4503) Inline comments must end in full-stops, exclamation marks, or question marks
(#4510) Short array syntax must be used to define arrays
(#4513) Short array syntax must be used to define arrays
(#4537) Short array syntax must be used to define arrays
(#4540) Short array syntax must be used to define arrays
(#4561) Docblock tag "@global" is not recommended.
(#4575) Short array syntax must be used to define arrays
(#4587) Short array syntax must be used to define arrays
(#4587) Expected 1 space before "=>"; 0 found
(#4587) Expected 1 space after "=>"; 0 found
(#4590) Short array syntax must be used to define arrays
(#4595) Inline comments must end in full-stops, exclamation marks, or question marks
(#4611) Docblock tag "@global" is not recommended.
(#4631) Short array syntax must be used to define arrays
(#4631) Expected 1 space before "=>"; 0 found
(#4631) Expected 1 space after "=>"; 0 found
(#4632) Line indented incorrectly; expected 8 spaces, found 7
(#4633) Line indented incorrectly; expected 12 spaces, found 11
(#4634) Line indented incorrectly; expected at least 16 spaces, found 15
(#4635) Line indented incorrectly; expected 12 spaces, found 11
(#4636) Line indented incorrectly; expected 8 spaces, found 7
(#4637) Line indented incorrectly; expected at least 12 spaces, found 11
(#4638) Line indented incorrectly; expected 8 spaces, found 7
(#4641) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4641) Inline comments must end in full-stops, exclamation marks, or question marks
(#4641) No space found before comment text; expected "// delete ratings" but found "//delete ratings"
(#4651) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4651) Inline comments must end in full-stops, exclamation marks, or question marks
(#4651) No space found before comment text; expected "// delete attachments" but found "//delete attachments"
(#4656) Short array syntax must be used to define arrays
(#4660) Inline comments must end in full-stops, exclamation marks, or question marks
(#4660) Line indented incorrectly; expected at least 8 spaces, found 4
(#4664) Inline comments must end in full-stops, exclamation marks, or question marks
(#4674) Short array syntax must be used to define arrays
(#4677) Short array syntax must be used to define arrays
(#4702) Expected 1 space before asterisk; 0 found
(#4707) Short array syntax must be used to define arrays
(#4710) Short array syntax must be used to define arrays
(#4723) Docblock tag "@global" is not recommended.
(#4728) No one-line description found in phpdocs for docblock of function hsuforum_count_replies
(#4733) Short array syntax must be used to define arrays
(#4737) Line indented incorrectly; expected 12 spaces, found 11
(#4738) Line indented incorrectly; expected at least 16 spaces, found 15
(#4738) Inline comments must end in full-stops, exclamation marks, or question marks
(#4739) Line indented incorrectly; expected at least 16 spaces, found 15
(#4740) Line indented incorrectly; expected 12 spaces, found 11
(#4751) Docblock tag "@global" is not recommended.
(#4756) No one-line description found in phpdocs for docblock of function hsuforum_forcesubscribe
(#4758) Short array syntax must be used to define arrays
(#4762) Docblock tag "@global" is not recommended.
(#4766) No one-line description found in phpdocs for docblock of function hsuforum_is_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) Line indented incorrectly; expected at least 8 spaces, found 7
(#4771) Short array syntax must be used to define arrays
(#4775) Missing docblock for function hsuforum_get_forcesubscribed
(#4777) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4777) Inline comments must end in full-stops, exclamation marks, or question marks
(#4779) Inline comments must end in full-stops, exclamation marks, or question marks
(#4780) Short array syntax must be used to define arrays
(#4785) Docblock tag "@global" is not recommended.
(#4790) No one-line description found in phpdocs for docblock of function hsuforum_is_subscribed
(#4793) Short array syntax must be used to define arrays
(#4801) Short array syntax must be used to define arrays
(#4804) Missing docblock for function hsuforum_get_subscribed_forums
(#4811) Short array syntax must be used to define arrays
(#4817) Short array syntax must be used to define arrays
(#4829) Inline comments must end in full-stops, exclamation marks, or question marks
(#4832) Short array syntax must be used to define arrays
(#4835) Short array syntax must be used to define arrays
(#4836) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#4841) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4841) Inline comments must end in full-stops, exclamation marks, or question marks
(#4849) Short array syntax must be used to define arrays
(#4849) Expected 1 space before "=>"; 0 found
(#4849) Expected 1 space after "=>"; 0 found
(#4849) Expected 1 space before "=>"; 0 found
(#4849) Expected 1 space after "=>"; 0 found
(#4849) Expected 1 space before "=>"; 0 found
(#4849) Expected 1 space after "=>"; 0 found
(#4849) Line exceeds 132 characters; contains 138 characters
(#4851) Short array syntax must be used to define arrays
(#4854) Short array syntax must be used to define arrays
(#4854) Inline comments must end in full-stops, exclamation marks, or question marks
(#4856) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#4859) 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
(#4862) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4862) Inline comments must end in full-stops, exclamation marks, or question marks
(#4867) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4868) Inline comments must end in full-stops, exclamation marks, or question marks
(#4870) Inline comments must end in full-stops, exclamation marks, or question marks
(#4893) Short array syntax must be used to define arrays
(#4893) Expected 1 space before "=>"; 0 found
(#4893) Expected 1 space after "=>"; 0 found
(#4893) Expected 1 space before "=>"; 0 found
(#4893) Expected 1 space after "=>"; 0 found
(#4913) Short array syntax must be used to define arrays
(#4917) Short array syntax must be used to define arrays
(#4929) Docblock tag "@global" is not recommended.
(#4937) Short array syntax must be used to define arrays
(#4939) Short array syntax must be used to define arrays
(#4940) Short array syntax must be used to define arrays
(#4952) Short array syntax must be used to define arrays
(#4956) Short array syntax must be used to define arrays
(#4971) Docblock tag "@global" is not recommended.
(#4982) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4982) Inline comments must end in full-stops, exclamation marks, or question marks
(#4985) Usage of ELSEIF not allowed; use ELSE IF instead
(#4988) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4988) Inline comments must end in full-stops, exclamation marks, or question marks
(#4993) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4993) Inline comments must end in full-stops, exclamation marks, or question marks
(#4995) Inline comments must start with a capital letter, digit or 3-dots sequence
(#4995) Inline comments must end in full-stops, exclamation marks, or question marks
(#5000) Usage of ELSEIF not allowed; use ELSE IF instead
(#5003) Usage of ELSEIF not allowed; use ELSE IF instead
(#5036) Short array syntax must be used to define arrays
(#5039) Short array syntax must be used to define arrays
(#5044) Commas (,) must be followed by white space.
(#5050) Line exceeds 132 characters; contains 135 characters
(#5067) Short array syntax must be used to define arrays
(#5079) Short array syntax must be used to define arrays
(#5109) Docblock tag "@global" is not recommended.
(#5110) Docblock tag "@global" is not recommended.
(#5115) No one-line description found in phpdocs for docblock of function hsuforum_discussions_user_has_posted_in
(#5126) Short array syntax must be used to define arrays
(#5130) Docblock tag "@global" is not recommended.
(#5131) Docblock tag "@global" is not recommended.
(#5137) No one-line description found in phpdocs for docblock of function hsuforum_user_has_posted
(#5141) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5146) Short array syntax must be used to define arrays
(#5146) Expected 1 space before "=>"; 0 found
(#5146) Expected 1 space after "=>"; 0 found
(#5146) Commas (,) must be followed by white space.
(#5146) Expected 1 space before "=>"; 0 found
(#5146) Expected 1 space after "=>"; 0 found
(#5148) Short array syntax must be used to define arrays
(#5148) Expected 1 space before "=>"; 0 found
(#5148) Expected 1 space after "=>"; 0 found
(#5148) Commas (,) must be followed by white space.
(#5148) Expected 1 space before "=>"; 0 found
(#5148) Expected 1 space after "=>"; 0 found
(#5154) Docblock tag "@global" is not recommended.
(#5162) Short array syntax must be used to define arrays
(#5162) Expected 1 space before "=>"; 0 found
(#5162) Expected 1 space after "=>"; 0 found
(#5162) Expected 1 space before "=>"; 0 found
(#5162) Expected 1 space after "=>"; 0 found
(#5170) Docblock tag "@global" is not recommended.
(#5178) No one-line description found in phpdocs for docblock of function hsuforum_user_can_post_discussion
(#5178) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5178) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5179) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5179) Line indented incorrectly; expected at least 4 spaces, found 0
(#5182) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5182) Inline comments must end in full-stops, exclamation marks, or question marks
(#5183) Logical operator "or" is prohibited; use "||" instead
(#5226) Logical operator "or" is prohibited; use "||" instead
(#5233) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5234) Inline comments must end in full-stops, exclamation marks, or question marks
(#5244) Docblock tag "@global" is not recommended.
(#5245) Docblock tag "@global" is not recommended.
(#5257) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5257) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5257) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5257) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5263) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5263) Inline comments must end in full-stops, exclamation marks, or question marks
(#5264) Logical operator "or" is prohibited; use "||" instead
(#5282) Short array syntax must be used to define arrays
(#5298) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5298) Inline comments must end in full-stops, exclamation marks, or question marks
(#5323) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5323) Inline comments must end in full-stops, exclamation marks, or question marks
(#5329) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5329) Inline comments must end in full-stops, exclamation marks, or question marks
(#5329) No space found before comment text; expected "// separate groups" but found "//separate groups"
(#5338) Expected 1 space before asterisk; 0 found
(#5339) Expected 1 space before asterisk; 0 found
(#5340) Expected 1 space before asterisk; 0 found
(#5341) Expected 1 space before asterisk; 0 found
(#5342) Expected 1 space before asterisk; 0 found
(#5343) Expected 1 space before asterisk; 0 found
(#5344) Expected 1 space before asterisk; 0 found
(#5364) Expected 1 space before asterisk; 0 found
(#5365) Expected 1 space before asterisk; 0 found
(#5366) Expected 1 space before asterisk; 0 found
(#5367) Expected 1 space before asterisk; 0 found
(#5368) Expected 1 space before asterisk; 0 found
(#5369) Expected 1 space before asterisk; 0 found
(#5370) Expected 1 space before asterisk; 0 found
(#5385) Docblock tag "@global" is not recommended.
(#5386) Docblock tag "@global" is not recommended.
(#5394) No one-line description found in phpdocs for docblock of function hsuforum_user_can_see_discussion
(#5394) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5401) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5401) Inline comments must end in full-stops, exclamation marks, or question marks
(#5404) Commas (,) must be followed by white space.
(#5404) Short array syntax must be used to define arrays
(#5404) Expected 1 space before "=>"; 0 found
(#5404) Expected 1 space after "=>"; 0 found
(#5410) Commas (,) must be followed by white space.
(#5410) Short array syntax must be used to define arrays
(#5410) Expected 1 space before "=>"; 0 found
(#5410) Expected 1 space after "=>"; 0 found
(#5434) Docblock tag "@global" is not recommended.
(#5435) Docblock tag "@global" is not recommended.
(#5441) Invalid docblock tag "@params".
(#5444) No one-line description found in phpdocs for docblock of function hsuforum_user_can_see_post
(#5444) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5444) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5447) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5447) Inline comments must end in full-stops, exclamation marks, or question marks
(#5450) Commas (,) must be followed by white space.
(#5450) Short array syntax must be used to define arrays
(#5450) Expected 1 space before "=>"; 0 found
(#5450) Expected 1 space after "=>"; 0 found
(#5457) Commas (,) must be followed by white space.
(#5457) Short array syntax must be used to define arrays
(#5457) Expected 1 space before "=>"; 0 found
(#5457) Expected 1 space after "=>"; 0 found
(#5463) Commas (,) must be followed by white space.
(#5463) Short array syntax must be used to define arrays
(#5463) Expected 1 space before "=>"; 0 found
(#5463) Expected 1 space after "=>"; 0 found
(#5491) Short array syntax must be used to define arrays
(#5491) Line exceeds 132 characters; contains 157 characters
(#5541) Docblock tag "@global" is not recommended.
(#5542) Docblock tag "@global" is not recommended.
(#5554) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5572) Inline comments must end in full-stops, exclamation marks, or question marks
(#5572) Line indented incorrectly; expected at least 4 spaces, found 1
(#5579) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5579) Inline comments must end in full-stops, exclamation marks, or question marks
(#5592) Inline comments must end in full-stops, exclamation marks, or question marks
(#5592) Line indented incorrectly; expected at least 4 spaces, found 0
(#5594) Inline comments must end in full-stops, exclamation marks, or question marks
(#5594) Line indented incorrectly; expected at least 4 spaces, found 0
(#5595) Logical operator "or" is prohibited; use "||" instead
(#5600) Short array syntax must be used to define arrays
(#5600) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5600) Inline comments must end in full-stops, exclamation marks, or question marks
(#5600) No space found before comment text; expected "// cache" but found "//cache"
(#5602) Line indented incorrectly; expected at least 4 spaces, found 0
(#5603) Line indented incorrectly; expected at least 4 spaces, found 0
(#5604) Line indented incorrectly; expected at least 4 spaces, found 0
(#5608) Logical operator "or" is prohibited; use "||" instead
(#5612) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5614) Inline comments must end in full-stops, exclamation marks, or question marks
(#5619) Inline comments must end in full-stops, exclamation marks, or question marks
(#5621) Line exceeds 132 characters; contains 143 characters
(#5623) Inline comments must end in full-stops, exclamation marks, or question marks
(#5633) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#5636) Empty IF statement detected
(#5637) Logical operator "or" is prohibited; use "||" instead
(#5638) Logical operator "or" is prohibited; use "||" instead
(#5639) Logical operator "or" is prohibited; use "||" instead
(#5640) Logical operator "or" is prohibited; use "||" instead
(#5641) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5641) Inline comments must end in full-stops, exclamation marks, or question marks
(#5643) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5643) Inline comments must end in full-stops, exclamation marks, or question marks
(#5659) Line exceeds 132 characters; contains 147 characters
(#5662) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5662) Inline comments must end in full-stops, exclamation marks, or question marks
(#5679) Inline comments must end in full-stops, exclamation marks, or question marks
(#5680) Short array syntax must be used to define arrays
(#5680) Expected 1 space before "=>"; 0 found
(#5680) Expected 1 space after "=>"; 0 found
(#5701) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#5703) Inline comments must end in full-stops, exclamation marks, or question marks
(#5705) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5705) Inline comments must end in full-stops, exclamation marks, or question marks
(#5708) Short array syntax must be used to define arrays
(#5708) Short array syntax must be used to define arrays
(#5743) Short array syntax must be used to define arrays
(#5769) Expected 1 space before "="; 0 found
(#5769) Expected 1 space after "="; 0 found
(#5775) Short array syntax must be used to define arrays
(#5778) Short array syntax must be used to define arrays
(#5795) Inline comments must end in full-stops, exclamation marks, or question marks
(#5800) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#5817) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5823) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#5829) Short array syntax must be used to define arrays
(#5834) Expected 1 space before "=>"; 0 found
(#5834) Expected 1 space after "=>"; 0 found
(#5834) Expected 1 space before "=>"; 0 found
(#5834) Expected 1 space after "=>"; 0 found
(#5838) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5838) Inline comments must end in full-stops, exclamation marks, or question marks
(#5838) No space found before comment text; expected "// load ratings" but found "//load ratings"
(#5845) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5845) Inline comments must end in full-stops, exclamation marks, or question marks
(#5845) No space found before comment text; expected "// the aggregation method" but found "//the aggregation method"
(#5848) Logical operator "or" is prohibited; use "||" instead
(#5859) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#5861) Inline comments must end in full-stops, exclamation marks, or question marks
(#5872) Inline comments must end in full-stops, exclamation marks, or question marks
(#5883) Docblock tag "@global" is not recommended.
(#5884) Docblock tag "@global" is not recommended.
(#5885) Docblock tag "@global" is not recommended.
(#5886) Docblock tag "@global" is not recommended.
(#5888) Expected 1 space before opening brace; found 2
(#5896) Short array syntax must be used to define arrays
(#5904) Short array syntax must be used to define arrays
(#5918) Short array syntax must be used to define arrays
(#5943) Line exceeds 132 characters; contains 135 characters
(#5945) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5945) Inline comments must end in full-stops, exclamation marks, or question marks
(#5950) Variable "cm_context" must not contain underscores.
(#5951) Variable "cm_context" must not contain underscores.
(#5952) Variable "cm_context" must not contain underscores.
(#5954) Short array syntax must be used to define arrays
(#5958) Logical operator "or" is prohibited; use "||" instead
(#5965) Empty IF statement detected
(#5965) Logical operator "or" is prohibited; use "||" instead
(#5965) Logical operator "or" is prohibited; use "||" instead
(#5966) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5966) Inline comments must end in full-stops, exclamation marks, or question marks
(#5968) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5968) Inline comments must end in full-stops, exclamation marks, or question marks
(#5970) Inline comments must start with a capital letter, digit or 3-dots sequence
(#5970) Inline comments must end in full-stops, exclamation marks, or question marks
(#5987) Commas (,) must be followed by white space.
(#6006) Short array syntax must be used to define arrays
(#6011) Short array syntax must be used to define arrays
(#6109) Docblock tag "@global" is not recommended.
(#6116) Short array syntax must be used to define arrays
(#6117) Short array syntax must be used to define arrays
(#6128) Docblock tag "@global" is not recommended.
(#6129) Docblock tag "@global" is not recommended.
(#6145) Short array syntax must be used to define arrays
(#6147) Short array syntax must be used to define arrays
(#6149) Short array syntax must be used to define arrays
(#6150) Short array syntax must be used to define arrays
(#6167) Expected 1 space before comment text but found 7; use block comment if you need indentation
(#6168) Expected 1 space before comment text but found 7; use block comment if you need indentation
(#6174) Short array syntax must be used to define arrays
(#6174) Expected 1 space before "=>"; 0 found
(#6174) Expected 1 space after "=>"; 0 found
(#6174) Expected 1 space before "=>"; 0 found
(#6174) Expected 1 space after "=>"; 0 found
(#6174) Expected 1 space before "=>"; 0 found
(#6174) Expected 1 space after "=>"; 0 found
(#6187) Docblock tag "@global" is not recommended.
(#6188) Docblock tag "@global" is not recommended.
(#6214) Short array syntax must be used to define arrays
(#6224) Line indented incorrectly; expected at least 4 spaces, found 1
(#6225) Line indented incorrectly; expected at least 4 spaces, found 1
(#6242) Line indented incorrectly; expected at least 4 spaces, found 1
(#6244) Line indented incorrectly; expected at least 4 spaces, found 1
(#6245) Line indented incorrectly; expected at least 4 spaces, found 1
(#6245) Short array syntax must be used to define arrays
(#6249) Line indented incorrectly; expected at least 4 spaces, found 1
(#6250) Line indented incorrectly; expected at least 4 spaces, found 1
(#6261) Docblock tag "@global" is not recommended.
(#6262) Docblock tag "@global" is not recommended.
(#6274) Short array syntax must be used to define arrays
(#6281) Short array syntax must be used to define arrays
(#6287) Short array syntax must be used to define arrays
(#6310) Docblock tag "@global" is not recommended.
(#6311) Docblock tag "@global" is not recommended.
(#6322) Expected 1 space before "*"; 0 found
(#6322) Expected 1 space after "*"; 0 found
(#6322) Expected 1 space before "*"; 0 found
(#6322) Expected 1 space after "*"; 0 found
(#6322) Expected 1 space before "*"; 0 found
(#6322) Expected 1 space after "*"; 0 found
(#6325) Short array syntax must be used to define arrays
(#6351) Docblock tag "@global" is not recommended.
(#6352) Docblock tag "@global" is not recommended.
(#6362) Expected 1 space before "*"; 0 found
(#6362) Expected 1 space after "*"; 0 found
(#6362) Expected 1 space before "*"; 0 found
(#6362) Expected 1 space after "*"; 0 found
(#6362) Expected 1 space before "*"; 0 found
(#6362) Expected 1 space after "*"; 0 found
(#6370) Short array syntax must be used to define arrays
(#6379) Docblock tag "@global" is not recommended.
(#6383) No one-line description found in phpdocs for docblock of function hsuforum_tp_is_post_read
(#6386) Short array syntax must be used to define arrays
(#6390) Docblock tag "@global" is not recommended.
(#6394) No one-line description found in phpdocs for docblock of function hsuforum_tp_is_post_old
(#6407) Docblock tag "@global" is not recommended.
(#6408) Docblock tag "@global" is not recommended.
(#6419) Short array syntax must be used to define arrays
(#6446) Short array syntax must be used to define arrays
(#6460) Line exceeds 132 characters; contains 137 characters
(#6541) There should be a comma after the last array item in a multi-line array.
(#6587) Docblock tag "@global" is not recommended.
(#6588) Docblock tag "@global" is not recommended.
(#6589) Docblock tag "@global" is not recommended.
(#6598) Short array syntax must be used to define arrays
(#6601) Short array syntax must be used to define arrays
(#6608) Short array syntax must be used to define arrays
(#6617) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6617) Inline comments must end in full-stops, exclamation marks, or question marks
(#6640) Variable "groups_sql" must not contain underscores.
(#6640) Variable "groups_params" must not contain underscores.
(#6644) Short array syntax must be used to define arrays
(#6654) Variable "groups_params" must not contain underscores.
(#6664) Variable "groups_sql" must not contain underscores.
(#6677) Short array syntax must be used to define arrays
(#6688) Short array syntax must be used to define arrays
(#6699) Short array syntax must be used to define arrays
(#6704) Docblock tag "@global" is not recommended.
(#6705) Docblock tag "@global" is not recommended.
(#6716) Line indented incorrectly; expected at least 4 spaces, found 0
(#6717) Expected 1 space before "*"; 0 found
(#6717) Expected 1 space after "*"; 0 found
(#6717) Expected 1 space before "*"; 0 found
(#6717) Expected 1 space after "*"; 0 found
(#6717) Expected 1 space before "*"; 0 found
(#6717) Expected 1 space after "*"; 0 found
(#6719) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6719) Inline comments must end in full-stops, exclamation marks, or question marks
(#6719) 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"
(#6724) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6724) Inline comments must end in full-stops, exclamation marks, or question marks
(#6728) Inline comments must start with a capital letter, digit or 3-dots sequence
(#6728) Inline comments must end in full-stops, exclamation marks, or question marks
(#6734) Short array syntax must be used to define arrays
(#6740) Docblock tag "@global" is not recommended.
(#6741) Docblock tag "@global" is not recommended.
(#6748) Inline comments must end in full-stops, exclamation marks, or question marks
(#6748) Line indented incorrectly; expected at least 4 spaces, found 0
(#6749) Short array syntax must be used to define arrays
(#6753) Inline comments must end in full-stops, exclamation marks, or question marks
(#6753) Line indented incorrectly; expected at least 4 spaces, found 0
(#6759) Inline comments must end in full-stops, exclamation marks, or question marks
(#6759) Line indented incorrectly; expected at least 4 spaces, found 0
(#6760) Short array syntax must be used to define arrays
(#6770) Line indented incorrectly; expected at least 4 spaces, found 0
(#6771) Inline comments must end in full-stops, exclamation marks, or question marks
(#6771) Line indented incorrectly; expected at least 4 spaces, found 0
(#6787) Short array syntax must be used to define arrays
(#6797) Short array syntax must be used to define arrays
(#6816) Short array syntax must be used to define arrays
(#6816) Commas (,) must be followed by white space.
(#6816) Commas (,) must be followed by white space.
(#6816) Commas (,) must be followed by white space.
(#6816) Commas (,) must be followed by white space.
(#6816) Commas (,) must be followed by white space.
(#6816) Commas (,) must be followed by white space.
(#6832) Short array syntax must be used to define arrays
(#6862) Short array syntax must be used to define arrays
(#6916) Docblock tag "@global" is not recommended.
(#6917) Docblock tag "@global" is not recommended.
(#6925) Short array syntax must be used to define arrays
(#6947) Docblock tag "@global" is not recommended.
(#6948) Docblock tag "@global" is not recommended.
(#6957) Short array syntax must be used to define arrays
(#6959) Short array syntax must be used to define arrays
(#6966) Short array syntax must be used to define arrays
(#6967) Expected "} else if (...) {\n"; found "} else if (...){\n"
(#6967) Expected "if (...) {\n"; found "if (...){\n"
(#6969) Short array syntax must be used to define arrays
(#6970) Short array syntax must be used to define arrays
(#6971) Variable "hsuforum_types_all" must not contain underscores.
(#6973) Variable "hsuforum_types_all" must not contain underscores.
(#6976) Variable "hsuforum_types_all" must not contain underscores.
(#7017) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7017) Inline comments must end in full-stops, exclamation marks, or question marks
(#7020) Expected 1 space before "=>"; 0 found
(#7020) Expected 1 space after "=>"; 0 found
(#7020) Expected 1 space before "=>"; 0 found
(#7020) Expected 1 space after "=>"; 0 found
(#7028) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7028) Inline comments must end in full-stops, exclamation marks, or question marks
(#7028) No space found before comment text; expected "// remove ratings" but found "//remove ratings"
(#7036) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7036) Inline comments must end in full-stops, exclamation marks, or question marks
(#7039) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7039) Inline comments must end in full-stops, exclamation marks, or question marks
(#7042) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7042) Inline comments must end in full-stops, exclamation marks, or question marks
(#7045) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7045) Inline comments must end in full-stops, exclamation marks, or question marks
(#7046) Line exceeds 132 characters; contains 135 characters
(#7046) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7046) Inline comments must end in full-stops, exclamation marks, or question marks
(#7047) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7047) Inline comments must end in full-stops, exclamation marks, or question marks
(#7047) Line exceeds maximum limit of 180 characters; contains 182 characters
(#7049) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7049) Inline comments must end in full-stops, exclamation marks, or question marks
(#7052) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7052) Inline comments must end in full-stops, exclamation marks, or question marks
(#7063) Short array syntax must be used to define arrays
(#7063) Expected 1 space before "=>"; 0 found
(#7063) Expected 1 space after "=>"; 0 found
(#7063) Expected 1 space before "=>"; 0 found
(#7063) Expected 1 space after "=>"; 0 found
(#7063) Expected 1 space before "=>"; 0 found
(#7063) Expected 1 space after "=>"; 0 found
(#7066) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7066) Inline comments must end in full-stops, exclamation marks, or question marks
(#7069) Expected 1 space before "=>"; 0 found
(#7069) Expected 1 space after "=>"; 0 found
(#7069) Expected 1 space before "=>"; 0 found
(#7069) Expected 1 space after "=>"; 0 found
(#7075) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7075) Inline comments must end in full-stops, exclamation marks, or question marks
(#7075) No space found before comment text; expected "// remove ratings" but found "//remove ratings"
(#7081) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7081) Inline comments must end in full-stops, exclamation marks, or question marks
(#7100) Short array syntax must be used to define arrays
(#7103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7106) Short array syntax must be used to define arrays
(#7109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7109) Inline comments must end in full-stops, exclamation marks, or question marks
(#7112) Short array syntax must be used to define arrays
(#7112) Expected 1 space before "=>"; 0 found
(#7112) Expected 1 space after "=>"; 0 found
(#7112) Expected 1 space before "=>"; 0 found
(#7112) Expected 1 space after "=>"; 0 found
(#7112) Commas (,) must be followed by white space.
(#7112) Expected 1 space before "=>"; 0 found
(#7112) Expected 1 space after "=>"; 0 found
(#7115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7115) Inline comments must end in full-stops, exclamation marks, or question marks
(#7118) Short array syntax must be used to define arrays
(#7118) Expected 1 space before "=>"; 0 found
(#7118) Expected 1 space after "=>"; 0 found
(#7118) Expected 1 space before "=>"; 0 found
(#7118) Expected 1 space after "=>"; 0 found
(#7118) Commas (,) must be followed by white space.
(#7118) Expected 1 space before "=>"; 0 found
(#7118) Expected 1 space after "=>"; 0 found
(#7121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7121) Inline comments must end in full-stops, exclamation marks, or question marks
(#7121) 3 slashes comments are not allowed; use "// Comment." instead
(#7125) Short array syntax must be used to define arrays
(#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
(#7140) Commas (,) must be followed by white space.
(#7142) Short array syntax must be used to define arrays
(#7142) Line exceeds 132 characters; contains 164 characters
(#7149) Commas (,) must be followed by white space.
(#7152) Commas (,) must be followed by white space.
(#7169) Short array syntax must be used to define arrays
(#7169) Expected 1 space before "=>"; 0 found
(#7169) Expected 1 space after "=>"; 0 found
(#7169) Expected 1 space before "=>"; 0 found
(#7169) Expected 1 space after "=>"; 0 found
(#7169) Expected 1 space before "=>"; 0 found
(#7169) Expected 1 space after "=>"; 0 found
(#7169) Expected 1 space before "=>"; 0 found
(#7169) Expected 1 space after "=>"; 0 found
(#7169) Line exceeds 132 characters; contains 170 characters
(#7178) Short array syntax must be used to define arrays
(#7191) Short array syntax must be used to define arrays
(#7191) Commas (,) must be followed by white space.
(#7192) Commas (,) must be followed by white space.
(#7203) Expected 1 space before opening brace; found 0
(#7204) Short array syntax must be used to define arrays
(#7231) Short array syntax must be used to define arrays
(#7236) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7236) Inline comments must end in full-stops, exclamation marks, or question marks
(#7242) Line exceeds 132 characters; contains 153 characters
(#7245) Line exceeds 132 characters; contains 144 characters
(#7250) Short array syntax must be used to define arrays
(#7250) Line exceeds 132 characters; contains 141 characters
(#7258) Short array syntax must be used to define arrays
(#7258) Line exceeds 132 characters; contains 142 characters
(#7268) Short array syntax must be used to define arrays
(#7268) Expected 1 space before "=>"; 0 found
(#7268) Expected 1 space after "=>"; 0 found
(#7268) Expected 1 space before "=>"; 0 found
(#7268) Expected 1 space after "=>"; 0 found
(#7268) Expected 1 space before "=>"; 0 found
(#7268) Expected 1 space after "=>"; 0 found
(#7268) Line exceeds maximum limit of 180 characters; contains 247 characters
(#7269) Short array syntax must be used to define arrays
(#7269) Expected 1 space before "=>"; 0 found
(#7269) Expected 1 space after "=>"; 0 found
(#7269) Expected 1 space before "=>"; 0 found
(#7269) Expected 1 space after "=>"; 0 found
(#7269) Expected 1 space before "=>"; 0 found
(#7269) Expected 1 space after "=>"; 0 found
(#7269) Line exceeds maximum limit of 180 characters; contains 245 characters
(#7270) Short array syntax must be used to define arrays
(#7270) Expected 1 space before "=>"; 0 found
(#7270) Expected 1 space after "=>"; 0 found
(#7270) Expected 1 space before "=>"; 0 found
(#7270) Expected 1 space after "=>"; 0 found
(#7270) Expected 1 space before "=>"; 0 found
(#7270) Expected 1 space after "=>"; 0 found
(#7270) Line exceeds maximum limit of 180 characters; contains 247 characters
(#7271) Short array syntax must be used to define arrays
(#7271) Expected 1 space before "=>"; 0 found
(#7271) Expected 1 space after "=>"; 0 found
(#7271) Expected 1 space before "=>"; 0 found
(#7271) Expected 1 space after "=>"; 0 found
(#7271) Expected 1 space before "=>"; 0 found
(#7271) Expected 1 space after "=>"; 0 found
(#7271) Line exceeds maximum limit of 180 characters; contains 252 characters
(#7320) Short array syntax must be used to define arrays
(#7320) Expected 1 space before "=>"; 0 found
(#7320) Expected 1 space after "=>"; 0 found
(#7320) Expected 1 space before "=>"; 0 found
(#7320) Expected 1 space after "=>"; 0 found
(#7329) Short array syntax must be used to define arrays
(#7345) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#7347) Expected "if (...) {\n"; found "if (...){\n"
(#7348) Short array syntax must be used to define arrays
(#7348) Expected 1 space before "=>"; 0 found
(#7348) Expected 1 space after "=>"; 0 found
(#7351) Logical operator "or" is prohibited; use "||" instead
(#7355) Short array syntax must be used to define arrays
(#7360) Line exceeds 132 characters; contains 143 characters
(#7370) Line exceeds 132 characters; contains 136 characters
(#7380) Commas (,) must be followed by white space.
(#7382) Commas (,) must be followed by white space.
(#7441) Expected 1 space after "="; 2 found
(#7465) Missing @var tag in member variable comment
(#7466) Short array syntax must be used to define arrays
(#7476) Expected 1 space before "="; 0 found
(#7476) Expected 1 space after "="; 0 found
(#7486) Expected 1 space before "==="; 0 found
(#7486) Expected 1 space after "==="; 0 found
(#7487) Expected 1 space before "="; 0 found
(#7487) Expected 1 space after "="; 0 found
(#7503) Short array syntax must be used to define arrays
(#7510) Short array syntax must be used to define arrays
(#7553) Short array syntax must be used to define arrays
(#7557) Short array syntax must be used to define arrays
(#7559) Short array syntax must be used to define arrays
(#7598) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7598) Inline comments must end in full-stops, exclamation marks, or question marks
(#7611) Short array syntax must be used to define arrays
(#7657) Variable "hsuforum_pagetype" must not contain underscores.
(#7657) Short array syntax must be used to define arrays
(#7658) Expected 1 space before "=>"; 0 found
(#7658) Expected 1 space after "=>"; 0 found
(#7659) Expected 1 space before "=>"; 0 found
(#7659) Expected 1 space after "=>"; 0 found
(#7660) Expected 1 space before "=>"; 0 found
(#7660) Expected 1 space after "=>"; 0 found
(#7662) Variable "hsuforum_pagetype" must not contain underscores.
(#7668) Docblock tag "@global" is not recommended.
(#7676) Line exceeds 132 characters; contains 141 characters
(#7686) Short array syntax must be used to define arrays
(#7690) Short array syntax must be used to define arrays
(#7720) Docblock tag "@global" is not recommended.
(#7730) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $courseids.
(#7730) Line exceeds 132 characters; contains 140 characters
(#7738) Short array syntax must be used to define arrays
(#7778) Docblock tag "@global" is not recommended.
(#7796) Line exceeds 132 characters; contains 143 characters
(#7801) Inline comments must end in full-stops, exclamation marks, or question marks
(#7802) Short array syntax must be used to define arrays
(#7802) Inline comments must end in full-stops, exclamation marks, or question marks
(#7803) Short array syntax must be used to define arrays
(#7803) Inline comments must end in full-stops, exclamation marks, or question marks
(#7804) Short array syntax must be used to define arrays
(#7804) Inline comments must end in full-stops, exclamation marks, or question marks
(#7812) Inline comments must end in full-stops, exclamation marks, or question marks
(#7821) Short array syntax must be used to define arrays
(#7821) Line exceeds 132 characters; contains 142 characters
(#7822) Short array syntax must be used to define arrays
(#7822) Line exceeds 132 characters; contains 137 characters
(#7839) Inline comments must end in full-stops, exclamation marks, or question marks
(#7861) Line exceeds 132 characters; contains 159 characters
(#7862) Inline comments must end in full-stops, exclamation marks, or question marks
(#7863) Logical operator "or" is prohibited; use "||" instead
(#7864) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7864) Inline comments must end in full-stops, exclamation marks, or question marks
(#7870) Inline comments must end in full-stops, exclamation marks, or question marks
(#7872) Inline comments must end in full-stops, exclamation marks, or question marks
(#7891) Inline comments must end in full-stops, exclamation marks, or question marks
(#7894) Inline comments must end in full-stops, exclamation marks, or question marks
(#7911) Inline comments must end in full-stops, exclamation marks, or question marks
(#7912) Short array syntax must be used to define arrays
(#7913) Inline comments must end in full-stops, exclamation marks, or question marks
(#7914) Short array syntax must be used to define arrays
(#7915) Inline comments must end in full-stops, exclamation marks, or question marks
(#7916) Short array syntax must be used to define arrays
(#7917) Inline comments must end in full-stops, exclamation marks, or question marks
(#7923) Inline comments must end in full-stops, exclamation marks, or question marks
(#7926) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7929) Inline comments must end in full-stops, exclamation marks, or question marks
(#7931) Logical operator "or" is prohibited; use "||" instead
(#7934) Inline comments must end in full-stops, exclamation marks, or question marks
(#7947) Inline comments must end in full-stops, exclamation marks, or question marks
(#7948) Line exceeds 132 characters; contains 174 characters
(#7952) Inline comments must end in full-stops, exclamation marks, or question marks
(#7953) Short array syntax must be used to define arrays
(#7955) Inline comments must end in full-stops, exclamation marks, or question marks
(#7956) Line exceeds 132 characters; contains 148 characters
(#7959) Variable "groupid_sql" must not contain underscores.
(#7959) Variable "groupid_params" must not contain underscores.
(#7960) Variable "groupid_params" must not contain underscores.
(#7961) Variable "groupid_sql" must not contain underscores.
(#7964) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7964) Inline comments must end in full-stops, exclamation marks, or question marks
(#7966) Line exceeds 132 characters; contains 170 characters
(#7972) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7972) Inline comments must end in full-stops, exclamation marks, or question marks
(#7977) Short array syntax must be used to define arrays
(#7977) Line exceeds 132 characters; contains 143 characters
(#7981) Variable "discussionid_sql" must not contain underscores.
(#7981) Variable "discussionid_params" must not contain underscores.
(#7981) Line exceeds 132 characters; contains 156 characters
(#7982) Variable "discussionid_params" must not contain underscores.
(#7983) Variable "discussionid_sql" must not contain underscores.
(#7997) Inline comments must end in full-stops, exclamation marks, or question marks
(#8043) Inline comments must end in full-stops, exclamation marks, or question marks
(#8045) Inline comments must end in full-stops, exclamation marks, or question marks
(#8074) Short array syntax must be used to define arrays
(#8099) Logical operator "or" is prohibited; use "||" instead
(#8115) Logical operator "or" is prohibited; use "||" instead
(#8130) No one-line description found in phpdocs for docblock of function hsuforum_anonymize_user
(#8134) Logical operator "or" is prohibited; use "||" instead
(#8141) Logical operator "or" is prohibited; use "||" instead
(#8144) Logical operator "or" is prohibited; use "||" instead
(#8150) Short array syntax must be used to define arrays
(#8161) Short array syntax must be used to define arrays
(#8161) Expected 1 space before "=>"; 0 found
(#8161) Expected 1 space after "=>"; 0 found
(#8161) Expected 1 space before "=>"; 0 found
(#8161) Expected 1 space after "=>"; 0 found
(#8168) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#8188) No one-line description found in phpdocs for docblock of function hsuforum_is_anonymous_user
(#8207) Short array syntax must be used to define arrays
(#8210) Short array syntax must be used to define arrays
(#8236) Short array syntax must be used to define arrays
(#8242) Short array syntax must be used to define arrays
(#8258) Short array syntax must be used to define arrays
(#8294) No one-line description found in phpdocs for docblock of function mod_hsuforum_comment_validate
(#8300) Short array syntax must be used to define arrays
(#8300) Expected 1 space before "=>"; 0 found
(#8300) Expected 1 space after "=>"; 0 found
(#8310) Logical operator "or" is prohibited; use "||" instead
(#8318) Missing docblock for function mod_hsuforum_comment_permissions
(#8324) Short array syntax must be used to define arrays
(#8324) Expected 1 space before "=>"; 0 found
(#8324) Expected 1 space after "=>"; 0 found
(#8334) Logical operator "or" is prohibited; use "||" instead
(#8335) Short array syntax must be used to define arrays
(#8339) Short array syntax must be used to define arrays
(#8347) No one-line description found in phpdocs for docblock of function mod_hsuforum_comment_display
(#8366) No one-line description found in phpdocs for docblock of function hsuforum_forum_comments_pluginfile
(#8376) Short array syntax must be used to define arrays
(#8376) Expected 1 space before "=>"; 0 found
(#8376) Expected 1 space after "=>"; 0 found
(#8384) Logical operator "or" is prohibited; use "||" instead
(#8390) Logical operator "or" is prohibited; use "||" instead
(#8395) Inline comments must start with a capital letter, digit or 3-dots sequence
(#8395) Inline comments must end in full-stops, exclamation marks, or question marks
(#8404) No one-line description found in phpdocs for docblock of function mod_hsuforum_comment_message
(#8410) Short array syntax must be used to define arrays
(#8410) Expected 1 space before "=>"; 0 found
(#8410) Expected 1 space after "=>"; 0 found
(#8429) Short array syntax must be used to define arrays
(#8436) Short array syntax must be used to define arrays
(#8437) Short array syntax must be used to define arrays
(#8442) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#8444) Short array syntax must be used to define arrays
(#8460) Short array syntax must be used to define arrays
(#8467) Short array syntax must be used to define arrays
(#8482) Short array syntax must be used to define arrays
(#8490) Short array syntax must be used to define arrays
(#8545) Short array syntax must be used to define arrays
(#8598) Short array syntax must be used to define arrays
(#8628) No one-line description found in phpdocs for docblock of function hsuforum_xreplies
(#8646) Short array syntax must be used to define arrays
(#8718) Short array syntax must be used to define arrays
(#8739) Short array syntax must be used to define arrays
(#8761) Short array syntax must be used to define arrays
(#8763) Short array syntax must be used to define arrays
(#8766) Short array syntax must be used to define arrays
(#8785) Short array syntax must be used to define arrays
(#8787) Short array syntax must be used to define arrays
(#8790) Short array syntax must be used to define arrays
(#8814) Short array syntax must be used to define arrays
(#8822) Short array syntax must be used to define arrays
(#8834) Missing docblock for function mod_hsuforum_output_fragment_editor
(#8882) Short array syntax must be used to define arrays
(#8883) Short array syntax must be used to define arrays
(#8929) Short array syntax must be used to define arrays
(#8937) Short array syntax must be used to define arrays
(#8940) Short array syntax must be used to define arrays
(#9055) Short array syntax must be used to define arrays
(#9064) Short array syntax must be used to define arrays
(#9067) 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
(#70) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $repo.
(#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
(#17) Missing @copyright tag
(#17) Missing @license tag
(#21) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) No one-line description found in phpdocs for docblock of class hsuforum_portfolio_caller
(#33) Missing member variable doc comment
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#37) 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
(#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) You must use "/**" style comments for a member variable comment
(#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
(#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
(#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
(#35) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#42) 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) Moodle boilerplate not found at first line
(#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
(#391) Inline comments must end in full-stops, exclamation marks, or question marks
(#392) Expected "if (...) {\n"; found "if(...) {\n"
(#398) Inline comments must end in full-stops, exclamation marks, or question marks
(#417) Short array syntax must be used to define arrays
(#417) Expected 1 space before "=>"; 0 found
(#417) Expected 1 space after "=>"; 0 found
(#418) Expected 1 space before "=>"; 0 found
(#418) Expected 1 space after "=>"; 0 found
(#422) Inline comments must end in full-stops, exclamation marks, or question marks
(#485) Inline comments must end in full-stops, exclamation marks, or question marks
(#492) Expected 1 space before ">"; 0 found
(#492) Expected 1 space after ">"; 0 found
(#494) Inline comments must end in full-stops, exclamation marks, or question marks
(#501) Inline comments must end in full-stops, exclamation marks, or question marks
(#503) Short array syntax must be used to define arrays
(#511) Short array syntax must be used to define arrays
(#530) Short array syntax must be used to define arrays
(#548) Inline comments must start with a capital letter, digit or 3-dots sequence
(#548) Inline comments must end in full-stops, exclamation marks, or question marks
(#548) 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"
(#550) Short array syntax must be used to define arrays
(#567) Logical operator "and" is prohibited; use "&&" instead
(#568) Logical operator "and" is prohibited; use "&&" instead
(#571) Inline comments must start with a capital letter, digit or 3-dots sequence
(#572) Inline comments must end in full-stops, exclamation marks, or question marks
(#583) Inline comments must start with a capital letter, digit or 3-dots sequence
(#584) Inline comments must end in full-stops, exclamation marks, or question marks
(#585) Short array syntax must be used to define arrays
(#589) Line exceeds 132 characters; contains 134 characters
(#592) Short array syntax must be used to define arrays
(#695) Missing docblock for function definition_after_data
(#695) Visibility must be declared on method "definition_after_data"
(#704) Inline comments must start with a capital letter, digit or 3-dots sequence
(#704) 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"
(#705) 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."
(#706) Expected 1 space before "=="; 0 found
(#706) Expected 1 space after "=="; 0 found
(#712) Expected 1 space before "=="; 0 found
(#712) Expected 1 space after "=="; 0 found
(#720) Missing docblock for function data_preprocessing
(#720) Visibility must be declared on method "data_preprocessing"
(#720) Variable "default_values" must not contain underscores.
(#721) Variable "default_values" must not contain underscores.
(#734) Variable "default_values" must not contain underscores.
(#734) Expected 1 space before "="; 0 found
(#735) Variable "default_values" must not contain underscores.
(#736) Variable "default_values" must not contain underscores.
(#737) Variable "default_values" must not contain underscores.
(#737) Expected 1 space before "="; 0 found
(#737) Expected 1 space after "="; 0 found
(#739) Variable "default_values" must not contain underscores.
(#739) Expected 1 space before "="; 0 found
(#740) Variable "default_values" must not contain underscores.
(#741) Variable "default_values" must not contain underscores.
(#742) Variable "default_values" must not contain underscores.
(#742) Expected 1 space before "="; 0 found
(#742) Expected 1 space after "="; 0 found
(#745) Variable "default_values" must not contain underscores.
(#746) Variable "default_values" must not contain underscores.
(#748) Variable "default_values" must not contain underscores.
(#750) Variable "default_values" must not contain underscores.
(#751) Variable "default_values" must not contain underscores.
(#751) Expected 1 space before "="; 0 found
(#751) Expected 1 space after "="; 0 found
(#765) Expected 1 space before "="; 0 found
(#765) Expected 1 space after "="; 0 found
(#765) Short array syntax must be used to define arrays
(#767) Commas (,) must be followed by white space.
(#769) Short array syntax must be used to define arrays
(#769) Expected 1 space before "=>"; 0 found
(#769) Expected 1 space after "=>"; 0 found
(#770) Commas (,) must be followed by white space.
(#772) Commas (,) must be followed by white space.
(#772) Short array syntax must be used to define arrays
(#773) Commas (,) must be followed by white space.
(#773) Commas (,) must be followed by white space.
(#775) Expected 1 space before "="; 0 found
(#775) Expected 1 space after "="; 0 found
(#775) Short array syntax must be used to define arrays
(#777) Commas (,) must be followed by white space.
(#777) Line exceeds 132 characters; contains 139 characters
(#779) Short array syntax must be used to define arrays
(#779) Expected 1 space before "=>"; 0 found
(#779) Expected 1 space after "=>"; 0 found
(#780) Commas (,) must be followed by white space.
(#782) Commas (,) must be followed by white space.
(#782) Short array syntax must be used to define arrays
(#782) Line exceeds 132 characters; contains 136 characters
(#783) Commas (,) must be followed by white space.
(#783) Commas (,) must be followed by white space.
(#785) Expected 1 space before "="; 0 found
(#785) Expected 1 space after "="; 0 found
(#785) Short array syntax must be used to define arrays
(#787) Commas (,) must be followed by white space.
(#789) Short array syntax must be used to define arrays
(#789) Expected 1 space before "=>"; 0 found
(#789) Expected 1 space after "=>"; 0 found
(#790) Commas (,) must be followed by white space.
(#792) Commas (,) must be followed by white space.
(#792) Short array syntax must be used to define arrays
(#793) Commas (,) must be followed by white space.
(#793) Commas (,) must be followed by white space.
(#795) Short array syntax must be used to define arrays
(#795) Commas (,) must be followed by white space.
(#798) Missing docblock for function completion_rule_enabled
(#798) Visibility must be declared on method "completion_rule_enabled"
(#800) Expected 1 space before "!="; 0 found
(#800) Expected 1 space after "!="; 0 found
(#801) Expected 1 space before "!="; 0 found
(#801) Expected 1 space after "!="; 0 found
(#802) Expected 1 space before "!="; 0 found
(#802) Expected 1 space after "!="; 0 found
(#815) Inline comments must end in full-stops, exclamation marks, or question marks
(#819) Expected 1 space before "=="; 0 found
(#819) Expected 1 space after "=="; 0 found
(#832) Missing docblock for function validation
(#832) Visibility must be declared on method "validation"
(#838) Logical operator "or" is prohibited; use "||" instead
(#838) Logical operator "and" is prohibited; use "&&" instead
(#838) Logical operator "or" is prohibited; use "||" instead
(#838) 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
(#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
(#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
(#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
(#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
(#452) Short array syntax must be used to define arrays
(#455) Short array syntax must be used to define arrays
(#462) Short array syntax must be used to define arrays
(#465) Short array syntax must be used to define arrays
(#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
(#603) Line exceeds 132 characters; contains 134 characters
(#611) Short array syntax must be used to define arrays
(#612) Expected 1 space before "=>"; 0 found
(#612) Expected 1 space after "=>"; 0 found
(#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
(#614) Short array syntax must be used to define arrays
(#615) Expected 1 space before "=>"; 0 found
(#615) Expected 1 space after "=>"; 0 found
(#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
(#619) Expected 1 space before "=>"; 0 found
(#619) Expected 1 space after "=>"; 0 found
(#619) Expected 1 space before "?"; 0 found
(#619) Expected 1 space after "?"; 0 found
(#619) Expected 1 space before ":"; 0 found
(#619) 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
(#631) Short array syntax must be used to define arrays
(#631) Expected 1 space before "=>"; 0 found
(#631) Expected 1 space after "=>"; 0 found
(#631) Short array syntax must be used to define arrays
(#633) Short array syntax must be used to define arrays
(#633) Expected 1 space before "=>"; 0 found
(#633) Expected 1 space after "=>"; 0 found
(#633) Short array syntax must be used to define arrays
(#635) Short array syntax must be used to define arrays
(#635) Expected 1 space before "=>"; 0 found
(#635) Expected 1 space after "=>"; 0 found
(#635) Short array syntax must be used to define arrays
(#637) Short array syntax must be used to define arrays
(#637) Short array syntax must be used to define arrays
(#639) Short array syntax must be used to define arrays
(#639) Expected 1 space before "=>"; 0 found
(#639) Expected 1 space after "=>"; 0 found
(#639) Short array syntax must be used to define arrays
(#641) Short array syntax must be used to define arrays
(#641) Expected 1 space before "=>"; 0 found
(#641) Expected 1 space after "=>"; 0 found
(#641) Short array syntax must be used to define arrays
(#667) Short array syntax must be used to define arrays
(#697) Short array syntax must be used to define arrays
(#725) Short array syntax must be used to define arrays
(#726) Short array syntax must be used to define arrays
(#741) Short array syntax must be used to define arrays
(#743) Short array syntax must be used to define arrays
(#746) Short array syntax must be used to define arrays
(#749) Short array syntax must be used to define arrays
(#794) Short array syntax must be used to define arrays
(#796) Short array syntax must be used to define arrays
(#798) Short array syntax must be used to define arrays
(#799) Short array syntax must be used to define arrays
(#802) Short array syntax must be used to define arrays
(#834) 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
(#952) Short array syntax must be used to define arrays
(#1029) Short array syntax must be used to define arrays
(#1059) Expected "if (...) {\n"; found "if(...) {\n"
mod/hsuforum/renderer.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#54) No one-line description found in phpdocs for docblock of function view
(#55) global $OUTPUT cannot be used in renderers. Use $this->output.
(#69) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#75) global $OUTPUT cannot be used in renderers. Use $this->output.
(#79) global $OUTPUT cannot be used in renderers. Use $this->output.
(#79) Commas (,) must be followed by white space.
(#84) Line exceeds 132 characters; contains 150 characters
(#94) Line exceeds 132 characters; contains 141 characters
(#106) global $PAGE cannot be used in renderers. Use $this->page.
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#137) Inline comments must start with a capital letter, digit or 3-dots sequence
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Short array syntax must be used to define arrays
(#149) Line exceeds 132 characters; contains 161 characters
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) 3 slashes comments are not allowed; use "// Comment." instead
(#174) global $PAGE cannot be used in renderers. Use $this->page.
(#180) global $PAGE cannot be used in renderers. Use $this->page.
(#199) Line exceeds 132 characters; contains 135 characters
(#231) global $PAGE cannot be used in renderers. Use $this->page.
(#235) Line exceeds 132 characters; contains 143 characters
(#274) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#276) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) Short array syntax must be used to define arrays
(#279) Line exceeds maximum limit of 180 characters; contains 190 characters
(#318) Short array syntax must be used to define arrays
(#319) global $PAGE cannot be used in renderers. Use $this->page.
(#339) Logical operator "or" is prohibited; use "||" instead
(#363) Short array syntax must be used to define arrays
(#365) Inline comments must end in full-stops, exclamation marks, or question marks
(#377) Short array syntax must be used to define arrays
(#384) Short array syntax must be used to define arrays
(#391) Short array syntax must be used to define arrays
(#393) Commas (,) must be followed by white space.
(#409) Short array syntax must be used to define arrays
(#420) Space found before semicolon; expected ");" but found ") ;"
(#424) Line exceeds 132 characters; contains 150 characters
(#429) global $PAGE cannot be used in renderers. Use $this->page.
(#437) Missing docblock for function article_assets
(#446) Short array syntax must be used to define arrays
(#451) Short array syntax must be used to define arrays
(#468) Short array syntax must be used to define arrays
(#468) Line exceeds 132 characters; contains 133 characters
(#473) Inline comments must end in full-stops, exclamation marks, or question marks
(#474) Commas (,) must be followed by white space.
(#476) Expected "if (...) {\n"; found "if (...){\n"
(#477) Short array syntax must be used to define arrays
(#480) Expected "} else if (...) {\n"; found "} else if (...){\n"
(#480) Expected "if (...) {\n"; found "if (...){\n"
(#486) Inline comments must start with a capital letter, digit or 3-dots sequence
(#499) Short array syntax must be used to define arrays
(#504) Commas (,) must be followed by white space.
(#518) Inline comments must end in full-stops, exclamation marks, or question marks
(#519) Expected "if (...) {\n"; found "if(...) {\n"
(#536) Short array syntax must be used to define arrays
(#548) Missing docblock for function discussion_template
(#549) global $PAGE cannot be used in renderers. Use $this->page.
(#552) Expected "if (...) {\n"; found "if(...) {\n"
(#579) Line exceeds 132 characters; contains 167 characters
(#582) Commas (,) must be followed by white space.
(#583) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#585) Short array syntax must be used to define arrays
(#606) Line exceeds 132 characters; contains 133 characters
(#718) Short array syntax must be used to define arrays
(#743) global $PAGE cannot be used in renderers. Use $this->page.
(#758) Short array syntax must be used to define arrays
(#761) Line exceeds maximum limit of 180 characters; contains 254 characters
(#768) Short array syntax must be used to define arrays
(#786) Short array syntax must be used to define arrays
(#787) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#790) Expected "if (...) {\n"; found "if(...) {\n"
(#795) global $PAGE cannot be used in renderers. Use $this->page.
(#805) Line indented incorrectly; expected at least 8 spaces, found 1
(#806) Line exceeds maximum limit of 180 characters; contains 204 characters
(#843) Short array syntax must be used to define arrays
(#848) Short array syntax must be used to define arrays
(#848) Expected 1 space before "=>"; 0 found
(#848) Expected 1 space after "=>"; 0 found
(#848) Expected 1 space before "=>"; 0 found
(#848) Expected 1 space after "=>"; 0 found
(#848) Expected 1 space before "=>"; 0 found
(#848) Expected 1 space after "=>"; 0 found
(#854) Short array syntax must be used to define arrays
(#855) Short array syntax must be used to define arrays
(#855) Expected 1 space before "=>"; 0 found
(#855) Expected 1 space after "=>"; 0 found
(#855) Expected 1 space before "=>"; 0 found
(#855) Expected 1 space after "=>"; 0 found
(#855) Expected 1 space before "=>"; 0 found
(#855) Expected 1 space after "=>"; 0 found
(#855) Expected 1 space before "=>"; 0 found
(#855) Expected 1 space after "=>"; 0 found
(#855) Line exceeds maximum limit of 180 characters; contains 191 characters
(#856) Short array syntax must be used to define arrays
(#857) Short array syntax must be used to define arrays
(#857) Expected 1 space before "=>"; 0 found
(#857) Expected 1 space after "=>"; 0 found
(#857) Expected 1 space before "=>"; 0 found
(#857) Expected 1 space after "=>"; 0 found
(#857) Expected 1 space before "=>"; 0 found
(#857) Expected 1 space after "=>"; 0 found
(#857) Expected 1 space before "=>"; 0 found
(#857) Expected 1 space after "=>"; 0 found
(#857) Line exceeds maximum limit of 180 characters; contains 196 characters
(#858) Short array syntax must be used to define arrays
(#866) Short array syntax must be used to define arrays
(#866) Short array syntax must be used to define arrays
(#886) Expected 1 space before "==="; 0 found
(#886) Expected 1 space after "==="; 0 found
(#901) Short array syntax must be used to define arrays
(#903) Short array syntax must be used to define arrays
(#903) Short array syntax must be used to define arrays
(#903) Expected 1 space before "=>"; 0 found
(#903) Expected 1 space after "=>"; 0 found
(#938) Short array syntax must be used to define arrays
(#950) Short array syntax must be used to define arrays
(#980) Short array syntax must be used to define arrays
(#983) 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
(#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
(#1026) global $PAGE cannot be used in renderers. Use $this->page.
(#1031) Short array syntax must be used to define arrays
(#1042) Short array syntax must be used to define arrays
(#1063) Short array syntax must be used to define arrays
(#1081) Short array syntax must be used to define arrays
(#1100) global $PAGE cannot be used in renderers. Use $this->page.
(#1101) global $PAGE cannot be used in renderers. Use $this->page.
(#1102) global $PAGE cannot be used in renderers. Use $this->page.
(#1104) global $PAGE cannot be used in renderers. Use $this->page.
(#1131) Short array syntax must be used to define arrays
(#1133) Expected "if (...) {\n"; found "if (...){\n"
(#1136) Short array syntax must be used to define arrays
(#1149) Expected 1 space after ":"; 2 found
(#1175) Short array syntax must be used to define arrays
(#1188) Short array syntax must be used to define arrays
(#1199) No one-line description found in phpdocs for docblock of function discussion_sorting
(#1205) Short array syntax must be used to define arrays
(#1222) No one-line description found in phpdocs for docblock of function raw_post_subject
(#1235) No one-line description found in phpdocs for docblock of function post_message
(#1236) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1245) Line exceeds 132 characters; contains 156 characters
(#1249) Short array syntax must be used to define arrays
(#1255) Whitespace found at end of line
(#1270) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1270) Line exceeds 132 characters; contains 142 characters
(#1275) Line exceeds 132 characters; contains 139 characters
(#1286) No one-line description found in phpdocs for docblock of function post_rating
(#1309) No one-line description found in phpdocs for docblock of function user_posts_overview
(#1310) global $PAGE cannot be used in renderers. Use $this->page.
(#1346) 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
(#1380) Short array syntax must be used to define arrays
(#1382) Short array syntax must be used to define arrays
(#1389) Logical operator "or" is prohibited; use "||" instead
(#1394) Short array syntax must be used to define arrays
(#1395) Expected 1 space before "+"; 0 found
(#1395) Expected 1 space after "+"; 0 found
(#1409) Short array syntax must be used to define arrays
(#1421) No one-line description found in phpdocs for docblock of function validation_errors
(#1427) Short array syntax must be used to define arrays
(#1431) Short array syntax must be used to define arrays
(#1447) Short array syntax must be used to define arrays
(#1448) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1454) Short array syntax must be used to define arrays
(#1462) Short array syntax must be used to define arrays
(#1465) Short array syntax must be used to define arrays
(#1473) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1480) Short array syntax must be used to define arrays
(#1485) Short array syntax must be used to define arrays
(#1504) Short array syntax must be used to define arrays
(#1552) Short array syntax must be used to define arrays
(#1575) Short array syntax must be used to define arrays
(#1576) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1592) Short array syntax must be used to define arrays
(#1595) Inline comments must end in full-stops, exclamation marks, or question marks
(#1602) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1609) Short array syntax must be used to define arrays
(#1615) Short array syntax must be used to define arrays
(#1635) Short array syntax must be used to define arrays
(#1644) Short array syntax must be used to define arrays
(#1665) Short array syntax must be used to define arrays
(#1678) Short array syntax must be used to define arrays
(#1684) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1708) Short array syntax must be used to define arrays
(#1713) Whitespace found at end of line within string
(#1745) Line exceeds maximum limit of 180 characters; contains 182 characters
(#1749) Line exceeds maximum limit of 180 characters; contains 271 characters
(#1770) Missing docblock for function article_js
(#1781) Short array syntax must be used to define arrays
(#1781) Short array syntax must be used to define arrays
(#1785) Short array syntax must be used to define arrays
(#1793) Missing docblock for function get_post_user_url
(#1800) Missing docblock for function notification_area
(#1813) No one-line description found in phpdocs for docblock of function post_get_commands
(#1814) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1816) Short array syntax must be used to define arrays
(#1818) Short array syntax must be used to define arrays
(#1830) Short array syntax must be used to define arrays
(#1832) Short array syntax must be used to define arrays
(#1839) Inline comments must end in full-stops, exclamation marks, or question marks
(#1844) Line exceeds 132 characters; contains 151 characters
(#1846) Short array syntax must be used to define arrays
(#1851) Line exceeds maximum limit of 180 characters; contains 250 characters
(#1853) Short array syntax must be used to define arrays
(#1863) Short array syntax must be used to define arrays
(#1865) Short array syntax must be used to define arrays
(#1868) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1870) Line exceeds maximum limit of 180 characters; contains 272 characters
(#1873) Short array syntax must be used to define arrays
(#1920) global $PAGE cannot be used in renderers. Use $this->page.
(#1922) global $PAGE cannot be used in renderers. Use $this->page.
(#1922) Short array syntax must be used to define arrays
(#1926) Commas (,) must be followed by white space.
(#1927) Commas (,) must be followed by white space.
(#1928) Commas (,) must be followed by white space.
(#1946) Expected "if (...) {\n"; found "if (...){\n"
(#1961) Expected "} else {\n"; found "} else{\n"
(#1964) Line exceeds 132 characters; contains 150 characters
(#1965) Line exceeds 132 characters; contains 150 characters
(#1977) global $PAGE cannot be used in renderers. Use $this->page.
(#1983) global $PAGE cannot be used in renderers. Use $this->page.
(#1991) global $PAGE cannot be used in renderers. Use $this->page.
(#1999) Expected 1 space after "!=="; 0 found
(#1999) Expected 1 space after "!=="; 0 found
(#2013) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2013) Inline comments must end in full-stops, exclamation marks, or question marks
(#2013) This comment is 67% valid code; is this commented out code?
(#2013) No space found before comment text; expected "// fill="#FFFFFF"" but found "//fill="#FFFFFF""
(#2014) 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
(#38) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $db.
(#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
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) No space found before comment text; expected "// are RSS feeds enabled?" but found "//are RSS feeds enabled?"
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) 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"
(#57) Short array syntax must be used to define arrays
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) 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"
(#69) No space found before comment text; expected "// Is the cache out of date?" but found "//Is the cache out of date?"
(#75) Expected 1 space before "-"; 0 found
(#75) Expected 1 space after "-"; 0 found
(#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
(#85) No space found before comment text; expected "// return the path to the cached version" but found "//return the path to the cached version"
(#98) 55 slashes comments are not allowed; use "// Comment." instead
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) No space found before comment text; expected "// Utility functions" but found "//Utility functions"
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#152) Short array syntax must be used to define arrays
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#156) 3 slashes comments are not allowed; use "// Comment." instead
(#186) Line exceeds maximum limit of 180 characters; contains 252 characters
(#198) Short array syntax must be used to define arrays
(#217) Short array syntax must be used to define arrays
(#259) Short array syntax must be used to define arrays
(#273) Short array syntax must be used to define arrays
(#276) Logical operator "or" is prohibited; use "||" instead
(#292) Short array syntax must be used to define arrays
(#305) Invalid docblock tag "@Todo".
(#308) Missing docblock for function hsuforum_rss_feed_contents
(#315) Inline comments must start with a capital letter, digit or 3-dots sequence
(#315) 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?"
(#317) Expected 1 space before "!="; 0 found
(#317) Expected 1 space after "!="; 0 found
(#326) Short array syntax must be used to define arrays
(#346) Inline comments must end in full-stops, exclamation marks, or question marks
(#363) Inline comments must end in full-stops, exclamation marks, or question marks
(#369) Inline comments must start with a capital letter, digit or 3-dots sequence
(#369) Inline comments must end in full-stops, exclamation marks, or question marks
(#369) 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"
(#370) Commas (,) must be followed by white space.
(#370) Line exceeds 132 characters; contains 141 characters
(#372) Short array syntax must be used to define arrays
(#388) Inline comments must end in full-stops, exclamation marks, or question marks
(#388) No space found before comment text; expected "// TODO: MDL-31129 implement post attachment handling" but found "//TODO: MDL-31129 implement post attachment handling"
(#389) This comment is 65% valid code; is this commented out code?
(#402) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#408) Line indented incorrectly; expected at least 4 spaces, found 0
(#413) 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
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#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 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
(#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
(#44) 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
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) 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
(#69) 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
(#73) No space found before comment text; expected "// TODO: this is very sloppy --skodak" but found "//TODO: this is very sloppy --skodak"
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Short array syntax must be used to define arrays
(#118) Expected 1 space before "=>"; 0 found
(#118) Expected 1 space after "=>"; 0 found
(#124) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#139) Expected 1 space before "=>"; 0 found
(#139) Expected 1 space after "=>"; 0 found
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) 3 slashes comments are not allowed; use "// Comment." instead
(#161) Short array syntax must be used to define arrays
(#161) Expected 1 space before "=>"; 0 found
(#161) Expected 1 space after "=>"; 0 found
(#163) Expected 1 space before "*"; 0 found
(#163) Expected 1 space after "*"; 0 found
(#180) Inline comments must start with a capital letter, digit or 3-dots sequence
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) 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"
(#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
(#183) 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"
(#225) Short array syntax must be used to define arrays
(#227) Inline comments must start with a capital letter, digit or 3-dots sequence
(#227) 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"
(#228) Inline comments must end in full-stops, exclamation marks, or question marks
(#228) No space found before comment text; expected "// fiedorow - 9/2/2005" but found "//fiedorow - 9/2/2005"
(#229) Commas (,) must be followed by white space.
(#229) Commas (,) must be followed by white space.
(#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) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) Commas (,) must be followed by white space.
(#237) Commas (,) must be followed by white space.
(#237) Commas (,) must be followed by white space.
(#240) Inline comments must end in full-stops, exclamation marks, or question marks
(#243) Short array syntax must be used to define arrays
(#251) Short array syntax must be used to define arrays
(#254) Short array syntax must be used to define arrays
(#269) Commas (,) must be followed by white space.
(#271) Commas (,) must be followed by white space.
(#273) Commas (,) must be followed by white space.
(#273) Line exceeds 132 characters; contains 142 characters
(#279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#279) No space found before comment text; expected "// add the ratings information to the post" but found "//add the ratings information to the post"
(#280) Inline comments must end in full-stops, exclamation marks, or question marks
(#280) 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"
(#284) Short array syntax must be used to define arrays
(#285) Inline comments must start with a capital letter, digit or 3-dots sequence
(#285) Inline comments must end in full-stops, exclamation marks, or question marks
(#285) No space found before comment text; expected "// the aggregation method" but found "//the aggregation method"
(#291) Expected 1 space before "=="; 0 found
(#291) Expected 1 space after "=="; 0 found
(#299) 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
(#32) 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
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Line exceeds 132 characters; contains 133 characters
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Short array syntax must be used to define arrays
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Short array syntax must be used to define arrays
(#84) Commas (,) must be followed by white space.
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#99) Expected 1 space before "=>"; 0 found
(#99) Expected 1 space after "=>"; 0 found
(#99) Expected 1 space before "=>"; 0 found
(#99) Expected 1 space after "=>"; 0 found
(#106) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
mod/hsuforum/subscribe.php
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#43) Short array syntax must be used to define arrays
(#43) Expected 1 space before "=>"; 0 found
(#43) Expected 1 space after "=>"; 0 found
(#55) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Short array syntax must be used to define arrays
(#89) Expected 1 space before "=>"; 0 found
(#89) Expected 1 space after "=>"; 0 found
(#95) Short array syntax must be used to define arrays
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#103) Commas (,) must be followed by white space.
(#103) Commas (,) must be followed by white space.
(#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
(#176) Short array syntax must be used to define arrays
(#176) Short array syntax must be used to define arrays
(#176) Line exceeds 132 characters; contains 136 characters
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) Inline comments must start with a capital letter, digit or 3-dots sequence
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#205) Short array syntax must be used to define arrays
(#205) Short array syntax must be used to define arrays
(#205) Line exceeds 132 characters; contains 136 characters
mod/hsuforum/subscribers.php
(#30) Commas (,) must be followed by white space.
(#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) Commas (,) must be followed by white space.
(#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 end in full-stops, exclamation marks, or question marks
(#34) Short array syntax must be used to define arrays
(#34) Expected 1 space before "=>"; 0 found
(#34) 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
(#44) Short array syntax must be used to define arrays
(#44) Expected 1 space before "=>"; 0 found
(#44) Expected 1 space after "=>"; 0 found
(#58) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#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
(#76) Inline doc block comments are not allowed; use "// Comment." instead
(#153) Short array syntax must be used to define arrays
mod/hsuforum/tests/backup_hsuforum_activity_test.php
(#43) Unit test backup_hsuforum_activity_test should be declared as final.
(#43) PHPUnit class "backup_hsuforum_activity_test" 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
(#53) Test method test_encode_content_links() is missing a return type
(#57) Missing docblock for function encode_content_links_provider in testcase
(#57) Data provider method "encode_content_links_provider" will need to be converted to static in future.
(#57) Data provider method "encode_content_links_provider" must return an array, a Generator or an Iterable.
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
(#49) Unit test custom_completion_test should be declared as final.
(#58) Data provider method "get_state_provider" will need to be converted to static in future.
(#106) Test method test_get_state() is missing any coverage information, own or at class level
(#106) Test method test_get_state() is missing a return type
(#163) Test method test_get_defined_custom_rules() is missing any coverage information, own or at class level
(#163) Test method test_get_defined_custom_rules() is missing a return type
(#172) Test method test_get_custom_rule_descriptions() is missing any coverage information, own or at class level
(#172) Test method test_get_custom_rule_descriptions() is missing a return type
(#197) Test method test_is_defined() is missing any coverage information, own or at class level
(#197) Test method test_is_defined() is missing a return type
(#217) Data provider method "get_available_custom_rules_provider" will need to be converted to static in future.
(#247) Test method test_get_available_custom_rules() is missing any coverage information, own or at class level
(#247) Test method test_get_available_custom_rules() is missing a return type
mod/hsuforum/tests/events_test.php
(#26) PHPUnit class "mod_hsuforum\tests\events_test", with namespace "mod_hsuforum\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) Unit test events_test should be declared as final.
(#50) Test method test_course_searched_searchterm_validation() is missing any coverage information, own or at class level
(#50) Test method test_course_searched_searchterm_validation() is missing a return type
(#53) Short array syntax must be used to define arrays
(#65) Test method test_course_searched_context_validation() is missing any coverage information, own or at class level
(#65) Test method test_course_searched_context_validation() is missing a return type
(#67) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#82) Test method test_course_searched() is missing any coverage information, own or at class level
(#82) Test method test_course_searched() is missing a return type
(#89) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#115) Test method test_discussion_created_forumid_validation() is missing any coverage information, own or at class level
(#115) Test method test_discussion_created_forumid_validation() is missing a return type
(#117) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#132) Test method test_discussion_created_context_validation() is missing any coverage information, own or at class level
(#132) Test method test_discussion_created_context_validation() is missing a return type
(#134) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#149) Test method test_discussion_created() is missing any coverage information, own or at class level
(#149) Test method test_discussion_created() is missing a return type
(#153) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#165) Short array syntax must be used to define arrays
(#168) Short array syntax must be used to define arrays
(#192) Test method test_discussion_updated_forumid_validation() is missing any coverage information, own or at class level
(#192) Test method test_discussion_updated_forumid_validation() is missing a return type
(#194) Short array syntax must be used to define arrays
(#197) Short array syntax must be used to define arrays
(#209) Test method test_discussion_updated_context_validation() is missing any coverage information, own or at class level
(#209) Test method test_discussion_updated_context_validation() is missing a return type
(#211) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#215) Short array syntax must be used to define arrays
(#226) Test method test_discussion_updated() is missing any coverage information, own or at class level
(#226) Test method test_discussion_updated() is missing a return type
(#230) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#245) Short array syntax must be used to define arrays
(#269) Test method test_discussion_deleted_forumid_validation() is missing any coverage information, own or at class level
(#269) Test method test_discussion_deleted_forumid_validation() is missing a return type
(#271) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#286) Test method test_discussion_deleted_context_validation() is missing any coverage information, own or at class level
(#286) Test method test_discussion_deleted_context_validation() is missing a return type
(#288) Short array syntax must be used to define arrays
(#290) Short array syntax must be used to define arrays
(#292) Short array syntax must be used to define arrays
(#303) Test method test_discussion_deleted() is missing any coverage information, own or at class level
(#303) Test method test_discussion_deleted() is missing a return type
(#307) Short array syntax must be used to define arrays
(#311) 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
(#345) Test method test_discussion_moved_fromforumid_validation() is missing any coverage information, own or at class level
(#345) Test method test_discussion_moved_fromforumid_validation() is missing a return type
(#347) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#353) Short array syntax must be used to define arrays
(#364) Test method test_discussion_moved_toforumid_validation() is missing any coverage information, own or at class level
(#364) Test method test_discussion_moved_toforumid_validation() is missing a return type
(#366) Short array syntax must be used to define arrays
(#367) Short array syntax must be used to define arrays
(#370) Short array syntax must be used to define arrays
(#372) Short array syntax must be used to define arrays
(#383) Test method test_discussion_moved_context_validation() is missing any coverage information, own or at class level
(#383) Test method test_discussion_moved_context_validation() is missing a return type
(#385) Short array syntax must be used to define arrays
(#386) Short array syntax must be used to define arrays
(#390) Short array syntax must be used to define arrays
(#396) Short array syntax must be used to define arrays
(#399) Short array syntax must be used to define arrays
(#410) Test method test_discussion_moved() is missing any coverage information, own or at class level
(#410) Test method test_discussion_moved() is missing a return type
(#413) Short array syntax must be used to define arrays
(#414) Short array syntax must be used to define arrays
(#418) Short array syntax must be used to define arrays
(#426) Short array syntax must be used to define arrays
(#429) Short array syntax must be used to define arrays
(#453) Test method test_discussion_viewed_context_validation() is missing any coverage information, own or at class level
(#453) Test method test_discussion_viewed_context_validation() is missing a return type
(#455) Short array syntax must be used to define arrays
(#459) Short array syntax must be used to define arrays
(#465) Short array syntax must be used to define arrays
(#478) Test method test_discussion_viewed() is missing any coverage information, own or at class level
(#478) Test method test_discussion_viewed() is missing a return type
(#481) Short array syntax must be used to define arrays
(#485) Short array syntax must be used to define arrays
(#493) Short array syntax must be used to define arrays
(#518) Test method test_course_module_viewed_context_validation() is missing any coverage information, own or at class level
(#518) Test method test_course_module_viewed_context_validation() is missing a return type
(#520) Short array syntax must be used to define arrays
(#522) Short array syntax must be used to define arrays
(#535) Test method test_course_module_viewed() is missing any coverage information, own or at class level
(#535) Test method test_course_module_viewed() is missing a return type
(#538) Short array syntax must be used to define arrays
(#542) Short array syntax must be used to define arrays
(#559) Short array syntax must be used to define arrays
(#569) Test method test_subscription_created_forumid_validation() is missing any coverage information, own or at class level
(#569) Test method test_subscription_created_forumid_validation() is missing a return type
(#572) Short array syntax must be used to define arrays
(#574) Short array syntax must be used to define arrays
(#587) Test method test_subscription_created_relateduserid_validation() is missing any coverage information, own or at class level
(#587) Test method test_subscription_created_relateduserid_validation() is missing a return type
(#589) Short array syntax must be used to define arrays
(#591) Short array syntax must be used to define arrays
(#604) Test method test_subscription_created_contextlevel_validation() is missing any coverage information, own or at class level
(#604) Test method test_subscription_created_contextlevel_validation() is missing a return type
(#607) Short array syntax must be used to define arrays
(#609) Short array syntax must be used to define arrays
(#611) Short array syntax must be used to define arrays
(#623) Test method test_subscription_created() is missing any coverage information, own or at class level
(#623) Test method test_subscription_created() is missing a return type
(#627) Short array syntax must be used to define arrays
(#632) Short array syntax must be used to define arrays
(#638) Short array syntax must be used to define arrays
(#641) Short array syntax must be used to define arrays
(#657) Short array syntax must be used to define arrays
(#667) Test method test_subscription_deleted_forumid_validation() is missing any coverage information, own or at class level
(#667) Test method test_subscription_deleted_forumid_validation() is missing a return type
(#670) Short array syntax must be used to define arrays
(#672) Short array syntax must be used to define arrays
(#685) Test method test_subscription_deleted_relateduserid_validation() is missing any coverage information, own or at class level
(#685) Test method test_subscription_deleted_relateduserid_validation() is missing a return type
(#687) Short array syntax must be used to define arrays
(#689) Short array syntax must be used to define arrays
(#702) Test method test_subscription_deleted_contextlevel_validation() is missing any coverage information, own or at class level
(#702) Test method test_subscription_deleted_contextlevel_validation() is missing a return type
(#705) Short array syntax must be used to define arrays
(#707) Short array syntax must be used to define arrays
(#709) Short array syntax must be used to define arrays
(#721) Test method test_subscription_deleted() is missing any coverage information, own or at class level
(#721) Test method test_subscription_deleted() is missing a return type
(#725) Short array syntax must be used to define arrays
(#730) Short array syntax must be used to define arrays
(#736) Short array syntax must be used to define arrays
(#739) Short array syntax must be used to define arrays
(#755) Short array syntax must be used to define arrays
(#765) Test method test_readtracking_enabled_forumid_validation() is missing any coverage information, own or at class level
(#765) Test method test_readtracking_enabled_forumid_validation() is missing a return type
(#768) Short array syntax must be used to define arrays
(#770) Short array syntax must be used to define arrays
(#783) Test method test_readtracking_enabled_relateduserid_validation() is missing any coverage information, own or at class level
(#783) Test method test_readtracking_enabled_relateduserid_validation() is missing a return type
(#785) Short array syntax must be used to define arrays
(#787) Short array syntax must be used to define arrays
(#800) Test method test_readtracking_enabled_contextlevel_validation() is missing any coverage information, own or at class level
(#800) Test method test_readtracking_enabled_contextlevel_validation() is missing a return type
(#803) Short array syntax must be used to define arrays
(#805) Short array syntax must be used to define arrays
(#807) Short array syntax must be used to define arrays
(#819) Test method test_readtracking_enabled() is missing any coverage information, own or at class level
(#819) Test method test_readtracking_enabled() is missing a return type
(#823) Short array syntax must be used to define arrays
(#826) Short array syntax must be used to define arrays
(#828) Short array syntax must be used to define arrays
(#844) Short array syntax must be used to define arrays
(#854) Test method test_readtracking_disabled_forumid_validation() is missing any coverage information, own or at class level
(#854) Test method test_readtracking_disabled_forumid_validation() is missing a return type
(#857) Short array syntax must be used to define arrays
(#859) Short array syntax must be used to define arrays
(#872) Test method test_readtracking_disabled_relateduserid_validation() is missing any coverage information, own or at class level
(#872) Test method test_readtracking_disabled_relateduserid_validation() is missing a return type
(#874) Short array syntax must be used to define arrays
(#876) Short array syntax must be used to define arrays
(#889) Test method test_readtracking_disabled_contextlevel_validation() is missing any coverage information, own or at class level
(#889) Test method test_readtracking_disabled_contextlevel_validation() is missing a return type
(#892) Short array syntax must be used to define arrays
(#894) Short array syntax must be used to define arrays
(#896) Short array syntax must be used to define arrays
(#908) Test method test_readtracking_disabled() is missing any coverage information, own or at class level
(#908) Test method test_readtracking_disabled() is missing a return type
(#912) Short array syntax must be used to define arrays
(#915) Short array syntax must be used to define arrays
(#917) Short array syntax must be used to define arrays
(#933) Short array syntax must be used to define arrays
(#943) Test method test_subscribers_viewed_forumid_validation() is missing any coverage information, own or at class level
(#943) Test method test_subscribers_viewed_forumid_validation() is missing a return type
(#946) Short array syntax must be used to define arrays
(#948) Short array syntax must be used to define arrays
(#961) Test method test_subscribers_viewed_contextlevel_validation() is missing any coverage information, own or at class level
(#961) Test method test_subscribers_viewed_contextlevel_validation() is missing a return type
(#964) Short array syntax must be used to define arrays
(#966) Short array syntax must be used to define arrays
(#968) Short array syntax must be used to define arrays
(#980) Test method test_subscribers_viewed() is missing any coverage information, own or at class level
(#980) Test method test_subscribers_viewed() is missing a return type
(#983) Short array syntax must be used to define arrays
(#986) Short array syntax must be used to define arrays
(#988) Short array syntax must be used to define arrays
(#1011) Test method test_user_report_viewed_reportmode_validation() is missing any coverage information, own or at class level
(#1011) Test method test_user_report_viewed_reportmode_validation() is missing a return type
(#1015) Short array syntax must be used to define arrays
(#1028) Test method test_user_report_viewed_contextlevel_validation() is missing any coverage information, own or at class level
(#1028) Test method test_user_report_viewed_contextlevel_validation() is missing a return type
(#1031) Short array syntax must be used to define arrays
(#1033) Short array syntax must be used to define arrays
(#1035) Short array syntax must be used to define arrays
(#1047) Test method test_user_report_viewed_relateduserid_validation() is missing any coverage information, own or at class level
(#1047) Test method test_user_report_viewed_relateduserid_validation() is missing a return type
(#1049) Short array syntax must be used to define arrays
(#1051) Short array syntax must be used to define arrays
(#1062) Test method test_user_report_viewed() is missing any coverage information, own or at class level
(#1062) Test method test_user_report_viewed() is missing a return type
(#1068) Short array syntax must be used to define arrays
(#1071) Short array syntax must be used to define arrays
(#1094) Test method test_post_created_postid_validation() is missing any coverage information, own or at class level
(#1094) Test method test_post_created_postid_validation() is missing a return type
(#1096) Short array syntax must be used to define arrays
(#1100) Short array syntax must be used to define arrays
(#1106) Short array syntax must be used to define arrays
(#1108) Short array syntax must be used to define arrays
(#1117) Test method test_post_created_discussionid_validation() is missing any coverage information, own or at class level
(#1117) Test method test_post_created_discussionid_validation() is missing a return type
(#1119) Short array syntax must be used to define arrays
(#1123) Short array syntax must be used to define arrays
(#1130) Short array syntax must be used to define arrays
(#1135) Short array syntax must be used to define arrays
(#1138) Short array syntax must be used to define arrays
(#1149) Test method test_post_created_forumid_validation() is missing any coverage information, own or at class level
(#1149) Test method test_post_created_forumid_validation() is missing a return type
(#1151) Short array syntax must be used to define arrays
(#1155) Short array syntax must be used to define arrays
(#1162) Short array syntax must be used to define arrays
(#1167) Short array syntax must be used to define arrays
(#1170) Short array syntax must be used to define arrays
(#1181) Test method test_post_created_forumtype_validation() is missing any coverage information, own or at class level
(#1181) Test method test_post_created_forumtype_validation() is missing a return type
(#1183) Short array syntax must be used to define arrays
(#1187) Short array syntax must be used to define arrays
(#1194) Short array syntax must be used to define arrays
(#1199) Short array syntax must be used to define arrays
(#1202) Short array syntax must be used to define arrays
(#1213) Test method test_post_created_context_validation() is missing any coverage information, own or at class level
(#1213) Test method test_post_created_context_validation() is missing a return type
(#1215) Short array syntax must be used to define arrays
(#1219) Short array syntax must be used to define arrays
(#1226) Short array syntax must be used to define arrays
(#1231) Short array syntax must be used to define arrays
(#1234) Short array syntax must be used to define arrays
(#1245) Test method test_post_created() is missing any coverage information, own or at class level
(#1245) Test method test_post_created() is missing a return type
(#1248) Short array syntax must be used to define arrays
(#1252) Short array syntax must be used to define arrays
(#1259) Short array syntax must be used to define arrays
(#1266) Short array syntax must be used to define arrays
(#1269) Short array syntax must be used to define arrays
(#1284) Short array syntax must be used to define arrays
(#1295) Test method test_post_created_single() is missing any coverage information, own or at class level
(#1295) Test method test_post_created_single() is missing a return type
(#1298) Short array syntax must be used to define arrays
(#1302) Short array syntax must be used to define arrays
(#1309) Short array syntax must be used to define arrays
(#1316) Short array syntax must be used to define arrays
(#1319) Short array syntax must be used to define arrays
(#1334) Short array syntax must be used to define arrays
(#1345) Test method test_post_deleted_postid_validation() is missing any coverage information, own or at class level
(#1345) Test method test_post_deleted_postid_validation() is missing a return type
(#1347) Short array syntax must be used to define arrays
(#1351) Short array syntax must be used to define arrays
(#1357) Short array syntax must be used to define arrays
(#1359) Short array syntax must be used to define arrays
(#1368) Test method test_post_deleted_discussionid_validation() is missing any coverage information, own or at class level
(#1368) Test method test_post_deleted_discussionid_validation() is missing a return type
(#1370) Short array syntax must be used to define arrays
(#1374) Short array syntax must be used to define arrays
(#1381) Short array syntax must be used to define arrays
(#1386) Short array syntax must be used to define arrays
(#1389) Short array syntax must be used to define arrays
(#1400) Test method test_post_deleted_forumid_validation() is missing any coverage information, own or at class level
(#1400) Test method test_post_deleted_forumid_validation() is missing a return type
(#1402) Short array syntax must be used to define arrays
(#1406) Short array syntax must be used to define arrays
(#1413) Short array syntax must be used to define arrays
(#1418) Short array syntax must be used to define arrays
(#1421) Short array syntax must be used to define arrays
(#1432) Test method test_post_deleted_forumtype_validation() is missing any coverage information, own or at class level
(#1432) Test method test_post_deleted_forumtype_validation() is missing a return type
(#1434) Short array syntax must be used to define arrays
(#1438) Short array syntax must be used to define arrays
(#1445) Short array syntax must be used to define arrays
(#1450) Short array syntax must be used to define arrays
(#1453) Short array syntax must be used to define arrays
(#1464) Test method test_post_deleted_context_validation() is missing any coverage information, own or at class level
(#1464) Test method test_post_deleted_context_validation() is missing a return type
(#1466) Short array syntax must be used to define arrays
(#1470) Short array syntax must be used to define arrays
(#1477) Short array syntax must be used to define arrays
(#1482) Short array syntax must be used to define arrays
(#1485) Short array syntax must be used to define arrays
(#1496) Test method test_post_deleted() is missing any coverage information, own or at class level
(#1496) Test method test_post_deleted() is missing a return type
(#1501) Short array syntax must be used to define arrays
(#1506) Short array syntax must be used to define arrays
(#1518) Short array syntax must be used to define arrays
(#1521) Short array syntax must be used to define arrays
(#1539) Short array syntax must be used to define arrays
(#1558) Short array syntax must be used to define arrays
(#1568) Test method test_post_deleted_single() is missing any coverage information, own or at class level
(#1568) Test method test_post_deleted_single() is missing a return type
(#1571) Short array syntax must be used to define arrays
(#1575) Short array syntax must be used to define arrays
(#1582) Short array syntax must be used to define arrays
(#1589) Short array syntax must be used to define arrays
(#1592) Short array syntax must be used to define arrays
(#1607) Short array syntax must be used to define arrays
(#1617) Test method test_post_updated_discussionid_validation() is missing any coverage information, own or at class level
(#1617) Test method test_post_updated_discussionid_validation() is missing a return type
(#1619) Short array syntax must be used to define arrays
(#1623) Short array syntax must be used to define arrays
(#1630) Short array syntax must be used to define arrays
(#1635) Short array syntax must be used to define arrays
(#1638) Short array syntax must be used to define arrays
(#1649) Test method test_post_updated_forumid_validation() is missing any coverage information, own or at class level
(#1649) Test method test_post_updated_forumid_validation() is missing a return type
(#1651) Short array syntax must be used to define arrays
(#1655) Short array syntax must be used to define arrays
(#1662) Short array syntax must be used to define arrays
(#1667) Short array syntax must be used to define arrays
(#1670) Short array syntax must be used to define arrays
(#1681) Test method test_post_updated_forumtype_validation() is missing any coverage information, own or at class level
(#1681) Test method test_post_updated_forumtype_validation() is missing a return type
(#1683) Short array syntax must be used to define arrays
(#1687) Short array syntax must be used to define arrays
(#1694) Short array syntax must be used to define arrays
(#1699) Short array syntax must be used to define arrays
(#1702) Short array syntax must be used to define arrays
(#1713) Test method test_post_updated_context_validation() is missing any coverage information, own or at class level
(#1713) Test method test_post_updated_context_validation() is missing a return type
(#1715) Short array syntax must be used to define arrays
(#1719) Short array syntax must be used to define arrays
(#1726) Short array syntax must be used to define arrays
(#1731) Short array syntax must be used to define arrays
(#1734) Short array syntax must be used to define arrays
(#1745) Test method test_post_updated() is missing any coverage information, own or at class level
(#1745) Test method test_post_updated() is missing a return type
(#1748) Short array syntax must be used to define arrays
(#1752) Short array syntax must be used to define arrays
(#1759) Short array syntax must be used to define arrays
(#1766) Short array syntax must be used to define arrays
(#1769) Short array syntax must be used to define arrays
(#1784) Short array syntax must be used to define arrays
(#1795) Test method test_post_updated_single() is missing any coverage information, own or at class level
(#1795) Test method test_post_updated_single() is missing a return type
(#1798) Short array syntax must be used to define arrays
(#1802) Short array syntax must be used to define arrays
(#1809) Short array syntax must be used to define arrays
(#1816) Short array syntax must be used to define arrays
(#1819) Short array syntax must be used to define arrays
(#1834) Short array syntax must be used to define arrays
(#1845) Test method test_observers() is missing any coverage information, own or at class level
(#1845) Test method test_observers() is missing a return type
(#1853) Short array syntax must be used to define arrays
(#1854) Short array syntax must be used to define arrays
(#1860) Short array syntax must be used to define arrays
(#1866) Short array syntax must be used to define arrays
(#1867) Short array syntax must be used to define arrays
(#1872) Short array syntax must be used to define arrays
(#1881) Short array syntax must be used to define arrays
(#1888) Inline comments must end in full-stops, exclamation marks, or question marks
(#1893) Short array syntax must be used to define arrays
(#1894) Short array syntax must be used to define arrays
(#1895) Short array syntax must be used to define arrays
(#1898) 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
(#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) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $options.
(#25) Line exceeds 132 characters; contains 147 characters
(#30) Unit test form_service_test should be declared as final.
(#30) PHPUnit class "form_service_test" 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 form_service_test
(#31) Test method test_prepare_draft_area() is missing any coverage information, own or at class level
(#31) Test method test_prepare_draft_area() is missing a return type
(#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
(#86) Short array syntax must be used to define arrays
(#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
(#67) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $options.
(#219) Short array syntax must be used to define arrays
(#361) Missing docblock for function create_content
(#361) Short array syntax must be used to define arrays
(#363) Short array syntax must be used to define arrays
(#371) Short array syntax must be used to define arrays
(#375) Short array syntax must be used to define arrays
(#375) Line exceeds 132 characters; contains 138 characters
(#377) Short array syntax must be used to define arrays
(#377) 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) Unit test generator_test should be declared as final.
(#37) PHPUnit class "generator_test" 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
(#38) Test method test_generator() is missing a return type
(#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
(#77) Test method test_create_discussion() is missing a return type
(#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
(#117) Test method test_create_post() is missing a return type
(#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
(#162) Test method test_create_content() is missing a return type
(#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
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for trait generator_trait
(#41) 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
(#88) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
mod/hsuforum/tests/grades_gradeitems_test.php
(#28) PHPUnit class "tests\mod_hsuforum\grades\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) Unit test grades_gradeitems_test should be declared as final.
(#43) Opening brace should be on the same line as the declaration for class grades_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
(#47) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
mod/hsuforum/tests/lib_test.php
(#25) PHPUnit class "mod_hsuforum\tests\lib_test", with namespace "mod_hsuforum\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
(#38) Unit test lib_test should be declared as final.
(#38) Missing docblock for class lib_test
(#40) Test method test_hsuforum_trigger_content_uploaded_event() is missing any coverage information, own or at class level
(#40) Test method test_hsuforum_trigger_content_uploaded_event() is missing a return type
(#45) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#80) Test method test_hsuforum_get_courses_user_posted_in() is missing any coverage information, own or at class level
(#80) Test method test_hsuforum_get_courses_user_posted_in() is missing a return type
(#159) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#177) Test method test_hsuforum_tp_get_course_unread_posts() is missing any coverage information, own or at class level
(#177) Test method test_hsuforum_tp_get_course_unread_posts() is missing a return type
(#185) Short array syntax must be used to define arrays
(#207) Test method test_forum_auto_subscribe_on_create() is missing any coverage information, own or at class level
(#207) Test method test_forum_auto_subscribe_on_create() is missing a return type
(#214) Short array syntax must be used to define arrays
(#222) Short array syntax must be used to define arrays
(#235) Test method test_forum_forced_subscribe_on_create() is missing any coverage information, own or at class level
(#235) Test method test_forum_forced_subscribe_on_create() is missing a return type
(#242) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#263) Test method test_forum_optional_subscribe_on_create() is missing any coverage information, own or at class level
(#263) Test method test_forum_optional_subscribe_on_create() is missing a return type
(#270) Short array syntax must be used to define arrays
(#278) Short array syntax must be used to define arrays
(#292) Test method test_forum_disallow_subscribe_on_create() is missing any coverage information, own or at class level
(#292) Test method test_forum_disallow_subscribe_on_create() is missing a return type
(#299) Short array syntax must be used to define arrays
(#307) Short array syntax must be used to define arrays
(#318) Test method test_discussion_pinned_sort() is missing any coverage information, own or at class level
(#318) Test method test_discussion_pinned_sort() is missing a return type
(#327) Test method test_forum_view() is missing any coverage information, own or at class level
(#327) Test method test_forum_view() is missing a return type
(#333) Short array syntax must be used to define arrays
(#334) Short array syntax must be used to define arrays
(#335) Short array syntax must be used to define arrays
(#353) Short array syntax must be used to define arrays
(#368) Test method test_forum_discussion_view() is missing any coverage information, own or at class level
(#368) Test method test_forum_discussion_view() is missing a return type
(#375) Short array syntax must be used to define arrays
(#403) Test method test_forum_get_neighbours() is missing any coverage information, own or at class level
(#403) Test method test_forum_get_neighbours() is missing a return type
(#418) Short array syntax must be used to define arrays
(#527) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#531) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#604) Short array syntax must be used to define arrays
(#605) Short array syntax must be used to define arrays
(#606) Short array syntax must be used to define arrays
(#606) Line exceeds 132 characters; contains 133 characters
(#607) Short array syntax must be used to define arrays
(#608) Short array syntax must be used to define arrays
(#619) Short array syntax must be used to define arrays
(#623) Short array syntax must be used to define arrays
(#634) Short array syntax must be used to define arrays
(#636) Short array syntax must be used to define arrays
(#654) Test method test_forum_get_neighbours_blog() is missing any coverage information, own or at class level
(#654) Test method test_forum_get_neighbours_blog() is missing a return type
(#670) Short array syntax must be used to define arrays
(#832) Short array syntax must be used to define arrays
(#833) Short array syntax must be used to define arrays
(#847) Test method test_forum_get_neighbours_with_groups() is missing any coverage information, own or at class level
(#847) Test method test_forum_get_neighbours_with_groups() is missing a return type
(#861) Short array syntax must be used to define arrays
(#862) Short array syntax must be used to define arrays
(#867) Short array syntax must be used to define arrays
(#869) Short array syntax must be used to define arrays
(#869) Line exceeds 132 characters; contains 133 characters
(#870) Short array syntax must be used to define arrays
(#870) Line exceeds 132 characters; contains 134 characters
(#1049) Test method test_forum_get_neighbours_with_groups_blog() is missing any coverage information, own or at class level
(#1049) Test method test_forum_get_neighbours_with_groups_blog() is missing a return type
(#1058) Short array syntax must be used to define arrays
(#1059) 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
(#1068) Short array syntax must be used to define arrays
(#1246) Test method test_count_discussion_replies_basic() is missing any coverage information, own or at class level
(#1246) Test method test_count_discussion_replies_basic() is missing a return type
(#1254) Test method test_count_discussion_replies_limited() is missing any coverage information, own or at class level
(#1254) Test method test_count_discussion_replies_limited() is missing a return type
(#1261) Test method test_count_discussion_replies_paginated() is missing any coverage information, own or at class level
(#1261) Test method test_count_discussion_replies_paginated() is missing a return type
(#1268) Test method test_count_discussion_replies_paginated_sorted() is missing any coverage information, own or at class level
(#1268) Test method test_count_discussion_replies_paginated_sorted() is missing a return type
(#1280) Test method test_count_discussion_replies_limited_sorted() is missing any coverage information, own or at class level
(#1280) Test method test_count_discussion_replies_limited_sorted() is missing a return type
(#1292) Test method test_count_discussion_replies_paginated_sorted_small() is missing any coverage information, own or at class level
(#1292) Test method test_count_discussion_replies_paginated_sorted_small() is missing a return type
(#1304) Test method test_count_discussion_replies_paginated_sorted_small_reverse() is missing any coverage information, own or at class level
(#1304) Test method test_count_discussion_replies_paginated_sorted_small_reverse() is missing a return type
(#1316) Test method test_count_discussion_replies_limited_sorted_small_reverse() is missing any coverage information, own or at class level
(#1316) Test method test_count_discussion_replies_limited_sorted_small_reverse() is missing a return type
(#1328) Test method test_count_discussion_replies_private() is missing any coverage information, own or at class level
(#1328) Test method test_count_discussion_replies_private() is missing a return type
(#1351) Short array syntax must be used to define arrays
(#1366) Test method test_hsuforum_view() is missing any coverage information, own or at class level
(#1366) Test method test_hsuforum_view() is missing a return type
(#1373) Short array syntax must be used to define arrays
(#1374) Short array syntax must be used to define arrays
(#1375) Short array syntax must be used to define arrays
(#1393) Short array syntax must be used to define arrays
(#1408) Test method test_hsuforum_discussion_view() is missing any coverage information, own or at class level
(#1408) Test method test_hsuforum_discussion_view() is missing a return type
(#1415) Short array syntax must be used to define arrays
(#1458) Short array syntax must be used to define arrays
(#1469) Short array syntax must be used to define arrays
(#1492) Short array syntax must be used to define arrays
(#1527) Short array syntax must be used to define arrays
(#1548) Test method test_mod_hsuforum_rating_can_see_item_ratings() is missing any coverage information, own or at class level
(#1548) Test method test_mod_hsuforum_rating_can_see_item_ratings() is missing a return type
(#1558) Short array syntax must be used to define arrays
(#1570) Short array syntax must be used to define arrays
(#1576) Short array syntax must be used to define arrays
(#1577) Short array syntax must be used to define arrays
(#1591) Short array syntax must be used to define arrays
(#1605) Short array syntax must be used to define arrays
(#1648) Test method test_forum_get_discussions_with_groups() is missing any coverage information, own or at class level
(#1648) Test method test_forum_get_discussions_with_groups() is missing a return type
(#1654) Short array syntax must be used to define arrays
(#1659) Short array syntax must be used to define arrays
(#1667) Short array syntax must be used to define arrays
(#1671) Short array syntax must be used to define arrays
(#1672) Short array syntax must be used to define arrays
(#1673) Short array syntax must be used to define arrays
(#1684) Short array syntax must be used to define arrays
(#1767) Test method test_forum_user_can_post_discussion() is missing any coverage information, own or at class level
(#1767) Test method test_forum_user_can_post_discussion() is missing a return type
(#1773) Short array syntax must be used to define arrays
(#1780) Short array syntax must be used to define arrays
(#1791) Short array syntax must be used to define arrays
(#1868) Test method test_forum_user_has_posted_discussion_no_groups() is missing any coverage information, own or at class level
(#1868) Test method test_forum_user_has_posted_discussion_no_groups() is missing a return type
(#1900) Test method test_forum_user_has_posted_discussion_multiple_forums() is missing any coverage information, own or at class level
(#1900) Test method test_forum_user_has_posted_discussion_multiple_forums() is missing a return type
(#1932) Test method test_forum_user_has_posted_discussion_multiple_groups() is missing any coverage information, own or at class level
(#1932) Test method test_forum_user_has_posted_discussion_multiple_groups() is missing a return type
(#1941) Short array syntax must be used to define arrays
(#1942) Short array syntax must be used to define arrays
(#1987) Test method test_mod_hsuforum_myprofile_navigation() is missing any coverage information, own or at class level
(#1987) Test method test_mod_hsuforum_myprofile_navigation() is missing a return type
(#2011) Test method test_mod_hsuforum_myprofile_navigation_as_guest() is missing any coverage information, own or at class level
(#2011) Test method test_mod_hsuforum_myprofile_navigation_as_guest() is missing a return type
(#2036) Test method test_mod_hsuforum_myprofile_navigation_different_user() is missing any coverage information, own or at class level
(#2036) Test method test_mod_hsuforum_myprofile_navigation_different_user() is missing a return type
(#2058) Test method test_print_overview() is missing any coverage information, own or at class level
(#2058) Test method test_print_overview() is missing a return type
(#2073) Short array syntax must be used to define arrays
(#2080) Short array syntax must be used to define arrays
(#2081) Short array syntax must be used to define arrays
(#2099) Short array syntax must be used to define arrays
(#2107) Short array syntax must be used to define arrays
(#2124) Short array syntax must be used to define arrays
(#2131) Test method test_print_overview_groups() is missing any coverage information, own or at class level
(#2131) Test method test_print_overview_groups() is missing a return type
(#2134) Short array syntax must be used to define arrays
(#2135) 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
(#2148) Short array syntax must be used to define arrays
(#2153) Short array syntax must be used to define arrays
(#2167) Short array syntax must be used to define arrays
(#2171) Short array syntax must be used to define arrays
(#2183) Short array syntax must be used to define arrays
(#2194) Test method test_print_overview_timed() is missing any coverage information, own or at class level
(#2194) No one-line description found in phpdocs for docblock of function test_print_overview_timed
(#2194) Test method test_print_overview_timed() is missing a return type
(#2203) Short array syntax must be used to define arrays
(#2209) Short array syntax must be used to define arrays
(#2225) Short array syntax must be used to define arrays
(#2229) Short array syntax must be used to define arrays
(#2249) Test method test_print_overview_timed_groups() is missing any coverage information, own or at class level
(#2249) No one-line description found in phpdocs for docblock of function test_print_overview_timed_groups
(#2249) Test method test_print_overview_timed_groups() is missing a return type
(#2252) Short array syntax must be used to define arrays
(#2253) 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
(#2266) Short array syntax must be used to define arrays
(#2271) Short array syntax must be used to define arrays
(#2291) Short array syntax must be used to define arrays
(#2295) Short array syntax must be used to define arrays
(#2312) Short array syntax must be used to define arrays
(#2320) Missing docblock for function print_overview_timed_provider in testcase
(#2320) Data provider method "print_overview_timed_provider" will need to be converted to static in future.
(#2320) Data provider method "print_overview_timed_provider" will need to be converted to static in future.
(#2320) Data provider method "print_overview_timed_provider" must return an array, a Generator or an Iterable.
(#2320) Data provider method "print_overview_timed_provider" must return an array, a Generator or an Iterable.
(#2321) Short array syntax must be used to define arrays
(#2322) Short array syntax must be used to define arrays
(#2323) Short array syntax must be used to define arrays
(#2328) Short array syntax must be used to define arrays
(#2329) Short array syntax must be used to define arrays
(#2334) Short array syntax must be used to define arrays
(#2335) Short array syntax must be used to define arrays
(#2340) Short array syntax must be used to define arrays
(#2341) Short array syntax must be used to define arrays
(#2352) Test method test_pinned_discussion_with_group() is missing any coverage information, own or at class level
(#2352) Test method test_pinned_discussion_with_group() is missing a return type
(#2357) Short array syntax must be used to define arrays
(#2364) 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
(#2371) Short array syntax must be used to define arrays
(#2378) Short array syntax must be used to define arrays
(#2379) Short array syntax must be used to define arrays
(#2404) Line exceeds 132 characters; contains 133 characters
(#2480) Test method test_pinned_with_timed_discussions() is missing any coverage information, own or at class level
(#2480) Test method test_pinned_with_timed_discussions() is missing a return type
(#2495) Short array syntax must be used to define arrays
(#2502) Short array syntax must be used to define arrays
(#2552) Test method test_pinned_timed_discussions_with_timed_discussions() is missing any coverage information, own or at class level
(#2552) Test method test_pinned_timed_discussions_with_timed_discussions() is missing a return type
(#2567) Short array syntax must be used to define arrays
(#2574) Short array syntax must be used to define arrays
(#2635) Test method test_forum_get_unmailed_posts() is missing any coverage information, own or at class level
(#2635) No one-line description found in phpdocs for docblock of function test_forum_get_unmailed_posts
(#2635) Test method test_forum_get_unmailed_posts() is missing a return type
(#2679) Short array syntax must be used to define arrays
(#2691) Test method test_function_validate_files() is missing any coverage information, own or at class level
(#2691) Test method test_function_validate_files() is missing a return type
(#2691) Expected 1 space before opening brace; found 0
(#2701) Short array syntax must be used to define arrays
(#2715) Short array syntax must be used to define arrays
(#2716) Short array syntax must be used to define arrays
(#2727) Inline comments must end in full-stops, exclamation marks, or question marks
(#2729) Short array syntax must be used to define arrays
(#2730) Short array syntax must be used to define arrays
(#2736) Inline comments must end in full-stops, exclamation marks, or question marks
(#2739) Inline comments must end in full-stops, exclamation marks, or question marks
(#2744) Inline comments must end in full-stops, exclamation marks, or question marks
(#2750) Inline comments must end in full-stops, exclamation marks, or question marks
(#2751) Short array syntax must be used to define arrays
(#2759) Inline comments must end in full-stops, exclamation marks, or question marks
(#2760) Short array syntax must be used to define arrays
(#2767) Test method test_attachment_field_on_create_discussion() is missing any coverage information, own or at class level
(#2767) Test method test_attachment_field_on_create_discussion() is missing a return type
(#2774) Short array syntax must be used to define arrays
(#2799) Short array syntax must be used to define arrays
(#2806) Test method test_forum_is_author_hidden() is missing any coverage information, own or at class level
(#2806) Test method test_forum_is_author_hidden() is missing a return type
(#2838) Missing docblock for function hsuforum_get_unmailed_posts_provider in testcase
(#2838) Data provider method "hsuforum_get_unmailed_posts_provider" will need to be converted to static in future.
(#2838) Data provider method "hsuforum_get_unmailed_posts_provider" must return an array, a Generator or an Iterable.
(#2950) Line exceeds 132 characters; contains 141 characters
(#2961) Line exceeds 132 characters; contains 136 characters
(#3003) Test method test_forum_discussion_is_locked() is missing any coverage information, own or at class level
(#3003) Test method test_forum_discussion_is_locked() is missing a return type
(#3012) Data provider method "hsuforum_discussion_is_locked_provider" will need to be converted to static in future.
(#3012) Data provider method "hsuforum_discussion_is_locked_provider" must return an array, a Generator or an Iterable.
(#3055) Test method test_forum_update_post_keeps_discussions_usermodified() is missing any coverage information, own or at class level
(#3055) Test method test_forum_update_post_keeps_discussions_usermodified() is missing a return type
(#3148) Test method test_forum_core_calendar_provide_event_action() is missing any coverage information, own or at class level
(#3148) Test method test_forum_core_calendar_provide_event_action() is missing a return type
(#3154) Short array syntax must be used to define arrays
(#3175) Test method test_forum_core_calendar_provide_event_action_in_hidden_section() is missing any coverage information, own or at class level
(#3175) Test method test_forum_core_calendar_provide_event_action_in_hidden_section() is missing a return type
(#3188) Short array syntax must be used to define arrays
(#3212) Test method test_forum_core_calendar_provide_event_action_for_user() is missing any coverage information, own or at class level
(#3212) Test method test_forum_core_calendar_provide_event_action_for_user() is missing a return type
(#3225) Short array syntax must be used to define arrays
(#3250) Test method test_forum_core_calendar_provide_event_action_as_non_user() is missing any coverage information, own or at class level
(#3250) Test method test_forum_core_calendar_provide_event_action_as_non_user() is missing a return type
(#3258) Short array syntax must be used to define arrays
(#3278) Test method test_forum_core_calendar_provide_event_action_already_completed() is missing any coverage information, own or at class level
(#3278) Test method test_forum_core_calendar_provide_event_action_already_completed() is missing a return type
(#3287) Short array syntax must be used to define arrays
(#3288) Short array syntax must be used to define arrays
(#3289) Short array syntax must be used to define arrays
(#3312) Test method test_forum_core_calendar_provide_event_action_already_completed_for_user() is missing any coverage information, own or at class level
(#3312) Test method test_forum_core_calendar_provide_event_action_already_completed_for_user() is missing a return type
(#3321) Short array syntax must be used to define arrays
(#3327) Short array syntax must be used to define arrays
(#3328) Short array syntax must be used to define arrays
(#3351) Test method test_mod_hsuforum_get_tagged_posts() is missing any coverage information, own or at class level
(#3351) Test method test_mod_hsuforum_get_tagged_posts() is missing a return type
(#3362) 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
(#3365) Short array syntax must be used to define arrays
(#3365) Short array syntax must be used to define arrays
(#3366) Short array syntax must be used to define arrays
(#3366) 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
(#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
(#3373) Short array syntax must be used to define arrays
(#3373) Short array syntax must be used to define arrays
(#3374) Short array syntax must be used to define arrays
(#3374) Short array syntax must be used to define arrays
(#3410) Short array syntax must be used to define arrays
(#3465) Test method test_mod_hsuforum_completion_get_active_rule_descriptions() is missing any coverage information, own or at class level
(#3465) Test method test_mod_hsuforum_completion_get_active_rule_descriptions() is missing a return type
(#3510) Test method test_hsuforum_recent_activity_query() is missing any coverage information, own or at class level
(#3510) Test method test_hsuforum_recent_activity_query() is missing a return type
(#3523) No space found before comment text; expected "// Create 3 discussions." but found "//Create 3 discussions."
(#3556) Test method test_hsuforum_word_count() is missing any coverage information, own or at class level
(#3556) Test method test_hsuforum_word_count() is missing a return type
(#3567) No space found before comment text; expected "// Create a discussion." but found "//Create a discussion."
(#3584) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3594) Test method test_hsuforum_scale_dependency_form() is missing any coverage information, own or at class level
(#3594) Test method test_hsuforum_scale_dependency_form() is missing a return type
(#3615) Test method test_create_instance_with_advanced_grading() is missing any coverage information, own or at class level
(#3615) Test method test_create_instance_with_advanced_grading() is missing a return type
(#3615) Expected 0 spaces after "test_create_instance_with_advanced_grading"; 1 found
(#3623) Short array syntax must be used to define arrays
mod/hsuforum/tests/mail_test.php
(#30) Unit test mail_test should be declared as final.
(#30) PHPUnit class "mail_test" 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 mail_test
(#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
(#253) Test method test_cron_message_includes_courseid() is missing a return type
(#260) Short array syntax must be used to define arrays
(#300) Test method test_forced_subscription() is missing any coverage information, own or at class level
(#300) Test method test_forced_subscription() is missing a return type
(#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
(#339) Test method test_subscription_disabled() is missing a return type
(#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
(#401) Test method test_automatic() is missing a return type
(#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
(#440) Test method test_optional() is missing a return type
(#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
(#462) Test method test_automatic_with_unsubscribed_user() is missing a return type
(#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
(#504) Test method test_optional_with_subscribed_user() is missing a return type
(#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
(#546) Test method test_automatic_with_unsubscribed_discussion() is missing a return type
(#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
(#600) Test method test_optional_with_subscribed_discussion() is missing a return type
(#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
(#661) Test method test_automatic_with_subscribed_discussion_in_unsubscribed_forum() is missing a return type
(#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
(#743) Test method test_optional_with_unsubscribed_discussion_in_subscribed_forum() is missing a return type
(#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
(#779) Test method test_forum_discussion_subscription_forum_unsubscribed_discussion_subscribed_after_post() is missing a return type
(#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
(#826) Test method test_forum_message_inbound_multiple_posts() is missing a return type
(#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
(#892) Test method test_long_subject() is missing a return type
(#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
(#919) Test method test_subjects() is missing a return type
(#924) Short array syntax must be used to define arrays
(#966) Data provider method "forum_post_email_templates_provider" will need to be converted to static in future.
(#966) Data provider method "forum_post_email_templates_provider" must return an array, a Generator or an Iterable.
(#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
(#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
(#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
(#1120) Test method test_forum_post_email_templates() is missing a return type
(#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
(#1180) Short array syntax must be used to define arrays
(#1186) Inline comments must end in full-stops, exclamation marks, or question marks
(#1230) Short array syntax must be used to define arrays
mod/hsuforum/tests/maildigest_test.php
(#30) Unit test maildigest_test should be declared as final.
(#30) PHPUnit class "maildigest_test" 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 maildigest_test
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Short array syntax must be used to define arrays
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#156) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#179) Short array syntax must be used to define arrays
(#192) Test method test_set_maildigest() is missing any coverage information, own or at class level
(#192) Test method test_set_maildigest() is missing a return type
(#206) Short array syntax must be used to define arrays
(#215) Short array syntax must be used to define arrays
(#222) Short array syntax must be used to define arrays
(#229) Short array syntax must be used to define arrays
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Short array syntax must be used to define arrays
(#248) Test method test_get_user_digest_options_default() is missing any coverage information, own or at class level
(#248) Test method test_get_user_digest_options_default() is missing a return type
(#263) Short array syntax must be used to define arrays
(#287) Test method test_get_user_digest_options_sorting() is missing any coverage information, own or at class level
(#287) Test method test_get_user_digest_options_sorting() is missing a return type
(#312) Test method test_cron_no_posts() is missing any coverage information, own or at class level
(#312) Test method test_cron_no_posts() is missing a return type
(#327) Test method test_cron_profile_single_mails() is missing any coverage information, own or at class level
(#327) Test method test_cron_profile_single_mails() is missing a return type
(#361) Short array syntax must be used to define arrays
(#377) Test method test_cron_profile_digest_email() is missing any coverage information, own or at class level
(#377) Test method test_cron_profile_digest_email() is missing a return type
(#411) Short array syntax must be used to define arrays
(#428) Test method test_cron_mixed_email_1() is missing any coverage information, own or at class level
(#428) Test method test_cron_mixed_email_1() is missing a return type
(#462) Short array syntax must be used to define arrays
(#479) Test method test_cron_mixed_email_2() is missing any coverage information, own or at class level
(#479) Test method test_cron_mixed_email_2() is missing a return type
(#513) Short array syntax must be used to define arrays
(#529) Test method test_cron_forum_digest_email() is missing any coverage information, own or at class level
(#529) Test method test_cron_forum_digest_email() is missing a return type
(#563) Short array syntax must be used to define arrays
mod/hsuforum/tests/mod_hsuforum_external_test.php
(#33) Unit test mod_hsuforum_external_test should be declared as final.
(#33) PHPUnit class "mod_hsuforum_external_test" 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_test
(#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
(#47) Test method test_mod_hsuforum_get_forums_by_courses() is missing a return type
(#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
(#175) Test method test_mod_hsuforum_get_forum_discussion_posts() is missing a return type
(#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
(#298) There should be a comma after the last array item in a multi-line array.
(#302) Short array syntax must be used to define arrays
(#307) There should be a comma after the last array item in a multi-line array.
(#309) Short array syntax must be used to define arrays
(#325) Short array syntax must be used to define arrays
(#330) 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
(#403) Test method test_mod_hsuforum_get_forum_discussion_posts_qanda() is missing a return type
(#469) Test method test_mod_hsuforum_get_forum_discussions_paginated() is missing any coverage information, own or at class level
(#469) Test method test_mod_hsuforum_get_forum_discussions_paginated() is missing a return type
(#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
(#617) Test method test_mod_hsuforum_get_forum_discussions_paginated_qanda() is missing a return type
(#642) Line exceeds 132 characters; contains 135 characters
(#651) Line exceeds 132 characters; contains 135 characters
(#661) Test method test_mod_hsuforum_get_forum_discussions() is missing any coverage information, own or at class level
(#735) Short array syntax must be used to define arrays
(#738) Short array syntax must be used to define arrays
(#770) 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
(#777) Short array syntax must be used to define arrays
(#778) Short array syntax must be used to define arrays
(#778) There should be a comma after the last array item in a multi-line array.
(#828) Test method test_mod_hsuforum_get_forum_discussions_sorting() is missing any coverage information, own or at class level
(#992) Short array syntax must be used to define arrays
(#1016) Test method test_add_discussion_post() is missing any coverage information, own or at class level
(#1016) Test method test_add_discussion_post() is missing a return type
(#1027) Short array syntax must be used to define arrays
(#1083) Short array syntax must be used to define arrays
(#1101) Short array syntax must be used to define arrays
(#1101) Short array syntax must be used to define arrays
(#1102) Short array syntax must be used to define arrays
(#1130) Short array syntax must be used to define arrays
(#1133) Short array syntax must be used to define arrays
(#1151) Test method test_add_discussion() is missing any coverage information, own or at class level
(#1151) Test method test_add_discussion() is missing a return type
(#1193) Short array syntax must be used to define arrays
(#1193) Short array syntax must be used to define arrays
(#1214) Short array syntax must be used to define arrays
(#1235) Short array syntax must be used to define arrays
(#1235) Short array syntax must be used to define arrays
(#1236) Short array syntax must be used to define arrays
(#1266) Test method test_add_discussion_without_attachment_capability() is missing any coverage information, own or at class level
(#1266) Test method test_add_discussion_without_attachment_capability() is missing a return type
(#1290) Short array syntax must be used to define arrays
(#1302) Line exceeds 132 characters; contains 135 characters
(#1319) Test method test_add_discussion_in_course_with_groups() is missing any coverage information, own or at class level
(#1319) Test method test_add_discussion_in_course_with_groups() is missing a return type
(#1325) Short array syntax must be used to define arrays
(#1332) Short array syntax must be used to define arrays
(#1353) Short array syntax must be used to define arrays
(#1399) Short array syntax must be used to define arrays
(#1420) Test method test_can_add_discussion() is missing any coverage information, own or at class level
(#1420) Test method test_can_add_discussion() is missing a return type
(#1446) Short array syntax must be used to define arrays
(#1452) Short array syntax must be used to define arrays
(#1466) Test method test_mod_hsuforum_get_forum_discussion_rating_information() is missing any coverage information, own or at class level
(#1466) Test method test_mod_hsuforum_get_forum_discussion_rating_information() is missing a return type
(#1480) Short array syntax must be used to define arrays
(#1481) Short array syntax must be used to define arrays
(#1504) 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) Unit test output_email_test should be declared as final.
(#33) PHPUnit class "output_email_test" 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
(#37) Data provider method "postdate_provider" will need to be converted to static in future.
(#37) Data provider method "postdate_provider" must return an array, a Generator or an Iterable.
(#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
(#135) Test method test_postdate() is missing a return type
(#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
(#196) Test method test_anonymous_author() is missing a return type
mod/hsuforum/tests/portfolio_caller_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) Unit test portfolio_caller_test should be declared as final.
(#33) PHPUnit class "portfolio_caller_test" 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
(#39) Test method test_file_in_user_post_is_loaded() is missing a return type
(#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
(#61) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#84) Test method test_file_not_in_user_post_not_loaded() is missing any coverage information, own or at class level
(#84) Test method test_file_not_in_user_post_not_loaded() is missing a return type
(#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
(#106) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
mod/hsuforum/tests/privacy_provider_test.php
(#25) PHPUnit class "mod_hsuforum\tests\privacy_provider_test", with namespace "mod_hsuforum\tests", currently located at "tests/" directory, does not match its expected location at "tests/tests"
(#33) Import statements must not begin with a leading backslash
(#41) Unit test privacy_provider_test should be declared as final.
(#123) Test method test_user_has_never_posted() is missing any coverage information, own or at class level
(#123) Test method test_user_has_never_posted() is missing a return type
(#159) Test method test_user_has_never_posted_subscribed_to_forum() is missing any coverage information, own or at class level
(#159) Test method test_user_has_never_posted_subscribed_to_forum() is missing a return type
(#228) Test method test_user_has_posted_own_discussion() is missing any coverage information, own or at class level
(#228) Test method test_user_has_posted_own_discussion() is missing a return type
(#265) Test method test_user_has_posted_reply() is missing any coverage information, own or at class level
(#265) Test method test_user_has_posted_reply() is missing a return type
(#338) Test method test_user_has_rated_others() is missing any coverage information, own or at class level
(#338) Test method test_user_has_rated_others() is missing a return type
(#407) Test method test_user_has_been_rated() is missing any coverage information, own or at class level
(#407) Test method test_user_has_been_rated() is missing a return type
(#420) Inline comments must end in full-stops, exclamation marks, or question marks
(#474) Test method test_user_forum_digest() is missing any coverage information, own or at class level
(#474) Test method test_user_forum_digest() is missing a return type
(#547) Test method test_user_read_posts() is missing any coverage information, own or at class level
(#547) Test method test_user_read_posts() is missing a return type
(#724) Test method test_post_attachment_inclusion() is missing any coverage information, own or at class level
(#724) Test method test_post_attachment_inclusion() is missing a return type
(#791) Test method test_post_tags() is missing any coverage information, own or at class level
(#791) Test method test_post_tags() is missing a return type
(#835) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#850) Test method test_all_users_deleted_from_context() is missing any coverage information, own or at class level
(#850) Test method test_all_users_deleted_from_context() is missing a return type
(#1026) Test method test_delete_data_for_user() is missing any coverage information, own or at class level
(#1026) Test method test_delete_data_for_user() is missing a return type
(#1202) Line exceeds 132 characters; contains 133 characters
(#1209) Test method test_delete_data_for_users() is missing any coverage information, own or at class level
(#1209) Test method test_delete_data_for_users() is missing a return type
mod/hsuforum/tests/restore_date_test.php
(#38) Unit test restore_date_test should be declared as final.
(#38) PHPUnit class "restore_date_test" 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
(#43) Test method test_restore_dates() is missing a return type
mod/hsuforum/tests/rsslib_test.php
(#40) Unit test rsslib_test should be declared as final.
(#40) PHPUnit class "rsslib_test" 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
(#48) Test method test_forum_rss_feed_discussions_sql_respect_deleted() is missing a return type
(#79) Test method test_forum_rss_feed_posts_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 a return type
mod/hsuforum/tests/search_test.php
(#41) Unit test search_test should be declared as final.
(#41) PHPUnit class "search_test" 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
(#63) Test method test_search_enabled() is missing a return type
(#83) Test method test_posts_indexing() is missing any coverage information, own or at class level
(#83) Test method test_posts_indexing() is missing a return type
(#175) Test method test_posts_document() is missing any coverage information, own or at class level
(#175) Test method test_posts_document() is missing a return type
(#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
(#231) Test method test_posts_group_support() is missing a return type
(#299) Test method test_posts_access() is missing any coverage information, own or at class level
(#299) Test method test_posts_access() is missing a return type
(#366) Test method test_attach_files() is missing any coverage information, own or at class level
(#366) Test method test_attach_files() is missing a return type
(#398) Short array syntax must be used to define arrays
(#399) Short array syntax must be used to define arrays
(#467) Test method test_posts_get_contexts_to_reindex() is missing any coverage information, own or at class level
(#467) Test method test_posts_get_contexts_to_reindex() is missing a return type
(#527) Test method test_anonymous_posts_indexing() is missing any coverage information, own or at class level
(#527) Test method test_anonymous_posts_indexing() is missing a return type
(#595) Test method test_private_reply_access() is missing any coverage information, own or at class level
(#595) Test method test_private_reply_access() is missing a return type
mod/hsuforum/tests/user_autosubscription_test.php
(#29) Invalid @category tag value "phpunit".
(#33) Unit test user_autosubscription_test should be declared as final.
(#33) PHPUnit class "user_autosubscription_test" 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
(#34) Test method test_hsuforum_optional_subscription() is missing a return type
(#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
(#103) Test method test_hsuforum_automatic_subscriptions() is missing a return type
(#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
(#173) Test method test_hsuforum_subscriptions_not_allowed() is missing a return type
(#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
(#53) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#56) Short array syntax must be used to define arrays
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#68) Short array syntax must be used to define arrays
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
mod/hsuforum/user.php
(#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
(#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
(#49) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Short array syntax must be used to define arrays
(#87) Expected 1 space before "=>"; 0 found
(#87) Expected 1 space after "=>"; 0 found
(#87) Expected 1 space before "=>"; 0 found
(#87) Expected 1 space after "=>"; 0 found
(#88) Short array syntax must be used to define arrays
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Short array syntax must be used to define arrays
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Short array syntax must be used to define arrays
(#173) Short array syntax must be used to define arrays
(#176) Short array syntax must be used to define arrays
(#181) Line exceeds 132 characters; contains 151 characters
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) Short array syntax must be used to define arrays
(#194) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#229) Short array syntax must be used to define arrays
(#246) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#254) Inline comments must start with a capital letter, digit or 3-dots sequence
(#254) 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"
(#255) 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,"
(#256) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) 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)"
(#267) Inline comments must end in full-stops, exclamation marks, or question marks
(#275) Short array syntax must be used to define arrays
(#276) Short array syntax must be used to define arrays
(#282) Inline comments must start with a capital letter, digit or 3-dots sequence
(#282) Inline comments must end in full-stops, exclamation marks, or question marks
(#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"
(#291) Logical operator "or" is prohibited; use "||" instead
(#298) Inline comments must start with a capital letter, digit or 3-dots sequence
(#298) Inline comments must end in full-stops, exclamation marks, or question marks
(#298) 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"
(#302) Short array syntax must be used to define arrays
(#303) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
(#307) Short array syntax must be used to define arrays
(#314) Short array syntax must be used to define arrays
(#321) Short array syntax must be used to define arrays
(#323) Short array syntax must be used to define arrays
(#323) Line exceeds 132 characters; contains 165 characters
(#336) Short array syntax must be used to define arrays
(#350) Short array syntax must be used to define arrays
(#366) Line exceeds 132 characters; contains 143 characters
(#366) Inline comments must start with a capital letter, digit or 3-dots sequence
(#375) Short array syntax must be used to define arrays
(#378) Short array syntax must be used to define arrays
(#383) Short array syntax must be used to define arrays
(#386) Short array syntax must be used to define arrays
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
(#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
(#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 start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Short array syntax must be used to define arrays
(#37) Line indented incorrectly; expected 0 spaces, found 4
(#39) Line indented incorrectly; expected 0 spaces, found 4
(#40) Short array syntax must be used to define arrays
(#42) Line indented incorrectly; expected 0 spaces, found 4
(#43) Line indented incorrectly; expected 4 spaces, found 8
(#43) Expected "if (...) {\n"; found "if (...){\n"
(#45) Line indented incorrectly; expected 4 spaces, found 8
(#46) Short array syntax must be used to define arrays
(#48) Line indented incorrectly; expected 0 spaces, found 4
(#50) Line indented incorrectly; expected 0 spaces, found 4
(#52) Line indented incorrectly; expected 0 spaces, found 4
(#53) Line indented incorrectly; expected 0 spaces, found 4
(#55) Line indented incorrectly; expected 0 spaces, found 4
(#58) Short array syntax must be used to define arrays
(#60) Line indented incorrectly; expected 0 spaces, found 4
(#62) Line indented incorrectly; expected 0 spaces, found 4
(#66) Line indented incorrectly; expected 0 spaces, found 4
(#67) Short array syntax must be used to define arrays
(#67) Expected 1 space before "=>"; 0 found
(#67) Expected 1 space after "=>"; 0 found
(#70) Line indented incorrectly; expected 4 spaces, found 8
(#72) Line indented incorrectly; expected 4 spaces, found 8
(#74) Short array syntax must be used to define arrays
(#75) Line indented incorrectly; expected 0 spaces, found 4
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) 3 slashes comments are not allowed; use "// Comment." instead
(#89) 3 slashes comments are not allowed; use "// Comment." instead
(#99) Line indented incorrectly; expected 0 spaces, found 4
(#101) Line indented incorrectly; expected 0 spaces, found 4
(#103) Line indented incorrectly; expected 0 spaces, found 4
(#105) 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

(154 errors, 0 warnings)

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

mod/hsuforum/backup/moodle1/lib.php
(#72) Phpdocs for function moodle1_mod_hsuforum_handler::process_hsuforum has incomplete parameters list
(#43) Inline phpdocs tag {@link convert_path} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#43) 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
(#36) Phpdocs for function restore_hsuforum_activity_task::get_comment_mapping_itemname has incomplete parameters list
(#111) 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)]}
(#113) 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)]}
(#147) 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)]}
(#149) 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/local/data_mappers/legacy/discussion.php
(#40) Phpdocs for function discussion::to_legacy_objects has incomplete parameters list
mod/hsuforum/classes/local/entities/author.php
(#62) Phpdocs for function author::__construct has incomplete parameters list
mod/hsuforum/classes/local/entities/post.php
(#76) Phpdocs for function post::__construct has incomplete parameters list
mod/hsuforum/classes/local/exporters/discussion_summaries.php
(#66) Phpdocs for function discussion_summaries::__construct has incomplete parameters list
mod/hsuforum/classes/local/factories/exporter.php
(#87) Phpdocs for function exporter::get_forum_exporter has incomplete parameters list
(#119) Phpdocs for function exporter::get_discussion_exporter has incomplete parameters list
(#157) Phpdocs for function exporter::get_discussion_summaries_exporter has incomplete parameters list
mod/hsuforum/classes/local/renderers/discussion_list.php
(#95) Phpdocs for function discussion_list::__construct has incomplete parameters list
(#142) Phpdocs for function discussion_list::render has incomplete parameters list
(#273) Phpdocs for function discussion_list::get_discussion_form has incomplete parameters list
(#332) Phpdocs for function discussion_list::get_page_size has incomplete parameters list
(#346) Phpdocs for function discussion_list::get_page_number has incomplete parameters list
mod/hsuforum/classes/local/vaults/db_table_vault.php
(#71) Phpdocs for function db_table_vault::generate_get_records_sql has incomplete parameters list
mod/hsuforum/classes/local/vaults/discussion.php
(#93) Phpdocs for function discussion::get_all_discussions_in_forum has incomplete parameters list
mod/hsuforum/classes/local/vaults/discussion_list.php
(#387) Phpdocs for function discussion_list::get_from_forum_id has incomplete parameters list
(#427) Phpdocs for function discussion_list::get_from_forum_id_and_group_id has incomplete parameters list
mod/hsuforum/classes/local/vaults/post.php
(#467) Phpdocs for function post::get_private_reply_sql 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
(#63) 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
(#598) Phpdocs for function provider::export_grade_data has incomplete parameters list
(#670) Phpdocs for function provider::export_all_posts_in_discussion has incomplete parameters list
(#739) Phpdocs for function provider::export_posts_in_structure has incomplete parameters list
(#766) Phpdocs for function provider::export_post_data has incomplete parameters list
(#871) Phpdocs for function provider::export_discussion_subscription_data has incomplete parameters list
(#907) Phpdocs for function provider::export_tracking_data has incomplete parameters list
(#927) 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/externallib.php
(#636) Phpdocs for function mod_hsuforum_external::get_forum_discussions has incomplete parameters list
mod/hsuforum/index.php
(#174) Found comment starting with three or more slashes
(#299) Found comment starting with three or more slashes
(#382) Found comment starting with three or more slashes
mod/hsuforum/lib.php
(#31) Found comment starting with three or more slashes
(#81) Found comment starting with three or more slashes
(#977) Found comment starting with three or more slashes
(#1203) Found comment starting with three or more slashes
(#2111) Found comment starting with three or more slashes
(#2118) Found comment starting with three or more slashes
(#2126) Found comment starting with three or more slashes
(#2820) Found comment starting with three or more slashes
(#2859) Found comment starting with three or more slashes
(#3996) Found comment starting with three or more slashes
(#3998) Found comment starting with three or more slashes
(#7121) Found comment starting with three or more slashes
(#177) Phpdocs for function hsuforum_update_instance has incomplete parameters list
(#1288) Phpdocs for function hsuforum_user_complete has incomplete parameters list
(#1625) Phpdocs for function hsuforum_recent_activity has incomplete parameters list
(#1698) Phpdocs for function hsuforum_media_object has incomplete parameters list
(#1719) Phpdocs for function hsuforum_get_user_formatted_rating_grade has incomplete parameters list
(#1931) Phpdocs for function hsuforum_scale_used_anywhere has incomplete parameters list
(#1973) Phpdocs for function hsuforum_get_all_discussion_posts has incomplete parameters list
(#2050) Phpdocs for function hsuforum_get_readable_forums has incomplete parameters list
(#2156) Phpdocs for function hsuforum_search_posts has incomplete parameters list
(#2462) Phpdocs for function hsuforum_get_user_posts has incomplete parameters list
(#2503) Phpdocs for function hsuforum_get_users_with_posts has incomplete parameters list
(#2627) Phpdocs for function hsuforum_get_firstpost_from_discussion has incomplete parameters list
(#2793) Phpdocs for function hsuforum_get_discussions has incomplete parameters list
(#3610) Phpdocs for function hsuforum_rating_permissions has incomplete parameters list
(#3740) Phpdocs for function hsuforum_search_form has incomplete parameters list
(#4374) Phpdocs for function hsuforum_add_discussion has incomplete parameters list
(#5026) Phpdocs for function hsuforum_get_subscribe_link has incomplete parameters list
(#5436) Phpdocs for function hsuforum_user_can_see_post has incomplete parameters list
(#5543) Phpdocs for function hsuforum_print_latest_discussions has incomplete parameters list
(#5879) Phpdocs for function hsuforum_get_recent_mod_activity has incomplete parameters list
(#6452) Phpdocs for function mod_hsuforum_get_discussion_summaries has incomplete parameters list
(#6493) Phpdocs for function mod_hsuforum_get_groups_from_groupid has incomplete parameters list
(#6556) Phpdocs for function mod_hsuforum_count_all_discussions has incomplete parameters list
(#6949) Phpdocs for function hsuforum_reset_userdata has incomplete parameters list
(#7135) Phpdocs for function hsuforum_reset_course_form_definition has incomplete parameters list
(#7164) Phpdocs for function hsuforum_reset_course_form_defaults has incomplete parameters list
(#7223) Phpdocs for function hsuforum_extend_settings_navigation has incomplete parameters list
(#7571) Phpdocs for function hsuforum_potential_subscriber_selector::set_force_subscribed has incomplete parameters list
(#8064) Phpdocs for function hsuforum_extract_postuser has incomplete parameters list
(#8184) Phpdocs for function hsuforum_is_anonymous_user has incomplete parameters list
(#8201) Phpdocs for function hsuforum_get_cm_forum has incomplete parameters list
(#8219) Phpdocs for function hsuforum_word_count has incomplete parameters list
(#8230) Phpdocs for function hsuforum_get_cm_course has incomplete parameters list
(#8357) Phpdocs for function hsuforum_forum_comments_pluginfile has incomplete parameters list
(#8564) Phpdocs for function hsuforum_simpler_time has incomplete parameters list
(#8952) 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
(#157) Found comment starting with three or more slashes
(#48) Phpdocs for function mod_hsuforum_renderer::view has incomplete parameters list
(#311) Phpdocs for function mod_hsuforum_renderer::discussion has incomplete parameters list
(#459) Phpdocs for function mod_hsuforum_renderer::post has incomplete parameters list
(#956) Phpdocs for function mod_hsuforum_renderer::render_hsuforum_post_email has incomplete parameters list
(#1017) Phpdocs for function mod_hsuforum_renderer::post_get_flags has incomplete parameters list
(#1115) Phpdocs for function mod_hsuforum_renderer::toggle_element has incomplete parameters list
(#1194) Phpdocs for function mod_hsuforum_renderer::discussion_sorting has incomplete parameters list
(#1230) Phpdocs for function mod_hsuforum_renderer::post_message has incomplete parameters list
(#1302) Phpdocs for function mod_hsuforum_renderer::user_posts_overview has incomplete parameters list
(#1940) 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
(#98) Found comment starting with three or more slashes
(#156) Found comment starting with three or more slashes
mod/hsuforum/search.php
(#151) 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
(#62) Phpdocs for function helper::helper_post_to_forum has incomplete parameters list
(#127) Phpdocs for function helper::helper_reply_to_post has incomplete parameters list
mod/hsuforum/tests/lib_test.php
(#2191) Phpdocs for function lib_test::test_print_overview_timed has incomplete parameters list
(#2246) Phpdocs for function lib_test::test_print_overview_timed_groups has incomplete parameters list
(#2632) Phpdocs for function lib_test::test_forum_get_unmailed_posts has incomplete parameters list
(#3053) 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 mail_test::helper_create_users has incomplete parameters list
(#114) Phpdocs for function mail_test::helper_post_to_forum has incomplete parameters list
(#198) Phpdocs for function mail_test::helper_run_cron_check_count has incomplete parameters list
(#228) Phpdocs for function mail_test::helper_run_cron_check_counts has incomplete parameters list
mod/hsuforum/tests/privacy_provider_test.php
(#63) Phpdocs for function privacy_provider_test::assert_forum_data has incomplete parameters list
(#71) Phpdocs for function privacy_provider_test::assert_discussion_data has incomplete parameters list
(#93) Phpdocs for function privacy_provider_test::assert_post_data has incomplete parameters list
mod/hsuforum/view.php
(#83) Found comment starting with three or more slashes
(#89) 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]