Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

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


PHP coding style problems

(0 errors, 0 warnings)

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


CSS problems

(30 errors, 22 warnings)

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

blocks/xp/styles.css
(#268) Expected empty line before at-rule (at-rule-empty-line-before)
(#277) Expected empty line before at-rule (at-rule-empty-line-before)
(#290) Expected empty line before at-rule (at-rule-empty-line-before)
(#300) Expected empty line before at-rule (at-rule-empty-line-before)
(#310) Expected empty line before at-rule (at-rule-empty-line-before)
(#324) Expected empty line before at-rule (at-rule-empty-line-before)
(#338) Expected empty line before at-rule (at-rule-empty-line-before)
(#1385) Expected empty line before at-rule (at-rule-empty-line-before)
(#1395) Expected empty line before at-rule (at-rule-empty-line-before)
(#1449) Expected empty line before at-rule (at-rule-empty-line-before)
(#97) Unexpected !important (declaration-no-important)
(#966) Unexpected !important (declaration-no-important)
(#1090) Unexpected !important (declaration-no-important)
(#33) Unexpected unit (length-zero-no-unit)
(#34) Unexpected unit (length-zero-no-unit)
(#43) Unexpected unit (length-zero-no-unit)
(#46) Unexpected unit (length-zero-no-unit)
(#49) Unexpected unit (length-zero-no-unit)
(#70) Unexpected unit (length-zero-no-unit)
(#443) Unexpected unit (length-zero-no-unit)
(#454) Unexpected unit (length-zero-no-unit)
(#529) Unexpected unit (length-zero-no-unit)
(#552) Unexpected unit (length-zero-no-unit)
(#553) Unexpected unit (length-zero-no-unit)
(#756) Unexpected unit (length-zero-no-unit)
(#909) Unexpected unit (length-zero-no-unit)
(#916) Unexpected unit (length-zero-no-unit)
(#926) Unexpected unit (length-zero-no-unit)
(#1472) Unexpected unit (length-zero-no-unit)
(#1476) Unexpected unit (length-zero-no-unit)
(#1480) Unexpected unit (length-zero-no-unit)
(#1501) Unexpected unit (length-zero-no-unit)
(#1502) Unexpected unit (length-zero-no-unit)
(#266) Expected line length to be no more than 132 characters (max-line-length)
(#1307) Unexpected whitespace at end of line (no-eol-whitespace)
(#1494) Expected single space after ">" (selector-combinator-space-after)
(#1497) Expected single space after ">" (selector-combinator-space-after)
(#1494) Expected single space before ">" (selector-combinator-space-before)
(#1497) Expected single space before ">" (selector-combinator-space-before)
(#302) Expected newline after "," (selector-list-comma-newline-after)
(#330) Expected newline after "," (selector-list-comma-newline-after)
(#1115) Expected newline after "," (selector-list-comma-newline-after)
(#1307) Expected newline after "," (selector-list-comma-newline-after)
(#804) Expected indentation of 4 spaces (indentation)
(#806) Expected indentation of 4 spaces (indentation)
(#863) Expected indentation of 4 spaces (indentation)
(#864) Expected indentation of 4 spaces (indentation)
(#1116) Expected indentation of 0 spaces (indentation)
blocks/xp/css/styles.css
(#295) Unexpected !important (declaration-no-important)
(#128) Expected line length to be no more than 132 characters (max-line-length)
(#320) Expected newline after "," (selector-list-comma-newline-after)
(#321) Expected indentation of 0 spaces (indentation)

PHPDocs style problems

(16 errors, 118 warnings)

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

blocks/xp/backup/moodle2/backup_xp_block_task.class.php
(#67) Phpdocs for function backup_xp_block_task::encode_content_links has incomplete parameters list
blocks/xp/backup/moodle2/restore_xp_stepslib.php
(#74) Phpdocs for function restore_xp_block_structure_step::process_block has incomplete parameters list
(#106) Phpdocs for function restore_xp_block_structure_step::process_config has incomplete parameters list
(#125) Phpdocs for function restore_xp_block_structure_step::process_filter has incomplete parameters list
(#171) Phpdocs for function restore_xp_block_structure_step::process_log has incomplete parameters list
(#181) Phpdocs for function restore_xp_block_structure_step::process_xp has incomplete parameters list
blocks/xp/classes/local/controller/admin_levels_controller.php
(#52) Function admin_levels_controller::post_login is not documented
(#57) Function admin_levels_controller::content is not documented
(#65) Function admin_levels_controller::get_react_module is not documented
blocks/xp/classes/local/controller/admin_rules_controller.php
(#49) Function admin_rules_controller::define_optional_params is not documented
(#57) Function admin_rules_controller::pre_content is not documented
(#206) Function admin_rules_controller::page_plus_promo_content is not documented
(#214) Function admin_rules_controller::page_rules_content is not documented
blocks/xp/classes/local/controller/admin_visuals_controller.php
(#109) Function admin_visuals_controller::pre_content is not documented
blocks/xp/classes/local/controller/config_controller.php
(#81) Function config_controller::pre_content is not documented
(#96) Function config_controller::get_page_html_head_title is not documented
(#100) Function config_controller::get_page_heading is not documented
(#104) Function config_controller::page_content is not documented
(#110) Function config_controller::page_note is not documented
blocks/xp/classes/local/controller/drops_controller.php
(#46) Function drops_controller::pre_content is not documented
(#52) Function drops_controller::get_page_html_head_title is not documented
(#56) Function drops_controller::get_page_heading is not documented
(#60) Function drops_controller::page_content is not documented
blocks/xp/classes/local/controller/grade_rules_controller.php
(#46) Function grade_rules_controller::pre_content is not documented
(#52) Function grade_rules_controller::get_page_html_head_title is not documented
(#56) Function grade_rules_controller::get_page_heading is not documented
(#60) Function grade_rules_controller::page_content is not documented
blocks/xp/classes/local/controller/import_controller.php
(#47) Function import_controller::pre_content is not documented
(#53) Function import_controller::get_page_html_head_title is not documented
(#57) Function import_controller::get_page_heading is not documented
(#61) Function import_controller::page_content is not documented
blocks/xp/classes/local/controller/infos_controller.php
(#51) Function infos_controller::permissions_checks is not documented
(#58) Function infos_controller::define_optional_params is not documented
(#64) Function infos_controller::pre_content is not documented
(#78) Function infos_controller::get_form is not documented
(#85) Function infos_controller::get_page_html_head_title is not documented
(#89) Function infos_controller::get_page_heading is not documented
(#93) Function infos_controller::page_content is not documented
(#47) Variable infos_controller::$requiremanage is not documented
(#48) Variable infos_controller::$routename is not documented
(#49) Variable infos_controller::$form is not documented
blocks/xp/classes/local/controller/ladder_controller.php
(#46) Function ladder_controller::permissions_checks is not documented
(#53) Function ladder_controller::page_setup is not documented
(#102) Function ladder_controller::get_page_html_head_title is not documented
(#106) Function ladder_controller::get_page_heading is not documented
(#149) Function ladder_controller::page_content is not documented
(#42) Variable ladder_controller::$requiremanage is not documented
(#43) Variable ladder_controller::$supportsgroups is not documented
(#44) Variable ladder_controller::$routename is not documented
(#40) Constant ladder_controller::PAGE_SIZE_FLAG is not documented
blocks/xp/classes/local/controller/levels_controller.php
(#47) Function levels_controller::define_optional_params is not documented
(#54) Function levels_controller::pre_content is not documented
(#67) Function levels_controller::get_page_html_head_title is not documented
(#71) Function levels_controller::get_page_heading is not documented
(#75) Function levels_controller::get_react_module is not documented
(#108) Function levels_controller::get_reset_url is not documented
(#112) Function levels_controller::page_content is not documented
(#130) Function levels_controller::page_danger_zone_content is not documented
blocks/xp/classes/local/controller/log_controller.php
(#54) Function log_controller::permissions_checks is not documented
(#62) Function log_controller::define_optional_params is not documented
(#68) Function log_controller::get_table is not documented
(#78) Function log_controller::get_page_html_head_title is not documented
(#82) Function log_controller::get_page_heading is not documented
(#102) Function log_controller::page_content is not documented
blocks/xp/classes/local/controller/promo_controller.php
(#63) Function promo_controller::define_optional_params is not documented
(#79) Function promo_controller::require_login is not documented
(#103) Function promo_controller::post_login is not documented
(#139) Function promo_controller::content is not documented
(#284) Function promo_controller::content_installed is not documented
blocks/xp/classes/local/controller/report_controller.php
(#55) Function report_controller::define_optional_params is not documented
(#66) Function report_controller::permissions_checks is not documented
(#74) Function report_controller::pre_content is not documented
(#120) Function report_controller::get_page_html_head_title is not documented
(#124) Function report_controller::get_page_heading is not documented
(#128) Function report_controller::get_form is not documented
(#138) Function report_controller::get_table is not documented
(#184) Function report_controller::page_content is not documented
blocks/xp/classes/local/controller/rules_controller.php
(#56) Function rules_controller::define_optional_params is not documented
(#63) Function rules_controller::post_login is not documented
(#70) Function rules_controller::pre_content is not documented
(#91) Function rules_controller::handle_save is not documented
(#96) Function rules_controller::save_filters is not documented
(#100) Function rules_controller::get_page_html_head_title is not documented
(#104) Function rules_controller::get_page_heading is not documented
(#174) Function rules_controller::page_content is not documented
(#194) Function rules_controller::page_plus_promo_content is not documented
(#197) Function rules_controller::page_rules_content is not documented
(#210) Function rules_controller::page_danger_zone_content is not documented
blocks/xp/classes/local/controller/visuals_controller.php
(#56) Function visuals_controller::define_optional_params is not documented
(#106) Function visuals_controller::pre_content is not documented
(#181) Function visuals_controller::get_page_html_head_title is not documented
(#185) Function visuals_controller::get_page_heading is not documented
(#189) Function visuals_controller::page_content is not documented
(#224) Function visuals_controller::page_danger_zone_content is not documented
blocks/xp/classes/local/course_world.php
(#102) Function course_world::get_access_permissions is not documented
(#106) Function course_world::get_config is not documented
(#110) Function course_world::get_collection_strategy is not documented
(#173) Function course_world::get_levels_info is not documented
(#236) Function course_world::get_store is not documented
blocks/xp/classes/local/xp/anonymised_user_state.php
(#57) Function anonymised_user_state::get_id is not documented
(#61) Function anonymised_user_state::get_link is not documented
(#65) Function anonymised_user_state::get_name is not documented
(#69) Function anonymised_user_state::get_picture is not documented
(#73) Function anonymised_user_state::get_level is not documented
(#77) Function anonymised_user_state::get_ratio_in_level is not documented
(#81) Function anonymised_user_state::get_total_xp_in_level is not documented
(#85) Function anonymised_user_state::get_user is not documented
(#89) Function anonymised_user_state::get_xp is not documented
(#93) Function anonymised_user_state::get_xp_in_level is not documented
blocks/xp/classes/local/xp/static_level.php
(#51) Function static_level::__construct is not documented
(#64) Function static_level::get_level is not documented
(#68) Function static_level::get_xp_required is not documented
(#72) Function static_level::get_badge_url is not documented
(#76) Function static_level::get_description is not documented
(#80) Function static_level::get_name is not documented
blocks/xp/classes/local/xp/user_state.php
(#71) Function user_state::get_id is not documented
(#75) Function user_state::get_level is not documented
(#82) Function user_state::get_link is not documented
(#91) Function user_state::get_name is not documented
(#95) Function user_state::get_picture is not documented
(#99) Function user_state::get_ratio_in_level is not documented
(#107) Function user_state::get_total_xp_in_level is not documented
(#126) Function user_state::get_xp is not documented
(#130) Function user_state::get_xp_in_level is not documented
blocks/xp/lang/en/block_xp.php
(#23) Invalid phpdocs tag @codingStandardsIgnoreFile used
blocks/xp/renderer.php
(#43) Invalid phpdocs tag @const used
blocks/xp/tests/filters_test.php
(#48) Function filters_test::get_filter_manager is not documented
blocks/xp/tests/leaderboard_factory_test.php
(#335) Function leaderboard_factory_test::assert_ranking is not documented
blocks/xp/tests/leaderboard_test.php
(#48) Function leaderboard_test::get_leaderboard is not documented
(#820) Function leaderboard_test::assert_ranking is not documented
blocks/xp/tests/levels_info_writer_test.php
(#95) Phpdocs for function levels_info_writer_test::assert_levels_equal has incomplete parameters list
blocks/xp/tests/privacy_provider_test.php
(#65) Function privacy_provider_test::get_world is not documented
(#457) Function privacy_provider_test::assert_contextlist_equals is not documented
(#464) Function privacy_provider_test::assert_userlist_equals is not documented

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

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

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]