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

(1077 errors, 378 warnings)

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

public/blocks/xp/ajax.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/backup/moodle2/backup_xp_block_task.class.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
public/blocks/xp/backup/moodle2/backup_xp_stepslib.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Opening brace must not be followed by a blank line
public/blocks/xp/backup/moodle2/restore_xp_block_task.class.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#116) The closing brace for the class must go on the next line after the body
public/blocks/xp/backup/moodle2/restore_xp_stepslib.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#148) Blank line found at start of control structure
(#152) Blank line found at start of control structure
(#169) Blank line found at end of control structure
(#175) Blank line found at end of control structure
(#233) Opening parenthesis of a multi-line function call must be the last content on the line
(#295) Blank line found at start of control structure
(#351) The closing brace for the class must go on the next line after the body
public/blocks/xp/block_xp.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/classes/di.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#93) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/event/user_leveledup.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Opening brace must not be followed by a blank line
(#89) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/external.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Opening brace must not be followed by a blank line
(#182) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/external/create_rule.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#77) Opening parenthesis of a multi-line function call must be the last content on the line
(#175) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/external/delete_rule.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#92) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/external/external_api.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/classes/external/external_description.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/classes/external/external_function_parameters.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/classes/external/external_multiple_structure.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/classes/external/external_single_structure.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/classes/external/external_value.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/classes/external/get_rules.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#130) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/external/get_sections.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#103) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/external/mark_popup_notification_seen.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#101) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/external/search_courses.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#75) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#77) Blank line found at start of control structure
(#113) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/external/search_modules.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#96) Blank line found at start of control structure
(#156) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/external/set_default_levels_info.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#116) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/external/set_levels_info.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#140) Blank line found at end of control structure
(#185) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/filter.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Opening brace must not be followed by a blank line
(#399) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/cheatguard.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Missing docblock for function process_dynamic_submission
(#58) Missing docblock for function set_data_for_dynamic_submission
(#162) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Opening brace must not be followed by a blank line
(#74) Opening parenthesis of a multi-line function call must be the last content on the line
(#109) Opening parenthesis of a multi-line function call must be the last content on the line
(#113) Opening parenthesis of a multi-line function call must be the last content on the line
(#126) Opening parenthesis of a multi-line function call must be the last content on the line
(#143) Opening parenthesis of a multi-line function call must be the last content on the line
(#148) Opening parenthesis of a multi-line function call must be the last content on the line
(#162) Opening parenthesis of a multi-line function call must be the last content on the line
(#336) Opening parenthesis of a multi-line function call must be the last content on the line
(#391) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/duration.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Opening brace must not be followed by a blank line
(#135) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/dynamic_world_trait.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Opening brace must not be followed by a blank line
(#83) The closing brace for the trait must go on the next line after the body
public/blocks/xp/classes/form/edit_form.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#59) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/html.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#76) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/info.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Missing docblock for function process_dynamic_submission
(#54) Missing docblock for function set_data_for_dynamic_submission
(#83) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/instructions.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
public/blocks/xp/classes/form/itemspertime.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Opening brace must not be followed by a blank line
(#221) Blank line found at end of control structure
public/blocks/xp/classes/form/leaderboard.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Missing docblock for function process_dynamic_submission
(#54) Missing docblock for function set_data_for_dynamic_submission
(#194) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/levels_with_algo.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Opening brace must not be followed by a blank line
(#138) Opening parenthesis of a multi-line function call must be the last content on the line
(#239) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/promo.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#56) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/rule.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#60) Missing docblock for function get_context_for_dynamic_submission
(#64) Missing docblock for function check_access_for_dynamic_submission
(#71) Missing docblock for function process_dynamic_submission
(#78) Missing docblock for function set_data_for_dynamic_submission
(#85) Missing docblock for function get_page_url_for_dynamic_submission
(#116) Missing docblock for function validation
(#126) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/staticfield.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Opening brace must not be followed by a blank line
(#65) Blank line found at end of control structure
(#79) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/user_xp.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Missing docblock for function process_dynamic_submission
(#62) Missing docblock for function set_data_for_dynamic_submission
(#120) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/form/visuals.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#59) Opening parenthesis of a multi-line function call must be the last content on the line
(#71) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/action/action.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#75) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/action/maker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/classes/local/action/maker_from_event.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#48) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/action/static_action.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#114) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/activity/activity.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#54) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/activity/activity_with_xp.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#47) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/activity/course_log_recent_activity_repository.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Opening brace must not be followed by a blank line
(#95) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/activity/user_recent_activity_repository.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#49) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/activity/xp_activity.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#89) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/backup/content_manager.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#62) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/backup/restore_context.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#152) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/backup/xpladder_decode_rule.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Opening brace must not be followed by a blank line
(#142) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/badge/badge_manager.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/block/any_instance_finder_in_context.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#51) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/block/course_block.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Opening brace must not be followed by a blank line
(#129) Blank line found at end of control structure
(#185) Blank line found at start of control structure
(#196) Blank line found at start of control structure
(#353) Blank line found at start of control structure
(#377) Blank line found at end of control structure
(#459) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/block/course_world_instance_finder.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Opening brace must not be followed by a blank line
(#234) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/block/default_instance_finder.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#110) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/block/instance_checker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Opening brace must not be followed by a blank line
(#51) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/block/instance_finder.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#51) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/block/instances_finder_in_context.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#51) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/check/addon_compatibility.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Opening brace must not be followed by a blank line
(#89) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/compat/accesslib.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Each class must be in a file by itself
(#52) Each class must be in a file by itself
(#58) Each class must be in a file by itself
(#64) Each class must be in a file by itself
(#70) Each class must be in a file by itself
(#76) Each class must be in a file by itself
(#82) Each class must be in a file by itself
public/blocks/xp/classes/local/compat/badgeslib.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
public/blocks/xp/classes/local/compat/cache.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Each class must be in a file by itself
(#52) Each class must be in a file by itself
(#58) Each class must be in a file by itself
(#64) Each class must be in a file by itself
(#70) Each class must be in a file by itself
(#76) Each class must be in a file by itself
(#82) Each class must be in a file by itself
(#88) Each class must be in a file by itself
(#94) Each class must be in a file by itself
(#100) Each class must be in a file by itself
(#106) Each class must be in a file by itself
(#112) Each class must be in a file by itself
(#118) Each class must be in a file by itself
(#124) Each class must be in a file by itself
(#130) Each class must be in a file by itself
(#136) Each class must be in a file by itself
(#142) Each class must be in a file by itself
(#148) Each class must be in a file by itself
(#154) Each class must be in a file by itself
(#160) Each class must be in a file by itself
(#166) Each class must be in a file by itself
(#172) Each class must be in a file by itself
(#178) Each class must be in a file by itself
(#184) Each class must be in a file by itself
(#190) Each class must be in a file by itself
(#196) Each class must be in a file by itself
(#202) Each class must be in a file by itself
public/blocks/xp/classes/local/compat/context.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Duplicate class name "context" found; first defined in /var/lib/jenkins/git_repositories/prechecker/public/blocks/xp/classes/local/compat/accesslib.php on line 46
(#46) Duplicate class name "context_helper" found; first defined in /var/lib/jenkins/git_repositories/prechecker/public/blocks/xp/classes/local/compat/accesslib.php on line 40
(#46) Each class must be in a file by itself
(#52) Duplicate class name "context_block" found; first defined in /var/lib/jenkins/git_repositories/prechecker/public/blocks/xp/classes/local/compat/accesslib.php on line 52
(#52) Each class must be in a file by itself
(#58) Duplicate class name "context_course" found; first defined in /var/lib/jenkins/git_repositories/prechecker/public/blocks/xp/classes/local/compat/accesslib.php on line 58
(#58) Each class must be in a file by itself
(#64) Duplicate class name "context_coursecat" found; first defined in /var/lib/jenkins/git_repositories/prechecker/public/blocks/xp/classes/local/compat/accesslib.php on line 64
(#64) Each class must be in a file by itself
(#70) Duplicate class name "context_module" found; first defined in /var/lib/jenkins/git_repositories/prechecker/public/blocks/xp/classes/local/compat/accesslib.php on line 70
(#70) Each class must be in a file by itself
(#76) Duplicate class name "context_system" found; first defined in /var/lib/jenkins/git_repositories/prechecker/public/blocks/xp/classes/local/compat/accesslib.php on line 76
(#76) Each class must be in a file by itself
(#82) Duplicate class name "context_user" found; first defined in /var/lib/jenkins/git_repositories/prechecker/public/blocks/xp/classes/local/compat/accesslib.php on line 82
(#82) Each class must be in a file by itself
public/blocks/xp/classes/local/compat/core.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Each class must be in a file by itself
(#52) Each class must be in a file by itself
(#58) Each class must be in a file by itself
(#64) Each class must be in a file by itself
(#70) Each class must be in a file by itself
public/blocks/xp/classes/local/compat/editor_tiny.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
public/blocks/xp/classes/local/compat/exception.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Each class must be in a file by itself
(#52) Each class must be in a file by itself
(#58) Each class must be in a file by itself
(#64) Each class must be in a file by itself
(#70) Each class must be in a file by itself
(#76) Each class must be in a file by itself
(#82) Each class must be in a file by itself
(#88) Each class must be in a file by itself
(#94) Each class must be in a file by itself
(#100) Each class must be in a file by itself
(#106) Each class must be in a file by itself
public/blocks/xp/classes/local/compat/externallib.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Each class must be in a file by itself
(#52) Each class must be in a file by itself
(#58) Each class must be in a file by itself
(#64) Each class must be in a file by itself
(#70) Each class must be in a file by itself
(#76) Each class must be in a file by itself
(#82) Each class must be in a file by itself
(#88) Each class must be in a file by itself
(#94) Each class must be in a file by itself
(#100) Each class must be in a file by itself
(#106) Each class must be in a file by itself
public/blocks/xp/classes/local/compat/filter.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Each class must be in a file by itself
(#52) Each class must be in a file by itself
(#58) Each class must be in a file by itself
(#64) Each class must be in a file by itself
public/blocks/xp/classes/local/compat/form.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Each class must be in a file by itself
(#52) Each class must be in a file by itself
(#58) Each class must be in a file by itself
(#64) Each class must be in a file by itself
(#70) Each class must be in a file by itself
public/blocks/xp/classes/local/compat/output.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Each class must be in a file by itself
(#52) Each class must be in a file by itself
(#58) Each class must be in a file by itself
(#64) Each class must be in a file by itself
(#70) Each class must be in a file by itself
(#76) Each class must be in a file by itself
(#82) Each class must be in a file by itself
(#88) Each class must be in a file by itself
(#94) Each class must be in a file by itself
(#100) Each class must be in a file by itself
(#106) Each class must be in a file by itself
(#112) Each class must be in a file by itself
(#118) Each class must be in a file by itself
(#124) Each class must be in a file by itself
(#130) Each class must be in a file by itself
(#136) Each class must be in a file by itself
(#142) Each class must be in a file by itself
(#148) Each class must be in a file by itself
(#154) Each class must be in a file by itself
(#160) Each class must be in a file by itself
(#166) Each class must be in a file by itself
(#172) Each class must be in a file by itself
(#178) Each class must be in a file by itself
(#184) Each class must be in a file by itself
(#190) Each class must be in a file by itself
(#196) Each class must be in a file by itself
(#202) Each class must be in a file by itself
(#208) Each class must be in a file by itself
(#214) Each class must be in a file by itself
(#220) Each class must be in a file by itself
(#226) Each class must be in a file by itself
(#232) Each class must be in a file by itself
(#238) Each class must be in a file by itself
(#244) Each class must be in a file by itself
(#250) Each class must be in a file by itself
(#256) Each class must be in a file by itself
(#262) Each class must be in a file by itself
(#268) Each class must be in a file by itself
(#274) Each class must be in a file by itself
(#280) Each class must be in a file by itself
(#286) Each class must be in a file by itself
(#292) Each class must be in a file by itself
(#298) Each class must be in a file by itself
(#304) Each class must be in a file by itself
(#310) Each class must be in a file by itself
(#316) Each class must be in a file by itself
(#322) Each class must be in a file by itself
(#328) Each class must be in a file by itself
(#334) Each class must be in a file by itself
(#340) Each class must be in a file by itself
(#346) Each class must be in a file by itself
(#352) Each class must be in a file by itself
(#358) Each class must be in a file by itself
(#364) Each class must be in a file by itself
(#370) Each class must be in a file by itself
(#376) Each class must be in a file by itself
(#382) Each class must be in a file by itself
(#388) Each class must be in a file by itself
(#394) Each class must be in a file by itself
(#400) Each class must be in a file by itself
public/blocks/xp/classes/local/compat/table.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Each class must be in a file by itself
(#52) Each class must be in a file by itself
(#58) Each class must be in a file by itself
(#64) Each class must be in a file by itself
(#70) Each class must be in a file by itself
(#76) Each class must be in a file by itself
public/blocks/xp/classes/local/config/admin_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
(#127) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/config/block_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#152) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/config/bulk_world_config_setter.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Opening brace must not be followed by a blank line
(#131) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/config/config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#81) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/config/config_stack.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#134) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/config/course_world_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#87) Opening parenthesis of a multi-line function call must be the last content on the line
(#96) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/config/default_admin_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Opening brace must not be followed by a blank line
(#99) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/config/default_course_world_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#70) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/config/filtered_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/config/immutable_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#62) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/config/mapped_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Opening brace must not be followed by a blank line
(#136) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/config/mdl_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/config/mdl_locked_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Opening brace must not be followed by a blank line
(#103) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/config/proxy_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#102) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/config/static_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#110) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/config/table_row_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/config/table_setter_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Opening brace must not be followed by a blank line
(#63) Missing docblock for function get
(#67) Missing docblock for function get_all
(#71) Missing docblock for function get_columns
(#80) Missing docblock for function has
(#87) Missing docblock for function set
(#94) Missing docblock for function set_many
(#100) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/container.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#60) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/controller/admin_levels_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Opening brace must not be followed by a blank line
(#53) Missing docblock for function define_optional_params
(#60) Missing docblock for function post_login
(#65) Missing docblock for function pre_content
(#78) Missing docblock for function content
(#103) Opening parenthesis of a multi-line function call must be the last content on the line
(#113) Missing docblock for function get_react_module
public/blocks/xp/classes/local/controller/admin_route_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/controller/admin_rules_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#51) Missing docblock for function define_optional_params
(#59) Missing docblock for function pre_content
(#83) Blank line found at end of control structure
(#208) Missing docblock for function page_plus_promo_content
(#216) Missing docblock for function page_rules_content
(#240) Blank line found at end of control structure
(#262) Blank line found at start of control structure
(#266) Opening parenthesis of a multi-line function call must be the last content on the line
(#273) Blank line found at end of control structure
(#280) Opening parenthesis of a multi-line function call must be the last content on the line
(#290) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/admin_settings_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Opening brace must not be followed by a blank line
(#37) Missing docblock for function define_optional_params
(#53) Missing docblock for function pre_content
(#90) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/admin_visuals_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Opening brace must not be followed by a blank line
(#55) Missing docblock for function define_optional_params
(#114) Opening parenthesis of a multi-line function call must be the last content on the line
(#127) Missing docblock for function pre_content
(#179) Opening parenthesis of a multi-line function call must be the last content on the line
(#225) Opening parenthesis of a multi-line function call must be the last content on the line
(#272) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/ajax_notice_dismiss_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#91) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/completion_rules_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#49) Missing docblock for function pre_content
(#55) Missing docblock for function get_page_html_head_title
(#59) Missing docblock for function get_page_heading
(#63) Missing docblock for function page_content
(#77) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/config_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#83) Missing docblock for function pre_content
(#98) Missing docblock for function get_page_html_head_title
(#102) Missing docblock for function get_page_heading
(#106) Missing docblock for function page_content
(#112) Missing docblock for function page_note
(#120) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#48) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/controller/course_route_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#185) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/debug_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#146) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/drops_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#48) Missing docblock for function pre_content
(#54) Missing docblock for function get_page_html_head_title
(#58) Missing docblock for function get_page_heading
(#62) Missing docblock for function page_content
(#76) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/grade_rules_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#48) Missing docblock for function pre_content
(#54) Missing docblock for function get_page_html_head_title
(#58) Missing docblock for function get_page_heading
(#62) Missing docblock for function page_content
(#76) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/group_ladder_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#49) Missing docblock for function is_visible_to_viewers
(#53) Missing docblock for function pre_content
(#59) Missing docblock for function get_page_html_head_title
(#63) Missing docblock for function get_page_heading
(#67) Missing docblock for function page_content
(#82) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/import_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#49) Missing docblock for function pre_content
(#55) Missing docblock for function get_page_html_head_title
(#59) Missing docblock for function get_page_heading
(#63) Missing docblock for function page_content
(#77) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/infos_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#50) Missing docblock for function define_optional_params
(#65) Missing docblock for function get_form
(#72) Missing docblock for function get_page_html_head_title
(#76) Missing docblock for function get_page_heading
(#80) Missing docblock for function page_content
(#119) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/ladder_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
(#57) Missing docblock for function page_setup
(#131) Missing docblock for function get_page_html_head_title
(#135) Missing docblock for function get_page_heading
(#169) Blank line found at end of control structure
(#178) Missing docblock for function page_content
(#254) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/levels_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#47) Missing docblock for function define_optional_params
(#54) Missing docblock for function pre_content
(#66) Missing docblock for function get_page_html_head_title
(#70) Missing docblock for function get_page_heading
(#74) Missing docblock for function get_react_module
(#107) Missing docblock for function get_reset_url
(#111) Missing docblock for function page_content
(#130) Missing docblock for function page_danger_zone_content
(#133) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/log_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Opening brace must not be followed by a blank line
(#62) Missing docblock for function permissions_checks
(#70) Missing docblock for function define_optional_params
(#77) Missing docblock for function post_login
(#84) Missing docblock for function get_table
(#111) Missing docblock for function get_page_html_head_title
(#115) Missing docblock for function get_page_heading
(#135) Missing docblock for function page_advanced_heading
(#143) Missing docblock for function page_content
(#170) Missing docblock for function page_user_filter
(#208) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/page_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Opening brace must not be followed by a blank line
(#199) Opening parenthesis of a multi-line function call must be the last content on the line
(#202) Blank line found at end of control structure
(#206) Opening parenthesis of a multi-line function call must be the last content on the line
(#279) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/promo_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Opening brace must not be followed by a blank line
(#63) Missing docblock for function define_optional_params
(#79) Missing docblock for function require_login
(#103) Missing docblock for function post_login
(#139) Missing docblock for function content
(#294) Missing docblock for function content_installed
(#388) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/report_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Opening brace must not be followed by a blank line
(#64) Missing docblock for function define_optional_params
(#78) Missing docblock for function permissions_checks
(#86) Missing docblock for function post_login
(#93) Missing docblock for function pre_content
(#136) Missing docblock for function get_page_html_head_title
(#140) Missing docblock for function get_page_heading
(#160) Missing docblock for function get_table
(#245) Missing docblock for function page_advanced_heading
(#250) Missing docblock for function page_content
(#305) Missing docblock for function page_user_filter
(#325) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/controller/route_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/controller/rules_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
(#58) Missing docblock for function define_optional_params
(#65) Missing docblock for function post_login
(#72) Missing docblock for function pre_content
(#87) Blank line found at end of control structure
(#93) Missing docblock for function handle_save
(#98) Missing docblock for function save_filters
(#102) Missing docblock for function get_page_html_head_title
(#106) Missing docblock for function get_page_heading
(#176) Missing docblock for function page_content
(#197) Missing docblock for function page_plus_promo_content
(#200) Missing docblock for function page_advanced_heading
(#226) Missing docblock for function page_rules_content
(#236) Missing docblock for function page_danger_zone_content
public/blocks/xp/classes/local/controller/visuals_controller.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Opening brace must not be followed by a blank line
(#58) Missing docblock for function define_optional_params
(#108) Missing docblock for function pre_content
(#124) Blank line found at end of control structure
(#141) Opening parenthesis of a multi-line function call must be the last content on the line
(#149) Opening parenthesis of a multi-line function call must be the last content on the line
(#184) Opening parenthesis of a multi-line function call must be the last content on the line
(#198) Missing docblock for function get_page_html_head_title
(#202) Missing docblock for function get_page_heading
(#206) Missing docblock for function page_content
(#249) Missing docblock for function page_danger_zone_content
(#261) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/course_world.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Opening brace must not be followed by a blank line
(#108) Missing docblock for function get_access_permissions
(#112) Missing docblock for function get_config
(#116) Missing docblock for function get_collection_strategy
(#162) Blank line found at end of control structure
(#167) Blank line found at end of control structure
(#173) Blank line found at end of control structure
(#178) Missing docblock for function get_levels_info
(#179) Blank line found at start of control structure
(#184) Blank line found at end of control structure
(#195) Blank line found at end of control structure
(#235) Opening parenthesis of a multi-line function call must be the last content on the line
(#243) Missing docblock for function get_store
(#309) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/default_container.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#424) Opening parenthesis of a multi-line function call must be the last content on the line
(#646) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/division/all_division.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Opening brace must not be followed by a blank line
(#61) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/division/division.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Opening brace must not be followed by a blank line
(#54) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/division/empty_division.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Opening brace must not be followed by a blank line
(#61) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/division/group_division.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Opening brace must not be followed by a blank line
(#90) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/factory/badge_url_resolver_course_world_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#50) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/factory/context_world_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#50) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/factory/course_world_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#48) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/factory/course_world_leaderboard_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#52) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/factory/course_world_leaderboard_factory_with_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#59) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/factory/course_world_navigation_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#59) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/factory/default_badge_url_resolver_course_world_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#70) Blank line found at end of control structure
(#77) Blank line found at end of control structure
(#87) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/factory/default_context_world_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#105) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/factory/default_course_world_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
(#108) Opening parenthesis of a multi-line function call must be the last content on the line
(#118) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/factory/default_course_world_leaderboard_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Opening brace must not be followed by a blank line
(#280) Opening parenthesis of a multi-line function call must be the last content on the line
(#290) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/factory/default_course_world_navigation_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
(#136) Blank line found at start of control structure
(#262) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/factory/default_leaderboard_factory_maker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#70) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/factory/leaderboard_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#57) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/factory/leaderboard_factory_maker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#52) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/factory/level_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#53) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/factory/levels_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Opening brace must not be followed by a blank line
(#132) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/factory/levels_info_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#57) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/factory/serializer_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#58) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/factory/world_leaderboard_factory.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Opening brace must not be followed by a blank line
(#262) Opening parenthesis of a multi-line function call must be the last content on the line
(#272) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/file/block_file_server.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#56) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/file/component_file_server.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#56) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/file/file_server.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#114) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/indicator/context_prefs_user_indicator.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#53) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/indicator/prefs_user_indicator.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Opening brace must not be followed by a blank line
(#134) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/indicator/proxy_user_indicator.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#109) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/indicator/user_indicator.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#84) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/indicator/user_indicator_with_acceptance.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#56) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/indicator/user_notice_indicator.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#96) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/iterator/csv_reader_iterator.php
(#40) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/iterator/map_iterator.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Opening brace must not be followed by a blank line
(#71) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/iterator/map_recordset.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#98) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/leaderboard/anonymisable_leaderboard.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Opening brace must not be followed by a blank line
(#126) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/leaderboard/anonymised_leaderboard.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Opening brace must not be followed by a blank line
(#103) Blank line found at end of control structure
(#168) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/leaderboard/course_user_leaderboard.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Opening brace must not be followed by a blank line
(#392) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/leaderboard/empty_leaderboard.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/leaderboard/leaderboard.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#83) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/leaderboard/neighboured_leaderboard.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#213) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/leaderboard/null_ranker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Opening brace must not be followed by a blank line
(#66) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/leaderboard/ranker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#58) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/leaderboard/relative_ranker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#84) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/logger/collection_logger.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/logger/collection_logger_with_group_reset.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#48) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/logger/collection_logger_with_id_reset.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#48) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/logger/course_user_event_collection_logger.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Opening brace must not be followed by a blank line
(#178) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/logger/global_collection_logger.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Opening brace must not be followed by a blank line
(#102) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/logger/reason_collection_logger.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#54) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/logger/reason_occurrence_indicator.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#53) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/notification/course_level_up_notification_service.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#155) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/observer/default_level_up_state_store_observer.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/classes/local/observer/default_observer_rules_maker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#57) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/observer/default_state_store_observer.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Opening brace must not be followed by a blank line
(#85) Blank line found at start of control structure
(#139) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/observer/level_up_state_store_observer.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#54) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/observer/observer.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Opening brace must not be followed by a blank line
(#83) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/observer/observer_rules_maker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#50) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/observer/points_increased_state_store_observer.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#52) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/permission/access_logs_permissions.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#56) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/permission/access_permissions.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/permission/access_report_permissions.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#56) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/permission/context_permissions.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/plugin/addon.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#265) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/plugin/usage_report_maker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
(#190) The first expression of a multi-line control structure must be on the line after the opening parenthesis
public/blocks/xp/classes/local/plugin/usage_reporter.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
(#93) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/privacy/addon_provider.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#82) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/privacy/addon_userlist_provider.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#58) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/reason/event_name_reason.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#80) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/reason/reason.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#64) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/reason/reason_with_rule.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#55) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/routing/ajax_routes_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#57) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/routing/default_routes_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#222) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/routing/default_url_resolver.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#79) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#187) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/routing/request.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#57) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/routing/route.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#78) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/routing/route_definition.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#113) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/routing/routed_request.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#87) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/routing/router.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Opening brace must not be followed by a blank line
(#102) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/routing/routes_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#55) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/routing/static_routes_config.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#79) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/routing/url.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#102) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/routing/url_resolver.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#68) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/rule/dictator.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#97) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/rule/event_lister.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Opening brace must not be followed by a blank line
(#283) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/rule/instance.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#89) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/rule/static_instance.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#56) Missing docblock for function get_id
(#60) Missing docblock for function get_context
(#67) Missing docblock for function get_child_context
(#77) Missing docblock for function get_points
(#81) Missing docblock for function get_type_name
(#85) Missing docblock for function get_filter_name
(#89) Missing docblock for function get_filter_config
(#98) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/rule/the_dictator.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#265) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/rulefilter/action_tester.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#50) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/rulefilter/any.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#43) Missing docblock for function get_action_tester
(#47) Missing docblock for function get_compatible_context_levels
(#51) Missing docblock for function get_display_name
(#55) Missing docblock for function get_label_for_config
(#59) Missing docblock for function get_short_description
(#63) Missing docblock for function is_compatible_with_admin
(#67) Missing docblock for function is_multiple_allowed
(#71) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/rulefilter/any_tester.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#52) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/rulefilter/default_handler.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#142) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/rulefilter/handler.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/rulefilter/rulefilter.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#96) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/rulefilter/rulefilter_with_update_after_restore.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#51) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/ruletype/default_resolver.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#67) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/ruletype/resolver.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#58) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/ruletype/ruletype.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#105) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/serializer/level_serializer.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Opening brace must not be followed by a blank line
(#93) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/serializer/levels_info_serializer.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#100) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/serializer/serializer.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#48) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/serializer/serializer_with_read_structure.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#50) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/serializer/url_serializer.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#85) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/setting/compatibility_check_setting.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#81) Blank line found at end of control structure
(#92) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#97) Opening parenthesis of a multi-line function call must be the last content on the line
(#104) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#109) Opening parenthesis of a multi-line function call must be the last content on the line
(#123) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/setting/default_settings_maker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Opening brace must not be followed by a blank line
(#114) Opening parenthesis of a multi-line function call must be the last content on the line
(#122) Opening parenthesis of a multi-line function call must be the last content on the line
(#129) Opening parenthesis of a multi-line function call must be the last content on the line
(#136) Opening parenthesis of a multi-line function call must be the last content on the line
(#145) Opening parenthesis of a multi-line function call must be the last content on the line
(#169) Opening parenthesis of a multi-line function call must be the last content on the line
(#197) Opening parenthesis of a multi-line function call must be the last content on the line
(#208) Opening parenthesis of a multi-line function call must be the last content on the line
(#219) Opening parenthesis of a multi-line function call must be the last content on the line
(#235) Opening parenthesis of a multi-line function call must be the last content on the line
(#306) Opening parenthesis of a multi-line function call must be the last content on the line
(#313) Opening parenthesis of a multi-line function call must be the last content on the line
(#323) Opening parenthesis of a multi-line function call must be the last content on the line
(#330) Opening parenthesis of a multi-line function call must be the last content on the line
(#341) Opening parenthesis of a multi-line function call must be the last content on the line
(#356) Opening parenthesis of a multi-line function call must be the last content on the line
(#368) Opening parenthesis of a multi-line function call must be the last content on the line
(#382) Opening parenthesis of a multi-line function call must be the last content on the line
(#389) Opening parenthesis of a multi-line function call must be the last content on the line
(#397) Opening parenthesis of a multi-line function call must be the last content on the line
(#405) Opening parenthesis of a multi-line function call must be the last content on the line
(#413) Opening parenthesis of a multi-line function call must be the last content on the line
(#419) Opening parenthesis of a multi-line function call must be the last content on the line
(#427) Opening parenthesis of a multi-line function call must be the last content on the line
(#435) Opening parenthesis of a multi-line function call must be the last content on the line
(#446) Opening parenthesis of a multi-line function call must be the last content on the line
(#458) Opening parenthesis of a multi-line function call must be the last content on the line
(#465) Opening parenthesis of a multi-line function call must be the last content on the line
(#471) Opening parenthesis of a multi-line function call must be the last content on the line
public/blocks/xp/classes/local/setting/environment.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#147) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/setting/freeform_setting.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#98) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/setting/recommended_plugins_setting.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#90) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/setting/settings_maker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#51) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/setting/static_setting.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Opening brace must not be followed by a blank line
(#99) Opening parenthesis of a multi-line function call must be the last content on the line
(#110) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/shortcode/default_shortcodes_definition_maker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#75) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/shortcode/handler.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
(#171) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#246) Blank line found at end of control structure
public/blocks/xp/classes/local/shortcode/shortcodes_definition_maker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#50) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/sql/limit.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#74) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/sql/user_filter.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Opening brace must not be followed by a blank line
(#48) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/strategy/action_collection_strategy.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#50) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/strategy/collection_strategy.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/classes/local/strategy/course_world_collection_strategy.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Opening brace must not be followed by a blank line
(#232) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/strategy/event_collection_strategy.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#48) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/strategy/global_collection_strategy.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#100) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/task/default_tasks_definition_maker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#85) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/task/tasks_definition_maker.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#51) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/userfilter/everyone.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#49) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/userfilter/group_members.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Opening brace must not be followed by a blank line
(#65) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/userfilter/nobody.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#49) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/userfilter/user_filter.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#47) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/utils/external_utils.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#109) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/utils/text_utils.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Opening brace must not be followed by a blank line
(#43) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/utils/user_utils.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#218) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/world.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#87) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/admin_filter_manager.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#135) Opening parenthesis of a multi-line function call must be the last content on the line
public/blocks/xp/classes/local/xp/algo_levels_info.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#255) Blank line found at end of control structure
(#292) Opening parenthesis of a multi-line function call must be the last content on the line
(#350) Blank line found at start of control structure
(#367) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/anonymised_state.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#143) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/anonymised_user_state.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#59) Missing docblock for function get_id
(#63) Missing docblock for function get_link
(#67) Missing docblock for function get_name
(#71) Missing docblock for function get_picture
(#75) Missing docblock for function get_level
(#79) Missing docblock for function get_ratio_in_level
(#83) Missing docblock for function get_total_xp_in_level
(#87) Missing docblock for function get_user
(#91) Missing docblock for function get_xp
(#95) Missing docblock for function get_xp_in_level
(#99) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/badge_url_resolver.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#48) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/badged_level.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#66) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/course_filter_manager.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Opening brace must not be followed by a blank line
(#221) Opening parenthesis of a multi-line function call must be the last content on the line
(#279) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/course_state_store.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#48) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/course_user_state_provisioner.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Opening brace must not be followed by a blank line
public/blocks/xp/classes/local/xp/course_user_state_store.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Opening brace must not be followed by a blank line
(#363) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/described_level.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#99) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/dummy_badge_url_resolver.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#50) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/file_storage_badge_url_resolver.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
(#125) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/full_anonymiser.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#85) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/level.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#54) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/level_with_badge.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#47) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/level_with_description.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#47) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/level_with_name.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#49) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/levels_info.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#70) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/levels_info_with_algo.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#69) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/levels_info_writer.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Opening brace must not be followed by a blank line
(#385) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/rank.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#54) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/state.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#84) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/state_anonymiser.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#48) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/state_rank.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#74) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/state_store.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#71) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/state_store_with_delete.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#48) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/state_store_with_reason.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#60) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/state_with_subject.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#65) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/state_with_user.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Opening brace must not be followed by a blank line
(#38) The closing brace for the interface must go on the next line after the body
public/blocks/xp/classes/local/xp/static_level.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#53) Missing docblock for function __construct
(#66) Missing docblock for function get_level
(#70) Missing docblock for function get_xp_required
(#74) Missing docblock for function get_badge_url
(#78) Missing docblock for function get_description
(#82) Missing docblock for function get_name
(#86) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/local/xp/user_state.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#72) Missing docblock for function get_id
(#76) Missing docblock for function get_level
(#83) Missing docblock for function get_link
(#92) Missing docblock for function get_name
(#96) Missing docblock for function get_picture
(#100) Missing docblock for function get_ratio_in_level
(#108) Missing docblock for function get_total_xp_in_level
(#127) Missing docblock for function get_xp
(#131) Missing docblock for function get_xp_in_level
(#156) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/output/dismissable_notice.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Opening brace must not be followed by a blank line
(#58) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/output/filters_widget.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#96) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/output/filters_widget_element.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#67) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/output/filters_widget_group.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#56) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/output/leaderboard_table.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Opening brace must not be followed by a blank line
(#204) Blank line found at end of control structure
(#216) Blank line found at end of control structure
(#359) Blank line found at end of control structure
(#360) Blank line found at start of control structure
(#385) Blank line found at start of control structure
public/blocks/xp/classes/output/log_table.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Opening brace must not be followed by a blank line
public/blocks/xp/classes/output/log_table_filterset.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Opening brace must not be followed by a blank line
(#34) Missing docblock for function get_optional_filters
(#40) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/output/notice.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Opening brace must not be followed by a blank line
(#71) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/output/report_table.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Opening brace must not be followed by a blank line
(#317) Opening parenthesis of a multi-line function call must be the last content on the line
(#349) Opening parenthesis of a multi-line function call must be the last content on the line
(#357) Opening parenthesis of a multi-line function call must be the last content on the line
(#484) Blank line found at start of control structure
(#558) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/output/report_table_filterset.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Opening brace must not be followed by a blank line
(#34) Missing docblock for function get_optional_filters
(#40) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/output/xp_widget.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Opening brace must not be followed by a blank line
public/blocks/xp/classes/privacy/provider.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#217) Blank line found at start of control structure
(#462) Blank line found at end of control structure
(#466) Blank line found at end of control structure
(#469) Blank line found at end of control structure
(#473) Blank line found at end of control structure
(#477) Blank line found at end of control structure
public/blocks/xp/classes/rule.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Opening brace must not be followed by a blank line
(#166) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/rule_base.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Opening brace must not be followed by a blank line
public/blocks/xp/classes/rule_cm.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Opening brace must not be followed by a blank line
(#255) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/rule_event.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Opening brace must not be followed by a blank line
(#120) Opening parenthesis of a multi-line function call must be the last content on the line
(#156) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/rule_property.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Opening brace must not be followed by a blank line
public/blocks/xp/classes/ruleset.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Opening brace must not be followed by a blank line
public/blocks/xp/classes/task/admin_notices.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Opening brace must not be followed by a blank line
(#154) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/task/collection_logger_purge.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
(#72) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/task/post_deactivation_adhoc.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Opening brace must not be followed by a blank line
(#34) Missing docblock for function execute
(#105) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/task/state_provisioner.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Opening brace must not be followed by a blank line
(#64) Blank line found at end of control structure
(#67) Opening parenthesis of a multi-line function call must be the last content on the line
(#110) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/task/usage_report.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
public/blocks/xp/classes/tests/base_testcase.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Opening brace must not be followed by a blank line
(#117) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/tests/restore_context_mock.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#129) The closing brace for the class must go on the next line after the body
public/blocks/xp/classes/tests/setup_trait.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
(#54) The closing brace for the trait must go on the next line after the body
(#65) Opening brace must not be followed by a blank line
(#74) The closing brace for the trait must go on the next line after the body
(#94) The closing brace for the trait must go on the next line after the body
public/blocks/xp/db/access.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/db/caches.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/db/events.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/db/messages.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/db/services.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/db/shortcodes.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/db/tasks.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/db/upgrade.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Blank line found at start of control structure
(#53) Blank line found at start of control structure
(#68) Blank line found at start of control structure
(#83) Blank line found at start of control structure
(#98) Blank line found at start of control structure
(#113) Blank line found at start of control structure
(#128) Blank line found at start of control structure
(#155) Blank line found at start of control structure
(#170) Blank line found at start of control structure
(#185) Blank line found at start of control structure
(#200) Blank line found at start of control structure
(#215) Blank line found at start of control structure
(#224) Blank line found at start of control structure
(#239) Blank line found at start of control structure
(#254) Blank line found at start of control structure
(#269) Blank line found at start of control structure
(#284) Blank line found at start of control structure
(#299) Blank line found at start of control structure
(#314) Blank line found at start of control structure
(#329) Blank line found at start of control structure
(#344) Blank line found at start of control structure
(#357) Blank line found at start of control structure
(#372) Blank line found at start of control structure
(#383) Blank line found at start of control structure
(#398) Blank line found at start of control structure
(#413) Blank line found at start of control structure
(#428) Blank line found at start of control structure
(#443) Blank line found at start of control structure
(#458) Blank line found at start of control structure
(#473) Blank line found at start of control structure
(#488) Blank line found at start of control structure
(#497) Blank line found at start of control structure
(#512) Blank line found at start of control structure
(#527) Blank line found at start of control structure
(#542) Blank line found at start of control structure
(#557) Blank line found at start of control structure
(#567) Blank line found at start of control structure
public/blocks/xp/edit_form.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/index.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/lib.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/renderer.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#200) Opening parenthesis of a multi-line function call must be the last content on the line
(#414) Blank line found at end of control structure
(#441) Opening parenthesis of a multi-line function call must be the last content on the line
(#571) Blank line found at start of control structure
(#723) Opening parenthesis of a multi-line function call must be the last content on the line
(#732) Opening parenthesis of a multi-line function call must be the last content on the line
(#759) Blank line found at end of control structure
(#786) Opening parenthesis of a multi-line function call must be the last content on the line
(#831) Opening parenthesis of a multi-line function call must be the last content on the line
(#861) Opening parenthesis of a multi-line function call must be the last content on the line
(#926) Opening parenthesis of a multi-line function call must be the last content on the line
(#969) Opening parenthesis of a multi-line function call must be the last content on the line
(#1351) The closing brace for the class must go on the next line after the body
public/blocks/xp/settings.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
public/blocks/xp/tests/algo_levels_info_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#444) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/backup_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Opening brace must not be followed by a blank line
(#495) Opening parenthesis of a multi-line function call must be the last content on the line
(#669) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/behat/behat_block_xp.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#290) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/config_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Opening brace must not be followed by a blank line
(#387) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/course_world_collection_strategy_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Opening brace must not be followed by a blank line
(#114) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/course_world_config_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Opening brace must not be followed by a blank line
(#83) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/course_world_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Opening brace must not be followed by a blank line
(#276) Opening parenthesis of a multi-line function call must be the last content on the line
(#310) Opening parenthesis of a multi-line function call must be the last content on the line
(#342) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/filters_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Opening brace must not be followed by a blank line
(#292) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/fixtures/events.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Opening brace must not be followed by a blank line
public/blocks/xp/tests/generator/behat_block_xp_generator.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Opening brace must not be followed by a blank line
(#30) Missing docblock for function get_creatable_entities
(#64) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/generator/lib.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Opening brace must not be followed by a blank line
(#92) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/leaderboard_factory_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
(#664) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/leaderboard_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Opening brace must not be followed by a blank line
(#910) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/levels_info_writer_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Opening brace must not be followed by a blank line
public/blocks/xp/tests/local/backup/xpladder_decode_rule_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Opening brace must not be followed by a blank line
(#130) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/local/block/course_world_instance_finder_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Opening brace must not be followed by a blank line
(#212) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/local/block/default_instance_finder_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Opening brace must not be followed by a blank line
(#134) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/local/block/instance_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Opening brace must not be followed by a blank line
(#151) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/local/config/bulk_world_config_setter_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Opening brace must not be followed by a blank line
(#146) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/local/xp/full_anonymiser_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Opening brace must not be followed by a blank line
(#92) Missing member variable doc comment
(#93) Missing member variable doc comment
(#94) Missing member variable doc comment
(#95) Missing member variable doc comment
(#96) Missing docblock for function __construct in testcase
(#103) Missing docblock for function get_id in testcase
(#107) Missing docblock for function get_level in testcase
(#111) Missing docblock for function get_link in testcase
(#115) Missing docblock for function get_name in testcase
(#119) Missing docblock for function get_picture in testcase
(#123) Missing docblock for function get_ratio_in_level in testcase
(#127) Missing docblock for function get_total_xp_in_level in testcase
(#131) Missing docblock for function get_xp in testcase
(#135) Missing docblock for function get_xp_in_level in testcase
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Missing member variable doc comment
(#183) Missing docblock for function __construct in testcase
(#187) Missing docblock for function get_id in testcase
(#191) Missing docblock for function get_level in testcase
(#195) Missing docblock for function get_link in testcase
(#199) Missing docblock for function get_name in testcase
(#203) Missing docblock for function get_picture in testcase
(#207) Missing docblock for function get_ratio_in_level in testcase
(#211) Missing docblock for function get_total_xp_in_level in testcase
(#215) Missing docblock for function get_user in testcase
(#219) Missing docblock for function get_xp in testcase
(#223) Missing docblock for function get_xp_in_level in testcase
(#260) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/php_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Opening brace must not be followed by a blank line
(#95) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/privacy_provider_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Opening brace must not be followed by a blank line
public/blocks/xp/tests/rules_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
public/blocks/xp/tests/state_provisioner_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Opening brace must not be followed by a blank line
public/blocks/xp/tests/user_utils_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Opening brace must not be followed by a blank line
(#120) Opening parenthesis of a multi-line function call must be the last content on the line
(#157) The closing brace for the class must go on the next line after the body
public/blocks/xp/tests/world_factory_test.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Opening brace must not be followed by a blank line
(#179) The closing brace for the class must go on the next line after the body
public/blocks/xp/version.php
(#17) Inline comments must end in full-stops, exclamation marks, or question marks

CSS problems

(22 errors, 1 warnings)

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

public/blocks/xp/css/styles.css
(#6) Unknown at-rule `@tailwind` (csstree/validator)
(#7) Unknown at-rule `@tailwind` (csstree/validator)
(#8) Unknown at-rule `@tailwind` (csstree/validator)
(#30) Unknown at-rule `@apply` (csstree/validator)
(#86) Unknown at-rule `@apply` (csstree/validator)
(#122) Unknown at-rule `@apply` (csstree/validator)
(#125) Unknown at-rule `@apply` (csstree/validator)
(#128) Unknown at-rule `@apply` (csstree/validator)
(#134) Unknown at-rule `@apply` (csstree/validator)
(#135) Unknown at-rule `@apply` (csstree/validator)
(#138) Unknown at-rule `@apply` (csstree/validator)
(#171) Unknown at-rule `@apply` (csstree/validator)
(#533) Unknown at-rule `@apply` (csstree/validator)
(#538) Unknown at-rule `@apply` (csstree/validator)
(#15) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#179) Unexpected !important (declaration-no-important)
(#208) Unexpected !important (declaration-no-important)
(#224) Unexpected !important (declaration-no-important)
(#276) Unexpected !important (declaration-no-important)
(#314) Unexpected !important (declaration-no-important)
(#128) Expected line length to be no more than 132 characters (max-line-length)
(#339) Expected newline after "," (selector-list-comma-newline-after)
(#340) Expected indentation of 0 spaces (indentation)

PHPDocs style problems

(33 errors, 0 warnings)

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

public/blocks/xp/classes/local/backup/xpladder_decode_rule.php
(#38) Phpdocs for function xpladder_decode_rule::__construct has incomplete parameters list
public/blocks/xp/classes/local/config/filtered_config.php
(#52) Phpdocs for function filtered_config::__construct has incomplete parameters list
public/blocks/xp/classes/local/controller/route_controller.php
(#265) Phpdocs for function route_controller::redirect has incomplete parameters list
public/blocks/xp/classes/local/factory/default_leaderboard_factory_maker.php
(#52) Phpdocs for function default_leaderboard_factory_maker::__construct has incomplete parameters list
(#62) Phpdocs for function default_leaderboard_factory_maker::get_leaderboard_factory has incomplete parameters list
public/blocks/xp/classes/local/factory/leaderboard_factory_maker.php
(#46) Phpdocs for function leaderboard_factory_maker::get_leaderboard_factory has incomplete parameters list
public/blocks/xp/classes/local/factory/level_factory.php
(#45) Phpdocs for function level_factory::make_level has incomplete parameters list
public/blocks/xp/classes/local/factory/levels_factory.php
(#122) Phpdocs for function levels_factory::make_level has incomplete parameters list
public/blocks/xp/classes/local/leaderboard/course_user_leaderboard.php
(#91) Phpdocs for function course_user_leaderboard::__construct has incomplete parameters list
public/blocks/xp/classes/local/leaderboard/relative_ranker.php
(#51) Phpdocs for function relative_ranker::__construct has incomplete parameters list
public/blocks/xp/classes/local/routing/url.php
(#48) Phpdocs for function url::__construct has incomplete parameters list
public/blocks/xp/classes/local/shortcode/handler.php
(#63) Phpdocs for function handler::get_world_from_context has incomplete parameters list
public/blocks/xp/classes/local/sql/user_filter.php
(#41) Phpdocs for function user_filter::get_sql has incomplete parameters list
public/blocks/xp/classes/local/userfilter/everyone.php
(#40) Phpdocs for function everyone::get_sql has incomplete parameters list
public/blocks/xp/classes/local/userfilter/group_members.php
(#43) Phpdocs for function group_members::get_sql has incomplete parameters list
public/blocks/xp/classes/local/userfilter/nobody.php
(#40) Phpdocs for function nobody::get_sql has incomplete parameters list
public/blocks/xp/classes/local/userfilter/user_filter.php
(#40) Phpdocs for function user_filter::get_sql has incomplete parameters list
public/blocks/xp/classes/local/xp/algo_levels_info.php
(#84) Phpdocs for function algo_levels_info::__construct has incomplete parameters list
(#278) Phpdocs for function algo_levels_info::make_from_defaults has incomplete parameters list
public/blocks/xp/classes/local/xp/course_user_state_provisioner.php
(#50) Phpdocs for function course_user_state_provisioner::__construct has incomplete parameters list
public/blocks/xp/classes/local/xp/course_user_state_store.php
(#74) Phpdocs for function course_user_state_store::__construct has incomplete parameters list
public/blocks/xp/classes/output/filters_widget.php
(#59) Phpdocs for function filters_widget::__construct has incomplete parameters list
public/blocks/xp/classes/output/filters_widget_element.php
(#55) Phpdocs for function filters_widget_element::__construct has incomplete parameters list
public/blocks/xp/classes/output/xp_widget.php
(#144) Phpdocs for function xp_widget::set_next_level has incomplete parameters list
(#162) Phpdocs for function xp_widget::set_rank has incomplete parameters list
public/blocks/xp/lib.php
(#30) Phpdocs for function block_xp_env_check_addon_compatibility has incomplete parameters list
public/blocks/xp/renderer.php
(#1124) Phpdocs for function block_xp_renderer::recent_activity has incomplete parameters list
public/blocks/xp/tests/behat/behat_block_xp.php
(#253) Phpdocs for function behat_block_xp::the_table_row_foo_should_contain has incomplete parameters list
public/blocks/xp/tests/generator/behat_block_xp_generator.php
(#53) Phpdocs for function behat_block_xp_generator::get_worldcontext_id has incomplete parameters list
public/blocks/xp/tests/php_test.php
(#77) Phpdocs for function php_test::test_file_inclusion has incomplete parameters list
public/blocks/xp/tests/state_provisioner_test.php
(#76) Phpdocs for function state_provisioner_test::test_course_user_state_provisioner_with_course has incomplete parameters list
(#298) Phpdocs for function state_provisioner_test::test_task_with_course_context has incomplete parameters list
(#388) Phpdocs for function state_provisioner_test::test_task_with_system_context has incomplete parameters list

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 problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 1 warnings)

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

public/blocks/xp/templates/addon-required.mustache
(#1) ESLint did not run
public/blocks/xp/templates/cm-selector.mustache
(#1) ESLint did not run
public/blocks/xp/templates/completion-rules-scope-switcher.mustache
(#1) ESLint did not run
public/blocks/xp/templates/level-badge.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 2: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) (ad><body><div class="block_xp-level level- " aria-label="((+levelx%2C+block_xp%2C+%7B%7B+level+%7D%7D+))"> )
public/blocks/xp/templates/shortcode-snippet.mustache
(#1) ESLint did not run

Gherkin .feature problems

(0 errors, 0 warnings)

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