Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


PHP lint problems

(0 errors, 0 warnings)

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


PHP coding style problems

(165 errors, 214 warnings)

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

availability/condition/examus2/classes/client.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#63) There should be a comma after the last array item in a multi-line array.
(#86) Whitespace found at end of line
(#238) Variable "desktopAppForbiddenProcesses" must be all lower-case
(#239) Variable "desktopAppAllowedProcesses" must be all lower-case
(#279) Whitespace found at end of line
(#280) Expected "if (...) {\n"; found "if(...) {\n"
(#281) Variable "desktopAppForbiddenProcesses" must be all lower-case
(#283) Whitespace found at end of line
(#284) Expected "if (...) {\n"; found "if(...) {\n"
(#285) Variable "desktopAppAllowedProcesses" must be all lower-case
(#287) Whitespace found at end of line
(#298) "require_once" must be immediately followed by an open parenthesis
(#312) There should be a comma after the last array item in a multi-line array.
(#316) Inline control structures are not allowed
(#317) Expected 1 space after "="; 2 found
availability/condition/examus2/classes/common.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Import statements must not begin with a leading backslash
(#52) There should be a comma after the last array item in a multi-line array.
(#150) There should be a comma after the last array item in a multi-line array.
(#192) There should be a comma after the last array item in a multi-line array.
(#263) Variable "start_override" must not contain underscores.
(#264) Variable "end_override" must not contain underscores.
(#266) Variable "overrides_user" must not contain underscores.
(#268) Expected "if (...) {\n"; found "if(...) {\n"
(#268) Variable "overrides_user" must not contain underscores.
(#270) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#273) Whitespace found at end of line
(#274) Expected "if (...) {\n"; found "if(...) {\n"
(#275) Variable "groupid_sql" must not contain underscores.
(#280) Variable "groupid_sql" must not contain underscores.
(#282) Expected "if (...) {\n"; found "if(...) {\n"
(#283) Variable "start_override" must not contain underscores.
(#284) Variable "end_override" must not contain underscores.
(#288) Variable "start_override" must not contain underscores.
(#288) Variable "overrides_user" must not contain underscores.
(#289) Variable "end_override" must not contain underscores.
(#289) Variable "overrides_user" must not contain underscores.
(#291) Whitespace found at end of line
(#292) Variable "start_override" must not contain underscores.
(#293) Variable "end_override" must not contain underscores.
(#302) Whitespace found at end of line
(#335) Missing docblock for function get_default_proctoring_settings
(#341) Missing docblock for function set_default_proctoring_settings
(#341) Expected 1 space before opening brace; found 0
availability/condition/examus2/classes/condition.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#67) There should be a comma after the last array item in a multi-line array.
(#159) Whitespace found at end of line
(#164) Member variable "desktopAppForbiddenProcesses" must be all lower-case
(#167) Member variable "desktopAppAllowedProcesses" must be all lower-case
(#171) Whitespace found at end of line
(#174) Whitespace found at end of line
(#223) Whitespace found at end of line
(#278) Whitespace found at end of line
(#282) Whitespace found at end of line
(#286) Whitespace found at end of line
(#290) Whitespace found at end of line
(#494) Invalid docblock tag "@params".
(#504) Space found after object operator
availability/condition/examus2/classes/defaults_form.php
(#31) Missing docblock for class defaults_form
(#32) Missing docblock for function get_group_options
(#46) Missing docblock for function definition
(#85) Whitespace found at end of line
(#97) Whitespace found at end of line
(#100) Whitespace found at end of line
(#135) Whitespace found at end of line
(#175) Missing docblock for function validation
(#178) Expected "if (...) {\n"; found "if(...) {\n"
(#183) Expected "if (...) {\n"; found "if(...) {\n"
(#186) Expected "if (...) {\n"; found "if(...) {\n"
availability/condition/examus2/classes/frontend.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#96) Whitespace found at end of line
(#113) There should be a comma after the last array item in a multi-line array.
(#135) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $cm.
(#136) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $section.
(#145) Expected "if (...) {\n"; found "if(...) {\n"
(#166) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $cm.
(#167) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $section.
availability/condition/examus2/classes/hook_callbacks.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Inline control structures are not allowed
availability/condition/examus2/classes/log.php
(#26) Import statements must not begin with a leading backslash
(#42) Expected "int" but found "integer" for @var tag in member variable comment
(#47) Expected "int" but found "integer" for @var tag in member variable comment
(#52) Expected "int" but found "integer" for @var tag in member variable comment
(#76) Variable "url_param_link" must not contain underscores.
(#82) Variable "url_param_link" must not contain underscores.
(#135) Variable "email_like" must not contain underscores.
(#136) Variable "username_like" must not contain underscores.
(#137) Variable "email_like" must not contain underscores.
(#137) Variable "username_like" must not contain underscores.
(#147) Variable "courseids_sql" must not contain underscores.
(#147) Variable "courseids_params" must not contain underscores.
(#148) Variable "courseids_params" must not contain underscores.
(#149) Variable "courseids_sql" must not contain underscores.
(#155) Variable "where_sql" must not contain underscores.
(#158) Variable "order_sql" must not contain underscores.
(#183) Variable "where_sql" must not contain underscores.
(#184) Variable "order_sql" must not contain underscores.
(#190) Variable "where_sql" must not contain underscores.
(#205) Whitespace found at end of line
(#219) There should be a comma after the last array item in a multi-line array.
(#233) There should be a comma after the last array item in a multi-line array.
(#235) Whitespace found at end of line
(#266) Whitespace found at end of line
(#268) Whitespace found at end of line
(#271) There should be a comma after the last array item in a multi-line array.
(#274) Whitespace found at end of line
(#287) There should be a comma after the last array item in a multi-line array.
(#297) There should be a comma after the last array item in a multi-line array.
(#305) There should be a comma after the last array item in a multi-line array.
(#308) There should be a comma after the last array item in a multi-line array.
(#317) There should be a comma after the last array item in a multi-line array.
(#374) Whitespace found at end of line
(#426) Short array syntax must be used to define arrays
(#457) Short array syntax must be used to define arrays
(#520) There should be a comma after the last array item in a multi-line array.
(#521) There should be a comma after the last array item in a multi-line array.
(#563) There should be a comma after the last array item in a multi-line array.
(#588) There should be a comma after the last array item in a multi-line array.
(#600) There should be a comma after the last array item in a multi-line array.
(#604) Whitespace found at end of line
availability/condition/examus2/classes/log_details.php
(#36) Expected "int" but found "integer" for @var tag in member variable comment
(#167) There should be a comma after the last array item in a multi-line array.
(#172) There should be a comma after the last array item in a multi-line array.
(#177) There should be a comma after the last array item in a multi-line array.
(#182) There should be a comma after the last array item in a multi-line array.
(#187) There should be a comma after the last array item in a multi-line array.
(#271) There should be a comma after the last array item in a multi-line array.
availability/condition/examus2/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Import statements must not begin with a leading backslash
(#30) Import statements must not begin with a leading backslash
(#31) Import statements must not begin with a leading backslash
(#32) Import statements must not begin with a leading backslash
(#33) Import statements must not begin with a leading backslash
(#34) Import statements must not begin with a leading backslash
(#35) Import statements must not begin with a leading backslash
(#45) Missing docblock for function get_metadata
availability/condition/examus2/classes/state.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
availability/condition/examus2/classes/utils.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Missing docblock for constant utils::TOKEN_TIMEOUT
(#106) There should be a comma after the last array item in a multi-line array.
(#209) There should be a comma after the last array item in a multi-line array.
availability/condition/examus2/db/access.php
(#32) There should be a comma after the last array item in a multi-line array.
(#39) There should be a comma after the last array item in a multi-line array.
(#49) There should be a comma after the last array item in a multi-line array.
availability/condition/examus2/db/hooks.php
(#31) There should be a comma after the last array item in a multi-line array.
availability/condition/examus2/db/upgrade.php
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) Missing docblock for function xmldb_availability_examus2_upgrade
availability/condition/examus2/entry.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
availability/condition/examus2/index.php
(#68) Whitespace found at end of line
(#73) Whitespace found at end of line
(#74) Inline control structures are not allowed
(#75) Inline control structures are not allowed
(#76) Whitespace found at end of line
(#77) Variable "error_exist_ids" must not contain underscores.
(#78) Variable "success_exist_ids" must not contain underscores.
(#79) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#81) Variable "error_exist_ids" must not contain underscores.
(#83) Variable "success_exist_ids" must not contain underscores.
(#86) Whitespace found at end of line
(#87) Variable "url_param_link" must not contain underscores.
(#89) Variable "error_exist_ids" must not contain underscores.
(#91) Variable "url_param_link" must not contain underscores.
(#92) Variable "error_exist_ids" must not contain underscores.
(#97) Whitespace found at end of line
(#99) Variable "url_param_link" must not contain underscores.
(#100) Variable "success_exist_ids" must not contain underscores.
(#114) Variable "url_param_link" must not contain underscores.
availability/condition/examus2/lang/en/availability_examus2.php
(#29) The string key "examus2:logaccess_all" is not in the correct order, it should be before "examus2:logaccess_course"
(#31) The string key "description" is not in the correct order, it should be before "examus2:logaccess_all"
(#35) The string key "error_no_entry_found" is not in the correct order, it should be before "title"
(#42) The string key "settings_account_name" is not in the correct order, it should be before "settings_jwt_secret"
(#45) The string key "description_examus2" is not in the correct order, it should be before "settings_user_emails"
(#49) The string key "log_section" is not in the correct order, it should be before "settings"
(#51) The string key "module" is not in the correct order, it should be before "status"
(#54) The string key "duration" is not in the correct order, it should be before "new_entry_force"
(#56) The string key "log_archive_link" is not in the correct order, it should be before "log_review"
(#58) The string key "log_attempt" is not in the correct order, it should be before "log_report_link"
(#62) The string key "entry_exist" is not in the correct order, it should be before "new_entry_created"
(#63) The string key "date_modified" is not in the correct order, it should be before "entry_exist"
(#66) The string key "online_mode" is not in the correct order, it should be before "proctoring_mode"
(#67) The string key "offline_mode" is not in the correct order, it should be before "online_mode"
(#68) The string key "auto_mode" is not in the correct order, it should be before "offline_mode"
(#71) The string key "identification" is not in the correct order, it should be before "identification_mode"
(#72) The string key "face_passport_identification" is not in the correct order, it should be before "identification"
(#74) The string key "face_identification" is not in the correct order, it should be before "passport_identification"
(#81) The string key "select_groups" is not in the correct order, it should be before "web_camera_main_view_side"
(#84) The string key "is_trial" is not in the correct order, it should be before "select_groups_desc"
(#85) The string key "auxiliary_camera" is not in the correct order, it should be before "is_trial"
(#90) The string key "allowmultipledisplays" is not in the correct order, it should be before "enable_ldb"
(#92) The string key "allowmobiledevices" is not in the correct order, it should be before "facehuntingenabled"
(#97) The string key "custom_rules" is not in the correct order, it should be before "rules"
(#99) The string key "desktop_app_allowed_processes" is not in the correct order, it should be before "desktop_app_forbidden_processes"
(#103) The string key "biometry_header" is not in the correct order, it should be before "user_agreement_url"
(#104) The string key "biometry_enabled" is not in the correct order, it should be before "biometry_header"
(#106) The string key "biometry_flow" is not in the correct order, it should be before "biometry_skipfail"
(#110) The string key "time_finish" is not in the correct order, it should be before "time_scheduled"
(#112) The string key "auto_rescheduling" is not in the correct order, it should be before "time_finish"
(#115) The string key "allow_to_use_websites" is not in the correct order, it should be before "enable"
(#116) The string key "allow_to_use_books" is not in the correct order, it should be before "allow_to_use_websites"
(#118) The string key "allow_to_use_messengers" is not in the correct order, it should be before "allow_to_use_paper"
(#119) The string key "allow_to_use_calculator" is not in the correct order, it should be before "allow_to_use_messengers"
(#122) The string key "allow_absence_in_frame" is not in the correct order, it should be before "allow_to_use_human_assistant"
(#127) The string key "scoring_cheater_level" is not in the correct order, it should be before "scoring_params_header"
(#130) The string key "scoring_absent_user" is not in the correct order, it should be before "scoring_user_replaced"
(#132) The string key "scoring_active_window_changed" is not in the correct order, it should be before "scoring_look_away"
(#135) The string key "scoring_phone" is not in the correct order, it should be before "scoring_voice"
(#140) The string key "status_accepted" is not in the correct order, it should be before "status_unknown"
(#142) The string key "status_force_reset" is not in the correct order, it should be before "status_rejected"
(#143) The string key "status_finished" is not in the correct order, it should be before "status_force_reset"
(#146) The string key "scheduling_required" is not in the correct order, it should be before "status_scheduled"
(#147) The string key "apply_filter" is not in the correct order, it should be before "scheduling_required"
(#148) The string key "allcourses" is not in the correct order, it should be before "apply_filter"
(#151) The string key "fromdate" is not in the correct order, it should be before "userquery"
(#154) The string key "score" is not in the correct order, it should be before "todate"
(#157) The string key "session_start" is not in the correct order, it should be before "threshold_rejected"
(#158) The string key "session_end" is not in the correct order, it should be before "session_start"
(#160) The string key "comment" is not in the correct order, it should be before "warnings"
(#164) Unexpected comment found. Auto-fixing will not work after this comment
(#169) Unexpected comment found. Auto-fixing will not work after this comment
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) No space found before comment text; expected "// Redirect screen" but found "//Redirect screen"
(#173) Unexpected comment found. Auto-fixing will not work after this comment
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) The string key "defaults" is not in the correct order, it should be before "redirect_title"
(#178) The string key "log_details_warning_type" is not in the correct order, it should be before "log_details_warnings"
(#179) The string key "log_details_warning_title" is not in the correct order, it should be before "log_details_warning_type"
(#180) The string key "log_details_warning_start" is not in the correct order, it should be before "log_details_warning_title"
(#181) The string key "log_details_warning_end" is not in the correct order, it should be before "log_details_warning_start"
(#187) The string key "warning_no_user_in_frame" is not in the correct order, it should be before "warning_substitution_user"
(#188) The string key "warning_avert_eyes" is not in the correct order, it should be before "warning_no_user_in_frame"
(#190) The string key "warning_change_active_window_on_computer" is not in the correct order, it should be before "warning_timeout"
(#192) The string key "warning_forbidden_software" is not in the correct order, it should be before "warning_talk"
(#193) The string key "warning_forbidden_device" is not in the correct order, it should be before "warning_forbidden_software"
(#195) The string key "warning_extra_display" is not in the correct order, it should be before "warning_voice_detected"
(#196) The string key "warning_books" is not in the correct order, it should be before "warning_extra_display"
(#200) The string key "warning_mic_no_device_connected" is not in the correct order, it should be before "warning_mic_no_sound"
(#201) The string key "warning_camera_no_picture" is not in the correct order, it should be before "warning_mic_no_device_connected"
(#202) The string key "warning_camera_no_device_connected" is not in the correct order, it should be before "warning_camera_no_picture"
(#206) The string key "warning_no_ping" is not in the correct order, it should be before "warning_phone_screen"
(#207) The string key "warning_desktop_request_pending" is not in the correct order, it should be before "warning_no_ping"
(#209) The string key "privacy:path" is not in the correct order, it should be before "warning_desktop_request_pending"
(#210) The string key "privacy:metadata:availability_examus2_entries" is not in the correct order, it should be before "privacy:path"
(#212) The string key "privacy:metadata:availability_examus2_entries:cmid" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:courseid"
(#213) The string key "privacy:metadata:availability_examus2_entries:attemptid" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:cmid"
(#215) The string key "privacy:metadata:availability_examus2_entries:accesscode" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:userid"
(#217) The string key "privacy:metadata:availability_examus2_entries:review_link" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:status"
(#218) The string key "privacy:metadata:availability_examus2_entries:archiveurl" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:review_link"
(#222) The string key "privacy:metadata:availability_examus2_entries:score" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:timescheduled"
(#223) The string key "privacy:metadata:availability_examus2_entries:comment" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:score"
(#226) The string key "privacy:metadata:availability_examus2_entries:sessionstart" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:warnings"
(#227) The string key "privacy:metadata:availability_examus2_entries:sessionend" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:sessionstart"
(#231) The string key "privacy:metadata:availability_examus2_external:firstname" is not in the correct order, it should be before "privacy:metadata:availability_examus2_external:username"
(#234) The string key "privacy:metadata:availability_examus2_external:email" is not in the correct order, it should be before "privacy:metadata:availability_examus2_external:middlename"
(#237) Unexpected comment found. Auto-fixing will not work after this comment
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) No space found before comment text; expected "// Hint text" but found "//Hint text"
(#239) The string key "hint" is not in the correct order, it should be before "privacy:metadata:availability_examus2_external:userpicture"
(#240) The string key "duration_desc" is not in the correct order, it should be before "hint"
(#242) The string key "identification_desc" is not in the correct order, it should be before "proctoring_mode_desc"
(#244) The string key "auto_rescheduling_desc" is not in the correct order, it should be before "scheduling_required_desc"
(#246) The string key "enable_ldb_desc" is not in the correct order, it should be before "is_trial_desc"
(#247) The string key "custom_rules_desc" is not in the correct order, it should be before "enable_ldb_desc"
(#248) The string key "auxiliary_camera_desc" is not in the correct order, it should be before "custom_rules_desc"
(#251) The string key "scoring_params_header_desc" is not in the correct order, it should be before "visible_warnings_desc"
(#252) The string key "desktop_app_forbidden_processes_desc" is not in the correct order, it should be before "scoring_params_header_desc"
(#253) The string key "desktop_app_allowed_processes_desc" is not in the correct order, it should be before "desktop_app_forbidden_processes_desc"
(#256) The string key "enabledAllowedProcesses" is not in the correct order, it should be before "user_agreement_url_desc"
availability/condition/examus2/lang/ru/availability_examus2.php
(#29) The string key "examus2:logaccess_all" is not in the correct order, it should be before "examus2:logaccess_course"
(#31) The string key "description" is not in the correct order, it should be before "examus2:logaccess_all"
(#35) The string key "error_no_entry_found" is not in the correct order, it should be before "title"
(#42) The string key "settings_account_name" is not in the correct order, it should be before "settings_jwt_secret"
(#45) The string key "description_examus2" is not in the correct order, it should be before "settings_user_emails"
(#49) The string key "log_section" is not in the correct order, it should be before "settings"
(#51) The string key "module" is not in the correct order, it should be before "status"
(#54) The string key "duration" is not in the correct order, it should be before "new_entry_force"
(#56) The string key "log_archive_link" is not in the correct order, it should be before "log_review"
(#58) The string key "log_attempt" is not in the correct order, it should be before "log_report_link"
(#62) The string key "entry_exist" is not in the correct order, it should be before "new_entry_created"
(#63) The string key "date_modified" is not in the correct order, it should be before "entry_exist"
(#66) The string key "online_mode" is not in the correct order, it should be before "proctoring_mode"
(#67) The string key "offline_mode" is not in the correct order, it should be before "online_mode"
(#68) The string key "auto_mode" is not in the correct order, it should be before "offline_mode"
(#71) The string key "identification" is not in the correct order, it should be before "identification_mode"
(#72) The string key "face_passport_identification" is not in the correct order, it should be before "identification"
(#74) The string key "face_identification" is not in the correct order, it should be before "passport_identification"
(#81) The string key "select_groups" is not in the correct order, it should be before "web_camera_main_view_side"
(#84) The string key "is_trial" is not in the correct order, it should be before "select_groups_desc"
(#85) The string key "auxiliary_camera" is not in the correct order, it should be before "is_trial"
(#90) The string key "allowmultipledisplays" is not in the correct order, it should be before "enable_ldb"
(#92) The string key "allowmobiledevices" is not in the correct order, it should be before "facehuntingenabled"
(#97) The string key "custom_rules" is not in the correct order, it should be before "rules"
(#99) The string key "desktop_app_allowed_processes" is not in the correct order, it should be before "desktop_app_forbidden_processes"
(#103) The string key "biometry_header" is not in the correct order, it should be before "user_agreement_url"
(#104) The string key "biometry_enabled" is not in the correct order, it should be before "biometry_header"
(#106) The string key "biometry_flow" is not in the correct order, it should be before "biometry_skipfail"
(#110) The string key "time_finish" is not in the correct order, it should be before "time_scheduled"
(#112) The string key "auto_rescheduling" is not in the correct order, it should be before "time_finish"
(#115) The string key "allow_to_use_websites" is not in the correct order, it should be before "enable"
(#116) The string key "allow_to_use_books" is not in the correct order, it should be before "allow_to_use_websites"
(#118) The string key "allow_to_use_messengers" is not in the correct order, it should be before "allow_to_use_paper"
(#119) The string key "allow_to_use_calculator" is not in the correct order, it should be before "allow_to_use_messengers"
(#122) The string key "allow_absence_in_frame" is not in the correct order, it should be before "allow_to_use_human_assistant"
(#127) The string key "scoring_cheater_level" is not in the correct order, it should be before "scoring_params_header"
(#130) The string key "scoring_absent_user" is not in the correct order, it should be before "scoring_user_replaced"
(#132) The string key "scoring_active_window_changed" is not in the correct order, it should be before "scoring_look_away"
(#135) The string key "scoring_phone" is not in the correct order, it should be before "scoring_voice"
(#140) The string key "status_accepted" is not in the correct order, it should be before "status_unknown"
(#142) The string key "status_force_reset" is not in the correct order, it should be before "status_rejected"
(#143) The string key "status_finished" is not in the correct order, it should be before "status_force_reset"
(#146) The string key "scheduling_required" is not in the correct order, it should be before "status_scheduled"
(#147) The string key "apply_filter" is not in the correct order, it should be before "scheduling_required"
(#148) The string key "allcourses" is not in the correct order, it should be before "apply_filter"
(#151) The string key "fromdate" is not in the correct order, it should be before "userquery"
(#154) The string key "score" is not in the correct order, it should be before "todate"
(#157) The string key "session_start" is not in the correct order, it should be before "threshold_rejected"
(#158) The string key "session_end" is not in the correct order, it should be before "session_start"
(#160) The string key "comment" is not in the correct order, it should be before "warnings"
(#164) Unexpected comment found. Auto-fixing will not work after this comment
(#169) Unexpected comment found. Auto-fixing will not work after this comment
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) No space found before comment text; expected "// Redirect screen" but found "//Redirect screen"
(#173) Unexpected comment found. Auto-fixing will not work after this comment
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) The string key "defaults" is not in the correct order, it should be before "redirect_title"
(#178) The string key "log_details_warning_type" is not in the correct order, it should be before "log_details_warnings"
(#179) The string key "log_details_warning_title" is not in the correct order, it should be before "log_details_warning_type"
(#180) The string key "log_details_warning_start" is not in the correct order, it should be before "log_details_warning_title"
(#181) The string key "log_details_warning_end" is not in the correct order, it should be before "log_details_warning_start"
(#187) The string key "warning_no_user_in_frame" is not in the correct order, it should be before "warning_substitution_user"
(#188) The string key "warning_avert_eyes" is not in the correct order, it should be before "warning_no_user_in_frame"
(#190) The string key "warning_change_active_window_on_computer" is not in the correct order, it should be before "warning_timeout"
(#192) The string key "warning_forbidden_software" is not in the correct order, it should be before "warning_talk"
(#193) The string key "warning_forbidden_device" is not in the correct order, it should be before "warning_forbidden_software"
(#195) The string key "warning_extra_display" is not in the correct order, it should be before "warning_voice_detected"
(#196) The string key "warning_books" is not in the correct order, it should be before "warning_extra_display"
(#200) The string key "warning_mic_no_device_connected" is not in the correct order, it should be before "warning_mic_no_sound"
(#201) The string key "warning_camera_no_picture" is not in the correct order, it should be before "warning_mic_no_device_connected"
(#202) The string key "warning_camera_no_device_connected" is not in the correct order, it should be before "warning_camera_no_picture"
(#206) The string key "warning_no_ping" is not in the correct order, it should be before "warning_phone_screen"
(#207) The string key "warning_desktop_request_pending" is not in the correct order, it should be before "warning_no_ping"
(#209) The string key "privacy:path" is not in the correct order, it should be before "warning_desktop_request_pending"
(#210) The string key "privacy:metadata:availability_examus2_entries" is not in the correct order, it should be before "privacy:path"
(#212) The string key "privacy:metadata:availability_examus2_entries:cmid" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:courseid"
(#213) The string key "privacy:metadata:availability_examus2_entries:attemptid" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:cmid"
(#215) The string key "privacy:metadata:availability_examus2_entries:accesscode" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:userid"
(#217) The string key "privacy:metadata:availability_examus2_entries:review_link" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:status"
(#218) The string key "privacy:metadata:availability_examus2_entries:archiveurl" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:review_link"
(#222) The string key "privacy:metadata:availability_examus2_entries:score" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:timescheduled"
(#223) The string key "privacy:metadata:availability_examus2_entries:comment" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:score"
(#226) The string key "privacy:metadata:availability_examus2_entries:sessionstart" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:warnings"
(#227) The string key "privacy:metadata:availability_examus2_entries:sessionend" is not in the correct order, it should be before "privacy:metadata:availability_examus2_entries:sessionstart"
(#231) The string key "privacy:metadata:availability_examus2_external:firstname" is not in the correct order, it should be before "privacy:metadata:availability_examus2_external:username"
(#234) The string key "privacy:metadata:availability_examus2_external:email" is not in the correct order, it should be before "privacy:metadata:availability_examus2_external:middlename"
(#237) Unexpected comment found. Auto-fixing will not work after this comment
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) No space found before comment text; expected "// Hint text" but found "//Hint text"
(#239) The string key "hint" is not in the correct order, it should be before "privacy:metadata:availability_examus2_external:userpicture"
(#240) The string key "duration_desc" is not in the correct order, it should be before "hint"
(#242) The string key "identification_desc" is not in the correct order, it should be before "proctoring_mode_desc"
(#244) The string key "auto_rescheduling_desc" is not in the correct order, it should be before "scheduling_required_desc"
(#246) The string key "enable_ldb_desc" is not in the correct order, it should be before "is_trial_desc"
(#247) The string key "custom_rules_desc" is not in the correct order, it should be before "enable_ldb_desc"
(#248) The string key "auxiliary_camera_desc" is not in the correct order, it should be before "custom_rules_desc"
(#251) The string key "scoring_params_header_desc" is not in the correct order, it should be before "visible_warnings_desc"
(#252) The string key "desktop_app_forbidden_processes_desc" is not in the correct order, it should be before "scoring_params_header_desc"
(#253) The string key "desktop_app_allowed_processes_desc" is not in the correct order, it should be before "desktop_app_forbidden_processes_desc"
(#256) The string key "enabledAllowedProcesses" is not in the correct order, it should be before "user_agreement_url_desc"
availability/condition/examus2/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#63) Variable "rootPath" must be all lower-case
(#63) Commas (,) must be followed by white space.
(#64) Variable "rootPath" must be all lower-case
(#64) Variable "rootPath" must be all lower-case
availability/condition/examus2/locallib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Whitespace found at end of line
(#62) Expected "if (...) {\n"; found "if(...) {\n"
(#139) There should be a comma after the last array item in a multi-line array.
(#190) There should be a comma after the last array item in a multi-line array.
availability/condition/examus2/settings.php
(#64) Whitespace found at end of line

Javascript coding style problems

(0 errors, 26 warnings)

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

availability/condition/examus2/amd/src/admin.js
(#25) Expected JSDoc block to be aligned. (jsdoc/check-alignment)
availability/condition/examus2/amd/src/fader.js
(#30) Expected space or tab after '//' in comment. (spaced-comment)
(#49) Expected space or tab after '//' in comment. (spaced-comment)
(#85) ["method"] is better written in dot notation. (dot-notation)
(#86) ["action"] is better written in dot notation. (dot-notation)
(#88) ["token"] is better written in dot notation. (dot-notation)
(#92) Expected space or tab after '//' in comment. (spaced-comment)
(#94) Expected space or tab after '//' in comment. (spaced-comment)
(#98) Extra space after key 'key'. (key-spacing)
(#98) Extra space after key 'component'. (key-spacing)
(#99) Extra space after key 'key'. (key-spacing)
(#99) Extra space after key 'component'. (key-spacing)
(#100) Extra space after key 'key'. (key-spacing)
(#100) Extra space after key 'component'. (key-spacing)
(#108) Expected catch,fail,always() or return (promise/catch-or-return)
(#109) Each then() should return a value or throw (promise/always-return)
availability/condition/examus2/yui/src/form/js/form.js
(#7) Identifier 'availability_examus2' is not in camel case. (camelcase)
(#23) Function has a complexity of 76. Maximum allowed is 20. (complexity)
(#145) Comments should not begin with a lowercase character. (capitalized-comments)
(#289) Statement inside of curly braces should be on next line. (brace-style)
(#289) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#408) Identifier 'scheduling_required' is not in camel case. (camelcase)
(#597) Identifier 'auto_rescheduling' is not in camel case. (camelcase)
(#598) Identifier 'scheduling_required' is not in camel case. (camelcase)
(#640) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#648) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(2 errors, 0 warnings)

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

availability/condition/examus2/classes/condition.php
(#493) Phpdocs for function condition::user_in_examus2ed_groups has incomplete parameters list
availability/condition/examus2/classes/log.php
(#73) Phpdocs for function log::__construct has incomplete parameters list

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 3 warnings)

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

availability/condition/examus2/templates/log_header_action.mustache
(#1) Example context missing.
availability/condition/examus2/templates/log_header_checkbox.mustache
(#1) Example context missing.
availability/condition/examus2/templates/log_row_checkbox.mustache
(#1) HTML Validation error, line 3: Attribute “force” not allowed on element “input” at this point. (d><body><input class="js-item-checkbox" type="checkbox" name="id" force="true" value="123"></bo)
availability/condition/examus2/templates/redirect.mustache
(#1) HTML Validation info, line 17: The “type” attribute is unnecessary for JavaScript resources. (> <script type="text/javascript"> )
(#1) HTML Validation info, line 3: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html> <)

Gherkin .feature problems

(0 errors, 0 warnings)

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