Prechecker results: error


Overview

(0 errors, 0 warnings)

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


PHP lint problems

(0 errors, 0 warnings)

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


PHP coding style problems

(280 errors, 495 warnings)

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

mod/studentquiz/attempt.php
(#43) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#155) 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
(#192) 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.
(#220) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#243) There should be a comma after the last array item in a multi-line array.
(#255) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/backup/moodle2/backup_studentquiz_stepslib.php
(#45) There should be a comma after the last array item in a multi-line array.
(#83) There should be a comma after the last array item in a multi-line array.
(#133) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
mod/studentquiz/backup/moodle2/restore_studentquiz_activity_task.class.php
(#62) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
mod/studentquiz/backup/moodle2/restore_studentquiz_stepslib.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#41) Short array syntax must be used to define arrays
(#304) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/changestate.php
(#62) Short array syntax must be used to define arrays
mod/studentquiz/classes/commentarea/comment.php
(#83) There should be a comma after the last array item in a multi-line array.
(#469) There should be a comma after the last array item in a multi-line array.
(#474) There should be a comma after the last array item in a multi-line array.
(#481) There should be a comma after the last array item in a multi-line array.
(#542) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/commentarea/container.php
(#142) There should be a comma after the last array item in a multi-line array.
(#148) There should be a comma after the last array item in a multi-line array.
(#168) There should be a comma after the last array item in a multi-line array.
(#177) There should be a comma after the last array item in a multi-line array.
(#380) There should be a comma after the last array item in a multi-line array.
(#657) There should be a comma after the last array item in a multi-line array.
(#871) There should be a comma after the last array item in a multi-line array.
(#875) There should be a comma after the last array item in a multi-line array.
(#885) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/commentarea/form/comment_form.php
(#126) There should be a comma after the last array item in a multi-line array.
(#136) There should be a comma after the last array item in a multi-line array.
(#156) There should be a comma after the last array item in a multi-line array.
(#186) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/commentarea/form/comment_simple_editor.php
(#34) There should be a comma after the last array item in a multi-line array.
(#40) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/completion/custom_completion.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#40) Missing docblock for function get_state
(#70) Missing docblock for function get_defined_custom_rules
(#78) Missing docblock for function get_custom_rule_descriptions
(#92) Missing docblock for function get_sort_order
mod/studentquiz/classes/condition/studentquiz_condition.php
(#81) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
mod/studentquiz/classes/event/studentquiz_questionbank_viewed.php
(#49) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
mod/studentquiz/classes/event/studentquiz_report_quiz_viewed.php
(#49) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
mod/studentquiz/classes/event/studentquiz_report_rank_viewed.php
(#49) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
mod/studentquiz/classes/external/update_question_state.php
(#59) There should be a comma after the last array item in a multi-line array.
(#129) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/local/external/create_comment_api.php
(#61) There should be a comma after the last array item in a multi-line array.
(#63) There should be a comma after the last array item in a multi-line array.
(#94) There should be a comma after the last array item in a multi-line array.
(#117) 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.
(#126) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/local/external/delete_comment_api.php
(#58) 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.
(#88) 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.
mod/studentquiz/classes/local/external/edit_comment_api.php
(#62) There should be a comma after the last array item in a multi-line array.
(#64) 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.
(#118) 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.
(#128) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/local/external/expand_comment_api.php
(#59) There should be a comma after the last array item in a multi-line array.
(#92) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/local/external/get_comments_api.php
(#61) 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.
(#102) There should be a comma after the last array item in a multi-line array.
(#126) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/local/studentquiz_progress.php
(#65) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $id.
(#107) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/local/studentquiz_question.php
(#61) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $question.
(#62) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $studentquiz.
(#169) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $studentquiz.
(#249) There should be a comma after the last array item in a multi-line array.
(#320) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $timecreated.
mod/studentquiz/classes/privacy/provider.php
(#42) Missing docblock for interface studentquiz_userlist
(#68) There should be a comma after the last array item in a multi-line array.
(#78) There should be a comma after the last array item in a multi-line array.
(#90) There should be a comma after the last array item in a multi-line array.
(#107) There should be a comma after the last array item in a multi-line array.
(#114) There should be a comma after the last array item in a multi-line array.
(#122) There should be a comma after the last array item in a multi-line array.
(#129) There should be a comma after the last array item in a multi-line array.
(#347) 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.
(#372) There should be a comma after the last array item in a multi-line array.
(#384) There should be a comma after the last array item in a multi-line array.
(#397) There should be a comma after the last array item in a multi-line array.
(#407) There should be a comma after the last array item in a multi-line array.
(#419) There should be a comma after the last array item in a multi-line array.
(#431) There should be a comma after the last array item in a multi-line array.
(#498) There should be a comma after the last array item in a multi-line array.
(#535) There should be a comma after the last array item in a multi-line array.
(#545) There should be a comma after the last array item in a multi-line array.
(#610) There should be a comma after the last array item in a multi-line array.
(#619) There should be a comma after the last array item in a multi-line array.
(#643) There should be a comma after the last array item in a multi-line array.
(#877) There should be a comma after the last array item in a multi-line array.
(#968) There should be a comma after the last array item in a multi-line array.
(#969) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/question/bank/anonym_creator_name_column.php
(#96) There must be a single space between the colon and type in a return type declaration
mod/studentquiz/classes/question/bank/attempts_column.php
(#59) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#110) There should be a comma after the last array item in a multi-line array.
(#119) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
mod/studentquiz/classes/question/bank/comment_column.php
(#121) 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.
(#138) There should be a comma after the last array item in a multi-line array.
(#139) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/question/bank/difficulty_level_column.php
(#52) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
mod/studentquiz/classes/question/bank/question_bank_filter.php
(#88) There should be a comma after the last array item in a multi-line array.
(#106) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#396) Short array syntax must be used to define arrays
(#396) Short array syntax must be used to define arrays
(#413) Short array syntax must be used to define arrays
(#432) Short array syntax must be used to define arrays
(#460) Short array syntax must be used to define arrays
mod/studentquiz/classes/question/bank/question_name_column.php
(#75) There must be a single space between the colon and type in a return type declaration
mod/studentquiz/classes/question/bank/question_text_row.php
(#68) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
mod/studentquiz/classes/question/bank/rate_column.php
(#49) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
mod/studentquiz/classes/question/bank/sq_pin_action.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#37) Missing member variable doc comment
(#63) Short array syntax must be used to define arrays
mod/studentquiz/classes/question/bank/state_column.php
(#81) Short array syntax must be used to define arrays
mod/studentquiz/classes/question/bank/state_pin_column.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#67) Short array syntax must be used to define arrays
mod/studentquiz/classes/question/bank/studentquiz_bank_view.php
(#55) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#189) Missing docblock for function new_sort_url
(#216) Short array syntax must be used to define arrays
(#229) There should be a comma after the last array item in a multi-line array.
(#265) Short array syntax must be used to define arrays
(#314) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#327) Short array syntax must be used to define arrays
(#357) Short array syntax must be used to define arrays
(#418) Short array syntax must be used to define arrays
(#458) Expected 1 space before "="; 0 found
(#503) Line exceeds 132 characters; contains 133 characters
(#521) There should be a comma after the last array item in a multi-line array.
(#595) Short array syntax must be used to define arrays
mod/studentquiz/classes/question/bank/studentquiz_bank_view_pre_43.php
(#53) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#222) Short array syntax must be used to define arrays
(#235) There should be a comma after the last array item in a multi-line array.
(#270) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#328) Short array syntax must be used to define arrays
(#329) Short array syntax must be used to define arrays
(#364) Short array syntax must be used to define arrays
(#425) Short array syntax must be used to define arrays
(#430) Short array syntax must be used to define arrays
(#451) Short array syntax must be used to define arrays
(#456) Short array syntax must be used to define arrays
(#461) Short array syntax must be used to define arrays
(#466) Short array syntax must be used to define arrays
(#473) Short array syntax must be used to define arrays
(#508) Short array syntax must be used to define arrays
(#510) There should be a comma after the last array item in a multi-line array.
(#582) Short array syntax must be used to define arrays
mod/studentquiz/classes/question/bank/studentquiz_column_base.php
(#51) There must be a single space between the colon and type in a return type declaration
mod/studentquiz/classes/question/bank/tag_column.php
(#101) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
mod/studentquiz/classes/statistics_calculator.php
(#478) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/task/send_digest_notification_task.php
(#83) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/utils.php
(#157) There should be a comma after the last array item in a multi-line array.
(#230) There should be a comma after the last array item in a multi-line array.
(#251) There should be a comma after the last array item in a multi-line array.
(#573) There should be a comma after the last array item in a multi-line array.
(#587) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $timecreated.
(#781) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $studentquizquestion.
mod/studentquiz/db/access.php
(#49) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#181) There should be a comma after the last array item in a multi-line array.
(#190) There should be a comma after the last array item in a multi-line array.
(#198) There should be a comma after the last array item in a multi-line array.
(#199) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/db/messages.php
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#30) There should be a comma after the last array item in a multi-line array.
(#33) 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.
(#37) Short array syntax must be used to define arrays
(#38) There should be a comma after the last array item in a multi-line array.
(#41) Short array syntax must be used to define arrays
(#42) There should be a comma after the last array item in a multi-line array.
(#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.
mod/studentquiz/db/services.php
(#33) 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.
(#49) There should be a comma after the last array item in a multi-line array.
(#57) There should be a comma after the last array item in a multi-line array.
(#65) There should be a comma after the last array item in a multi-line array.
(#73) There should be a comma after the last array item in a multi-line array.
(#74) There should be a comma after the last array item in a multi-line array.
(#84) There should be a comma after the last array item in a multi-line array.
(#88) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/db/tasks.php
(#35) There should be a comma after the last array item in a multi-line array.
(#45) There should be a comma after the last array item in a multi-line array.
(#46) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/db/upgrade.php
(#108) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#164) Short array syntax must be used to define arrays
(#164) Short array syntax must be used to define arrays
(#184) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#187) Short array syntax must be used to define arrays
(#187) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#214) Short array syntax must be used to define arrays
(#214) Short array syntax must be used to define arrays
(#215) Short array syntax must be used to define arrays
(#215) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#245) Short array syntax must be used to define arrays
(#246) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#254) Short array syntax must be used to define arrays
(#258) Short array syntax must be used to define arrays
(#262) Short array syntax must be used to define arrays
(#289) Short array syntax must be used to define arrays
(#290) There should be a comma after the last array item in a multi-line array.
(#372) Short array syntax must be used to define arrays
(#405) Short array syntax must be used to define arrays
(#406) 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
(#407) Short array syntax must be used to define arrays
(#408) Short array syntax must be used to define arrays
(#408) Short array syntax must be used to define arrays
(#444) Short array syntax must be used to define arrays
(#445) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/hideaction.php
(#47) Short array syntax must be used to define arrays
mod/studentquiz/index.php
(#29) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
mod/studentquiz/lang/en/studentquiz.php
(#32) The string key "addprivatecomment" is not in the correct order, it should be before "addpubliccomment"
(#34) The string key "abort_button" is not in the correct order, it should be before "addprivatecomment_help"
(#39) The string key "anonymous_user_name" is not in the correct order, it should be before "answeringndbeforestart"
(#40) The string key "anonymous_user" is not in the correct order, it should be before "anonymous_user_name"
(#43) The string key "api_state_change_error_title" is not in the correct order, it should be before "api_state_change_success_title"
(#44) The string key "api_state_change_error_content" is not in the correct order, it should be before "api_state_change_error_title"
(#65) The string key "comment_author" is not in the correct order, it should be before "commentplural"
(#67) The string key "comment_cannot_update" is not in the correct order, it should be before "comment_column_name"
(#73) The string key "commentcolumnexplainprivate" is not in the correct order, it should be before "commentcolumnexplainpublic"
(#75) The string key "comment_veryshort" is not in the correct order, it should be before "commenthistory"
(#78) The string key "completiondetail:point" is not in the correct order, it should be before "completiondetail:published"
(#101) The string key "delete" is not in the correct order, it should be before "difficulty_title"
(#103) The string key "deletecomment" is not in the correct order, it should be before "deleted"
(#105) The string key "deletedbyauthor" is not in the correct order, it should be before "deletedbyuser"
(#116) The string key "editedcomment_last_edit" is not in the correct order, it should be before "emailautomationnote"
(#119) The string key "editedcommenthistorylinktext" is not in the correct order, it should be before "editedcommenthistorywithuserlink"
(#149) The string key "emailnoityfyreviewablequestion_section_content" is not in the correct order, it should be before "emailnoityfyreviewablequestionsinglebody"
(#152) The string key "emaildigestbody" is not in the correct order, it should be before "emailsinglebody_reviewlink"
(#154) The string key "emaildigestbody_section_content" is not in the correct order, it should be before "emaildigestbody_section_title"
(#157) The string key "editorplaceholder" is not in the correct order, it should be before "emailsalutation"
(#161) The string key "error_permission" is not in the correct order, it should be before "error_sendalert"
(#163) The string key "expandall" is not in the correct order, it should be before "expandcomment"
(#168) The string key "filter_comment_label_date" is not in the correct order, it should be before "filter_comment_label_surname"
(#191) The string key "filter_label_notmine" is not in the correct order, it should be before "filter_label_onlymine"
(#193) The string key "filter_label_notmine_help" is not in the correct order, it should be before "filter_label_onlymine_help"
(#198) The string key "filter_label_question_creation_item" is not in the correct order, it should be before "filter_label_questiontext"
(#201) The string key "filter_label_owner" is not in the correct order, it should be before "filter_label_rates"
(#206) The string key "hidden" is not in the correct order, it should be before "history"
(#218) The string key "messageprovider:commentadded" is not in the correct order, it should be before "messageprovider:questionchanged"
(#246) The string key "no_comment" is not in the correct order, it should be before "nocommenthistoryexist"
(#256) The string key "no_rates" is not in the correct order, it should be before "noquestionsselectedtodoaction"
(#281) The string key "privacy:metadata:studentquiz_comment:parentid" is not in the correct order, it should be before "privacy:metadata:studentquiz_comment:userid"
(#282) The string key "privacy:metadata:studentquiz_comment:deleted" is not in the correct order, it should be before "privacy:metadata:studentquiz_comment:parentid"
(#288) The string key "privacy:metadata:studentquiz_comment:timemodified" is not in the correct order, it should be before "privacy:metadata:studentquiz_comment:type"
(#293) The string key "privacy:metadata:studentquiz_comment_history:action" is not in the correct order, it should be before "privacy:metadata:studentquiz_comment_history:userid"
(#295) The string key "privacy:metadata:studentquiz_comment_history" is not in the correct order, it should be before "privacy:metadata:studentquiz_comment_history:timemodified"
(#298) The string key "privacy:metadata:studentquiz_question:state" is not in the correct order, it should be before "privacy:metadata:studentquiz_question:studentquizid"
(#299) The string key "privacy:metadata:studentquiz_question:hidden" is not in the correct order, it should be before "privacy:metadata:studentquiz_question:state"
(#301) The string key "privacy:metadata:studentquiz_question:groupid" is not in the correct order, it should be before "privacy:metadata:studentquiz_question:pinned"
(#302) The string key "privacy:metadata:mod_studentquiz_comment_sort" is not in the correct order, it should be before "privacy:metadata:studentquiz_question:groupid"
(#306) The string key "privacy:metadata:studentquiz_notification:content" is not in the correct order, it should be before "privacy:metadata:studentquiz_notification:studentquizid"
(#317) The string key "privacy:metadata:studentquiz_progress:studentquizid" is not in the correct order, it should be before "privacy:metadata:studentquiz_progress:studentquizquestionid"
(#321) The string key "privacy:metadata:studentquiz_rate:rate" is not in the correct order, it should be before "privacy:metadata:studentquiz_rate:studentquizquestionid"
(#325) The string key "privacy:metadata:studentquiz_state_history:state" is not in the correct order, it should be before "privatecomments"
(#327) The string key "privacy:metadata:studentquiz_state_history:studentquizquestionid" is not in the correct order, it should be before "privacy:metadata:studentquiz_state_history:userid"
(#342) The string key "rate_multi_stars_desc" is not in the correct order, it should be before "rate_one_star_desc"
(#410) The string key "reportcomment" is not in the correct order, it should be before "reportrank_title"
(#412) The string key "replycomment" is not in the correct order, it should be before "reportcomment_title"
(#413) The string key "reply" is not in the correct order, it should be before "replycomment"
(#414) The string key "replies" is not in the correct order, it should be before "reply"
(#417) The string key "report_comment_info" is not in the correct order, it should be before "report_comment_pagename"
(#421) The string key "report_comment_condition1" is not in the correct order, it should be before "report_comment_reasons"
(#429) The string key "report_comment_reporter_detail" is not in the correct order, it should be before "report_comment_reporter_info"
(#430) The string key "report_comment_invalid" is not in the correct order, it should be before "report_comment_reporter_detail"
(#433) The string key "report_comment_emailsubject" is not in the correct order, it should be before "report_comment_submit"
(#434) The string key "report_comment_emailpreface" is not in the correct order, it should be before "report_comment_emailsubject"
(#438) The string key "report_comment_emailappendix" is not in the correct order, it should be before "report_comment_feedback"
(#443) The string key "deleteorphanedquestions" is not in the correct order, it should be before "savechanges"
(#473) The string key "settingsdeleteorphanedtime6m" is not in the correct order, it should be before "settingsdeleteorphanedtimelimit_help"
(#474) The string key "settingsdeleteorphanedtime1y" is not in the correct order, it should be before "settingsdeleteorphanedtime6m"
(#477) The string key "settings_allowedrolestoshow" is not in the correct order, it should be before "settingsdeleteorphanedtime3y"
(#482) The string key "settings_email_digest_type_daily_digest" is not in the correct order, it should be before "settings_email_digest_type_no_digest"
(#484) The string key "settings_email_digest_first_day" is not in the correct order, it should be before "settings_email_digest_type_weekly_digest"
(#488) The string key "settings_excluderoles_help" is not in the correct order, it should be before "settings_excluderoles_label"
(#491) The string key "settings_forcecommenting" is not in the correct order, it should be before "settings_forcerating_help"
(#513) The string key "settings_section_header_commenting" is not in the correct order, it should be before "settings_section_header_question"
(#514) The string key "settings_section_header_comment_rating" is not in the correct order, it should be before "settings_section_header_commenting"
(#516) The string key "settings_privatecomment" is not in the correct order, it should be before "settings_section_header_ranking"
(#518) The string key "setting_question_publishing" is not in the correct order, it should be before "settings_privatecomment_help"
(#520) The string key "setting_question_publishing_automatic" is not in the correct order, it should be before "setting_question_publishing_help"
(#524) The string key "settings_commentdeletionperiod" is not in the correct order, it should be before "settings_showprivatecomment_help"
(#541) The string key "state_change_tooltip_disapproved" is not in the correct order, it should be before "state_changedplural"
(#542) The string key "state_change_tooltip_approved" is not in the correct order, it should be before "state_change_tooltip_disapproved"
(#544) The string key "state_change_tooltip_changed" is not in the correct order, it should be before "state_change_tooltip_new"
(#550) The string key "state_deletedlowercase" is not in the correct order, it should be before "state_deletedplural"
(#553) The string key "state_disapprovedlowercase" is not in the correct order, it should be before "state_disapprovedplural"
(#556) The string key "state_hiddenlowercase" is not in the correct order, it should be before "state_hiddenplural"
(#559) The string key "state_pinnedlowercase" is not in the correct order, it should be before "state_pinnedplural"
(#561) The string key "state_approved" is not in the correct order, it should be before "state_toggle"
(#581) The string key "state_reviewable" is not in the correct order, it should be before "statistic_block_title"
(#587) The string key "studentquiz:cancommentprivately" is not in the correct order, it should be before "studentquiz:canselfratecomment"
(#613) The string key "notshowratingcomment" is not in the correct order, it should be before "weekly"
mod/studentquiz/lib.php
(#99) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $mform.
(#150) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#170) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $mform.
(#215) There should be a comma after the last array item in a multi-line array.
(#216) 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) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#447) Short array syntax must be used to define arrays
(#485) Short array syntax must be used to define arrays
(#526) Short array syntax must be used to define arrays
(#530) Short array syntax must be used to define arrays
(#557) Short array syntax must be used to define arrays
(#612) There should be a comma after the last array item in a multi-line array.
(#645) There should be a comma after the last array item in a multi-line array.
(#708) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/locallib.php
(#52) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#358) Short array syntax must be used to define arrays
(#384) Short array syntax must be used to define arrays
(#413) Short array syntax must be used to define arrays
(#595) Short array syntax must be used to define arrays
(#597) There should be a comma after the last array item in a multi-line array.
(#609) Short array syntax must be used to define arrays
(#610) There should be a comma after the last array item in a multi-line array.
(#624) Short array syntax must be used to define arrays
(#626) There should be a comma after the last array item in a multi-line array.
(#639) Short array syntax must be used to define arrays
(#641) There should be a comma after the last array item in a multi-line array.
(#657) Short array syntax must be used to define arrays
(#671) Short array syntax must be used to define arrays
(#707) Short array syntax must be used to define arrays
(#752) There should be a comma after the last array item in a multi-line array.
(#777) There should be a comma after the last array item in a multi-line array.
(#873) There should be a comma after the last array item in a multi-line array.
(#898) Short array syntax must be used to define arrays
mod/studentquiz/mod_form.php
(#65) 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.
(#160) Short array syntax must be used to define arrays
(#232) There should be a comma after the last array item in a multi-line array.
(#246) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/pinaction.php
(#47) Short array syntax must be used to define arrays
mod/studentquiz/preview.php
(#40) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
mod/studentquiz/renderer.php
(#56) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#79) There must not be a space before the colon in a return type declaration
(#104) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#192) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#204) Short array syntax must be used to define arrays
(#294) Short array syntax must be used to define arrays
(#295) Short array syntax must be used to define arrays
(#299) Short array syntax must be used to define arrays
(#301) Short array syntax must be used to define arrays
(#303) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
(#307) Short array syntax must be used to define arrays
(#309) Short array syntax must be used to define arrays
(#311) Short array syntax must be used to define arrays
(#312) Short array syntax must be used to define arrays
(#318) Short array syntax must be used to define arrays
(#321) Short array syntax must be used to define arrays
(#334) Short array syntax must be used to define arrays
(#337) Duplicate array key found. The value will be overwritten. The string array key "text-anchor" was first seen on line 334
(#343) Short array syntax must be used to define arrays
(#346) Short array syntax must be used to define arrays
(#349) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#417) Short array syntax must be used to define arrays
(#472) There should be a comma after the last array item in a multi-line array.
(#493) There should be a comma after the last array item in a multi-line array.
(#539) Short array syntax must be used to define arrays
(#543) There should be a comma after the last array item in a multi-line array.
(#582) There should be a comma after the last array item in a multi-line array.
(#665) Short array syntax must be used to define arrays
(#669) There should be a comma after the last array item in a multi-line array.
(#707) There should be a comma after the last array item in a multi-line array.
(#761) There should be a comma after the last array item in a multi-line array.
(#790) There should be a comma after the last array item in a multi-line array.
(#813) There should be a comma after the last array item in a multi-line array.
(#836) There should be a comma after the last array item in a multi-line array.
(#874) There should be a comma after the last array item in a multi-line array.
(#879) There should be a comma after the last array item in a multi-line array.
(#880) There should be a comma after the last array item in a multi-line array.
(#894) There should be a comma after the last array item in a multi-line array.
(#899) There should be a comma after the last array item in a multi-line array.
(#900) There should be a comma after the last array item in a multi-line array.
(#1021) Short array syntax must be used to define arrays
(#1022) Short array syntax must be used to define arrays
(#1266) There should be a comma after the last array item in a multi-line array.
(#1381) There should be a comma after the last array item in a multi-line array.
(#1388) There should be a comma after the last array item in a multi-line array.
(#1451) There should be a comma after the last array item in a multi-line array.
(#1570) There should be a comma after the last array item in a multi-line array.
(#1587) There should be a comma after the last array item in a multi-line array.
(#1622) Short array syntax must be used to define arrays
(#1654) There should be a comma after the last array item in a multi-line array.
(#1748) There should be a comma after the last array item in a multi-line array.
(#1757) There should be a comma after the last array item in a multi-line array.
(#1763) There should be a comma after the last array item in a multi-line array.
(#1833) There should be a comma after the last array item in a multi-line array.
(#1846) There should be a comma after the last array item in a multi-line array.
(#1859) There should be a comma after the last array item in a multi-line array.
(#1905) There should be a comma after the last array item in a multi-line array.
(#1988) Short array syntax must be used to define arrays
(#1989) Short array syntax must be used to define arrays
(#1990) Short array syntax must be used to define arrays
(#1996) There should be a comma after the last array item in a multi-line array.
(#2024) Short array syntax must be used to define arrays
(#2025) Short array syntax must be used to define arrays
(#2028) Short array syntax must be used to define arrays
(#2031) Short array syntax must be used to define arrays
(#2035) Short array syntax must be used to define arrays
(#2038) Short array syntax must be used to define arrays
(#2038) There should be a comma after the last array item in a multi-line array.
(#2040) Short array syntax must be used to define arrays
(#2043) Short array syntax must be used to define arrays
(#2046) Short array syntax must be used to define arrays
(#2050) Short array syntax must be used to define arrays
(#2053) Short array syntax must be used to define arrays
(#2054) There should be a comma after the last array item in a multi-line array.
(#2056) Short array syntax must be used to define arrays
(#2059) Short array syntax must be used to define arrays
(#2061) Short array syntax must be used to define arrays
(#2064) Short array syntax must be used to define arrays
(#2067) Short array syntax must be used to define arrays
(#2067) There should be a comma after the last array item in a multi-line array.
(#2069) Short array syntax must be used to define arrays
(#2072) Short array syntax must be used to define arrays
(#2074) Short array syntax must be used to define arrays
(#2077) Short array syntax must be used to define arrays
(#2079) Short array syntax must be used to define arrays
(#2079) There should be a comma after the last array item in a multi-line array.
(#2081) Short array syntax must be used to define arrays
(#2084) Short array syntax must be used to define arrays
(#2086) Short array syntax must be used to define arrays
(#2089) Short array syntax must be used to define arrays
(#2091) Short array syntax must be used to define arrays
(#2091) There should be a comma after the last array item in a multi-line array.
(#2093) Short array syntax must be used to define arrays
(#2096) Short array syntax must be used to define arrays
(#2098) Short array syntax must be used to define arrays
(#2101) Short array syntax must be used to define arrays
(#2104) Short array syntax must be used to define arrays
(#2104) There should be a comma after the last array item in a multi-line array.
(#2105) There should be a comma after the last array item in a multi-line array.
(#2137) Short array syntax must be used to define arrays
(#2138) Short array syntax must be used to define arrays
(#2139) Short array syntax must be used to define arrays
(#2143) Short array syntax must be used to define arrays
(#2144) Short array syntax must be used to define arrays
(#2147) Short array syntax must be used to define arrays
(#2150) Short array syntax must be used to define arrays
(#2153) Short array syntax must be used to define arrays
(#2156) Short array syntax must be used to define arrays
(#2158) There should be a comma after the last array item in a multi-line array.
(#2172) Short array syntax must be used to define arrays
(#2173) Short array syntax must be used to define arrays
(#2174) Short array syntax must be used to define arrays
(#2182) There should be a comma after the last array item in a multi-line array.
(#2191) Short array syntax must be used to define arrays
(#2192) Short array syntax must be used to define arrays
(#2220) Short array syntax must be used to define arrays
(#2222) Short array syntax must be used to define arrays
(#2236) Short array syntax must be used to define arrays
(#2241) Short array syntax must be used to define arrays
(#2259) There should be a comma after the last array item in a multi-line array.
(#2261) Short array syntax must be used to define arrays
(#2261) Short array syntax must be used to define arrays
(#2337) There should be a comma after the last array item in a multi-line array.
(#2375) There should be a comma after the last array item in a multi-line array.
(#2386) There should be a comma after the last array item in a multi-line array.
(#2403) There should be a comma after the last array item in a multi-line array.
(#2405) There should be a comma after the last array item in a multi-line array.
(#2417) There should be a comma after the last array item in a multi-line array.
(#2424) There should be a comma after the last array item in a multi-line array.
(#2479) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/reportcomment.php
(#41) There should be a comma after the last array item in a multi-line array.
(#62) There should be a comma after the last array item in a multi-line array.
(#99) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/reportlib.php
(#101) Missing member variable doc comment
(#181) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
mod/studentquiz/settings.php
(#102) Short array syntax must be used to define arrays
mod/studentquiz/tests/add_test.php
(#28) Unit test add_test should be declared as final.
(#46) Test method test_add_studentquiz_with_zero_period() is missing a return type
(#58) Test method test_add_studentquiz_with_normal_period() is missing a return type
(#68) Test method test_add_studentquiz_with_expected_completion() is missing a return type
(#85) Data provider method "period_provider" will need to be converted to static in future.
(#85) Data provider method "period_provider" must return an array, a Generator or an Iterable.
mod/studentquiz/tests/backup_test.php
(#30) Unit test backup_test should be declared as final.
(#45) Test method test_backup_restore_course_with_sq() is missing a return type
(#61) There should be a comma after the last array item in a multi-line array.
(#121) Data provider method "old_sq_backup_data_provider" will need to be converted to static in future.
(#187) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/tests/bank_performance_test.php
(#51) Unit test bank_performance_test should be declared as final.
(#77) 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
(#96) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#179) Test method test_questionbank_empty_filter() is missing a return type
mod/studentquiz/tests/bank_view_test.php
(#64) Unit test bank_view_test should be declared as final.
(#101) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#166) Test method test_wanted_columns() is missing a return type
(#223) Short array syntax must be used to define arrays
(#263) Test method test_questionbank_empty_filter() is missing a return type
(#277) Test method test_questionbank_filter_question_name() is missing a return type
mod/studentquiz/tests/behat/behat_mod_studentquiz.php
(#181) Short array syntax must be used to define arrays
mod/studentquiz/tests/comment_test.php
(#30) Unit test comment_test should be declared as final.
(#81) There should be a comma after the last array item in a multi-line array.
(#85) 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) There should be a comma after the last array item in a multi-line array.
(#97) 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.
(#118) Short array syntax must be used to define arrays
(#122) There should be a comma after the last array item in a multi-line array.
(#185) There should be a comma after the last array item in a multi-line array.
(#190) There should be a comma after the last array item in a multi-line array.
(#200) Test method test_initial() is missing a return type
(#212) Test method test_create_root_comment() is missing a return type
(#226) Test method test_create_reply_comment() is missing a return type
(#243) Data provider must not start with "test_". "test_shorten_comment_provider" provided.
(#262) Data provider method "test_shorten_comment_provider" will need to be converted to static in future.
(#268) There should be a comma after the last array item in a multi-line array.
(#273) There should be a comma after the last array item in a multi-line array.
(#280) There should be a comma after the last array item in a multi-line array.
(#281) There should be a comma after the last array item in a multi-line array.
(#289) Test method test_delete_comment() is missing a return type
(#309) Test method test_fetch_all_comments() is missing a return type
(#341) Test method test_report_feature() is missing a return type
(#380) There should be a comma after the last array item in a multi-line array.
(#390) Test method test_sort_feature() is missing a return type
(#458) Test method test_sortable_feature() is missing a return type
(#523) Short array syntax must be used to define arrays
(#527) There should be a comma after the last array item in a multi-line array.
(#539) There should be a comma after the last array item in a multi-line array.
(#551) There should be a comma after the last array item in a multi-line array.
(#560) Test method test_edit_comment() is missing a return type
(#585) Test method test_editable_when_turn_off_period_setting_comment() is missing a return type
(#601) Test method test_editable_when_turn_on_period_setting_comment() is missing a return type
(#617) Test method test_create_comment_history() is missing a return type
(#635) Test method test_get_histories() is missing a return type
(#649) Test method test_extract_comment_histories_to_render() is missing a return type
(#666) Test method test_user_permission_for_preview_mode() is missing a return type
(#676) Test method test_update_comment_last_read() is missing a return type
mod/studentquiz/tests/cron_test.php
(#29) Unit test cron_test should be declared as final.
(#129) Test method test_send_no_digest_notification_task() is missing a return type
(#172) Test method test_send_digest_notification_task() is missing a return type
(#188) There should be a comma after the last array item in a multi-line array.
(#219) Data provider method "state_data_provider" will need to be converted to static in future.
(#219) Data provider method "state_data_provider" will need to be converted to static in future.
mod/studentquiz/tests/custom_completion_test.php
(#33) Unit test custom_completion_test should be declared as final.
(#52) Test method test_get_custom_rule_descriptions() is missing a return type
(#88) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/tests/delete_instance_test.php
(#28) Unit test delete_instance_test should be declared as final.
(#42) Short array syntax must be used to define arrays
(#61) 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.
(#75) There should be a comma after the last array item in a multi-line array.
(#93) There should be a comma after the last array item in a multi-line array.
(#105) 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
mod/studentquiz/tests/generator/lib.php
(#59) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $options.
(#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.
mod/studentquiz/tests/generator_test.php
(#28) Unit test generator_test should be declared as final.
(#49) Short array syntax must be used to define arrays
(#53) There should be a comma after the last array item in a multi-line array.
(#59) Short array syntax must be used to define arrays
(#69) Test method test_create_comment() is missing a return type
(#90) Test method test_create_rate() is missing a return type
mod/studentquiz/tests/lib_test.php
(#30) Unit test lib_test should be declared as final.
(#60) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/tests/locallib_test.php
(#30) Unit test locallib_test should be declared as final.
(#62) 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) There should be a comma after the last array item in a multi-line array.
(#74) There should be a comma after the last array item in a multi-line array.
(#78) There should be a comma after the last array item in a multi-line array.
(#82) There should be a comma after the last array item in a multi-line array.
(#86) There should be a comma after the last array item in a multi-line array.
(#90) There should be a comma after the last array item in a multi-line array.
(#106) There should be a comma after the last array item in a multi-line array.
(#116) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/tests/permissions_test.php
(#28) Unit test permissions_test should be declared as final.
(#41) Data provider method "ensure_permissions_are_right_testcases" will need to be converted to static in future.
(#119) Test method test_ensure_permissions_are_right() is missing a return type
mod/studentquiz/tests/privacy_test.php
(#35) Unit test privacy_test should be declared as final.
(#122) There should be a comma after the last array item in a multi-line array.
(#149) There should be a comma after the last array item in a multi-line array.
(#220) There should be a comma after the last array item in a multi-line array.
(#255) Test method test_get_contexts_for_userid() is missing a return type
(#276) Test method test_export_first_user_data() is missing a return type
(#290) There should be a comma after the last array item in a multi-line array.
(#296) There should be a comma after the last array item in a multi-line array.
(#326) There should be a comma after the last array item in a multi-line array.
(#335) There should be a comma after the last array item in a multi-line array.
(#399) There should be a comma after the last array item in a multi-line array.
(#411) There should be a comma after the last array item in a multi-line array.
(#435) Test method test_export_second_user_data() is missing a return type
(#467) There should be a comma after the last array item in a multi-line array.
(#479) There should be a comma after the last array item in a multi-line array.
(#492) There should be a comma after the last array item in a multi-line array.
(#542) There should be a comma after the last array item in a multi-line array.
(#557) There should be a comma after the last array item in a multi-line array.
(#571) There should be a comma after the last array item in a multi-line array.
(#580) There should be a comma after the last array item in a multi-line array.
(#589) Test method test_delete_data_for_all_users_in_context() is missing a return type
(#612) There should be a comma after the last array item in a multi-line array.
(#615) There should be a comma after the last array item in a multi-line array.
(#638) There should be a comma after the last array item in a multi-line array.
(#641) There should be a comma after the last array item in a multi-line array.
(#652) Test method test_delete_data_for_user() is missing a return type
(#660) There should be a comma after the last array item in a multi-line array.
(#726) Test method test_get_users_in_context_question() is missing a return type
(#751) Test method test_get_users_in_context_rating() is missing a return type
(#777) Test method test_get_users_in_context_comment() is missing a return type
(#803) Test method test_get_users_in_context_comment_history() is missing a return type
(#825) Test method test_get_users_in_context_attempt() is missing a return type
(#847) Test method test_get_users_in_context_notification() is missing a return type
(#868) Test method test_get_users_in_context_change_state() is missing a return type
(#889) Test method test_delete_data_for_users() is missing a return type
(#896) There should be a comma after the last array item in a multi-line array.
(#970) Short array syntax must be used to define arrays
(#972) There should be a comma after the last array item in a multi-line array.
(#995) There should be a comma after the last array item in a multi-line array.
(#1015) There should be a comma after the last array item in a multi-line array.
(#1048) There should be a comma after the last array item in a multi-line array.
(#1073) There should be a comma after the last array item in a multi-line array.
(#1100) There should be a comma after the last array item in a multi-line array.
(#1169) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/tests/report_test.php
(#35) Unit test report_test should be declared as final.
(#76) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#139) Test method test_mod_studentquiz_get_roles_to_exclude() is missing a return type
(#164) Test method test_mod_studentquiz_get_roles_which_can_be_exculded() is missing a return type
(#208) Test method test_mod_studentquiz_community_stats() is missing a return type
(#216) Test method test_mod_studentquiz_user_stats() is missing a return type
(#225) Test method test_mod_studentquiz_get_studentquiz_progress_from_question_attempts_steps() is missing a return type
(#260) Short array syntax must be used to define arrays
(#262) Short array syntax must be used to define arrays
(#264) Short array syntax must be used to define arrays
mod/studentquiz/tests/studentquiz_question_test.php
(#30) Unit test studentquiz_question_test should be declared as final.
mod/studentquiz/tests/utils_test.php
(#27) Unit test utils_test should be declared as final.
(#34) Test method test_send_report() is missing a return type
(#41) There should be a comma after the last array item in a multi-line array.
(#54) There should be a comma after the last array item in a multi-line array.
(#58) There should be a comma after the last array item in a multi-line array.
(#59) 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.
(#76) There should be a comma after the last array item in a multi-line array.
(#80) There should be a comma after the last array item in a multi-line array.
(#81) There should be a comma after the last array item in a multi-line array.
(#114) Data provider method "ensure_question_version_status_is_correct_testcases" will need to be converted to static in future.
(#117) There should be a comma after the last array item in a multi-line array.
(#120) 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.
mod/studentquiz/tests/viewlib_test.php
(#32) Unit test viewlib_test should be declared as final.
(#50) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#72) Test method test_has_question_ids() is missing a return type
(#83) Test method test_show_questionbank() is missing a return type
(#91) Test method test_get_viewurl() is missing a return type
(#93) Short array syntax must be used to define arrays
(#102) Test method test_get_title() is missing a return type
(#130) Test method test_get_standard_quiz_setup() is missing a return type
(#143) Short array syntax must be used to define arrays
mod/studentquiz/view.php
(#79) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
mod/studentquiz/viewlib.php
(#230) Short array syntax must be used to define arrays

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(1 errors, 0 warnings)

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

mod/studentquiz/classes/local/studentquiz_question.php
(#315) Phpdocs for function studentquiz_question::save_action has incomplete parameters list

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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