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

(269 errors, 346 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
(#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
(#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
(#166) Short array syntax must be used to define arrays
(#166) 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
(#107) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/local/studentquiz_question.php
(#249) There should be a comma after the last array item in a multi-line array.
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
(#84) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#383) Short array syntax must be used to define arrays
(#383) Short array syntax must be used to define arrays
(#400) Short array syntax must be used to define arrays
(#419) Short array syntax must be used to define arrays
(#447) 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
(#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
(#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
(#423) Short array syntax must be used to define arrays
(#444) Short array syntax must be used to define arrays
(#449) Short array syntax must be used to define arrays
(#454) Short array syntax must be used to define arrays
(#459) Short array syntax must be used to define arrays
(#466) Short array syntax must be used to define arrays
(#501) Short array syntax must be used to define arrays
(#503) There should be a comma after the last array item in a multi-line array.
(#576) 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
(#465) 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.
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/lib.php
(#139) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#204) There should be a comma after the last array item in a multi-line array.
(#205) There should be a comma after the last array item in a multi-line array.
(#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
(#436) Short array syntax must be used to define arrays
(#474) Short array syntax must be used to define arrays
(#515) Short array syntax must be used to define arrays
(#519) Short array syntax must be used to define arrays
(#546) Short array syntax must be used to define arrays
(#577) 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.
(#673) 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
(#63) Short array syntax must be used to define arrays
(#80) There should be a comma after the last array item in a multi-line array.
(#158) Short array syntax must be used to define arrays
(#230) There should be a comma after the last array item in a multi-line array.
(#244) 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.
(#1901) There should be a comma after the last array item in a multi-line array.
(#1978) Short array syntax must be used to define arrays
(#1979) Short array syntax must be used to define arrays
(#1980) Short array syntax must be used to define arrays
(#1986) There should be a comma after the last array item in a multi-line array.
(#2014) Short array syntax must be used to define arrays
(#2015) Short array syntax must be used to define arrays
(#2018) Short array syntax must be used to define arrays
(#2021) 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
(#2028) There should be a comma after the last array item in a multi-line array.
(#2030) Short array syntax must be used to define arrays
(#2033) Short array syntax must be used to define arrays
(#2036) Short array syntax must be used to define arrays
(#2040) Short array syntax must be used to define arrays
(#2043) Short array syntax must be used to define arrays
(#2044) There should be a comma after the last array item in a multi-line array.
(#2046) Short array syntax must be used to define arrays
(#2049) Short array syntax must be used to define arrays
(#2051) Short array syntax must be used to define arrays
(#2054) Short array syntax must be used to define arrays
(#2057) Short array syntax must be used to define arrays
(#2057) There should be a comma after the last array item in a multi-line array.
(#2059) Short array syntax must be used to define arrays
(#2062) 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
(#2069) Short array syntax must be used to define arrays
(#2069) There should be a comma after the last array item in a multi-line array.
(#2071) Short array syntax must be used to define arrays
(#2074) Short array syntax must be used to define arrays
(#2076) Short array syntax must be used to define arrays
(#2079) Short array syntax must be used to define arrays
(#2081) Short array syntax must be used to define arrays
(#2081) There should be a comma after the last array item in a multi-line array.
(#2083) Short array syntax must be used to define arrays
(#2086) Short array syntax must be used to define arrays
(#2088) Short array syntax must be used to define arrays
(#2091) Short array syntax must be used to define arrays
(#2094) Short array syntax must be used to define arrays
(#2094) There should be a comma after the last array item in a multi-line array.
(#2095) There should be a comma after the last array item in a multi-line array.
(#2127) Short array syntax must be used to define arrays
(#2128) Short array syntax must be used to define arrays
(#2129) Short array syntax must be used to define arrays
(#2133) Short array syntax must be used to define arrays
(#2134) Short array syntax must be used to define arrays
(#2137) Short array syntax must be used to define arrays
(#2140) 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
(#2148) There should be a comma after the last array item in a multi-line array.
(#2162) Short array syntax must be used to define arrays
(#2163) Short array syntax must be used to define arrays
(#2164) Short array syntax must be used to define arrays
(#2172) There should be a comma after the last array item in a multi-line array.
(#2181) Short array syntax must be used to define arrays
(#2182) Short array syntax must be used to define arrays
(#2210) Short array syntax must be used to define arrays
(#2212) Short array syntax must be used to define arrays
(#2226) Short array syntax must be used to define arrays
(#2231) Short array syntax must be used to define arrays
(#2249) There should be a comma after the last array item in a multi-line array.
(#2251) Short array syntax must be used to define arrays
(#2251) Short array syntax must be used to define arrays
(#2327) There should be a comma after the last array item in a multi-line array.
(#2365) There should be a comma after the last array item in a multi-line array.
(#2376) There should be a comma after the last array item in a multi-line array.
(#2393) There should be a comma after the last array item in a multi-line array.
(#2395) There should be a comma after the last array item in a multi-line array.
(#2407) There should be a comma after the last array item in a multi-line array.
(#2414) There should be a comma after the last array item in a multi-line array.
(#2469) 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
(#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
(#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
(#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
mod/studentquiz/tests/bank_view_test.php
(#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
(#223) Short array syntax must be used to define arrays
mod/studentquiz/tests/behat/behat_mod_studentquiz.php
(#180) Short array syntax must be used to define arrays
mod/studentquiz/tests/comment_test.php
(#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.
(#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.
(#380) There should be a comma after the last array item in a multi-line array.
(#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.
mod/studentquiz/tests/cron_test.php
(#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
(#88) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/tests/delete_instance_test.php
(#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
(#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
(#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
mod/studentquiz/tests/lib_test.php
(#60) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/tests/locallib_test.php
(#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
(#41) Data provider method "ensure_permissions_are_right_testcases" will need to be converted to static in future.
mod/studentquiz/tests/privacy_test.php
(#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.
(#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.
(#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.
(#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.
(#660) There should be a comma after the last array item in a multi-line array.
(#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
(#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
(#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/utils_test.php
(#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
(#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
(#93) Short array syntax must be used to define arrays
(#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]