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

(53 errors, 278 warnings)

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

blocks/xp/ajax.php
(#32) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
blocks/xp/backup/moodle2/backup_xp_stepslib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/backup/moodle2/restore_xp_stepslib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/di.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/event/user_leveledup.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/external.php
(#234) The use of function extract() is forbidden
(#299) The use of function extract() is forbidden
blocks/xp/classes/filter.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/form/duration.php
(#62) Variable "elementName" must be all lower-case
(#62) Variable "elementLabel" must be all lower-case
(#66) Variable "elementName" must be all lower-case
(#66) Variable "elementLabel" must be all lower-case
(#77) Visibility must be declared on method "block_xp_form_duration"
(#77) Variable "elementName" must be all lower-case
(#77) Variable "elementLabel" must be all lower-case
(#81) Variable "elementName" must be all lower-case
(#81) Variable "elementLabel" must be all lower-case
blocks/xp/classes/form/itemspertime.php
(#68) Variable "elementName" must be all lower-case
(#68) Variable "elementLabel" must be all lower-case
(#71) Variable "elementName" must be all lower-case
(#71) Variable "elementLabel" must be all lower-case
(#82) Visibility must be declared on method "block_xp_form_itemspertime"
(#82) Variable "elementName" must be all lower-case
(#82) Variable "elementLabel" must be all lower-case
(#85) Variable "elementName" must be all lower-case
(#85) Variable "elementLabel" must be all lower-case
(#137) Method name "_createElements" should not be prefixed with an underscore to indicate visibility
(#137) Visibility must be declared on method "_createElements"
(#137) method name "block_xp_form_itemspertime::_createElements" must be in lower-case letters only
(#196) Visibility must be declared on method "onQuickFormEvent"
(#196) method name "block_xp_form_itemspertime::onQuickFormEvent" must be in lower-case letters only
(#270) Visibility must be declared on method "exportValue"
(#270) method name "block_xp_form_itemspertime::exportValue" must be in lower-case letters only
(#270) Variable "submitValues" must be all lower-case
(#274) Variable "submitValues" must be all lower-case
blocks/xp/classes/local/activity/activity.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/activity/activity_with_xp.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/activity/course_log_recent_activity_repository.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/activity/user_recent_activity_repository.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/activity/xp_activity.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/block/any_instance_finder_in_context.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/block/course_block.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/block/course_world_instance_finder.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/block/default_instance_finder.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/block/instance_finder.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/block/instances_finder_in_context.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/admin_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/block_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/config_stack.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/course_world_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/default_admin_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/default_course_world_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/filtered_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/immutable_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/mapped_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/mdl_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/mdl_locked_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/proxy_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/static_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/config/table_row_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/container.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/admin_levels_controller.php
(#34) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/admin_rules_controller.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/ajax_notice_dismiss_controller.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/config_controller.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/controller.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/course_route_controller.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/debug_controller.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/ladder_controller.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/levels_controller.php
(#34) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/log_controller.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/page_controller.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#167) Functions must not contain multiple empty lines in a row; found 2 empty lines
blocks/xp/classes/local/controller/report_controller.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/route_controller.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/controller/rules_controller.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/course_world.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/default_container.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/factory/badge_url_resolver_course_world_factory.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/factory/course_world_factory.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/factory/course_world_leaderboard_factory.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/factory/course_world_leaderboard_factory_with_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/factory/course_world_navigation_factory.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/factory/default_badge_url_resolver_course_world_factory.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/factory/default_course_world_factory.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/factory/default_course_world_leaderboard_factory.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/factory/default_course_world_navigation_factory.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/file/block_file_server.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/file/component_file_server.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/file/file_server.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/indicator/context_prefs_user_indicator.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/indicator/prefs_user_indicator.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/indicator/proxy_user_indicator.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/indicator/user_indicator.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/indicator/user_indicator_with_acceptance.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/indicator/user_notice_indicator.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/iterator/csv_reader_iterator.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/iterator/map_iterator.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/iterator/map_recordset.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/leaderboard/anonymisable_leaderboard.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/leaderboard/anonymised_leaderboard.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/leaderboard/course_user_leaderboard.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/leaderboard/empty_leaderboard.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/leaderboard/leaderboard.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/leaderboard/neighboured_leaderboard.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/leaderboard/null_ranker.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/leaderboard/ranker.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/leaderboard/relative_ranker.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/logger/collection_logger.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/logger/collection_logger_with_group_reset.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/logger/collection_logger_with_id_reset.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/logger/course_user_event_collection_logger.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/logger/global_collection_logger.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/logger/reason_collection_logger.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/notification/course_level_up_notification_service.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/observer/default_level_up_state_store_observer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/observer/default_observer_rules_maker.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/observer/default_state_store_observer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/observer/level_up_state_store_observer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/observer/observer.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/observer/observer_rules_maker.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/observer/points_increased_state_store_observer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/permission/access_logs_permissions.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/permission/access_permissions.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/permission/access_report_permissions.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/permission/context_permissions.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/plugin/addon.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/plugin/usage_report_maker.php
(#35) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#142) Variable "TOTARA" must be all lower-case
(#144) Variable "TOTARA" must be all lower-case
(#144) Variable "TOTARA" must be all lower-case
blocks/xp/classes/local/privacy/addon_provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/privacy/addon_userlist_provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/reason/event_name_reason.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/reason/reason.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/routing/ajax_routes_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/routing/default_routes_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/routing/default_url_resolver.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#89) Logical operator "and" is prohibited; use "&&" instead
blocks/xp/classes/local/routing/request.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/routing/route.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/routing/route_definition.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/routing/routed_request.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/routing/router.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/routing/routes_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/routing/static_routes_config.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/routing/url.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/routing/url_resolver.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/rule/event_lister.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#120) The final declaration must precede the visibility declaration
blocks/xp/classes/local/serializer/level_serializer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/serializer/levels_info_serializer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/serializer/serializer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/serializer/serializer_with_read_structure.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/serializer/url_serializer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/setting/default_settings_maker.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/setting/environment.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/setting/recommended_plugins_setting.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/setting/settings_maker.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/setting/static_setting.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/shortcode/default_shortcodes_definition_maker.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/shortcode/handler.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/shortcode/shortcodes_definition_maker.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/sql/limit.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/strategy/collection_strategy.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/strategy/course_world_collection_strategy.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/strategy/event_collection_strategy.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/strategy/global_collection_strategy.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/task/default_tasks_definition_maker.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/task/tasks_definition_maker.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/utils/user_utils.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/world.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/admin_filter_manager.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/algo_levels_info.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/anonymised_state.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/anonymised_user_state.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/badge_url_resolver.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/badged_level.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/course_filter_manager.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/course_state_store.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/course_user_state_store.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/described_level.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/dummy_badge_url_resolver.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/file_storage_badge_url_resolver.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/full_anonymiser.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/level.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/level_with_badge.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/level_with_description.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/level_with_name.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/levels_info.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/rank.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/state.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/state_anonymiser.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/state_rank.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/state_store.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/state_store_with_delete.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/state_store_with_reason.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/state_with_subject.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/local/xp/user_state.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/output/dismissable_notice.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/output/filters_widget.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/output/filters_widget_element.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/output/filters_widget_group.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/output/leaderboard_table.php
(#86) Declaring a required parameter after an optional one is deprecated since PHP 8.0. Parameter $options is optional, while parameter $userid is required.
blocks/xp/classes/output/notice.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/output/xp_widget.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#66) Method name "_get_metadata" should not be prefixed with an underscore to indicate visibility
(#95) Method name "_export_user_preferences" should not be prefixed with an underscore to indicate visibility
(#113) Method name "_get_contexts_for_userid" should not be prefixed with an underscore to indicate visibility
(#167) Method name "_export_user_data" should not be prefixed with an underscore to indicate visibility
(#259) Method name "_delete_data_for_all_users_in_context" should not be prefixed with an underscore to indicate visibility
(#286) Method name "_delete_data_for_user" should not be prefixed with an underscore to indicate visibility
blocks/xp/classes/rule.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/rule_base.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/rule_cm.php
(#220) global $PAGE cannot be used in block classes. Use $this->page.
(#235) global $PAGE cannot be used in block classes. Use $this->page.
(#236) global $PAGE cannot be used in block classes. Use $this->page.
blocks/xp/classes/rule_event.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/rule_property.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/ruleset.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/task/collection_logger_purge.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/classes/task/usage_report.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#159) Line exceeds 132 characters; contains 139 characters
(#174) Line exceeds 132 characters; contains 140 characters
(#189) Line exceeds 132 characters; contains 134 characters
(#204) Line exceeds 132 characters; contains 140 characters
(#546) Line exceeds 132 characters; contains 137 characters
blocks/xp/index.php
(#36) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
blocks/xp/lang/en/block_xp.php
(#308) The use of backticks in strings is not recommended
(#310) The use of backticks in strings is not recommended
(#312) The use of backticks in strings is not recommended
(#314) The use of backticks in strings is not recommended
(#317) The use of backticks in strings is not recommended
(#319) The use of backticks in strings is not recommended
(#321) The use of backticks in strings is not recommended
(#323) The use of backticks in strings is not recommended
(#325) The use of backticks in strings is not recommended
(#327) The use of backticks in strings is not recommended
(#329) The use of backticks in strings is not recommended
(#339) The use of backticks in strings is not recommended
(#360) The use of backticks in strings is not recommended
(#367) The use of backticks in strings is not recommended
(#369) The use of backticks in strings is not recommended
(#372) The use of backticks in strings is not recommended
(#374) The use of backticks in strings is not recommended
blocks/xp/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/renderer.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#59) Inline doc block comments are not allowed; use "// Comment." instead
blocks/xp/tests/config_test.php
(#46) PHPUnit testcase name "block_xp_config_testcase" does not match file name "config_test"
(#46) PHPUnit class "block_xp_config_testcase" does not have any namespace. It is recommended to add it to the "block_xp" namespace, using more levels if needed, in order to match the code being tested
(#48) Test method test_mdl_locked_config() is missing any coverage information, own or at class level
(#95) Test method test_config_stack_with_locked() is missing any coverage information, own or at class level
(#154) Test method test_filtered_config() is missing any coverage information, own or at class level
(#180) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch (...) {"
(#182) Empty CATCH statement detected
(#182) Empty CATCH statement must have a comment to explain why the exception is not handled
(#182) Closing brace must be on a line by itself
(#192) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch (...) {"
(#194) Empty CATCH statement detected
(#194) Empty CATCH statement must have a comment to explain why the exception is not handled
(#194) Closing brace must be on a line by itself
(#203) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch (...) {"
(#205) Empty CATCH statement detected
(#205) Empty CATCH statement must have a comment to explain why the exception is not handled
(#205) Closing brace must be on a line by itself
(#206) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch (...) {"
(#208) Empty CATCH statement detected
(#208) Empty CATCH statement must have a comment to explain why the exception is not handled
(#208) Closing brace must be on a line by itself
(#211) Test method test_table_row_config() is missing any coverage information, own or at class level
(#281) Test method test_table_row_config_with_null() is missing any coverage information, own or at class level
blocks/xp/tests/course_world_collection_strategy_test.php
(#41) PHPUnit testcase name "block_xp_course_world_collection_strategy_testcase" does not match file name "course_world_collection_strategy_test"
(#41) PHPUnit class "block_xp_course_world_collection_strategy_testcase" does not have any namespace. It is recommended to add it to the "block_xp" namespace, using more levels if needed, in order to match the code being tested
(#43) Test method test_is_action_accepted_no_limit() is missing any coverage information, own or at class level
(#51) Test method test_is_action_accepted_not_in_log() is missing any coverage information, own or at class level
(#62) Test method test_is_action_accepted_max_actions_in_timeframe() is missing any coverage information, own or at class level
(#79) Test method test_is_action_accepted_time_between_repeated() is missing any coverage information, own or at class level
(#95) Test method test_is_action_accepted() is missing any coverage information, own or at class level
blocks/xp/tests/course_world_config_test.php
(#42) PHPUnit testcase name "block_xp_course_world_config_testcase" does not match file name "course_world_config_test"
(#42) PHPUnit class "block_xp_course_world_config_testcase" does not have any namespace. It is recommended to add it to the "block_xp" namespace, using more levels if needed, in order to match the code being tested
(#48) Test method test_default_config() is missing any coverage information, own or at class level
blocks/xp/tests/course_world_test.php
(#38) PHPUnit testcase name "block_xp_course_world_testcase" does not match file name "course_world_test"
(#38) PHPUnit class "block_xp_course_world_testcase" does not have any namespace. It is recommended to add it to the "block_xp" namespace, using more levels if needed, in order to match the code being tested
(#44) Test method test_reset_data() is missing any coverage information, own or at class level
(#88) Test method test_reset_data_with_groups() is missing any coverage information, own or at class level
(#139) Test method test_delete_user_state() is missing any coverage information, own or at class level
blocks/xp/tests/filters_test.php
(#40) PHPUnit testcase name "block_xp_filters_testcase" does not match file name "filters_test"
(#40) PHPUnit class "block_xp_filters_testcase" does not have any namespace. It is recommended to add it to the "block_xp" namespace, using more levels if needed, in order to match the code being tested
(#48) Test method test_filter_match() is missing any coverage information, own or at class level
(#59) Test method test_filter_load_rule() is missing any coverage information, own or at class level
(#74) Test method test_standard_filters() is missing any coverage information, own or at class level
(#91) Test method test_custom_filters() is missing any coverage information, own or at class level
(#162) Test method test_validate_data() is missing any coverage information, own or at class level
(#194) This comment is 58% valid code; is this commented out code?
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) Test method test_load_from_data() is missing any coverage information, own or at class level
blocks/xp/tests/fixtures/events.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/tests/leaderboard_factory_test.php
(#45) PHPUnit testcase name "block_xp_leaderboard_factory_testcase" does not match file name "leaderboard_factory_test"
(#45) PHPUnit class "block_xp_leaderboard_factory_testcase" does not have any namespace. It is recommended to add it to the "block_xp" namespace, using more levels if needed, in order to match the code being tested
(#54) Test method test_plain_factory_without_groups() is missing any coverage information, own or at class level
(#194) Test method test_factory_with_config_without_groups() is missing any coverage information, own or at class level
blocks/xp/tests/leaderboard_test.php
(#47) PHPUnit testcase name "block_xp_leaderboard_testcase" does not match file name "leaderboard_test"
(#47) PHPUnit class "block_xp_leaderboard_testcase" does not have any namespace. It is recommended to add it to the "block_xp" namespace, using more levels if needed, in order to match the code being tested
(#68) Test method test_basic_leaderboard() is missing any coverage information, own or at class level
(#149) Test method test_group_leaderboard() is missing any coverage information, own or at class level
(#225) Test method test_anonymisable_leaderboard() is missing any coverage information, own or at class level
(#255) Test method test_neighboured_leaderboard() is missing any coverage information, own or at class level
(#344) Test method test_neighboured_leaderboard_count_and_position() is missing any coverage information, own or at class level
(#427) Test method test_neighboured_leaderboard_top_fallback() is missing any coverage information, own or at class level
(#522) Test method test_neighboured_leaderboard_with_limit() is missing any coverage information, own or at class level
(#750) Test method test_relative_ranker() is missing any coverage information, own or at class level
(#779) Test method test_null_ranker() is missing any coverage information, own or at class level
blocks/xp/tests/privacy_provider_test.php
(#51) PHPUnit testcase name "block_xp_privacy_provider_testcase" does not match file name "privacy_provider_test"
(#51) PHPUnit class "block_xp_privacy_provider_testcase" does not have any namespace. It is recommended to add it to the "block_xp" namespace, using more levels if needed, in order to match the code being tested
(#69) Test method test_get_metadata() is missing any coverage information, own or at class level
(#74) Test method test_export_user_prefs() is missing any coverage information, own or at class level
(#107) Test method test_get_contexts_for_userid() is missing any coverage information, own or at class level
(#164) Test method test_get_users_in_context() is missing any coverage information, own or at class level
(#218) Test method test_delete_data_for_all_users_in_context() is missing any coverage information, own or at class level
(#273) Test method test_delete_data_for_user() is missing any coverage information, own or at class level
(#329) Test method test_delete_data_for_users() is missing any coverage information, own or at class level
(#394) Test method test_export_data_for_user() is missing any coverage information, own or at class level
blocks/xp/tests/rules_test.php
(#36) PHPUnit testcase name "block_xp_rules_testcase" does not match file name "rules_test"
(#36) PHPUnit class "block_xp_rules_testcase" does not have any namespace. It is recommended to add it to the "block_xp" namespace, using more levels if needed, in order to match the code being tested
(#38) Test method test_rule_property() is missing any coverage information, own or at class level
(#95) Test method test_ruleset() is missing any coverage information, own or at class level
(#131) Test method test_nested_ruleset() is missing any coverage information, own or at class level
(#148) Test method test_export_create() is missing any coverage information, own or at class level

Javascript coding style problems

(7 errors, 15 warnings)

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

blocks/xp/amd/src/course-resource-selector.js
(#42) There should be no space after '{'. (babel/object-curly-spacing)
(#42) There should be no space before '}'. (babel/object-curly-spacing)
blocks/xp/amd/src/dialogue-base.js
(#39) Expected catch,fail() or return (promise/catch-or-return)
(#39) Each then() should return a value or throw (promise/always-return)
(#92) Expected catch,fail() or return (promise/catch-or-return)
(#153) Expected catch,fail() or return (promise/catch-or-return)
blocks/xp/amd/src/resource-selector.js
(#31) Expected JSDoc block to be aligned. (jsdoc/check-alignment)
(#91) Expected JSDoc block to be aligned. (jsdoc/check-alignment)
blocks/xp/postcss.config.js
(#2) Expected indentation of 4 spaces but found 2. (indent)
(#3) Expected indentation of 8 spaces but found 4. (indent)
(#4) Expected indentation of 8 spaces but found 4. (indent)
(#5) Expected indentation of 8 spaces but found 4. (indent)
(#6) Expected indentation of 8 spaces but found 4. (indent)
(#7) Expected indentation of 4 spaces but found 2. (indent)
(#8) Missing semicolon. (semi)
blocks/xp/yui/src/filters/js/dnd.js
(#93) Identifier 'global_drop_over' is not in camel case. (camelcase)
(#120) Identifier 'drag_end' is not in camel case. (camelcase)
(#129) Identifier 'drop_hit' is not in camel case. (camelcase)
(#138) Identifier 'drop_over' is not in camel case. (camelcase)
blocks/xp/yui/src/filters/js/filters.js
(#274) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#280) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#285) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)

CSS problems

(19 errors, 13 warnings)

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

blocks/xp/styles.css
(#997) Expected empty line before at-rule (at-rule-empty-line-before)
(#1023) Expected empty line before at-rule (at-rule-empty-line-before)
(#733) Expected single space before "{" (block-opening-brace-space-before)
(#597) Unexpected !important (declaration-no-important)
(#721) Unexpected !important (declaration-no-important)
(#30) Unexpected unit (length-zero-no-unit)
(#237) Unexpected unit (length-zero-no-unit)
(#270) Unexpected unit (length-zero-no-unit)
(#287) Unexpected unit (length-zero-no-unit)
(#288) Unexpected unit (length-zero-no-unit)
(#402) Unexpected unit (length-zero-no-unit)
(#529) Unexpected unit (length-zero-no-unit)
(#536) Unexpected unit (length-zero-no-unit)
(#546) Unexpected unit (length-zero-no-unit)
(#1046) Unexpected unit (length-zero-no-unit)
(#1050) Unexpected unit (length-zero-no-unit)
(#1054) Unexpected unit (length-zero-no-unit)
(#1062) Expected single space after ">" (selector-combinator-space-after)
(#1062) Expected single space before ">" (selector-combinator-space-before)
(#746) Expected newline after "," (selector-list-comma-newline-after)
(#427) Expected indentation of 4 spaces (indentation)
(#429) Expected indentation of 4 spaces (indentation)
(#483) Expected indentation of 4 spaces (indentation)
(#484) Expected indentation of 4 spaces (indentation)
(#747) Expected indentation of 0 spaces (indentation)
blocks/xp/css/styles.css
(#331) Expected single space before "{" (block-opening-brace-space-before)
(#132) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#133) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#319) Unexpected !important (declaration-no-important)
(#126) Expected line length to be no more than 132 characters (max-line-length)
(#344) Expected newline after "," (selector-list-comma-newline-after)
(#345) Expected indentation of 0 spaces (indentation)

PHPDocs style problems

(95 errors, 128 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
(#81) Phpdocs for function restore_xp_block_structure_step::process_config has incomplete parameters list
(#100) Phpdocs for function restore_xp_block_structure_step::process_filter has incomplete parameters list
(#109) Phpdocs for function restore_xp_block_structure_step::process_log has incomplete parameters list
(#119) Phpdocs for function restore_xp_block_structure_step::process_xp has incomplete parameters list
blocks/xp/classes/external.php
(#384) Function external::clean_levels_info_data is not documented
(#228) Phpdocs for function external::set_default_levels_info has incomplete parameters list
(#293) Phpdocs for function external::set_levels_info has incomplete parameters list
blocks/xp/classes/filter.php
(#313) Phpdocs for function block_xp_filter::update_after_restore has incomplete parameters list
(#376) Phpdocs for function block_xp_filter::validate_ruledata has incomplete parameters list
(#102) Inline phpdocs tag {@link self::load_from_data()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#238) Inline phpdocs tag {@link self::$ruledata} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/xp/classes/form/config.php
(#243) Phpdocs for function config::set_data has incomplete parameters list
blocks/xp/classes/form/promo.php
(#43) Function promo::definition is not documented
blocks/xp/classes/form/visuals.php
(#41) Function visuals::definition is not documented
blocks/xp/classes/local/config/config.php
(#55) Phpdocs for function config::has has incomplete parameters list
blocks/xp/classes/local/config/table_row_config.php
(#64) Phpdocs for function table_row_config::__construct has incomplete parameters list
blocks/xp/classes/local/controller/admin_levels_controller.php
(#53) Function admin_levels_controller::post_login is not documented
(#58) 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
(#51) Function admin_rules_controller::define_optional_params is not documented
(#59) Function admin_rules_controller::pre_content is not documented
(#207) Function admin_rules_controller::page_plus_promo_content is not documented
(#215) Function admin_rules_controller::page_rules_content is not documented
(#103) Phpdocs for function admin_rules_controller::save_filters has incomplete parameters list
blocks/xp/classes/local/controller/admin_visuals_controller.php
(#106) Function admin_visuals_controller::pre_content is not documented
blocks/xp/classes/local/controller/config_controller.php
(#83) Function config_controller::pre_content is not documented
(#98) Function config_controller::get_page_html_head_title is not documented
(#102) Function config_controller::get_page_heading is not documented
(#106) Function config_controller::page_content is not documented
(#112) Function config_controller::page_note 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
(#47) Function ladder_controller::permissions_checks is not documented
(#54) Function ladder_controller::page_setup is not documented
(#103) Function ladder_controller::get_page_html_head_title is not documented
(#107) Function ladder_controller::get_page_heading is not documented
(#150) Function ladder_controller::page_content is not documented
(#43) Variable ladder_controller::$requiremanage is not documented
(#44) Variable ladder_controller::$supportsgroups is not documented
(#45) Variable ladder_controller::$routename is not documented
(#41) Constant ladder_controller::PAGE_SIZE_FLAG is not documented
blocks/xp/classes/local/controller/levels_controller.php
(#49) Function levels_controller::get_page_html_head_title is not documented
(#53) Function levels_controller::get_page_heading is not documented
(#57) Function levels_controller::get_react_module is not documented
(#76) Function levels_controller::page_content is not documented
blocks/xp/classes/local/controller/log_controller.php
(#52) Function log_controller::permissions_checks is not documented
(#60) Function log_controller::define_optional_params is not documented
(#66) Function log_controller::get_table is not documented
(#76) Function log_controller::get_page_html_head_title is not documented
(#80) Function log_controller::get_page_heading is not documented
(#100) Function log_controller::page_content is not documented
(#44) Variable log_controller::$navname is not documented
(#45) Variable log_controller::$routename is not documented
(#46) Variable log_controller::$iswideview is not documented
(#47) Variable log_controller::$supportsgroups is not documented
(#49) Inline phpdocs tag {@link self::get_user_id} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/xp/classes/local/controller/page_controller.php
(#142) Inline phpdocs tag {@link self::page_content} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/xp/classes/local/controller/promo_controller.php
(#61) Function promo_controller::define_optional_params is not documented
(#77) Function promo_controller::require_login is not documented
(#101) Function promo_controller::post_login is not documented
(#137) Function promo_controller::content is not documented
(#332) Function promo_controller::content_installed is not documented
blocks/xp/classes/local/controller/report_controller.php
(#56) Function report_controller::define_optional_params is not documented
(#67) Function report_controller::permissions_checks is not documented
(#75) Function report_controller::pre_content is not documented
(#121) Function report_controller::get_page_html_head_title is not documented
(#125) Function report_controller::get_page_heading is not documented
(#129) Function report_controller::get_form is not documented
(#139) Function report_controller::get_table is not documented
(#185) Function report_controller::page_content is not documented
blocks/xp/classes/local/controller/route_controller.php
(#200) Phpdocs for function route_controller::handle has incomplete parameters list
(#159) Inline phpdocs tag {@link self::get_param} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/xp/classes/local/controller/rules_controller.php
(#61) Function rules_controller::define_optional_params is not documented
(#68) Function rules_controller::post_login is not documented
(#74) Function rules_controller::pre_content is not documented
(#96) Function rules_controller::handle_save is not documented
(#101) Function rules_controller::save_filters is not documented
(#142) Function rules_controller::get_page_html_head_title is not documented
(#146) Function rules_controller::get_page_heading is not documented
(#216) Function rules_controller::page_content is not documented
(#236) Function rules_controller::page_plus_promo_content is not documented
(#247) Function rules_controller::page_rules_content is not documented
(#252) Function rules_controller::page_danger_zone_content is not documented
(#46) Phpdocs for variable rules_controller::$navname does not contain @var or incorrect
(#46) Invalid phpdocs tag @inheritDoc used
blocks/xp/classes/local/controller/visuals_controller.php
(#96) Function visuals_controller::pre_content is not documented
(#151) Function visuals_controller::get_page_html_head_title is not documented
(#155) Function visuals_controller::get_page_heading is not documented
(#168) Function visuals_controller::page_content is not documented
(#47) Phpdocs for variable visuals_controller::$navname does not contain @var or incorrect
(#47) Invalid phpdocs tag @inheritDoc used
blocks/xp/classes/local/course_world.php
(#96) Function course_world::get_access_permissions is not documented
(#100) Function course_world::get_config is not documented
(#104) Function course_world::get_collection_strategy is not documented
(#167) Function course_world::get_levels_info is not documented
(#222) Function course_world::get_store is not documented
(#75) Phpdocs for function course_world::__construct has incomplete parameters list
blocks/xp/classes/local/factory/default_course_world_factory.php
(#62) Phpdocs for function default_course_world_factory::__construct has incomplete parameters list
blocks/xp/classes/local/factory/default_course_world_leaderboard_factory.php
(#107) Phpdocs for function default_course_world_leaderboard_factory::get_course_leaderboard_with_config has incomplete parameters list
(#110) Invalid phpdocs tag @inheritDoc used
blocks/xp/classes/local/factory/default_course_world_navigation_factory.php
(#56) Phpdocs for function default_course_world_navigation_factory::__construct has incomplete parameters list
blocks/xp/classes/local/indicator/prefs_user_indicator.php
(#125) Phpdocs for function prefs_user_indicator::user_has_flag has incomplete parameters list
blocks/xp/classes/local/indicator/proxy_user_indicator.php
(#100) Phpdocs for function proxy_user_indicator::user_has_flag has incomplete parameters list
blocks/xp/classes/local/indicator/user_indicator.php
(#77) Phpdocs for function user_indicator::user_has_flag has incomplete parameters list
blocks/xp/classes/local/leaderboard/anonymisable_leaderboard.php
(#64) Phpdocs for function anonymisable_leaderboard::anonymise_rank has incomplete parameters list
blocks/xp/classes/local/leaderboard/anonymised_leaderboard.php
(#86) Phpdocs for function anonymised_leaderboard::anonymise_rank has incomplete parameters list
blocks/xp/classes/local/leaderboard/empty_leaderboard.php
(#47) Phpdocs for function empty_leaderboard::__construct has incomplete parameters list
blocks/xp/classes/local/leaderboard/neighboured_leaderboard.php
(#53) Phpdocs for function neighboured_leaderboard::__construct has incomplete parameters list
blocks/xp/classes/local/observer/default_observer_rules_maker.php
(#39) Function default_observer_rules_maker::get_observer_rules is not documented
blocks/xp/classes/local/observer/default_state_store_observer.php
(#55) Phpdocs for function default_state_store_observer::__construct has incomplete parameters list
blocks/xp/classes/local/plugin/usage_report_maker.php
(#150) Phpdocs for function usage_report_maker::get_rules_usage has incomplete parameters list
blocks/xp/classes/local/routing/default_url_resolver.php
(#65) Inline phpdocs tag {@link get_file_arguements()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/xp/classes/local/serializer/level_serializer.php
(#48) Phpdocs for function level_serializer::__construct has incomplete parameters list
blocks/xp/classes/local/serializer/levels_info_serializer.php
(#47) Phpdocs for function levels_info_serializer::__construct has incomplete parameters list
blocks/xp/classes/local/serializer/url_serializer.php
(#44) Function url_serializer::__construct is not documented
blocks/xp/classes/local/setting/default_settings_maker.php
(#66) Phpdocs for function default_settings_maker::__construct has incomplete parameters list
blocks/xp/classes/local/task/default_tasks_definition_maker.php
(#39) Function default_tasks_definition_maker::get_tasks_definition is not documented
blocks/xp/classes/local/utils/user_utils.php
(#58) Phpdocs for function user_utils::get_primary_group_id has incomplete parameters list
(#117) Inline phpdocs tag {@link self::unalias_picture_fields()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/xp/classes/local/xp/algo_levels_info.php
(#180) Function algo_levels_info::load is not documented
(#206) Phpdocs for function algo_levels_info::make_from_defaults has incomplete parameters list
blocks/xp/classes/local/xp/anonymised_user_state.php
(#59) Function anonymised_user_state::get_id is not documented
(#63) Function anonymised_user_state::get_link is not documented
(#67) Function anonymised_user_state::get_name is not documented
(#71) Function anonymised_user_state::get_picture is not documented
(#75) Function anonymised_user_state::get_level is not documented
(#79) Function anonymised_user_state::get_ratio_in_level is not documented
(#83) Function anonymised_user_state::get_total_xp_in_level is not documented
(#87) Function anonymised_user_state::get_user is not documented
(#91) Function anonymised_user_state::get_xp is not documented
(#95) Function anonymised_user_state::get_xp_in_level is not documented
(#50) Phpdocs for function anonymised_user_state::__construct has incomplete parameters list
blocks/xp/classes/local/xp/course_filter_manager.php
(#212) Phpdocs for function course_filter_manager::invalidate_filters_cache 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/local/xp/full_anonymiser.php
(#65) Phpdocs for function full_anonymiser::anonymise_state has incomplete parameters list
blocks/xp/classes/local/xp/state_anonymiser.php
(#39) Phpdocs for function state_anonymiser::anonymise_state has incomplete parameters list
blocks/xp/classes/local/xp/user_state.php
(#72) Function user_state::get_id is not documented
(#76) Function user_state::get_level is not documented
(#83) Function user_state::get_link is not documented
(#92) Function user_state::get_name is not documented
(#96) Function user_state::get_picture is not documented
(#100) Function user_state::get_ratio_in_level is not documented
(#108) Function user_state::get_total_xp_in_level is not documented
(#127) Function user_state::get_xp is not documented
(#131) Function user_state::get_xp_in_level is not documented
blocks/xp/classes/output/dismissable_notice.php
(#43) Function dismissable_notice::__construct is not documented
(#41) Variable dismissable_notice::$name is not documented
blocks/xp/classes/output/filters_widget.php
(#58) Phpdocs for function filters_widget::__construct has incomplete parameters list
blocks/xp/classes/output/filters_widget_element.php
(#54) Phpdocs for function filters_widget_element::__construct has incomplete parameters list
blocks/xp/classes/output/leaderboard_table.php
(#138) Phpdocs for function leaderboard_table::out has incomplete parameters list
(#352) Inline phpdocs tag {@link self::add_data_keyed} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/xp/classes/output/notice.php
(#52) Function notice::__construct is not documented
(#48) Variable notice::$message is not documented
(#49) Variable notice::$name is not documented
(#50) Variable notice::$type is not documented
(#43) Constant notice::SUCCESS is not documented
(#44) Constant notice::WARNING is not documented
(#45) Constant notice::INFO is not documented
(#46) Constant notice::ERROR is not documented
blocks/xp/classes/output/xp_widget.php
(#83) Function xp_widget::__construct is not documented
(#98) Function xp_widget::add_manager_notice is not documented
(#102) Function xp_widget::set_force_recent_activity is not documented
(#106) Function xp_widget::set_next_level is not documented
(#110) Function xp_widget::set_show_next_level is not documented
(#114) Function xp_widget::set_rank is not documented
(#118) Function xp_widget::set_rank_is_rel is not documented
(#122) Function xp_widget::set_show_diffs_in_ranking_snapshot is not documented
(#126) Function xp_widget::set_show_rank is not documented
(#130) Function xp_widget::set_ranking_snapshot is not documented
(#134) Function xp_widget::set_show_ranking_snapshot is not documented
(#138) Function xp_widget::export_for_template is not documented
blocks/xp/classes/rule.php
(#130) Phpdocs for function block_xp_rule::update_after_restore has incomplete parameters list
(#42) Inline phpdocs tag {@link self::import()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#44) Inline phpdocs tag {@link self::export()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#95) Inline phpdocs tag {@link self::import()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#109) Inline phpdocs tag {@link self::create()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/xp/classes/rule_base.php
(#87) Inline phpdocs tag {@link self::create()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/xp/classes/rule_cm.php
(#198) Phpdocs for function block_xp_rule_cm::update_after_restore has incomplete parameters list
blocks/xp/classes/rule_property.php
(#100) Inline phpdocs tag {@link self::create()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/xp/classes/ruleset.php
(#216) Phpdocs for function block_xp_ruleset::update_after_restore has incomplete parameters list
(#139) Inline phpdocs tag {@link self::export()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/xp/classes/task/collection_logger_purge.php
(#41) Function collection_logger_purge::get_name is not documented
(#45) Function collection_logger_purge::execute is not documented
blocks/xp/classes/task/usage_report.php
(#41) Function usage_report::get_name is not documented
(#45) Function usage_report::execute is not documented
(#67) Function usage_report::is_local_site is not documented
blocks/xp/db/shortcodes.php
(#20) Package filter_shortcodes is not valid
blocks/xp/renderer.php
(#108) Phpdocs for function block_xp_renderer::get_user_picture has incomplete parameters list
(#150) Phpdocs for function block_xp_renderer::level_badge_with_options has incomplete parameters list
(#650) Phpdocs for function block_xp_renderer::render_filters_widget has incomplete parameters list
(#705) Phpdocs for function block_xp_renderer::render_filters_widget_element has incomplete parameters list
(#722) Phpdocs for function block_xp_renderer::render_filters_widget_group has incomplete parameters list
(#773) Phpdocs for function block_xp_renderer::get_progress_bar_context has incomplete parameters list
(#807) Phpdocs for function block_xp_renderer::progress_bar has incomplete parameters list
(#875) Phpdocs for function block_xp_renderer::render_xp_widget has incomplete parameters list
(#900) Phpdocs for function block_xp_renderer::sub_navigation has incomplete parameters list
blocks/xp/tests/base_testcase.php
(#38) Function block_xp_base_testcase::setUp is not documented
(#43) Function block_xp_base_testcase::reset_container is not documented
blocks/xp/tests/course_world_config_test.php
(#44) Function block_xp_course_world_config_testcase::get_world is not documented
blocks/xp/tests/course_world_test.php
(#40) Function block_xp_course_world_testcase::get_world is not documented
blocks/xp/tests/filters_test.php
(#42) Function block_xp_filters_testcase::get_filter_manager is not documented
blocks/xp/tests/fixtures/events.php
(#28) Class something_happened is not documented
(#29) Function something_happened::init is not documented
(#32) Function something_happened::mock is not documented
(#20) Package core is not valid
blocks/xp/tests/leaderboard_factory_test.php
(#47) Function block_xp_leaderboard_factory_testcase::get_world is not documented
(#340) Function block_xp_leaderboard_factory_testcase::assert_ranking is not documented
blocks/xp/tests/leaderboard_test.php
(#49) Function block_xp_leaderboard_testcase::get_leaderboard is not documented
(#61) Function block_xp_leaderboard_testcase::get_world is not documented
(#801) Function block_xp_leaderboard_testcase::assert_ranking is not documented
blocks/xp/tests/privacy_provider_test.php
(#61) Function block_xp_privacy_provider_testcase::get_world is not documented
(#454) Function block_xp_privacy_provider_testcase::assert_contextlist_equals is not documented
(#461) Function block_xp_privacy_provider_testcase::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, 2 warnings)

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

blocks/xp/templates/progress-bar.mustache
(#1) HTML Validation error, line 4: Bad value “” for attribute “aria-valuenow” on element “div”: The empty string is not a valid floating point number. (> <div class="xp-bg-gray-200 xp-rounded-full xp-h-3 xp-relative xp-overflow-hidden" role="progressbar" aria-valuenow="" aria-valuemin="0" aria-valuemax="100"> )
(#1) HTML Validation error, line 5: CSS: “width”: Parse Error. ( <div style="width: %;" class="xp-h-full xp-bg-green-400 "></div>)

Gherkin .feature problems

(0 errors, 0 warnings)

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