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

(48 errors, 221 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/filter_manager.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/helper.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
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
(#27) 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.
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_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/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/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/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/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/context_permissions.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
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.
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.
(#121) 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/settings_maker.php
(#27) 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/course_user_state_store_leaderboard.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/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_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/manager.php
(#25) 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/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/progress.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
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/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
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
(#279) The use of backticks in strings is not recommended
(#281) The use of backticks in strings is not recommended
(#283) The use of backticks in strings is not recommended
(#285) The use of backticks in strings is not recommended
(#288) The use of backticks in strings is not recommended
(#290) The use of backticks in strings is not recommended
(#292) The use of backticks in strings is not recommended
(#294) The use of backticks in strings is not recommended
(#296) The use of backticks in strings is not recommended
(#298) The use of backticks in strings is not recommended
(#300) The use of backticks in strings is not recommended
(#310) The use of backticks in strings is not recommended
(#331) The use of backticks in strings is not recommended
(#338) The use of backticks in strings is not recommended
(#340) The use of backticks in strings is not recommended
(#343) The use of backticks in strings is not recommended
(#345) The use of backticks in strings is not recommended
(#425) Inline comments must end in full-stops, exclamation marks, or question marks
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.
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
(#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
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
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
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
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
blocks/xp/tests/fixtures/events.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/xp/tests/leaderboard_test.php
(#46) PHPUnit testcase name "block_xp_leaderboard_testcase" does not match file name "leaderboard_test"
(#46) 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
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
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

Javascript coding style problems

(19 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/tailwind.config.js
(#2) Expected indentation of 4 spaces but found 2. (indent)
(#3) Expected indentation of 4 spaces but found 2. (indent)
(#4) Expected indentation of 4 spaces but found 2. (indent)
(#5) Expected indentation of 4 spaces but found 2. (indent)
(#6) Expected indentation of 4 spaces but found 2. (indent)
(#7) Expected indentation of 4 spaces but found 2. (indent)
(#8) Expected indentation of 8 spaces but found 4. (indent)
(#9) Expected indentation of 4 spaces but found 2. (indent)
(#10) Expected indentation of 4 spaces but found 2. (indent)
(#11) Expected indentation of 8 spaces but found 4. (indent)
(#12) Expected indentation of 4 spaces but found 2. (indent)
(#13) Expected indentation of 4 spaces but found 2. (indent)
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

(24 errors, 1 warnings)

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

blocks/xp/styles.css
(#339) Can't parse value "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0)" (csstree/validator)
(#775) Expected empty line before at-rule (at-rule-empty-line-before)
(#801) Expected empty line before at-rule (at-rule-empty-line-before)
(#520) Expected single space before "{" (block-opening-brace-space-before)
(#116) Unexpected duplicate "background-color" (declaration-block-no-duplicate-properties)
(#773) Unexpected duplicate "background-color" (declaration-block-no-duplicate-properties)
(#385) Unexpected !important (declaration-no-important)
(#508) Unexpected !important (declaration-no-important)
(#339) Expected "DXImageTransform.Microsoft.gradient" to be "dximagetransform.microsoft.gradient" (function-name-case)
(#24) Unexpected unit (length-zero-no-unit)
(#533) Expected newline after "," (selector-list-comma-newline-after)
(#534) Expected indentation of 0 spaces (indentation)
blocks/xp/css/styles.css
(#225) Can't parse value "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0)" (csstree/validator)
(#406) Expected single space before "{" (block-opening-brace-space-before)
(#129) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#130) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#220) Unexpected duplicate "background-image" (declaration-block-no-duplicate-properties)
(#221) Unexpected duplicate "background-image" (declaration-block-no-duplicate-properties)
(#222) Unexpected duplicate "background-image" (declaration-block-no-duplicate-properties)
(#223) Unexpected duplicate "background-image" (declaration-block-no-duplicate-properties)
(#271) Unexpected !important (declaration-no-important)
(#394) Unexpected !important (declaration-no-important)
(#225) Expected "DXImageTransform.Microsoft.gradient" to be "dximagetransform.microsoft.gradient" (function-name-case)
(#419) Expected newline after "," (selector-list-comma-newline-after)
(#420) Expected indentation of 0 spaces (indentation)

PHPDocs style problems

(187 errors, 0 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
(#300) Phpdocs for function block_xp_filter::update_after_restore has incomplete parameters list
(#361) 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} or {@see valid FQSEN}
(#225) Inline phpdocs tag {@link self::$ruledata} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
blocks/xp/classes/form/config.php
(#264) 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 has has incomplete parameters list
blocks/xp/classes/local/config/mdl_locked_config.php
(#52) Phpdocs for function mdl_locked_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
(#87) Function config_controller::pre_content is not documented
(#129) Function config_controller::get_page_html_head_title is not documented
(#133) Function config_controller::get_page_heading is not documented
(#137) Function config_controller::page_content is not documented
(#143) 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
(#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
(#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
(#44) Function log_controller::permissions_checks is not documented
(#52) Function log_controller::get_table is not documented
(#61) Function log_controller::get_page_html_head_title is not documented
(#65) Function log_controller::get_page_heading is not documented
(#69) Function log_controller::page_content is not documented
(#41) Variable log_controller::$routename is not documented
(#42) Variable log_controller::$supportsgroups is not documented
blocks/xp/classes/local/controller/page_controller.php
(#93) Inline phpdocs tag {@link self::page_content} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
blocks/xp/classes/local/controller/promo_controller.php
(#60) Function promo_controller::define_optional_params is not documented
(#76) Function promo_controller::require_login is not documented
(#86) Function promo_controller::post_login is not documented
(#121) Function promo_controller::content is not documented
(#312) Function promo_controller::content_installed is not documented
blocks/xp/classes/local/controller/report_controller.php
(#54) Function report_controller::define_optional_params is not documented
(#65) Function report_controller::pre_content is not documented
(#107) Function report_controller::get_page_html_head_title is not documented
(#111) Function report_controller::get_page_heading is not documented
(#115) Function report_controller::get_form is not documented
(#125) Function report_controller::get_table is not documented
(#171) Function report_controller::page_content is not documented
blocks/xp/classes/local/controller/route_controller.php
(#199) Phpdocs for function route_controller::handle has incomplete parameters list
(#158) Inline phpdocs tag {@link self::get_param} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
blocks/xp/classes/local/controller/rules_controller.php
(#58) Function rules_controller::define_optional_params is not documented
(#65) Function rules_controller::post_login is not documented
(#71) Function rules_controller::pre_content is not documented
(#93) Function rules_controller::handle_save is not documented
(#98) Function rules_controller::save_filters is not documented
(#139) Function rules_controller::get_page_html_head_title is not documented
(#143) Function rules_controller::get_page_heading is not documented
(#213) Function rules_controller::page_content is not documented
(#233) Function rules_controller::page_plus_promo_content is not documented
(#244) Function rules_controller::page_rules_content is not documented
(#249) Function rules_controller::page_danger_zone_content is not documented
blocks/xp/classes/local/controller/visuals_controller.php
(#94) Function visuals_controller::pre_content is not documented
(#149) Function visuals_controller::get_page_html_head_title is not documented
(#153) Function visuals_controller::get_page_heading is not documented
(#166) Function visuals_controller::page_content is not documented
blocks/xp/classes/local/course_world.php
(#93) Function course_world::get_access_permissions is not documented
(#97) Function course_world::get_config is not documented
(#101) Function course_world::get_collection_strategy is not documented
(#164) Function course_world::get_levels_info is not documented
(#199) Function course_world::get_store is not documented
(#72) 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_navigation_factory.php
(#51) 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_has_flag has incomplete parameters list
blocks/xp/classes/local/leaderboard/anonymised_leaderboard.php
(#82) 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_level_up_state_store_observer.php
(#55) Phpdocs for function default_level_up_state_store_observer::__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/routing/default_url_resolver.php
(#65) Inline phpdocs tag {@link get_file_arguements()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
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/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
(#72) Inline phpdocs tag {@link self::unalias_picture_fields()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
blocks/xp/classes/local/xp/algo_levels_info.php
(#178) Function algo_levels_info::load is not documented
(#204) Phpdocs for function algo_levels_info::make_from_defaults has incomplete parameters list
blocks/xp/classes/local/xp/anonymised_user_state.php
(#58) Function anonymised_user_state::get_id is not documented
(#62) Function anonymised_user_state::get_level is not documented
(#66) Function anonymised_user_state::get_ratio_in_level is not documented
(#70) Function anonymised_user_state::get_total_xp_in_level is not documented
(#74) Function anonymised_user_state::get_user is not documented
(#78) Function anonymised_user_state::get_xp is not documented
(#82) Function anonymised_user_state::get_xp_in_level is not documented
(#49) Phpdocs for function anonymised_user_state::__construct has incomplete parameters list
blocks/xp/classes/local/xp/course_filter_manager.php
(#227) Phpdocs for function course_filter_manager::invalidate_filters_cache has incomplete parameters list
blocks/xp/classes/local/xp/course_user_state_store.php
(#67) Phpdocs for function course_user_state_store::__construct has incomplete parameters list
blocks/xp/classes/local/xp/course_user_state_store_leaderboard.php
(#143) Phpdocs for function course_user_state_store_leaderboard::get_rank has incomplete parameters list
blocks/xp/classes/local/xp/user_state.php
(#65) Function user_state::get_id is not documented
(#69) Function user_state::get_level is not documented
(#76) Function user_state::get_ratio_in_level is not documented
(#84) Function user_state::get_total_xp_in_level is not documented
(#103) Function user_state::get_xp is not documented
(#107) Function user_state::get_xp_in_level is not documented
blocks/xp/classes/manager.php
(#112) Phpdocs for function block_xp_manager::can_capture_event has incomplete parameters list
(#382) Phpdocs for function block_xp_manager::recalculate_levels has incomplete parameters list
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/ladder_table.php
(#68) Inline phpdocs tag {@link self::get_user_record()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
blocks/xp/classes/output/leaderboard_table.php
(#125) Phpdocs for function leaderboard_table::out has incomplete parameters list
(#313) Inline phpdocs tag {@link self::add_data_keyed} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
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
(#61) Function xp_widget::__construct is not documented
(#76) Function xp_widget::add_manager_notice is not documented
(#80) Function xp_widget::set_force_recent_activity 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} or {@see valid FQSEN}
(#44) Inline phpdocs tag {@link self::export()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#95) Inline phpdocs tag {@link self::import()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#109) Inline phpdocs tag {@link self::create()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
blocks/xp/classes/rule_base.php
(#87) Inline phpdocs tag {@link self::create()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
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} or {@see valid FQSEN}
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} or {@see valid FQSEN}
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/db/shortcodes.php
(#20) Package filter_shortcodes is not valid
blocks/xp/renderer.php
(#71) Phpdocs for function block_xp_renderer::level_badge_with_options has incomplete parameters list
(#561) Phpdocs for function block_xp_renderer::render_filters_widget has incomplete parameters list
(#616) Phpdocs for function block_xp_renderer::render_filters_widget_element has incomplete parameters list
(#633) Phpdocs for function block_xp_renderer::render_filters_widget_group has incomplete parameters list
(#677) Phpdocs for function block_xp_renderer::progress_bar has incomplete parameters list
(#804) Phpdocs for function block_xp_renderer::render_xp_widget 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
(#20) Package core is not valid
(#28) Class something_happened is not documented
(#29) Function something_happened::init is not documented
(#32) Function something_happened::mock is not documented
blocks/xp/tests/leaderboard_test.php
(#48) Function block_xp_leaderboard_testcase::get_leaderboard is not documented
(#60) Function block_xp_leaderboard_testcase::get_world is not documented
(#391) 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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 2 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]

blocks/xp/db/upgrade.php
Database modifications (new tables or columns) detected in the patch without any change to some important areas.
No changes detected to external functions, that may affect apps and other web service integrations, please verify!

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, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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