Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

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


PHP coding style problems

(946 errors, 1602 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.
(#50) Short array syntax must be used to define arrays
(#51) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#61) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#64) Logical operator "and" is prohibited; use "&&" instead
(#78) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#86) Short array syntax must be used to define arrays
(#87) There should be a comma after the last array item in a multi-line array.
(#110) 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.
(#145) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#160) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#164) 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
(#50) Short array syntax must be used to define arrays
(#50) 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
(#66) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#91) 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
(#100) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#167) Short array syntax must be used to define arrays
(#170) 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
(#180) Short array syntax must be used to define arrays
(#183) Short array syntax must be used to define arrays
(#186) 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
(#129) Missing docblock for function process_result_question_usage
(#133) Missing docblock for function process_result_question_attempt
(#137) Missing docblock for function process_result_question_attempt_step
(#142) Missing docblock for function process_offlinequiz
(#169) Missing docblock for function process_offlinequiz_group
(#189) Missing docblock for function process_offlinequiz_groupquestion
(#218) Short array syntax must be used to define arrays
(#226) Missing docblock for function process_offlinequiz_scannedpage
(#240) Missing docblock for function process_offlinequiz_choice
(#252) Missing docblock for function process_offlinequiz_corner
(#264) Missing docblock for function process_offlinequiz_scannedppage
(#277) Missing docblock for function process_offlinequiz_pchoice
(#289) Missing docblock for function process_offlinequiz_plist
(#302) Missing docblock for function process_offlinequiz_participant
(#314) Missing docblock for function process_offlinequiz_result
(#335) Missing docblock for function inform_new_usage_id
(#365) 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
(#78) File must end with a newline character
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.
(#118) Commas (,) must be followed by white space.
(#119) Whitespace found at end of line
(#119) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#131) Commas (,) must be followed by white space.
(#146) 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) Short array syntax must be used to define arrays
(#140) Missing docblock for function start_add_to_group_form
(#150) Missing docblock for function add_to_group_button
(#152) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#172) Missing docblock for function end_add_to_group_form
(#178) Missing docblock for function start_grading_form
(#187) Missing docblock for function end_grading_form
(#207) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#219) Short array syntax must be used to define arrays
(#238) Short array syntax must be used to define arrays
(#259) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#276) Short array syntax must be used to define arrays
(#277) Short array syntax must be used to define arrays
(#279) Short array syntax must be used to define arrays
(#283) Short array syntax must be used to define arrays
(#284) Short array syntax must be used to define arrays
(#302) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#311) Short array syntax must be used to define arrays
(#316) There should be a comma after the last array item in a multi-line array.
(#335) Short array syntax must be used to define arrays
(#347) Short array syntax must be used to define arrays
(#354) Short array syntax must be used to define arrays
(#356) Short array syntax must be used to define arrays
(#360) Missing docblock for function select_all_links
(#364) Short array syntax must be used to define arrays
(#370) Short array syntax must be used to define arrays
(#372) There should be a comma after the last array item in a multi-line array.
(#374) Short array syntax must be used to define arrays
(#376) There should be a comma after the last array item in a multi-line array.
(#382) Short array syntax must be used to define arrays
(#388) Missing docblock for function remove_selected_button
(#389) Short array syntax must be used to define arrays
(#391) There should be a comma after the last array item in a multi-line array.
(#394) Short array syntax must be used to define arrays
(#400) There should be a comma after the last array item in a multi-line array.
(#422) Short array syntax must be used to define arrays
(#430) Short array syntax must be used to define arrays
(#452) Short array syntax must be used to define arrays
(#518) Short array syntax must be used to define arrays
(#549) Short array syntax must be used to define arrays
(#572) Short array syntax must be used to define arrays
(#601) Short array syntax must be used to define arrays
(#607) Short array syntax must be used to define arrays
(#632) Short array syntax must be used to define arrays
(#670) Short array syntax must be used to define arrays
(#675) Short array syntax must be used to define arrays
(#677) Short array syntax must be used to define arrays
(#678) Short array syntax must be used to define arrays
(#686) Short array syntax must be used to define arrays
(#687) Short array syntax must be used to define arrays
(#691) Short array syntax must be used to define arrays
(#697) Short array syntax must be used to define arrays
(#703) Short array syntax must be used to define arrays
(#705) Short array syntax must be used to define arrays
(#708) There should be a comma after the last array item in a multi-line array.
(#711) Short array syntax must be used to define arrays
(#712) Short array syntax must be used to define arrays
(#714) Short array syntax must be used to define arrays
(#734) Short array syntax must be used to define arrays
(#735) Short array syntax must be used to define arrays
(#737) Short array syntax must be used to define arrays
(#739) Short array syntax must be used to define arrays
(#741) Short array syntax must be used to define arrays
(#744) Short array syntax must be used to define arrays
(#780) There should be a comma after the last array item in a multi-line array.
(#826) There should be a comma after the last array item in a multi-line array.
(#845) Missing docblock for function question_checkbox
(#859) Short array syntax must be used to define arrays
(#860) Short array syntax must be used to define arrays
(#874) Short array syntax must be used to define arrays
(#902) Short array syntax must be used to define arrays
(#913) Short array syntax must be used to define arrays
(#918) Short array syntax must be used to define arrays
(#933) Short array syntax must be used to define arrays
(#955) Short array syntax must be used to define arrays
(#974) Short array syntax must be used to define arrays
(#983) Short array syntax must be used to define arrays
(#986) Short array syntax must be used to define arrays
(#992) Short array syntax must be used to define arrays
(#994) Short array syntax must be used to define arrays
(#1010) Short array syntax must be used to define arrays
(#1021) Short array syntax must be used to define arrays
(#1024) Short array syntax must be used to define arrays
(#1028) Short array syntax must be used to define arrays
(#1033) Short array syntax must be used to define arrays
(#1035) Short array syntax must be used to define arrays
(#1052) Short array syntax must be used to define arrays
(#1059) Short array syntax must be used to define arrays
(#1064) Short array syntax must be used to define arrays
(#1065) Short array syntax must be used to define arrays
(#1091) Short array syntax must be used to define arrays
(#1102) Short array syntax must be used to define arrays
(#1122) Short array syntax must be used to define arrays
(#1124) There should be a comma after the last array item in a multi-line array.
(#1126) Short array syntax must be used to define arrays
(#1153) Short array syntax must be used to define arrays
(#1160) Short array syntax must be used to define arrays
(#1160) Short array syntax must be used to define arrays
(#1173) Short array syntax must be used to define arrays
(#1173) Short array syntax must be used to define arrays
(#1184) Short array syntax must be used to define arrays
(#1184) Short array syntax must be used to define arrays
(#1193) Short array syntax must be used to define arrays
(#1193) Short array syntax must be used to define arrays
(#1202) Short array syntax must be used to define arrays
(#1223) Short array syntax must be used to define arrays
(#1231) There should be a comma after the last array item in a multi-line array.
(#1261) 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) Opening brace should be on the same line as the declaration for class provider
(#39) Missing docblock for function get_metadata
(#39) There must not be a space before the colon in a return type declaration
(#70) There should be a comma after the last array item in a multi-line array.
(#81) There should be a comma after the last array item in a multi-line array.
(#95) There should be a comma after the last array item in a multi-line array.
(#110) There should be a comma after the last array item in a multi-line array.
(#123) There should be a comma after the last array item in a multi-line array.
(#134) There should be a comma after the last array item in a multi-line array.
(#144) There should be a comma after the last array item in a multi-line array.
(#154) There should be a comma after the last array item in a multi-line array.
(#165) There should be a comma after the last array item in a multi-line array.
(#178) There should be a comma after the last array item in a multi-line array.
(#189) There should be a comma after the last array item in a multi-line array.
(#206) There should be a comma after the last array item in a multi-line array.
(#223) There should be a comma after the last array item in a multi-line array.
(#236) There should be a comma after the last array item in a multi-line array.
(#250) There must not be a space before the colon in a return type declaration
(#293) There should be a comma after the last array item in a multi-line array.
(#356) There should be a comma after the last array item in a multi-line array.
(#365) Missing docblock for function get_users_in_context
(#424) Missing docblock for function export_offlinequiz
(#428) Missing docblock for function export_student_data
(#462) Missing docblock for function get_scanned_p_page_objects
(#478) Missing docblock for function get_results
(#494) Missing docblock for function get_group_name_by_result
(#505) Missing docblock for function get_scanned_pages_objects
(#514) Missing docblock for function export_file
(#524) Missing docblock for function get_scanned_page_object
(#533) Missing docblock for function get_page_corners
(#538) Missing docblock for function get_group
(#551) Missing docblock for function get_group_letter
mod/offlinequiz/classes/question/bank/add_action_column.php
(#20) Incorrect @package tag for file add_action_column.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Missing docblock for function init
(#47) Missing docblock for function get_name
(#51) Missing docblock for function print_icon
(#66) Missing docblock for function display_content
(#77) Missing docblock for function get_required_fields
(#78) Short array syntax must be used to define arrays
mod/offlinequiz/classes/question/bank/checkbox_column.php
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#23) Incorrect @package tag for class checkbox_column. Expected mod_offlinequiz, found mod.
(#31) Missing member variable doc comment
(#33) Missing docblock for function display_content
mod/offlinequiz/classes/question/bank/custom_view.php
(#20) Incorrect @package tag for file custom_view.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#60) Missing docblock for function wanted_columns
(#64) Short array syntax must be used to define arrays
(#104) Missing docblock for function default_sort
(#105) Short array syntax must be used to define arrays
(#124) Missing docblock for function preview_question_url
(#128) Missing docblock for function add_to_offlinequiz_url
(#137) Missing docblock for function offlinequiz_contains
(#188) Short array syntax must be used to define arrays
(#192) There should be a comma after the last array item in a multi-line array.
(#222) Missing docblock for function display_options_form
(#222) Possible useless method overriding detected
(#228) Missing docblock for function print_category_info
(#243) Missing docblock for function display_options
(#248) Short array syntax must be used to define arrays
(#258) Missing docblock for function create_new_question_form
(#283) Whitespace found at end of line
(#290) Whitespace found at end of line
(#314) Line indented incorrectly; expected 4 spaces, found 8
(#314) Closing brace indented incorrectly; expected 4 spaces, found 8
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_text_column.php
(#20) Incorrect @package tag for file question_name_text_column.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Missing docblock for function get_name
(#43) Missing docblock for function display_content
(#60) Missing docblock for function get_required_fields
mod/offlinequiz/classes/question/bank/question_type_column.php
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#23) Incorrect @package tag for class question_type_column. Expected mod_offlinequiz, found mod.
(#31) Missing docblock for function display_content
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.
(#65) File must end with a newline character
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
(#60) File must end with a newline character
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
(#42) File must end with a newline character
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
(#69) File must end with a newline character
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
(#39) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#41) Short array syntax must be used to define arrays
(#42) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#44) Short array syntax must be used to define arrays
(#45) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#48) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#53) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#64) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#47) Short array syntax must be used to define arrays
(#48) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#51) Short array syntax must be used to define arrays
(#52) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#53) Short array syntax must be used to define arrays
(#57) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#59) Short array syntax must be used to define arrays
(#61) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#209) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#286) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#408) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#429) Short array syntax must be used to define arrays
(#458) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#495) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#523) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#976) Logical operator "and" is prohibited; use "&&" instead
(#1138) 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.
(#49) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#71) This comment is 50% valid code; is this commented out code?
(#81) Short array syntax must be used to define arrays
(#87) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#106) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#142) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#150) Whitespace found at end of line
(#157) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#162) There should be a comma after the last array item in a multi-line array.
(#163) There should be a comma after the last array item in a multi-line array.
(#167) Commas (,) must be followed by white space.
(#189) Short array syntax must be used to define arrays
(#195) Logical operator "and" is prohibited; use "&&" instead
(#236) Short array syntax must be used to define arrays
(#266) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#279) Short array syntax must be used to define arrays
(#286) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#303) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#384) Missing docblock for file createquiz.php
(#389) Missing docblock for file createquiz.php
(#391) Missing docblock for file createquiz.php
(#396) Missing docblock for file createquiz.php
(#404) Short array syntax must be used to define arrays
(#415) Short array syntax must be used to define arrays
(#430) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#435) Short array syntax must be used to define arrays
(#487) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#495) Short array syntax must be used to define arrays
(#536) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#579) Short array syntax must be used to define arrays
(#587) Short array syntax must be used to define arrays
(#589) Short array syntax must be used to define arrays
(#592) There should be a comma after the last array item in a multi-line array.
(#594) There should be a comma after the last array item in a multi-line array.
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
(#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.
(#57) File must end with a newline character
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
(#1600) Expected "if (...) {\n"; found "if(...) {\n"
(#1623) Functions must not contain multiple empty lines in a row; found 2 empty lines
mod/offlinequiz/db/upgradeit.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file upgradeit.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
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
(#600) Public method name "offlinequiz_attempt_upgrader::get_attempts_extra_WHERE" must be in lower-case letters only
(#604) Missing docblock for function update_all_attempts_at_quiz
(#610) Short array syntax must be used to define arrays
(#613) Variable "WHERE" must be all lower-case
(#615) Variable "WHERE" must be all lower-case
(#621) Variable "WHERE" must be all lower-case
(#629) Variable "WHERE" must be all lower-case
(#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
(#767) Variable "WHERE" must be all lower-case
(#768) Short array syntax must be used to define arrays
(#769) Variable "WHERE" must be all lower-case
(#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
(#1057) No space found before comment text; expected "// first set all" but found "//first set all"
(#1057) Whitespace found at end of line
(#1061) Line exceeds 132 characters; contains 134 characters
(#1062) Line exceeds 132 characters; contains 140 characters
(#1065) Commas (,) must be followed by white space.
(#1067) Whitespace found at end of line within string
(#1069) Whitespace found at end of line within string
(#1070) Whitespace found at end of line within string
(#1075) Commas (,) must be followed by white space.
(#1077) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1079) Line exceeds 132 characters; contains 161 characters
(#1079) Whitespace found at end of line within string
(#1112) Line exceeds 132 characters; contains 171 characters
(#1115) Line exceeds 132 characters; contains 172 characters
(#1117) Whitespace found at end of line within string
(#1118) Whitespace found at end of line within string
(#1120) Whitespace found at end of line within string
(#1128) Line exceeds 132 characters; contains 147 characters
(#1131) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch(...) {\n"
(#1138) No space found before comment text; expected "// Database doesn't support this type of insert, we have to get them out of the databse and insert them manually." but found "//Database doesn't support this type of insert, we have to get them out of the databse and insert them manually."
mod/offlinequiz/documentlib.php
(#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
(#91) File must end with a newline character
mod/offlinequiz/docxlib.php
(#20) Incorrect @package tag for file docxlib.php. Expected mod_offlinequiz, found mod.
(#65) Variable "listItemRun" must be all lower-case
(#66) Variable "listItemRun" must be all lower-case
(#78) Variable "listItemRun" must be all lower-case
(#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
(#146) Variable "span_u" must not contain underscores.
(#147) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#156) Variable "span_u" must not contain underscores.
(#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
(#599) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#37) Incorrect @package tag for file edit.php. Expected mod_offlinequiz, found mod.
(#66) Short array syntax must be used to define arrays
(#77) Logical operator "and" is prohibited; use "&&" instead
(#94) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#120) Line exceeds 132 characters; contains 134 characters
(#144) Line exceeds 132 characters; contains 158 characters
(#145) Commas (,) must be followed by white space.
(#146) Expected "if (...) {\n"; found "if(...) {\n"
(#147) Whitespace found at end of line
(#149) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#149) Expected "if (...) {\n"; found "if(...) {\n"
(#157) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#162) There should be a comma after the last array item in a multi-line array.
(#170) Short array syntax must be used to define arrays
(#184) Short array syntax must be used to define arrays
(#219) Short array syntax must be used to define arrays
(#245) Short array syntax must be used to define arrays
(#327) Short array syntax must be used to define arrays
(#345) Expected "if (...) {\n"; found "if(...) {\n"
(#368) Short array syntax must be used to define arrays
(#369) Short array syntax must be used to define arrays
(#374) Short array syntax must be used to define arrays
(#383) Short array syntax must be used to define arrays
(#386) 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
(#55) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#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) Perl-style comments are not allowed; use "// Comment." instead
(#851) Short array syntax must be used to define arrays
(#880) Short array syntax must be used to define arrays
(#887) Perl-style comments are not allowed; use "// Comment." instead
(#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
(#979) Inline comments must start with a capital letter, digit or 3-dots sequence
(#979) This comment is 63% valid code; is this commented out code?
(#979) Line indented incorrectly; expected at least 8 spaces, found 0
(#979) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#980) Line indented incorrectly; expected at least 8 spaces, found 0
(#980) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#981) Line indented incorrectly; expected at least 8 spaces, found 0
(#981) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#982) Whitespace found at end of line
(#989) Short array syntax must be used to define arrays
(#1018) Short array syntax must be used to define arrays
(#1020) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1022) Short array syntax must be used to define arrays
(#1023) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1025) Whitespace found at end of line
(#1027) Short array syntax must be used to define arrays
(#1038) Short array syntax must be used to define arrays
(#1042) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1042) Inline comments must end in full-stops, exclamation marks, or question marks
(#1046) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1046) Inline comments must end in full-stops, exclamation marks, or question marks
(#1046) No space found before comment text; expected "// break;" but found "//break;"
(#1047) Line indented incorrectly; expected at least 12 spaces, found 11
(#1048) Line indented incorrectly; expected at least 12 spaces, found 11
(#1051) Whitespace found at end of line
(#1052) Line indented incorrectly; expected 16 spaces, found 15
(#1055) Closing brace indented incorrectly; expected 15 spaces, found 16
(#1056) Line exceeds 132 characters; contains 134 characters
(#1056) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1056) This comment is 46% valid code; is this commented out code?
(#1056) Line indented incorrectly; expected at least 16 spaces, found 15
(#1058) No space found before comment text; expected "// @flush();@ob_flush();" but found "//@flush();@ob_flush();"
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) Opening brace should be on the same line as the declaration for class offlinequiz_html_translator
(#32) Missing member variable doc comment
(#32) Short array syntax must be used to define arrays
(#34) Missing docblock for function __construct
(#35) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#109) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#119) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#154) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#172) Short array syntax must be used to define arrays
(#223) 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) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#40) Short array syntax must be used to define arrays
(#41) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#43) Short array syntax must be used to define arrays
(#44) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#46) Short array syntax must be used to define arrays
(#47) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#50) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#52) Short array syntax must be used to define arrays
(#54) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#60) Logical operator "and" is prohibited; use "&&" instead
(#61) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#64) Logical operator "and" is prohibited; use "&&" instead
(#65) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#70) Logical operator "and" is prohibited; use "&&" instead
(#71) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#172) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#176) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#37) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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.
(#690) Whitespace found at end of line within string
(#692) Whitespace found at end of line within string
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
(#84) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#387) Space found before square bracket; expected "answers[" but found "answers ["
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
(#97) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#116) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#120) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#471) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#650) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#722) 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
(#801) Short array syntax must be used to define arrays
(#820) Short array syntax must be used to define arrays
(#827) Short array syntax must be used to define arrays
(#833) Short array syntax must be used to define arrays
(#883) Short array syntax must be used to define arrays
(#903) Logical operator "and" is prohibited; use "&&" instead
(#903) Short array syntax must be used to define arrays
(#922) Short array syntax must be used to define arrays
(#952) Short array syntax must be used to define arrays
(#1024) Short array syntax must be used to define arrays
(#1132) Short array syntax must be used to define arrays
(#1141) Short array syntax must be used to define arrays
(#1143) Short array syntax must be used to define arrays
(#1148) Short array syntax must be used to define arrays
(#1204) Short array syntax must be used to define arrays
(#1206) Short array syntax must be used to define arrays
(#1209) Short array syntax must be used to define arrays
(#1301) No one-line description found in phpdocs for docblock of function offlinequiz_get_user_results
(#1305) Short array syntax must be used to define arrays
(#1333) Logical operator "and" is prohibited; use "&&" instead
(#1341) No space found before comment text; expected "// Tab Offlinequiz content." but found "//Tab Offlinequiz content."
(#1342) Expected "if (...) {\n"; found "if(...) {\n"
(#1352) No space found before comment text; expected "// Tab results." but found "//Tab results."
(#1353) Expected "if (...) {\n"; found "if(...) {\n"
(#1363) No space found before comment text; expected "// Tab statistics." but found "//Tab statistics."
(#1364) Expected "if (...) {\n"; found "if(...) {\n"
(#1367) Short array syntax must be used to define arrays
(#1375) Inline comments must end in full-stops, exclamation marks, or question marks
(#1375) No space found before comment text; expected "// Tab attendances" but found "//Tab attendances"
(#1377) Expected "if (...) {\n"; found "if(...) {\n"
(#1378) Expected "if (...) {\n"; found "if(...) {\n"
(#1387) Expected "if (...) {\n"; found "if(...) {\n"
(#1399) Missing docblock for function offlinequiz_get_active_tab
(#1402) Expected "if (...) {\n"; found "if(...) {\n"
(#1402) Commas (,) must be followed by white space.
(#1435) No one-line description found in phpdocs for docblock of function offlinequiz_questions_in_use
mod/offlinequiz/lib/phpwordinit.php
(#23) Incorrect @package tag for file phpwordinit.php. Expected mod_offlinequiz, found mod.
(#41) File must end with a newline character
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
(#236) Whitespace found at end of line
(#240) Missing docblock for function offlinequiz_make_questions_usage_by_activity
(#244) Missing docblock for function get_course_objects
(#248) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#250) Short array syntax must be used to define arrays
(#251) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#253) Short array syntax must be used to define arrays
(#254) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#258) Short array syntax must be used to define arrays
(#259) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#261) Short array syntax must be used to define arrays
(#262) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#265) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#315) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#366) Short array syntax must be used to define arrays
(#369) Short array syntax must be used to define arrays
(#404) Short array syntax must be used to define arrays
(#430) Short array syntax must be used to define arrays
(#458) Short array syntax must be used to define arrays
(#467) Short array syntax must be used to define arrays
(#504) Commas (,) must be followed by white space.
(#504) Commas (,) must be followed by white space.
(#573) Short array syntax must be used to define arrays
(#595) Short array syntax must be used to define arrays
(#598) Short array syntax must be used to define arrays
(#612) Short array syntax must be used to define arrays
(#620) Short array syntax must be used to define arrays
(#627) Short array syntax must be used to define arrays
(#647) Short array syntax must be used to define arrays
(#659) Short array syntax must be used to define arrays
(#690) Short array syntax must be used to define arrays
(#705) Short array syntax must be used to define arrays
(#707) Short array syntax must be used to define arrays
(#709) Short array syntax must be used to define arrays
(#712) Short array syntax must be used to define arrays
(#714) 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
(#776) Short array syntax must be used to define arrays
(#792) Short array syntax must be used to define arrays
(#795) Short array syntax must be used to define arrays
(#801) Short array syntax must be used to define arrays
(#833) Line exceeds 132 characters; contains 148 characters
(#838) Line exceeds maximum limit of 180 characters; contains 186 characters
(#859) Short array syntax must be used to define arrays
(#873) Missing docblock for function offlinequiz_update_quba
(#907) Line exceeds 132 characters; contains 159 characters
(#939) Short array syntax must be used to define arrays
(#950) Missing docblock for function __construct
(#960) Short array syntax must be used to define arrays
(#988) Short array syntax must be used to define arrays
(#1008) Short array syntax must be used to define arrays
(#1011) Short array syntax must be used to define arrays
(#1013) Short array syntax must be used to define arrays
(#1014) Short array syntax must be used to define arrays
(#1015) Short array syntax must be used to define arrays
(#1016) Short array syntax must be used to define arrays
(#1031) No one-line description found in phpdocs for docblock of function offlinequiz_question_action_icons
(#1047) Logical operator "and" is prohibited; use "&&" instead
(#1050) Logical operator "and" is prohibited; use "&&" instead
(#1057) Logical operator "and" is prohibited; use "&&" instead
(#1058) Logical operator "and" is prohibited; use "&&" instead
(#1059) Logical operator "and" is prohibited; use "&&" instead
(#1087) Short array syntax must be used to define arrays
(#1091) Short array syntax must be used to define arrays
(#1105) Short array syntax must be used to define arrays
(#1160) Short array syntax must be used to define arrays
(#1194) Short array syntax must be used to define arrays
(#1200) Short array syntax must be used to define arrays
(#1260) Short array syntax must be used to define arrays
(#1302) Short array syntax must be used to define arrays
(#1315) Expected "bool" but found "boolean" for @var tag in member variable comment
(#1321) Expected "bool" but found "boolean" for @var tag in member variable comment
(#1326) Expected "bool" but found "boolean" for @var tag in member variable comment
(#1362) Missing docblock for function extract
(#1390) Short array syntax must be used to define arrays
(#1412) Short array syntax must be used to define arrays
(#1435) Short array syntax must be used to define arrays
(#1453) Short array syntax must be used to define arrays
(#1496) Short array syntax must be used to define arrays
(#1536) Short array syntax must be used to define arrays
(#1544) No one-line description found in phpdocs for docblock of function offlinequiz_question_preview_url
(#1587) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1600) Short array syntax must be used to define arrays
(#1625) Short array syntax must be used to define arrays
(#1652) Short array syntax must be used to define arrays
(#1653) Short array syntax must be used to define arrays
(#1654) Short array syntax must be used to define arrays
(#1655) Inline comments must end in full-stops, exclamation marks, or question marks
(#1656) Short array syntax must be used to define arrays
(#1657) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1661) Short array syntax must be used to define arrays
(#1675) Short array syntax must be used to define arrays
(#1680) Short array syntax must be used to define arrays
(#1730) Short array syntax must be used to define arrays
(#1734) Short array syntax must be used to define arrays
(#1791) Short array syntax must be used to define arrays
(#1792) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1802) Short array syntax must be used to define arrays
(#1806) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1809) Short array syntax must be used to define arrays
(#1845) Short array syntax must be used to define arrays
(#1853) Short array syntax must be used to define arrays
(#1862) Short array syntax must be used to define arrays
(#1863) Short array syntax must be used to define arrays
(#1891) Logical operator "or" is prohibited; use "||" instead
(#1909) Logical operator "and" is prohibited; use "&&" instead
(#1925) Short array syntax must be used to define arrays
(#1928) Short array syntax must be used to define arrays
(#1929) Short array syntax must be used to define arrays
(#1939) Short array syntax must be used to define arrays
(#1953) There should be a comma after the last array item in a multi-line array.
(#1960) Logical operator "and" is prohibited; use "&&" instead
(#1965) Logical operator "and" is prohibited; use "&&" instead
(#1987) Short array syntax must be used to define arrays
(#1990) There should be a comma after the last array item in a multi-line array.
(#2020) Short array syntax must be used to define arrays
(#2055) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#2058) Short array syntax must be used to define arrays
(#2084) Short array syntax must be used to define arrays
(#2132) Short array syntax must be used to define arrays
(#2143) Short array syntax must be used to define arrays
(#2146) Short array syntax must be used to define arrays
(#2151) There should be a comma after the last array item in a multi-line array.
(#2153) Logical operator "or" is prohibited; use "||" instead
(#2167) Logical operator "or" is prohibited; use "||" instead
(#2193) Short array syntax must be used to define arrays
(#2256) Short array syntax must be used to define arrays
(#2267) Short array syntax must be used to define arrays
(#2295) Short array syntax must be used to define arrays
(#2326) Whitespace found at end of line
(#2339) Whitespace found at end of line
(#2357) Short array syntax must be used to define arrays
(#2359) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#2368) Short array syntax must be used to define arrays
(#2380) Whitespace found at end of line within string
(#2407) Short array syntax must be used to define arrays
(#2413) Short array syntax must be used to define arrays
(#2449) Short array syntax must be used to define arrays
(#2453) Short array syntax must be used to define arrays
(#2454) Short array syntax must be used to define arrays
(#2489) 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
(#113) Short array syntax must be used to define arrays
(#124) Line exceeds 132 characters; contains 145 characters
(#162) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#191) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#214) Short array syntax must be used to define arrays
(#260) Short array syntax must be used to define arrays
(#263) Short array syntax must be used to define arrays
(#264) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#315) Short array syntax must be used to define arrays
(#363) Short array syntax must be used to define arrays
(#365) Short array syntax must be used to define arrays
(#367) Short array syntax must be used to define arrays
mod/offlinequiz/navigate.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file navigate.php
(#46) Expected "if (...) {\n"; found "if(...) {\n"
(#50) Whitespace found at end of line
(#82) Expected "if (...) {\n"; found "if(...) {\n"
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
(#19) Incorrect @package tag for file participants.php. Expected mod_offlinequiz, found mod.
(#49) Logical operator "and" is prohibited; use "&&" instead
(#64) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#82) There should be a comma after the last array item in a multi-line array.
(#90) Missing docblock for function find_pdf_file
(#90) Missing @copyright tag
(#90) Missing @license tag
(#90) Missing @copyright tag
(#90) Missing @license tag
(#90) Missing @copyright tag
(#90) Missing @license tag
(#90) Missing @copyright tag
(#90) Missing @license tag
(#90) Missing @copyright tag
(#90) Missing @license tag
(#112) Short array syntax must be used to define arrays
(#121) 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
(#138) Short array syntax must be used to define arrays
(#142) 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
(#169) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#175) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#203) Short array syntax must be used to define arrays
(#204) 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
(#231) Short array syntax must be used to define arrays
(#251) Short array syntax must be used to define arrays
(#267) Short array syntax must be used to define arrays
(#279) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#282) Short array syntax must be used to define arrays
(#309) Short array syntax must be used to define arrays
(#331) Inline comments must start with a capital letter, digit or 3-dots sequence
(#331) Inline comments must end in full-stops, exclamation marks, or question marks
(#331) Whitespace found at end of line
(#337) Short array syntax must be used to define arrays
(#341) Whitespace found at end of line
(#344) Logical operator "and" is prohibited; use "&&" instead
(#344) Logical operator "or" is prohibited; use "||" instead
(#344) Whitespace found at end of line
(#349) Whitespace found at end of line
(#364) Short array syntax must be used to define arrays
(#367) Short array syntax must be used to define arrays
(#374) Short array syntax must be used to define arrays
(#378) Logical operator "and" is prohibited; use "&&" instead
(#378) Short array syntax must be used to define arrays
(#381) Short array syntax must be used to define arrays
(#385) Short array syntax must be used to define arrays
(#386) Short array syntax must be used to define arrays
(#389) 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.
(#393) There should be a comma after the last array item in a multi-line array.
(#399) Logical operator "and" is prohibited; use "&&" instead
(#399) Short array syntax must be used to define arrays
(#402) Short array syntax must be used to define arrays
(#406) Short array syntax must be used to define arrays
(#407) Short array syntax must be used to define arrays
(#410) Short array syntax must be used to define arrays
(#413) There should be a comma after the last array item in a multi-line array.
(#414) There should be a comma after the last array item in a multi-line array.
(#440) Commas (,) must be followed by white space.
(#442) Whitespace found at end of line
(#448) Missing docblock for file participants.php
(#450) Missing docblock for file participants.php
(#454) Missing docblock for file participants.php
(#456) Missing docblock for file participants.php
(#462) Missing docblock for file participants.php
(#471) Short array syntax must be used to define arrays
(#522) Short array syntax must be used to define arrays
(#574) Short array syntax must be used to define arrays
(#630) Short array syntax must be used to define arrays
(#645) Logical operator "or" is prohibited; use "||" instead
(#663) Short array syntax must be used to define arrays
(#665) Short array syntax must be used to define arrays
(#666) Short array syntax must be used to define arrays
(#667) Short array syntax must be used to define arrays
mod/offlinequiz/participants/participants_listform.php
(#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
(#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
(#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
(#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
(#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) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#43) Short array syntax must be used to define arrays
(#44) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#48) Short array syntax must be used to define arrays
(#49) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#50) Short array syntax must be used to define arrays
(#54) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#234) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#261) Short array syntax must be used to define arrays
(#268) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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.
(#40) Missing docblock for class offlinequiz_barcodewriter
(#71) Missing docblock for class offlinequiz_pdf
(#72) Opening brace should be on the same line as the declaration for class offlinequiz_pdf
(#75) Missing @var tag in member variable comment
(#78) Missing docblock for function checkpoint
(#82) Missing docblock for function backtrack
(#86) Missing docblock for function is_overflowing
(#90) Missing docblock for function set_title
(#95) Missing docblock for class offlinequiz_question_pdf
(#96) Opening brace should be on the same line as the declaration for class offlinequiz_question_pdf
(#97) Missing member variable doc comment
(#97) Short array syntax must be used to define arrays
(#132) Missing docblock for class offlinequiz_answer_pdf
(#133) Missing member variable doc comment
(#185) Logical operator "and" is prohibited; use "&&" instead
(#249) Missing docblock for function get_logo_aspect_ratio
(#308) Missing docblock for class offlinequiz_participants_pdf
(#309) Missing member variable doc comment
(#438) Missing docblock for function offlinequiz_get_answers_html
(#490) Missing docblock for function offlinequiz_write_question_to_pdf
(#628) Short array syntax must be used to define arrays
(#641) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#651) Short array syntax must be used to define arrays
(#696) Short array syntax must be used to define arrays
(#761) Short array syntax must be used to define arrays
(#794) Missing docblock for function offlinequiz_create_pdf_answer
(#804) Short array syntax must be used to define arrays
(#830) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#849) Short array syntax must be used to define arrays
(#860) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#912) Short array syntax must be used to define arrays
(#912) Short array syntax must be used to define arrays
(#925) Logical operator "and" is prohibited; use "&&" instead
(#946) Short array syntax must be used to define arrays
(#983) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#986) Short array syntax must be used to define arrays
(#1076) Short array syntax must be used to define arrays
(#1143) Short array syntax must be used to define arrays
(#1163) Short array syntax must be used to define arrays
(#1166) Short array syntax must be used to define arrays
(#1172) Short array syntax must be used to define arrays
(#1173) Short array syntax must be used to define arrays
mod/offlinequiz/questionbank.ajax.php
(#21) Incorrect @package tag for file questionbank.ajax.php. Expected mod_offlinequiz, found mod.
(#39) Short array syntax must be used to define arrays
(#45) Logical operator "and" is prohibited; use "&&" instead
(#62) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#72) 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.
(#39) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#41) Short array syntax must be used to define arrays
(#42) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#44) Short array syntax must be used to define arrays
(#45) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#49) Short array syntax must be used to define arrays
(#50) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#52) Short array syntax must be used to define arrays
(#53) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#56) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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.
(#87) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#96) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#99) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#109) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#32) File must end with a newline character
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
(#35) Whitespace found at end of line
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#38) Whitespace found at end of line
(#39) Whitespace found at end of line
(#40) Missing docblock for function __construct
(#45) Whitespace found at end of line
(#46) Missing docblock for function print_nothing_to_display
(#50) Whitespace found at end of line
(#51) Missing docblock for function wrap_html_start
(#52) Whitespace found at end of line
(#57) Whitespace found at end of line
(#64) Whitespace found at end of line
(#65) Missing docblock for function wrap_html_finish
(#68) Whitespace found at end of line
(#84) Missing docblock for class offlinequiz_partlist_table
(#85) Whitespace found at end of line
(#86) Missing docblock for function wrap_html_finish
(#89) Whitespace found at end of line
(#95) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#99) Whitespace found at end of line
(#109) Whitespace found at end of line
(#111) Whitespace found at end of line
(#112) Missing docblock for function print_one_initials_bar
(#113) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#121) Whitespace found at end of line
(#126) Short array syntax must be used to define arrays
(#130) Whitespace found at end of line
(#133) Whitespace found at end of line
(#134) Whitespace found at end of line
(#135) File must end with a newline character
mod/offlinequiz/report/correct/lang/en/offlinequiz_correct.php
(#20) Incorrect @package tag for file offlinequiz_correct.php. Expected offlinequiz_correct, found mod.
(#29) File must end with a newline character
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
(#35) Missing docblock for function print_error_report
(#48) Short array syntax must be used to define arrays
(#51) Line exceeds 132 characters; contains 135 characters
(#53) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#143) Logical operator "and" is prohibited; use "&&" instead
(#154) 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.
(#182) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
(#235) Short array syntax must be used to define arrays
(#242) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#254) No one-line description found in phpdocs for docblock of function extract_pdf_to_tiff
(#271) 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
(#83) Line indented incorrectly; expected 12 spaces, found 11
(#87) Line indented incorrectly; expected 12 spaces, found 11
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
(#32) File must end with a newline character
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
(#44) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#46) Short array syntax must be used to define arrays
(#47) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#52) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#94) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#97) Short array syntax must be used to define arrays
(#98) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#143) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#146) Line exceeds 132 characters; contains 135 characters
(#152) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#168) 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.
(#30) File must end with a newline character
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.
(#168) Short array syntax must be used to define arrays
(#170) 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.
(#191) 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.
(#198) Short array syntax must be used to define arrays
(#202) Short array syntax must be used to define arrays
(#202) There should be a comma after the last array item in a multi-line array.
(#209) Short array syntax must be used to define arrays
(#209) There should be a comma after the last array item in a multi-line array.
(#218) Short array syntax must be used to define arrays
(#218) There should be a comma after the last array item in a multi-line array.
(#225) Short array syntax must be used to define arrays
(#226) There should be a comma after the last array item in a multi-line array.
(#271) Short array syntax must be used to define arrays
(#273) There should be a comma after the last array item in a multi-line array.
(#335) Short array syntax must be used to define arrays
(#339) Short array syntax must be used to define arrays
(#339) There should be a comma after the last array item in a multi-line array.
(#369) Short array syntax must be used to define arrays
(#394) Short array syntax must be used to define arrays
(#461) Short array syntax must be used to define arrays
(#461) There should be a comma after the last array item in a multi-line array.
(#464) Short array syntax must be used to define arrays
(#464) There should be a comma after the last array item in a multi-line array.
(#490) Short array syntax must be used to define arrays
(#491) There should be a comma after the last array item in a multi-line array.
(#494) Short array syntax must be used to define arrays
(#495) There should be a comma after the last array item in a multi-line array.
(#537) Logical operator "or" is prohibited; use "||" instead
(#551) Short array syntax must be used to define arrays
(#551) There should be a comma after the last array item in a multi-line array.
(#556) Short array syntax must be used to define arrays
(#556) There should be a comma after the last array item in a multi-line array.
(#560) Short array syntax must be used to define arrays
(#572) Short array syntax must be used to define arrays
(#623) Short array syntax must be used to define arrays
(#628) There should be a comma after the last array item in a multi-line array.
(#670) Short array syntax must be used to define arrays
(#689) Missing docblock for function get_grade
(#700) 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/regrade/lang/de/offlinequiz_regrade.php
(#20) Incorrect @package tag for file offlinequiz_regrade.php. Expected offlinequiz_regrade, found mod.
mod/offlinequiz/report/regrade/lang/en/offlinequiz_regrade.php
(#20) Incorrect @package tag for file offlinequiz_regrade.php. Expected offlinequiz_regrade, found mod.
mod/offlinequiz/report/regrade/report.php
(#20) Incorrect @package tag for file report.php. Expected offlinequiz_regrade, found mod.
(#35) Missing docblock for class offlinequiz_regrade_report
(#37) Missing docblock for function display
(#62) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#130) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#133) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#160) 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.
(#166) Short array syntax must be used to define arrays
mod/offlinequiz/report/regrade/version.php
(#20) Incorrect @package tag for file version.php. Expected offlinequiz_regrade, 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
(#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
(#90) Expected 1 space before opening brace; found 0
(#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
(#32) File must end with a newline character
mod/offlinequiz/report/rimport/crossscanner.php
(#1) Missing docblock for file crossscanner.php
(#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
(#321) File must end with a newline character
mod/offlinequiz/report/rimport/groupnumberscanner.php
(#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
(#74) File must end with a newline character
mod/offlinequiz/report/rimport/lang/en/offlinequiz_rimport.php
(#20) Incorrect @package tag for file offlinequiz_rimport.php. Expected offlinequiz_rimport, found mod.
mod/offlinequiz/report/rimport/page.php
(#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
(#53) File must end with a newline character
mod/offlinequiz/report/rimport/pagenumberscanner.php
(#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
(#75) File must end with a newline character
mod/offlinequiz/report/rimport/pagepositionscanner.php
(#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
(#128) File must end with a newline character
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
(#194) File must end with a newline character
mod/offlinequiz/report/rimport/point.php
(#1) Missing docblock for file point.php
(#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
(#66) File must end with a newline character
mod/offlinequiz/report/rimport/positionslib.php
(#1) Missing docblock for file positionslib.php
(#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
(#45) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#198) Short array syntax must be used to define arrays
(#205) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#218) No one-line description found in phpdocs for docblock of function extract_pdf_to_tiff
(#235) 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
(#266) File must end with a newline character
mod/offlinequiz/report/rimport/resultscanner.php
(#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
(#132) Missing docblock for function calculate_result
(#149) File must end with a newline character
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
(#105) Missing member variable doc comment
(#106) 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) You must use "/**" style comments for a member variable comment
(#124) Inline comments must start with a capital letter, digit or 3-dots sequence
(#125) You must use "/**" style comments for a member variable comment
(#126) You must use "/**" style comments for a member variable comment
(#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) Missing member variable doc comment
(#131) You must use "/**" style comments for a member variable comment
(#132) Missing member variable doc comment
(#133) Missing member variable doc 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) You must use "/**" style comments for a member variable comment
(#141) You must use "/**" style comments for a member variable comment
(#142) Missing member variable doc comment
(#143) Missing member variable doc comment
(#187) Short array syntax must be used to define arrays
(#263) Short array syntax must be used to define arrays
(#271) Logical operator "and" is prohibited; use "&&" instead
(#279) Short array syntax must be used to define arrays
(#283) Logical operator "and" is prohibited; use "&&" instead
(#286) Logical operator "and" is prohibited; use "&&" instead
(#291) Short array syntax must be used to define arrays
(#295) Logical operator "and" is prohibited; use "&&" instead
(#298) Logical operator "and" is prohibited; use "&&" instead
(#303) Short array syntax must be used to define arrays
(#307) Logical operator "and" is prohibited; use "&&" instead
(#310) Logical operator "and" is prohibited; use "&&" instead
(#315) Short array syntax must be used to define arrays
(#319) Logical operator "and" is prohibited; use "&&" instead
(#322) Logical operator "and" is prohibited; use "&&" instead
(#470) Short array syntax must be used to define arrays
(#513) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#570) Short array syntax must be used to define arrays
(#592) Short array syntax must be used to define arrays
(#612) Short array syntax must be used to define arrays
(#840) Short array syntax must be used to define arrays
(#841) Short array syntax must be used to define arrays
(#894) Logical operator "or" is prohibited; use "||" instead
(#895) Logical operator "or" is prohibited; use "||" instead
(#895) Logical operator "or" is prohibited; use "||" instead
(#896) Logical operator "or" is prohibited; use "||" instead
(#910) Logical operator "or" is prohibited; use "||" instead
(#993) Short array syntax must be used to define arrays
(#1029) Short array syntax must be used to define arrays
(#1091) Logical operator "or" is prohibited; use "||" instead
(#1120) Short array syntax must be used to define arrays
(#1123) Short array syntax must be used to define arrays
(#1164) Short array syntax must be used to define arrays
(#1206) Short array syntax must be used to define arrays
(#1274) Logical operator "and" is prohibited; use "&&" instead
(#1289) Logical operator "and" is prohibited; use "&&" instead
(#1310) Logical operator "and" is prohibited; use "&&" instead
(#1328) Logical operator "or" is prohibited; use "||" instead
(#1374) Short array syntax must be used to define arrays
(#1410) Logical operator "and" is prohibited; use "&&" instead
(#1422) Logical operator "and" is prohibited; use "&&" instead
(#1503) Logical operator "or" is prohibited; use "||" instead
(#1522) Short array syntax must be used to define arrays
(#1571) Logical operator "or" is prohibited; use "||" instead
(#1601) Short array syntax must be used to define arrays
(#1617) Logical operator "and" is prohibited; use "&&" instead
(#1641) Missing docblock for function set_maxanswers
(#1691) Short array syntax must be used to define arrays
(#1727) Short array syntax must be used to define arrays
(#1730) 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
(#96) File must end with a newline character
mod/offlinequiz/report/rimport/studentidscanner.php
(#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
(#87) File must end with a newline character
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
(#52) File must end with a newline character
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
(#32) File must end with a newline character
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/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
(#159) Missing docblock for function compute_statistics
(#162) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#203) Short array syntax must be used to define arrays
(#437) No one-line description found in phpdocs for docblock of function get_random_guess_score
mod/offlinequiz/report/statistics/report.php
(#69) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#92) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#98) Logical operator "and" is prohibited; use "&&" instead
(#106) Short array syntax must be used to define arrays
(#113) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#119) 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
(#165) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#231) Short array syntax must be used to define arrays
(#340) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#355) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#429) Short array syntax must be used to define arrays
(#436) Short array syntax must be used to define arrays
(#472) Short array syntax must be used to define arrays
(#485) Short array syntax must be used to define arrays
(#499) Short array syntax must be used to define arrays
(#513) No one-line description found in phpdocs for docblock of function render_question_text
(#521) Short array syntax must be used to define arrays
(#529) No one-line description found in phpdocs for docblock of function render_question_text_plain
(#540) Short array syntax must be used to define arrays
(#681) Missing docblock for function get_formatted_offlinequiz_info_data
(#683) Short array syntax must be used to define arrays
(#710) Short array syntax must be used to define arrays
(#811) Line exceeds 132 characters; contains 145 characters
(#818) Line exceeds 132 characters; contains 154 characters
(#828) Missing docblock for function output_response_data
(#829) Short array syntax must be used to define arrays
(#830) Short array syntax must be used to define arrays
(#843) Short array syntax must be used to define arrays
(#844) Short array syntax must be used to define arrays
(#867) Short array syntax must be used to define arrays
(#869) Short array syntax must be used to define arrays
(#872) Short array syntax must be used to define arrays
(#893) Short array syntax must be used to define arrays
(#894) Short array syntax must be used to define arrays
(#925) Short array syntax must be used to define arrays
(#949) Short array syntax must be used to define arrays
(#950) Short array syntax must be used to define arrays
(#952) Short array syntax must be used to define arrays
(#1077) Short array syntax must be used to define arrays
(#1129) Short array syntax must be used to define arrays
(#1156) Short array syntax must be used to define arrays
(#1160) Short array syntax must be used to define arrays
(#1165) Short array syntax must be used to define arrays
(#1174) Short array syntax must be used to define arrays
(#1176) Short array syntax must be used to define arrays
(#1178) Short array syntax must be used to define arrays
(#1192) Short array syntax must be used to define arrays
(#1277) Short array syntax must be used to define arrays
(#1280) Missing docblock for function analyse_responses
(#1286) Short array syntax must be used to define arrays
(#1313) No one-line description found in phpdocs for docblock of function everything_download_options
(#1318) Short array syntax must be used to define arrays
(#1361) Short array syntax must be used to define arrays
(#1385) Short array syntax must be used to define arrays
(#1389) Short array syntax must be used to define arrays
(#1411) No one-line description found in phpdocs for docblock of function using_attempts_string
(#1420) Missing docblock for function offlinequiz_statistics_attempts_sql
(#1427) Short array syntax must be used to define arrays
(#1445) 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
(#147) Space found before square bracket; expected "][" but found "] ["
(#154) Space found before square bracket; expected "][" but found "] ["
(#158) Space found before square bracket; expected "][" but found "] ["
(#162) Space found before square bracket; expected "][" but found "] ["
(#179) 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
(#68) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#77) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#94) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#57) Missing docblock for function set_questiondata
(#75) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#341) Short array syntax must be used to define arrays
(#381) Missing docblock for function wrap_html_start
(#381) Expected 1 space after "function"; 2 found
(#384) Short array syntax must be used to define arrays
(#389) Missing docblock for function wrap_html_finish
mod/offlinequiz/report/statistics/statistics_question_table.php
(#74) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#106) 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
(#67) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#243) Short array syntax must be used to define arrays
(#281) Missing docblock for function wrap_html_start
(#281) Expected 1 space after "function"; 2 found
(#284) Short array syntax must be used to define arrays
(#289) Missing docblock for function wrap_html_finish
(#302) 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
(#37) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#39) Short array syntax must be used to define arrays
(#40) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#46) Short array syntax must be used to define arrays
(#47) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#49) Short array syntax must be used to define arrays
(#50) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#53) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#71) Logical operator "and" is prohibited; use "&&" instead
(#72) Logical operator "and" is prohibited; use "&&" instead
(#73) Logical operator "and" is prohibited; use "&&" instead
(#82) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#94) Short array syntax must be used to define arrays
(#103) Empty IF statement detected
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#138) Logical operator "and" is prohibited; use "&&" instead
(#143) Short array syntax must be used to define arrays
(#146) Spaces must be used to indent lines; tabs are not allowed
(#146) Tab found within whitespace
(#146) Line indented incorrectly; expected 8 spaces, found 1
(#146) Expected "if (...) {\n"; found "if(...) {\n"
(#148) Closing brace indented incorrectly; expected 1 spaces, found 8
(#149) Spaces must be used to indent lines; tabs are not allowed
(#149) Tab found within whitespace
(#149) Line indented incorrectly; expected at least 12 spaces, found 5
(#152) Short array syntax must be used to define arrays
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Logical operator "or" is prohibited; use "||" instead
(#161) Logical operator "or" is prohibited; use "||" instead
(#166) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#173) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#230) Logical operator "and" is prohibited; use "&&" instead
(#247) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#259) Short array syntax must be used to define arrays
(#264) Short array syntax must be used to define arrays
(#265) There should be a comma after the last array item in a multi-line array.
(#266) 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
(#45) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#47) Short array syntax must be used to define arrays
(#48) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#51) Short array syntax must be used to define arrays
(#52) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#53) Short array syntax must be used to define arrays
(#57) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#61) Short array syntax must be used to define arrays
(#62) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#80) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/offlinequiz/settings.php
(#20) Incorrect @package tag for file settings.php. Expected mod_offlinequiz, found mod.
(#68) Line exceeds 132 characters; contains 146 characters
(#98) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#130) 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.
(#18) Missing @copyright tag
(#18) Missing @license tag
(#18) Missing docblock for function offlinequiz_sheetlib_initialize_headers
(#44) File must end with a newline character
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/index.php
(#19) Incorrect @package tag for file index.php. Expected mod_offlinequiz, found mod.
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#38) Short array syntax must be used to define arrays
(#39) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#42) Short array syntax must be used to define arrays
(#43) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#70) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#112) Logical operator "or" is prohibited; use "||" instead
(#112) Logical operator "or" is prohibited; use "||" instead
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.
(#39) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#41) Short array syntax must be used to define arrays
(#42) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#44) Short array syntax must be used to define arrays
(#45) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#48) Short array syntax must be used to define arrays
(#49) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#51) Short array syntax must be used to define arrays
(#52) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#55) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#62) Short array syntax must be used to define arrays
(#64) There should be a comma after the last array item in a multi-line array.
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) No space found before comment text; expected "// Start getting Data" but found "//Start getting Data"
(#83) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#84) Expected "if (...) {\n"; found "if(...) {\n"
(#85) Space found before semicolon; expected "true;" but found "true ;"
(#98) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#99) Expected "if (...) {\n"; found "if(...) {\n"
(#104) Line exceeds 132 characters; contains 136 characters
(#124) Line exceeds 132 characters; contains 135 characters
(#125) Line exceeds 132 characters; contains 139 characters
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) No space found before comment text; expected "// Begin edit Question" but found "//Begin edit Question"
(#154) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#163) Expected "if (...) {\n"; found "if(...) {\n"
(#163) The use of function sizeof() is forbidden; use count() instead
(#164) Line indented incorrectly; expected at least 4 spaces, found 2
(#166) Line indented incorrectly; expected at least 4 spaces, found 2
(#169) Expected "if (...) {\n"; found "if(...) {\n"
(#180) Expected "if (...) {\n"; found "if(...) {\n"
(#182) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#182) Expected "if (...) {\n"; found "if(...) {\n"
(#182) The use of function sizeof() is forbidden; use count() instead
(#201) No space found before comment text; expected "// Start evaluationsteps." but found "//Start evaluationsteps."
(#210) Commas (,) must be followed by white space.
(#215) Expected "if (...) {\n"; found "if(...) {\n"
(#216) Line indented incorrectly; expected at least 4 spaces, found 2
(#217) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#217) Expected "if (...) {\n"; found "if(...) {\n"
(#222) Expected "if (...) {\n"; found "if(...) {\n"
(#241) The use of function sizeof() is forbidden; use count() instead
(#242) There should be a comma after the last array item in a multi-line array.
(#247) There should be a comma after the last array item in a multi-line array.
(#251) Expected "if (...) {\n"; found "if(...) {\n"
(#252) Line indented incorrectly; expected at least 4 spaces, found 2
(#254) Line indented incorrectly; expected at least 4 spaces, found 2
(#294) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#296) Line exceeds 132 characters; contains 163 characters
(#358) Short array syntax must be used to define arrays
(#367) Logical operator "and" is prohibited; use "&&" instead
(#380) Short array syntax must be used to define arrays
(#381) Line indented incorrectly; expected 4 spaces, found 8
(#391) Short array syntax must be used to define arrays
(#395) Closing brace indented incorrectly; expected 8 spaces, found 4
(#396) Logical operator "and" is prohibited; use "&&" instead
(#401) Short array syntax must be used to define arrays

Javascript coding style problems

(157 errors, 329 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)
(#28) '$' is not defined. (no-undef)
(#28) '$' is not defined. (no-undef)
(#29) 'correctness' is not defined. (no-undef)
(#29) '$' is not defined. (no-undef)
(#29) '$' is not defined. (no-undef)
(#30) 'marks' is not defined. (no-undef)
(#30) '$' is not defined. (no-undef)
(#30) '$' is not defined. (no-undef)
(#31) 'specificfeedback' is not defined. (no-undef)
(#31) '$' is not defined. (no-undef)
(#31) '$' is not defined. (no-undef)
(#32) 'generalfeedback' is not defined. (no-undef)
(#32) '$' is not defined. (no-undef)
(#32) '$' is not defined. (no-undef)
(#33) 'rightanswer' is not defined. (no-undef)
(#33) '$' is not defined. (no-undef)
(#33) '$' is not defined. (no-undef)
(#34) 'sheet' is not defined. (no-undef)
(#34) '$' is not defined. (no-undef)
(#34) '$' is not defined. (no-undef)
(#35) 'gradedsheet' is not defined. (no-undef)
(#35) '$' is not defined. (no-undef)
(#35) '$' is not defined. (no-undef)
(#37) 'baseurl' is not defined. (no-undef)
(#37) '$' 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)
(#100) 'imagefile1' is not defined. (no-undef)
(#101) '$' is not defined. (no-undef)
(#101) There should be no space after '{'. (object-curly-spacing)
(#101) 'imagefile1' is not defined. (no-undef)
(#101) '$' is not defined. (no-undef)
(#102) '$' is not defined. (no-undef)
(#102) '$' is not defined. (no-undef)
(#105) 'imagefile2' is not defined. (no-undef)
(#106) '$' is not defined. (no-undef)
(#106) There should be no space after '{'. (object-curly-spacing)
(#106) 'imagefile2' is not defined. (no-undef)
(#106) '$' is not defined. (no-undef)
(#107) '$' is not defined. (no-undef)
(#107) '$' is not defined. (no-undef)
(#110) 'imagefile3' is not defined. (no-undef)
(#111) '$' is not defined. (no-undef)
(#111) There should be no space after '{'. (object-curly-spacing)
(#111) 'imagefile3' is not defined. (no-undef)
(#111) '$' is not defined. (no-undef)
(#112) '$' is not defined. (no-undef)
(#112) '$' is not defined. (no-undef)
(#115) 'pagefile' is not defined. (no-undef)
(#116) '$' is not defined. (no-undef)
(#116) '$' is not defined. (no-undef)
(#117) '$' is not defined. (no-undef)
(#117) There should be no space after '{'. (object-curly-spacing)
(#117) 'pagefile' is not defined. (no-undef)
(#117) '$' is not defined. (no-undef)
(#118) '$' is not defined. (no-undef)
(#118) '$' is not defined. (no-undef)
(#121) '$' is not defined. (no-undef)
(#122) '$' is not defined. (no-undef)
(#125) Unexpected space before function parentheses. (space-before-function-paren)
(#126) '$' is not defined. (no-undef)
(#127) '$' is not defined. (no-undef)
(#129) '$' is not defined. (no-undef)
(#130) '$' is not defined. (no-undef)
(#131) '$' is not defined. (no-undef)
(#135) '$' is not defined. (no-undef)
(#138) Multiple spaces found before '// esc'. (no-multi-spaces)
(#138) Comments should not begin with a lowercase character. (capitalized-comments)
(#142) '$' is not defined. (no-undef)
(#142) 'e' is defined but never used. (no-unused-vars)
(#142) Missing space before opening brace. (space-before-blocks)
(#143) '$' is not defined. (no-undef)
(#149) '$' is not defined. (no-undef)
(#149) Missing space before opening brace. (space-before-blocks)
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/offlinequizquestionbank/js/offlinequizquestionbank.js
(#27) 'CSS' is already defined as a built-in global variable. (no-redeclare)
(#51) Identifier 'create_dialogue' is not in camel case. (camelcase)
(#54) Extra space after key 'headerContent'. (key-spacing)
(#55) Extra space after key 'bodyContent'. (key-spacing)
(#56) Extra space after key 'draggable'. (key-spacing)
(#57) Extra space after key 'modal'. (key-spacing)
(#71) Requires a space after '{'. (block-spacing)
(#71) Statement inside of curly braces should be on next line. (brace-style)
(#71) Requires a space before '}'. (block-spacing)
(#71) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#74) Extra space after key 'initializer'. (key-spacing)
(#82) Identifier 'display_dialogue' is not in camel case. (camelcase)
(#82) Extra space after key 'display_dialogue'. (key-spacing)
(#82) Unexpected space before function parentheses. (space-before-function-paren)
(#100) Identifier 'load_content' is not in camel case. (camelcase)
(#100) Extra space after key 'load_content'. (key-spacing)
(#117) Identifier 'load_done' is not in camel case. (camelcase)
(#129) Expected space(s) after "if". (keyword-spacing)
(#131) Expected space(s) after "if". (keyword-spacing)
(#133) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#140) Requires a space after '{'. (block-spacing)
(#140) Statement inside of curly braces should be on next line. (brace-style)
(#140) Requires a space before '}'. (block-spacing)
(#140) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#159) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#159) ["filterbytags"] is better written in dot notation. (dot-notation)
(#160) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#160) ["notagselected"] is better written in dot notation. (dot-notation)
(#176) A space is required after ','. (comma-spacing)
(#194) Identifier 'load_failed' is not in camel case. (camelcase)
(#198) Identifier 'link_clicked' is not in camel case. (camelcase)
(#210) Operator '*' must be spaced. (space-infix-ops)
(#211) Unexpected space after unary operator '+'. (space-unary-ops)
(#229) Identifier 'options_changed' is not in camel case. (camelcase)
(#231) Expected space(s) after "if". (keyword-spacing)
(#236) Expected space(s) after "if". (keyword-spacing)
(#238) Expected space(s) after "if". (keyword-spacing)
(#241) There should be no space before this paren. (space-in-parens)
(#248) Identifier 'get_tags' is not in camel case. (camelcase)
(#250) Expected space(s) after "for". (keyword-spacing)
(#270) Identifier 'mod_offlinequiz' is not in camel case. (camelcase)
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)
(#125) Identifier 'toggle_highlight' is not in camel case. (camelcase)
(#125) Extra space after key 'toggle_highlight'. (key-spacing)
(#139) Identifier 'old_string' is not in camel case. (camelcase)
(#156) Identifier 'new_string' is not in camel case. (camelcase)
(#166) Extra space after key 'class'. (key-spacing)
(#167) Extra space after key 'field'. (key-spacing)
(#168) Extra space after key 'value'. (key-spacing)
(#174) Multiple spaces found before '{'. (no-multi-spaces)
(#175) Extra space after key 'NAME'. (key-spacing)
(#176) Extra space after key 'ATTRS'. (key-spacing)
(#177) Extra space after key 'courseid'. (key-spacing)
(#178) Extra space after key 'value'. (key-spacing)
(#180) Extra space after key 'offlinequizid'. (key-spacing)
(#181) Extra space after key 'value'. (key-spacing)
(#183) Extra space after key 'offlinegroupid'. (key-spacing)
(#184) Extra space after key 'value'. (key-spacing)
(#186) Extra space after key 'format'. (key-spacing)
(#187) Extra space after key 'value'. (key-spacing)
(#192) 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() or return (promise/catch-or-return)
(#423) Each then() should return a value or throw (promise/always-return)
(#432) Expected catch,fail() or return (promise/catch-or-return)
(#433) Each then() should return a value or throw (promise/always-return)

CSS problems

(66 errors, 1 warnings)

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

mod/offlinequiz/styles.css
(#743) Invalid value for "background" (csstree/validator)
(#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)
(#739) Expected newline after ":" with a multi-line declaration (declaration-colon-newline-after)
(#1331) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1332) 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)
(#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)
(#1108) Expected line length to be no more than 132 characters (max-line-length)
(#1108) Expected newline after "," (selector-list-comma-newline-after)
(#740) Expected indentation of 4 spaces (indentation)
(#929) Expected indentation of 4 spaces (indentation)
(#930) Expected indentation of 4 spaces (indentation)
(#976) Expected indentation of 4 spaces (indentation)
(#977) Expected indentation of 4 spaces (indentation)
(#978) Expected indentation of 4 spaces (indentation)
(#979) Expected indentation of 4 spaces (indentation)
(#1045) Expected indentation of 4 spaces (indentation)
(#1046) Expected indentation of 4 spaces (indentation)
(#1047) Expected indentation of 4 spaces (indentation)
(#1109) Expected indentation of 4 spaces (indentation)
(#1110) Expected indentation of 4 spaces (indentation)
(#1111) Expected indentation of 4 spaces (indentation)
(#1112) Expected indentation of 4 spaces (indentation)
(#1113) Expected indentation of 4 spaces (indentation)
(#1134) Expected indentation of 4 spaces (indentation)
(#1135) Expected indentation of 4 spaces (indentation)
(#1136) Expected indentation of 4 spaces (indentation)
(#1137) Expected indentation of 4 spaces (indentation)
(#1141) Expected indentation of 4 spaces (indentation)
(#1142) Expected indentation of 4 spaces (indentation)
(#1156) Expected indentation of 4 spaces (indentation)
(#1157) Expected indentation of 4 spaces (indentation)
(#1158) Expected indentation of 4 spaces (indentation)
(#1159) Expected indentation of 4 spaces (indentation)
(#1160) Expected indentation of 4 spaces (indentation)
(#1266) Expected indentation of 4 spaces (indentation)
(#1269) Expected indentation of 4 spaces (indentation)
(#1298) Expected indentation of 4 spaces (indentation)
(#1299) Expected indentation of 4 spaces (indentation)
(#1300) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(151 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
(#197) Phpdocs for function edit_renderer::offlinequiz_group_selector has incomplete parameters list
(#296) Phpdocs for function edit_renderer::repaginate_button has incomplete parameters list
(#1078) 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)]}
(#501) 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)]}
(#506) 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)]}
(#527) 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)]}
(#560) 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)]}
(#583) 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)]}
(#619) 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)]}
(#662) 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)]}
(#726) 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)]}
(#1110) 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)]}
(#1143) 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)]}
(#1246) 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)]}
(#1300) 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
(#638) Phpdocs for function provider::delete_results has incomplete parameters list
mod/offlinequiz/classes/question/bank/custom_view.php
(#146) Phpdocs for function custom_view::render has incomplete parameters list
(#172) Phpdocs for function custom_view::display_bottom_controls has incomplete parameters list
(#204) Phpdocs for function custom_view::print_choose_category_message 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
(#41) 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
(#875) Phpdocs for function offlinequiz_scale_used has incomplete parameters list
(#897) Phpdocs for function offlinequiz_scale_used_anywhere has incomplete parameters list
(#943) Phpdocs for function offlinequiz_update_events has incomplete parameters list
(#1163) Phpdocs for function offlinequiz_update_grades has incomplete parameters list
(#1294) 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
(#275) Phpdocs for function offlinequiz_load_questions_usage_by_activity has incomplete parameters list
(#383) Phpdocs for function offlinequiz_get_slot_for_question has incomplete parameters list
(#592) Phpdocs for function offlinequiz_get_maxanswers has incomplete parameters list
(#639) Phpdocs for function offlinequiz_repaginate_questions has incomplete parameters list
(#671) Phpdocs for function offlinequiz_shuffle_questions has incomplete parameters list
(#696) Phpdocs for function offlinequiz_delete_scanned_page has incomplete parameters list
(#730) Phpdocs for function offlinequiz_delete_scanned_p_page has incomplete parameters list
(#785) Phpdocs for function offlinequiz_delete_result has incomplete parameters list
(#821) Phpdocs for function offlinequiz_update_question_instance has incomplete parameters list
(#1043) Phpdocs for function offlinequiz_results_open has incomplete parameters list
(#1172) Phpdocs for function offlinequiz_update_sumgrades has incomplete parameters list
(#1208) Phpdocs for function offlinequiz_rescale_grade has incomplete parameters list
(#1271) Phpdocs for function offlinequiz_add_group has incomplete parameters list
(#1332) Phpdocs for function mod_offlinequiz_display_options::make_from_offlinequiz has incomplete parameters list
(#1376) Phpdocs for function offlinequiz_get_review_options has incomplete parameters list
(#1425) Phpdocs for function offlinequiz_get_combined_reviewoptions has incomplete parameters list
(#1459) Phpdocs for function offlinequiz_question_edit_button has incomplete parameters list
(#1669) Phpdocs for function offlinequiz_delete_template_usages has incomplete parameters list
(#1696) Phpdocs for function offlinequiz_print_question_preview has incomplete parameters list
(#2176) Phpdocs for function offlinequiz_question_tostring has incomplete parameters list
(#2238) Phpdocs for function offlinequiz_add_questionlist_to_group has incomplete parameters list
(#2347) Phpdocs for function offlinequiz_add_random_questions has incomplete parameters list
(#273) 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)]}
(#274) Inline phpdocs tag {@link question_attempt} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#943) Inline phpdocs tag {@link qubaid_condition} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1333) Inline phpdocs tag {@link DURING} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1333) Inline phpdocs tag {@link IMMEDIATELY_AFTER} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1334) 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)]}
(#1334) 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
(#278) Phpdocs for function mod_offlinequiz_mod_form::data_preprocessing has incomplete parameters list
(#342) 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
(#404) Phpdocs for function offlinequiz_print_question_html has incomplete parameters list
(#514) Phpdocs for function offlinequiz_create_pdf_question has incomplete parameters list
(#397) 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
(#173) Phpdocs for function offlinequiz_correct_report::display has incomplete parameters list
(#251) 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
(#103) Phpdocs for function offlinequiz_default_report::get_current_group has incomplete parameters list
(#119) 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/regrade/report.php
(#186) Phpdocs for function offlinequiz_regrade_report::regrade_result 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
(#36) Phpdocs for function offlinequiz_rimport_report::display has incomplete parameters list
(#215) 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
(#498) Phpdocs for function offlinequiz_page_scanner::load_stored_image has incomplete parameters list
(#831) Phpdocs for function offlinequiz_page_scanner::hotspot_value has incomplete parameters list
(#1397) 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
(#364) Phpdocs for function offlinequiz_statistics_question_stats::secondary_steps_walker has incomplete parameters list
mod/offlinequiz/report/statistics/report.php
(#51) Phpdocs for function offlinequiz_statistics_report::display has incomplete parameters list
(#422) Phpdocs for function offlinequiz_statistics_report::print_offlinequiz_group_selector has incomplete parameters list
(#449) Phpdocs for function offlinequiz_statistics_report::output_individual_question_data has incomplete parameters list
(#526) Phpdocs for function offlinequiz_statistics_report::render_question_text_plain has incomplete parameters list
(#767) Phpdocs for function offlinequiz_statistics_report::output_offlinequiz_question_answer_table has incomplete parameters list
(#788) Phpdocs for function offlinequiz_statistics_report::output_question_answers has incomplete parameters list
(#914) Phpdocs for function offlinequiz_statistics_report::output_statistics_graph has incomplete parameters list
(#933) Phpdocs for function offlinequiz_statistics_report::get_emtpy_stats has incomplete parameters list
(#958) Phpdocs for function offlinequiz_statistics_report::compute_stats has incomplete parameters list
(#1198) Phpdocs for function offlinequiz_statistics_report::cache_stats has incomplete parameters list
(#1325) Phpdocs for function offlinequiz_statistics_report::output_caching_info has incomplete parameters list
(#1376) Phpdocs for function offlinequiz_statistics_report::clear_cached_data has incomplete parameters list
(#1451) Phpdocs for function offlinequiz_statistics_qubaids_condition has incomplete parameters list
(#861) 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)]}
(#880) 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)]}
(#1449) Inline phpdocs tag {@link qubaid_condition} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1450) 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
(#369) Phpdocs for function offlinequiz_question_answer_statistics_table::is_dubious_question has incomplete parameters list
(#403) Phpdocs for function offlinequiz_question_answer_statistics_table::col_correct has incomplete parameters list
(#417) Phpdocs for function offlinequiz_question_answer_statistics_table::col_partially has incomplete parameters list
(#431) 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
(#61) Phpdocs for function offlinequiz_statistics_question_table::question_setup has incomplete parameters list
mod/offlinequiz/report/statistics/statistics_table.php
(#269) Phpdocs for function offlinequiz_statistics_table::is_dubious_question has incomplete parameters list
(#310) Phpdocs for function offlinequiz_statistics_table::col_correct has incomplete parameters list
(#323) Phpdocs for function offlinequiz_statistics_table::col_partially has incomplete parameters list
(#335) 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, 1 warnings)

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

mod/offlinequiz/db/upgrade.php
Detected fewer 'if' blocks (67) than 'savepoint' calls (68). Repeated savepoints?

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

(7 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/offlinequizquestionbank/js/offlinequizquestionbank.js
contains 6 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, 13 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_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.)

Gherkin .feature problems

(0 errors, 0 warnings)

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