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

(1049 errors, 1516 warnings)

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

mod/offlinequiz/accessmanager.php
(#20) Incorrect @package tag for file accessmanager.php. Expected mod_offlinequiz, found mod.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#45) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#94) No one-line description found in phpdocs for docblock of function get_rule_classes
(#121) Short array syntax must be used to define arrays
(#190) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#235) Short array syntax must be used to define arrays
(#275) No one-line description found in phpdocs for docblock of function get_active_rule_names
(#276) Short array syntax must be used to define arrays
(#307) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#343) Short array syntax must be used to define arrays
(#356) No one-line description found in phpdocs for docblock of function is_preflight_check_required
(#459) No one-line description found in phpdocs for docblock of function attempt_must_be_in_popup
(#472) No one-line description found in phpdocs for docblock of function get_popup_options
(#473) Short array syntax must be used to define arrays
(#509) Short array syntax must be used to define arrays
mod/offlinequiz/addrandom.php
(#21) Incorrect @package tag for file addrandom.php. Expected mod_offlinequiz, found mod.
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#77) There should be a comma after the last array item in a multi-line array.
(#99) Short array syntax must be used to define arrays
(#101) There should be a comma after the last array item in a multi-line array.
(#134) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
mod/offlinequiz/addrandomform.php
(#20) Incorrect @package tag for file addrandomform.php. Expected mod_offlinequiz, found mod.
(#41) Missing docblock for function definition
(#53) Short array syntax must be used to define arrays
(#79) Missing docblock for function validation
(#95) Short array syntax must be used to define arrays
mod/offlinequiz/backup/moodle2/backup_offlinequiz_activity_task.class.php
(#20) Incorrect @package tag for file backup_offlinequiz_activity_task.class.php. Expected mod_offlinequiz, found mod.
(#34) Missing docblock for class backup_offlinequiz_activity_task
mod/offlinequiz/backup/moodle2/backup_offlinequiz_stepslib.php
(#20) Incorrect @package tag for file backup_offlinequiz_stepslib.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Missing docblock for class backup_offlinequiz_activity_structure_step
(#34) Missing docblock for function define_structure
(#40) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#47) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#51) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#111) Whitespace found at end of line
(#113) Whitespace found at end of line
(#141) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#150) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#173) Short array syntax must be used to define arrays
(#176) Short array syntax must be used to define arrays
(#179) Short array syntax must be used to define arrays
mod/offlinequiz/backup/moodle2/restore_offlinequiz_activity_task.class.php
(#20) Incorrect @package tag for file restore_offlinequiz_activity_task.class.php. Expected mod_offlinequiz, found mod.
(#64) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#183) Short array syntax must be used to define arrays
mod/offlinequiz/backup/moodle2/restore_offlinequiz_stepslib.php
(#20) Incorrect @package tag for file restore_offlinequiz_stepslib.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Missing member variable doc comment
(#40) Missing member variable doc comment
(#42) Missing docblock for function define_structure
(#44) Short array syntax must be used to define arrays
(#96) Missing docblock for function process_group_question_usage
(#100) Missing docblock for function process_group_question_attempt
(#104) Missing docblock for function process_group_question_attempt_step
(#108) Short array syntax must be used to define arrays
(#108) Line exceeds 132 characters; contains 138 characters
(#109) Short array syntax must be used to define arrays
(#109) Line exceeds 132 characters; contains 138 characters
(#113) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#145) Missing docblock for function process_result_question_usage
(#149) Missing docblock for function process_result_question_attempt
(#153) Missing docblock for function process_result_question_attempt_step
(#158) Missing docblock for function process_offlinequiz
(#185) Missing docblock for function process_offlinequiz_group
(#205) Missing docblock for function process_offlinequiz_groupquestion
(#234) Short array syntax must be used to define arrays
(#239) Whitespace found at end of line
(#244) Missing docblock for function process_offlinequiz_scannedpage
(#258) Missing docblock for function process_offlinequiz_choice
(#270) Missing docblock for function process_offlinequiz_corner
(#282) Missing docblock for function process_offlinequiz_scannedppage
(#295) Missing docblock for function process_offlinequiz_pchoice
(#307) Missing docblock for function process_offlinequiz_plist
(#320) Missing docblock for function process_offlinequiz_participant
(#332) Missing docblock for function process_offlinequiz_result
(#353) Missing docblock for function inform_new_usage_id
(#383) Missing docblock for function after_execute
mod/offlinequiz/classes/completion/custom_completion.php
(#66) There should be a comma after the last array item in a multi-line array.
(#102) There should be a comma after the last array item in a multi-line array.
(#113) There should be a comma after the last array item in a multi-line array.
(#127) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/classes/correct/offlinequiz_partlist_table.php
(#21) Incorrect @package tag for file offlinequiz_partlist_table.php. Expected mod_offlinequiz, found mod.
(#34) Missing docblock for class offlinequiz_partlist_table
(#36) Missing docblock for function wrap_html_finish
(#45) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#62) Missing docblock for function print_one_initials_bar
(#63) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
mod/offlinequiz/classes/correct/offlinequiz_selectall_table.php
(#21) Incorrect @package tag for file offlinequiz_selectall_table.php. Expected mod_offlinequiz, found mod.
(#35) Missing docblock for class offlinequiz_selectall_table
(#37) Missing member variable doc comment
(#38) Missing member variable doc comment
(#41) Missing docblock for function __construct
(#47) Missing docblock for function wrap_html_start
(#61) Missing docblock for function wrap_html_finish
mod/offlinequiz/classes/event/attempt_deleted.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#74) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/attempt_reviewed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#80) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/attempt_submitted.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#80) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/attempt_viewed.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#81) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/course_module_instance_list_viewed.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/classes/event/course_module_viewed.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/classes/event/docs_created.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#85) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/docs_deleted.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#85) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/edit_page_viewed.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#80) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/participant_manually_marked.php
(#20) Incorrect @package tag for file participant_manually_marked.php. Expected mod_offlinequiz, found core.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#80) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/question_manually_graded.php
(#20) Incorrect @package tag for file question_manually_graded.php. Expected mod_offlinequiz, found core.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#82) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/report_viewed.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#83) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/results_regraded.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#80) Short array syntax must be used to define arrays
mod/offlinequiz/classes/external/submit_question_version.php
(#54) There should be a comma after the last array item in a multi-line array.
(#72) There should be a comma after the last array item in a multi-line array.
(#130) Commas (,) must be followed by white space.
(#151) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/classes/output/edit_renderer.php
(#20) Incorrect @package tag for file edit_renderer.php. Expected mod_offlinequiz, found mod.
(#34) Import statements must not begin with a leading backslash
(#35) Import statements must not begin with a leading backslash
(#36) Import statements must not begin with a leading backslash
(#37) Import statements must not begin with a leading backslash
(#104) Short array syntax must be used to define arrays
(#125) There should be a comma after the last array item in a multi-line array.
(#141) Missing docblock for function start_add_to_group_form
(#151) Missing docblock for function add_to_group_button
(#153) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#173) Missing docblock for function end_add_to_group_form
(#179) Missing docblock for function start_grading_form
(#188) Missing docblock for function end_grading_form
(#208) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#239) Short array syntax must be used to define arrays
(#260) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#277) Short array syntax must be used to define arrays
(#278) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#284) Short array syntax must be used to define arrays
(#285) Short array syntax must be used to define arrays
(#303) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
(#312) Short array syntax must be used to define arrays
(#317) There should be a comma after the last array item in a multi-line array.
(#336) Short array syntax must be used to define arrays
(#348) Short array syntax must be used to define arrays
(#355) Short array syntax must be used to define arrays
(#357) Short array syntax must be used to define arrays
(#361) Missing docblock for function select_all_links
(#365) Short array syntax must be used to define arrays
(#371) Short array syntax must be used to define arrays
(#373) There should be a comma after the last array item in a multi-line array.
(#375) Short array syntax must be used to define arrays
(#377) There should be a comma after the last array item in a multi-line array.
(#383) Short array syntax must be used to define arrays
(#389) Missing docblock for function remove_selected_button
(#390) Short array syntax must be used to define arrays
(#392) There should be a comma after the last array item in a multi-line array.
(#395) Short array syntax must be used to define arrays
(#401) There should be a comma after the last array item in a multi-line array.
(#423) Short array syntax must be used to define arrays
(#431) Short array syntax must be used to define arrays
(#453) Short array syntax must be used to define arrays
(#519) Short array syntax must be used to define arrays
(#550) Short array syntax must be used to define arrays
(#573) Short array syntax must be used to define arrays
(#602) Short array syntax must be used to define arrays
(#608) Short array syntax must be used to define arrays
(#631) Short array syntax must be used to define arrays
(#669) Short array syntax must be used to define arrays
(#674) Short array syntax must be used to define arrays
(#676) Short array syntax must be used to define arrays
(#677) Short array syntax must be used to define arrays
(#685) Short array syntax must be used to define arrays
(#686) Short array syntax must be used to define arrays
(#690) Short array syntax must be used to define arrays
(#696) Short array syntax must be used to define arrays
(#702) Short array syntax must be used to define arrays
(#704) Short array syntax must be used to define arrays
(#707) There should be a comma after the last array item in a multi-line array.
(#710) Short array syntax must be used to define arrays
(#711) Short array syntax must be used to define arrays
(#713) Short array syntax must be used to define arrays
(#733) Short array syntax must be used to define arrays
(#734) Short array syntax must be used to define arrays
(#736) Short array syntax must be used to define arrays
(#738) Short array syntax must be used to define arrays
(#740) Short array syntax must be used to define arrays
(#743) Short array syntax must be used to define arrays
(#779) There should be a comma after the last array item in a multi-line array.
(#825) There should be a comma after the last array item in a multi-line array.
(#844) Missing docblock for function question_checkbox
(#858) Short array syntax must be used to define arrays
(#859) Short array syntax must be used to define arrays
(#873) Short array syntax must be used to define arrays
(#901) Short array syntax must be used to define arrays
(#912) Short array syntax must be used to define arrays
(#917) Short array syntax must be used to define arrays
(#932) Short array syntax must be used to define arrays
(#954) Short array syntax must be used to define arrays
(#973) Short array syntax must be used to define arrays
(#982) Short array syntax must be used to define arrays
(#985) Short array syntax must be used to define arrays
(#991) Short array syntax must be used to define arrays
(#993) Short array syntax must be used to define arrays
(#1009) Short array syntax must be used to define arrays
(#1020) Short array syntax must be used to define arrays
(#1023) Short array syntax must be used to define arrays
(#1027) Short array syntax must be used to define arrays
(#1032) Short array syntax must be used to define arrays
(#1034) Short array syntax must be used to define arrays
(#1051) Short array syntax must be used to define arrays
(#1058) Short array syntax must be used to define arrays
(#1063) Short array syntax must be used to define arrays
(#1064) Short array syntax must be used to define arrays
(#1090) Short array syntax must be used to define arrays
(#1101) Short array syntax must be used to define arrays
(#1121) Short array syntax must be used to define arrays
(#1123) There should be a comma after the last array item in a multi-line array.
(#1125) Short array syntax must be used to define arrays
(#1152) Short array syntax must be used to define arrays
(#1159) Short array syntax must be used to define arrays
(#1159) Short array syntax must be used to define arrays
(#1172) Short array syntax must be used to define arrays
(#1172) Short array syntax must be used to define arrays
(#1183) Short array syntax must be used to define arrays
(#1183) Short array syntax must be used to define arrays
(#1192) Short array syntax must be used to define arrays
(#1192) Short array syntax must be used to define arrays
(#1201) Short array syntax must be used to define arrays
(#1220) Short array syntax must be used to define arrays
(#1228) There should be a comma after the last array item in a multi-line array.
(#1258) Short array syntax must be used to define arrays
mod/offlinequiz/classes/output/question_chooser.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/classes/plugininfo/offlinequiz.php
(#20) Incorrect @package tag for file offlinequiz.php. Expected mod_offlinequiz, found mod.
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Missing docblock for class offlinequiz
(#36) Missing docblock for function is_uninstall_allowed
(#46) Invalid docblock tag "@private".
(#53) Short array syntax must be used to define arrays
mod/offlinequiz/classes/privacy/provider.php
(#21) Import statements must not begin with a leading backslash
(#23) Import statements must not begin with a leading backslash
(#24) Import statements must not begin with a leading backslash
(#30) Missing @copyright tag
(#30) Missing @license tag
(#30) Missing docblock for class provider
(#38) Missing docblock for function get_metadata
(#38) There must not be a space before the colon in a return type declaration
(#69) There should be a comma after the last array item in a multi-line array.
(#80) There should be a comma after the last array item in a multi-line array.
(#94) There should be a comma after the last array item in a multi-line array.
(#109) There should be a comma after the last array item in a multi-line array.
(#122) There should be a comma after the last array item in a multi-line array.
(#133) There should be a comma after the last array item in a multi-line array.
(#143) There should be a comma after the last array item in a multi-line array.
(#153) There should be a comma after the last array item in a multi-line array.
(#164) 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.
(#188) There should be a comma after the last array item in a multi-line array.
(#205) There should be a comma after the last array item in a multi-line array.
(#222) There should be a comma after the last array item in a multi-line array.
(#235) There should be a comma after the last array item in a multi-line array.
(#249) There must not be a space before the colon in a return type declaration
(#292) There should be a comma after the last array item in a multi-line array.
(#355) There should be a comma after the last array item in a multi-line array.
(#364) Missing docblock for function get_users_in_context
(#423) Missing docblock for function export_offlinequiz
(#427) Missing docblock for function export_student_data
(#461) Missing docblock for function get_scanned_p_page_objects
(#477) Missing docblock for function get_results
(#493) Missing docblock for function get_group_name_by_result
(#504) Missing docblock for function get_scanned_pages_objects
(#513) Missing docblock for function export_file
(#523) Missing docblock for function get_scanned_page_object
(#532) Missing docblock for function get_page_corners
(#537) Missing docblock for function get_group
(#550) Missing docblock for function get_group_letter
(#596) Expected 1 space before "="; 0 found
(#601) Commas (,) must be followed by white space.
mod/offlinequiz/classes/question/bank/add_action_column.php
(#33) Missing docblock for function init
(#38) Missing docblock for function get_extra_classes
(#42) Missing docblock for function get_title
(#46) Missing docblock for function get_name
(#50) Missing docblock for function display_content
(#64) Missing docblock for function get_default_width
mod/offlinequiz/classes/question/bank/checkbox_column.php
(#30) Missing docblock for function display_content
(#37) File must end with a newline character
mod/offlinequiz/classes/question/bank/custom_view.php
(#91) Line exceeds 132 characters; contains 139 characters
(#92) Expected "if (...) {\n"; found "if(...) {\n"
(#99) Missing docblock for function get_question_bank_plugins
(#128) Missing docblock for function default_sort
(#149) Missing docblock for function add_to_offlinequiz_url
(#203) Commas (,) must be followed by white space.
(#205) Short array syntax must be used to define arrays
(#291) Inline comments must end in full-stops, exclamation marks, or question marks
(#297) Missing docblock for function add_standard_search_conditions
(#324) Missing docblock for function offlinequiz_contains
(#326) Commas (,) must be followed by white space.
mod/offlinequiz/classes/question/bank/filter/custom_category_condition.php
(#34) Missing docblock for function get_initial_values
mod/offlinequiz/classes/question/bank/filter/custom_category_condition_helper.php
(#34) Missing docblock for function question_category_options
(#101) Missing docblock for function get_categories_for_contexts
mod/offlinequiz/classes/question/bank/offlinequiz_managecategories_feature.php
(#34) Missing docblock for function get_question_filters
(#34) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $qbank.
mod/offlinequiz/classes/question/bank/preview_action_column.php
(#29) Whitespace found at end of line
(#30) Missing docblock for function get_extra_classes
(#33) Whitespace found at end of line
(#34) Missing docblock for function get_title
(#37) Whitespace found at end of line
(#38) Missing docblock for function get_name
(#41) Whitespace found at end of line
(#42) Missing docblock for function display_content
(#51) Missing docblock for function get_default_width
mod/offlinequiz/classes/question/bank/qbank_helper.php
(#21) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/classes/question/bank/question_name_column.php
(#35) Missing docblock for function get_name
(#39) Missing docblock for function get_title
(#43) Missing docblock for function label_for
(#54) Missing docblock for function display_content
(#65) Missing docblock for function get_required_fields
(#69) Missing docblock for function is_sortable
mod/offlinequiz/classes/question/bank/question_name_text_column.php
(#30) Missing docblock for function get_name
(#34) Missing docblock for function display_content
(#48) Missing docblock for function get_required_fields
(#56) Missing docblock for function load_additional_data
(#61) Missing docblock for function get_default_width
mod/offlinequiz/classes/repaginate.php
(#20) Incorrect @package tag for file repaginate.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#66) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#197) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
mod/offlinequiz/classes/report_editdates_integration.php
(#22) Missing @copyright tag
(#22) Missing @license tag
(#22) Missing docblock for class mod_offlinequiz_report_editdates_integration
(#25) Missing docblock for function __construct
(#30) Missing docblock for function get_settings
(#32) Short array syntax must be used to define arrays
(#40) There should be a comma after the last array item in a multi-line array.
(#44) Missing docblock for function validate_dates
(#45) Short array syntax must be used to define arrays
(#53) Missing docblock for function save_dates
mod/offlinequiz/classes/search/activity.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/classes/structure.php
(#20) Incorrect @package tag for file structure.php. Expected mod_offlinequiz, found mod.
(#53) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#72) Missing member variable doc comment
(#72) Short array syntax must be used to define arrays
(#201) Short array syntax must be used to define arrays
(#301) Short array syntax must be used to define arrays
(#325) Short array syntax must be used to define arrays
(#329) Short array syntax must be used to define arrays
(#341) Short array syntax must be used to define arrays
(#366) Short array syntax must be used to define arrays
(#399) Short array syntax must be used to define arrays
(#421) Short array syntax must be used to define arrays
(#425) Short array syntax must be used to define arrays
(#426) Short array syntax must be used to define arrays
(#427) Short array syntax must be used to define arrays
(#452) Short array syntax must be used to define arrays
(#552) Short array syntax must be used to define arrays
(#570) Short array syntax must be used to define arrays
(#579) Short array syntax must be used to define arrays
(#593) Short array syntax must be used to define arrays
(#603) Short array syntax must be used to define arrays
(#615) Short array syntax must be used to define arrays
(#619) Short array syntax must be used to define arrays
(#624) Short array syntax must be used to define arrays
(#655) Short array syntax must be used to define arrays
(#671) Short array syntax must be used to define arrays
(#677) Short array syntax must be used to define arrays
(#691) Short array syntax must be used to define arrays
(#694) Short array syntax must be used to define arrays
(#699) Short array syntax must be used to define arrays
(#742) Short array syntax must be used to define arrays
(#743) Short array syntax must be used to define arrays
(#787) Short array syntax must be used to define arrays
(#796) Missing docblock for function add_warning
(#815) Short array syntax must be used to define arrays
mod/offlinequiz/classes/task/hotspot_deletion_task.php
(#20) Incorrect @package tag for file hotspot_deletion_task.php. Expected mod_offlinequiz, found mod.
(#33) Missing docblock for class hotspot_deletion_task
(#34) Missing docblock for function get_name
(#39) Missing docblock for function execute
(#48) Short array syntax must be used to define arrays
mod/offlinequiz/classes/task/page_evaluation_task.php
(#20) Incorrect @package tag for file page_evaluation_task.php. Expected mod_offlinequiz, found mod.
(#33) Missing docblock for class page_evaluation_task
(#34) Missing docblock for function get_name
(#39) Missing docblock for function execute
mod/offlinequiz/classes/task/temporary_file_deletion_task.php
(#20) Incorrect @package tag for file temporary_file_deletion_task.php. Expected mod_offlinequiz, found mod.
(#33) Missing docblock for class temporary_file_deletion_task
(#34) Missing docblock for function get_name
(#39) Missing docblock for function execute
(#48) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
mod/offlinequiz/comment.php
(#21) Incorrect @package tag for file comment.php. Expected mod_offlinequiz, found mod.
(#35) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#45) Line exceeds 132 characters; contains 143 characters
(#45) Line exceeds 132 characters; contains 143 characters
(#45) Line exceeds 132 characters; contains 143 characters
(#45) Line exceeds 132 characters; contains 143 characters
(#45) Line exceeds 132 characters; contains 143 characters
(#45) Line exceeds 132 characters; contains 143 characters
(#45) Line exceeds 132 characters; contains 143 characters
(#90) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#97) There should be a comma after the last array item in a multi-line array.
(#98) There should be a comma after the last array item in a multi-line array.
(#127) Missing docblock for file comment.php
(#128) Missing docblock for file comment.php
(#129) Missing docblock for file comment.php
(#130) Missing docblock for file comment.php
(#142) Missing docblock for file comment.php
(#149) Missing docblock for file comment.php
mod/offlinequiz/correct.php
(#20) Incorrect @package tag for file correct.php. Expected mod_offlinequiz, found mod.
(#43) Short array syntax must be used to define arrays
(#44) Line exceeds 132 characters; contains 134 characters
(#47) Short array syntax must be used to define arrays
(#48) Line exceeds 132 characters; contains 147 characters
(#51) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#61) Line exceeds 132 characters; contains 142 characters
(#72) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#217) Short array syntax must be used to define arrays
(#219) Short array syntax must be used to define arrays
(#229) Short array syntax must be used to define arrays
(#231) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#313) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#331) Short array syntax must be used to define arrays
(#337) Short array syntax must be used to define arrays
(#343) Short array syntax must be used to define arrays
(#346) Short array syntax must be used to define arrays
(#350) Short array syntax must be used to define arrays
(#355) Short array syntax must be used to define arrays
(#429) Short array syntax must be used to define arrays
(#535) Short array syntax must be used to define arrays
(#545) Short array syntax must be used to define arrays
(#547) Short array syntax must be used to define arrays
(#564) Short array syntax must be used to define arrays
(#573) Short array syntax must be used to define arrays
(#574) Short array syntax must be used to define arrays
(#608) Short array syntax must be used to define arrays
(#620) Short array syntax must be used to define arrays
(#623) Short array syntax must be used to define arrays
(#627) Short array syntax must be used to define arrays
(#635) Short array syntax must be used to define arrays
(#637) Line exceeds 132 characters; contains 134 characters
(#646) Short array syntax must be used to define arrays
(#671) Short array syntax must be used to define arrays
(#684) Short array syntax must be used to define arrays
(#699) Short array syntax must be used to define arrays
(#706) Short array syntax must be used to define arrays
(#716) Short array syntax must be used to define arrays
(#734) Short array syntax must be used to define arrays
(#754) Short array syntax must be used to define arrays
(#763) Short array syntax must be used to define arrays
(#797) Short array syntax must be used to define arrays
(#809) Short array syntax must be used to define arrays
(#815) Logical operator "and" is prohibited; use "&&" instead
(#826) Logical operator "and" is prohibited; use "&&" instead
(#977) Logical operator "and" is prohibited; use "&&" instead
(#1139) Logical operator "and" is prohibited; use "&&" instead
mod/offlinequiz/correct_errors.php
(#20) Incorrect @package tag for file correct_errors.php. Expected mod_offlinequiz, found mod.
(#28) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
mod/offlinequiz/createquiz.php
(#21) Incorrect @package tag for file createquiz.php. Expected mod_offlinequiz, found mod.
(#71) This comment is 50% valid code; is this commented out code?
(#81) Short array syntax must be used to define arrays
(#87) Commas (,) must be followed by white space.
(#87) Line exceeds maximum limit of 180 characters; contains 181 characters
(#87) Line exceeds maximum limit of 180 characters; contains 181 characters
(#87) Line exceeds maximum limit of 180 characters; contains 181 characters
(#87) Line exceeds maximum limit of 180 characters; contains 181 characters
(#87) Line exceeds maximum limit of 180 characters; contains 181 characters
(#106) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#145) Commas (,) must be followed by white space.
(#145) Expected 1 space before "=>"; 0 found
(#145) Line exceeds 132 characters; contains 135 characters
(#145) Line exceeds 132 characters; contains 135 characters
(#145) Line exceeds 132 characters; contains 135 characters
(#145) Line exceeds 132 characters; contains 135 characters
(#145) Line exceeds 132 characters; contains 135 characters
(#158) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#163) There should be a comma after the last array item in a multi-line array.
(#164) There should be a comma after the last array item in a multi-line array.
(#190) Short array syntax must be used to define arrays
(#196) Logical operator "and" is prohibited; use "&&" instead
(#237) Short array syntax must be used to define arrays
(#267) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#327) Short array syntax must be used to define arrays
(#385) Missing docblock for file createquiz.php
(#390) Missing docblock for file createquiz.php
(#392) Missing docblock for file createquiz.php
(#397) Missing docblock for file createquiz.php
(#405) Short array syntax must be used to define arrays
(#416) Short array syntax must be used to define arrays
(#436) Short array syntax must be used to define arrays
(#496) Short array syntax must be used to define arrays
(#586) Short array syntax must be used to define arrays
(#588) Short array syntax must be used to define arrays
(#591) There should be a comma after the last array item in a multi-line array.
(#592) Whitespace found at end of line
(#593) There should be a comma after the last array item in a multi-line array.
(#601) Short array syntax must be used to define arrays
mod/offlinequiz/cron.php
(#20) Incorrect @package tag for file cron.php. Expected mod_offlinequiz, found mod.
(#38) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#46) Missing docblock for function offlinequiz_evaluation_cron
(#57) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#217) Short array syntax must be used to define arrays
(#219) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#235) Short array syntax must be used to define arrays
(#236) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
(#256) Short array syntax must be used to define arrays
(#264) Short array syntax must be used to define arrays
(#302) Short array syntax must be used to define arrays
(#302) Short array syntax must be used to define arrays
mod/offlinequiz/db/access.php
(#20) Incorrect @package tag for file access.php. Expected mod_offlinequiz, found mod.
(#31) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#40) There should be a comma after the last array item in a multi-line array.
(#41) There should be a comma after the last array item in a multi-line array.
(#46) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#55) There should be a comma after the last array item in a multi-line array.
(#56) There should be a comma after the last array item in a multi-line array.
(#60) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#65) There should be a comma after the last array item in a multi-line array.
(#66) There should be a comma after the last array item in a multi-line array.
(#70) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#76) There should be a comma after the last array item in a multi-line array.
(#77) There should be a comma after the last array item in a multi-line array.
(#81) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#88) There should be a comma after the last array item in a multi-line array.
(#89) There should be a comma after the last array item in a multi-line array.
(#93) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#100) There should be a comma after the last array item in a multi-line array.
(#101) There should be a comma after the last array item in a multi-line array.
(#105) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#112) There should be a comma after the last array item in a multi-line array.
(#113) There should be a comma after the last array item in a multi-line array.
(#117) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#123) There should be a comma after the last array item in a multi-line array.
(#124) There should be a comma after the last array item in a multi-line array.
(#127) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#132) There should be a comma after the last array item in a multi-line array.
(#133) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/db/install.php
(#20) Incorrect @package tag for file install.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/db/renamedclasses.php
(#20) Incorrect @package tag for file renamedclasses.php. Expected mod_offlinequiz, found mod.
(#31) Short array syntax must be used to define arrays
mod/offlinequiz/db/services.php
(#29) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/db/tasks.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file tasks.php. Expected mod_offlinequiz, found mod.
(#29) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#46) There should be a comma after the last array item in a multi-line array.
(#48) Short array syntax must be used to define arrays
(#55) There should be a comma after the last array item in a multi-line array.
(#56) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/db/upgrade.php
(#20) Incorrect @package tag for file upgrade.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Missing docblock for function xmldb_offlinequiz_upgrade
(#91) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#253) Inline comments must end in full-stops, exclamation marks, or question marks
(#278) Short array syntax must be used to define arrays
(#299) Short array syntax must be used to define arrays
(#306) Short array syntax must be used to define arrays
(#312) Short array syntax must be used to define arrays
(#341) Short array syntax must be used to define arrays
(#344) Short array syntax must be used to define arrays
(#371) Short array syntax must be used to define arrays
(#374) Short array syntax must be used to define arrays
(#405) Short array syntax must be used to define arrays
(#408) Short array syntax must be used to define arrays
(#432) Short array syntax must be used to define arrays
(#435) Short array syntax must be used to define arrays
(#459) Short array syntax must be used to define arrays
(#491) Short array syntax must be used to define arrays
(#517) Short array syntax must be used to define arrays
(#540) Short array syntax must be used to define arrays
(#564) Short array syntax must be used to define arrays
(#567) Short array syntax must be used to define arrays
(#580) Inline comments must end in full-stops, exclamation marks, or question marks
(#676) Short array syntax must be used to define arrays
(#694) Short array syntax must be used to define arrays
(#703) Short array syntax must be used to define arrays
(#709) Short array syntax must be used to define arrays
(#711) Short array syntax must be used to define arrays
(#713) Short array syntax must be used to define arrays
(#722) Inline comments must end in full-stops, exclamation marks, or question marks
(#728) Short array syntax must be used to define arrays
(#731) Short array syntax must be used to define arrays
(#755) Inline comments must end in full-stops, exclamation marks, or question marks
(#778) Short array syntax must be used to define arrays
(#788) Short array syntax must be used to define arrays
(#789) Short array syntax must be used to define arrays
(#798) Short array syntax must be used to define arrays
(#813) Short array syntax must be used to define arrays
(#1050) Short array syntax must be used to define arrays
(#1053) Short array syntax must be used to define arrays
(#1083) Short array syntax must be used to define arrays
(#1157) Short array syntax must be used to define arrays
(#1160) Short array syntax must be used to define arrays
(#1162) Short array syntax must be used to define arrays
(#1171) Short array syntax must be used to define arrays
(#1179) Short array syntax must be used to define arrays
(#1368) Short array syntax must be used to define arrays
(#1374) Short array syntax must be used to define arrays
(#1421) Short array syntax must be used to define arrays
(#1422) Short array syntax must be used to define arrays
(#1623) Line indented incorrectly; expected 4 spaces, found 5
(#1631) Closing brace indented incorrectly; expected 5 spaces, found 4
(#1665) Commas (,) must be followed by white space.
(#1689) Commas (,) must be followed by white space.
(#1701) Whitespace found at end of line
(#1715) Whitespace found at end of line
mod/offlinequiz/db/upgradelib.php
(#20) Incorrect @package tag for file upgradelib.php. Expected mod_offlinequiz, found mod.
(#46) Missing docblock for class offlinequiz_ilog_upgrader
(#55) Expected "bool" but found "boolean" for @var tag in member variable comment
(#58) Missing member variable doc comment
(#80) Missing docblock for function prevent_timeout
(#92) Missing docblock for function convert_all_offlinequiz_attempts
(#97) Short array syntax must be used to define arrays
(#127) Missing docblock for function update_all_files
(#134) Short array syntax must be used to define arrays
(#139) There should be a comma after the last array item in a multi-line array.
(#156) Short array syntax must be used to define arrays
(#161) There should be a comma after the last array item in a multi-line array.
(#173) Missing docblock for function update_all_group_template_usages
(#176) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#193) Missing docblock for function update_all_results_and_logs
(#201) Short array syntax must be used to define arrays
(#203) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#241) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
(#256) Short array syntax must be used to define arrays
(#328) Short array syntax must be used to define arrays
(#340) Short array syntax must be used to define arrays
(#344) Short array syntax must be used to define arrays
(#379) Short array syntax must be used to define arrays
(#463) Short array syntax must be used to define arrays
(#481) Missing docblock for function get_user_name
(#486) Missing docblock for function get_group
(#492) Missing docblock for function get_item_data
(#520) Expected "bool" but found "boolean" for @var tag in member variable comment
(#543) Missing docblock for function get_quiz_ids
(#557) Short array syntax must be used to define arrays
(#572) Missing docblock for function convert_all_quiz_attempts
(#588) Short array syntax must be used to define arrays
(#600) Missing docblock for function get_attempts_extra_where
(#604) Missing docblock for function update_all_attempts_at_quiz
(#610) Short array syntax must be used to define arrays
(#650) Missing docblock for function convert_quiz_attempt
(#654) Short array syntax must be used to define arrays
(#668) Short array syntax must be used to define arrays
(#694) Missing docblock for function save_usage
(#696) Short array syntax must be used to define arrays
(#752) Missing docblock for function set_quiz_attempt_layout
(#754) Short array syntax must be used to define arrays
(#757) Missing docblock for function delete_quiz_attempt
(#759) Short array syntax must be used to define arrays
(#760) Short array syntax must be used to define arrays
(#764) Missing docblock for function get_converter_class_name
(#768) Short array syntax must be used to define arrays
(#780) Missing docblock for function supply_missing_question_attempt
(#795) Missing docblock for function prevent_timeout
(#807) Missing docblock for function convert_question_attempt
(#819) Missing docblock for function decode_random_attempt
(#847) Short array syntax must be used to define arrays
(#850) Missing docblock for function prepare_to_restore
(#866) Missing docblock for function load_question
(#876) Short array syntax must be used to define arrays
(#916) Short array syntax must be used to define arrays
(#920) Short array syntax must be used to define arrays
(#922) Short array syntax must be used to define arrays
(#926) Short array syntax must be used to define arrays
(#967) Short array syntax must be used to define arrays
(#995) Missing docblock for function offlinequiz_update_refresh_all_pagecounts
(#1011) Short array syntax must be used to define arrays
(#1042) Missing docblock for function offlinequiz_get_number_of_columns
(#1044) Short array syntax must be used to define arrays
(#1051) Missing docblock for function offlinequiz_get_number_of_pages
(#1055) Missing docblock for function offlinequiz_fix_question_versions
(#1057) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1057) Inline comments must end in full-stops, exclamation marks, or question marks
(#1061) Line exceeds 132 characters; contains 134 characters
(#1062) Line exceeds 132 characters; contains 140 characters
(#1078) Line exceeds 132 characters; contains 160 characters
(#1111) Line exceeds 132 characters; contains 171 characters
(#1112) Line indented incorrectly; expected 4 spaces, found 3
(#1112) Closing brace indented incorrectly; expected 4 spaces, found 3
(#1113) Line indented incorrectly; expected at least 4 spaces, found 3
(#1117) Missing docblock for function offlinequiz_fix_question_references
(#1119) Line exceeds 132 characters; contains 172 characters
(#1127) Line exceeds 132 characters; contains 147 characters
mod/offlinequiz/documentlib.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#20) Incorrect @package tag for file documentlib.php. Expected mod_offlinequiz, found mod.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Missing docblock for function offlinequiz_get_question_infostring
(#56) Missing docblock for function offlinequiz_get_questioninfo
(#82) Missing docblock for function offlinequiz_get_amount_correct_answers
mod/offlinequiz/docxlib.php
(#20) Incorrect @package tag for file docxlib.php. Expected mod_offlinequiz, found mod.
(#102) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#168) Short array syntax must be used to define arrays
(#174) Missing docblock for function offlinequiz_convert_super_text_docx
(#175) Short array syntax must be used to define arrays
(#176) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#205) Missing docblock for function offlinequiz_convert_sub_text_docx
(#206) Short array syntax must be used to define arrays
(#207) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#243) Short array syntax must be used to define arrays
(#247) Short array syntax must be used to define arrays
(#265) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#281) Short array syntax must be used to define arrays
(#285) Short array syntax must be used to define arrays
(#303) Short array syntax must be used to define arrays
(#320) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#333) Short array syntax must be used to define arrays
(#349) Short array syntax must be used to define arrays
(#390) Short array syntax must be used to define arrays
(#402) Missing docblock for function offlinequiz_print_answers_docx
(#456) Short array syntax must be used to define arrays
(#460) Short array syntax must be used to define arrays
(#462) Short array syntax must be used to define arrays
(#464) Short array syntax must be used to define arrays
(#465) Short array syntax must be used to define arrays
(#467) Short array syntax must be used to define arrays
(#469) Short array syntax must be used to define arrays
(#470) Short array syntax must be used to define arrays
(#472) Short array syntax must be used to define arrays
(#474) Short array syntax must be used to define arrays
(#477) Short array syntax must be used to define arrays
(#478) Short array syntax must be used to define arrays
(#480) Short array syntax must be used to define arrays
(#482) Short array syntax must be used to define arrays
(#483) Short array syntax must be used to define arrays
(#484) Short array syntax must be used to define arrays
(#485) Short array syntax must be used to define arrays
(#486) There should be a comma after the last array item in a multi-line array.
(#487) There should be a comma after the last array item in a multi-line array.
(#491) Short array syntax must be used to define arrays
(#492) Short array syntax must be used to define arrays
(#500) Short array syntax must be used to define arrays
(#502) There should be a comma after the last array item in a multi-line array.
(#510) Short array syntax must be used to define arrays
(#512) There should be a comma after the last array item in a multi-line array.
(#534) Short array syntax must be used to define arrays
(#535) Short array syntax must be used to define arrays
(#539) Short array syntax must be used to define arrays
(#540) Short array syntax must be used to define arrays
(#544) Line exceeds 132 characters; contains 141 characters
(#586) Short array syntax must be used to define arrays
(#609) Short array syntax must be used to define arrays
(#611) Short array syntax must be used to define arrays
(#614) There should be a comma after the last array item in a multi-line array.
(#666) Short array syntax must be used to define arrays
(#757) Short array syntax must be used to define arrays
(#782) Line exceeds 132 characters; contains 142 characters
(#796) Short array syntax must be used to define arrays
(#797) Short array syntax must be used to define arrays
mod/offlinequiz/edit.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#37) Incorrect @package tag for file edit.php. Expected mod_offlinequiz, found mod.
(#65) Short array syntax must be used to define arrays
(#112) Line exceeds 132 characters; contains 134 characters
(#134) Line exceeds 132 characters; contains 158 characters
(#147) Short array syntax must be used to define arrays
(#150) Short array syntax must be used to define arrays
(#152) There should be a comma after the last array item in a multi-line array.
(#160) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#235) Short array syntax must be used to define arrays
(#317) Short array syntax must be used to define arrays
(#358) Short array syntax must be used to define arrays
(#359) Short array syntax must be used to define arrays
(#364) Short array syntax must be used to define arrays
(#373) Short array syntax must be used to define arrays
(#376) Short array syntax must be used to define arrays
mod/offlinequiz/edit_rest.php
(#51) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#120) Line exceeds 132 characters; contains 141 characters
(#124) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
mod/offlinequiz/evallib.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#20) Incorrect @package tag for file evallib.php. Expected mod_offlinequiz, found mod.
(#73) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#192) Short array syntax must be used to define arrays
(#205) Short array syntax must be used to define arrays
(#218) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#262) Short array syntax must be used to define arrays
(#265) This comment is 50% valid code; is this commented out code?
(#308) Short array syntax must be used to define arrays
(#314) Short array syntax must be used to define arrays
(#339) Short array syntax must be used to define arrays
(#340) Short array syntax must be used to define arrays
(#341) Short array syntax must be used to define arrays
(#361) Short array syntax must be used to define arrays
(#374) Short array syntax must be used to define arrays
(#376) Short array syntax must be used to define arrays
(#407) This comment is 43% valid code; is this commented out code?
(#409) Logical operator "and" is prohibited; use "&&" instead
(#444) Short array syntax must be used to define arrays
(#457) Short array syntax must be used to define arrays
(#521) Logical operator "and" is prohibited; use "&&" instead
(#522) Short array syntax must be used to define arrays
(#523) Short array syntax must be used to define arrays
(#530) Short array syntax must be used to define arrays
(#531) Short array syntax must be used to define arrays
(#532) Short array syntax must be used to define arrays
(#535) Short array syntax must be used to define arrays
(#537) Short array syntax must be used to define arrays
(#539) Short array syntax must be used to define arrays
(#540) Short array syntax must be used to define arrays
(#544) Short array syntax must be used to define arrays
(#551) Short array syntax must be used to define arrays
(#553) Short array syntax must be used to define arrays
(#556) Short array syntax must be used to define arrays
(#563) Missing docblock for function offlinequiz_reprocess_scannedpage
(#593) Logical operator "and" is prohibited; use "&&" instead
(#594) Short array syntax must be used to define arrays
(#595) Short array syntax must be used to define arrays
(#600) Short array syntax must be used to define arrays
(#602) Short array syntax must be used to define arrays
(#604) Short array syntax must be used to define arrays
(#612) Short array syntax must be used to define arrays
(#614) Short array syntax must be used to define arrays
(#616) Short array syntax must be used to define arrays
(#641) Short array syntax must be used to define arrays
(#663) Short array syntax must be used to define arrays
(#668) Short array syntax must be used to define arrays
(#677) Short array syntax must be used to define arrays
(#682) Short array syntax must be used to define arrays
(#683) Short array syntax must be used to define arrays
(#702) Short array syntax must be used to define arrays
(#704) Short array syntax must be used to define arrays
(#706) Short array syntax must be used to define arrays
(#709) Short array syntax must be used to define arrays
(#720) Short array syntax must be used to define arrays
(#726) Short array syntax must be used to define arrays
(#727) Short array syntax must be used to define arrays
(#781) Short array syntax must be used to define arrays
(#822) Short array syntax must be used to define arrays
(#829) Inline comments must start with a capital letter, digit or 3-dots sequence
(#829) Inline comments must end in full-stops, exclamation marks, or question marks
(#851) Short array syntax must be used to define arrays
(#880) Short array syntax must be used to define arrays
(#887) Inline comments must start with a capital letter, digit or 3-dots sequence
(#887) Inline comments must end in full-stops, exclamation marks, or question marks
(#905) Short array syntax must be used to define arrays
(#960) Short array syntax must be used to define arrays
(#963) Short array syntax must be used to define arrays
(#978) Inline comments must start with a capital letter, digit or 3-dots sequence
(#978) This comment is 64% valid code; is this commented out code?
(#988) Short array syntax must be used to define arrays
(#1017) Short array syntax must be used to define arrays
(#1021) Short array syntax must be used to define arrays
(#1026) Short array syntax must be used to define arrays
(#1037) Short array syntax must be used to define arrays
(#1041) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1041) Inline comments must end in full-stops, exclamation marks, or question marks
(#1045) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1045) Inline comments must end in full-stops, exclamation marks, or question marks
(#1055) Line exceeds 132 characters; contains 135 characters
(#1055) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1055) This comment is 45% valid code; is this commented out code?
mod/offlinequiz/html2text.php
(#20) Incorrect @package tag for file html2text.php. Expected mod_offlinequiz, found mod.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Missing docblock for class offlinequiz_html_translator
(#31) Missing member variable doc comment
(#31) Short array syntax must be used to define arrays
(#33) Missing docblock for function __construct
(#34) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#222) Logical operator "and" is prohibited; use "&&" instead
mod/offlinequiz/image.php
(#20) Incorrect @package tag for file image.php. Expected mod_offlinequiz, found mod.
(#37) Short array syntax must be used to define arrays
(#38) Line exceeds 132 characters; contains 142 characters
(#40) Short array syntax must be used to define arrays
(#41) Line exceeds 132 characters; contains 140 characters
(#43) Short array syntax must be used to define arrays
(#44) Line exceeds 132 characters; contains 147 characters
(#46) Short array syntax must be used to define arrays
(#47) Line exceeds 132 characters; contains 142 characters
(#50) Line exceeds 132 characters; contains 138 characters
(#52) Short array syntax must be used to define arrays
(#54) Line exceeds 132 characters; contains 142 characters
(#60) Logical operator "and" is prohibited; use "&&" instead
(#61) Line exceeds 132 characters; contains 142 characters
(#64) Logical operator "and" is prohibited; use "&&" instead
(#65) Line exceeds 132 characters; contains 142 characters
(#70) Logical operator "and" is prohibited; use "&&" instead
(#71) Line exceeds 132 characters; contains 142 characters
(#74) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#194) Logical operator "and" is prohibited; use "&&" instead
(#201) Logical operator "and" is prohibited; use "&&" instead
(#208) Logical operator "and" is prohibited; use "&&" instead
mod/offlinequiz/index.php
(#20) Incorrect @package tag for file index.php. Expected mod_offlinequiz, found mod.
(#33) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#46) There should be a comma after the last array item in a multi-line array.
(#99) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
mod/offlinequiz/lang/en/offlinequiz.php
(#20) Incorrect @package tag for file offlinequiz.php. Expected mod_offlinequiz, found mod.
(#33) The string key "addnewquestion" is not in the correct order, it should be before "pluginname"
(#34) The string key "add" is not in the correct order, it should be before "addnewquestion"
(#36) The string key "addarandomselectedquestion" is not in the correct order, it should be before "addlist"
(#50) The string key "addarandomquestion" is not in the correct order, it should be before "addrandomquestiontopage"
(#62) The string key "answerform" is not in the correct order, it should be before "answerformforgroup"
(#73) The string key "attendancesevaluationheadline" is not in the correct order, it should be before "attendancespreparationheadline"
(#74) The string key "attendanceoverview" is not in the correct order, it should be before "attendancesevaluationheadline"
(#81) The string key "backtopreview" is not in the correct order, it should be before "blackwhitethreshold"
(#111) The string key "configpapergray" is not in the correct order, it should be before "configuseridentification"
(#112) The string key "configshufflewithin" is duplicated
(#115) The string key "copy" is not in the correct order, it should be before "copyright"
(#132) The string key "correcterror" is not in the correct order, it should be before "correctionheader_help"
(#143) The string key "createlistfirst" is not in the correct order, it should be before "createofflinequiz"
(#148) The string key "createpdf" is not in the correct order, it should be before "createpdfforms"
(#159) The string key "configdecimalplaces" is not in the correct order, it should be before "datanotsaved"
(#166) The string key "defaultpdffont" is not in the correct order, it should be before "defaultpdffontsize_help"
(#170) The string key "deletepagesafterselected" is not in the correct order, it should be before "deleteresultcheck"
(#172) The string key "deletepagecheck" is not in the correct order, it should be before "deletepartcheck"
(#176) The string key "deleteselectedpart" is not in the correct order, it should be before "deleteselectedresults"
(#182) The string key "difficultytitle" is not in the correct order, it should be before "difficultytitlediff"
(#201) The string key "editgroups" is not in the correct order, it should be before "editlists"
(#202) The string key "editgroupquestions" is not in the correct order, it should be before "editgroups"
(#208) The string key "editmaxmark" is not in the correct order, it should be before "editofflinequiz"
(#220) The string key "errormultiuserinlist" is not in the correct order, it should be before "errorreport"
(#222) The string key "evaluated" is not in the correct order, it should be before "evaluation"
(#247) The string key "fileformat" is not in the correct order, it should be before "fileprefixparticipants"
(#252) The string key "fontfamilycourier" is not in the correct order, it should be before "fontsize"
(#292) The string key "group" is not in the correct order, it should be before "rediswrong"
(#315) The string key "import" is not in the correct order, it should be before "importfromto"
(#321) The string key "importedon" is not in the correct order, it should be before "importnew_help"
(#337) The string key "insecuremarkings" is not in the correct order, it should be before "insecuremarkingsforquestion"
(#382) The string key "copyselectedtogroup" is not in the correct order, it should be before "moveselectedonpage"
(#386) The string key "moodleprocessing" is not in the correct order, it should be before "multipleanswers"
(#401) The string key "nomcquestions" is not in the correct order, it should be before "noscannedpage"
(#409) The string key "noquestionselected" is not in the correct order, it should be before "noquestionsonpage"
(#428) The string key "editofflinesettings" is not in the correct order, it should be before "offlineimplementationfor"
(#437) The string key "offlinequiz:addinstance" is not in the correct order, it should be before "offlinequizsettings"
(#441) The string key "offlinequiz:createofflinequiz" is not in the correct order, it should be before "offlinequizcloses"
(#446) The string key "offlinequiz:preview" is not in the correct order, it should be before "offlinequizopens"
(#448) The string key "offlinequiz:view" is not in the correct order, it should be before "offlinequiz:viewreports"
(#456) The string key "orderandpaging" is not in the correct order, it should be before "orderingofflinequiz"
(#471) The string key "page-mod-offlinequiz-x" is not in the correct order, it should be before "pageimported"
(#472) The string key "page-mod-offlinequiz-edit" is not in the correct order, it should be before "page-mod-offlinequiz-x"
(#475) The string key "pagenotdetected" is not in the correct order, it should be before "pagenumberupdate"
(#481) The string key "partcheckedwithoutresult" is not in the correct order, it should be before "partcheckedwithresult"
(#483) The string key "partuncheckedwithoutresult" is not in the correct order, it should be before "partuncheckedwithresult"
(#484) The string key "partial" is not in the correct order, it should be before "partuncheckedwithoutresult"
(#487) The string key "participants" is not in the correct order, it should be before "participantslists"
(#491) The string key "participants_help" is not in the correct order, it should be before "participantsusage_help"
(#516) The string key "preview" is not in the correct order, it should be before "previewforgroup"
(#526) The string key "privacy:metadata:offlinequiz:introformat" is not in the correct order, it should be before "privacy:metadata:offlinequiz:name"
(#529) The string key "privacy:metadata:offlinequiz:timeclose" is not in the correct order, it should be before "privacy:metadata:offlinequiz:timeopen"
(#530) The string key "privacy:metadata:offlinequiz:time" is not in the correct order, it should be before "privacy:metadata:offlinequiz:timeclose"
(#531) The string key "privacy:metadata:offlinequiz:grade" is not in the correct order, it should be before "privacy:metadata:offlinequiz:time"
(#533) The string key "privacy:metadata:offlinequiz:decimalpoints" is not in the correct order, it should be before "privacy:metadata:offlinequiz:numgroups"
(#535) The string key "privacy:metadata:offlinequiz:docscreated" is not in the correct order, it should be before "privacy:metadata:offlinequiz:review"
(#537) The string key "privacy:metadata:offlinequiz:printstudycodefield" is not in the correct order, it should be before "privacy:metadata:offlinequiz:shufflequestions"
(#538) The string key "privacy:metadata:offlinequiz:fontsize" is not in the correct order, it should be before "privacy:metadata:offlinequiz:printstudycodefield"
(#541) The string key "privacy:metadata:offlinequiz:fileformat" is not in the correct order, it should be before "privacy:metadata:offlinequiz:timemodified"
(#543) The string key "privacy:metadata:offlinequiz:showgrades" is not in the correct order, it should be before "privacy:metadata:offlinequiz:showquestioninfo"
(#545) The string key "privacy:metadata:offlinequiz:id_digits" is not in the correct order, it should be before "privacy:metadata:offlinequiz:showtutorial"
(#546) The string key "privacy:metadata:offlinequiz:disableimgnewlines" is not in the correct order, it should be before "privacy:metadata:offlinequiz:id_digits"
(#547) The string key "privacy:metadata:offlinequiz" is not in the correct order, it should be before "privacy:metadata:offlinequiz:disableimgnewlines"
(#550) The string key "privacy:metadata:offlinequiz_choices:choicenumber" is not in the correct order, it should be before "privacy:metadata:offlinequiz_choices:slotnumber"
(#552) The string key "privacy:metadata:offlinequiz_choices" is not in the correct order, it should be before "privacy:metadata:offlinequiz_choices:value"
(#554) The string key "privacy:metadata:offlinequiz_group_questions:offlinegroupid" is not in the correct order, it should be before "privacy:metadata:offlinequiz_group_questions:offlinequizid"
(#556) The string key "privacy:metadata:offlinequiz_group_questions:position" is not in the correct order, it should be before "privacy:metadata:offlinequiz_group_questions:questionid"
(#557) The string key "privacy:metadata:offlinequiz_group_questions:page" is not in the correct order, it should be before "privacy:metadata:offlinequiz_group_questions:position"
(#559) The string key "privacy:metadata:offlinequiz_group_questions:maxmark" is not in the correct order, it should be before "privacy:metadata:offlinequiz_group_questions:slot"
(#560) The string key "privacy:metadata:offlinequiz_group_questions" is not in the correct order, it should be before "privacy:metadata:offlinequiz_group_questions:maxmark"
(#562) The string key "privacy:metadata:offlinequiz_groups:number" is not in the correct order, it should be before "privacy:metadata:offlinequiz_groups:offlinequizid"
(#564) The string key "privacy:metadata:offlinequiz_groups:numberofpages" is not in the correct order, it should be before "privacy:metadata:offlinequiz_groups:sumgrades"
(#566) The string key "privacy:metadata:offlinequiz_groups:questionfilename" is not in the correct order, it should be before "privacy:metadata:offlinequiz_groups:templateusageid"
(#567) The string key "privacy:metadata:offlinequiz_groups:answerfilename" is not in the correct order, it should be before "privacy:metadata:offlinequiz_groups:questionfilename"
(#569) The string key "privacy:metadata:offlinequiz_groups" is not in the correct order, it should be before "privacy:metadata:offlinequiz_groups:correctionfilename"
(#571) The string key "privacy:metadata:offlinequiz_hotspots:name" is not in the correct order, it should be before "privacy:metadata:offlinequiz_hotspots:scannedpageid"
(#574) The string key "privacy:metadata:offlinequiz_hotspots:blank" is not in the correct order, it should be before "privacy:metadata:offlinequiz_hotspots:y"
(#576) The string key "privacy:metadata:offlinequiz_hotspots" is not in the correct order, it should be before "privacy:metadata:offlinequiz_hotspots:time"
(#577) The string key "privacy:metadata:offlinequiz:papergray" is not in the correct order, it should be before "privacy:metadata:offlinequiz_hotspots"
(#581) The string key "privacy:metadata:offlinequiz_page_corners:position" is not in the correct order, it should be before "privacy:metadata:offlinequiz_page_corners:y"
(#582) The string key "privacy:metadata:offlinequiz_page_corners" is not in the correct order, it should be before "privacy:metadata:offlinequiz_page_corners:position"
(#585) The string key "privacy:metadata:offlinequiz_participants:checked" is not in the correct order, it should be before "privacy:metadata:offlinequiz_participants:userid"
(#586) The string key "privacy:metadata:offlinequiz_participants" is not in the correct order, it should be before "privacy:metadata:offlinequiz_participants:checked"
(#587) The string key "privacy:metadata:offlinequiz_p_choices:scannedpageid" is not in the correct order, it should be before "privacy:metadata:offlinequiz_participants"
(#590) The string key "privacy:metadata:offlinequiz_p_choices" is not in the correct order, it should be before "privacy:metadata:offlinequiz_p_choices:value"
(#592) The string key "privacy:metadata:offlinequiz_p_lists:name" is not in the correct order, it should be before "privacy:metadata:offlinequiz_p_lists:offlinequizid"
(#594) The string key "privacy:metadata:offlinequiz_p_lists:filename" is not in the correct order, it should be before "privacy:metadata:offlinequiz_p_lists:number"
(#595) The string key "privacy:metadata:offlinequiz_p_lists" is not in the correct order, it should be before "privacy:metadata:offlinequiz_p_lists:filename"
(#598) The string key "privacy:metadata:offlinequiz_queue:importuserid" is not in the correct order, it should be before "privacy:metadata:offlinequiz_queue:offlinequizid"
(#601) The string key "privacy:metadata:offlinequiz_queue:timefinish" is not in the correct order, it should be before "privacy:metadata:offlinequiz_queue:timestart"
(#602) The string key "privacy:metadata:offlinequiz_queue:status" is not in the correct order, it should be before "privacy:metadata:offlinequiz_queue:timefinish"
(#604) The string key "privacy:metadata:offlinequiz_queue_data:filename" is not in the correct order, it should be before "privacy:metadata:offlinequiz_queue_data:queueid"
(#606) The string key "privacy:metadata:offlinequiz_queue_data:error" is not in the correct order, it should be before "privacy:metadata:offlinequiz_queue_data:status"
(#607) The string key "privacy:metadata:offlinequiz_queue_data" is not in the correct order, it should be before "privacy:metadata:offlinequiz_queue_data:error"
(#609) The string key "privacy:metadata:offlinequiz_results:offlinegroupid" is not in the correct order, it should be before "privacy:metadata:offlinequiz_results:offlinequizid"
(#611) The string key "privacy:metadata:offlinequiz_results:sumgrades" is not in the correct order, it should be before "privacy:metadata:offlinequiz_results:userid"
(#613) The string key "privacy:metadata:offlinequiz_results:teacherid" is not in the correct order, it should be before "privacy:metadata:offlinequiz_results:usageid"
(#614) The string key "privacy:metadata:offlinequiz_results:status" is not in the correct order, it should be before "privacy:metadata:offlinequiz_results:teacherid"
(#616) The string key "privacy:metadata:offlinequiz_results:timefinish" is not in the correct order, it should be before "privacy:metadata:offlinequiz_results:timestart"
(#618) The string key "privacy:metadata:offlinequiz_results" is not in the correct order, it should be before "privacy:metadata:offlinequiz_results:timemodified"
(#621) The string key "privacy:metadata:offlinequiz_scanned_pages:filename" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages:resultid"
(#623) The string key "privacy:metadata:offlinequiz_scanned_pages:groupnumber" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages:warningfilename"
(#625) The string key "privacy:metadata:offlinequiz_scanned_pages:pagenumber" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages:userkey"
(#627) The string key "privacy:metadata:offlinequiz_scanned_pages:status" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages:time"
(#628) The string key "privacy:metadata:offlinequiz_scanned_pages:error" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages:status"
(#629) The string key "privacy:metadata:offlinequiz_scanned_pages" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages:error"
(#630) The string key "privacy:metadata:offlinequiz_scanned_p_pages:offlinequizid" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages"
(#631) The string key "privacy:metadata:offlinequiz_scanned_p_pages:listnumber" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_p_pages:offlinequizid"
(#632) The string key "privacy:metadata:offlinequiz_scanned_p_pages:filename" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_p_pages:listnumber"
(#634) The string key "privacy:metadata:offlinequiz_scanned_p_pages:status" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_p_pages:time"
(#635) The string key "privacy:metadata:offlinequiz_scanned_p_pages:error" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_p_pages:status"
(#636) The string key "privacy:metadata:offlinequiz_scanned_p_pages" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_p_pages:error"
(#744) The string key "qversionupdated" is not in the correct order, it should be before "qversionupdateerror"
(#753) The string key "recordupdateanddocscreated" is not in the correct order, it should be before "recreatepdfs"
(#780) The string key "resultexists" is not in the correct order, it should be before "resultsavailable"
(#783) The string key "reviewbefore" is not in the correct order, it should be before "reviewcloses"
(#791) The string key "reviewoptions_help" is not in the correct order, it should be before "reviewoptionsheading"
(#810) The string key "review" is not in the correct order, it should be before "reviewoptions_help"
(#815) The string key "save" is not in the correct order, it should be before "saveandshow"
(#820) The string key "scanneroptions" is not in the correct order, it should be before "scanningoptionsheading"
(#832) The string key "selectdifferentgroup" is not in the correct order, it should be before "selectquestiontype"
(#873) The string key "statisticsplural" is not in the correct order, it should be before "statisticsviewheader"
(#881) The string key "tabdownloadparticipantsforms" is not in the correct order, it should be before "tabdownloadquizforms"
(#889) The string key "tabparticipantlists" is not in the correct order, it should be before "tabparticipantscorrect"
(#966) The string key "upgradingilogs" is not in the correct order, it should be before "upgradingofflinequizattempts"
(#968) The string key "upload" is not in the correct order, it should be before "uploadpart"
(#980) The string key "usernotinlist" is not in the correct order, it should be before "userpageimported"
(#988) The string key "zerogradewarning" is not in the correct order, it should be before "zipok"
mod/offlinequiz/latexlib.php
(#20) Incorrect @package tag for file latexlib.php. Expected mod_offlinequiz, found mod.
(#55) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#168) Short array syntax must be used to define arrays
(#200) Short array syntax must be used to define arrays
(#218) Missing docblock for function offlinequiz_convert_html_to_latex_tagreplace
(#225) Missing docblock for function offlinequiz_convert_html_to_latex_paragraph
(#246) Missing docblock for function offlinequiz_convert_html_to_latex_span
(#264) Missing docblock for function offlinequiz_convert_html_to_latex_tables
(#270) Logical operator "and" is prohibited; use "&&" instead
(#285) Short array syntax must be used to define arrays
(#306) Missing docblock for function offlinequiz_convert_html_to_latex_single_tag_replace
(#348) Logical operator "or" is prohibited; use "||" instead
(#348) Logical operator "or" is prohibited; use "||" instead
(#355) Short array syntax must be used to define arrays
mod/offlinequiz/lib.php
(#26) Incorrect @package tag for file lib.php. Expected mod_offlinequiz, found mod.
(#34) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#96) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#198) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#218) Short array syntax must be used to define arrays
(#224) Commas (,) must be followed by white space.
(#226) Short array syntax must be used to define arrays
(#233) Short array syntax must be used to define arrays
(#235) Short array syntax must be used to define arrays
(#236) Short array syntax must be used to define arrays
(#247) Short array syntax must be used to define arrays
(#250) There should be a comma after the last array item in a multi-line array.
(#254) Short array syntax must be used to define arrays
(#268) Short array syntax must be used to define arrays
(#287) Short array syntax must be used to define arrays
(#308) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#328) Logical operator "or" is prohibited; use "||" instead
(#348) Short array syntax must be used to define arrays
(#364) Logical operator "or" is prohibited; use "||" instead
(#378) Short array syntax must be used to define arrays
(#407) Logical operator "or" is prohibited; use "||" instead
(#436) Short array syntax must be used to define arrays
(#441) Short array syntax must be used to define arrays
(#451) Logical operator "or" is prohibited; use "||" instead
(#460) Short array syntax must be used to define arrays
(#468) Short array syntax must be used to define arrays
(#469) Short array syntax must be used to define arrays
(#482) Short array syntax must be used to define arrays
(#488) Logical operator "and" is prohibited; use "&&" instead
(#510) Short array syntax must be used to define arrays
(#538) Short array syntax must be used to define arrays
(#568) Short array syntax must be used to define arrays
(#721) Short array syntax must be used to define arrays
(#744) Short array syntax must be used to define arrays
(#746) Short array syntax must be used to define arrays
(#800) Short array syntax must be used to define arrays
(#819) Short array syntax must be used to define arrays
(#826) Short array syntax must be used to define arrays
(#832) Short array syntax must be used to define arrays
(#882) Short array syntax must be used to define arrays
(#902) Logical operator "and" is prohibited; use "&&" instead
(#902) Short array syntax must be used to define arrays
(#921) Short array syntax must be used to define arrays
(#951) Short array syntax must be used to define arrays
(#1023) Short array syntax must be used to define arrays
(#1131) Short array syntax must be used to define arrays
(#1140) Short array syntax must be used to define arrays
(#1142) Short array syntax must be used to define arrays
(#1147) Short array syntax must be used to define arrays
(#1150) Expected "if (...) {\n"; found "if(...) {\n"
(#1207) Short array syntax must be used to define arrays
(#1209) Short array syntax must be used to define arrays
(#1212) Short array syntax must be used to define arrays
(#1304) No one-line description found in phpdocs for docblock of function offlinequiz_get_user_results
(#1308) Short array syntax must be used to define arrays
(#1336) Logical operator "and" is prohibited; use "&&" instead
(#1348) Line exceeds 132 characters; contains 142 characters
(#1370) Short array syntax must be used to define arrays
(#1370) Line exceeds 132 characters; contains 135 characters
(#1378) Inline comments must end in full-stops, exclamation marks, or question marks
(#1384) Line exceeds 132 characters; contains 139 characters
(#1399) Missing docblock for function offlinequiz_get_active_tab
(#1435) No one-line description found in phpdocs for docblock of function offlinequiz_questions_in_use
(#1590) Variable "jsonString" must be all lower-case
(#1591) Variable "jsonString" must be all lower-case
(#1594) Variable "jsonString" must be all lower-case
(#1595) Variable "jsonString" must be all lower-case
mod/offlinequiz/lib/phpwordinit.php
(#23) Incorrect @package tag for file phpwordinit.php. Expected mod_offlinequiz, found mod.
mod/offlinequiz/locallib.php
(#23) Incorrect @package tag for file locallib.php. Expected mod_offlinequiz, found mod.
(#77) Missing docblock for class offlinequiz_question_usage_by_activity
(#79) Missing docblock for function get_clone
(#95) Short array syntax must be used to define arrays
(#143) Missing docblock for function offlinequiz_print_tabs
(#153) Expected 1 space before "?"; 0 found
(#153) Expected 1 space after "?"; 0 found
(#153) Line exceeds 132 characters; contains 134 characters
(#160) Missing docblock for function offlinequiz_get_tabs_object
(#233) Whitespace found at end of line
(#237) Missing docblock for function offlinequiz_make_questions_usage_by_activity
(#241) Missing docblock for function offlinequiz_get_pdffont
(#243) Expected "if (...) {\n"; found "if(...) {\n"
(#246) Expected "if (...) {\n"; found "if(...) {\n"
(#250) Expected "if (...) {\n"; found "if(...) {\n"
(#250) Commas (,) must be followed by white space.
(#252) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#252) Expected "if (...) {\n"; found "if(...) {\n"
(#255) Inline comments must end in full-stops, exclamation marks, or question marks
(#255) No space found before comment text; expected "// Default fallback if anything goes horribly wrong" but found "//Default fallback if anything goes horribly wrong"
(#260) Missing docblock for function get_course_objects
(#266) Short array syntax must be used to define arrays
(#269) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#277) Short array syntax must be used to define arrays
(#278) Line exceeds 132 characters; contains 137 characters
(#331) Short array syntax must be used to define arrays
(#367) Short array syntax must be used to define arrays
(#373) Missing docblock for function offlinequiz_get_group_questionbankentry_ids
(#383) Whitespace found at end of line
(#391) Short array syntax must be used to define arrays
(#393) Whitespace found at end of line
(#406) Short array syntax must be used to define arrays
(#409) Short array syntax must be used to define arrays
(#444) Short array syntax must be used to define arrays
(#470) Short array syntax must be used to define arrays
(#498) Short array syntax must be used to define arrays
(#507) Short array syntax must be used to define arrays
(#613) Short array syntax must be used to define arrays
(#635) Short array syntax must be used to define arrays
(#638) Short array syntax must be used to define arrays
(#652) Short array syntax must be used to define arrays
(#660) Short array syntax must be used to define arrays
(#667) Short array syntax must be used to define arrays
(#687) Short array syntax must be used to define arrays
(#699) Short array syntax must be used to define arrays
(#730) Short array syntax must be used to define arrays
(#745) Short array syntax must be used to define arrays
(#747) Short array syntax must be used to define arrays
(#749) Short array syntax must be used to define arrays
(#752) Short array syntax must be used to define arrays
(#754) Short array syntax must be used to define arrays
(#778) Short array syntax must be used to define arrays
(#780) Short array syntax must be used to define arrays
(#816) Short array syntax must be used to define arrays
(#832) Short array syntax must be used to define arrays
(#835) Short array syntax must be used to define arrays
(#841) Short array syntax must be used to define arrays
(#873) Line exceeds 132 characters; contains 148 characters
(#878) Line exceeds maximum limit of 180 characters; contains 186 characters
(#887) Expected "if (...) {\n"; found "if(...) {\n"
(#890) Line indented incorrectly; expected at least 8 spaces, found 4
(#897) Whitespace found at end of line
(#899) Short array syntax must be used to define arrays
(#916) Missing docblock for function offlinequiz_update_quba
(#950) Line exceeds 132 characters; contains 159 characters
(#982) Short array syntax must be used to define arrays
(#993) Missing docblock for function __construct
(#1003) Short array syntax must be used to define arrays
(#1031) Short array syntax must be used to define arrays
(#1051) Short array syntax must be used to define arrays
(#1054) Short array syntax must be used to define arrays
(#1056) Short array syntax must be used to define arrays
(#1057) Short array syntax must be used to define arrays
(#1058) Short array syntax must be used to define arrays
(#1059) Short array syntax must be used to define arrays
(#1074) No one-line description found in phpdocs for docblock of function offlinequiz_question_action_icons
(#1090) Logical operator "and" is prohibited; use "&&" instead
(#1093) Logical operator "and" is prohibited; use "&&" instead
(#1100) Logical operator "and" is prohibited; use "&&" instead
(#1101) Logical operator "and" is prohibited; use "&&" instead
(#1102) Logical operator "and" is prohibited; use "&&" instead
(#1130) Short array syntax must be used to define arrays
(#1134) Short array syntax must be used to define arrays
(#1148) Short array syntax must be used to define arrays
(#1203) Short array syntax must be used to define arrays
(#1237) Short array syntax must be used to define arrays
(#1243) Short array syntax must be used to define arrays
(#1303) Short array syntax must be used to define arrays
(#1345) Short array syntax must be used to define arrays
(#1358) Expected "bool" but found "boolean" for @var tag in member variable comment
(#1364) Expected "bool" but found "boolean" for @var tag in member variable comment
(#1369) Expected "bool" but found "boolean" for @var tag in member variable comment
(#1374) Expected "bool" but found "boolean" for @var tag in member variable comment
(#1410) Missing docblock for function extract
(#1438) Short array syntax must be used to define arrays
(#1460) Short array syntax must be used to define arrays
(#1483) Short array syntax must be used to define arrays
(#1501) Short array syntax must be used to define arrays
(#1544) Short array syntax must be used to define arrays
(#1564) Logical operator "and" is prohibited; use "&&" instead
(#1567) Whitespace found at end of line
(#1572) Commas (,) must be followed by white space.
(#1574) Short array syntax must be used to define arrays
(#1607) Short array syntax must be used to define arrays
(#1615) No one-line description found in phpdocs for docblock of function offlinequiz_question_preview_url
(#1671) Short array syntax must be used to define arrays
(#1696) Short array syntax must be used to define arrays
(#1723) Short array syntax must be used to define arrays
(#1724) Short array syntax must be used to define arrays
(#1725) Short array syntax must be used to define arrays
(#1726) Inline comments must end in full-stops, exclamation marks, or question marks
(#1727) Short array syntax must be used to define arrays
(#1731) Short array syntax must be used to define arrays
(#1745) Short array syntax must be used to define arrays
(#1750) Short array syntax must be used to define arrays
(#1768) Expected "if (...) {\n"; found "if(...) {\n"
(#1768) Commas (,) must be followed by white space.
(#1771) Inline comments must end in full-stops, exclamation marks, or question marks
(#1771) No space found before comment text; expected "// Some table fields don't have a name (e.g. id). We have to make langstrings for them" but found "//Some table fields don't have a name (e.g. id). We have to make langstrings for them"
(#1871) Short array syntax must be used to define arrays
(#1882) Short array syntax must be used to define arrays
(#1889) Short array syntax must be used to define arrays
(#1925) Short array syntax must be used to define arrays
(#1933) Short array syntax must be used to define arrays
(#1942) Short array syntax must be used to define arrays
(#1943) Short array syntax must be used to define arrays
(#1971) Logical operator "or" is prohibited; use "||" instead
(#1989) Logical operator "and" is prohibited; use "&&" instead
(#2005) Short array syntax must be used to define arrays
(#2008) Short array syntax must be used to define arrays
(#2009) Short array syntax must be used to define arrays
(#2019) Short array syntax must be used to define arrays
(#2033) There should be a comma after the last array item in a multi-line array.
(#2040) Logical operator "and" is prohibited; use "&&" instead
(#2045) Logical operator "and" is prohibited; use "&&" instead
(#2067) Short array syntax must be used to define arrays
(#2070) There should be a comma after the last array item in a multi-line array.
(#2100) Short array syntax must be used to define arrays
(#2138) Short array syntax must be used to define arrays
(#2164) Short array syntax must be used to define arrays
(#2212) Short array syntax must be used to define arrays
(#2223) Short array syntax must be used to define arrays
(#2226) Short array syntax must be used to define arrays
(#2231) There should be a comma after the last array item in a multi-line array.
(#2233) Logical operator "or" is prohibited; use "||" instead
(#2247) Logical operator "or" is prohibited; use "||" instead
(#2330) Short array syntax must be used to define arrays
(#2341) Short array syntax must be used to define arrays
(#2369) Short array syntax must be used to define arrays
(#2430) Short array syntax must be used to define arrays
(#2441) Short array syntax must be used to define arrays
(#2480) Short array syntax must be used to define arrays
(#2486) Short array syntax must be used to define arrays
(#2522) Short array syntax must be used to define arrays
(#2526) Short array syntax must be used to define arrays
(#2527) Short array syntax must be used to define arrays
(#2562) Short array syntax must be used to define arrays
mod/offlinequiz/mod_form.php
(#21) Incorrect @package tag for file mod_form.php. Expected mod_offlinequiz, found mod.
(#42) Missing docblock for function definition
(#49) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#108) Expected "if (...) {\n"; found "if(...) {\n"
(#114) Short array syntax must be used to define arrays
(#125) Line exceeds 132 characters; contains 145 characters
(#147) Expected "if (...) {\n"; found "if(...) {\n"
(#155) Expected "if (...) {\n"; found "if(...) {\n"
(#180) Short array syntax must be used to define arrays
(#195) There should be a comma after the last array item in a multi-line array.
(#200) Short array syntax must be used to define arrays
(#207) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#212) Short array syntax must be used to define arrays
(#229) Short array syntax must be used to define arrays
(#233) Short array syntax must be used to define arrays
(#235) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#327) Short array syntax must be used to define arrays
(#375) Short array syntax must be used to define arrays
(#377) Short array syntax must be used to define arrays
(#378) Line exceeds 132 characters; contains 146 characters
(#379) Short array syntax must be used to define arrays
(#382) Line exceeds 132 characters; contains 142 characters
mod/offlinequiz/navigate.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file navigate.php
mod/offlinequiz/offlinequiz.class.php
(#20) Incorrect @package tag for file offlinequiz.class.php. Expected mod_offlinequiz, found mod.
(#50) You must use "/**" style comments for a member variable comment
(#51) Missing member variable doc comment
(#52) Missing member variable doc comment
(#53) Missing member variable doc comment
(#56) You must use "/**" style comments for a member variable comment
(#57) Missing member variable doc comment
(#58) Missing member variable doc comment
(#90) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#149) No one-line description found in phpdocs for docblock of function get_courseid
(#154) No one-line description found in phpdocs for docblock of function get_course
(#159) No one-line description found in phpdocs for docblock of function get_offlinequizid
(#164) No one-line description found in phpdocs for docblock of function get_offlinegroupid
(#169) No one-line description found in phpdocs for docblock of function get_offlinequiz
(#174) No one-line description found in phpdocs for docblock of function get_offlinequiz_name
(#179) No one-line description found in phpdocs for docblock of function get_navigation_method
(#184) No one-line description found in phpdocs for docblock of function get_num_attempts_allowed
(#189) No one-line description found in phpdocs for docblock of function get_cmid
(#194) No one-line description found in phpdocs for docblock of function get_cm
(#199) No one-line description found in phpdocs for docblock of function get_context
(#207) No one-line description found in phpdocs for docblock of function is_preview_user
(#217) No one-line description found in phpdocs for docblock of function has_questions
(#228) No one-line description found in phpdocs for docblock of function get_question
(#235) No one-line description found in phpdocs for docblock of function get_questions
(#239) Short array syntax must be used to define arrays
(#255) No one-line description found in phpdocs for docblock of function get_access_manager
(#281) No one-line description found in phpdocs for docblock of function view_url
(#289) No one-line description found in phpdocs for docblock of function edit_url
(#299) No one-line description found in phpdocs for docblock of function attempt_url
(#311) No one-line description found in phpdocs for docblock of function start_attempt_url
(#312) Short array syntax must be used to define arrays
(#323) No one-line description found in phpdocs for docblock of function review_url
(#324) Short array syntax must be used to define arrays
(#331) No one-line description found in phpdocs for docblock of function summary_url
(#332) Short array syntax must be used to define arrays
(#342) No one-line description found in phpdocs for docblock of function confirm_start_attempt_message
(#394) No one-line description found in phpdocs for docblock of function navigation
mod/offlinequiz/participants.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file participants.php. Expected mod_offlinequiz, found mod.
(#49) Logical operator "and" is prohibited; use "&&" instead
(#65) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#83) There should be a comma after the last array item in a multi-line array.
(#91) Missing docblock for function find_pdf_file
(#91) Missing @copyright tag
(#91) Missing @license tag
(#91) Missing @copyright tag
(#91) Missing @license tag
(#91) Missing @copyright tag
(#91) Missing @license tag
(#91) Missing @copyright tag
(#91) Missing @license tag
(#91) Missing @copyright tag
(#91) Missing @license tag
(#113) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#147) Expected 1 space before "=>"; 0 found
(#147) Commas (,) must be followed by white space.
(#158) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#177) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#183) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
(#207) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#210) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#254) Short array syntax must be used to define arrays
(#270) Short array syntax must be used to define arrays
(#285) Short array syntax must be used to define arrays
(#312) Short array syntax must be used to define arrays
(#334) Inline comments must start with a capital letter, digit or 3-dots sequence
(#334) Inline comments must end in full-stops, exclamation marks, or question marks
(#340) Short array syntax must be used to define arrays
(#347) Logical operator "and" is prohibited; use "&&" instead
(#347) Logical operator "or" is prohibited; use "||" instead
(#367) Short array syntax must be used to define arrays
(#370) Short array syntax must be used to define arrays
(#377) Short array syntax must be used to define arrays
(#381) Logical operator "and" is prohibited; use "&&" instead
(#381) Short array syntax must be used to define arrays
(#384) Whitespace found at end of line within string
(#389) Commas (,) must be followed by white space.
(#391) Short array syntax must be used to define arrays
(#395) Short array syntax must be used to define arrays
(#396) Short array syntax must be used to define arrays
(#399) Short array syntax must be used to define arrays
(#402) There should be a comma after the last array item in a multi-line array.
(#403) There should be a comma after the last array item in a multi-line array.
(#409) Logical operator "and" is prohibited; use "&&" instead
(#409) Short array syntax must be used to define arrays
(#416) Commas (,) must be followed by white space.
(#418) Short array syntax must be used to define arrays
(#421) Short array syntax must be used to define arrays
(#422) Short array syntax must be used to define arrays
(#425) Short array syntax must be used to define arrays
(#428) There should be a comma after the last array item in a multi-line array.
(#429) There should be a comma after the last array item in a multi-line array.
(#438) Commas (,) must be followed by white space.
(#438) Line exceeds 132 characters; contains 146 characters
(#438) Line exceeds 132 characters; contains 146 characters
(#438) Line exceeds 132 characters; contains 146 characters
(#438) Line exceeds 132 characters; contains 146 characters
(#438) Line exceeds 132 characters; contains 146 characters
(#438) Line exceeds 132 characters; contains 146 characters
(#450) Commas (,) must be followed by white space.
(#450) Line exceeds 132 characters; contains 146 characters
(#450) Line exceeds 132 characters; contains 146 characters
(#450) Line exceeds 132 characters; contains 146 characters
(#450) Line exceeds 132 characters; contains 146 characters
(#450) Line exceeds 132 characters; contains 146 characters
(#450) Line exceeds 132 characters; contains 146 characters
(#463) Missing docblock for file participants.php
(#465) Missing docblock for file participants.php
(#469) Missing docblock for file participants.php
(#471) Missing docblock for file participants.php
(#477) Missing docblock for file participants.php
(#486) Short array syntax must be used to define arrays
(#529) Commas (,) must be followed by white space.
(#529) Line exceeds 132 characters; contains 146 characters
(#529) Line exceeds 132 characters; contains 146 characters
(#529) Line exceeds 132 characters; contains 146 characters
(#529) Line exceeds 132 characters; contains 146 characters
(#529) Line exceeds 132 characters; contains 146 characters
(#529) Line exceeds 132 characters; contains 146 characters
(#537) Short array syntax must be used to define arrays
(#550) Commas (,) must be followed by white space.
(#550) Expected 1 space before "=>"; 0 found
(#550) Commas (,) must be followed by white space.
(#550) Line exceeds 132 characters; contains 167 characters
(#550) Line exceeds 132 characters; contains 167 characters
(#550) Line exceeds 132 characters; contains 167 characters
(#550) Line exceeds 132 characters; contains 167 characters
(#550) Line exceeds 132 characters; contains 167 characters
(#550) Line exceeds 132 characters; contains 167 characters
(#589) Short array syntax must be used to define arrays
(#645) Short array syntax must be used to define arrays
(#660) Logical operator "or" is prohibited; use "||" instead
(#673) Expected 1 space before "=>"; 0 found
(#673) Commas (,) must be followed by white space.
(#674) There should be a comma after the last array item in a multi-line array.
(#681) Short array syntax must be used to define arrays
(#683) Short array syntax must be used to define arrays
(#684) Short array syntax must be used to define arrays
(#685) Short array syntax must be used to define arrays
mod/offlinequiz/participants/participants_listform.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file participants_listform.php. Expected mod_offlinequiz, found mod.
(#31) Missing docblock for class offlinequiz_participantslistform
(#33) Missing member variable doc comment
(#34) Missing member variable doc comment
(#36) Missing docblock for function __construct
(#42) Missing docblock for function definition
(#59) Short array syntax must be used to define arrays
mod/offlinequiz/participants/participants_report.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file participants_report.php. Expected mod_offlinequiz, found mod.
(#32) Missing docblock for class participants_report
(#52) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#125) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/participants/participants_scanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file participants_scanner.php. Expected mod_offlinequiz, found mod.
(#45) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
mod/offlinequiz/participants/participants_uploadform.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file participants_uploadform.php. Expected mod_offlinequiz, found mod.
(#32) Missing docblock for class offlinequiz_participants_upload_form
(#34) Missing docblock for function definition
(#38) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
mod/offlinequiz/participants/participantslib.php
(#22) Incorrect @package tag for file participantslib.php. Expected mod_offlinequiz, found mod.
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Missing member variable doc comment
(#38) Missing member variable doc comment
(#39) Missing member variable doc comment
(#40) Missing member variable doc comment
(#42) Missing docblock for function __construct
mod/offlinequiz/participants_correct.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file participants_correct.php. Expected mod_offlinequiz, found mod.
(#39) Short array syntax must be used to define arrays
(#40) Line exceeds 132 characters; contains 136 characters
(#40) Line exceeds 132 characters; contains 136 characters
(#43) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#54) Line exceeds 132 characters; contains 141 characters
(#54) Line exceeds 132 characters; contains 141 characters
(#69) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#198) Inline comments must end in full-stops, exclamation marks, or question marks
(#208) Short array syntax must be used to define arrays
(#226) Short array syntax must be used to define arrays
(#261) Short array syntax must be used to define arrays
(#278) Short array syntax must be used to define arrays
(#291) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
(#308) Short array syntax must be used to define arrays
(#333) Short array syntax must be used to define arrays
(#337) Short array syntax must be used to define arrays
(#342) Short array syntax must be used to define arrays
(#353) Short array syntax must be used to define arrays
(#374) Inline comments must end in full-stops, exclamation marks, or question marks
(#568) Short array syntax must be used to define arrays
(#615) Logical operator "or" is prohibited; use "||" instead
(#625) Logical operator "and" is prohibited; use "&&" instead
(#660) Missing docblock for file participants_correct.php
mod/offlinequiz/pdflib.php
(#20) Incorrect @package tag for file pdflib.php. Expected mod_offlinequiz, found mod.
(#39) Missing docblock for class offlinequiz_barcodewriter
(#70) Missing docblock for class offlinequiz_pdf
(#73) Missing @var tag in member variable comment
(#76) Missing docblock for function checkpoint
(#80) Missing docblock for function backtrack
(#84) Missing docblock for function is_overflowing
(#88) Missing docblock for function set_title
(#93) Missing docblock for class offlinequiz_question_pdf
(#94) Missing member variable doc comment
(#94) Short array syntax must be used to define arrays
(#128) Missing docblock for class offlinequiz_answer_pdf
(#129) Missing member variable doc comment
(#130) Missing member variable doc comment
(#131) Missing member variable doc comment
(#132) Missing member variable doc comment
(#133) Missing member variable doc comment
(#134) Missing member variable doc comment
(#185) Logical operator "and" is prohibited; use "&&" instead
(#249) Missing docblock for function get_logo_aspect_ratio
(#309) Missing docblock for class offlinequiz_participants_pdf
(#310) Missing member variable doc comment
(#419) Expected "if (...) {\n"; found "if(...) {\n"
(#443) Missing docblock for function offlinequiz_get_answers_html
(#457) Expected "if (...) {\n"; found "if(...) {\n"
(#497) Missing docblock for function offlinequiz_write_question_to_pdf
(#635) Short array syntax must be used to define arrays
(#703) Short array syntax must be used to define arrays
(#768) Short array syntax must be used to define arrays
(#801) Missing docblock for function offlinequiz_create_pdf_answer
(#812) Short array syntax must be used to define arrays
(#857) Short array syntax must be used to define arrays
(#920) Short array syntax must be used to define arrays
(#920) Short array syntax must be used to define arrays
(#933) Logical operator "and" is prohibited; use "&&" instead
(#954) Short array syntax must be used to define arrays
(#994) Short array syntax must be used to define arrays
(#1084) Short array syntax must be used to define arrays
(#1151) Short array syntax must be used to define arrays
(#1171) Short array syntax must be used to define arrays
(#1174) Short array syntax must be used to define arrays
(#1180) Short array syntax must be used to define arrays
(#1181) Short array syntax must be used to define arrays
mod/offlinequiz/repaginate.php
(#20) Incorrect @package tag for file repaginate.php. Expected mod_offlinequiz, found mod.
(#40) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
mod/offlinequiz/report.php
(#20) Incorrect @package tag for file report.php. Expected mod_offlinequiz, found mod.
(#41) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#71) There should be a comma after the last array item in a multi-line array.
(#120) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#124) There should be a comma after the last array item in a multi-line array.
(#125) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/report/correct/classes/privacy/provider.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Missing @copyright tag
(#21) Missing @license tag
(#21) Missing docblock for class provider
(#29) There must not be a space before the colon in a return type declaration
mod/offlinequiz/report/correct/errorpages_table.php
(#21) Incorrect @package tag for file errorpages_table.php. Expected offlinequiz_correct, found mod.
(#34) Missing docblock for class offlinequiz_selectall_table
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#39) Missing docblock for function __construct
(#45) Missing docblock for function print_nothing_to_display
(#50) Missing docblock for function wrap_html_start
(#63) Missing docblock for function wrap_html_finish
(#82) Missing docblock for class offlinequiz_partlist_table
(#83) Missing docblock for function wrap_html_finish
(#92) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#108) Missing docblock for function print_one_initials_bar
(#109) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
mod/offlinequiz/report/correct/lang/en/offlinequiz_correct.php
(#20) Incorrect @package tag for file offlinequiz_correct.php. Expected offlinequiz_correct, found mod.
mod/offlinequiz/report/correct/report.php
(#20) Incorrect @package tag for file report.php. Expected offlinequiz_correct, found mod.
(#33) Missing docblock for class offlinequiz_correct_report
(#34) Missing member variable doc comment
(#34) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#34) Scope modifier not specified for member variable "$context"
(#36) Missing docblock for function print_error_report
(#49) Short array syntax must be used to define arrays
(#52) Line exceeds 132 characters; contains 135 characters
(#54) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#144) Logical operator "and" is prohibited; use "&&" instead
(#155) Short array syntax must be used to define arrays
(#164) There should be a comma after the last array item in a multi-line array.
(#183) Short array syntax must be used to define arrays
(#207) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#226) Short array syntax must be used to define arrays
(#236) Short array syntax must be used to define arrays
(#255) No one-line description found in phpdocs for docblock of function extract_pdf_to_tiff
(#272) Missing docblock for function convert_black_white
mod/offlinequiz/report/correct/version.php
(#20) Incorrect @package tag for file version.php. Expected offlinequiz_correct, found mod.
mod/offlinequiz/report/default.php
(#30) Incorrect @package tag for file default.php. Expected mod_offlinequiz, found mod.
(#39) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Missing docblock for class offlinequiz_default_report
(#42) Missing docblock for constant offlinequiz_default_report::NO_GROUPS_ALLOWED
mod/offlinequiz/report/overview/classes/privacy/provider.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Missing @copyright tag
(#21) Missing @license tag
(#21) Missing docblock for class provider
(#29) There must not be a space before the colon in a return type declaration
mod/offlinequiz/report/overview/download_result_html.php
(#20) Incorrect @package tag for file download_result_html.php. Expected offlinequiz_overview, found mod.
(#34) Missing docblock for class html_download
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#38) Missing member variable doc comment
(#39) Missing member variable doc comment
(#41) Missing docblock for function __construct
(#43) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#59) Missing docblock for function printhtml
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#163) Missing docblock for function get_result_ids
mod/offlinequiz/report/overview/lang/en/offlinequiz_overview.php
(#20) Incorrect @package tag for file offlinequiz_overview.php. Expected offlinequiz_overview, found mod.
mod/offlinequiz/report/overview/report.php
(#20) Incorrect @package tag for file report.php. Expected offlinequiz_overview, found mod.
(#35) Missing docblock for class offlinequiz_overview_report
(#54) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#89) There should be a comma after the last array item in a multi-line array.
(#105) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#118) There should be a comma after the last array item in a multi-line array.
(#124) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#127) There should be a comma after the last array item in a multi-line array.
(#128) There should be a comma after the last array item in a multi-line array.
(#136) Short array syntax must be used to define arrays
(#136) There should be a comma after the last array item in a multi-line array.
(#139) Short array syntax must be used to define arrays
(#139) There should be a comma after the last array item in a multi-line array.
(#149) Short array syntax must be used to define arrays
(#151) There should be a comma after the last array item in a multi-line array.
(#156) Short array syntax must be used to define arrays
(#156) There should be a comma after the last array item in a multi-line array.
(#159) Short array syntax must be used to define arrays
(#159) There should be a comma after the last array item in a multi-line array.
(#169) Short array syntax must be used to define arrays
(#171) There should be a comma after the last array item in a multi-line array.
(#184) Short array syntax must be used to define arrays
(#184) There should be a comma after the last array item in a multi-line array.
(#188) Short array syntax must be used to define arrays
(#189) There should be a comma after the last array item in a multi-line array.
(#192) Short array syntax must be used to define arrays
(#196) There should be a comma after the last array item in a multi-line array.
(#199) Short array syntax must be used to define arrays
(#203) Short array syntax must be used to define arrays
(#203) There should be a comma after the last array item in a multi-line array.
(#210) Short array syntax must be used to define arrays
(#210) There should be a comma after the last array item in a multi-line array.
(#219) Short array syntax must be used to define arrays
(#219) There should be a comma after the last array item in a multi-line array.
(#226) Short array syntax must be used to define arrays
(#227) There should be a comma after the last array item in a multi-line array.
(#272) Short array syntax must be used to define arrays
(#274) There should be a comma after the last array item in a multi-line array.
(#336) Short array syntax must be used to define arrays
(#340) Short array syntax must be used to define arrays
(#340) There should be a comma after the last array item in a multi-line array.
(#370) Short array syntax must be used to define arrays
(#395) Short array syntax must be used to define arrays
(#462) Short array syntax must be used to define arrays
(#462) There should be a comma after the last array item in a multi-line array.
(#465) Short array syntax must be used to define arrays
(#465) There should be a comma after the last array item in a multi-line array.
(#491) Short array syntax must be used to define arrays
(#492) There should be a comma after the last array item in a multi-line array.
(#495) Short array syntax must be used to define arrays
(#496) There should be a comma after the last array item in a multi-line array.
(#500) Line exceeds 132 characters; contains 134 characters
(#538) Logical operator "or" is prohibited; use "||" instead
(#552) Short array syntax must be used to define arrays
(#552) There should be a comma after the last array item in a multi-line array.
(#557) Short array syntax must be used to define arrays
(#557) There should be a comma after the last array item in a multi-line array.
(#561) Short array syntax must be used to define arrays
(#573) Short array syntax must be used to define arrays
(#624) Short array syntax must be used to define arrays
(#629) There should be a comma after the last array item in a multi-line array.
(#671) Short array syntax must be used to define arrays
(#690) Missing docblock for function get_grade
(#701) Missing docblock for function get_gradeletter
mod/offlinequiz/report/overview/results_table.php
(#20) Incorrect @package tag for file results_table.php. Expected offlinequiz_overview, found mod.
(#33) Missing docblock for class offlinequiz_results_table
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#39) Missing docblock for function __construct
(#46) Missing docblock for function print_nothing_to_display
(#51) Missing docblock for function wrap_html_start
(#65) Missing docblock for function wrap_html_finish
(#82) Missing docblock for function print_one_initials_bar
(#83) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
mod/offlinequiz/report/overview/version.php
(#20) Incorrect @package tag for file version.php. Expected offlinequiz_overview, found mod.
mod/offlinequiz/report/reportlib.php
(#20) Incorrect @package tag for file reportlib.php. Expected mod_offlinequiz, found mod.
(#56) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#82) Missing docblock for function offlinequiz_report_unindex
(#86) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
mod/offlinequiz/report/rimport/boxscanner.php
(#1) Missing docblock for file boxscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#28) Missing docblock for class pixelcountboxscanner
(#30) Missing member variable doc comment
(#78) Missing docblock for function get_image_black_value
(#90) Missing docblock for class weighted_diagonal_box_scanner
(#91) Missing member variable doc comment
(#146) Missing docblock for function remove_edges
(#146) Expected 0 spaces after "("; 1 found
(#150) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#196) Missing docblock for function get_image_black_value
(#207) Missing docblock for function get_box_diag_up_black_value
(#221) Missing docblock for function get_box_diag_down_black_value
(#235) Missing docblock for function get_diag_up_value
(#237) Line exceeds 132 characters; contains 133 characters
(#240) Missing docblock for function get_diag_down_value
(#243) Line exceeds 132 characters; contains 133 characters
(#246) Missing docblock for function get_diag_up_distance
(#261) Missing docblock for function get_diag_down_distance
mod/offlinequiz/report/rimport/classes/privacy/provider.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Missing @copyright tag
(#21) Missing @license tag
(#21) Missing docblock for class provider
(#29) There must not be a space before the colon in a return type declaration
mod/offlinequiz/report/rimport/crossscanner.php
(#1) Missing docblock for file crossscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Missing docblock for class crossfinder
(#129) Missing docblock for function findclosest
(#129) Expected 0 spaces after "findclosest"; 1 found
(#145) Missing docblock for class simple_cross_scanner
(#147) Missing docblock for function findcross
mod/offlinequiz/report/rimport/groupnumberscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Missing @copyright tag
(#25) Missing @license tag
(#25) Missing docblock for class offlinequiz_groupnumberscanner
(#27) Missing member variable doc comment
(#29) Missing docblock for function __construct
(#33) Missing docblock for function scan_group_number
(#53) Short array syntax must be used to define arrays
(#63) Missing docblock for function calculate_group_number_middles
(#64) Short array syntax must be used to define arrays
mod/offlinequiz/report/rimport/lang/en/offlinequiz_rimport.php
(#20) Incorrect @package tag for file offlinequiz_rimport.php. Expected offlinequiz_rimport, found mod.
(#30) The string key "addingfilestoqueue" is duplicated
(#40) The string key "errorinsecuremarkings" is not in the correct order, it should be before "erroruseridviolation"
(#42) The string key "errorinvalidlistnumber" is not in the correct order, it should be before "errorinvalidpagenumber"
(#49) The string key "errordifferentresultexists" is not in the correct order, it should be before "errorresultexists"
(#52) The string key "errorimportusernotinlist" is not in the correct order, it should be before "errorusernotinlist"
(#55) The string key "errorjpgnotsupported" is not in the correct order, it should be before "errortiffnotsupported"
(#56) The string key "errorgifnotsupported" is not in the correct order, it should be before "errorjpgnotsupported"
(#61) The string key "importedon" is not in the correct order, it should be before "importlisterror"
(#69) The string key "scanerrorlistnumber" is not in the correct order, it should be before "showpage"
mod/offlinequiz/report/rimport/page.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#26) Missing @copyright tag
(#26) Missing @license tag
(#26) Missing docblock for class offlinequiz_result_page
(#29) Missing member variable doc comment
(#30) Missing member variable doc comment
(#31) Missing member variable doc comment
(#32) Missing member variable doc comment
(#33) Missing member variable doc comment
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#38) Missing member variable doc comment
(#39) Missing member variable doc comment
(#40) Missing member variable doc comment
(#41) Missing member variable doc comment
(#42) Missing member variable doc comment
(#43) Missing member variable doc comment
(#44) Missing member variable doc comment
(#47) Missing docblock for function __construct
mod/offlinequiz/report/rimport/pagenumberscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#33) Missing @copyright tag
(#33) Missing @license tag
(#33) Missing docblock for class offlinequiz_pagenumberscanner
(#36) Missing docblock for function scan_page_number
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Missing docblock for function find_positions
(#61) Short array syntax must be used to define arrays
mod/offlinequiz/report/rimport/pagepositionscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#27) Missing @copyright tag
(#27) Missing @license tag
(#27) Missing docblock for class offlinequiz_pagepositionscanner
(#29) Missing member variable doc comment
(#30) Missing member variable doc comment
(#32) Missing docblock for function __construct
(#41) Missing docblock for function scanposition
(#49) Line exceeds 132 characters; contains 134 characters
(#50) Line exceeds 132 characters; contains 151 characters
(#51) Line exceeds 132 characters; contains 135 characters
(#51) There should be a comma after the last array item in a multi-line array.
(#64) Line exceeds 132 characters; contains 135 characters
(#65) Line exceeds 132 characters; contains 135 characters
(#73) Missing docblock for function calculatepositions
(#73) Expected 0 spaces after "calculatepositions"; 1 found
(#76) Line exceeds 132 characters; contains 153 characters
(#77) Line exceeds 132 characters; contains 153 characters
(#81) Line exceeds 132 characters; contains 145 characters
(#82) Line exceeds 132 characters; contains 145 characters
(#87) Line exceeds 132 characters; contains 143 characters
(#88) Line exceeds 132 characters; contains 146 characters
(#93) Line exceeds 132 characters; contains 135 characters
(#103) Missing docblock for function findcross
(#114) Line exceeds 132 characters; contains 141 characters
(#116) Line exceeds 132 characters; contains 163 characters
(#121) Line exceeds 132 characters; contains 162 characters
mod/offlinequiz/report/rimport/pagesaver.php
(#20) Incorrect @package tag for file pagesaver.php. Expected offlinequiz_rimport, found mod.
(#33) Missing docblock for class offlinequiz_page_saver
(#36) Missing docblock for function save_page_information
(#67) Missing docblock for function save_choices
(#70) Short array syntax must be used to define arrays
(#77) Missing docblock for function get_results_for_db
(#80) Short array syntax must be used to define arrays
(#98) Missing docblock for function save_status
(#102) Short array syntax must be used to define arrays
(#117) Missing docblock for function save_user_id
(#124) Short array syntax must be used to define arrays
(#131) Missing docblock for function save_pagenumber
(#134) Short array syntax must be used to define arrays
(#139) Missing docblock for function save_group_number
(#142) Short array syntax must be used to define arrays
(#148) Missing docblock for function save_page_corners
(#150) Short array syntax must be used to define arrays
(#170) Missing docblock for function update_corner
(#179) Missing docblock for function get_fitting_corner_name
mod/offlinequiz/report/rimport/point.php
(#1) Missing docblock for file point.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#19) Missing docblock for class offlinequiz_point
(#21) Missing member variable doc comment
(#22) Missing member variable doc comment
(#27) You must use "/**" style comments for a member variable comment
(#29) Missing docblock for function __construct
(#37) Missing docblock for function getx
(#41) Missing docblock for function gety
(#44) Missing docblock for function isfound
(#47) Missing docblock for function getdistance
(#53) Missing docblock for function pixelisblack
mod/offlinequiz/report/rimport/positionslib.php
(#1) Missing docblock for file positionslib.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#37) Missing docblock for function calculatewithoutadjustment
(#44) Missing docblock for function add_with_adjustment
(#56) Missing docblock for function add
(#62) Missing docblock for function getdiagonalangle
(#67) Missing docblock for function calculatepoint
(#79) Missing docblock for function calculatepointangle
(#87) Missing docblock for function calculatepointlength
(#90) Missing docblock for function calculate_point_relative_to_corner
mod/offlinequiz/report/rimport/report.php
(#20) Incorrect @package tag for file report.php. Expected offlinequiz_rimport, found mod.
(#34) Missing docblock for class offlinequiz_rimport_report
(#36) Missing member variable doc comment
(#46) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#199) Short array syntax must be used to define arrays
(#219) No one-line description found in phpdocs for docblock of function extract_pdf_to_tiff
(#236) Missing docblock for function convert_black_white
mod/offlinequiz/report/rimport/resultsaver.php
(#20) Incorrect @package tag for file resultsaver.php. Expected offlinequiz_rimport, found mod.
(#39) Missing docblock for class offlinequiz_resultsaver
(#42) Missing docblock for function create_or_update_result_in_db
(#50) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#107) Missing docblock for function get_result_exists_errors
(#141) Short array syntax must be used to define arrays
(#144) This comment is 50% valid code; is this commented out code?
(#151) Missing docblock for function results_have_same_crosses
(#151) Expected 0 spaces after "results_have_same_crosses"; 1 found
(#162) Duplicate array key found. The value will be overwritten. The string array key "scannedpageid1" was first seen on line 162
(#180) Short array syntax must be used to define arrays
(#193) Short array syntax must be used to define arrays
(#239) Missing docblock for function get_result_id
(#248) Missing docblock for function get_userid_by_userkey
(#255) Missing docblock for function save_page_status
mod/offlinequiz/report/rimport/resultscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#32) Missing @copyright tag
(#32) Missing @license tag
(#32) Missing docblock for class offlinequiz_resultscanner
(#33) Missing member variable doc comment
(#35) Missing docblock for function __construct
(#40) Missing docblock for function scanresults
(#78) Missing docblock for function get_max_answers
(#94) Missing docblock for function get_answer_counts
(#108) Missing docblock for function get_number_of_columns
(#108) Expected 0 spaces after "get_number_of_columns"; 1 found
(#117) Missing docblock for function get_questions_per_page
(#121) Missing docblock for function get_question_cell
(#130) Missing docblock for function calculate_result
mod/offlinequiz/report/rimport/scanner.php
(#20) Incorrect @package tag for file scanner.php. Expected offlinequiz_rimport, found mod.
(#50) Missing member variable doc comment
(#51) Missing member variable doc comment
(#52) Missing member variable doc comment
(#53) Missing member variable doc comment
(#54) Missing member variable doc comment
(#107) Missing member variable doc comment
(#108) Missing member variable doc comment
(#109) Missing member variable doc comment
(#110) Missing member variable doc comment
(#111) Missing member variable doc comment
(#112) Missing member variable doc comment
(#113) Missing member variable doc comment
(#114) Missing member variable doc comment
(#115) Missing member variable doc comment
(#116) Missing member variable doc comment
(#117) Missing member variable doc comment
(#118) Missing member variable doc comment
(#119) Missing member variable doc comment
(#120) Missing member variable doc comment
(#121) Missing member variable doc comment
(#122) Missing member variable doc comment
(#123) Missing member variable doc comment
(#124) Missing member variable doc comment
(#125) Missing member variable doc comment
(#126) You must use "/**" style comments for a member variable comment
(#126) Inline comments must start with a capital letter, digit or 3-dots sequence
(#127) You must use "/**" style comments for a member variable comment
(#128) You must use "/**" style comments for a member variable comment
(#129) You must use "/**" style comments for a member variable comment
(#130) You must use "/**" style comments for a member variable comment
(#131) You must use "/**" style comments for a member variable comment
(#132) Missing member variable doc comment
(#133) You must use "/**" style comments for a member variable comment
(#134) Missing member variable doc comment
(#135) Missing member variable doc comment
(#136) Missing member variable doc comment
(#137) Missing member variable doc comment
(#138) Missing member variable doc comment
(#139) Missing member variable doc comment
(#140) Missing member variable doc comment
(#141) Missing member variable doc comment
(#142) You must use "/**" style comments for a member variable comment
(#143) You must use "/**" style comments for a member variable comment
(#144) Missing member variable doc comment
(#145) Missing member variable doc comment
(#189) Short array syntax must be used to define arrays
(#265) Short array syntax must be used to define arrays
(#273) Logical operator "and" is prohibited; use "&&" instead
(#281) Short array syntax must be used to define arrays
(#285) Logical operator "and" is prohibited; use "&&" instead
(#288) Logical operator "and" is prohibited; use "&&" instead
(#293) Short array syntax must be used to define arrays
(#297) Logical operator "and" is prohibited; use "&&" instead
(#300) Logical operator "and" is prohibited; use "&&" instead
(#305) Short array syntax must be used to define arrays
(#309) Logical operator "and" is prohibited; use "&&" instead
(#312) Logical operator "and" is prohibited; use "&&" instead
(#317) Short array syntax must be used to define arrays
(#321) Logical operator "and" is prohibited; use "&&" instead
(#324) Logical operator "and" is prohibited; use "&&" instead
(#364) Expected "if (...) {\n"; found "if(...) {\n"
(#478) Short array syntax must be used to define arrays
(#578) Short array syntax must be used to define arrays
(#600) Short array syntax must be used to define arrays
(#620) Short array syntax must be used to define arrays
(#848) Short array syntax must be used to define arrays
(#849) Short array syntax must be used to define arrays
(#902) Logical operator "or" is prohibited; use "||" instead
(#903) Logical operator "or" is prohibited; use "||" instead
(#903) Logical operator "or" is prohibited; use "||" instead
(#904) Logical operator "or" is prohibited; use "||" instead
(#918) Logical operator "or" is prohibited; use "||" instead
(#1001) Short array syntax must be used to define arrays
(#1037) Short array syntax must be used to define arrays
(#1099) Logical operator "or" is prohibited; use "||" instead
(#1128) Short array syntax must be used to define arrays
(#1131) Short array syntax must be used to define arrays
(#1172) Short array syntax must be used to define arrays
(#1214) Short array syntax must be used to define arrays
(#1282) Logical operator "and" is prohibited; use "&&" instead
(#1297) Logical operator "and" is prohibited; use "&&" instead
(#1318) Logical operator "and" is prohibited; use "&&" instead
(#1336) Logical operator "or" is prohibited; use "||" instead
(#1382) Short array syntax must be used to define arrays
(#1418) Logical operator "and" is prohibited; use "&&" instead
(#1430) Logical operator "and" is prohibited; use "&&" instead
(#1511) Logical operator "or" is prohibited; use "||" instead
(#1530) Short array syntax must be used to define arrays
(#1579) Logical operator "or" is prohibited; use "||" instead
(#1609) Short array syntax must be used to define arrays
(#1625) Logical operator "and" is prohibited; use "&&" instead
(#1649) Missing docblock for function set_maxanswers
(#1699) Short array syntax must be used to define arrays
(#1735) Short array syntax must be used to define arrays
(#1738) Short array syntax must be used to define arrays
mod/offlinequiz/report/rimport/scanner2.php
(#32) Missing @copyright tag
(#32) Missing @license tag
(#32) Missing docblock for class offlinequiz_result_engine
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#38) Missing member variable doc comment
(#39) Missing member variable doc comment
(#40) Missing member variable doc comment
(#41) Missing member variable doc comment
(#42) Missing member variable doc comment
(#44) Missing docblock for function __construct
(#61) Missing docblock for function scanpage
(#87) Missing docblock for function save_page
mod/offlinequiz/report/rimport/studentidscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#27) Missing @copyright tag
(#27) Missing @license tag
(#27) Missing docblock for class offlinequiz_studentid_scanner
(#29) Missing member variable doc comment
(#31) Missing docblock for function __construct
(#31) Expected 1 space after "function"; 2 found
(#35) Missing docblock for function scan_studentid
(#52) Missing docblock for function extract_number
(#57) Missing docblock for function scannumber
(#73) Missing docblock for function calculate_student_id_middles
(#75) Short array syntax must be used to define arrays
mod/offlinequiz/report/rimport/upload_form.php
(#20) Incorrect @package tag for file upload_form.php. Expected offlinequiz_rimport, found mod.
(#33) Missing docblock for class offlinequiz_upload_form
(#35) Missing docblock for function definition
(#43) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
mod/offlinequiz/report/rimport/version.php
(#20) Incorrect @package tag for file version.php. Expected offlinequiz_rimport, found mod.
mod/offlinequiz/report/statistics/classes/privacy/provider.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Missing @copyright tag
(#21) Missing @license tag
(#21) Missing docblock for class provider
(#29) There must not be a space before the colon in a return type declaration
mod/offlinequiz/report/statistics/db/access.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#34) There should be a comma after the last array item in a multi-line array.
(#36) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/report/statistics/db/install.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/report/statistics/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/report/statistics/lang/en/offlinequiz_statistics.php
(#95) The string key "questionstatsfilename" is not in the correct order, it should be before "questionstatsheader"
(#97) The string key "offlinequizinformation" is not in the correct order, it should be before "questiontype"
(#115) The string key "statisticsreport" is not in the correct order, it should be before "statsoverviewheader"
(#117) The string key "statistics:view" is not in the correct order, it should be before "statisticsreportgraph"
mod/offlinequiz/report/statistics/lib.php
(#20) Incorrect @package tag for file lib.php. Expected offlinequiz_statistics, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
mod/offlinequiz/report/statistics/qstats.php
(#20) Incorrect @package tag for file qstats.php. Expected offlinequiz_statistics, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Missing member variable doc comment
(#40) Missing member variable doc comment
(#40) Short array syntax must be used to define arrays
(#42) Missing member variable doc comment
(#43) Missing member variable doc comment
(#44) Missing member variable doc comment
(#49) Missing member variable doc comment
(#50) Missing member variable doc comment
(#50) Short array syntax must be used to define arrays
(#74) No one-line description found in phpdocs for docblock of function make_blank_question_stats
(#88) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#134) Whitespace found at end of line within string
(#143) Missing docblock for function compute_statistics
(#146) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#187) Short array syntax must be used to define arrays
(#264) Expected "if (...) {\n"; found "if(...) {\n"
(#423) No one-line description found in phpdocs for docblock of function get_random_guess_score
mod/offlinequiz/report/statistics/report.php
(#47) You must use "/**" style comments for a member variable comment
(#70) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#99) Logical operator "and" is prohibited; use "&&" instead
(#107) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#197) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#430) Short array syntax must be used to define arrays
(#437) Short array syntax must be used to define arrays
(#473) Short array syntax must be used to define arrays
(#486) Short array syntax must be used to define arrays
(#500) Short array syntax must be used to define arrays
(#514) No one-line description found in phpdocs for docblock of function render_question_text
(#522) Short array syntax must be used to define arrays
(#530) No one-line description found in phpdocs for docblock of function render_question_text_plain
(#541) Short array syntax must be used to define arrays
(#682) Missing docblock for function get_formatted_offlinequiz_info_data
(#684) Short array syntax must be used to define arrays
(#711) Short array syntax must be used to define arrays
(#812) Line exceeds 132 characters; contains 145 characters
(#819) Line exceeds 132 characters; contains 151 characters
(#829) Missing docblock for function output_response_data
(#830) Short array syntax must be used to define arrays
(#831) Short array syntax must be used to define arrays
(#844) Short array syntax must be used to define arrays
(#845) Short array syntax must be used to define arrays
(#868) Short array syntax must be used to define arrays
(#870) Short array syntax must be used to define arrays
(#873) Short array syntax must be used to define arrays
(#894) Short array syntax must be used to define arrays
(#895) Short array syntax must be used to define arrays
(#926) Short array syntax must be used to define arrays
(#950) Short array syntax must be used to define arrays
(#951) Short array syntax must be used to define arrays
(#953) Short array syntax must be used to define arrays
(#1078) Short array syntax must be used to define arrays
(#1130) Short array syntax must be used to define arrays
(#1157) Short array syntax must be used to define arrays
(#1161) Short array syntax must be used to define arrays
(#1166) Short array syntax must be used to define arrays
(#1175) Short array syntax must be used to define arrays
(#1177) Short array syntax must be used to define arrays
(#1179) Short array syntax must be used to define arrays
(#1193) Short array syntax must be used to define arrays
(#1278) Short array syntax must be used to define arrays
(#1281) Missing docblock for function analyse_responses
(#1287) Short array syntax must be used to define arrays
(#1314) No one-line description found in phpdocs for docblock of function everything_download_options
(#1319) Short array syntax must be used to define arrays
(#1362) Short array syntax must be used to define arrays
(#1386) Short array syntax must be used to define arrays
(#1390) Short array syntax must be used to define arrays
(#1412) No one-line description found in phpdocs for docblock of function using_attempts_string
(#1421) Missing docblock for function offlinequiz_statistics_attempts_sql
(#1428) Short array syntax must be used to define arrays
(#1446) Short array syntax must be used to define arrays
mod/offlinequiz/report/statistics/responseanalysis.php
(#21) Incorrect @package tag for file responseanalysis.php. Expected offlinequiz_statistics, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Missing member variable doc comment
(#53) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#81) No one-line description found in phpdocs for docblock of function has_subparts
(#89) No one-line description found in phpdocs for docblock of function has_response_classes
(#103) No one-line description found in phpdocs for docblock of function has_actual_responses
(#175) Short array syntax must be used to define arrays
mod/offlinequiz/report/statistics/statistics_form.php
(#38) Missing docblock for function definition
mod/offlinequiz/report/statistics/statistics_graph.php
(#45) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#123) There should be a comma after the last array item in a multi-line array.
(#125) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#135) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/report/statistics/statistics_question_answer_table.php
(#46) Expected "int" but found "integer" for @var tag in member variable comment
(#56) Missing docblock for function set_questiondata
(#74) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#348) Short array syntax must be used to define arrays
(#369) Expected "if (...) {\n"; found "if(...) {\n"
(#370) Line indented incorrectly; expected at least 16 spaces, found 12
(#393) Missing docblock for function wrap_html_start
(#393) Expected 1 space after "function"; 2 found
(#396) Short array syntax must be used to define arrays
(#401) Missing docblock for function wrap_html_finish
mod/offlinequiz/report/statistics/statistics_question_table.php
(#73) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#105) Missing docblock for function format_percentage
mod/offlinequiz/report/statistics/statistics_table.php
(#42) Expected "int" but found "integer" for @var tag in member variable comment
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#280) Missing docblock for function wrap_html_start
(#280) Expected 1 space after "function"; 2 found
(#283) Short array syntax must be used to define arrays
(#288) Missing docblock for function wrap_html_finish
(#301) Short array syntax must be used to define arrays
mod/offlinequiz/report/statistics/statisticslib.php
(#22) Incorrect @package tag for file statisticslib.php. Expected offlinequiz_statistics, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Missing docblock for function mod_offlinequiz_create_common_statistics_headers
(#60) Missing docblock for function mod_offlinequiz_print_column_stats_name
(#63) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
mod/offlinequiz/review.php
(#20) Incorrect @package tag for file review.php. Expected mod_offlinequiz, found mod.
(#36) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#50) Line exceeds 132 characters; contains 143 characters
(#71) Logical operator "and" is prohibited; use "&&" instead
(#72) Logical operator "and" is prohibited; use "&&" instead
(#73) Logical operator "and" is prohibited; use "&&" instead
(#94) Short array syntax must be used to define arrays
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#137) Logical operator "and" is prohibited; use "&&" instead
(#142) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Logical operator "or" is prohibited; use "||" instead
(#160) Logical operator "or" is prohibited; use "||" instead
(#165) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#194) Line exceeds 132 characters; contains 143 characters
(#210) Short array syntax must be used to define arrays
(#218) Short array syntax must be used to define arrays
(#228) Logical operator "and" is prohibited; use "&&" instead
(#257) Short array syntax must be used to define arrays
(#262) Short array syntax must be used to define arrays
(#263) There should be a comma after the last array item in a multi-line array.
(#264) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/reviewquestion.php
(#21) Incorrect @package tag for file reviewquestion.php. Expected mod_offlinequiz, found mod.
(#37) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#80) Line exceeds 132 characters; contains 140 characters
mod/offlinequiz/settings.php
(#20) Incorrect @package tag for file settings.php. Expected mod_offlinequiz, found mod.
(#51) Expected "if (...) {\n"; found "if(...) {\n"
(#59) Expected "if (...) {\n"; found "if(...) {\n"
(#75) There should be a comma after the last array item in a multi-line array.
(#77) Whitespace found at end of line
(#101) Line exceeds 132 characters; contains 146 characters
(#131) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
mod/offlinequiz/settingslib.php
(#20) Incorrect @package tag for file settingslib.php. Expected mod_offlinequiz, found mod.
(#42) Missing docblock for constant mod_offlinequiz_admin_review_setting::IMMEDIATELY_AFTER
(#43) Missing docblock for constant mod_offlinequiz_admin_review_setting::LATER_WHILE_OPEN
(#44) Missing docblock for constant mod_offlinequiz_admin_review_setting::AFTER_CLOSE
(#47) Expected "bool|null" but found "boolean|null" for @var tag in member variable comment
(#57) Short array syntax must be used to define arrays
(#65) There should be a comma after the last array item in a multi-line array.
(#86) No one-line description found in phpdocs for docblock of function all_on
(#90) Missing docblock for function times
(#91) Short array syntax must be used to define arrays
(#92) There should be a comma after the last array item in a multi-line array.
(#174) Missing docblock for function validate
(#200) Short array syntax must be used to define arrays
mod/offlinequiz/sheetlib.php
(#16) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#18) Missing @copyright tag
(#18) Missing @license tag
(#18) Missing docblock for function offlinequiz_sheetlib_initialize_headers
mod/offlinequiz/tests/behat/behat_mod_offlinequiz.php
(#20) Incorrect @package tag for file behat_mod_offlinequiz.php. Expected mod_offlinequiz, found mod.
mod/offlinequiz/tutorial.php
(#20) Incorrect @package tag for file tutorial.php. Expected mod_offlinequiz, found mod.
(#36) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#45) Commas (,) must be followed by white space.
(#45) Commas (,) must be followed by white space.
(#54) Expected "if (...) {\n"; found "if(...) {\n"
(#54) Commas (,) must be followed by white space.
(#58) Expected "while (...) {\n"; found "while(...) {\n"
(#64) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#64) Expected "if (...) {\n"; found "if(...) {\n"
(#68) Expected 1 space before "="; 0 found
(#68) Expected 1 space after "="; 0 found
(#68) Expected 1 space before "<"; 0 found
(#68) Expected 1 space after "<"; 0 found
(#69) Commas (,) must be followed by white space.
(#69) Commas (,) must be followed by white space.
(#70) Expected 1 space before "+"; 0 found
(#70) Expected 1 space after "+"; 0 found
(#73) Expected 1 space before "="; 0 found
(#73) Expected 1 space after "="; 0 found
(#73) Expected 1 space before "<="; 0 found
(#73) Expected 1 space after "<="; 0 found
(#78) Whitespace found at end of line
(#89) Expected "if (...) {\n"; found "if(...) {\n"
(#92) Expected "if (...) {\n"; found "if(...) {\n"
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) No space found before comment text; expected "// The user guessed right, we show him the next page" but found "//The user guessed right, we show him the next page"
(#102) Expected 1 space before "+"; 0 found
(#102) Expected 1 space after "+"; 0 found
(#107) Whitespace found at end of line
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) Whitespace found at end of line
(#132) Commas (,) must be followed by white space.
(#137) Commas (,) must be followed by white space.
(#140) File must end with a newline character
mod/offlinequiz/version.php
(#1) No one-line description found in phpdocs for docblock of file version.php
mod/offlinequiz/view.php
(#20) Incorrect @package tag for file view.php. Expected mod_offlinequiz, found mod.
(#46) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#69) There should be a comma after the last array item in a multi-line array.
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Line exceeds 132 characters; contains 135 characters
(#132) Expected 1 space after "=>"; 0 found
(#132) Line exceeds 132 characters; contains 136 characters
(#136) Whitespace found at end of line within string
(#139) Commas (,) must be followed by white space.
(#140) Commas (,) must be followed by white space.
(#140) Line exceeds 132 characters; contains 149 characters
(#144) Whitespace found at end of line within string
(#145) Whitespace found at end of line within string
(#148) Commas (,) must be followed by white space.
(#152) Whitespace found at end of line within string
(#153) Whitespace found at end of line within string
(#156) Commas (,) must be followed by white space.
(#160) Whitespace found at end of line within string
(#161) Whitespace found at end of line within string
(#164) Commas (,) must be followed by white space.
(#168) Whitespace found at end of line within string
(#169) Whitespace found at end of line within string
(#172) Commas (,) must be followed by white space.
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) There should be a comma after the last array item in a multi-line array.
(#284) There should be a comma after the last array item in a multi-line array.
(#319) Expected "if (...) {\n"; found "if(...) {\n"
(#326) Line exceeds 132 characters; contains 167 characters
(#329) Expected "if (...) {\n"; found "if(...) {\n"
(#333) Whitespace found at end of line
(#335) Line exceeds 132 characters; contains 134 characters
(#341) Expected "if (...) {\n"; found "if(...) {\n"
(#361) Expected "if (...) {\n"; found "if(...) {\n"
(#363) Usage of ELSEIF not allowed; use ELSE IF instead
(#378) Expected "if (...) {\n"; found "if(...) {\n"
(#380) Usage of ELSEIF not allowed; use ELSE IF instead
(#402) Line exceeds 132 characters; contains 149 characters
(#403) Expected "if (...) {\n"; found "if(...) {\n"
(#405) Usage of ELSEIF not allowed; use ELSE IF instead
(#429) Short array syntax must be used to define arrays
(#440) Logical operator "and" is prohibited; use "&&" instead
(#450) Short array syntax must be used to define arrays
(#459) Short array syntax must be used to define arrays
(#468) Short array syntax must be used to define arrays

Javascript coding style problems

(122 errors, 365 warnings)

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

mod/offlinequiz/mod_form.js
(#27) Function 'showStudentView' has a complexity of 30. Maximum allowed is 20. (complexity)
(#27) 'showStudentView' is defined but never used. (no-unused-vars)
(#28) 'attempt' is not defined. (no-undef)
(#29) This line has a length of 135. Maximum allowed is 132. (max-len)
(#29) 'correctness' is not defined. (no-undef)
(#30) 'marks' is not defined. (no-undef)
(#31) This line has a length of 150. Maximum allowed is 132. (max-len)
(#31) 'specificfeedback' is not defined. (no-undef)
(#32) This line has a length of 147. Maximum allowed is 132. (max-len)
(#32) 'generalfeedback' is not defined. (no-undef)
(#33) This line has a length of 135. Maximum allowed is 132. (max-len)
(#33) 'rightanswer' is not defined. (no-undef)
(#34) 'sheet' is not defined. (no-undef)
(#35) This line has a length of 135. Maximum allowed is 132. (max-len)
(#35) 'gradedsheet' is not defined. (no-undef)
(#37) 'baseurl' is not defined. (no-undef)
(#38) 'imagefile1' is not defined. (no-undef)
(#39) 'imagefile2' is not defined. (no-undef)
(#40) 'imagefile3' is not defined. (no-undef)
(#41) 'pagefile' is not defined. (no-undef)
(#42) 'sheet' is not defined. (no-undef)
(#42) 'gradedsheet' is not defined. (no-undef)
(#43) 'imagefile1' is not defined. (no-undef)
(#43) 'baseurl' is not defined. (no-undef)
(#44) 'pagefile' is not defined. (no-undef)
(#44) 'baseurl' is not defined. (no-undef)
(#47) 'attempt' is not defined. (no-undef)
(#48) 'imagefile1' is not defined. (no-undef)
(#48) 'baseurl' is not defined. (no-undef)
(#49) 'imagefile2' is not defined. (no-undef)
(#49) 'baseurl' is not defined. (no-undef)
(#51) 'correctness' is not defined. (no-undef)
(#52) 'imagefile2' is not defined. (no-undef)
(#52) 'imagefile2' is not defined. (no-undef)
(#54) 'marks' is not defined. (no-undef)
(#55) 'imagefile1' is not defined. (no-undef)
(#55) 'baseurl' is not defined. (no-undef)
(#56) 'imagefile1' is not defined. (no-undef)
(#56) 'imagefile1' is not defined. (no-undef)
(#57) 'imagefile2' is not defined. (no-undef)
(#58) 'imagefile2' is not defined. (no-undef)
(#58) 'imagefile2' is not defined. (no-undef)
(#61) 'specificfeedback' is not defined. (no-undef)
(#62) 'imagefile2' is not defined. (no-undef)
(#62) 'imagefile2' is not defined. (no-undef)
(#63) 'imagefile3' is not defined. (no-undef)
(#63) 'baseurl' is not defined. (no-undef)
(#64) 'imagefile3' is not defined. (no-undef)
(#64) 'imagefile3' is not defined. (no-undef)
(#66) 'generalfeedback' is not defined. (no-undef)
(#67) 'imagefile3' is not defined. (no-undef)
(#68) 'imagefile3' is not defined. (no-undef)
(#68) 'baseurl' is not defined. (no-undef)
(#70) 'imagefile3' is not defined. (no-undef)
(#70) 'imagefile3' is not defined. (no-undef)
(#72) 'rightanswer' is not defined. (no-undef)
(#73) 'imagefile2' is not defined. (no-undef)
(#74) 'imagefile2' is not defined. (no-undef)
(#74) 'baseurl' is not defined. (no-undef)
(#76) 'imagefile3' is not defined. (no-undef)
(#77) 'imagefile3' is not defined. (no-undef)
(#77) 'baseurl' is not defined. (no-undef)
(#79) 'imagefile3' is not defined. (no-undef)
(#79) 'imagefile3' is not defined. (no-undef)
(#82) 'gradedsheet' is not defined. (no-undef)
(#83) 'imagefile1' is not defined. (no-undef)
(#83) 'imagefile1' is not defined. (no-undef)
(#84) 'pagefile' is not defined. (no-undef)
(#84) 'pagefile' is not defined. (no-undef)
(#85) 'sheet' is not defined. (no-undef)
(#86) 'imagefile1' is not defined. (no-undef)
(#86) 'imagefile1' is not defined. (no-undef)
(#87) 'pagefile' is not defined. (no-undef)
(#87) 'pagefile' is not defined. (no-undef)
(#90) 'imagefile1' is not defined. (no-undef)
(#91) 'imagefile1' is not defined. (no-undef)
(#91) 'imagefile1' is not defined. (no-undef)
(#93) 'imagefile2' is not defined. (no-undef)
(#94) 'imagefile2' is not defined. (no-undef)
(#94) 'imagefile2' is not defined. (no-undef)
(#96) 'imagefile3' is not defined. (no-undef)
(#97) 'imagefile3' is not defined. (no-undef)
(#97) 'imagefile3' is not defined. (no-undef)
(#103) 'imagefile1' is not defined. (no-undef)
(#104) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#104) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#104) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#105) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#105) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#105) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#106) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#106) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#106) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#107) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#107) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#107) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#107) 'imagefile1' is not defined. (no-undef)
(#108) 'br' declared on line 117 column 13 is used outside of binding context. (block-scoped-var)
(#108) 'br' declared on line 126 column 13 is used outside of binding context. (block-scoped-var)
(#108) 'br' declared on line 142 column 13 is used outside of binding context. (block-scoped-var)
(#109) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#109) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#109) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#109) 'br' declared on line 117 column 13 is used outside of binding context. (block-scoped-var)
(#109) 'br' declared on line 126 column 13 is used outside of binding context. (block-scoped-var)
(#109) 'br' declared on line 142 column 13 is used outside of binding context. (block-scoped-var)
(#112) 'imagefile2' is not defined. (no-undef)
(#113) 'img' is already defined. (no-redeclare)
(#113) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#113) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#113) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#114) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#114) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#114) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#115) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#115) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#115) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#116) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#116) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#116) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#116) 'imagefile2' is not defined. (no-undef)
(#117) 'br' is already defined. (no-redeclare)
(#117) 'br' declared on line 108 column 13 is used outside of binding context. (block-scoped-var)
(#117) 'br' declared on line 126 column 13 is used outside of binding context. (block-scoped-var)
(#117) 'br' declared on line 142 column 13 is used outside of binding context. (block-scoped-var)
(#118) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#118) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#118) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#118) 'br' declared on line 108 column 13 is used outside of binding context. (block-scoped-var)
(#118) 'br' declared on line 126 column 13 is used outside of binding context. (block-scoped-var)
(#118) 'br' declared on line 142 column 13 is used outside of binding context. (block-scoped-var)
(#121) 'imagefile3' is not defined. (no-undef)
(#122) 'img' is already defined. (no-redeclare)
(#122) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#122) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#122) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#123) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#123) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#123) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#124) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#124) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#124) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#125) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#125) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#125) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#125) 'imagefile3' is not defined. (no-undef)
(#126) 'br' is already defined. (no-redeclare)
(#126) 'br' declared on line 108 column 13 is used outside of binding context. (block-scoped-var)
(#126) 'br' declared on line 117 column 13 is used outside of binding context. (block-scoped-var)
(#126) 'br' declared on line 142 column 13 is used outside of binding context. (block-scoped-var)
(#127) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#127) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#127) 'img' declared on line 136 column 13 is used outside of binding context. (block-scoped-var)
(#127) 'br' declared on line 108 column 13 is used outside of binding context. (block-scoped-var)
(#127) 'br' declared on line 117 column 13 is used outside of binding context. (block-scoped-var)
(#127) 'br' declared on line 142 column 13 is used outside of binding context. (block-scoped-var)
(#130) 'pagefile' is not defined. (no-undef)
(#136) 'img' is already defined. (no-redeclare)
(#136) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#136) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#136) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#137) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#137) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#137) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#138) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#138) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#138) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#138) Multiple spaces found before '// Use style f...'. (no-multi-spaces)
(#139) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#139) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#139) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#139) 'pagefile' is not defined. (no-undef)
(#140) 'img' declared on line 104 column 13 is used outside of binding context. (block-scoped-var)
(#140) 'img' declared on line 113 column 13 is used outside of binding context. (block-scoped-var)
(#140) 'img' declared on line 122 column 13 is used outside of binding context. (block-scoped-var)
(#142) 'br' is already defined. (no-redeclare)
(#142) 'br' declared on line 108 column 13 is used outside of binding context. (block-scoped-var)
(#142) 'br' declared on line 117 column 13 is used outside of binding context. (block-scoped-var)
(#142) 'br' declared on line 126 column 13 is used outside of binding context. (block-scoped-var)
(#143) 'br' declared on line 108 column 13 is used outside of binding context. (block-scoped-var)
(#143) 'br' declared on line 117 column 13 is used outside of binding context. (block-scoped-var)
(#143) 'br' declared on line 126 column 13 is used outside of binding context. (block-scoped-var)
(#153) Trailing spaces not allowed. (no-trailing-spaces)
(#155) A space is required after ','. (comma-spacing)
(#158) Trailing spaces not allowed. (no-trailing-spaces)
(#165) Trailing spaces not allowed. (no-trailing-spaces)
(#166) Expected a conditional expression and instead saw an assignment. (no-cond-assign)
(#166) 'child' is not defined. (no-undef)
(#167) 'child' is not defined. (no-undef)
(#178) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#186) Missing semicolon. (semi)
mod/offlinequiz/module.js
(#27) Identifier 'mod_offlinequiz' is not in camel case. (camelcase)
(#29) Identifier 'init_attempt_form' is not in camel case. (camelcase)
(#35) Identifier 'init_review_form' is not in camel case. (camelcase)
(#37) Statement inside of curly braces should be on next line. (brace-style)
(#37) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#40) Identifier 'init_comment_popup' is not in camel case. (camelcase)
(#45) Statement inside of curly braces should be on next line. (brace-style)
(#45) Missing semicolon. (semi)
(#45) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#46) Missing semicolon. (semi)
(#79) 'e' is defined but never used. (no-unused-vars)
(#88) Identifier 'two_digit' is not in camel case. (camelcase)
(#109) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#145) Identifier 'update_flag_state' is not in camel case. (camelcase)
(#151) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#164) Move function declaration to function body root. (no-inner-declarations)
(#164) Identifier 'find_enabled_submit' is not in camel case. (camelcase)
(#174) Move function declaration to function body root. (no-inner-declarations)
(#174) Identifier 'nav_to_page' is not in camel case. (camelcase)
(#182) Unnecessary semicolon. (no-extra-semi)
(#211) 'nav_to_page' is not defined. (no-undef)
(#220) Identifier 'secure_window' is not in camel case. (camelcase)
(#226) Multiple spaces found before 'M'. (no-multi-spaces)
(#227) Multiple spaces found before 'M'. (no-multi-spaces)
(#228) Multiple spaces found before 'M'. (no-multi-spaces)
(#230) Multiple spaces found before 'M'. (no-multi-spaces)
(#231) Multiple spaces found before 'M'. (no-multi-spaces)
(#232) Multiple spaces found before 'M'. (no-multi-spaces)
(#233) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#248) Identifier 'clear_status' is not in camel case. (camelcase)
(#254) Unexpected alert. (no-alert)
(#254) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#258) Identifier 'prevent_mouse' is not in camel case. (camelcase)
(#269) Identifier 'start_attempt_action' is not in camel case. (camelcase)
(#271) 'openpopup' is not defined. (no-undef)
(#276) 'openpopup' is not defined. (no-undef)
(#283) Identifier 'init_close_button' is not in camel case. (camelcase)
(#284) 'e' is defined but never used. (no-unused-vars)
(#285) Missing semicolon. (semi)
mod/offlinequiz/report/statistics/doublescroll.js
(#28) Identifier 'offlinequiz_statistics' is not in camel case. (camelcase)
(#28) 'offlinequiz_statistics' is assigned a value but never used. (no-unused-vars)
(#30) Identifier 'offlinequiz_statistics_init_doublescroll' is not in camel case. (camelcase)
(#30) 'offlinequiz_statistics_init_doublescroll' is defined but never used. (no-unused-vars)
(#30) 'Y' is defined but never used. (no-unused-vars)
(#31) 'jQuery' is not defined. (no-undef)
(#35) '$' is not defined. (no-undef)
(#36) 'width' is not defined. (no-undef)
(#36) '$' is not defined. (no-undef)
(#37) '$' is not defined. (no-undef)
(#37) 'width' is not defined. (no-undef)
(#41) Identifier 'offlinequiz_statistics_init_fxheader' is not in camel case. (camelcase)
(#41) 'offlinequiz_statistics_init_fxheader' is defined but never used. (no-unused-vars)
(#41) 'Y' is defined but never used. (no-unused-vars)
(#42) 'fxheaderInit' is not defined. (no-undef)
(#43) 'fxheader' is not defined. (no-undef)
mod/offlinequiz/yui/src/autosave/js/autosave.js
(#29) Identifier 'mod_offlinequiz' is not in camel case. (camelcase)
(#145) Identifier 'delay_timer' is not in camel case. (camelcase)
(#154) Identifier 'save_transaction' is not in camel case. (camelcase)
(#174) Identifier 'editor_change_handler' is not in camel case. (camelcase)
(#183) Identifier 'hidden_field_values' is not in camel case. (camelcase)
(#202) Multiple spaces found before 'this'. (no-multi-spaces)
(#202) Multiple spaces found before 'this'. (no-multi-spaces)
(#211) Identifier 'save_hidden_field_values' is not in camel case. (camelcase)
(#213) Multiple spaces found before '='. (no-multi-spaces)
(#221) Identifier 'watch_hidden_fields' is not in camel case. (camelcase)
(#226) Identifier 'detect_hidden_field_changes' is not in camel case. (camelcase)
(#228) Multiple spaces found before '='. (no-multi-spaces)
(#252) Identifier 'init_tinymce' is not in camel case. (camelcase)
(#263) Identifier 'editor_change_handler' is not in camel case. (camelcase)
(#274) Identifier 'init_tinymce_editor' is not in camel case. (camelcase)
(#282) Identifier 'value_changed' is not in camel case. (camelcase)
(#294) Identifier 'editor_changed' is not in camel case. (camelcase)
(#299) Identifier 'start_save_timer_if_necessary' is not in camel case. (camelcase)
(#310) Identifier 'start_save_timer' is not in camel case. (camelcase)
(#312) Identifier 'delay_timer' is not in camel case. (camelcase)
(#315) Identifier 'cancel_delay' is not in camel case. (camelcase)
(#319) Identifier 'delay_timer' is not in camel case. (camelcase)
(#322) Identifier 'save_changes' is not in camel case. (camelcase)
(#336) Identifier 'save_transaction' is not in camel case. (camelcase)
(#347) Identifier 'save_done' is not in camel case. (camelcase)
(#356) Identifier 'save_transaction' is not in camel case. (camelcase)
(#373) Identifier 'save_failed' is not in camel case. (camelcase)
(#375) Identifier 'save_transaction' is not in camel case. (camelcase)
(#387) Identifier 'is_time_nearly_over' is not in camel case. (camelcase)
(#392) Identifier 'stop_autosaving' is not in camel case. (camelcase)
(#394) Identifier 'delay_timer' is not in camel case. (camelcase)
mod/offlinequiz/yui/src/dragdrop/js/dragdrop.js
(#7) 'CSS' is already defined as a built-in global variable. (no-redeclare)
(#20) Extra space after key 'PAGE'. (key-spacing)
mod/offlinequiz/yui/src/dragdrop/js/resource.js
(#61) Identifier 'setup_for_section' is not in camel case. (camelcase)
(#82) Identifier 'setup_for_resource' is not in camel case. (camelcase)
(#94) Identifier 'drag_start' is not in camel case. (camelcase)
(#101) Identifier 'drag_dropmiss' is not in camel case. (camelcase)
(#108) Identifier 'drop_hit' is not in camel case. (camelcase)
(#132) ["class"] is better written in dot notation. (dot-notation)
(#179) Identifier 'global_drop_over' is not in camel case. (camelcase)
(#236) Identifier 'mod_offlinequiz' is not in camel case. (camelcase)
(#237) Identifier 'init_resource_dragdrop' is not in camel case. (camelcase)
mod/offlinequiz/yui/src/dragdrop/js/section.js
(#14) Expected to return a value at the end of method 'initializer'. (consistent-return)
(#16) There should be no space after '['. (array-bracket-spacing)
(#16) There should be no space before ']'. (array-bracket-spacing)
(#58) Identifier 'setup_for_section' is not in camel case. (camelcase)
(#94) Identifier 'drag_start' is not in camel case. (camelcase)
(#105) There should be no space after this paren. (space-in-parens)
(#113) Identifier 'drag_dropmiss' is not in camel case. (camelcase)
(#120) Identifier 'get_section_index' is not in camel case. (camelcase)
(#129) Identifier 'drop_hit' is not in camel case. (camelcase)
(#180) ["class"] is better written in dot notation. (dot-notation)
(#203) Empty block statement. (no-empty)
(#245) Missing space before value for key 'context'. (key-spacing)
(#270) Identifier 'mod_offlinequiz' is not in camel case. (camelcase)
(#271) Identifier 'init_section_dragdrop' is not in camel case. (camelcase)
mod/offlinequiz/yui/src/modform/js/modform.js
(#16) Unexpected space before function parentheses. (space-before-function-paren)
(#40) Identifier 'mod_offlinequiz' is not in camel case. (camelcase)
mod/offlinequiz/yui/src/offlinequizbase/js/offlinequizbase.js
(#14) Extra space after key 'registermodules'. (key-spacing)
(#23) Identifier 'register_module' is not in camel case. (camelcase)
(#23) Extra space after key 'register_module'. (key-spacing)
(#37) Identifier 'invoke_function' is not in camel case. (camelcase)
(#37) Extra space after key 'invoke_function'. (key-spacing)
(#48) Extra space after key 'NAME'. (key-spacing)
(#49) Extra space after key 'ATTRS'. (key-spacing)
(#53) Identifier 'mod_offlinequiz' is not in camel case. (camelcase)
(#67) Identifier 'swap_sections' is not in camel case. (camelcase)
(#69) Extra space after key 'COURSECONTENT'. (key-spacing)
(#70) Extra space after key 'SECTIONADDMENUS'. (key-spacing)
(#90) Identifier 'process_sections' is not in camel case. (camelcase)
(#92) Extra space after key 'SECTIONNAME'. (key-spacing)
(#95) Extra space after key 'SECTIONLEFTSIDE'. (key-spacing)
(#138) Identifier 'get_config' is not in camel case. (camelcase)
(#140) Identifier 'container_node' is not in camel case. (camelcase)
(#140) Extra space after key 'container_node'. (key-spacing)
(#141) Identifier 'container_class' is not in camel case. (camelcase)
(#141) Extra space after key 'container_class'. (key-spacing)
(#142) Identifier 'section_node' is not in camel case. (camelcase)
(#142) Extra space after key 'section_node'. (key-spacing)
(#143) Identifier 'section_class' is not in camel case. (camelcase)
(#143) Extra space after key 'section_class'. (key-spacing)
(#153) Identifier 'get_section_selector' is not in camel case. (camelcase)
(#171) Identifier 'get_section_wrapper' is not in camel case. (camelcase)
(#184) Identifier 'get_containernode' is not in camel case. (camelcase)
(#184) Expected to return a value at the end of function. (consistent-return)
(#199) Identifier 'get_containerclass' is not in camel case. (camelcase)
(#199) Expected to return a value at the end of function. (consistent-return)
(#214) Identifier 'get_sectionwrappernode' is not in camel case. (camelcase)
(#228) Identifier 'get_sectionwrapperclass' is not in camel case. (camelcase)
(#242) Identifier 'get_sectionnode' is not in camel case. (camelcase)
(#242) Expected to return a value at the end of function. (consistent-return)
(#257) Identifier 'get_sectionclass' is not in camel case. (camelcase)
(#257) Expected to return a value at the end of function. (consistent-return)
mod/offlinequiz/yui/src/questionchooser/js/questionchooser.js
(#1) 'CSS' is already defined as a built-in global variable. (no-redeclare)
(#26) Identifier 'display_dialogue' is not in camel case. (camelcase)
(#50) Expected space(s) after "for". (keyword-spacing)
(#53) There should be no space before this paren. (space-in-parens)
(#59) Identifier 'parameters_to_hidden_input' is not in camel case. (camelcase)
(#77) Identifier 'mod_offlinequiz' is not in camel case. (camelcase)
(#78) Identifier 'init_questionchooser' is not in camel case. (camelcase)
(#79) Identifier 'question_chooser' is not in camel case. (camelcase)
mod/offlinequiz/yui/src/randomquestion/js/randomquestion.js
(#27) 'CSS' is already defined as a built-in global variable. (no-redeclare)
(#48) Extra space after key 'headerContent'. (key-spacing)
(#49) Extra space after key 'bodyContent'. (key-spacing)
(#50) Extra space after key 'draggable'. (key-spacing)
(#51) Extra space after key 'modal'. (key-spacing)
(#52) Extra space after key 'zIndex'. (key-spacing)
(#59) There should be no space after '{'. (object-curly-spacing)
(#59) There should be no space before '}'. (object-curly-spacing)
(#64) Extra space after key 'initializer'. (key-spacing)
(#68) Identifier 'display_dialogue' is not in camel case. (camelcase)
(#68) Extra space after key 'display_dialogue'. (key-spacing)
(#68) Unexpected space before function parentheses. (space-before-function-paren)
(#78) Identifier 'mod_offlinequiz' is not in camel case. (camelcase)
mod/offlinequiz/yui/src/repaginate/js/repaginate.js
(#27) 'CSS' is already defined as a built-in global variable. (no-redeclare)
(#46) Extra space after key 'initializer'. (key-spacing)
(#55) Identifier 'display_dialog' is not in camel case. (camelcase)
(#55) Extra space after key 'display_dialog'. (key-spacing)
(#55) Unexpected space before function parentheses. (space-before-function-paren)
(#60) Extra space after key 'headerContent'. (key-spacing)
(#61) Extra space after key 'bodyContent'. (key-spacing)
(#62) Extra space after key 'draggable'. (key-spacing)
(#63) Extra space after key 'modal'. (key-spacing)
(#64) Extra space after key 'zIndex'. (key-spacing)
(#73) There should be no space after '{'. (object-curly-spacing)
(#73) There should be no space before '}'. (object-curly-spacing)
(#79) Identifier 'mod_offlinequiz' is not in camel case. (camelcase)
mod/offlinequiz/yui/src/toolboxes/js/resource.js
(#75) Identifier 'initialise_select_multiple' is not in camel case. (camelcase)
(#90) Missing space before opening brace. (space-before-blocks)
(#108) Identifier 'handle_data_action' is not in camel case. (camelcase)
(#155) Identifier 'add_spinner' is not in camel case. (camelcase)
(#173) Identifier 'delete_with_confirmation' is not in camel case. (camelcase)
(#178) Multiple spaces found before '='. (no-multi-spaces)
(#230) Identifier 'edit_maxmark' is not in camel case. (camelcase)
(#230) Extra space after key 'edit_maxmark'. (key-spacing)
(#233) Multiple spaces found before '='. (no-multi-spaces)
(#239) A space is required after ','. (comma-spacing)
(#241) Extra space after key 'class'. (key-spacing)
(#242) Extra space after key 'field'. (key-spacing)
(#243) Extra space after key 'id'. (key-spacing)
(#264) Extra space after key 'value'. (key-spacing)
(#265) Extra space after key 'autocomplete'. (key-spacing)
(#266) Extra space after key 'aria-describedby'. (key-spacing)
(#267) Extra space after key 'maxLength'. (key-spacing)
(#268) Extra space after key 'size'. (key-spacing)
(#310) Identifier 'edit_maxmark_submit' is not in camel case. (camelcase)
(#310) Extra space after key 'edit_maxmark_submit'. (key-spacing)
(#319) Extra space after key 'class'. (key-spacing)
(#320) Extra space after key 'field'. (key-spacing)
(#321) Extra space after key 'maxmark'. (key-spacing)
(#322) Extra space after key 'id'. (key-spacing)
(#341) Identifier 'edit_maxmark_cancel' is not in camel case. (camelcase)
(#341) Extra space after key 'edit_maxmark_cancel'. (key-spacing)
(#355) Identifier 'edit_maxmark_clear' is not in camel case. (camelcase)
(#355) Extra space after key 'edit_maxmark_clear'. (key-spacing)
(#395) Identifier 'update_page_break' is not in camel case. (camelcase)
(#431) Identifier 'reorganise_edit_page' is not in camel case. (camelcase)
(#437) Extra space after key 'NAME'. (key-spacing)
(#438) Extra space after key 'ATTRS'. (key-spacing)
(#439) Extra space after key 'courseid'. (key-spacing)
(#440) Extra space after key 'value'. (key-spacing)
(#442) Extra space after key 'offlinequizid'. (key-spacing)
(#443) Extra space after key 'value'. (key-spacing)
(#445) Extra space after key 'offlinegroupid'. (key-spacing)
(#446) Extra space after key 'value'. (key-spacing)
(#451) Identifier 'resource_toolbox' is not in camel case. (camelcase)
(#452) Identifier 'init_resource_toolbox' is not in camel case. (camelcase)
(#453) Identifier 'resource_toolbox' is not in camel case. (camelcase)
mod/offlinequiz/yui/src/toolboxes/js/section.js
(#45) Extra space after key 'initializer'. (key-spacing)
(#53) Identifier 'toggle_hide_section' is not in camel case. (camelcase)
(#53) Extra space after key 'toggle_hide_section'. (key-spacing)
(#83) Extra space after key 'alt'. (key-spacing)
(#84) Extra space after key 'src'. (key-spacing)
(#90) Extra space after key 'class'. (key-spacing)
(#91) Extra space after key 'field'. (key-spacing)
(#92) Extra space after key 'id'. (key-spacing)
(#94) Extra space after key 'value'. (key-spacing)
(#118) Multiple spaces found before '{'. (no-multi-spaces)
(#119) Extra space after key 'NAME'. (key-spacing)
(#120) Extra space after key 'ATTRS'. (key-spacing)
(#121) Extra space after key 'courseid'. (key-spacing)
(#122) Extra space after key 'value'. (key-spacing)
(#124) Extra space after key 'offlinequizid'. (key-spacing)
(#125) Extra space after key 'value'. (key-spacing)
(#127) Extra space after key 'offlinegroupid'. (key-spacing)
(#128) Extra space after key 'value'. (key-spacing)
(#130) Extra space after key 'format'. (key-spacing)
(#131) Extra space after key 'value'. (key-spacing)
(#136) Identifier 'init_section_toolbox' is not in camel case. (camelcase)
mod/offlinequiz/yui/src/toolboxes/js/toolbox.js
(#12) 'CSS' is already defined as a built-in global variable. (no-redeclare)
(#13) Extra space after key 'ACTIVITYINSTANCE'. (key-spacing)
(#14) Extra space after key 'AVAILABILITYINFODIV'. (key-spacing)
(#15) Extra space after key 'CONTENTWITHOUTLINK'. (key-spacing)
(#16) Extra space after key 'CONDITIONALHIDDEN'. (key-spacing)
(#17) Extra space after key 'DIMCLASS'. (key-spacing)
(#18) Extra space after key 'DIMMEDTEXT'. (key-spacing)
(#19) Extra space after key 'EDITINSTRUCTIONS'. (key-spacing)
(#21) Extra space after key 'HIDE'. (key-spacing)
(#23) Extra space after key 'MODINDENTCOUNT'. (key-spacing)
(#24) Extra space after key 'MODINDENTHUGE'. (key-spacing)
(#25) Extra space after key 'MODULEIDPREFIX'. (key-spacing)
(#27) Extra space after key 'SECTIONHIDDENCLASS'. (key-spacing)
(#28) Extra space after key 'SECTIONIDPREFIX'. (key-spacing)
(#29) Extra space after key 'SLOT'. (key-spacing)
(#30) Extra space after key 'SHOW'. (key-spacing)
(#31) Extra space after key 'TITLEEDITOR'. (key-spacing)
(#36) Extra space after key 'ACTIONLINKTEXT'. (key-spacing)
(#37) Extra space after key 'ACTIVITYACTION'. (key-spacing)
(#38) Extra space after key 'ACTIVITYFORM'. (key-spacing)
(#39) Extra space after key 'ACTIVITYICON'. (key-spacing)
(#40) Extra space after key 'ACTIVITYINSTANCE'. (key-spacing)
(#42) Extra space after key 'ACTIVITYLI'. (key-spacing)
(#43) Extra space after key 'ACTIVITYMAXMARK'. (key-spacing)
(#44) Extra space after key 'COMMANDSPAN'. (key-spacing)
(#45) Extra space after key 'CONTENTAFTERLINK'. (key-spacing)
(#46) Extra space after key 'CONTENTWITHOUTLINK'. (key-spacing)
(#49) Extra space after key 'HIDE'. (key-spacing)
(#50) Extra space after key 'HIGHLIGHT'. (key-spacing)
(#51) Extra space after key 'INSTANCENAME'. (key-spacing)
(#52) Extra space after key 'INSTANCEMAXMARK'. (key-spacing)
(#53) Extra space after key 'MODINDENTDIV'. (key-spacing)
(#54) Extra space after key 'MODINDENTOUTER'. (key-spacing)
(#55) Extra space after key 'NUMQUESTIONS'. (key-spacing)
(#56) Extra space after key 'PAGECONTENT'. (key-spacing)
(#57) Extra space after key 'PAGELI'. (key-spacing)
(#58) Extra space after key 'SECTIONUL'. (key-spacing)
(#59) Extra space after key 'SELECTMULTIPLECHECKBOX'. (key-spacing)
(#62) Extra space after key 'SHOW'. (key-spacing)
(#63) Extra space after key 'SHOWHIDE'. (key-spacing)
(#64) Extra space after key 'SLOTLI'. (key-spacing)
(#65) Extra space after key 'SUMMARKS'. (key-spacing)
(#70) Identifier 'mod_offlinequiz' is not in camel case. (camelcase)
(#96) Identifier 'send_request' is not in camel case. (camelcase)
(#96) Identifier 'success_callback' is not in camel case. (camelcase)
(#124) Empty block statement. (no-empty)
(#134) Identifier 'success_callback' is not in camel case. (camelcase)
mod/offlinequiz/yui/src/util/js/page.js
(#196) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
mod/offlinequiz/yui/src/util/js/slot.js
(#422) Expected catch,fail,always() or return (promise/catch-or-return)
(#423) Each then() should return a value or throw (promise/always-return)
(#432) Expected catch,fail,always() or return (promise/catch-or-return)
(#433) Each then() should return a value or throw (promise/always-return)

CSS problems

(76 errors, 1 warnings)

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

mod/offlinequiz/styles.css
(#743) Invalid value for "background" (csstree/validator)
(#1356) Expected empty line before at-rule (at-rule-empty-line-before)
(#1356) Expected single space before "{" (block-opening-brace-space-before)
(#739) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#741) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#742) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#743) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#744) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#1429) Unexpected duplicate "margin-bottom" (declaration-block-no-duplicate-properties)
(#1455) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#739) Expected newline after ":" with a multi-line declaration (declaration-colon-newline-after)
(#1348) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1349) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#100) Unexpected !important (declaration-no-important)
(#365) Unexpected !important (declaration-no-important)
(#418) Unexpected !important (declaration-no-important)
(#456) Unexpected !important (declaration-no-important)
(#498) Unexpected !important (declaration-no-important)
(#628) Unexpected !important (declaration-no-important)
(#1358) Unexpected !important (declaration-no-important)
(#739) Expected newline after "," in a multi-line function (function-comma-newline-after)
(#739) Expected newline after "," in a multi-line function (function-comma-newline-after)
(#739) Expected newline after "," in a multi-line function (function-comma-newline-after)
(#739) Expected newline after "," in a multi-line function (function-comma-newline-after)
(#739) Expected newline after "," in a multi-line function (function-comma-newline-after)
(#738) Expected single space after "," in a single-line function (function-comma-space-after)
(#741) Expected single space after "," in a single-line function (function-comma-space-after)
(#741) Expected single space after "," in a single-line function (function-comma-space-after)
(#742) Expected single space after "," in a single-line function (function-comma-space-after)
(#742) Expected single space after "," in a single-line function (function-comma-space-after)
(#743) Expected single space after "," in a single-line function (function-comma-space-after)
(#743) Expected single space after "," in a single-line function (function-comma-space-after)
(#744) Expected single space after "," in a single-line function (function-comma-space-after)
(#744) Expected single space after "," in a single-line function (function-comma-space-after)
(#745) Expected single space after "," in a single-line function (function-comma-space-after)
(#739) Expected newline after "(" in a multi-line function (function-parentheses-newline-inside)
(#740) Expected newline before ")" in a multi-line function (function-parentheses-newline-inside)
(#745) Unexpected whitespace after "(" in a single-line function (function-parentheses-space-inside)
(#745) Unexpected whitespace before ")" in a single-line function (function-parentheses-space-inside)
(#1128) Expected line length to be no more than 132 characters (max-line-length)
(#1128) Expected newline after "," (selector-list-comma-newline-after)
(#740) Expected indentation of 4 spaces (indentation)
(#756) Expected indentation of 4 spaces (indentation)
(#757) Expected indentation of 4 spaces (indentation)
(#758) Expected indentation of 4 spaces (indentation)
(#763) Expected indentation of 4 spaces (indentation)
(#764) Expected indentation of 4 spaces (indentation)
(#949) Expected indentation of 4 spaces (indentation)
(#950) Expected indentation of 4 spaces (indentation)
(#996) Expected indentation of 4 spaces (indentation)
(#997) Expected indentation of 4 spaces (indentation)
(#998) Expected indentation of 4 spaces (indentation)
(#999) Expected indentation of 4 spaces (indentation)
(#1065) Expected indentation of 4 spaces (indentation)
(#1066) Expected indentation of 4 spaces (indentation)
(#1067) Expected indentation of 4 spaces (indentation)
(#1129) Expected indentation of 4 spaces (indentation)
(#1130) Expected indentation of 4 spaces (indentation)
(#1131) Expected indentation of 4 spaces (indentation)
(#1132) Expected indentation of 4 spaces (indentation)
(#1133) Expected indentation of 4 spaces (indentation)
(#1154) Expected indentation of 4 spaces (indentation)
(#1155) Expected indentation of 4 spaces (indentation)
(#1156) Expected indentation of 4 spaces (indentation)
(#1157) Expected indentation of 4 spaces (indentation)
(#1161) Expected indentation of 4 spaces (indentation)
(#1162) Expected indentation of 4 spaces (indentation)
(#1176) Expected indentation of 4 spaces (indentation)
(#1177) Expected indentation of 4 spaces (indentation)
(#1178) Expected indentation of 4 spaces (indentation)
(#1179) Expected indentation of 4 spaces (indentation)
(#1180) Expected indentation of 4 spaces (indentation)
(#1281) Expected indentation of 4 spaces (indentation)
(#1284) Expected indentation of 4 spaces (indentation)
(#1315) Expected indentation of 4 spaces (indentation)
(#1316) Expected indentation of 4 spaces (indentation)
(#1317) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(150 errors, 0 warnings)

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

mod/offlinequiz/accessmanager.php
(#181) Phpdocs for function offlinequiz_access_manager::get_load_sql has incomplete parameters list
(#319) Phpdocs for function offlinequiz_access_manager::prevent_new_attempt has incomplete parameters list
(#393) Phpdocs for function offlinequiz_access_manager::is_finished has incomplete parameters list
(#501) Phpdocs for function offlinequiz_access_manager::make_review_link has incomplete parameters list
(#67) Inline phpdocs tag {@link offlinequiz_access_rule_base} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#129) Inline phpdocs tag {@link add_settings_form_fields()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/backup/moodle2/backup_offlinequiz_activity_task.class.php
(#66) Phpdocs for function backup_offlinequiz_activity_task::encode_content_links has incomplete parameters list
mod/offlinequiz/backup/moodle2/restore_offlinequiz_activity_task.class.php
(#92) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#94) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#174) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#176) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/classes/output/edit_renderer.php
(#50) Phpdocs for function edit_renderer::edit_page has incomplete parameters list
(#198) Phpdocs for function edit_renderer::offlinequiz_group_selector has incomplete parameters list
(#297) Phpdocs for function edit_renderer::repaginate_button has incomplete parameters list
(#1077) Phpdocs for function edit_renderer::render_question_chooser has incomplete parameters list
(#54) Inline phpdocs tag {@link question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#502) Inline phpdocs tag {@link core_course_renderer::offlinequiz_section_question()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#507) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#528) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#561) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#584) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#620) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#661) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#725) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1109) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1142) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1243) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1297) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/classes/privacy/provider.php
(#643) Phpdocs for function provider::delete_results has incomplete parameters list
mod/offlinequiz/classes/question/bank/custom_view.php
(#66) Phpdocs for function custom_view::__construct has incomplete parameters list
(#188) Phpdocs for function custom_view::display_bottom_controls has incomplete parameters list
mod/offlinequiz/classes/repaginate.php
(#57) Phpdocs for function repaginate::__construct has incomplete parameters list
mod/offlinequiz/db/upgradelib.php
(#467) Phpdocs for function offlinequiz_ilog_upgrader::get_pic_name has incomplete parameters list
(#51) Inline phpdocs tag {@link prevent_timeout()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#516) Inline phpdocs tag {@link prevent_timeout()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/docxlib.php
(#41) Phpdocs for function offlinequiz_print_blocks_docx has incomplete parameters list
(#437) Phpdocs for function offlinequiz_create_docx_question has incomplete parameters list
mod/offlinequiz/evallib.php
(#325) Phpdocs for function offlinequiz_process_scanned_page has incomplete parameters list
(#793) Phpdocs for function offlinequiz_check_scanned_participants_page has incomplete parameters list
mod/offlinequiz/html2text.php
(#40) Phpdocs for function offlinequiz_html_translator::fix_image_paths has incomplete parameters list
mod/offlinequiz/latexlib.php
(#39) Phpdocs for function offlinequiz_create_latex_question has incomplete parameters list
mod/offlinequiz/lib.php
(#262) Phpdocs for function offlinequiz_get_editor_options has incomplete parameters list
(#338) Phpdocs for function offlinequiz_question_preview_pluginfile has incomplete parameters list
(#373) Phpdocs for function offlinequiz_answertext_preview_pluginfile has incomplete parameters list
(#397) Phpdocs for function offlinequiz_send_answertext_file has incomplete parameters list
(#874) Phpdocs for function offlinequiz_scale_used has incomplete parameters list
(#896) Phpdocs for function offlinequiz_scale_used_anywhere has incomplete parameters list
(#942) Phpdocs for function offlinequiz_update_events has incomplete parameters list
(#1166) Phpdocs for function offlinequiz_update_grades has incomplete parameters list
(#1297) Phpdocs for function offlinequiz_get_user_results has incomplete parameters list
(#547) Inline phpdocs tag {@link offlinequiz_num_attempt_summary()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/locallib.php
(#107) Phpdocs for function offlinequiz_question_usage_by_activity::load_from_records has incomplete parameters list
(#291) Phpdocs for function offlinequiz_load_questions_usage_by_activity has incomplete parameters list
(#423) Phpdocs for function offlinequiz_get_slot_for_question has incomplete parameters list
(#632) Phpdocs for function offlinequiz_get_maxanswers has incomplete parameters list
(#679) Phpdocs for function offlinequiz_repaginate_questions has incomplete parameters list
(#711) Phpdocs for function offlinequiz_shuffle_questions has incomplete parameters list
(#736) Phpdocs for function offlinequiz_delete_scanned_page has incomplete parameters list
(#770) Phpdocs for function offlinequiz_delete_scanned_p_page has incomplete parameters list
(#825) Phpdocs for function offlinequiz_delete_result has incomplete parameters list
(#861) Phpdocs for function offlinequiz_update_question_instance has incomplete parameters list
(#1086) Phpdocs for function offlinequiz_results_open has incomplete parameters list
(#1215) Phpdocs for function offlinequiz_update_sumgrades has incomplete parameters list
(#1251) Phpdocs for function offlinequiz_rescale_grade has incomplete parameters list
(#1314) Phpdocs for function offlinequiz_add_group has incomplete parameters list
(#1380) Phpdocs for function mod_offlinequiz_display_options::make_from_offlinequiz has incomplete parameters list
(#1424) Phpdocs for function offlinequiz_get_review_options has incomplete parameters list
(#1473) Phpdocs for function offlinequiz_get_combined_reviewoptions has incomplete parameters list
(#1507) Phpdocs for function offlinequiz_question_edit_button has incomplete parameters list
(#1555) Phpdocs for function offlinequiz_question_edit_setup has incomplete parameters list
(#1739) Phpdocs for function offlinequiz_delete_template_usages has incomplete parameters list
(#1778) Phpdocs for function offlinequiz_print_question_preview has incomplete parameters list
(#2256) Phpdocs for function offlinequiz_question_tostring has incomplete parameters list
(#2312) Phpdocs for function offlinequiz_add_questionlist_to_group has incomplete parameters list
(#2420) Phpdocs for function offlinequiz_add_random_questions has incomplete parameters list
(#289) Inline phpdocs tag {@link question_usage_by_activity} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#290) Inline phpdocs tag {@link question_attempt} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#986) Inline phpdocs tag {@link qubaid_condition} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1381) Inline phpdocs tag {@link DURING} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1381) Inline phpdocs tag {@link IMMEDIATELY_AFTER} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1382) Inline phpdocs tag {@link LATER_WHILE_OPEN} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1382) Inline phpdocs tag {@link AFTER_CLOSE} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/mod_form.php
(#290) Phpdocs for function mod_offlinequiz_mod_form::data_preprocessing has incomplete parameters list
(#354) Phpdocs for function mod_offlinequiz_mod_form::validation has incomplete parameters list
mod/offlinequiz/offlinequiz.class.php
(#81) Phpdocs for function offlinequiz::create has incomplete parameters list
(#263) Phpdocs for function offlinequiz::has_capability has incomplete parameters list
(#270) Phpdocs for function offlinequiz::require_capability has incomplete parameters list
(#308) Phpdocs for function offlinequiz::start_attempt_url has incomplete parameters list
(#403) Phpdocs for function offlinequiz::ensure_question_loaded has incomplete parameters list
(#119) Inline phpdocs tag {@link preload_questions()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#140) Inline phpdocs tag {@link \mod_offlinequiz\structure} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/participants/participants_report.php
(#33) Phpdocs for function participants_report::error_report has incomplete parameters list
mod/offlinequiz/pdflib.php
(#407) Phpdocs for function offlinequiz_print_question_html has incomplete parameters list
(#522) Phpdocs for function offlinequiz_create_pdf_question has incomplete parameters list
(#400) Inline phpdocs tag {@link qtype_multichoice:;get_numbering_styles()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/report/correct/report.php
(#174) Phpdocs for function offlinequiz_correct_report::display has incomplete parameters list
(#252) Phpdocs for function offlinequiz_correct_report::extract_pdf_to_tiff has incomplete parameters list
mod/offlinequiz/report/default.php
(#46) Phpdocs for function offlinequiz_default_report::display has incomplete parameters list
(#99) Phpdocs for function offlinequiz_default_report::get_current_group has incomplete parameters list
(#115) Phpdocs for function offlinequiz_default_report::add_to_tabs has incomplete parameters list
mod/offlinequiz/report/overview/report.php
(#37) Phpdocs for function offlinequiz_overview_report::display has incomplete parameters list
mod/offlinequiz/report/reportlib.php
(#41) Phpdocs for function offlinequiz_report_list has incomplete parameters list
(#155) Phpdocs for function offlinequiz_report_scale_summarks_as_percentage has incomplete parameters list
(#177) Phpdocs for function offlinequiz_report_scale_grade has incomplete parameters list
mod/offlinequiz/report/rimport/boxscanner.php
(#36) Phpdocs for function pixelcountboxscanner::scan_box has incomplete parameters list
(#97) Phpdocs for function weighted_diagonal_box_scanner::scan_box has incomplete parameters list
mod/offlinequiz/report/rimport/report.php
(#37) Phpdocs for function offlinequiz_rimport_report::display has incomplete parameters list
(#216) Phpdocs for function offlinequiz_rimport_report::extract_pdf_to_tiff has incomplete parameters list
mod/offlinequiz/report/rimport/resultsaver.php
(#127) Phpdocs for function offlinequiz_resultsaver::clone_template_usage has incomplete parameters list
(#169) Phpdocs for function offlinequiz_resultsaver::submit_scanned_page_to_result has incomplete parameters list
mod/offlinequiz/report/rimport/scanner.php
(#506) Phpdocs for function offlinequiz_page_scanner::load_stored_image has incomplete parameters list
(#839) Phpdocs for function offlinequiz_page_scanner::hotspot_value has incomplete parameters list
(#1405) Phpdocs for function offlinequiz_page_scanner::adjust has incomplete parameters list
mod/offlinequiz/report/statistics/db/upgrade.php
(#29) Phpdocs for function xmldb_offlinequiz_statistics_upgrade has incomplete parameters list
mod/offlinequiz/report/statistics/qstats.php
(#54) Phpdocs for function offlinequiz_statistics_question_stats::__construct has incomplete parameters list
(#96) Phpdocs for function offlinequiz_statistics_question_stats::load_step_data has incomplete parameters list
(#350) Phpdocs for function offlinequiz_statistics_question_stats::secondary_steps_walker has incomplete parameters list
mod/offlinequiz/report/statistics/report.php
(#52) Phpdocs for function offlinequiz_statistics_report::display has incomplete parameters list
(#423) Phpdocs for function offlinequiz_statistics_report::print_offlinequiz_group_selector has incomplete parameters list
(#450) Phpdocs for function offlinequiz_statistics_report::output_individual_question_data has incomplete parameters list
(#527) Phpdocs for function offlinequiz_statistics_report::render_question_text_plain has incomplete parameters list
(#768) Phpdocs for function offlinequiz_statistics_report::output_offlinequiz_question_answer_table has incomplete parameters list
(#789) Phpdocs for function offlinequiz_statistics_report::output_question_answers has incomplete parameters list
(#915) Phpdocs for function offlinequiz_statistics_report::output_statistics_graph has incomplete parameters list
(#934) Phpdocs for function offlinequiz_statistics_report::get_emtpy_stats has incomplete parameters list
(#959) Phpdocs for function offlinequiz_statistics_report::compute_stats has incomplete parameters list
(#1199) Phpdocs for function offlinequiz_statistics_report::cache_stats has incomplete parameters list
(#1326) Phpdocs for function offlinequiz_statistics_report::output_caching_info has incomplete parameters list
(#1377) Phpdocs for function offlinequiz_statistics_report::clear_cached_data has incomplete parameters list
(#1452) Phpdocs for function offlinequiz_statistics_qubaids_condition has incomplete parameters list
(#862) Inline phpdocs tag {@link get_formatted_offlinequiz_info_data()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#881) Inline phpdocs tag {@link get_formatted_offlinequiz_info_data()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1450) Inline phpdocs tag {@link qubaid_condition} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1451) Inline phpdocs tag {@link offlinequiz_statistics_attempts_sql} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/report/statistics/responseanalysis.php
(#122) Phpdocs for function offlinequiz_statistics_response_analyser::analyse has incomplete parameters list
(#47) Inline phpdocs tag {@link question_type::get_possible_responses()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/report/statistics/statistics_question_answer_table.php
(#381) Phpdocs for function offlinequiz_question_answer_statistics_table::is_dubious_question has incomplete parameters list
(#415) Phpdocs for function offlinequiz_question_answer_statistics_table::col_correct has incomplete parameters list
(#429) Phpdocs for function offlinequiz_question_answer_statistics_table::col_partially has incomplete parameters list
(#443) Phpdocs for function offlinequiz_question_answer_statistics_table::col_wrong has incomplete parameters list
mod/offlinequiz/report/statistics/statistics_question_table.php
(#49) Phpdocs for function offlinequiz_statistics_question_table::__construct has incomplete parameters list
(#60) Phpdocs for function offlinequiz_statistics_question_table::question_setup has incomplete parameters list
mod/offlinequiz/report/statistics/statistics_table.php
(#268) Phpdocs for function offlinequiz_statistics_table::is_dubious_question has incomplete parameters list
(#309) Phpdocs for function offlinequiz_statistics_table::col_correct has incomplete parameters list
(#322) Phpdocs for function offlinequiz_statistics_table::col_partially has incomplete parameters list
(#334) Phpdocs for function offlinequiz_statistics_table::col_wrong has incomplete parameters list
mod/offlinequiz/settingslib.php
(#123) Phpdocs for function mod_offlinequiz_admin_review_setting::write_setting has incomplete parameters list
(#135) Phpdocs for function mod_offlinequiz_admin_review_setting::output_html has incomplete parameters list
(#38) Inline phpdocs tag {@link mod_offlinequiz_display_options} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#52) Inline phpdocs tag {@link mod_offlinequiz_mod_form::$reviewfields} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

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

shifter problems

(6 errors, 0 warnings)

This section shows problems detected by shifter [More info]

mod/offlinequiz/yui/src/toolboxes/js/section.js
contains 1 lint errors
mod/offlinequiz/yui/src/repaginate/js/repaginate.js
contains 3 lint errors
mod/offlinequiz/yui/src/randomquestion/js/randomquestion.js
contains 2 lint errors
mod/offlinequiz/yui/src/questionchooser/js/questionchooser.js
contains 7 lint errors
mod/offlinequiz/yui/src/dragdrop/js/resource.js
contains 1 lint errors
mod/offlinequiz/yui/src/autosave/js/autosave.js
contains 2 lint errors

Mustache template problems

(1 errors, 36 warnings)

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

mod/offlinequiz/templates/question_chooser.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 9: Bad value “” for attribute “action” on element “form”: Must be non-empty. ( <form action="" id="chooserform" method=""> )
(#1) HTML Validation error, line 9: Bad value “” for attribute “method” on element “form”. ( <form action="" id="chooserform" method=""> )
mod/offlinequiz/templates/question_slot_grading.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
mod/offlinequiz/templates/teacher_view.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/teacher_view_attendancelists.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/teacher_view_attendancesummary.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/teacher_view_editquestion.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/teacher_view_resultsublist.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/teacher_view_statistics.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/teacher_view_step.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li> )
(#1) HTML Validation error, line 8: The “aria-owns” attribute must point to an element in the same document. ( <div class="courseindex-section dropready" aria-owns="prepcollapse" tabindex="-1"> )
(#1) HTML Validation error, line 10: The “aria-controls” attribute must point to an element in the same document. ( <a data-toggle="collapse" href="#prepcollapse" class="courseindex-chevron icons-collapse-expand " aria-controls="prepcollapse" tabindex="-1"> )
mod/offlinequiz/templates/teacher_view_upload.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/tutorial_navigation.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/tutorial_page-1.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 20: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. (an> <img class="questionimage" src="./pix/tutorial/questionnaire.svg"> )
mod/offlinequiz/templates/tutorial_page-2.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 8: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. (gin: 2em"><img class="answerimage" src="./pix/tutorial/answers_marked.svg"></p>)
(#1) HTML Validation error, line 18: Bad value “1” for attribute “border” on element “img”: Only “0” is a permitted zero literal. ("answer1"><img src="./pix/tutorial/checkbox_light.svg" border="1"></labe)
(#1) HTML Validation error, line 18: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ("answer1"><img src="./pix/tutorial/checkbox_light.svg" border="1"></labe)
(#1) HTML Validation info, line 18: The “border” attribute is obsolete. Consider specifying “img { border: 0; }” in CSS instead. ("answer1"><img src="./pix/tutorial/checkbox_light.svg" border="1"></labe)
(#1) HTML Validation error, line 19: Bad value “1” for attribute “border” on element “img”: Only “0” is a permitted zero literal. ("answer2"><img src="./pix/tutorial/checkbox_marked.svg" border="1"></labe)
(#1) HTML Validation error, line 19: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ("answer2"><img src="./pix/tutorial/checkbox_marked.svg" border="1"></labe)
(#1) HTML Validation info, line 19: The “border” attribute is obsolete. Consider specifying “img { border: 0; }” in CSS instead. ("answer2"><img src="./pix/tutorial/checkbox_marked.svg" border="1"></labe)
(#1) HTML Validation error, line 20: Bad value “1” for attribute “border” on element “img”: Only “0” is a permitted zero literal. ("answer3"><img src="./pix/tutorial/checkbox_bold.svg" border="1"></labe)
(#1) HTML Validation error, line 20: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ("answer3"><img src="./pix/tutorial/checkbox_bold.svg" border="1"></labe)
(#1) HTML Validation info, line 20: The “border” attribute is obsolete. Consider specifying “img { border: 0; }” in CSS instead. ("answer3"><img src="./pix/tutorial/checkbox_bold.svg" border="1"></labe)
(#1) HTML Validation error, line 21: Bad value “1” for attribute “border” on element “img”: Only “0” is a permitted zero literal. ("answer4"><img src="./pix/tutorial/checkbox_empty.svg" border="1"></labe)
(#1) HTML Validation error, line 21: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ("answer4"><img src="./pix/tutorial/checkbox_empty.svg" border="1"></labe)
(#1) HTML Validation info, line 21: The “border” attribute is obsolete. Consider specifying “img { border: 0; }” in CSS instead. ("answer4"><img src="./pix/tutorial/checkbox_empty.svg" border="1"></labe)
(#1) HTML Validation error, line 22: Bad value “1” for attribute “border” on element “img”: Only “0” is a permitted zero literal. ("answer5"><img src="./pix/tutorial/checkbox_deleted.svg" border="1"></labe)
(#1) HTML Validation error, line 22: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ("answer5"><img src="./pix/tutorial/checkbox_deleted.svg" border="1"></labe)
(#1) HTML Validation info, line 22: The “border” attribute is obsolete. Consider specifying “img { border: 0; }” in CSS instead. ("answer5"><img src="./pix/tutorial/checkbox_deleted.svg" border="1"></labe)
mod/offlinequiz/templates/tutorial_page-3.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 8: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. (z+))</p><img class="questionimg" src="./pix/tutorial/answerform.svg"><p>()
mod/offlinequiz/templates/tutorial_page-4.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 6: Stray end tag “hp”. (inequiz+))</hp><scr)
(#1) HTML Validation info, line 8: The “type” attribute is unnecessary for JavaScript resources. (+))</hp><script type="text/javascript">var m)
(#1) HTML Validation error, line 52: Start tag “span” seen in “table”. (er-table"><span class="center matnr">((+tut)
(#1) HTML Validation error, line 52: Cannot recover after last error. Any further errors will be ignored. (er-table"><span class="center matnr">((+tut)
mod/offlinequiz/templates/tutorial_page-5.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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