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

(1444 errors, 5 warnings)

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

blocks/xp/backup/moodle2/backup_xp_block_task.class.php
(#38) Opening brace must not be followed by a blank line
blocks/xp/backup/moodle2/backup_xp_stepslib.php
(#32) Opening brace must not be followed by a blank line
blocks/xp/backup/moodle2/restore_xp_block_task.class.php
(#38) 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
blocks/xp/backup/moodle2/restore_xp_stepslib.php
(#36) Opening brace must not be followed by a blank line
(#146) Blank line found at start of control structure
(#150) Blank line found at start of control structure
(#167) Blank line found at end of control structure
(#173) Blank line found at end of control structure
(#231) Opening parenthesis of a multi-line function call must be the last content on the line
(#232) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#232) Closing parenthesis of a multi-line function call must be on a line by itself
(#292) Blank line found at start of control structure
(#348) The closing brace for the class must go on the next line after the body
blocks/xp/classes/di.php
(#38) 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
blocks/xp/classes/event/user_leveledup.php
(#34) 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
blocks/xp/classes/external.php
(#44) Opening brace must not be followed by a blank line
(#180) The closing brace for the class must go on the next line after the body
blocks/xp/classes/external/create_rule.php
(#38) Opening brace must not be followed by a blank line
(#75) Opening parenthesis of a multi-line function call must be the last content on the line
(#75) Only one argument is allowed per line in a multi-line function call
(#75) Only one argument is allowed per line in a multi-line function call
(#75) Only one argument is allowed per line in a multi-line function call
(#76) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#76) Closing parenthesis of a multi-line function call must be on a line by itself
(#169) The closing brace for the class must go on the next line after the body
blocks/xp/classes/external/delete_rule.php
(#38) 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
blocks/xp/classes/external/get_rules.php
(#38) Opening brace must not be followed by a blank line
(#95) Expected 1 space after FUNCTION keyword; 0 found
(#128) The closing brace for the class must go on the next line after the body
blocks/xp/classes/external/get_sections.php
(#38) 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
blocks/xp/classes/external/mark_popup_notification_seen.php
(#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
blocks/xp/classes/external/search_courses.php
(#41) Opening brace must not be followed by a blank line
(#73) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#74) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#74) Blank line found at start of control structure
(#82) Expected 1 space after FUNCTION keyword; 0 found
(#110) The closing brace for the class must go on the next line after the body
blocks/xp/classes/external/search_modules.php
(#40) Opening brace must not be followed by a blank line
(#94) Blank line found at start of control structure
(#154) The closing brace for the class must go on the next line after the body
blocks/xp/classes/external/set_default_levels_info.php
(#38) 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
blocks/xp/classes/external/set_levels_info.php
(#40) Opening brace must not be followed by a blank line
(#131) Expected 1 space after FUNCTION keyword; 0 found
(#138) Blank line found at end of control structure
(#141) Expected 1 space after FUNCTION keyword; 0 found
(#183) The closing brace for the class must go on the next line after the body
blocks/xp/classes/filter.php
(#34) Opening brace must not be followed by a blank line
(#397) The closing brace for the class must go on the next line after the body
blocks/xp/classes/form/cheatguard.php
(#43) Opening brace must not be followed by a blank line
(#45) The first trait import statement must be declared on the first non-comment line after the class opening brace
(#50) Missing docblock for function process_dynamic_submission
(#57) Missing docblock for function set_data_for_dynamic_submission
(#91) Expected 1 space between the comma and "// We must set this...". Found: 8 spaces
(#104) Expected 0 spaces before closing parenthesis; newline found
(#104) Only one argument is allowed per line in a multi-line function call
(#104) Closing parenthesis of a multi-line function call must be on a line by itself
(#160) The closing brace for the class must go on the next line after the body
blocks/xp/classes/form/config.php
(#44) Opening brace must not be followed by a blank line
(#72) Opening parenthesis of a multi-line function call must be the last content on the line
(#72) Only one argument is allowed per line in a multi-line function call
(#73) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#73) Closing parenthesis of a multi-line function call must be on a line by itself
(#105) Opening parenthesis of a multi-line function call must be the last content on the line
(#108) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#108) Only one argument is allowed per line in a multi-line function call
(#108) Only one argument is allowed per line in a multi-line function call
(#108) Closing parenthesis of a multi-line function call must be on a line by itself
(#109) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#109) Closing parenthesis of a multi-line function call must be on a line by itself
(#112) Opening parenthesis of a multi-line function call must be the last content on the line
(#113) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#113) Only one argument is allowed per line in a multi-line function call
(#113) Closing parenthesis of a multi-line function call must be on a line by itself
(#114) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#114) Closing parenthesis of a multi-line function call must be on a line by itself
(#123) Opening parenthesis of a multi-line function call must be the last content on the line
(#126) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#126) Only one argument is allowed per line in a multi-line function call
(#126) Only one argument is allowed per line in a multi-line function call
(#126) Closing parenthesis of a multi-line function call must be on a line by itself
(#127) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#127) Closing parenthesis of a multi-line function call must be on a line by itself
(#130) Opening parenthesis of a multi-line function call must be the last content on the line
(#131) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#131) Only one argument is allowed per line in a multi-line function call
(#131) Closing parenthesis of a multi-line function call must be on a line by itself
(#132) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#132) Closing parenthesis of a multi-line function call must be on a line by itself
(#283) Expected 1 space between the comma and "// We must set this...". Found: 8 spaces
(#300) Expected 0 spaces before closing parenthesis; newline found
(#300) Only one argument is allowed per line in a multi-line function call
(#300) Closing parenthesis of a multi-line function call must be on a line by itself
(#348) The closing brace for the class must go on the next line after the body
blocks/xp/classes/form/duration.php
(#47) Opening brace must not be followed by a blank line
(#50) Property name "$_options" should not be prefixed with an underscore to indicate visibility
(#52) Property name "$_units" should not be prefixed with an underscore to indicate visibility
(#98) Expected 1 space after FUNCTION keyword; 0 found
(#131) The closing brace for the class must go on the next line after the body
blocks/xp/classes/form/dynamic_world_trait.php
(#32) Opening brace must not be followed by a blank line
(#81) The closing brace for the trait must go on the next line after the body
blocks/xp/classes/form/edit_form.php
(#41) Opening brace must not be followed by a blank line
(#52) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#52) Only one argument is allowed per line in a multi-line function call
(#52) Closing parenthesis of a multi-line function call must be on a line by itself
(#55) The closing brace for the class must go on the next line after the body
blocks/xp/classes/form/html.php
(#36) 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
blocks/xp/classes/form/info.php
(#38) Opening brace must not be followed by a blank line
(#40) The first trait import statement must be declared on the first non-comment line after the class opening brace
(#45) Missing docblock for function process_dynamic_submission
(#53) Missing docblock for function set_data_for_dynamic_submission
(#82) The closing brace for the class must go on the next line after the body
blocks/xp/classes/form/instructions.php
(#43) Opening brace must not be followed by a blank line
blocks/xp/classes/form/itemspertime.php
(#51) Opening brace must not be followed by a blank line
(#54) Property name "$_units" should not be prefixed with an underscore to indicate visibility
(#56) Property name "$_options" should not be prefixed with an underscore to indicate visibility
(#102) Expected 1 space after FUNCTION keyword; 0 found
(#214) Blank line found at end of control structure
(#222) Long list syntax is not allowed
blocks/xp/classes/form/leaderboard.php
(#40) Opening brace must not be followed by a blank line
(#42) The first trait import statement must be declared on the first non-comment line after the class opening brace
(#47) Missing docblock for function process_dynamic_submission
(#53) Missing docblock for function set_data_for_dynamic_submission
(#79) Expected 1 space after FUNCTION keyword; 0 found
(#94) Expected 1 space after FUNCTION keyword; 0 found
(#193) The closing brace for the class must go on the next line after the body
blocks/xp/classes/form/levels_with_algo.php
(#42) Opening brace must not be followed by a blank line
(#101) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#137) Opening parenthesis of a multi-line function call must be the last content on the line
(#137) Only one argument is allowed per line in a multi-line function call
(#137) Only one argument is allowed per line in a multi-line function call
(#138) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#138) Closing parenthesis of a multi-line function call must be on a line by itself
(#235) The closing brace for the class must go on the next line after the body
blocks/xp/classes/form/promo.php
(#41) Opening brace must not be followed by a blank line
(#54) The closing brace for the class must go on the next line after the body
blocks/xp/classes/form/rule.php
(#41) Opening brace must not be followed by a blank line
(#58) Missing docblock for function get_context_for_dynamic_submission
(#62) Missing docblock for function check_access_for_dynamic_submission
(#69) Missing docblock for function process_dynamic_submission
(#76) Missing docblock for function set_data_for_dynamic_submission
(#83) Missing docblock for function get_page_url_for_dynamic_submission
(#114) Missing docblock for function validation
(#124) The closing brace for the class must go on the next line after the body
blocks/xp/classes/form/staticfield.php
(#35) Opening brace must not be followed by a blank line
(#63) Blank line found at end of control structure
(#77) Expected 1 blank line at end of file; 2 found
(#77) The closing brace for the class must go on the next line after the body
blocks/xp/classes/form/user_xp.php
(#36) Opening brace must not be followed by a blank line
(#38) The first trait import statement must be declared on the first non-comment line after the class opening brace
(#55) Missing docblock for function process_dynamic_submission
(#61) Missing docblock for function set_data_for_dynamic_submission
(#119) The closing brace for the class must go on the next line after the body
blocks/xp/classes/form/visuals.php
(#41) Opening brace must not be followed by a blank line
(#57) Opening parenthesis of a multi-line function call must be the last content on the line
(#57) Only one argument is allowed per line in a multi-line function call
(#57) Only one argument is allowed per line in a multi-line function call
(#58) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#58) Only one argument is allowed per line in a multi-line function call
(#58) Closing parenthesis of a multi-line function call must be on a line by itself
(#65) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/action/action.php
(#36) Opening brace must not be followed by a blank line
(#73) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/action/maker_from_event.php
(#36) Opening brace must not be followed by a blank line
(#46) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/action/static_action.php
(#38) Opening brace must not be followed by a blank line
(#112) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/activity/activity.php
(#36) 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
blocks/xp/classes/local/activity/activity_with_xp.php
(#36) Opening brace must not be followed by a blank line
(#45) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/activity/course_log_recent_activity_repository.php
(#42) Opening brace must not be followed by a blank line
(#75) Expected 1 space after FUNCTION keyword; 0 found
(#91) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#94) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/activity/user_recent_activity_repository.php
(#36) 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
blocks/xp/classes/local/activity/xp_activity.php
(#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
blocks/xp/classes/local/backup/content_manager.php
(#36) 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
blocks/xp/classes/local/backup/restore_context.php
(#40) Opening brace must not be followed by a blank line
(#150) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/badge/badge_manager.php
(#41) Opening brace must not be followed by a blank line
blocks/xp/classes/local/block/any_instance_finder_in_context.php
(#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
blocks/xp/classes/local/block/course_block.php
(#51) Opening brace must not be followed by a blank line
(#171) Blank line found at start of control structure
(#174) Expected 1 space after FUNCTION keyword; 0 found
(#182) Blank line found at start of control structure
(#196) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#196) Only one argument is allowed per line in a multi-line function call
(#196) Closing parenthesis of a multi-line function call must be on a line by itself
(#222) Only one argument is allowed per line in a multi-line function call
(#222) Only one argument is allowed per line in a multi-line function call
(#229) Only one argument is allowed per line in a multi-line function call
(#229) Only one argument is allowed per line in a multi-line function call
(#236) Only one argument is allowed per line in a multi-line function call
(#236) Only one argument is allowed per line in a multi-line function call
(#243) Only one argument is allowed per line in a multi-line function call
(#243) Only one argument is allowed per line in a multi-line function call
(#329) Blank line found at start of control structure
(#353) Blank line found at end of control structure
(#435) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/block/course_world_instance_finder.php
(#43) The interface names in a "class implements" statement should be ordered alphabetically. Expected: instance_finder, instances_finder_in_context, any_instance_finder_in_context; Found: any_instance_finder_in_context, instances_finder_in_context, instance_finder
(#43) Opening brace must not be followed by a blank line
(#121) Expected 1 space after FUNCTION keyword; 0 found
(#177) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/block/default_instance_finder.php
(#39) 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
blocks/xp/classes/local/block/instance_finder.php
(#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
blocks/xp/classes/local/block/instances_finder_in_context.php
(#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
blocks/xp/classes/local/check/addon_compatibility.php
(#32) 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
blocks/xp/classes/local/compat/context.php
(#44) Each class must be in a file by itself
(#50) Each class must be in a file by itself
(#56) Each class must be in a file by itself
(#62) Each class must be in a file by itself
(#68) Each class must be in a file by itself
(#74) Each class must be in a file by itself
(#80) Each class must be in a file by itself
blocks/xp/classes/local/config/admin_config.php
(#43) 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
blocks/xp/classes/local/config/block_config.php
(#40) Opening brace must not be followed by a blank line
(#150) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/config/config.php
(#36) Opening brace must not be followed by a blank line
(#79) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/config/config_stack.php
(#38) Opening brace must not be followed by a blank line
(#49) Expected 1 space after FUNCTION keyword; 0 found
(#132) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/config/course_world_config.php
(#38) Opening brace must not be followed by a blank line
(#85) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Only one argument is allowed per line in a multi-line function call
(#86) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#86) Only one argument is allowed per line in a multi-line function call
(#86) Only one argument is allowed per line in a multi-line function call
(#86) Closing parenthesis of a multi-line function call must be on a line by itself
(#90) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/config/default_admin_config.php
(#53) 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
blocks/xp/classes/local/config/default_course_world_config.php
(#38) Opening brace must not be followed by a blank line
(#46) Expected 1 space between the comma and "// Enable cheat guard.". Found: 3 spaces
(#47) Expected 1 space between the comma and "// Enable the ladder.". Found: 7 spaces
(#48) Expected 1 space between the comma and "// Enable the infos page.". Found: 8 spaces
(#49) Expected 1 space between the comma and "// Not used any more.". Found: 16 spaces
(#50) Expected 1 space between the comma and "// JSON encoded value of the levels data.". Found: 11 spaces
(#55) Expected 1 space between the comma and "// Max actions during timepermaxactions.". Found: 11 spaces
(#56) Expected 1 space between the comma and "// Time during which max actions cannot be reached.". Found: 11 spaces
(#57) Expected 1 space between the comma and "// Time between similar actions.". Found: 5 spaces
(#59) Expected 1 space between the comma and "// Rank mode.". Found: 9 spaces
(#60) Expected 1 space between the comma and "// Number of neighbours to show on ladder, 0 means everyone.". Found: 34 spaces
(#61) Expected 1 space between the comma and "// Flag about the default filters.". Found: 2 spaces
(#62) Expected 1 space between the comma and "// Addditional columns to be displayed on the ladder.". Found: 6 spaces
(#63) Expected 1 space between the comma and "// Instructions to display on the info page.". Found: 19 spaces
(#64) Expected 1 space between the comma and "// Instructions format.". Found: 3 spaces
(#68) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/config/filtered_config.php
(#38) Opening brace must not be followed by a blank line
blocks/xp/classes/local/config/immutable_config.php
(#39) Opening brace must not be followed by a blank line
(#60) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/config/mapped_config.php
(#47) Opening brace must not be followed by a blank line
(#94) Expected 1 space after FUNCTION keyword; 0 found
(#127) Expected 1 space after FUNCTION keyword; 0 found
(#134) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/config/mdl_config.php
(#41) Opening brace must not be followed by a blank line
blocks/xp/classes/local/config/mdl_locked_config.php
(#44) Opening brace must not be followed by a blank line
(#53) Expected 1 space after FUNCTION keyword; 0 found
(#75) Expected 1 space after FUNCTION keyword; 0 found
(#101) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/config/proxy_config.php
(#38) 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
blocks/xp/classes/local/config/static_config.php
(#38) Opening brace must not be followed by a blank line
(#108) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/config/table_row_config.php
(#43) Opening brace must not be followed by a blank line
blocks/xp/classes/local/container.php
(#39) 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
blocks/xp/classes/local/controller/admin_levels_controller.php
(#42) Opening brace must not be followed by a blank line
(#51) Missing docblock for function define_optional_params
(#58) Missing docblock for function post_login
(#63) Missing docblock for function pre_content
(#75) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#77) Missing docblock for function content
(#94) Long list syntax is not allowed
(#102) Opening parenthesis of a multi-line function call must be the last content on the line
(#112) Missing docblock for function get_react_module
(#115) Expected 1 space after FUNCTION keyword; 0 found
blocks/xp/classes/local/controller/admin_route_controller.php
(#42) Opening brace must not be followed by a blank line
blocks/xp/classes/local/controller/admin_rules_controller.php
(#40) Opening brace must not be followed by a blank line
(#49) Missing docblock for function define_optional_params
(#57) Missing docblock for function pre_content
(#81) Blank line found at end of control structure
(#206) Missing docblock for function page_plus_promo_content
(#214) Missing docblock for function page_rules_content
(#238) Blank line found at end of control structure
(#260) Blank line found at start of control structure
(#264) Opening parenthesis of a multi-line function call must be the last content on the line
(#271) Blank line found at end of control structure
(#278) Opening parenthesis of a multi-line function call must be the last content on the line
(#288) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/admin_visuals_controller.php
(#46) Opening brace must not be followed by a blank line
(#53) Missing docblock for function define_optional_params
(#112) Opening parenthesis of a multi-line function call must be the last content on the line
(#112) Only one argument is allowed per line in a multi-line function call
(#112) Only one argument is allowed per line in a multi-line function call
(#112) Only one argument is allowed per line in a multi-line function call
(#113) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#113) Only one argument is allowed per line in a multi-line function call
(#113) Closing parenthesis of a multi-line function call must be on a line by itself
(#120) Missing docblock for function pre_content
(#172) Opening parenthesis of a multi-line function call must be the last content on the line
(#172) Only one argument is allowed per line in a multi-line function call
(#172) Only one argument is allowed per line in a multi-line function call
(#172) Only one argument is allowed per line in a multi-line function call
(#172) Only one argument is allowed per line in a multi-line function call
(#173) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#173) Closing parenthesis of a multi-line function call must be on a line by itself
(#213) Opening parenthesis of a multi-line function call must be the last content on the line
(#260) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/ajax_notice_dismiss_controller.php
(#39) 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
blocks/xp/classes/local/controller/completion_rules_controller.php
(#40) Opening brace must not be followed by a blank line
(#47) Missing docblock for function pre_content
(#53) Missing docblock for function get_page_html_head_title
(#57) Missing docblock for function get_page_heading
(#61) Missing docblock for function page_content
(#75) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/config_controller.php
(#38) Opening brace must not be followed by a blank line
(#81) Missing docblock for function pre_content
(#96) Missing docblock for function get_page_html_head_title
(#100) Missing docblock for function get_page_heading
(#104) Missing docblock for function page_content
(#110) Missing docblock for function page_note
(#118) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/controller.php
(#36) Opening brace must not be followed by a blank line
(#46) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/controller/course_route_controller.php
(#38) Opening brace must not be followed by a blank line
(#183) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/debug_controller.php
(#38) Opening brace must not be followed by a blank line
(#144) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/drops_controller.php
(#39) Opening brace must not be followed by a blank line
(#46) Missing docblock for function pre_content
(#52) Missing docblock for function get_page_html_head_title
(#56) Missing docblock for function get_page_heading
(#60) Missing docblock for function page_content
(#74) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/grade_rules_controller.php
(#39) Opening brace must not be followed by a blank line
(#46) Missing docblock for function pre_content
(#52) Missing docblock for function get_page_html_head_title
(#56) Missing docblock for function get_page_heading
(#60) Missing docblock for function page_content
(#74) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/group_ladder_controller.php
(#40) Opening brace must not be followed by a blank line
(#47) Missing docblock for function is_visible_to_viewers
(#51) Missing docblock for function pre_content
(#57) Missing docblock for function get_page_html_head_title
(#61) Missing docblock for function get_page_heading
(#65) Missing docblock for function page_content
(#80) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/import_controller.php
(#40) Opening brace must not be followed by a blank line
(#47) Missing docblock for function pre_content
(#53) Missing docblock for function get_page_html_head_title
(#57) Missing docblock for function get_page_heading
(#61) Missing docblock for function page_content
(#75) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/infos_controller.php
(#39) Opening brace must not be followed by a blank line
(#48) Missing docblock for function define_optional_params
(#63) Missing docblock for function get_form
(#70) Missing docblock for function get_page_html_head_title
(#74) Missing docblock for function get_page_heading
(#78) Missing docblock for function page_content
(#117) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/ladder_controller.php
(#41) Opening brace must not be followed by a blank line
(#53) Missing docblock for function page_setup
(#127) Missing docblock for function get_page_html_head_title
(#131) Missing docblock for function get_page_heading
(#165) Blank line found at end of control structure
(#174) Missing docblock for function page_content
(#227) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/levels_controller.php
(#40) Opening brace must not be followed by a blank line
(#45) Missing docblock for function define_optional_params
(#52) Missing docblock for function pre_content
(#63) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#65) Missing docblock for function get_page_html_head_title
(#69) Missing docblock for function get_page_heading
(#73) Missing docblock for function get_react_module
(#81) Expected 1 space after FUNCTION keyword; 0 found
(#106) Missing docblock for function get_reset_url
(#110) Missing docblock for function page_content
(#123) Long list syntax is not allowed
(#129) Missing docblock for function page_danger_zone_content
(#132) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/log_controller.php
(#44) Opening brace must not be followed by a blank line
(#60) Missing docblock for function permissions_checks
(#68) Missing docblock for function define_optional_params
(#75) Missing docblock for function post_login
(#82) Missing docblock for function get_table
(#109) Missing docblock for function get_page_html_head_title
(#113) Missing docblock for function get_page_heading
(#133) Missing docblock for function page_advanced_heading
(#141) Missing docblock for function page_content
(#168) Missing docblock for function page_user_filter
(#206) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/page_controller.php
(#44) Opening brace must not be followed by a blank line
(#134) Expected 1 space after FUNCTION keyword; 0 found
(#186) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#186) Closing parenthesis of a multi-line function call must be on a line by itself
(#187) Space found before comma in argument list
(#187) Expected no space between ")" and the comma. Found: a new line
(#197) Opening parenthesis of a multi-line function call must be the last content on the line
(#198) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#198) Closing parenthesis of a multi-line function call must be on a line by itself
(#199) Blank line found at end of control structure
(#203) Opening parenthesis of a multi-line function call must be the last content on the line
(#203) Only one argument is allowed per line in a multi-line function call
(#204) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#204) Closing parenthesis of a multi-line function call must be on a line by itself
(#229) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#275) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/promo_controller.php
(#45) Opening brace must not be followed by a blank line
(#61) Missing docblock for function define_optional_params
(#77) Missing docblock for function require_login
(#101) Missing docblock for function post_login
(#137) Missing docblock for function content
(#150) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#150) Closing parenthesis of a multi-line function call must be on a line by itself
(#151) Space found before comma in argument list
(#151) Expected no space between ")" and the comma. Found: a new line
(#192) Expected 1 space after FUNCTION keyword; 0 found
(#207) Expected 1 space after FUNCTION keyword; 0 found
(#291) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#293) Missing docblock for function content_installed
(#387) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/report_controller.php
(#45) Opening brace must not be followed by a blank line
(#62) Missing docblock for function define_optional_params
(#69) Expected 1 space between the comma and "// To keep the table page in URL.". Found: 5 spaces
(#76) Missing docblock for function permissions_checks
(#84) Missing docblock for function post_login
(#91) Missing docblock for function pre_content
(#134) Missing docblock for function get_page_html_head_title
(#138) Missing docblock for function get_page_heading
(#158) Missing docblock for function get_table
(#215) Expected 1 space after FUNCTION keyword; 0 found
(#243) Missing docblock for function page_advanced_heading
(#248) Missing docblock for function page_content
(#297) Expected 1 space after FUNCTION keyword; 0 found
(#303) Missing docblock for function page_user_filter
(#323) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/controller/route_controller.php
(#40) Opening brace must not be followed by a blank line
(#62) Expected 1 space after FUNCTION keyword; 0 found
(#163) Expected 1 space after FUNCTION keyword; 0 found
blocks/xp/classes/local/controller/rules_controller.php
(#43) Opening brace must not be followed by a blank line
(#56) Missing docblock for function define_optional_params
(#63) Missing docblock for function post_login
(#70) Missing docblock for function pre_content
(#85) Blank line found at end of control structure
(#91) Missing docblock for function handle_save
(#96) Missing docblock for function save_filters
(#100) Missing docblock for function get_page_html_head_title
(#104) Missing docblock for function get_page_heading
(#174) Missing docblock for function page_content
(#195) Missing docblock for function page_plus_promo_content
(#198) Missing docblock for function page_advanced_heading
(#224) Missing docblock for function page_rules_content
(#234) Missing docblock for function page_danger_zone_content
blocks/xp/classes/local/controller/visuals_controller.php
(#46) Opening brace must not be followed by a blank line
(#56) Missing docblock for function define_optional_params
(#106) Missing docblock for function pre_content
(#122) Blank line found at end of control structure
(#139) Opening parenthesis of a multi-line function call must be the last content on the line
(#139) Only one argument is allowed per line in a multi-line function call
(#139) Only one argument is allowed per line in a multi-line function call
(#139) Only one argument is allowed per line in a multi-line function call
(#139) Only one argument is allowed per line in a multi-line function call
(#140) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#140) Closing parenthesis of a multi-line function call must be on a line by itself
(#142) Opening parenthesis of a multi-line function call must be the last content on the line
(#142) Only one argument is allowed per line in a multi-line function call
(#142) Only one argument is allowed per line in a multi-line function call
(#142) Only one argument is allowed per line in a multi-line function call
(#142) Only one argument is allowed per line in a multi-line function call
(#143) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#143) Closing parenthesis of a multi-line function call must be on a line by itself
(#172) Opening parenthesis of a multi-line function call must be the last content on the line
(#172) Only one argument is allowed per line in a multi-line function call
(#172) Only one argument is allowed per line in a multi-line function call
(#172) Only one argument is allowed per line in a multi-line function call
(#172) Only one argument is allowed per line in a multi-line function call
(#173) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#173) Closing parenthesis of a multi-line function call must be on a line by itself
(#181) Missing docblock for function get_page_html_head_title
(#185) Missing docblock for function get_page_heading
(#189) Missing docblock for function page_content
(#232) Missing docblock for function page_danger_zone_content
(#244) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/course_world.php
(#45) Opening brace must not be followed by a blank line
(#83) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#83) Multi-line function declarations must define one parameter per line
(#83) Multi-line function declarations must define one parameter per line
(#84) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#85) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#85) The closing parenthesis of a multi-line function declaration must be on a new line
(#102) Missing docblock for function get_access_permissions
(#106) Missing docblock for function get_config
(#110) Missing docblock for function get_collection_strategy
(#156) Blank line found at end of control structure
(#161) Blank line found at end of control structure
(#167) Blank line found at end of control structure
(#172) Missing docblock for function get_levels_info
(#173) Blank line found at start of control structure
(#178) Blank line found at end of control structure
(#189) Blank line found at end of control structure
(#229) Opening parenthesis of a multi-line function call must be the last content on the line
(#229) Only one argument is allowed per line in a multi-line function call
(#230) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#230) Closing parenthesis of a multi-line function call must be on a line by itself
(#235) Missing docblock for function get_store
(#301) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/default_container.php
(#39) Opening brace must not be followed by a blank line
(#389) Opening parenthesis of a multi-line function call must be the last content on the line
(#389) Only one argument is allowed per line in a multi-line function call
(#390) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#390) Closing parenthesis of a multi-line function call must be on a line by itself
(#594) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/division/all_division.php
(#30) 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
blocks/xp/classes/local/division/division.php
(#29) 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
blocks/xp/classes/local/division/empty_division.php
(#30) 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
blocks/xp/classes/local/division/group_division.php
(#33) Opening brace must not be followed by a blank line
(#88) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/factory/badge_url_resolver_course_world_factory.php
(#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
blocks/xp/classes/local/factory/context_world_factory.php
(#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
blocks/xp/classes/local/factory/course_world_factory.php
(#36) Opening brace must not be followed by a blank line
(#46) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/factory/course_world_leaderboard_factory.php
(#39) 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
blocks/xp/classes/local/factory/course_world_leaderboard_factory_with_config.php
(#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
blocks/xp/classes/local/factory/course_world_navigation_factory.php
(#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
blocks/xp/classes/local/factory/default_badge_url_resolver_course_world_factory.php
(#41) The implements keyword must be on the same line as the class name
(#41) Opening brace must not be followed by a blank line
(#69) Blank line found at end of control structure
(#76) Blank line found at end of control structure
(#86) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/factory/default_context_world_factory.php
(#39) 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
blocks/xp/classes/local/factory/default_course_world_factory.php
(#43) Opening brace must not be followed by a blank line
(#67) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#67) Multi-line function declarations must define one parameter per line
(#68) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#69) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#70) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#70) The closing parenthesis of a multi-line function declaration must be on a new line
(#103) Opening parenthesis of a multi-line function call must be the last content on the line
(#103) Only one argument is allowed per line in a multi-line function call
(#103) Only one argument is allowed per line in a multi-line function call
(#103) Only one argument is allowed per line in a multi-line function call
(#104) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#104) Closing parenthesis of a multi-line function call must be on a line by itself
(#109) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/factory/default_course_world_leaderboard_factory.php
(#53) Opening brace must not be followed by a blank line
(#206) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#206) Multi-line function declarations must define one parameter per line
(#206) Multi-line function declarations must define one parameter per line
(#207) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#207) Multi-line function declarations must define one parameter per line
(#207) The closing parenthesis of a multi-line function declaration must be on a new line
(#273) Opening parenthesis of a multi-line function call must be the last content on the line
(#273) Only one argument is allowed per line in a multi-line function call
(#273) Only one argument is allowed per line in a multi-line function call
(#274) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#274) Closing parenthesis of a multi-line function call must be on a line by itself
(#280) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/factory/default_course_world_navigation_factory.php
(#43) Opening brace must not be followed by a blank line
(#134) Blank line found at start of control structure
(#260) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/factory/default_leaderboard_factory_maker.php
(#40) Opening brace must not be followed by a blank line
(#68) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/factory/leaderboard_factory.php
(#39) 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
blocks/xp/classes/local/factory/leaderboard_factory_maker.php
(#39) 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
blocks/xp/classes/local/factory/level_factory.php
(#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
blocks/xp/classes/local/factory/levels_factory.php
(#45) Opening brace must not be followed by a blank line
(#61) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#61) Multi-line function declarations must define one parameter per line
(#62) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#62) The closing parenthesis of a multi-line function declaration must be on a new line
(#127) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/factory/levels_info_factory.php
(#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
blocks/xp/classes/local/factory/serializer_factory.php
(#40) 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
blocks/xp/classes/local/factory/world_leaderboard_factory.php
(#60) Opening brace must not be followed by a blank line
(#260) Opening parenthesis of a multi-line function call must be the last content on the line
(#260) Only one argument is allowed per line in a multi-line function call
(#260) Only one argument is allowed per line in a multi-line function call
(#261) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#261) Closing parenthesis of a multi-line function call must be on a line by itself
(#267) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/file/block_file_server.php
(#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
blocks/xp/classes/local/file/component_file_server.php
(#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
blocks/xp/classes/local/file/file_server.php
(#39) Opening brace must not be followed by a blank line
(#112) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/indicator/context_prefs_user_indicator.php
(#39) Opening brace must not be followed by a blank line
(#51) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/indicator/prefs_user_indicator.php
(#44) 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
blocks/xp/classes/local/indicator/proxy_user_indicator.php
(#41) Opening brace must not be followed by a blank line
(#107) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/indicator/user_indicator.php
(#38) 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
blocks/xp/classes/local/indicator/user_indicator_with_acceptance.php
(#36) 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
blocks/xp/classes/local/indicator/user_notice_indicator.php
(#40) Opening brace must not be followed by a blank line
(#94) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/iterator/csv_reader_iterator.php
(#40) Opening brace must not be followed by a blank line
blocks/xp/classes/local/iterator/map_iterator.php
(#42) Opening brace must not be followed by a blank line
(#69) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/iterator/map_recordset.php
(#41) 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
blocks/xp/classes/local/leaderboard/anonymisable_leaderboard.php
(#42) Opening brace must not be followed by a blank line
(#119) Expected 1 space after FUNCTION keyword; 0 found
(#124) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/leaderboard/anonymised_leaderboard.php
(#49) Opening brace must not be followed by a blank line
(#101) Blank line found at end of control structure
(#161) Expected 1 space after FUNCTION keyword; 0 found
(#166) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/leaderboard/course_user_leaderboard.php
(#50) Opening brace must not be followed by a blank line
(#82) @deprecated tag is not allowed in member variable comment
(#97) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#98) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#99) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#100) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#101) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#102) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#102) The closing parenthesis of a multi-line function declaration must be on a new line
(#281) Expected 1 space after FUNCTION keyword; 0 found
(#389) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/leaderboard/empty_leaderboard.php
(#38) Opening brace must not be followed by a blank line
blocks/xp/classes/local/leaderboard/leaderboard.php
(#39) 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
blocks/xp/classes/local/leaderboard/neighboured_leaderboard.php
(#38) Opening brace must not be followed by a blank line
(#180) Long list syntax is not allowed
(#211) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/leaderboard/null_ranker.php
(#42) Opening brace must not be followed by a blank line
(#64) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/leaderboard/ranker.php
(#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
blocks/xp/classes/local/leaderboard/relative_ranker.php
(#41) Opening brace must not be followed by a blank line
(#74) Expected 1 space after FUNCTION keyword; 0 found
(#82) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/logger/collection_logger.php
(#38) Opening brace must not be followed by a blank line
blocks/xp/classes/local/logger/collection_logger_with_group_reset.php
(#36) Opening brace must not be followed by a blank line
(#46) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/logger/collection_logger_with_id_reset.php
(#36) Opening brace must not be followed by a blank line
(#46) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/logger/course_user_event_collection_logger.php
(#42) The interface names in a "class implements" statement should be ordered alphabetically. Expected: reason_collection_logger, collection_logger_with_group_reset, collection_logger_with_id_reset; Found: collection_logger_with_group_reset, collection_logger_with_id_reset, reason_collection_logger
(#43) Expected 4 spaces before interface name; 8 found
(#44) Expected 4 spaces before interface name; 8 found
(#45) Expected 4 spaces before interface name; 8 found
(#45) Opening brace must not be followed by a blank line
(#176) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/logger/global_collection_logger.php
(#45) 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
blocks/xp/classes/local/logger/reason_collection_logger.php
(#39) 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
blocks/xp/classes/local/logger/reason_occurrence_indicator.php
(#39) 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
blocks/xp/classes/local/notification/course_level_up_notification_service.php
(#36) Opening brace must not be followed by a blank line
(#60) Expected 1 space after FUNCTION keyword; 0 found
(#87) Expected 1 space after FUNCTION keyword; 0 found
(#153) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/observer/default_observer_rules_maker.php
(#36) Opening brace must not be followed by a blank line
(#55) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/observer/default_state_store_observer.php
(#42) Opening brace must not be followed by a blank line
(#83) Blank line found at start of control structure
(#137) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/observer/level_up_state_store_observer.php
(#39) 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
blocks/xp/classes/local/observer/observer.php
(#34) Opening brace must not be followed by a blank line
(#81) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/observer/observer_rules_maker.php
(#36) 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
blocks/xp/classes/local/observer/points_increased_state_store_observer.php
(#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
blocks/xp/classes/local/permission/access_logs_permissions.php
(#36) 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
blocks/xp/classes/local/permission/access_permissions.php
(#36) Opening brace must not be followed by a blank line
blocks/xp/classes/local/permission/access_report_permissions.php
(#36) 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
blocks/xp/classes/local/permission/context_permissions.php
(#38) The interface names in a "class implements" statement should be ordered alphabetically. Expected: access_permissions, access_logs_permissions, access_report_permissions; Found: access_logs_permissions, access_permissions, access_report_permissions
(#38) Opening brace must not be followed by a blank line
blocks/xp/classes/local/plugin/addon.php
(#40) Opening brace must not be followed by a blank line
(#263) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/plugin/usage_report_maker.php
(#43) Opening brace must not be followed by a blank line
(#103) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#103) Closing parenthesis of a multi-line function call must be on a line by itself
(#105) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#105) Closing parenthesis of a multi-line function call must be on a line by itself
(#108) Expected 1 space after FUNCTION keyword; 0 found
(#180) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#186) The closing parenthesis of a multi-line control structure must be on the line after the last expression
blocks/xp/classes/local/plugin/usage_reporter.php
(#43) 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
blocks/xp/classes/local/privacy/addon_provider.php
(#41) Opening brace must not be followed by a blank line
(#80) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/privacy/addon_userlist_provider.php
(#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
blocks/xp/classes/local/reason/event_name_reason.php
(#36) 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
blocks/xp/classes/local/reason/reason.php
(#38) Opening brace must not be followed by a blank line
(#62) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/reason/reason_with_rule.php
(#36) 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
blocks/xp/classes/local/routing/ajax_routes_config.php
(#36) Opening brace must not be followed by a blank line
(#55) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/routing/default_routes_config.php
(#36) Opening brace must not be followed by a blank line
(#214) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/routing/default_url_resolver.php
(#39) Opening brace must not be followed by a blank line
(#77) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#78) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#184) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/routing/request.php
(#36) 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
blocks/xp/classes/local/routing/route.php
(#36) 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
blocks/xp/classes/local/routing/route_definition.php
(#36) Opening brace must not be followed by a blank line
(#111) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/routing/routed_request.php
(#36) 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
blocks/xp/classes/local/routing/router.php
(#45) 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
blocks/xp/classes/local/routing/routes_config.php
(#36) 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
blocks/xp/classes/local/routing/static_routes_config.php
(#38) Opening brace must not be followed by a blank line
(#49) Expected 1 space after FUNCTION keyword; 0 found
(#77) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/routing/url.php
(#38) 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
blocks/xp/classes/local/routing/url_resolver.php
(#40) Opening brace must not be followed by a blank line
(#66) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/rule/dictator.php
(#38) Opening brace must not be followed by a blank line
(#95) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/rule/event_lister.php
(#45) Opening brace must not be followed by a blank line
(#72) Expected 1 space after FUNCTION keyword; 0 found
(#73) Expected 1 space after FUNCTION keyword; 0 found
(#232) Expected 1 space after FUNCTION keyword; 0 found
(#281) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/rule/instance.php
(#36) 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
blocks/xp/classes/local/rule/static_instance.php
(#36) Opening brace must not be followed by a blank line
(#54) Missing docblock for function get_id
(#58) Missing docblock for function get_context
(#65) Missing docblock for function get_child_context
(#75) Missing docblock for function get_points
(#79) Missing docblock for function get_type_name
(#83) Missing docblock for function get_filter_name
(#87) Missing docblock for function get_filter_config
(#96) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/rule/the_dictator.php
(#40) Opening brace must not be followed by a blank line
(#121) Expected 1 space after FUNCTION keyword; 0 found
(#218) Expected 1 space after FUNCTION keyword; 0 found
(#233) Expected 1 space after FUNCTION keyword; 0 found
(#263) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/rulefilter/action_tester.php
(#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
blocks/xp/classes/local/rulefilter/any.php
(#39) Opening brace must not be followed by a blank line
(#41) Missing docblock for function get_action_tester
(#45) Missing docblock for function get_compatible_context_levels
(#49) Missing docblock for function get_display_name
(#53) Missing docblock for function get_label_for_config
(#57) Missing docblock for function get_short_description
(#61) Missing docblock for function is_compatible_with_admin
(#65) Missing docblock for function is_multiple_allowed
(#69) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/rulefilter/any_tester.php
(#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
blocks/xp/classes/local/rulefilter/default_handler.php
(#40) Opening brace must not be followed by a blank line
(#106) Expected 1 space after FUNCTION keyword; 0 found
(#140) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/rulefilter/handler.php
(#38) Opening brace must not be followed by a blank line
blocks/xp/classes/local/rulefilter/rulefilter.php
(#39) Opening brace must not be followed by a blank line
(#94) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/rulefilter/rulefilter_with_update_after_restore.php
(#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
blocks/xp/classes/local/ruletype/default_resolver.php
(#36) 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
blocks/xp/classes/local/ruletype/resolver.php
(#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
blocks/xp/classes/local/ruletype/ruletype.php
(#40) Opening brace must not be followed by a blank line
(#103) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/serializer/level_serializer.php
(#42) 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
blocks/xp/classes/local/serializer/levels_info_serializer.php
(#41) 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
blocks/xp/classes/local/serializer/serializer.php
(#36) Opening brace must not be followed by a blank line
(#46) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/serializer/serializer_with_read_structure.php
(#36) 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
blocks/xp/classes/local/serializer/url_serializer.php
(#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
blocks/xp/classes/local/setting/compatibility_check_setting.php
(#39) Opening brace must not be followed by a blank line
(#79) Blank line found at end of control structure
(#91) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#92) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#95) Opening parenthesis of a multi-line function call must be the last content on the line
(#95) Only one argument is allowed per line in a multi-line function call
(#96) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#96) Closing parenthesis of a multi-line function call must be on a line by itself
(#100) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#101) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#104) Opening parenthesis of a multi-line function call must be the last content on the line
(#104) Only one argument is allowed per line in a multi-line function call
(#105) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#105) Closing parenthesis of a multi-line function call must be on a line by itself
(#117) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/setting/default_settings_maker.php
(#53) Opening brace must not be followed by a blank line
(#94) Expected 1 space after FUNCTION keyword; 0 found
(#102) Expected 1 space after FUNCTION keyword; 0 found
(#112) Opening parenthesis of a multi-line function call must be the last content on the line
(#114) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#114) Closing parenthesis of a multi-line function call must be on a line by itself
(#118) Opening parenthesis of a multi-line function call must be the last content on the line
(#120) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#120) Closing parenthesis of a multi-line function call must be on a line by itself
(#124) Opening parenthesis of a multi-line function call must be the last content on the line
(#126) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#126) Closing parenthesis of a multi-line function call must be on a line by itself
(#132) Opening parenthesis of a multi-line function call must be the last content on the line
(#134) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#134) Closing parenthesis of a multi-line function call must be on a line by itself
(#155) Opening parenthesis of a multi-line function call must be the last content on the line
(#158) Only one argument is allowed per line in a multi-line function call
(#163) Expected 1 space after FUNCTION keyword; 0 found
(#182) Opening parenthesis of a multi-line function call must be the last content on the line
(#185) Only one argument is allowed per line in a multi-line function call
(#192) Opening parenthesis of a multi-line function call must be the last content on the line
(#195) Only one argument is allowed per line in a multi-line function call
(#202) Opening parenthesis of a multi-line function call must be the last content on the line
(#205) Only one argument is allowed per line in a multi-line function call
(#210) Expected 1 space after FUNCTION keyword; 0 found
(#217) Opening parenthesis of a multi-line function call must be the last content on the line
(#218) Only one argument is allowed per line in a multi-line function call
(#219) Only one argument is allowed per line in a multi-line function call
(#239) Expected 1 space after FUNCTION keyword; 0 found
(#258) Expected 1 space after FUNCTION keyword; 0 found
(#279) Opening parenthesis of a multi-line function call must be the last content on the line
(#280) Only one argument is allowed per line in a multi-line function call
(#281) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#281) Closing parenthesis of a multi-line function call must be on a line by itself
(#284) Opening parenthesis of a multi-line function call must be the last content on the line
(#285) Only one argument is allowed per line in a multi-line function call
(#286) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#286) Closing parenthesis of a multi-line function call must be on a line by itself
(#292) Opening parenthesis of a multi-line function call must be the last content on the line
(#293) Only one argument is allowed per line in a multi-line function call
(#294) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#294) Closing parenthesis of a multi-line function call must be on a line by itself
(#297) Opening parenthesis of a multi-line function call must be the last content on the line
(#298) Only one argument is allowed per line in a multi-line function call
(#299) Only one argument is allowed per line in a multi-line function call
(#306) Opening parenthesis of a multi-line function call must be the last content on the line
(#307) Only one argument is allowed per line in a multi-line function call
(#308) Only one argument is allowed per line in a multi-line function call
(#319) Opening parenthesis of a multi-line function call must be the last content on the line
(#320) Only one argument is allowed per line in a multi-line function call
(#321) Only one argument is allowed per line in a multi-line function call
(#329) Opening parenthesis of a multi-line function call must be the last content on the line
(#330) Only one argument is allowed per line in a multi-line function call
(#331) Only one argument is allowed per line in a multi-line function call
(#341) Opening parenthesis of a multi-line function call must be the last content on the line
(#342) Only one argument is allowed per line in a multi-line function call
(#343) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#343) Closing parenthesis of a multi-line function call must be on a line by itself
(#346) Opening parenthesis of a multi-line function call must be the last content on the line
(#347) Only one argument is allowed per line in a multi-line function call
(#348) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#348) Only one argument is allowed per line in a multi-line function call
(#348) Closing parenthesis of a multi-line function call must be on a line by itself
(#351) Opening parenthesis of a multi-line function call must be the last content on the line
(#352) Only one argument is allowed per line in a multi-line function call
(#353) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#353) Only one argument is allowed per line in a multi-line function call
(#353) Closing parenthesis of a multi-line function call must be on a line by itself
(#356) Opening parenthesis of a multi-line function call must be the last content on the line
(#357) Only one argument is allowed per line in a multi-line function call
(#358) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#358) Only one argument is allowed per line in a multi-line function call
(#358) Closing parenthesis of a multi-line function call must be on a line by itself
(#361) Opening parenthesis of a multi-line function call must be the last content on the line
(#362) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#362) Only one argument is allowed per line in a multi-line function call
(#362) Closing parenthesis of a multi-line function call must be on a line by itself
(#365) Opening parenthesis of a multi-line function call must be the last content on the line
(#366) Only one argument is allowed per line in a multi-line function call
(#367) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#367) Only one argument is allowed per line in a multi-line function call
(#367) Closing parenthesis of a multi-line function call must be on a line by itself
(#370) Opening parenthesis of a multi-line function call must be the last content on the line
(#371) Only one argument is allowed per line in a multi-line function call
(#372) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#372) Only one argument is allowed per line in a multi-line function call
(#372) Closing parenthesis of a multi-line function call must be on a line by itself
(#375) Opening parenthesis of a multi-line function call must be the last content on the line
(#376) Only one argument is allowed per line in a multi-line function call
(#377) Only one argument is allowed per line in a multi-line function call
(#380) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#380) Closing parenthesis of a multi-line function call must be on a line by itself
(#383) Opening parenthesis of a multi-line function call must be the last content on the line
(#384) Only one argument is allowed per line in a multi-line function call
(#385) Only one argument is allowed per line in a multi-line function call
(#388) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#388) Closing parenthesis of a multi-line function call must be on a line by itself
blocks/xp/classes/local/setting/environment.php
(#40) Opening brace must not be followed by a blank line
(#66) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#67) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#68) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#69) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#70) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#71) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#71) The closing parenthesis of a multi-line function declaration must be on a new line
(#144) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/setting/freeform_setting.php
(#40) 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
blocks/xp/classes/local/setting/recommended_plugins_setting.php
(#40) Opening brace must not be followed by a blank line
(#57) Expected 1 space after FUNCTION keyword; 0 found
(#88) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/setting/settings_maker.php
(#36) 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
blocks/xp/classes/local/setting/static_setting.php
(#42) Opening brace must not be followed by a blank line
(#97) Opening parenthesis of a multi-line function call must be the last content on the line
(#97) Only one argument is allowed per line in a multi-line function call
(#97) Only one argument is allowed per line in a multi-line function call
(#97) Only one argument is allowed per line in a multi-line function call
(#98) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Closing parenthesis of a multi-line function call must be on a line by itself
(#101) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/shortcode/default_shortcodes_definition_maker.php
(#36) Opening brace must not be followed by a blank line
(#73) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/shortcode/handler.php
(#43) Opening brace must not be followed by a blank line
(#147) Expected 1 space after FUNCTION keyword; 0 found
(#168) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#169) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#230) Blank line found at end of control structure
(#399) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/shortcode/shortcodes_definition_maker.php
(#36) 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
blocks/xp/classes/local/sql/limit.php
(#36) 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
blocks/xp/classes/local/sql/user_filter.php
(#36) Opening brace must not be followed by a blank line
(#45) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/strategy/action_collection_strategy.php
(#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
blocks/xp/classes/local/strategy/course_world_collection_strategy.php
(#44) Opening brace must not be followed by a blank line
(#70) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#71) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#72) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#73) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#74) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#75) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#76) Multi-line function declaration not indented correctly; expected 4 spaces but found 8
(#160) Expected 1 space after FUNCTION keyword; 0 found
(#182) Expected 1 space after FUNCTION keyword; 0 found
(#183) Expected 1 space after FUNCTION keyword; 0 found
(#209) Expected 1 space after FUNCTION keyword; 0 found
(#210) Expected 1 space after FUNCTION keyword; 0 found
(#230) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/strategy/event_collection_strategy.php
(#36) Opening brace must not be followed by a blank line
(#46) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/strategy/global_collection_strategy.php
(#39) 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
blocks/xp/classes/local/task/default_tasks_definition_maker.php
(#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
blocks/xp/classes/local/task/tasks_definition_maker.php
(#36) 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
blocks/xp/classes/local/userfilter/everyone.php
(#36) Opening brace must not be followed by a blank line
(#47) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/userfilter/group_members.php
(#27) Opening brace must not be followed by a blank line
(#63) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/userfilter/nobody.php
(#36) Opening brace must not be followed by a blank line
(#47) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/userfilter/user_filter.php
(#36) Opening brace must not be followed by a blank line
(#45) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/utils/external_utils.php
(#38) Opening brace must not be followed by a blank line
(#54) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#54) Multi-line function declarations must define one parameter per line
(#54) Multi-line function declarations must define one parameter per line
(#54) Multi-line function declarations must define one parameter per line
(#54) Multi-line function declarations must define one parameter per line
(#55) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#55) Multi-line function declarations must define one parameter per line
(#55) The closing parenthesis of a multi-line function declaration must be on a new line
(#100) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/utils/user_utils.php
(#40) Opening brace must not be followed by a blank line
(#216) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/world.php
(#41) Opening brace must not be followed by a blank line
(#85) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/xp/admin_filter_manager.php
(#41) Opening brace must not be followed by a blank line
(#133) Opening parenthesis of a multi-line function call must be the last content on the line
(#133) Only one argument is allowed per line in a multi-line function call
(#134) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#134) Closing parenthesis of a multi-line function call must be on a line by itself
blocks/xp/classes/local/xp/algo_levels_info.php
(#40) Opening brace must not be followed by a blank line
(#225) Expected 1 space after FUNCTION keyword; 0 found
(#243) Expected 1 space after FUNCTION keyword; 0 found
(#253) Blank line found at end of control structure
(#290) Opening parenthesis of a multi-line function call must be the last content on the line
(#290) Only one argument is allowed per line in a multi-line function call
(#290) Only one argument is allowed per line in a multi-line function call
(#291) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#291) Only one argument is allowed per line in a multi-line function call
(#291) Closing parenthesis of a multi-line function call must be on a line by itself
(#307) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#307) Multi-line function declarations must define one parameter per line
(#307) Multi-line function declarations must define one parameter per line
(#307) Multi-line function declarations must define one parameter per line
(#308) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#308) The closing parenthesis of a multi-line function declaration must be on a new line
(#339) Blank line found at start of control structure
(#356) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/xp/anonymised_state.php
(#38) Opening brace must not be followed by a blank line
(#141) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/xp/anonymised_user_state.php
(#39) Opening brace must not be followed by a blank line
(#57) Missing docblock for function get_id
(#61) Missing docblock for function get_link
(#65) Missing docblock for function get_name
(#69) Missing docblock for function get_picture
(#73) Missing docblock for function get_level
(#77) Missing docblock for function get_ratio_in_level
(#81) Missing docblock for function get_total_xp_in_level
(#85) Missing docblock for function get_user
(#89) Missing docblock for function get_xp
(#93) Missing docblock for function get_xp_in_level
(#97) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/xp/badge_url_resolver.php
(#36) Opening brace must not be followed by a blank line
(#46) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/xp/badged_level.php
(#36) Opening brace must not be followed by a blank line
(#64) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/xp/course_filter_manager.php
(#37) Opening brace must not be followed by a blank line
(#219) Opening parenthesis of a multi-line function call must be the last content on the line
(#219) Only one argument is allowed per line in a multi-line function call
(#220) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#220) Closing parenthesis of a multi-line function call must be on a line by itself
(#275) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/xp/course_state_store.php
(#36) Opening brace must not be followed by a blank line
(#46) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/xp/course_user_state_provisioner.php
(#34) Opening brace must not be followed by a blank line
blocks/xp/classes/local/xp/course_user_state_store.php
(#52) The interface names in a "class implements" statement should be ordered alphabetically. Expected: course_state_store, state_store_with_reason, state_store_with_delete; Found: course_state_store, state_store_with_delete, state_store_with_reason
(#52) The first item in a multi-line implements list must be on the line following the implements keyword
(#53) Expected 4 spaces before interface name; 8 found
(#53) Only one interface may be specified per line in a multi-line implements declaration
(#53) Opening brace must not be followed by a blank line
(#80) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#80) Multi-line function declarations must define one parameter per line
(#80) Multi-line function declarations must define one parameter per line
(#81) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#81) Multi-line function declarations must define one parameter per line
(#82) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#82) The closing parenthesis of a multi-line function declaration must be on a new line
(#357) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/xp/described_level.php
(#36) Opening brace must not be followed by a blank line
(#97) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/xp/dummy_badge_url_resolver.php
(#36) Opening brace must not be followed by a blank line
(#48) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/xp/file_storage_badge_url_resolver.php
(#43) Opening brace must not be followed by a blank line
(#123) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/xp/full_anonymiser.php
(#38) 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
blocks/xp/classes/local/xp/level.php
(#36) 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
blocks/xp/classes/local/xp/level_with_badge.php
(#36) Opening brace must not be followed by a blank line
(#45) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/xp/level_with_description.php
(#36) Opening brace must not be followed by a blank line
(#45) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/xp/level_with_name.php
(#36) 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
blocks/xp/classes/local/xp/levels_info.php
(#36) 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
blocks/xp/classes/local/xp/levels_info_with_algo.php
(#36) Opening brace must not be followed by a blank line
(#67) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/xp/levels_info_writer.php
(#48) Opening brace must not be followed by a blank line
(#278) Expected 1 space after FUNCTION keyword; 0 found
(#279) Expected 1 space after FUNCTION keyword; 0 found
(#327) Expected 1 space after FUNCTION keyword; 0 found
(#332) Expected 1 space after FUNCTION keyword; 0 found
(#383) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/xp/rank.php
(#36) 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
blocks/xp/classes/local/xp/state.php
(#38) 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
blocks/xp/classes/local/xp/state_anonymiser.php
(#36) Opening brace must not be followed by a blank line
(#46) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/xp/state_rank.php
(#36) 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
blocks/xp/classes/local/xp/state_store.php
(#36) 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
blocks/xp/classes/local/xp/state_store_with_delete.php
(#36) Opening brace must not be followed by a blank line
(#46) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/xp/state_store_with_reason.php
(#38) 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
blocks/xp/classes/local/xp/state_with_subject.php
(#40) Opening brace must not be followed by a blank line
(#63) The closing brace for the interface must go on the next line after the body
blocks/xp/classes/local/xp/static_level.php
(#36) The interface names in a "class implements" statement should be ordered alphabetically. Expected: level, level_with_name, level_with_description, level_with_badge; Found: level, level_with_badge, level_with_description, level_with_name
(#36) Opening brace must not be followed by a blank line
(#51) Missing docblock for function __construct
(#64) Missing docblock for function get_level
(#68) Missing docblock for function get_xp_required
(#72) Missing docblock for function get_badge_url
(#76) Missing docblock for function get_description
(#80) Missing docblock for function get_name
(#84) The closing brace for the class must go on the next line after the body
blocks/xp/classes/local/xp/user_state.php
(#42) Opening brace must not be followed by a blank line
(#71) Missing docblock for function get_id
(#75) Missing docblock for function get_level
(#82) Missing docblock for function get_link
(#91) Missing docblock for function get_name
(#95) Missing docblock for function get_picture
(#99) Missing docblock for function get_ratio_in_level
(#107) Missing docblock for function get_total_xp_in_level
(#126) Missing docblock for function get_xp
(#130) Missing docblock for function get_xp_in_level
(#155) The closing brace for the class must go on the next line after the body
blocks/xp/classes/output/dismissable_notice.php
(#36) 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
blocks/xp/classes/output/filters_widget.php
(#41) Opening brace must not be followed by a blank line
(#65) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#65) Multi-line function declarations must define one parameter per line
(#65) Multi-line function declarations must define one parameter per line
(#65) Multi-line function declarations must define one parameter per line
(#66) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#66) The closing parenthesis of a multi-line function declaration must be on a new line
(#89) The closing brace for the class must go on the next line after the body
blocks/xp/classes/output/filters_widget_element.php
(#39) 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
blocks/xp/classes/output/filters_widget_group.php
(#40) Opening brace must not be followed by a blank line
(#54) The closing brace for the class must go on the next line after the body
blocks/xp/classes/output/leaderboard_table.php
(#51) Opening brace must not be followed by a blank line
(#95) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#96) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#97) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#98) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#99) Multi-line function declaration not indented correctly; expected 4 spaces but found 8
(#202) Blank line found at end of control structure
(#214) Blank line found at end of control structure
(#357) Blank line found at end of control structure
(#358) Blank line found at start of control structure
(#383) Blank line found at start of control structure
blocks/xp/classes/output/log_table.php
(#45) Opening brace must not be followed by a blank line
blocks/xp/classes/output/log_table_filterset.php
(#30) Opening brace must not be followed by a blank line
(#32) Missing docblock for function get_optional_filters
(#38) The closing brace for the class must go on the next line after the body
blocks/xp/classes/output/notice.php
(#40) Opening brace must not be followed by a blank line
(#69) The closing brace for the class must go on the next line after the body
blocks/xp/classes/output/report_table.php
(#54) Opening brace must not be followed by a blank line
(#83) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#84) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#85) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#86) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#87) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#88) Multi-line function declaration not indented correctly; expected 4 spaces but found 8
(#167) Long list syntax is not allowed
(#295) Expected 1 space after FUNCTION keyword; 0 found
(#315) Opening parenthesis of a multi-line function call must be the last content on the line
(#316) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#316) Closing parenthesis of a multi-line function call must be on a line by itself
(#346) Opening parenthesis of a multi-line function call must be the last content on the line
(#346) Only one argument is allowed per line in a multi-line function call
(#347) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#347) Closing parenthesis of a multi-line function call must be on a line by itself
(#352) Opening parenthesis of a multi-line function call must be the last content on the line
(#352) Only one argument is allowed per line in a multi-line function call
(#353) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#353) Closing parenthesis of a multi-line function call must be on a line by itself
(#477) Blank line found at start of control structure
(#550) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#552) The closing brace for the class must go on the next line after the body
blocks/xp/classes/output/report_table_filterset.php
(#30) Opening brace must not be followed by a blank line
(#32) Missing docblock for function get_optional_filters
(#38) The closing brace for the class must go on the next line after the body
blocks/xp/classes/output/xp_widget.php
(#49) Opening brace must not be followed by a blank line
(#91) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#91) Multi-line function declarations must define one parameter per line
(#91) Multi-line function declarations must define one parameter per line
(#91) Multi-line function declarations must define one parameter per line
(#92) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#92) The closing parenthesis of a multi-line function declaration must be on a new line
(#98) Expected 1 space after FUNCTION keyword; 0 found
(#101) Expected 1 space after FUNCTION keyword; 0 found
(#247) Expected 1 space after FUNCTION keyword; 0 found
(#299) Expected 1 space after FUNCTION keyword; 0 found
blocks/xp/classes/privacy/provider.php
(#51) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, \core_privacy\local\request\core_userlist_provider, \core_privacy\local\request\user_preference_provider; Found: \core_privacy\local\request\core_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, \core_privacy\local\request\user_preference_provider
(#54) Expected 0 spaces between "core_userlist_provider" and comma; 1 found
(#54) Expected no space between "core_userlist_provider" and the comma. Found: 1 space
(#55) Opening brace must not be followed by a blank line
(#57) The first trait import statement must be declared on the first non-comment line after the class opening brace
(#170) Expected 1 space after FUNCTION keyword; 0 found
(#174) Long list syntax is not allowed
(#207) Expected 1 space after FUNCTION keyword; 0 found
(#216) Blank line found at start of control structure
(#289) Expected 1 space after FUNCTION keyword; 0 found
(#294) Long list syntax is not allowed
(#331) Long list syntax is not allowed
(#384) Expected 1 space after FUNCTION keyword; 0 found
(#389) Long list syntax is not allowed
(#461) Blank line found at end of control structure
(#465) Blank line found at end of control structure
(#468) Blank line found at end of control structure
(#472) Blank line found at end of control structure
(#476) Blank line found at end of control structure
blocks/xp/classes/rule.php
(#32) Opening brace must not be followed by a blank line
(#164) The closing brace for the class must go on the next line after the body
blocks/xp/classes/rule_base.php
(#32) Opening brace must not be followed by a blank line
blocks/xp/classes/rule_cm.php
(#37) Opening brace must not be followed by a blank line
(#253) The closing brace for the class must go on the next line after the body
blocks/xp/classes/rule_event.php
(#34) Opening brace must not be followed by a blank line
(#61) Long list syntax is not allowed
(#118) Opening parenthesis of a multi-line function call must be the last content on the line
(#118) Only one argument is allowed per line in a multi-line function call
(#118) Only one argument is allowed per line in a multi-line function call
(#118) Only one argument is allowed per line in a multi-line function call
(#119) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#119) Closing parenthesis of a multi-line function call must be on a line by itself
(#150) The closing brace for the class must go on the next line after the body
blocks/xp/classes/rule_property.php
(#32) Opening brace must not be followed by a blank line
blocks/xp/classes/ruleset.php
(#32) Opening brace must not be followed by a blank line
blocks/xp/classes/task/admin_notices.php
(#29) 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
blocks/xp/classes/task/collection_logger_purge.php
(#38) 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
blocks/xp/classes/task/post_deactivation_adhoc.php
(#30) Opening brace must not be followed by a blank line
(#32) Missing docblock for function execute
(#99) The closing brace for the class must go on the next line after the body
blocks/xp/classes/task/state_provisioner.php
(#33) Opening brace must not be followed by a blank line
(#62) Blank line found at end of control structure
(#65) Opening parenthesis of a multi-line function call must be the last content on the line
(#65) Only one argument is allowed per line in a multi-line function call
(#66) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#66) Only one argument is allowed per line in a multi-line function call
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
(#105) The closing brace for the class must go on the next line after the body
blocks/xp/classes/task/usage_report.php
(#38) Opening brace must not be followed by a blank line
blocks/xp/classes/tests/base_testcase.php
(#34) Opening brace must not be followed by a blank line
(#36) The first trait import statement must be declared on the first non-comment line after the class opening brace
(#63) The closing brace for the class must go on the next line after the body
blocks/xp/classes/tests/restore_context_mock.php
(#39) 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
blocks/xp/classes/tests/setup_trait.php
(#40) Opening brace must not be followed by a blank line
(#49) The closing brace for the trait must go on the next line after the body
(#59) Each trait must be in a file by itself
(#59) Opening brace must not be followed by a blank line
(#68) The closing brace for the trait must go on the next line after the body
(#79) Each trait must be in a file by itself
(#98) The first trait import statement must be declared on the first non-comment line after the trait opening brace
blocks/xp/db/upgrade.php
(#36) Blank line found at start of control structure
(#51) Blank line found at start of control structure
(#66) Blank line found at start of control structure
(#81) Blank line found at start of control structure
(#96) Blank line found at start of control structure
(#111) Blank line found at start of control structure
(#126) Blank line found at start of control structure
(#153) Blank line found at start of control structure
(#168) Blank line found at start of control structure
(#183) Blank line found at start of control structure
(#198) Blank line found at start of control structure
(#213) Blank line found at start of control structure
(#222) Blank line found at start of control structure
(#237) Blank line found at start of control structure
(#252) Blank line found at start of control structure
(#267) Blank line found at start of control structure
(#282) Blank line found at start of control structure
(#297) Blank line found at start of control structure
(#312) Blank line found at start of control structure
(#327) Blank line found at start of control structure
(#342) Blank line found at start of control structure
(#355) Blank line found at start of control structure
(#370) Blank line found at start of control structure
(#381) Blank line found at start of control structure
(#396) Blank line found at start of control structure
(#411) Blank line found at start of control structure
(#426) Blank line found at start of control structure
(#441) Blank line found at start of control structure
(#456) Blank line found at start of control structure
(#471) Blank line found at start of control structure
(#486) Blank line found at start of control structure
(#495) Blank line found at start of control structure
(#510) Blank line found at start of control structure
(#525) Blank line found at start of control structure
(#540) Blank line found at start of control structure
(#555) Blank line found at start of control structure
(#565) Blank line found at start of control structure
blocks/xp/lib.php
(#122) Expected 1 space after FUNCTION keyword; 0 found
(#129) Expected 1 space after FUNCTION keyword; 0 found
blocks/xp/renderer.php
(#41) Opening brace must not be followed by a blank line
(#65) Expected 1 space after FUNCTION keyword; 0 found
(#93) Expected 1 space after FUNCTION keyword; 0 found
(#201) Opening parenthesis of a multi-line function call must be the last content on the line
(#201) Only one argument is allowed per line in a multi-line function call
(#202) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#202) Closing parenthesis of a multi-line function call must be on a line by itself
(#298) Expected 1 space after FUNCTION keyword; 0 found
(#374) Expected 1 space after FUNCTION keyword; 0 found
(#382) Expected 1 space after FUNCTION keyword; 0 found
(#398) Long list syntax is not allowed
(#413) Blank line found at end of control structure
(#440) Opening parenthesis of a multi-line function call must be the last content on the line
(#441) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#441) Closing parenthesis of a multi-line function call must be on a line by itself
(#569) Blank line found at start of control structure
(#591) Each PHP statement must be on a line by itself
(#657) Long list syntax is not allowed
(#721) Opening parenthesis of a multi-line function call must be the last content on the line
(#721) Only one argument is allowed per line in a multi-line function call
(#721) Only one argument is allowed per line in a multi-line function call
(#722) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#722) Closing parenthesis of a multi-line function call must be on a line by itself
(#727) Opening parenthesis of a multi-line function call must be the last content on the line
(#727) Only one argument is allowed per line in a multi-line function call
(#753) Blank line found at end of control structure
(#780) Opening parenthesis of a multi-line function call must be the last content on the line
(#780) Only one argument is allowed per line in a multi-line function call
(#780) Only one argument is allowed per line in a multi-line function call
(#781) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#781) Closing parenthesis of a multi-line function call must be on a line by itself
(#822) Opening parenthesis of a multi-line function call must be the last content on the line
(#822) Only one argument is allowed per line in a multi-line function call
(#822) Only one argument is allowed per line in a multi-line function call
(#823) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#823) Closing parenthesis of a multi-line function call must be on a line by itself
(#849) Opening parenthesis of a multi-line function call must be the last content on the line
(#849) Only one argument is allowed per line in a multi-line function call
(#849) Only one argument is allowed per line in a multi-line function call
(#849) Only one argument is allowed per line in a multi-line function call
(#850) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#850) Closing parenthesis of a multi-line function call must be on a line by itself
(#910) Opening parenthesis of a multi-line function call must be the last content on the line
(#911) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#911) Closing parenthesis of a multi-line function call must be on a line by itself
(#952) Opening parenthesis of a multi-line function call must be the last content on the line
(#952) Only one argument is allowed per line in a multi-line function call
(#952) Only one argument is allowed per line in a multi-line function call
(#952) Only one argument is allowed per line in a multi-line function call
(#953) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#953) Closing parenthesis of a multi-line function call must be on a line by itself
(#1004) Opening parenthesis of a multi-line function call must be the last content on the line
(#1004) Only one argument is allowed per line in a multi-line function call
(#1005) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1005) Closing parenthesis of a multi-line function call must be on a line by itself
(#1127) Expected 1 space after FUNCTION keyword; 0 found
(#1176) Expected 1 space after FUNCTION keyword; 0 found
(#1197) Expected 1 space after FUNCTION keyword; 0 found
(#1205) Expected 1 space after FUNCTION keyword; 0 found
(#1338) Expected 1 space after FUNCTION keyword; 0 found
(#1347) The closing brace for the class must go on the next line after the body
blocks/xp/tests/algo_levels_info_test.php
(#41) Opening brace must not be followed by a blank line
(#412) Expected 1 space after FUNCTION keyword; 0 found
(#424) Expected 1 space after FUNCTION keyword; 0 found
(#436) Expected 1 space after FUNCTION keyword; 0 found
(#442) The closing brace for the class must go on the next line after the body
blocks/xp/tests/backup_test.php
(#62) Opening brace must not be followed by a blank line
(#493) Opening parenthesis of a multi-line function call must be the last content on the line
(#493) Only one argument is allowed per line in a multi-line function call
(#494) Only one argument is allowed per line in a multi-line function call
(#494) Only one argument is allowed per line in a multi-line function call
(#495) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#495) Closing parenthesis of a multi-line function call must be on a line by itself
(#663) The closing brace for the class must go on the next line after the body
blocks/xp/tests/behat/behat_block_xp.php
(#41) Opening brace must not be followed by a blank line
(#288) The closing brace for the class must go on the next line after the body
blocks/xp/tests/config_test.php
(#48) Opening brace must not be followed by a blank line
(#164) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#386) The closing brace for the class must go on the next line after the body
blocks/xp/tests/course_world_collection_strategy_test.php
(#42) Opening brace must not be followed by a blank line
(#112) The closing brace for the class must go on the next line after the body
blocks/xp/tests/course_world_config_test.php
(#45) Opening brace must not be followed by a blank line
(#62) Each PHP statement must be on a line by itself
(#71) Each PHP statement must be on a line by itself
(#81) The closing brace for the class must go on the next line after the body
blocks/xp/tests/course_world_test.php
(#46) Opening brace must not be followed by a blank line
(#222) Expected 1 space after FUNCTION keyword; 0 found
(#255) Expected 1 space after FUNCTION keyword; 0 found
(#274) Opening parenthesis of a multi-line function call must be the last content on the line
(#274) Only one argument is allowed per line in a multi-line function call
(#274) Only one argument is allowed per line in a multi-line function call
(#274) Only one argument is allowed per line in a multi-line function call
(#275) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#275) Closing parenthesis of a multi-line function call must be on a line by itself
(#289) Expected 1 space after FUNCTION keyword; 0 found
(#304) Opening parenthesis of a multi-line function call must be the last content on the line
(#304) Only one argument is allowed per line in a multi-line function call
(#304) Only one argument is allowed per line in a multi-line function call
(#304) Only one argument is allowed per line in a multi-line function call
(#305) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#305) Closing parenthesis of a multi-line function call must be on a line by itself
(#323) Expected 1 space after FUNCTION keyword; 0 found
(#332) The closing brace for the class must go on the next line after the body
blocks/xp/tests/filters_test.php
(#46) Opening brace must not be followed by a blank line
(#172) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#291) The closing brace for the class must go on the next line after the body
blocks/xp/tests/fixtures/events.php
(#30) Opening brace must not be followed by a blank line
(#52) Expected 1 blank line at end of file; 2 found
blocks/xp/tests/generator/behat_block_xp_generator.php
(#26) Opening brace must not be followed by a blank line
(#28) Missing docblock for function get_creatable_entities
(#62) The closing brace for the class must go on the next line after the body
blocks/xp/tests/generator/lib.php
(#28) 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
blocks/xp/tests/leaderboard_factory_test.php
(#43) Opening brace must not be followed by a blank line
(#662) The closing brace for the class must go on the next line after the body
blocks/xp/tests/leaderboard_test.php
(#46) Opening brace must not be followed by a blank line
(#908) The closing brace for the class must go on the next line after the body
blocks/xp/tests/levels_info_writer_test.php
(#42) Opening brace must not be followed by a blank line
blocks/xp/tests/php_test.php
(#43) 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
blocks/xp/tests/privacy_provider_test.php
(#56) Opening brace must not be followed by a blank line
blocks/xp/tests/rules_test.php
(#39) Opening brace must not be followed by a blank line
(#101) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#164) Function closing brace must go on the next line following the body; found 1 blank lines before brace
blocks/xp/tests/state_provisioner_test.php
(#38) Opening brace must not be followed by a blank line
(#207) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#207) Multi-line function declarations must define one parameter per line
(#208) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#208) The closing parenthesis of a multi-line function declaration must be on a new line
blocks/xp/tests/user_utils_test.php
(#39) Opening brace must not be followed by a blank line
(#118) Opening parenthesis of a multi-line function call must be the last content on the line
(#119) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#119) Only one argument is allowed per line in a multi-line function call
(#119) Only one argument is allowed per line in a multi-line function call
(#119) Closing parenthesis of a multi-line function call must be on a line by itself
(#152) The closing brace for the class must go on the next line after the body
blocks/xp/tests/world_factory_test.php
(#41) Opening brace must not be followed by a blank line
(#177) The closing brace for the class must go on the next line after the body

CSS problems

(22 errors, 1 warnings)

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

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

(31 errors, 0 warnings)

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

blocks/xp/classes/local/config/filtered_config.php
(#50) Phpdocs for function filtered_config::__construct has incomplete parameters list
blocks/xp/classes/local/controller/route_controller.php
(#263) Phpdocs for function route_controller::redirect has incomplete parameters list
blocks/xp/classes/local/factory/default_leaderboard_factory_maker.php
(#50) Phpdocs for function default_leaderboard_factory_maker::__construct has incomplete parameters list
(#60) Phpdocs for function default_leaderboard_factory_maker::get_leaderboard_factory has incomplete parameters list
blocks/xp/classes/local/factory/leaderboard_factory_maker.php
(#44) Phpdocs for function leaderboard_factory_maker::get_leaderboard_factory has incomplete parameters list
blocks/xp/classes/local/factory/level_factory.php
(#43) Phpdocs for function level_factory::make_level has incomplete parameters list
blocks/xp/classes/local/factory/levels_factory.php
(#117) Phpdocs for function levels_factory::make_level has incomplete parameters list
blocks/xp/classes/local/leaderboard/course_user_leaderboard.php
(#89) Phpdocs for function course_user_leaderboard::__construct has incomplete parameters list
blocks/xp/classes/local/leaderboard/relative_ranker.php
(#49) Phpdocs for function relative_ranker::__construct has incomplete parameters list
blocks/xp/classes/local/routing/url.php
(#46) Phpdocs for function url::__construct has incomplete parameters list
blocks/xp/classes/local/sql/user_filter.php
(#38) Phpdocs for function user_filter::get_sql has incomplete parameters list
blocks/xp/classes/local/userfilter/everyone.php
(#38) Phpdocs for function everyone::get_sql has incomplete parameters list
blocks/xp/classes/local/userfilter/group_members.php
(#41) Phpdocs for function group_members::get_sql has incomplete parameters list
blocks/xp/classes/local/userfilter/nobody.php
(#38) Phpdocs for function nobody::get_sql has incomplete parameters list
blocks/xp/classes/local/userfilter/user_filter.php
(#38) Phpdocs for function user_filter::get_sql has incomplete parameters list
blocks/xp/classes/local/xp/algo_levels_info.php
(#82) Phpdocs for function algo_levels_info::__construct has incomplete parameters list
(#276) Phpdocs for function algo_levels_info::make_from_defaults has incomplete parameters list
blocks/xp/classes/local/xp/course_user_state_provisioner.php
(#48) Phpdocs for function course_user_state_provisioner::__construct has incomplete parameters list
blocks/xp/classes/local/xp/course_user_state_store.php
(#73) Phpdocs for function course_user_state_store::__construct has incomplete parameters list
blocks/xp/classes/output/filters_widget.php
(#57) Phpdocs for function filters_widget::__construct has incomplete parameters list
blocks/xp/classes/output/filters_widget_element.php
(#53) Phpdocs for function filters_widget_element::__construct has incomplete parameters list
blocks/xp/classes/output/xp_widget.php
(#137) Phpdocs for function xp_widget::set_next_level has incomplete parameters list
(#155) Phpdocs for function xp_widget::set_rank has incomplete parameters list
blocks/xp/lib.php
(#28) Phpdocs for function block_xp_env_check_addon_compatibility has incomplete parameters list
blocks/xp/renderer.php
(#1120) Phpdocs for function block_xp_renderer::recent_activity has incomplete parameters list
blocks/xp/tests/behat/behat_block_xp.php
(#251) Phpdocs for function behat_block_xp::the_table_row_foo_should_contain has incomplete parameters list
blocks/xp/tests/generator/behat_block_xp_generator.php
(#51) Phpdocs for function behat_block_xp_generator::get_worldcontext_id has incomplete parameters list
blocks/xp/tests/php_test.php
(#75) Phpdocs for function php_test::test_file_inclusion has incomplete parameters list
blocks/xp/tests/state_provisioner_test.php
(#74) Phpdocs for function state_provisioner_test::test_course_user_state_provisioner_with_course has incomplete parameters list
(#293) Phpdocs for function state_provisioner_test::test_task_with_course_context has incomplete parameters list
(#383) 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

(0 errors, 0 warnings)

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


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]

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+))"> )

Gherkin .feature problems

(0 errors, 0 warnings)

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