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

(2736 errors, 165 warnings)

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

mod/studentquiz/attempt.php
(#24) Header blocks must not contain blank lines
(#44) Short array syntax must be used to define arrays
(#110) Opening parenthesis of a multi-line function call must be the last content on the line
(#112) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#112) Only one argument is allowed per line in a multi-line function call
(#112) Closing parenthesis of a multi-line function call must be on a line by itself
(#114) Opening parenthesis of a multi-line function call must be the last content on the line
(#115) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#115) Closing parenthesis of a multi-line function call must be on a line by itself
(#141) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#178) 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.
(#206) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#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.
(#241) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/backup/moodle2/backup_studentquiz_activity_task.class.php
(#38) Opening brace must not be followed by a blank line
(#69) Expected at least 1 space before "."; 0 found
(#69) Expected at least 1 space after "."; 0 found
(#69) Expected at least 1 space before "."; 0 found
(#69) Expected at least 1 space after "."; 0 found
(#73) Expected at least 1 space before "."; 0 found
(#73) Expected at least 1 space after "."; 0 found
(#73) Expected at least 1 space before "."; 0 found
(#73) Expected at least 1 space after "."; 0 found
mod/studentquiz/backup/moodle2/backup_studentquiz_stepslib.php
(#25) Opening brace must not be followed by a blank line
(#45) There should be a comma after the last array item in a multi-line array.
(#50) Opening parenthesis of a multi-line function call must be the last content on the line
(#50) Only one argument is allowed per line in a multi-line function call
(#51) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#51) Closing parenthesis of a multi-line function call must be on a line by itself
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#62) Only one argument is allowed per line in a multi-line function call
(#63) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#63) Closing parenthesis of a multi-line function call must be on a line by itself
(#69) Opening parenthesis of a multi-line function call must be the last content on the line
(#69) Only one argument is allowed per line in a multi-line function call
(#70) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#70) Closing parenthesis of a multi-line function call must be on a line by itself
(#83) There should be a comma after the last array item in a multi-line array.
(#97) Opening parenthesis of a multi-line function call must be the last content on the line
(#97) Only one argument is allowed per line in a multi-line function call
(#98) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#98) Closing parenthesis of a multi-line function call must be on a line by itself
(#109) Opening parenthesis of a multi-line function call must be the last content on the line
(#110) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#110) Closing parenthesis of a multi-line function call must be on a line by itself
(#132) Opening parenthesis of a multi-line function call must be the last content on the line
(#133) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#133) Short array syntax must be used to define arrays
(#133) Closing parenthesis of a multi-line function call must be on a line by itself
(#135) Opening parenthesis of a multi-line function call must be the last content on the line
(#136) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#136) Short array syntax must be used to define arrays
(#136) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#40) Opening brace must not be followed by a blank line
(#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
(#27) Opening brace must not be followed by a blank line
(#41) Short array syntax must be used to define arrays
(#49) Opening parenthesis of a multi-line function call must be the last content on the line
(#50) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#50) Closing parenthesis of a multi-line function call must be on a line by itself
(#57) Opening parenthesis of a multi-line function call must be the last content on the line
(#58) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#58) Closing parenthesis of a multi-line function call must be on a line by itself
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#63) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#63) Closing parenthesis of a multi-line function call must be on a line by itself
(#67) Opening parenthesis of a multi-line function call must be the last content on the line
(#68) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#68) Closing parenthesis of a multi-line function call must be on a line by itself
(#72) Opening parenthesis of a multi-line function call must be the last content on the line
(#73) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#73) Closing parenthesis of a multi-line function call must be on a line by itself
(#77) Opening parenthesis of a multi-line function call must be the last content on the line
(#78) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#78) Closing parenthesis of a multi-line function call must be on a line by itself
(#82) Opening parenthesis of a multi-line function call must be the last content on the line
(#83) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#83) Closing parenthesis of a multi-line function call must be on a line by itself
(#87) Opening parenthesis of a multi-line function call must be the last content on the line
(#88) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#88) Closing parenthesis of a multi-line function call must be on a line by itself
(#304) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/changestate.php
(#61) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#62) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#101) Expected at least 1 space before "."; 0 found
(#101) Expected at least 1 space after "."; 0 found
mod/studentquiz/classes/access/context_override.php
(#28) Opening brace must not be followed by a blank line
mod/studentquiz/classes/commentarea/comment.php
(#30) Opening brace must not be followed by a blank line
(#83) There should be a comma after the last array item in a multi-line array.
(#284) Opening parenthesis of a multi-line function call must be the last content on the line
(#285) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#285) Closing parenthesis of a multi-line function call must be on a line by itself
(#315) Opening parenthesis of a multi-line function call must be the last content on the line
(#316) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#316) Closing parenthesis of a multi-line function call must be on a line by itself
(#327) Opening parenthesis of a multi-line function call must be the last content on the line
(#328) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#328) Only one argument is allowed per line in a multi-line function call
(#328) Only one argument is allowed per line in a multi-line function call
(#328) Only one argument is allowed per line in a multi-line function call
(#328) Only one argument is allowed per line in a multi-line function call
(#328) Closing parenthesis of a multi-line function call must be on a line by itself
(#457) Opening parenthesis of a multi-line function call must be the last content on the line
(#458) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#458) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#31) Opening brace must not be followed by a blank line
(#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.
(#443) Long list syntax is not allowed
(#562) Long list syntax is not allowed
(#651) Opening parenthesis of a multi-line function call must be the last content on the line
(#652) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#652) Only one argument is allowed per line in a multi-line function call
(#656) There should be a comma after the last array item in a multi-line array.
(#657) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#657) Closing parenthesis of a multi-line function call must be on a line by itself
(#670) Opening parenthesis of a multi-line function call must be the last content on the line
(#671) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#671) Only one argument is allowed per line in a multi-line function call
(#671) Closing parenthesis of a multi-line function call must be on a line by itself
(#817) Long list syntax is not allowed
(#870) 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.
(#884) There should be a comma after the last array item in a multi-line array.
(#899) Long list syntax is not allowed
(#900) Opening parenthesis of a multi-line function call must be the last content on the line
(#900) Only one argument is allowed per line in a multi-line function call
(#900) Only one argument is allowed per line in a multi-line function call
(#901) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#901) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/classes/commentarea/form/comment_form.php
(#41) Opening brace must not be followed by a blank line
(#113) Opening parenthesis of a multi-line function call must be the last content on the line
(#113) Only one argument is allowed per line in a multi-line function call
(#114) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#115) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#115) Closing parenthesis of a multi-line function call must be on a line by itself
(#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.
(#159) Each PHP statement must be on a line by itself
(#186) There should be a comma after the last array item in a multi-line array.
(#219) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#220) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#220) Space found before comma in argument list
(#220) Expected no space between ")" and the comma. Found: a new line
(#220) Only one argument is allowed per line in a multi-line function call
(#220) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/classes/commentarea/form/comment_report_form.php
(#37) Opening brace must not be followed by a blank line
(#152) The closing brace for the class must go on the next line after the body
mod/studentquiz/classes/commentarea/form/comment_simple_editor.php
(#28) Opening brace must not be followed by a blank line
(#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/commentarea/form/validate_comment_form.php
(#40) Opening brace must not be followed by a blank line
(#66) Opening parenthesis of a multi-line function call must be the last content on the line
(#66) Only one argument is allowed per line in a multi-line function call
(#66) Only one argument is allowed per line in a multi-line function call
(#67) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#68) Multi-line function call not indented correctly; expected 12 spaces but found 16
mod/studentquiz/classes/completion/custom_completion.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#38) Opening brace must not be followed by a blank line
(#40) Missing docblock for function get_state
(#71) Missing docblock for function get_defined_custom_rules
(#79) Missing docblock for function get_custom_rule_descriptions
(#86) Opening parenthesis of a multi-line function call must be the last content on the line
(#86) Only one argument is allowed per line in a multi-line function call
(#87) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#87) Closing parenthesis of a multi-line function call must be on a line by itself
(#88) Opening parenthesis of a multi-line function call must be the last content on the line
(#89) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#89) Only one argument is allowed per line in a multi-line function call
(#89) Closing parenthesis of a multi-line function call must be on a line by itself
(#93) Missing docblock for function get_sort_order
mod/studentquiz/classes/condition/studentquiz_condition.php
(#37) Opening brace must not be followed by a blank line
(#81) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#121) Blank line found at start of control structure
(#123) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#142) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#143) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#148) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#149) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#172) Space found before comma in argument list
(#172) Expected no space between ")" and the comma. Found: a new line
(#230) Expected 1 space after SWITCH keyword; 0 found
(#230) Expected 1 space after closing parenthesis; found 0
(#252) DEFAULT statements must be defined using a colon
mod/studentquiz/classes/event/course_module_viewed.php
(#29) Opening brace must not be followed by a blank line
mod/studentquiz/classes/event/studentquiz_digest_changed.php
(#37) Opening brace must not be followed by a blank line
mod/studentquiz/classes/event/studentquiz_question_comment_created.php
(#26) Opening brace must not be followed by a blank line
mod/studentquiz/classes/event/studentquiz_questionbank_viewed.php
(#25) Opening brace must not be followed by a blank line
(#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
(#25) Opening brace must not be followed by a blank line
(#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
(#25) Opening brace must not be followed by a blank line
(#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
(#48) Opening brace must not be followed by a blank line
(#59) There should be a comma after the last array item in a multi-line array.
(#112) Opening parenthesis of a multi-line function call must be the last content on the line
(#112) Only one argument is allowed per line in a multi-line function call
(#113) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#113) Closing parenthesis of a multi-line function call must be on a line by itself
(#129) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/local/db.php
(#26) Opening brace must not be followed by a blank line
mod/studentquiz/classes/local/external/create_comment_api.php
(#47) Opening brace must not be followed by a blank line
(#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
(#46) Opening brace must not be followed by a blank line
(#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
(#48) Opening brace must not be followed by a blank line
(#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
(#47) Opening brace must not be followed by a blank line
(#59) There should be a comma after the last array item in a multi-line array.
(#72) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#72) Only one argument is allowed per line in a multi-line function call
(#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
(#47) Opening brace must not be followed by a blank line
(#58) Opening parenthesis of a multi-line function call must be the last content on the line
(#58) Only one argument is allowed per line in a multi-line function call
(#59) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#59) Only one argument is allowed per line in a multi-line function call
(#59) Closing parenthesis of a multi-line function call must be on a line by itself
(#61) There should be a comma after the last array item in a multi-line array.
(#76) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#76) Only one argument is allowed per line in a multi-line function call
(#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_helper.php
(#27) Opening brace must not be followed by a blank line
mod/studentquiz/classes/local/studentquiz_progress.php
(#26) Opening brace must not be followed by a blank line
(#63) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#63) Multi-line function declarations must define one parameter per line
(#63) Multi-line function declarations must define one parameter per line
(#63) Multi-line function declarations must define one parameter per line
(#63) Multi-line function declarations must define one parameter per line
(#64) Multi-line function declarations must define one parameter per line
(#64) Multi-line function declarations must define one parameter per line
(#64) Multi-line function declarations must define one parameter per line
(#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.
(#65) The closing parenthesis of a multi-line function declaration must be on a new line
(#87) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#88) The closing parenthesis of a multi-line function declaration must be on a new line
(#89) Opening parenthesis of a multi-line function call must be the last content on the line
(#90) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#90) Only one argument is allowed per line in a multi-line function call
(#90) Only one argument is allowed per line in a multi-line function call
(#90) Closing parenthesis of a multi-line function call must be on a line by itself
(#107) There should be a comma after the last array item in a multi-line array.
(#112) Opening parenthesis of a multi-line function call must be the last content on the line
(#112) Only one argument is allowed per line in a multi-line function call
(#112) Only one argument is allowed per line in a multi-line function call
(#113) Only one argument is allowed per line in a multi-line function call
(#113) Only one argument is allowed per line in a multi-line function call
(#114) Only one argument is allowed per line in a multi-line function call
(#115) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#115) Only one argument is allowed per line in a multi-line function call
(#115) Closing parenthesis of a multi-line function call must be on a line by itself
(#139) The closing brace for the class must go on the next line after the body
mod/studentquiz/classes/local/studentquiz_question.php
(#31) Opening brace must not be followed by a blank line
(#61) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#61) Multi-line function declarations must define one parameter per line
(#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.
(#62) Multi-line function declarations must define one parameter per line
(#62) Multi-line function declarations must define one parameter per line
(#62) The closing parenthesis of a multi-line function declaration must be on a new line
(#170) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#170) Multi-line function declarations must define one parameter per line
(#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: $studentquiz.
(#171) Multi-line function declarations must define one parameter per line
(#171) The closing parenthesis of a multi-line function declaration must be on a new line
(#250) There should be a comma after the last array item in a multi-line array.
(#287) Opening parenthesis of a multi-line function call must be the last content on the line
(#287) Only one argument is allowed per line in a multi-line function call
(#287) Only one argument is allowed per line in a multi-line function call
(#288) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#288) Closing parenthesis of a multi-line function call must be on a line by itself
(#321) 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/observer.php
(#28) Opening brace must not be followed by a blank line
(#110) Opening parenthesis of a multi-line function call must be the last content on the line
(#115) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#117) Multi-line function call not indented correctly; expected 12 spaces but found 28
(#117) Only one argument is allowed per line in a multi-line function call
(#117) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/classes/privacy/provider.php
(#42) Missing docblock for interface studentquiz_userlist
(#52) Each interface must be in a file by itself
(#52) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, \core_privacy\local\request\user_preference_provider, studentquiz_userlist; Found: \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, studentquiz_userlist, \core_privacy\local\request\user_preference_provider
(#53) Expected 4 spaces before interface name; 8 found
(#54) Expected 4 spaces before interface name; 8 found
(#55) Expected 4 spaces before interface name; 8 found
(#56) Expected 4 spaces before interface name; 8 found
(#56) Opening brace must not be followed by a blank line
(#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.
(#133) Opening parenthesis of a multi-line function call must be the last content on the line
(#134) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#134) Closing parenthesis of a multi-line function call must be on a line by itself
(#233) Long list syntax is not allowed
(#363) 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.
(#388) There should be a comma after the last array item in a multi-line array.
(#400) There should be a comma after the last array item in a multi-line array.
(#413) There should be a comma after the last array item in a multi-line array.
(#423) There should be a comma after the last array item in a multi-line array.
(#435) There should be a comma after the last array item in a multi-line array.
(#447) There should be a comma after the last array item in a multi-line array.
(#500) Long list syntax is not allowed
(#501) Long list syntax is not allowed
(#514) There should be a comma after the last array item in a multi-line array.
(#535) Opening parenthesis of a multi-line function call must be the last content on the line
(#538) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#538) Closing parenthesis of a multi-line function call must be on a line by itself
(#551) There should be a comma after the last array item in a multi-line array.
(#561) There should be a comma after the last array item in a multi-line array.
(#565) Opening parenthesis of a multi-line function call must be the last content on the line
(#566) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#566) Closing parenthesis of a multi-line function call must be on a line by itself
(#586) Long list syntax is not allowed
(#616) Long list syntax is not allowed
(#617) Long list syntax is not allowed
(#618) Long list syntax is not allowed
(#626) There should be a comma after the last array item in a multi-line array.
(#635) There should be a comma after the last array item in a multi-line array.
(#659) There should be a comma after the last array item in a multi-line array.
(#832) Long list syntax is not allowed
(#858) Long list syntax is not allowed
(#859) Long list syntax is not allowed
(#893) There should be a comma after the last array item in a multi-line array.
(#908) Opening parenthesis of a multi-line function call must be the last content on the line
(#912) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#912) Closing parenthesis of a multi-line function call must be on a line by itself
(#923) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#923) Multi-line function declarations must define one parameter per line
(#924) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#924) Multi-line function declarations must define one parameter per line
(#924) The closing parenthesis of a multi-line function declaration must be on a new line
(#979) Opening parenthesis of a multi-line function call must be the last content on the line
(#980) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#980) Closing parenthesis of a multi-line function call must be on a line by itself
(#984) There should be a comma after the last array item in a multi-line array.
(#985) 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
(#26) Opening brace must not be followed by a blank line
(#73) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#26) Opening brace must not be followed by a blank line
(#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
(#28) Opening brace must not be followed by a blank line
(#108) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#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
(#26) Opening brace must not be followed by a blank line
(#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
(#38) Opening brace must not be followed by a blank line
(#61) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#61) Multi-line function declarations must define one parameter per line
(#61) Incorrect spacing between argument "$action" and equals sign; expected 1 but found 0
(#61) Incorrect spacing between default value and equals sign for argument "$action"; expected 1 but found 0
(#61) Multi-line function declarations must define one parameter per line
(#61) Incorrect spacing between argument "$customdata" and equals sign; expected 1 but found 0
(#61) Incorrect spacing between default value and equals sign for argument "$customdata"; expected 1 but found 0
(#61) Multi-line function declarations must define one parameter per line
(#61) Incorrect spacing between argument "$method" and equals sign; expected 1 but found 0
(#61) Incorrect spacing between default value and equals sign for argument "$method"; expected 1 but found 0
(#61) Multi-line function declarations must define one parameter per line
(#61) Incorrect spacing between argument "$target" and equals sign; expected 1 but found 0
(#61) Incorrect spacing between default value and equals sign for argument "$target"; expected 1 but found 0
(#61) Multi-line function declarations must define one parameter per line
(#61) Incorrect spacing between argument "$attributes" and equals sign; expected 1 but found 0
(#61) Incorrect spacing between default value and equals sign for argument "$attributes"; expected 1 but found 0
(#62) Multi-line function declaration not indented correctly; expected 8 spaces but found 32
(#62) Incorrect spacing between argument "$editable" and equals sign; expected 1 but found 0
(#62) Incorrect spacing between default value and equals sign for argument "$editable"; expected 1 but found 0
(#62) The closing parenthesis of a multi-line function declaration must be on a new line
(#88) There should be a comma after the last array item in a multi-line array.
(#101) Opening parenthesis of a multi-line function call must be the last content on the line
(#101) Only one argument is allowed per line in a multi-line function call
(#102) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#102) Only one argument is allowed per line in a multi-line function call
(#102) Only one argument is allowed per line in a multi-line function call
(#102) Closing parenthesis of a multi-line function call must be on a line by itself
(#106) Short array syntax must be used to define arrays
(#118) The closing brace for the class must go on the next line after the body
(#128) Each class must be in a file by itself
(#128) Opening brace must not be followed by a blank line
(#137) Expected at least 1 space before "."; 0 found
(#137) Expected at least 1 space after "."; 0 found
(#147) The closing brace for the class must go on the next line after the body
(#157) Each class must be in a file by itself
(#157) Opening brace must not be followed by a blank line
(#170) Short array syntax must be used to define arrays
(#307) Each class must be in a file by itself
(#307) Opening brace must not be followed by a blank line
(#380) Expected 1 space after SWITCH keyword; 0 found
(#396) Short array syntax must be used to define arrays
(#396) Short array syntax must be used to define arrays
(#407) Each class must be in a file by itself
(#413) Short array syntax must be used to define arrays
(#426) Expected at least 1 space before "."; 0 found
(#426) Expected at least 1 space after "."; 0 found
(#427) Expected at least 1 space before "."; 0 found
(#427) Expected at least 1 space after "."; 0 found
(#432) Short array syntax must be used to define arrays
(#439) Expected 1 space after SWITCH keyword; 0 found
(#460) Short array syntax must be used to define arrays
(#473) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#474) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#499) Each class must be in a file by itself
(#499) Opening brace must not be followed by a blank line
mod/studentquiz/classes/question/bank/question_name_column.php
(#26) Opening brace must not be followed by a blank line
(#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
(#61) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#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
(#26) Opening brace must not be followed by a blank line
(#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_delete_action.php
(#31) Opening brace must not be followed by a blank line
(#44) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#45) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#53) The closing brace for the class must go on the next line after the body
mod/studentquiz/classes/question/bank/sq_edit_action.php
(#32) Opening brace must not be followed by a blank line
(#45) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#46) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#54) The closing brace for the class must go on the next line after the body
mod/studentquiz/classes/question/bank/sq_edit_menu_column.php
(#29) Opening brace must not be followed by a blank line
mod/studentquiz/classes/question/bank/sq_hidden_action.php
(#30) Opening brace must not be followed by a blank line
(#68) Opening parenthesis of a multi-line function call must be the last content on the line
(#69) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#70) Multi-line function call not indented correctly; expected 16 spaces but found 32
(#70) Only one argument is allowed per line in a multi-line function call
(#70) Only one argument is allowed per line in a multi-line function call
(#70) Only one argument is allowed per line in a multi-line function call
(#70) Closing parenthesis of a multi-line function call must be on a line by itself
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
(#74) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#75) Multi-line function call not indented correctly; expected 16 spaces but found 32
(#75) Only one argument is allowed per line in a multi-line function call
(#75) Only one argument is allowed per line in a multi-line function call
(#75) Only one argument is allowed per line in a multi-line function call
(#75) Closing parenthesis of a multi-line function call must be on a line by itself
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
(#82) Opening parenthesis of a multi-line function call must be the last content on the line
(#83) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#85) Multi-line function call not indented correctly; expected 16 spaces but found 32
(#85) Only one argument is allowed per line in a multi-line function call
(#85) Closing parenthesis of a multi-line function call must be on a line by itself
(#88) Opening parenthesis of a multi-line function call must be the last content on the line
(#89) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#91) Multi-line function call not indented correctly; expected 16 spaces but found 32
(#91) Only one argument is allowed per line in a multi-line function call
(#91) Closing parenthesis of a multi-line function call must be on a line by itself
(#99) The closing brace for the class must go on the next line after the body
mod/studentquiz/classes/question/bank/sq_preview_action.php
(#30) Opening brace must not be followed by a blank line
(#75) Opening parenthesis of a multi-line function call must be the last content on the line
(#75) Only one argument is allowed per line in a multi-line function call
(#76) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#76) Only one argument is allowed per line in a multi-line function call
(#76) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/classes/question/bank/state_column.php
(#26) Opening brace must not be followed by a blank line
(#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
(#81) The closing brace for the class must go on the next line after the body
mod/studentquiz/classes/question/bank/studentquiz_bank_view.php
(#55) Short array syntax must be used to define arrays
(#136) Opening parenthesis of a multi-line function call must be the last content on the line
(#136) Only one argument is allowed per line in a multi-line function call
(#137) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#137) Only one argument is allowed per line in a multi-line function call
(#137) Closing parenthesis of a multi-line function call must be on a line by itself
(#139) Short array syntax must be used to define arrays
(#163) Long list syntax is not allowed
(#163) Opening parenthesis of a multi-line function call must be the last content on the line
(#164) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#164) Only one argument is allowed per line in a multi-line function call
(#164) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#267) Long list syntax is not allowed
(#314) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#327) Expected 0 spaces before closing parenthesis; newline found
(#327) Only one argument is allowed per line in a multi-line function call
(#327) Only one argument is allowed per line in a multi-line function call
(#327) Short array syntax must be used to define arrays
(#327) Closing parenthesis of a multi-line function call must be on a line by itself
(#330) Long list syntax is not allowed
(#330) Opening parenthesis of a multi-line function call must be the last content on the line
(#331) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#331) Only one argument is allowed per line in a multi-line function call
(#331) Closing parenthesis of a multi-line function call must be on a line by itself
(#357) Short array syntax must be used to define arrays
(#361) Opening parenthesis of a multi-line function call must be the last content on the line
(#361) Only one argument is allowed per line in a multi-line function call
(#362) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#362) Only one argument is allowed per line in a multi-line function call
(#362) Only one argument is allowed per line in a multi-line function call
(#362) Closing parenthesis of a multi-line function call must be on a line by itself
(#364) Opening parenthesis of a multi-line function call must be the last content on the line
(#364) Only one argument is allowed per line in a multi-line function call
(#364) Only one argument is allowed per line in a multi-line function call
(#364) Only one argument is allowed per line in a multi-line function call
(#365) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#365) Only one argument is allowed per line in a multi-line function call
(#365) Closing parenthesis of a multi-line function call must be on a line by itself
(#369) Opening parenthesis of a multi-line function call must be the last content on the line
(#369) Only one argument is allowed per line in a multi-line function call
(#369) Only one argument is allowed per line in a multi-line function call
(#369) Only one argument is allowed per line in a multi-line function call
(#370) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#370) Only one argument is allowed per line in a multi-line function call
(#370) Closing parenthesis of a multi-line function call must be on a line by itself
(#372) Opening parenthesis of a multi-line function call must be the last content on the line
(#372) Only one argument is allowed per line in a multi-line function call
(#373) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#373) Only one argument is allowed per line in a multi-line function call
(#373) Only one argument is allowed per line in a multi-line function call
(#373) Closing parenthesis of a multi-line function call must be on a line by itself
(#418) Short array syntax must be used to define arrays
(#422) Opening parenthesis of a multi-line function call must be the last content on the line
(#423) Only one argument is allowed per line in a multi-line function call
(#423) Only one argument is allowed per line in a multi-line function call
(#424) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#424) Only one argument is allowed per line in a multi-line function call
(#424) Only one argument is allowed per line in a multi-line function call
(#424) Closing parenthesis of a multi-line function call must be on a line by itself
(#425) Opening parenthesis of a multi-line function call must be the last content on the line
(#426) Only one argument is allowed per line in a multi-line function call
(#426) Only one argument is allowed per line in a multi-line function call
(#426) Expected 1 space between the comma and "// Fast filters.". Found: 8 spaces
(#427) Empty lines are not allowed in multi-line function calls
(#428) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#428) Only one argument is allowed per line in a multi-line function call
(#428) Only one argument is allowed per line in a multi-line function call
(#428) Closing parenthesis of a multi-line function call must be on a line by itself
(#429) Opening parenthesis of a multi-line function call must be the last content on the line
(#430) Only one argument is allowed per line in a multi-line function call
(#430) Only one argument is allowed per line in a multi-line function call
(#431) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#431) Only one argument is allowed per line in a multi-line function call
(#431) Only one argument is allowed per line in a multi-line function call
(#431) Closing parenthesis of a multi-line function call must be on a line by itself
(#432) Opening parenthesis of a multi-line function call must be the last content on the line
(#433) Only one argument is allowed per line in a multi-line function call
(#433) Only one argument is allowed per line in a multi-line function call
(#434) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#434) Only one argument is allowed per line in a multi-line function call
(#434) Only one argument is allowed per line in a multi-line function call
(#434) Closing parenthesis of a multi-line function call must be on a line by itself
(#435) Opening parenthesis of a multi-line function call must be the last content on the line
(#436) Only one argument is allowed per line in a multi-line function call
(#436) Only one argument is allowed per line in a multi-line function call
(#437) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#437) Only one argument is allowed per line in a multi-line function call
(#437) Only one argument is allowed per line in a multi-line function call
(#437) Closing parenthesis of a multi-line function call must be on a line by itself
(#438) Opening parenthesis of a multi-line function call must be the last content on the line
(#440) Only one argument is allowed per line in a multi-line function call
(#440) Only one argument is allowed per line in a multi-line function call
(#440) Only one argument is allowed per line in a multi-line function call
(#440) Only one argument is allowed per line in a multi-line function call
(#441) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#441) Closing parenthesis of a multi-line function call must be on a line by itself
(#442) Opening parenthesis of a multi-line function call must be the last content on the line
(#444) Only one argument is allowed per line in a multi-line function call
(#444) Only one argument is allowed per line in a multi-line function call
(#444) Only one argument is allowed per line in a multi-line function call
(#444) Only one argument is allowed per line in a multi-line function call
(#445) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#445) Closing parenthesis of a multi-line function call must be on a line by itself
(#449) Opening parenthesis of a multi-line function call must be the last content on the line
(#451) Only one argument is allowed per line in a multi-line function call
(#451) Only one argument is allowed per line in a multi-line function call
(#451) Only one argument is allowed per line in a multi-line function call
(#451) Only one argument is allowed per line in a multi-line function call
(#452) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#452) Closing parenthesis of a multi-line function call must be on a line by itself
(#454) Opening parenthesis of a multi-line function call must be the last content on the line
(#456) Only one argument is allowed per line in a multi-line function call
(#456) Only one argument is allowed per line in a multi-line function call
(#456) Only one argument is allowed per line in a multi-line function call
(#456) Only one argument is allowed per line in a multi-line function call
(#457) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#457) Closing parenthesis of a multi-line function call must be on a line by itself
(#458) Expected at least 1 space before "="; 0 found
(#458) Expected 1 space before "="; 0 found
(#461) Opening parenthesis of a multi-line function call must be the last content on the line
(#463) Only one argument is allowed per line in a multi-line function call
(#463) Only one argument is allowed per line in a multi-line function call
(#463) Only one argument is allowed per line in a multi-line function call
(#463) Only one argument is allowed per line in a multi-line function call
(#464) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#464) Closing parenthesis of a multi-line function call must be on a line by itself
(#466) Opening parenthesis of a multi-line function call must be the last content on the line
(#468) Only one argument is allowed per line in a multi-line function call
(#468) Only one argument is allowed per line in a multi-line function call
(#468) Only one argument is allowed per line in a multi-line function call
(#468) Only one argument is allowed per line in a multi-line function call
(#469) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#469) Closing parenthesis of a multi-line function call must be on a line by itself
(#473) Opening parenthesis of a multi-line function call must be the last content on the line
(#475) Only one argument is allowed per line in a multi-line function call
(#475) Only one argument is allowed per line in a multi-line function call
(#475) Only one argument is allowed per line in a multi-line function call
(#475) Only one argument is allowed per line in a multi-line function call
(#476) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#476) Closing parenthesis of a multi-line function call must be on a line by itself
(#481) Opening parenthesis of a multi-line function call must be the last content on the line
(#481) Only one argument is allowed per line in a multi-line function call
(#482) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#482) Only one argument is allowed per line in a multi-line function call
(#482) Closing parenthesis of a multi-line function call must be on a line by itself
(#489) Expected at least 1 space before "."; 0 found
(#489) Expected at least 1 space after "."; 0 found
(#491) Opening parenthesis of a multi-line function call must be the last content on the line
(#491) Only one argument is allowed per line in a multi-line function call
(#492) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#492) Only one argument is allowed per line in a multi-line function call
(#492) Only one argument is allowed per line in a multi-line function call
(#492) Closing parenthesis of a multi-line function call must be on a line by itself
(#494) Opening parenthesis of a multi-line function call must be the last content on the line
(#494) Only one argument is allowed per line in a multi-line function call
(#495) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#495) Only one argument is allowed per line in a multi-line function call
(#495) Closing parenthesis of a multi-line function call must be on a line by itself
(#496) Opening parenthesis of a multi-line function call must be the last content on the line
(#496) Only one argument is allowed per line in a multi-line function call
(#497) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#497) Only one argument is allowed per line in a multi-line function call
(#497) Closing parenthesis of a multi-line function call must be on a line by itself
(#499) Opening parenthesis of a multi-line function call must be the last content on the line
(#499) Only one argument is allowed per line in a multi-line function call
(#500) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#500) Only one argument is allowed per line in a multi-line function call
(#500) Closing parenthesis of a multi-line function call must be on a line by itself
(#501) Opening parenthesis of a multi-line function call must be the last content on the line
(#501) Only one argument is allowed per line in a multi-line function call
(#502) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#502) Only one argument is allowed per line in a multi-line function call
(#502) Closing parenthesis of a multi-line function call must be on a line by itself
(#503) Opening parenthesis of a multi-line function call must be the last content on the line
(#503) Only one argument is allowed per line in a multi-line function call
(#503) Line exceeds 132 characters; contains 133 characters
(#504) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#504) Only one argument is allowed per line in a multi-line function call
(#504) Closing parenthesis of a multi-line function call must be on a line by itself
(#507) Opening parenthesis of a multi-line function call must be the last content on the line
(#507) Only one argument is allowed per line in a multi-line function call
(#508) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#508) Only one argument is allowed per line in a multi-line function call
(#508) Closing parenthesis of a multi-line function call must be on a line by itself
(#514) Opening parenthesis of a multi-line function call must be the last content on the line
(#514) Only one argument is allowed per line in a multi-line function call
(#515) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#515) Only one argument is allowed per line in a multi-line function call
(#515) Closing parenthesis of a multi-line function call must be on a line by itself
(#517) Opening parenthesis of a multi-line function call must be the last content on the line
(#519) Only one argument is allowed per line in a multi-line function call
(#519) Only one argument is allowed per line in a multi-line function call
(#521) There should be a comma after the last array item in a multi-line array.
(#522) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#522) Closing parenthesis of a multi-line function call must be on a line by itself
(#524) Opening parenthesis of a multi-line function call must be the last content on the line
(#524) Only one argument is allowed per line in a multi-line function call
(#525) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#525) Only one argument is allowed per line in a multi-line function call
(#525) Closing parenthesis of a multi-line function call must be on a line by itself
(#527) Opening parenthesis of a multi-line function call must be the last content on the line
(#527) Only one argument is allowed per line in a multi-line function call
(#528) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#528) Only one argument is allowed per line in a multi-line function call
(#528) Closing parenthesis of a multi-line function call must be on a line by itself
(#530) Opening parenthesis of a multi-line function call must be the last content on the line
(#530) Only one argument is allowed per line in a multi-line function call
(#531) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#531) Only one argument is allowed per line in a multi-line function call
(#531) Closing parenthesis of a multi-line function call must be on a line by itself
(#628) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#630) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#677) Function closing brace must go on the next line following the body; found 1 blank lines before brace
mod/studentquiz/classes/question/bank/studentquiz_bank_view_pre_43.php
(#53) Short array syntax must be used to define arrays
(#134) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#134) Only one argument is allowed per line in a multi-line function call
(#134) Only one argument is allowed per line in a multi-line function call
(#134) Only one argument is allowed per line in a multi-line function call
(#134) Only one argument is allowed per line in a multi-line function call
(#134) Closing parenthesis of a multi-line function call must be on a line by itself
(#135) Opening parenthesis of a multi-line function call must be the last content on the line
(#135) Only one argument is allowed per line in a multi-line function call
(#136) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#136) Only one argument is allowed per line in a multi-line function call
(#136) Closing parenthesis of a multi-line function call must be on a line by itself
(#138) Short array syntax must be used to define arrays
(#184) Opening parenthesis of a multi-line function call must be the last content on the line
(#184) Only one argument is allowed per line in a multi-line function call
(#184) Only one argument is allowed per line in a multi-line function call
(#184) Only one argument is allowed per line in a multi-line function call
(#184) Only one argument is allowed per line in a multi-line function call
(#188) Long list syntax is not allowed
(#188) Opening parenthesis of a multi-line function call must be the last content on the line
(#189) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#189) Only one argument is allowed per line in a multi-line function call
(#189) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#272) Long list syntax is not allowed
(#316) Short array syntax must be used to define arrays
(#328) Short array syntax must be used to define arrays
(#329) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#329) Expected 0 spaces before closing parenthesis; newline found
(#329) Only one argument is allowed per line in a multi-line function call
(#329) Only one argument is allowed per line in a multi-line function call
(#329) Short array syntax must be used to define arrays
(#329) Closing parenthesis of a multi-line function call must be on a line by itself
(#332) Long list syntax is not allowed
(#332) Opening parenthesis of a multi-line function call must be the last content on the line
(#333) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#333) Only one argument is allowed per line in a multi-line function call
(#333) Closing parenthesis of a multi-line function call must be on a line by itself
(#357) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#357) Multi-line function declarations must define one parameter per line
(#357) Multi-line function declarations must define one parameter per line
(#357) Multi-line function declarations must define one parameter per line
(#358) Multi-line function declarations must define one parameter per line
(#358) The closing parenthesis of a multi-line function declaration must be on a new line
(#361) Long list syntax is not allowed
(#364) Short array syntax must be used to define arrays
(#368) Opening parenthesis of a multi-line function call must be the last content on the line
(#368) Only one argument is allowed per line in a multi-line function call
(#369) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#369) Only one argument is allowed per line in a multi-line function call
(#369) Closing parenthesis of a multi-line function call must be on a line by itself
(#371) Opening parenthesis of a multi-line function call must be the last content on the line
(#371) Only one argument is allowed per line in a multi-line function call
(#371) Only one argument is allowed per line in a multi-line function call
(#371) Only one argument is allowed per line in a multi-line function call
(#372) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#372) Only one argument is allowed per line in a multi-line function call
(#372) Closing parenthesis of a multi-line function call must be on a line by itself
(#376) Opening parenthesis of a multi-line function call must be the last content on the line
(#376) Only one argument is allowed per line in a multi-line function call
(#376) Only one argument is allowed per line in a multi-line function call
(#376) Only one argument is allowed per line in a multi-line function call
(#377) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#377) Only one argument is allowed per line in a multi-line function call
(#377) Closing parenthesis of a multi-line function call must be on a line by itself
(#379) Opening parenthesis of a multi-line function call must be the last content on the line
(#379) Only one argument is allowed per line in a multi-line function call
(#380) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#380) Only one argument is allowed per line in a multi-line function call
(#380) Closing parenthesis of a multi-line function call must be on a line by itself
(#425) Short array syntax must be used to define arrays
(#428) Opening parenthesis of a multi-line function call must be the last content on the line
(#430) Only one argument is allowed per line in a multi-line function call
(#430) Only one argument is allowed per line in a multi-line function call
(#430) Short array syntax must be used to define arrays
(#430) Only one argument is allowed per line in a multi-line function call
(#430) Only one argument is allowed per line in a multi-line function call
(#431) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#431) Closing parenthesis of a multi-line function call must be on a line by itself
(#433) Opening parenthesis of a multi-line function call must be the last content on the line
(#434) Only one argument is allowed per line in a multi-line function call
(#434) Only one argument is allowed per line in a multi-line function call
(#435) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#435) Only one argument is allowed per line in a multi-line function call
(#435) Only one argument is allowed per line in a multi-line function call
(#435) Closing parenthesis of a multi-line function call must be on a line by itself
(#436) Opening parenthesis of a multi-line function call must be the last content on the line
(#437) Only one argument is allowed per line in a multi-line function call
(#437) Only one argument is allowed per line in a multi-line function call
(#438) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#438) Only one argument is allowed per line in a multi-line function call
(#438) Only one argument is allowed per line in a multi-line function call
(#438) Closing parenthesis of a multi-line function call must be on a line by itself
(#439) Opening parenthesis of a multi-line function call must be the last content on the line
(#440) Only one argument is allowed per line in a multi-line function call
(#440) Only one argument is allowed per line in a multi-line function call
(#441) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#441) Only one argument is allowed per line in a multi-line function call
(#441) Only one argument is allowed per line in a multi-line function call
(#441) Closing parenthesis of a multi-line function call must be on a line by itself
(#442) Opening parenthesis of a multi-line function call must be the last content on the line
(#443) Only one argument is allowed per line in a multi-line function call
(#443) Only one argument is allowed per line in a multi-line function call
(#444) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#444) Only one argument is allowed per line in a multi-line function call
(#444) Only one argument is allowed per line in a multi-line function call
(#444) Closing parenthesis of a multi-line function call must be on a line by itself
(#445) Opening parenthesis of a multi-line function call must be the last content on the line
(#446) Only one argument is allowed per line in a multi-line function call
(#446) Only one argument is allowed per line in a multi-line function call
(#447) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#447) Only one argument is allowed per line in a multi-line function call
(#447) Only one argument is allowed per line in a multi-line function call
(#447) Closing parenthesis of a multi-line function call must be on a line by itself
(#449) Opening parenthesis of a multi-line function call must be the last content on the line
(#451) Only one argument is allowed per line in a multi-line function call
(#451) Only one argument is allowed per line in a multi-line function call
(#451) Short array syntax must be used to define arrays
(#451) Only one argument is allowed per line in a multi-line function call
(#451) Only one argument is allowed per line in a multi-line function call
(#452) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#452) Closing parenthesis of a multi-line function call must be on a line by itself
(#454) Opening parenthesis of a multi-line function call must be the last content on the line
(#456) Only one argument is allowed per line in a multi-line function call
(#456) Only one argument is allowed per line in a multi-line function call
(#456) Short array syntax must be used to define arrays
(#456) Only one argument is allowed per line in a multi-line function call
(#456) Only one argument is allowed per line in a multi-line function call
(#457) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#457) Closing parenthesis of a multi-line function call must be on a line by itself
(#459) Opening parenthesis of a multi-line function call must be the last content on the line
(#461) Only one argument is allowed per line in a multi-line function call
(#461) Only one argument is allowed per line in a multi-line function call
(#461) Short array syntax must be used to define arrays
(#461) Only one argument is allowed per line in a multi-line function call
(#461) Only one argument is allowed per line in a multi-line function call
(#462) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#462) Closing parenthesis of a multi-line function call must be on a line by itself
(#464) Opening parenthesis of a multi-line function call must be the last content on the line
(#466) Only one argument is allowed per line in a multi-line function call
(#466) Only one argument is allowed per line in a multi-line function call
(#466) Short array syntax must be used to define arrays
(#466) Only one argument is allowed per line in a multi-line function call
(#466) Only one argument is allowed per line in a multi-line function call
(#467) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#467) Closing parenthesis of a multi-line function call must be on a line by itself
(#470) Opening parenthesis of a multi-line function call must be the last content on the line
(#470) Only one argument is allowed per line in a multi-line function call
(#471) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#471) Only one argument is allowed per line in a multi-line function call
(#471) Closing parenthesis of a multi-line function call must be on a line by itself
(#473) Short array syntax must be used to define arrays
(#478) Expected at least 1 space before "."; 0 found
(#478) Expected at least 1 space after "."; 0 found
(#480) Opening parenthesis of a multi-line function call must be the last content on the line
(#480) Only one argument is allowed per line in a multi-line function call
(#481) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#481) Only one argument is allowed per line in a multi-line function call
(#481) Only one argument is allowed per line in a multi-line function call
(#481) Closing parenthesis of a multi-line function call must be on a line by itself
(#483) Opening parenthesis of a multi-line function call must be the last content on the line
(#483) Only one argument is allowed per line in a multi-line function call
(#484) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#484) Only one argument is allowed per line in a multi-line function call
(#484) Closing parenthesis of a multi-line function call must be on a line by itself
(#485) Opening parenthesis of a multi-line function call must be the last content on the line
(#485) Only one argument is allowed per line in a multi-line function call
(#486) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#486) Only one argument is allowed per line in a multi-line function call
(#486) Closing parenthesis of a multi-line function call must be on a line by itself
(#488) Opening parenthesis of a multi-line function call must be the last content on the line
(#488) Only one argument is allowed per line in a multi-line function call
(#489) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#489) Only one argument is allowed per line in a multi-line function call
(#489) Closing parenthesis of a multi-line function call must be on a line by itself
(#490) Opening parenthesis of a multi-line function call must be the last content on the line
(#490) Only one argument is allowed per line in a multi-line function call
(#491) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#491) Only one argument is allowed per line in a multi-line function call
(#491) Closing parenthesis of a multi-line function call must be on a line by itself
(#492) Opening parenthesis of a multi-line function call must be the last content on the line
(#492) Only one argument is allowed per line in a multi-line function call
(#493) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#493) Only one argument is allowed per line in a multi-line function call
(#493) Closing parenthesis of a multi-line function call must be on a line by itself
(#496) Opening parenthesis of a multi-line function call must be the last content on the line
(#496) Only one argument is allowed per line in a multi-line function call
(#497) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#497) Only one argument is allowed per line in a multi-line function call
(#497) Closing parenthesis of a multi-line function call must be on a line by itself
(#503) Opening parenthesis of a multi-line function call must be the last content on the line
(#503) Only one argument is allowed per line in a multi-line function call
(#504) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#504) Only one argument is allowed per line in a multi-line function call
(#504) Closing parenthesis of a multi-line function call must be on a line by itself
(#506) Opening parenthesis of a multi-line function call must be the last content on the line
(#508) Only one argument is allowed per line in a multi-line function call
(#508) Only one argument is allowed per line in a multi-line function call
(#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.
(#511) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#511) Closing parenthesis of a multi-line function call must be on a line by itself
(#513) Opening parenthesis of a multi-line function call must be the last content on the line
(#513) Only one argument is allowed per line in a multi-line function call
(#514) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#514) Only one argument is allowed per line in a multi-line function call
(#514) Closing parenthesis of a multi-line function call must be on a line by itself
(#516) Opening parenthesis of a multi-line function call must be the last content on the line
(#516) Only one argument is allowed per line in a multi-line function call
(#517) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#517) Only one argument is allowed per line in a multi-line function call
(#517) Closing parenthesis of a multi-line function call must be on a line by itself
(#519) Opening parenthesis of a multi-line function call must be the last content on the line
(#519) Only one argument is allowed per line in a multi-line function call
(#520) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#520) Only one argument is allowed per line in a multi-line function call
(#520) Closing parenthesis of a multi-line function call must be on a line by itself
(#582) Short array syntax must be used to define arrays
(#639) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#641) The closing parenthesis of a multi-line control structure must be on the line after the last expression
mod/studentquiz/classes/question/bank/studentquiz_column_base.php
(#26) Opening brace must not be followed by a blank line
(#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
(#38) Opening brace must not be followed by a blank line
(#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
(#28) Opening brace must not be followed by a blank line
(#108) Expected at least 1 space before "."; 0 found
(#108) Expected at least 1 space after "."; 0 found
(#108) Expected at least 1 space before "."; 0 found
(#108) Expected at least 1 space after "."; 0 found
(#113) Expected at least 1 space before "."; 0 found
(#113) Expected at least 1 space after "."; 0 found
(#113) Expected at least 1 space before "."; 0 found
(#113) Expected at least 1 space after "."; 0 found
(#120) Expected at least 1 space before "."; 0 found
(#120) Expected at least 1 space after "."; 0 found
(#120) Expected at least 1 space before "."; 0 found
(#120) Expected at least 1 space after "."; 0 found
(#353) Expected at least 1 space after "."; 0 found
(#357) Expected at least 1 space after "."; 0 found
(#359) Expected at least 1 space after "."; 0 found
(#361) Expected at least 1 space after "."; 0 found
(#362) Expected at least 1 space after "."; 0 found
(#364) Expected at least 1 space after "."; 0 found
(#365) Expected at least 1 space after "."; 0 found
(#366) Expected at least 1 space after "."; 0 found
(#367) Expected at least 1 space after "."; 0 found
(#369) Expected at least 1 space after "."; 0 found
(#370) Expected at least 1 space after "."; 0 found
(#371) Expected at least 1 space after "."; 0 found
(#397) Opening parenthesis of a multi-line function call must be the last content on the line
(#398) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#398) Closing parenthesis of a multi-line function call must be on a line by itself
(#412) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#412) Multi-line function declarations must define one parameter per line
(#412) Multi-line function declarations must define one parameter per line
(#412) Multi-line function declarations must define one parameter per line
(#413) Multi-line function declarations must define one parameter per line
(#413) The closing parenthesis of a multi-line function declaration must be on a new line
(#420) Expected at least 1 space after "."; 0 found
(#423) Opening parenthesis of a multi-line function call must be the last content on the line
(#424) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#424) Only one argument is allowed per line in a multi-line function call
(#424) Only one argument is allowed per line in a multi-line function call
(#424) Closing parenthesis of a multi-line function call must be on a line by itself
(#478) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/classes/task/delete_orphaned_questions.php
(#26) Opening brace must not be followed by a blank line
(#45) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#46) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#46) Blank line found at start of control structure
(#54) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#64) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#64) Closing parenthesis of a multi-line function call must be on a line by itself
(#69) Blank line found at start of control structure
(#72) Blank line found at end of control structure
(#73) Blank line found at start of control structure
(#75) Blank line found at start of control structure
(#77) Blank line found at start of control structure
(#79) Blank line found at start of control structure
(#95) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#95) Opening parenthesis of a multi-line function call must be the last content on the line
(#96) Multi-line function call not indented correctly; expected 28 spaces but found 32
(#96) Closing parenthesis of a multi-line function call must be on a line by itself
(#96) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#96) Blank line found at start of control structure
(#99) Opening parenthesis of a multi-line function call must be the last content on the line
(#100) Multi-line function call not indented correctly; expected 36 spaces but found 56
(#102) Multi-line function call not indented correctly; expected 32 spaces but found 56
(#102) Closing parenthesis of a multi-line function call must be on a line by itself
(#105) Opening parenthesis of a multi-line function call must be the last content on the line
(#106) Multi-line function call not indented correctly; expected 32 spaces but found 56
(#106) Closing parenthesis of a multi-line function call must be on a line by itself
(#109) Opening parenthesis of a multi-line function call must be the last content on the line
(#110) Multi-line function call not indented correctly; expected 32 spaces but found 56
(#110) Closing parenthesis of a multi-line function call must be on a line by itself
(#113) Opening parenthesis of a multi-line function call must be the last content on the line
(#114) Multi-line function call not indented correctly; expected 32 spaces but found 56
(#114) Closing parenthesis of a multi-line function call must be on a line by itself
(#117) Opening parenthesis of a multi-line function call must be the last content on the line
(#118) Multi-line function call not indented correctly; expected 32 spaces but found 56
(#118) Closing parenthesis of a multi-line function call must be on a line by itself
(#132) Blank line found at end of control structure
(#151) Opening parenthesis of a multi-line function call must be the last content on the line
(#151) Only one argument is allowed per line in a multi-line function call
(#152) Multi-line function call not indented correctly; expected 12 spaces but found 52
(#152) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/classes/task/send_digest_notification_task.php
(#29) Opening brace must not be followed by a blank line
(#61) Opening parenthesis of a multi-line function call must be the last content on the line
(#62) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#63) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#63) Closing parenthesis of a multi-line function call must be on a line by itself
(#81) Opening parenthesis of a multi-line function call must be the last content on the line
(#82) Multi-line function call not indented correctly; expected 24 spaces but found 32
(#82) Closing parenthesis of a multi-line function call must be on a line by itself
(#83) There should be a comma after the last array item in a multi-line array.
(#119) Long list syntax is not allowed
mod/studentquiz/classes/task/send_no_digest_notification_task.php
(#28) Opening brace must not be followed by a blank line
mod/studentquiz/classes/utils.php
(#35) Opening brace must not be followed by a blank line
(#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.
(#264) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#265) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#266) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#267) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#321) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#321) Multi-line function declarations must define one parameter per line
(#322) Multi-line function declaration not indented correctly; expected 8 spaces but found 13
(#322) Multi-line function declarations must define one parameter per line
(#322) The closing parenthesis of a multi-line function declaration must be on a new line
(#327) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#329) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#369) Expected at least 1 space before "."; 0 found
(#369) Expected at least 1 space after "."; 0 found
(#369) Expected at least 1 space before "."; 0 found
(#369) Expected at least 1 space after "."; 0 found
(#374) Expected at least 1 space before "."; 0 found
(#374) Expected at least 1 space after "."; 0 found
(#374) Expected at least 1 space before "."; 0 found
(#374) Expected at least 1 space after "."; 0 found
(#399) Expected at least 1 space before "."; 0 found
(#399) Expected at least 1 space after "."; 0 found
(#524) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#525) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#573) There should be a comma after the last array item in a multi-line array.
(#586) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#586) Multi-line function declarations must define one parameter per line
(#586) Multi-line function declarations must define one parameter per line
(#587) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#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.
(#587) The closing parenthesis of a multi-line function declaration must be on a new line
(#606) Incorrect spacing between argument "$courseorigid" and equals sign; expected 1 but found 0
(#606) Incorrect spacing between default value and equals sign for argument "$courseorigid"; expected 1 but found 0
(#644) Opening parenthesis of a multi-line function call must be the last content on the line
(#644) Only one argument is allowed per line in a multi-line function call
(#645) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#645) Only one argument is allowed per line in a multi-line function call
(#645) Closing parenthesis of a multi-line function call must be on a line by itself
(#668) Opening parenthesis of a multi-line function call must be the last content on the line
(#668) Only one argument is allowed per line in a multi-line function call
(#669) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#669) Closing parenthesis of a multi-line function call must be on a line by itself
(#715) Long list syntax is not allowed
(#760) Opening parenthesis of a multi-line function call must be the last content on the line
(#760) Only one argument is allowed per line in a multi-line function call
(#760) Only one argument is allowed per line in a multi-line function call
(#761) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#761) Closing parenthesis of a multi-line function call must be on a line by itself
(#765) Opening parenthesis of a multi-line function call must be the last content on the line
(#765) Only one argument is allowed per line in a multi-line function call
(#765) Only one argument is allowed per line in a multi-line function call
(#766) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#766) Closing parenthesis of a multi-line function call must be on a line by itself
(#780) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#780) Multi-line function declarations must define one parameter per line
(#780) Multi-line function declarations must define one parameter per line
(#781) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#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.
(#781) The closing parenthesis of a multi-line function declaration must be on a new line
(#788) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#789) The closing parenthesis of a multi-line control structure must be on the line after the last expression
mod/studentquiz/commenthistory.php
(#59) Opening parenthesis of a multi-line function call must be the last content on the line
(#60) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#60) Closing parenthesis of a multi-line function call must be on a line by itself
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
(#51) Blank line found at start of control structure
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
(#74) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#74) Closing parenthesis of a multi-line function call must be on a line by itself
(#84) Blank line found at start of control structure
(#88) Opening parenthesis of a multi-line function call must be the last content on the line
(#88) Only one argument is allowed per line in a multi-line function call
(#88) Only one argument is allowed per line in a multi-line function call
(#88) Only one argument is allowed per line in a multi-line function call
(#88) Only one argument is allowed per line in a multi-line function call
(#88) Only one argument is allowed per line in a multi-line function call
(#88) Only one argument is allowed per line in a multi-line function call
(#89) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#89) Closing parenthesis of a multi-line function call must be on a line by itself
(#98) Opening parenthesis of a multi-line function call must be the last content on the line
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Only one argument is allowed per line in a multi-line function call
(#99) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#99) Closing parenthesis of a multi-line function call must be on a line by itself
(#108) Short array syntax must be used to define arrays
(#120) Blank line found at start of control structure
(#128) Blank line found at start of control structure
(#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
(#152) Blank line found at start of control structure
(#164) Short array syntax must be used to define arrays
(#164) Short array syntax must be used to define arrays
(#170) Blank line found at start of control structure
(#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
(#198) Blank line found at start of control structure
(#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
(#271) Opening parenthesis of a multi-line function call must be the last content on the line
(#271) Only one argument is allowed per line in a multi-line function call
(#271) Only one argument is allowed per line in a multi-line function call
(#271) Only one argument is allowed per line in a multi-line function call
(#272) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#272) Only one argument is allowed per line in a multi-line function call
(#272) Only one argument is allowed per line in a multi-line function call
(#272) Only one argument is allowed per line in a multi-line function call
(#272) Closing parenthesis of a multi-line function call must be on a line by itself
(#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.
(#300) Opening parenthesis of a multi-line function call must be the last content on the line
(#300) Only one argument is allowed per line in a multi-line function call
(#300) Only one argument is allowed per line in a multi-line function call
(#300) Only one argument is allowed per line in a multi-line function call
(#301) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#301) Only one argument is allowed per line in a multi-line function call
(#301) Only one argument is allowed per line in a multi-line function call
(#301) Only one argument is allowed per line in a multi-line function call
(#301) Closing parenthesis of a multi-line function call must be on a line by itself
(#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.
(#487) Blank line found at start of control structure
(#545) Blank line found at start of control structure
(#570) Opening parenthesis of a multi-line function call must be the last content on the line
(#570) Only one argument is allowed per line in a multi-line function call
(#570) Only one argument is allowed per line in a multi-line function call
(#570) Only one argument is allowed per line in a multi-line function call
(#570) Only one argument is allowed per line in a multi-line function call
(#570) Only one argument is allowed per line in a multi-line function call
(#570) Only one argument is allowed per line in a multi-line function call
(#571) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#571) Closing parenthesis of a multi-line function call must be on a line by itself
(#579) Blank line found at start of control structure
(#591) Blank line found at start of control structure
(#607) Blank line found at start of control structure
(#630) Blank line found at start of control structure
(#658) Blank line found at start of control structure
(#674) Blank line found at start of control structure
(#810) Blank line found at start of control structure
(#845) Blank line found at start of control structure
(#859) Blank line found at start of control structure
(#922) Opening parenthesis of a multi-line function call must be the last content on the line
(#922) Only one argument is allowed per line in a multi-line function call
(#923) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#923) Only one argument is allowed per line in a multi-line function call
(#923) Closing parenthesis of a multi-line function call must be on a line by itself
(#958) Blank line found at start of control structure
(#1447) Blank line found at start of control structure
(#1462) Blank line found at start of control structure
(#1475) Blank line found at start of control structure
(#1490) Blank line found at start of control structure
(#1505) Blank line found at start of control structure
(#1518) Blank line found at start of control structure
(#1533) Blank line found at start of control structure
(#1548) Blank line found at start of control structure
(#1561) Blank line found at start of control structure
(#1574) Blank line found at start of control structure
(#1578) Opening parenthesis of a multi-line function call must be the last content on the line
(#1578) Only one argument is allowed per line in a multi-line function call
(#1579) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1579) Closing parenthesis of a multi-line function call must be on a line by itself
(#1588) Blank line found at start of control structure
(#1603) Blank line found at start of control structure
(#1616) Blank line found at start of control structure
(#1631) Blank line found at start of control structure
(#1644) Blank line found at start of control structure
(#1678) Blank line found at start of control structure
(#1682) Opening parenthesis of a multi-line function call must be the last content on the line
(#1682) Only one argument is allowed per line in a multi-line function call
(#1682) Only one argument is allowed per line in a multi-line function call
(#1682) Only one argument is allowed per line in a multi-line function call
(#1682) Only one argument is allowed per line in a multi-line function call
(#1682) Only one argument is allowed per line in a multi-line function call
(#1683) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1683) Only one argument is allowed per line in a multi-line function call
(#1683) Closing parenthesis of a multi-line function call must be on a line by itself
(#1694) Blank line found at start of control structure
(#1698) Opening parenthesis of a multi-line function call must be the last content on the line
(#1698) Only one argument is allowed per line in a multi-line function call
(#1698) Only one argument is allowed per line in a multi-line function call
(#1698) Only one argument is allowed per line in a multi-line function call
(#1698) Only one argument is allowed per line in a multi-line function call
(#1698) Only one argument is allowed per line in a multi-line function call
(#1699) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1699) Only one argument is allowed per line in a multi-line function call
(#1699) Closing parenthesis of a multi-line function call must be on a line by itself
(#1710) Blank line found at start of control structure
(#1714) Opening parenthesis of a multi-line function call must be the last content on the line
(#1714) Only one argument is allowed per line in a multi-line function call
(#1714) Only one argument is allowed per line in a multi-line function call
(#1714) Only one argument is allowed per line in a multi-line function call
(#1714) Only one argument is allowed per line in a multi-line function call
(#1714) Only one argument is allowed per line in a multi-line function call
(#1715) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1715) Only one argument is allowed per line in a multi-line function call
(#1715) Closing parenthesis of a multi-line function call must be on a line by itself
(#1726) Blank line found at start of control structure
(#1741) Opening parenthesis of a multi-line function call must be the last content on the line
(#1742) Only one argument is allowed per line in a multi-line function call
(#1743) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#1743) Closing parenthesis of a multi-line function call must be on a line by itself
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
(#56) Expected at least 1 space before "."; 0 found
(#56) Expected at least 1 space after "."; 0 found
(#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
(#52) Expected 1 space after SWITCH keyword; 0 found
(#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.
(#255) Opening parenthesis of a multi-line function call must be the last content on the line
(#256) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#256) Only one argument is allowed per line in a multi-line function call
(#256) Only one argument is allowed per line in a multi-line function call
(#256) Only one argument is allowed per line in a multi-line function call
(#256) Closing parenthesis of a multi-line function call must be on a line by itself
(#259) Long list syntax is not allowed
(#264) Opening parenthesis of a multi-line function call must be the last content on the line
(#264) Only one argument is allowed per line in a multi-line function call
(#266) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#266) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#287) Opening parenthesis of a multi-line function call must be the last content on the line
(#288) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#288) Only one argument is allowed per line in a multi-line function call
(#288) Only one argument is allowed per line in a multi-line function call
(#288) Closing parenthesis of a multi-line function call must be on a line by itself
(#356) Incorrect spacing between argument "$userid" and equals sign; expected 1 but found 0
(#356) Incorrect spacing between default value and equals sign for argument "$userid"; expected 1 but found 0
(#356) Incorrect spacing between argument "$groupid" and equals sign; expected 1 but found 0
(#356) Incorrect spacing between default value and equals sign for argument "$groupid"; expected 1 but found 0
(#381) Expected "function abc(...)"; found "function abc (...)"
(#381) Expected 0 spaces before opening parenthesis; 1 found
(#412) Opening parenthesis of a multi-line function call must be the last content on the line
(#413) Only one argument is allowed per line in a multi-line function call
(#414) Closing parenthesis of a multi-line function call must be on a line by itself
(#451) Short array syntax must be used to define arrays
(#489) Incorrect spacing between argument "$options" and equals sign; expected 1 but found 0
(#489) Incorrect spacing between default value and equals sign for argument "$options"; expected 1 but found 0
(#489) Short array syntax must be used to define arrays
(#529) Opening parenthesis of a multi-line function call must be the last content on the line
(#530) Short array syntax must be used to define arrays
(#531) Only one argument is allowed per line in a multi-line function call
(#531) Only one argument is allowed per line in a multi-line function call
(#532) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#532) Closing parenthesis of a multi-line function call must be on a line by itself
(#533) Opening parenthesis of a multi-line function call must be the last content on the line
(#534) Short array syntax must be used to define arrays
(#535) Only one argument is allowed per line in a multi-line function call
(#535) Only one argument is allowed per line in a multi-line function call
(#536) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#536) Closing parenthesis of a multi-line function call must be on a line by itself
(#560) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#560) Multi-line function declarations must define one parameter per line
(#560) Multi-line function declarations must define one parameter per line
(#561) Multi-line function declaration not indented correctly; expected 4 spaces but found 44
(#561) Multi-line function declarations must define one parameter per line
(#561) Multi-line function declarations must define one parameter per line
(#561) Multi-line function declarations must define one parameter per line
(#561) Multi-line function declarations must define one parameter per line
(#561) Multi-line function declarations must define one parameter per line
(#561) Short array syntax must be used to define arrays
(#561) The closing parenthesis of a multi-line function declaration must be on a new line
(#582) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#582) Opening parenthesis of a multi-line function call must be the last content on the line
(#582) Only one argument is allowed per line in a multi-line function call
(#583) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#583) Only one argument is allowed per line in a multi-line function call
(#583) Only one argument is allowed per line in a multi-line function call
(#583) Only one argument is allowed per line in a multi-line function call
(#583) Closing parenthesis of a multi-line function call must be on a line by itself
(#583) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#616) There should be a comma after the last array item in a multi-line array.
(#649) There should be a comma after the last array item in a multi-line array.
(#666) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#667) Multi-line function declarations must define one parameter per line
(#667) The closing parenthesis of a multi-line function declaration must be on a new line
(#697) Opening parenthesis of a multi-line function call must be the last content on the line
(#698) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#698) Closing parenthesis of a multi-line function call must be on a line by itself
(#712) There should be a comma after the last array item in a multi-line array.
mod/studentquiz/locallib.php
(#53) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#85) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#85) Multi-line function declarations must define one parameter per line
(#85) Multi-line function declarations must define one parameter per line
(#85) Multi-line function declarations must define one parameter per line
(#85) Multi-line function declarations must define one parameter per line
(#86) Multi-line function declarations must define one parameter per line
(#86) Multi-line function declarations must define one parameter per line
(#86) Multi-line function declarations must define one parameter per line
(#86) The closing parenthesis of a multi-line function declaration must be on a new line
(#110) Incorrect spacing between argument "$courseorigid" and equals sign; expected 1 but found 0
(#110) Incorrect spacing between default value and equals sign for argument "$courseorigid"; expected 1 but found 0
(#113) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#207) Opening parenthesis of a multi-line function call must be the last content on the line
(#207) Only one argument is allowed per line in a multi-line function call
(#207) Only one argument is allowed per line in a multi-line function call
(#207) Only one argument is allowed per line in a multi-line function call
(#208) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#208) Only one argument is allowed per line in a multi-line function call
(#208) Only one argument is allowed per line in a multi-line function call
(#208) Only one argument is allowed per line in a multi-line function call
(#208) Only one argument is allowed per line in a multi-line function call
(#208) Closing parenthesis of a multi-line function call must be on a line by itself
(#221) Short array syntax must be used to define arrays
(#335) Opening parenthesis of a multi-line function call must be the last content on the line
(#335) Only one argument is allowed per line in a multi-line function call
(#336) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#336) Only one argument is allowed per line in a multi-line function call
(#336) Only one argument is allowed per line in a multi-line function call
(#336) Only one argument is allowed per line in a multi-line function call
(#336) Only one argument is allowed per line in a multi-line function call
(#336) Only one argument is allowed per line in a multi-line function call
(#336) Closing parenthesis of a multi-line function call must be on a line by itself
(#339) Opening parenthesis of a multi-line function call must be the last content on the line
(#340) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#340) Only one argument is allowed per line in a multi-line function call
(#340) Only one argument is allowed per line in a multi-line function call
(#340) Closing parenthesis of a multi-line function call must be on a line by itself
(#359) Short array syntax must be used to define arrays
(#385) Short array syntax must be used to define arrays
(#414) Short array syntax must be used to define arrays
(#596) Short array syntax must be used to define arrays
(#598) There should be a comma after the last array item in a multi-line array.
(#610) Short array syntax must be used to define arrays
(#611) There should be a comma after the last array item in a multi-line array.
(#625) Short array syntax must be used to define arrays
(#627) There should be a comma after the last array item in a multi-line array.
(#640) Short array syntax must be used to define arrays
(#642) There should be a comma after the last array item in a multi-line array.
(#655) Expected at least 1 space before "&&"; 0 found
(#658) Short array syntax must be used to define arrays
(#672) Short array syntax must be used to define arrays
(#708) Short array syntax must be used to define arrays
(#751) There should be a comma after the last array item in a multi-line array.
(#774) There should be a comma after the last array item in a multi-line array.
(#777) Blank line found at end of control structure
(#789) Opening parenthesis of a multi-line function call must be the last content on the line
(#789) Only one argument is allowed per line in a multi-line function call
(#790) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#790) Only one argument is allowed per line in a multi-line function call
(#790) Closing parenthesis of a multi-line function call must be on a line by itself
(#850) Opening parenthesis of a multi-line function call must be the last content on the line
(#850) Only one argument is allowed per line in a multi-line function call
(#851) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#851) Closing parenthesis of a multi-line function call must be on a line by itself
(#853) Opening parenthesis of a multi-line function call must be the last content on the line
(#853) Only one argument is allowed per line in a multi-line function call
(#854) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#854) Closing parenthesis of a multi-line function call must be on a line by itself
(#858) Opening parenthesis of a multi-line function call must be the last content on the line
(#858) Only one argument is allowed per line in a multi-line function call
(#859) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#859) Closing parenthesis of a multi-line function call must be on a line by itself
(#895) There should be a comma after the last array item in a multi-line array.
(#902) Only one argument is allowed per line in a multi-line function call
(#902) Only one argument is allowed per line in a multi-line function call
(#902) Only one argument is allowed per line in a multi-line function call
(#917) Incorrect spacing between argument "$courseorigid" and equals sign; expected 1 but found 0
(#917) Incorrect spacing between default value and equals sign for argument "$courseorigid"; expected 1 but found 0
(#920) Short array syntax must be used to define arrays
(#952) Opening parenthesis of a multi-line function call must be the last content on the line
(#953) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#953) Only one argument is allowed per line in a multi-line function call
(#953) Only one argument is allowed per line in a multi-line function call
(#953) Only one argument is allowed per line in a multi-line function call
(#953) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/mod_form.php
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#43) Opening brace must not be followed by a blank line
(#64) Opening parenthesis of a multi-line function call must be the last content on the line
(#64) Only one argument is allowed per line in a multi-line function call
(#64) Only one argument is allowed per line in a multi-line function call
(#65) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#65) Short array syntax must be used to define arrays
(#65) Closing parenthesis of a multi-line function call must be on a line by itself
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
(#73) Only one argument is allowed per line in a multi-line function call
(#74) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#74) Only one argument is allowed per line in a multi-line function call
(#74) Only one argument is allowed per line in a multi-line function call
(#74) Closing parenthesis of a multi-line function call must be on a line by itself
(#82) There should be a comma after the last array item in a multi-line array.
(#84) Opening parenthesis of a multi-line function call must be the last content on the line
(#84) Only one argument is allowed per line in a multi-line function call
(#84) Only one argument is allowed per line in a multi-line function call
(#85) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#85) Closing parenthesis of a multi-line function call must be on a line by itself
(#93) Opening parenthesis of a multi-line function call must be the last content on the line
(#93) Only one argument is allowed per line in a multi-line function call
(#94) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#94) Closing parenthesis of a multi-line function call must be on a line by itself
(#104) Opening parenthesis of a multi-line function call must be the last content on the line
(#104) Only one argument is allowed per line in a multi-line function call
(#105) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#105) Closing parenthesis of a multi-line function call must be on a line by itself
(#108) Opening parenthesis of a multi-line function call must be the last content on the line
(#109) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#109) Closing parenthesis of a multi-line function call must be on a line by itself
(#112) Opening parenthesis of a multi-line function call must be the last content on the line
(#112) Only one argument is allowed per line in a multi-line function call
(#113) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#113) Closing parenthesis of a multi-line function call must be on a line by itself
(#116) Opening parenthesis of a multi-line function call must be the last content on the line
(#117) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#117) Closing parenthesis of a multi-line function call must be on a line by itself
(#120) Opening parenthesis of a multi-line function call must be the last content on the line
(#120) Only one argument is allowed per line in a multi-line function call
(#121) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#121) Closing parenthesis of a multi-line function call must be on a line by itself
(#124) Opening parenthesis of a multi-line function call must be the last content on the line
(#125) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#125) Closing parenthesis of a multi-line function call must be on a line by itself
(#128) Opening parenthesis of a multi-line function call must be the last content on the line
(#128) Only one argument is allowed per line in a multi-line function call
(#129) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#129) Closing parenthesis of a multi-line function call must be on a line by itself
(#132) Opening parenthesis of a multi-line function call must be the last content on the line
(#133) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#133) Closing parenthesis of a multi-line function call must be on a line by itself
(#136) Opening parenthesis of a multi-line function call must be the last content on the line
(#136) Only one argument is allowed per line in a multi-line function call
(#137) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#137) Closing parenthesis of a multi-line function call must be on a line by itself
(#140) Opening parenthesis of a multi-line function call must be the last content on the line
(#141) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#141) Closing parenthesis of a multi-line function call must be on a line by itself
(#160) Short array syntax must be used to define arrays
(#201) Opening parenthesis of a multi-line function call must be the last content on the line
(#201) Only one argument is allowed per line in a multi-line function call
(#202) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#203) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#217) Opening parenthesis of a multi-line function call must be the last content on the line
(#217) Only one argument is allowed per line in a multi-line function call
(#218) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#218) Only one argument is allowed per line in a multi-line function call
(#218) Closing parenthesis of a multi-line function call must be on a line by itself
(#219) Opening parenthesis of a multi-line function call must be the last content on the line
(#219) Only one argument is allowed per line in a multi-line function call
(#220) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#220) Only one argument is allowed per line in a multi-line function call
(#220) Closing parenthesis of a multi-line function call must be on a line by itself
(#221) Opening parenthesis of a multi-line function call must be the last content on the line
(#221) Only one argument is allowed per line in a multi-line function call
(#222) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#222) Only one argument is allowed per line in a multi-line function call
(#222) Closing parenthesis of a multi-line function call must be on a line by itself
(#223) Opening parenthesis of a multi-line function call must be the last content on the line
(#223) Only one argument is allowed per line in a multi-line function call
(#224) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#224) Only one argument is allowed per line in a multi-line function call
(#224) Closing parenthesis of a multi-line function call must be on a line by itself
(#232) There should be a comma after the last array item in a multi-line array.
(#234) Opening parenthesis of a multi-line function call must be the last content on the line
(#234) Only one argument is allowed per line in a multi-line function call
(#234) Only one argument is allowed per line in a multi-line function call
(#235) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#235) Closing parenthesis of a multi-line function call must be on a line by itself
(#246) There should be a comma after the last array item in a multi-line array.
(#308) Opening parenthesis of a multi-line function call must be the last content on the line
(#308) Only one argument is allowed per line in a multi-line function call
(#308) Only one argument is allowed per line in a multi-line function call
(#309) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#309) Closing parenthesis of a multi-line function call must be on a line by itself
(#312) Opening parenthesis of a multi-line function call must be the last content on the line
(#313) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#313) Closing parenthesis of a multi-line function call must be on a line by itself
(#314) Opening parenthesis of a multi-line function call must be the last content on the line
(#314) Only one argument is allowed per line in a multi-line function call
(#315) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#315) Closing parenthesis of a multi-line function call must be on a line by itself
(#320) Opening parenthesis of a multi-line function call must be the last content on the line
(#320) Only one argument is allowed per line in a multi-line function call
(#320) Only one argument is allowed per line in a multi-line function call
(#321) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#321) Closing parenthesis of a multi-line function call must be on a line by itself
(#322) Opening parenthesis of a multi-line function call must be the last content on the line
(#322) Only one argument is allowed per line in a multi-line function call
(#322) Only one argument is allowed per line in a multi-line function call
(#323) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#323) Closing parenthesis of a multi-line function call must be on a line by itself
(#325) Opening parenthesis of a multi-line function call must be the last content on the line
(#325) Only one argument is allowed per line in a multi-line function call
(#327) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#327) Only one argument is allowed per line in a multi-line function call
(#327) Closing parenthesis of a multi-line function call must be on a line by itself
(#328) Opening parenthesis of a multi-line function call must be the last content on the line
(#329) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#329) Only one argument is allowed per line in a multi-line function call
(#329) Closing parenthesis of a multi-line function call must be on a line by itself
(#330) Opening parenthesis of a multi-line function call must be the last content on the line
(#330) Only one argument is allowed per line in a multi-line function call
(#331) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#331) Closing parenthesis of a multi-line function call must be on a line by itself
(#335) Opening parenthesis of a multi-line function call must be the last content on the line
(#336) Only one argument is allowed per line in a multi-line function call
(#336) Only one argument is allowed per line in a multi-line function call
(#336) Opening parenthesis of a multi-line function call must be the last content on the line
(#337) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#337) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#337) Closing parenthesis of a multi-line function call must be on a line by itself
(#337) Closing parenthesis of a multi-line function call must be on a line by itself
(#338) Opening parenthesis of a multi-line function call must be the last content on the line
(#339) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#339) Only one argument is allowed per line in a multi-line function call
(#339) Only one argument is allowed per line in a multi-line function call
(#339) Closing parenthesis of a multi-line function call must be on a line by itself
(#341) Opening parenthesis of a multi-line function call must be the last content on the line
(#341) Only one argument is allowed per line in a multi-line function call
(#342) Only one argument is allowed per line in a multi-line function call
(#343) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#343) Closing parenthesis of a multi-line function call must be on a line by itself
(#344) Opening parenthesis of a multi-line function call must be the last content on the line
(#345) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#345) Only one argument is allowed per line in a multi-line function call
(#345) Closing parenthesis of a multi-line function call must be on a line by itself
(#346) Opening parenthesis of a multi-line function call must be the last content on the line
(#347) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#347) Only one argument is allowed per line in a multi-line function call
(#347) Closing parenthesis of a multi-line function call must be on a line by itself
(#380) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#381) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#384) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#385) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#404) Space found before comma in argument list
(#404) Expected no space between "';'" and the comma. Found: 1 space
mod/studentquiz/preview.php
(#24) Header blocks must not contain blank lines
(#108) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#108) Only one argument is allowed per line in a multi-line function call
(#108) Closing parenthesis of a multi-line function call must be on a line by itself
(#149) Short array syntax must be used to define arrays
mod/studentquiz/renderer.php
(#41) Opening brace must not be followed by a blank line
(#56) Incorrect spacing between argument "$rowattributes" and equals sign; expected 1 but found 0
(#56) Incorrect spacing between default value and equals sign for argument "$rowattributes"; expected 1 but found 0
(#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
(#91) Opening parenthesis of a multi-line function call must be the last content on the line
(#91) Only one argument is allowed per line in a multi-line function call
(#92) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#92) Only one argument is allowed per line in a multi-line function call
(#92) Closing parenthesis of a multi-line function call must be on a line by itself
(#104) Incorrect spacing between argument "$attributes" and equals sign; expected 1 but found 0
(#104) Incorrect spacing between default value and equals sign for argument "$attributes"; expected 1 but found 0
(#104) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#149) Multi-line function call not indented correctly; expected 17 spaces but found 16
(#150) Multi-line function call not indented correctly; expected 13 spaces but found 16
(#150) Expected at least 1 space after "."; 0 found
(#150) Closing parenthesis of a multi-line function call must be on a line by itself
(#153) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#153) Expected at least 1 space after "."; 0 found
(#153) Closing parenthesis of a multi-line function call must be on a line by itself
(#156) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#156) Expected at least 1 space after "."; 0 found
(#156) Closing parenthesis of a multi-line function call must be on a line by itself
(#157) Short array syntax must be used to define arrays
(#165) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#165) Only one argument is allowed per line in a multi-line function call
(#165) Closing parenthesis of a multi-line function call must be on a line by itself
(#192) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#203) Opening parenthesis of a multi-line function call must be the last content on the line
(#203) Space found before comma in argument list
(#203) Expected no space between "'b'" and the comma. Found: 1 space
(#204) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#204) Only one argument is allowed per line in a multi-line function call
(#204) Short array syntax must be used to define arrays
(#204) Closing parenthesis of a multi-line function call must be on a line by itself
(#249) Incorrect spacing between argument "$class" and equals sign; expected 1 but found 0
(#249) Incorrect spacing between default value and equals sign for argument "$class"; expected 1 but found 0
(#270) Incorrect spacing between argument "$texttotal" and equals sign; expected 1 but found 0
(#270) Incorrect spacing between default value and equals sign for argument "$texttotal"; expected 1 but found 0
(#270) Incorrect spacing between argument "$bicolor" and equals sign; expected 1 but found 0
(#270) Incorrect spacing between default value and equals sign for argument "$bicolor"; expected 1 but found 0
(#293) Expected at least 1 space after "."; 0 found
(#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
(#300) Opening parenthesis of a multi-line function call must be the last content on the line
(#300) Only one argument is allowed per line in a multi-line function call
(#301) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#301) Short array syntax must be used to define arrays
(#301) Closing parenthesis of a multi-line function call must be on a line by itself
(#302) Opening parenthesis of a multi-line function call must be the last content on the line
(#302) Only one argument is allowed per line in a multi-line function call
(#303) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#303) Short array syntax must be used to define arrays
(#303) Closing parenthesis of a multi-line function call must be on a line by itself
(#304) Opening parenthesis of a multi-line function call must be the last content on the line
(#304) Only one argument is allowed per line in a multi-line function call
(#305) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#305) Short array syntax must be used to define arrays
(#305) Closing parenthesis of a multi-line function call must be on a line by itself
(#306) Opening parenthesis of a multi-line function call must be the last content on the line
(#306) Only one argument is allowed per line in a multi-line function call
(#307) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#307) Short array syntax must be used to define arrays
(#307) Closing parenthesis of a multi-line function call must be on a line by itself
(#308) Opening parenthesis of a multi-line function call must be the last content on the line
(#308) Only one argument is allowed per line in a multi-line function call
(#309) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#309) Short array syntax must be used to define arrays
(#309) Closing parenthesis of a multi-line function call must be on a line by itself
(#310) Opening parenthesis of a multi-line function call must be the last content on the line
(#310) Only one argument is allowed per line in a multi-line function call
(#311) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#311) Short array syntax must be used to define arrays
(#311) Closing parenthesis of a multi-line function call must be on a line by itself
(#312) Short array syntax must be used to define arrays
(#317) Opening parenthesis of a multi-line function call must be the last content on the line
(#318) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#318) Short array syntax must be used to define arrays
(#318) Closing parenthesis of a multi-line function call must be on a line by itself
(#320) Opening parenthesis of a multi-line function call must be the last content on the line
(#321) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#321) Short array syntax must be used to define arrays
(#321) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#345) Opening parenthesis of a multi-line function call must be the last content on the line
(#346) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#346) Short array syntax must be used to define arrays
(#346) Expected at least 1 space after "."; 0 found
(#346) Closing parenthesis of a multi-line function call must be on a line by itself
(#348) Opening parenthesis of a multi-line function call must be the last content on the line
(#349) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#349) Short array syntax must be used to define arrays
(#349) Expected at least 1 space after "."; 0 found
(#349) Closing parenthesis of a multi-line function call must be on a line by itself
(#350) Opening parenthesis of a multi-line function call must be the last content on the line
(#351) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#351) Short array syntax must be used to define arrays
(#351) Expected at least 1 space after "."; 0 found
(#351) Closing parenthesis of a multi-line function call must be on a line by itself
(#387) Opening parenthesis of a multi-line function call must be the last content on the line
(#388) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#388) Closing parenthesis of a multi-line function call must be on a line by itself
(#417) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#417) Short array syntax must be used to define arrays
(#423) Each line in a multi-line control structure must be indented at least once; expected at least 12 spaces, but found 8
(#423) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#424) Expected at least 1 space before "."; 0 found
(#424) Expected at least 1 space after "."; 0 found
(#424) Expected at least 1 space before "."; 0 found
(#424) Expected at least 1 space after "."; 0 found
(#424) Expected at least 1 space before "."; 0 found
(#424) Expected at least 1 space after "."; 0 found
(#424) Expected at least 1 space before "."; 0 found
(#424) Expected at least 1 space after "."; 0 found
(#428) Expected at least 1 space before "."; 0 found
(#428) Expected at least 1 space after "."; 0 found
(#429) Expected at least 1 space before "."; 0 found
(#429) Expected at least 1 space after "."; 0 found
(#430) Blank line found at start of control structure
(#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.
(#506) Opening parenthesis of a multi-line function call must be the last content on the line
(#507) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#507) Closing parenthesis of a multi-line function call must be on a line by itself
(#538) Opening parenthesis of a multi-line function call must be the last content on the line
(#538) Only one argument is allowed per line in a multi-line function call
(#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.
(#544) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#544) Closing parenthesis of a multi-line function call must be on a line by itself
(#560) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#560) Multi-line function declarations must define one parameter per line
(#560) Multi-line function declarations must define one parameter per line
(#560) Multi-line function declarations must define one parameter per line
(#560) Multi-line function declarations must define one parameter per line
(#561) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#561) The closing parenthesis of a multi-line function declaration must be on a new line
(#582) There should be a comma after the last array item in a multi-line array.
(#664) Opening parenthesis of a multi-line function call must be the last content on the line
(#664) Only one argument is allowed per line in a multi-line function call
(#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.
(#670) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#670) Closing parenthesis of a multi-line function call must be on a line by itself
(#685) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#685) Multi-line function declarations must define one parameter per line
(#685) Multi-line function declarations must define one parameter per line
(#685) Multi-line function declarations must define one parameter per line
(#685) Multi-line function declarations must define one parameter per line
(#686) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#686) The closing parenthesis of a multi-line function declaration must be on a new line
(#707) There should be a comma after the last array item in a multi-line array.
(#715) Expected at least 1 space after "."; 0 found
(#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.
(#986) The closing brace for the class must go on the next line after the body
(#991) Each class must be in a file by itself
(#991) Opening brace must not be followed by a blank line
(#1006) Opening parenthesis of a multi-line function call must be the last content on the line
(#1006) Only one argument is allowed per line in a multi-line function call
(#1007) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#1007) Closing parenthesis of a multi-line function call must be on a line by itself
(#1021) Short array syntax must be used to define arrays
(#1021) Opening parenthesis of a multi-line function call must be the last content on the line
(#1022) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1022) Short array syntax must be used to define arrays
(#1022) Closing parenthesis of a multi-line function call must be on a line by itself
(#1046) Opening parenthesis of a multi-line function call must be the last content on the line
(#1047) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1047) Closing parenthesis of a multi-line function call must be on a line by itself
(#1243) Long list syntax is not allowed
(#1244) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1244) Only one argument is allowed per line in a multi-line function call
(#1244) Only one argument is allowed per line in a multi-line function call
(#1244) Closing parenthesis of a multi-line function call must be on a line by itself
(#1266) There should be a comma after the last array item in a multi-line array.
(#1325) Opening parenthesis of a multi-line function call must be the last content on the line
(#1325) Only one argument is allowed per line in a multi-line function call
(#1325) Only one argument is allowed per line in a multi-line function call
(#1326) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#1326) Closing parenthesis of a multi-line function call must be on a line by itself
(#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.
(#1604) The closing brace for the class must go on the next line after the body
(#1609) Each class must be in a file by itself
(#1609) Opening brace must not be followed by a blank line
(#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.
(#1693) Space found before comma in argument list
(#1693) Expected no space between "$value" and the comma. Found: 1 space
(#1712) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#1712) Closing parenthesis of a multi-line function call must be on a line by itself
(#1714) Only one argument is allowed per line in a multi-line function call
(#1733) Opening parenthesis of a multi-line function call must be the last content on the line
(#1733) Only one argument is allowed per line in a multi-line function call
(#1733) Only one argument is allowed per line in a multi-line function call
(#1734) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1734) Closing parenthesis of a multi-line function call must be on a line by itself
(#1740) Blank line found at end of control structure
(#1743) Opening parenthesis of a multi-line function call must be the last content on the line
(#1744) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1744) Only one argument is allowed per line in a multi-line function call
(#1744) Only one argument is allowed per line in a multi-line function call
(#1744) Closing parenthesis of a multi-line function call must be on a line by itself
(#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.
(#1803) Opening parenthesis of a multi-line function call must be the last content on the line
(#1803) Only one argument is allowed per line in a multi-line function call
(#1804) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1804) Closing parenthesis of a multi-line function call must be on a line by itself
(#1807) Opening parenthesis of a multi-line function call must be the last content on the line
(#1807) Only one argument is allowed per line in a multi-line function call
(#1808) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1811) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#1811) Closing parenthesis of a multi-line function call must be on a line by itself
(#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.
(#1870) Each class must be in a file by itself
(#1870) Opening brace must not be followed by a blank line
(#1890) Long list syntax is not allowed
(#1905) There should be a comma after the last array item in a multi-line array.
(#1929) Opening parenthesis of a multi-line function call must be the last content on the line
(#1929) Opening parenthesis of a multi-line function call must be the last content on the line
(#1930) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1930) Closing parenthesis of a multi-line function call must be on a line by itself
(#1931) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1931) Only one argument is allowed per line in a multi-line function call
(#1931) Closing parenthesis of a multi-line function call must be on a line by itself
(#1957) Each class must be in a file by itself
(#1957) Opening brace must not be followed by a blank line
(#1977) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#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
(#1994) Comma found after comment, expected the comma after the end of the code
(#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) Only one argument is allowed per line in a multi-line function call
(#2028) Short array syntax must be used to define arrays
(#2029) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#2029) Only one argument is allowed per line in a multi-line function call
(#2029) Closing parenthesis of a multi-line function call must be on a line by itself
(#2030) Opening parenthesis of a multi-line function call must be the last content on the line
(#2031) Only one argument is allowed per line in a multi-line function call
(#2031) Short array syntax must be used to define arrays
(#2032) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#2032) Only one argument is allowed per line in a multi-line function call
(#2032) Closing parenthesis of a multi-line function call must be on a line by itself
(#2035) Only one argument is allowed per line in a multi-line function call
(#2035) Short array syntax must be used to define arrays
(#2036) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#2036) Only one argument is allowed per line in a multi-line function call
(#2036) Closing parenthesis of a multi-line function call must be on a line by itself
(#2037) Opening parenthesis of a multi-line function call must be the last content on the line
(#2038) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2038) Only one argument is allowed per line in a multi-line function call
(#2038) Short array syntax must be used to define arrays
(#2038) Closing parenthesis of a multi-line function call must be on a line by itself
(#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) Only one argument is allowed per line in a multi-line function call
(#2043) Short array syntax must be used to define arrays
(#2044) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#2044) Only one argument is allowed per line in a multi-line function call
(#2044) Closing parenthesis of a multi-line function call must be on a line by itself
(#2045) Opening parenthesis of a multi-line function call must be the last content on the line
(#2046) Only one argument is allowed per line in a multi-line function call
(#2046) Short array syntax must be used to define arrays
(#2047) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#2047) Only one argument is allowed per line in a multi-line function call
(#2047) Closing parenthesis of a multi-line function call must be on a line by itself
(#2050) Only one argument is allowed per line in a multi-line function call
(#2050) Short array syntax must be used to define arrays
(#2051) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#2051) Only one argument is allowed per line in a multi-line function call
(#2051) Closing parenthesis of a multi-line function call must be on a line by itself
(#2052) Opening parenthesis of a multi-line function call must be the last content on the line
(#2053) Only one argument is allowed per line in a multi-line function call
(#2053) Short array syntax must be used to define arrays
(#2054) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#2054) Only one argument is allowed per line in a multi-line function call
(#2054) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#2058) Multi-line function call not indented correctly; expected 20 spaces but found 16
(#2059) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2059) Only one argument is allowed per line in a multi-line function call
(#2059) Short array syntax must be used to define arrays
(#2059) Closing parenthesis of a multi-line function call must be on a line by itself
(#2060) Opening parenthesis of a multi-line function call must be the last content on the line
(#2061) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2061) Only one argument is allowed per line in a multi-line function call
(#2061) Short array syntax must be used to define arrays
(#2061) Closing parenthesis of a multi-line function call must be on a line by itself
(#2064) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2064) Only one argument is allowed per line in a multi-line function call
(#2064) Short array syntax must be used to define arrays
(#2064) Closing parenthesis of a multi-line function call must be on a line by itself
(#2067) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2067) Only one argument is allowed per line in a multi-line function call
(#2067) Short array syntax must be used to define arrays
(#2067) Closing parenthesis of a multi-line function call must be on a line by itself
(#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) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2072) Only one argument is allowed per line in a multi-line function call
(#2072) Short array syntax must be used to define arrays
(#2072) Closing parenthesis of a multi-line function call must be on a line by itself
(#2073) Opening parenthesis of a multi-line function call must be the last content on the line
(#2074) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2074) Only one argument is allowed per line in a multi-line function call
(#2074) Short array syntax must be used to define arrays
(#2074) Closing parenthesis of a multi-line function call must be on a line by itself
(#2077) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2077) Only one argument is allowed per line in a multi-line function call
(#2077) Short array syntax must be used to define arrays
(#2077) Closing parenthesis of a multi-line function call must be on a line by itself
(#2078) Opening parenthesis of a multi-line function call must be the last content on the line
(#2079) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2079) Only one argument is allowed per line in a multi-line function call
(#2079) Short array syntax must be used to define arrays
(#2079) Closing parenthesis of a multi-line function call must be on a line by itself
(#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) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2084) Only one argument is allowed per line in a multi-line function call
(#2084) Short array syntax must be used to define arrays
(#2084) Closing parenthesis of a multi-line function call must be on a line by itself
(#2085) Opening parenthesis of a multi-line function call must be the last content on the line
(#2086) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2086) Only one argument is allowed per line in a multi-line function call
(#2086) Short array syntax must be used to define arrays
(#2086) Closing parenthesis of a multi-line function call must be on a line by itself
(#2089) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2089) Only one argument is allowed per line in a multi-line function call
(#2089) Short array syntax must be used to define arrays
(#2089) Closing parenthesis of a multi-line function call must be on a line by itself
(#2090) Opening parenthesis of a multi-line function call must be the last content on the line
(#2091) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2091) Only one argument is allowed per line in a multi-line function call
(#2091) Short array syntax must be used to define arrays
(#2091) Closing parenthesis of a multi-line function call must be on a line by itself
(#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) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2096) Only one argument is allowed per line in a multi-line function call
(#2096) Short array syntax must be used to define arrays
(#2096) Closing parenthesis of a multi-line function call must be on a line by itself
(#2097) Opening parenthesis of a multi-line function call must be the last content on the line
(#2098) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2098) Only one argument is allowed per line in a multi-line function call
(#2098) Short array syntax must be used to define arrays
(#2098) Closing parenthesis of a multi-line function call must be on a line by itself
(#2101) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2101) Only one argument is allowed per line in a multi-line function call
(#2101) Short array syntax must be used to define arrays
(#2101) Closing parenthesis of a multi-line function call must be on a line by itself
(#2104) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#2104) Only one argument is allowed per line in a multi-line function call
(#2104) Short array syntax must be used to define arrays
(#2104) Closing parenthesis of a multi-line function call must be on a line by itself
(#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.
(#2115) Each class must be in a file by itself
(#2115) Opening brace must not be followed by a blank line
(#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
(#2140) Expected no space between ")" and the comma. Found: a new line
(#2141) Expected no space between ")" and the comma. Found: a new line
(#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
(#2175) Expected no space between ")" and the comma. Found: a new line
(#2176) Expected no space between ")" and the comma. Found: a new line
(#2177) Expected no space between ")" and the comma. Found: a new line
(#2177) Space after opening parenthesis of function call prohibited
(#2178) Expected no space between ")" and the comma. Found: a new line
(#2178) Space after opening parenthesis of function call prohibited
(#2179) Expected no space between ")" and the comma. Found: a new line
(#2179) Space after opening parenthesis of function call prohibited
(#2180) Expected no space between ")" and the comma. Found: a new line
(#2180) Space after opening parenthesis of function call prohibited
(#2181) Expected no space between ")" and the comma. Found: a new line
(#2181) Space after opening parenthesis of function call prohibited
(#2182) Expected no space between ")" and the comma. Found: a new line
(#2182) Space after opening parenthesis of function call prohibited
(#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
(#2276) Each class must be in a file by itself
(#2276) Opening brace must not be followed by a blank line
(#2297) Opening parenthesis of a multi-line function call must be the last content on the line
(#2298) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#2298) Only one argument is allowed per line in a multi-line function call
(#2298) Only one argument is allowed per line in a multi-line function call
(#2298) Closing parenthesis of a multi-line function call must be on a line by itself
(#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.
(#2404) There should be a comma after the last array item in a multi-line array.
(#2406) There should be a comma after the last array item in a multi-line array.
(#2418) There should be a comma after the last array item in a multi-line array.
(#2425) There should be a comma after the last array item in a multi-line array.
(#2463) Each class must be in a file by itself
(#2463) Opening brace must not be followed by a blank line
(#2480) 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
(#131) Opening parenthesis of a multi-line function call must be the last content on the line
(#131) Only one argument is allowed per line in a multi-line function call
(#132) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#132) Only one argument is allowed per line in a multi-line function call
(#132) Closing parenthesis of a multi-line function call must be on a line by itself
(#187) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#187) Opening parenthesis of a multi-line function call must be the last content on the line
(#188) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#188) Closing parenthesis of a multi-line function call must be on a line by itself
(#188) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#238) Short array syntax must be used to define arrays
(#374) Expected at least 1 space before "."; 0 found
(#374) Expected at least 1 space after "."; 0 found
(#374) Expected at least 1 space before "."; 0 found
(#374) Expected at least 1 space after "."; 0 found
(#406) Opening parenthesis of a multi-line function call must be the last content on the line
(#406) Only one argument is allowed per line in a multi-line function call
(#406) Only one argument is allowed per line in a multi-line function call
(#407) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#407) Only one argument is allowed per line in a multi-line function call
(#407) Only one argument is allowed per line in a multi-line function call
(#407) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/save.php
(#51) Expected 1 space after SWITCH keyword; 0 found
(#67) Multi-line function call not indented correctly; expected 0 spaces but found 4
(#67) Only one argument is allowed per line in a multi-line function call
(#67) Only one argument is allowed per line in a multi-line function call
(#67) Closing parenthesis of a multi-line function call must be on a line by itself
(#71) Multi-line function call not indented correctly; expected 0 spaces but found 4
(#71) Only one argument is allowed per line in a multi-line function call
(#71) Only one argument is allowed per line in a multi-line function call
(#71) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/settings.php
(#42) Only one argument is allowed per line in a multi-line function call
(#49) Only one argument is allowed per line in a multi-line function call
(#56) Only one argument is allowed per line in a multi-line function call
(#63) Only one argument is allowed per line in a multi-line function call
(#70) Only one argument is allowed per line in a multi-line function call
(#76) Expected 1 space after FUNCTION keyword; 0 found
(#80) Opening parenthesis of a multi-line function call must be the last content on the line
(#88) Expected 1 space after FUNCTION keyword; 0 found
(#92) Opening parenthesis of a multi-line function call must be the last content on the line
(#102) Short array syntax must be used to define arrays
(#103) Opening parenthesis of a multi-line function call must be the last content on the line
(#119) Expected 1 space after FUNCTION keyword; 0 found
(#123) Opening parenthesis of a multi-line function call must be the last content on the line
(#130) Opening parenthesis of a multi-line function call must be the last content on the line
(#136) Opening parenthesis of a multi-line function call must be the last content on the line
(#142) Opening parenthesis of a multi-line function call must be the last content on the line
(#145) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#145) Closing parenthesis of a multi-line function call must be on a line by itself
(#153) Opening parenthesis of a multi-line function call must be the last content on the line
(#159) Opening parenthesis of a multi-line function call must be the last content on the line
(#160) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#161) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#162) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#163) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#166) Opening parenthesis of a multi-line function call must be the last content on the line
(#167) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#168) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#169) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#172) Opening parenthesis of a multi-line function call must be the last content on the line
(#182) Only one argument is allowed per line in a multi-line function call
(#184) Blank line found at end of control structure
mod/studentquiz/tests/add_test.php
(#28) Unit test add_test should be declared as final.
(#28) Opening brace must not be followed by a blank line
(#36) The setUp() method in unit tests must always call to parent::setUp().
(#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" 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.
(#30) Opening brace must not be followed by a blank line
(#35) The setUpBeforeClass() method in unit tests must always call to parent::setUpBeforeClass().
(#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.
(#92) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#92) Multi-line function declarations must define one parameter per line
(#93) The closing parenthesis of a multi-line function declaration must be on a new line
(#105) Opening parenthesis of a multi-line function call must be the last content on the line
(#105) Only one argument is allowed per line in a multi-line function call
(#105) Only one argument is allowed per line in a multi-line function call
(#105) Only one argument is allowed per line in a multi-line function call
(#105) Only one argument is allowed per line in a multi-line function call
(#106) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#106) Closing parenthesis of a multi-line function call must be on a line by itself
(#147) There should be a comma after the last array item in a multi-line array.
(#163) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#163) Multi-line function declarations must define one parameter per line
(#163) Multi-line function declarations must define one parameter per line
(#164) Multi-line function declarations must define one parameter per line
(#164) Multi-line function declarations must define one parameter per line
(#164) The closing parenthesis of a multi-line function declaration must be on a new line
mod/studentquiz/tests/bank_performance_test.php
(#51) Unit test bank_performance_test should be declared as final.
(#64) The setUp() method in unit tests must always call to parent::setUp().
(#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
(#92) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#92) Only one argument is allowed per line in a multi-line function call
(#92) Only one argument is allowed per line in a multi-line function call
(#92) Only one argument is allowed per line in a multi-line function call
(#92) Only one argument is allowed per line in a multi-line function call
(#92) Closing parenthesis of a multi-line function call must be on a line by itself
(#96) Short array syntax must be used to define arrays
(#97) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#97) Only one argument is allowed per line in a multi-line function call
(#97) Only one argument is allowed per line in a multi-line function call
(#97) Only one argument is allowed per line in a multi-line function call
(#97) Only one argument is allowed per line in a multi-line function call
(#97) Closing parenthesis of a multi-line function call must be on a line by itself
(#110) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#119) Opening parenthesis of a multi-line function call must be the last content on the line
(#120) Short array syntax must be used to define arrays
(#120) Only one argument is allowed per line in a multi-line function call
(#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
(#144) Opening parenthesis of a multi-line function call must be the last content on the line
(#144) Only one argument is allowed per line in a multi-line function call
(#145) Short array syntax must be used to define arrays
(#145) Expected at least 1 space before "."; 0 found
(#145) Expected at least 1 space after "."; 0 found
(#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
(#226) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#226) Multi-line function declarations must define one parameter per line
(#226) Multi-line function declarations must define one parameter per line
(#226) Multi-line function declarations must define one parameter per line
(#226) Multi-line function declarations must define one parameter per line
(#226) Multi-line function declarations must define one parameter per line
(#227) The closing parenthesis of a multi-line function declaration must be on a new line
(#229) Opening parenthesis of a multi-line function call must be the last content on the line
(#229) Only one argument is allowed per line in a multi-line function call
(#229) Only one argument is allowed per line in a multi-line function call
(#230) Only one argument is allowed per line in a multi-line function call
(#230) Only one argument is allowed per line in a multi-line function call
(#231) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#231) Closing parenthesis of a multi-line function call must be on a line by itself
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
(#123) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#123) Only one argument is allowed per line in a multi-line function call
(#123) Closing parenthesis of a multi-line function call must be on a line by itself
(#131) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#131) Only one argument is allowed per line in a multi-line function call
(#131) Closing parenthesis of a multi-line function call must be on a line by itself
(#140) The setUp() method in unit tests must always call to parent::setUp().
(#144) Short array syntax must be used to define arrays
(#147) Opening parenthesis of a multi-line function call must be the last content on the line
(#148) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#148) Short array syntax must be used to define arrays
(#148) Expected 1 space after comma in argument list; 2 found
(#148) Expected 1 space between the comma and "array". Found: 2 spaces
(#148) Only one argument is allowed per line in a multi-line function call
(#148) Short array syntax must be used to define arrays
(#148) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#30) Useless alias "ExpectationException" found for import of "Behat\Mink\Exception\ExpectationException"
(#31) Useless alias "ElementNotFoundException" found for import of "Behat\Mink\Exception\ElementNotFoundException"
(#32) Useless alias "TableNode" found for import of "Behat\Gherkin\Node\TableNode"
(#43) Opening brace must not be followed by a blank line
(#153) Opening parenthesis of a multi-line function call must be the last content on the line
(#154) Multi-line function call not indented correctly; expected 16 spaces but found 38
(#154) Closing parenthesis of a multi-line function call must be on a line by itself
(#157) Opening parenthesis of a multi-line function call must be the last content on the line
(#158) Multi-line function call not indented correctly; expected 16 spaces but found 38
(#158) Closing parenthesis of a multi-line function call must be on a line by itself
(#161) Opening parenthesis of a multi-line function call must be the last content on the line
(#162) Multi-line function call not indented correctly; expected 16 spaces but found 38
(#162) Closing parenthesis of a multi-line function call must be on a line by itself
(#165) Opening parenthesis of a multi-line function call must be the last content on the line
(#166) Multi-line function call not indented correctly; expected 16 spaces but found 38
(#166) Closing parenthesis of a multi-line function call must be on a line by itself
(#181) Short array syntax must be used to define arrays
(#218) Expected 1 space after FUNCTION keyword; 0 found
(#224) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#224) Only one argument is allowed per line in a multi-line function call
(#224) Only one argument is allowed per line in a multi-line function call
(#224) Only one argument is allowed per line in a multi-line function call
(#224) Only one argument is allowed per line in a multi-line function call
(#224) Closing parenthesis of a multi-line function call must be on a line by itself
(#250) Expected 1 space after FUNCTION keyword; 0 found
(#256) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#256) Only one argument is allowed per line in a multi-line function call
(#256) Only one argument is allowed per line in a multi-line function call
(#256) Only one argument is allowed per line in a multi-line function call
(#256) Only one argument is allowed per line in a multi-line function call
(#256) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/tests/comment_test.php
(#30) Unit test comment_test should be declared as final.
(#30) Opening brace must not be followed by a blank line
(#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.
(#108) The setUp() method in unit tests must always call to parent::setUp().
(#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.
(#137) Opening parenthesis of a multi-line function call must be the last content on the line
(#137) Only one argument is allowed per line in a multi-line function call
(#138) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#138) Closing parenthesis of a multi-line function call must be on a line by itself
(#142) Opening parenthesis of a multi-line function call must be the last content on the line
(#142) Only one argument is allowed per line in a multi-line function call
(#143) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#143) Closing parenthesis of a multi-line function call must be on a line by itself
(#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.
(#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
(#394) Opening parenthesis of a multi-line function call must be the last content on the line
(#394) Only one argument is allowed per line in a multi-line function call
(#395) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#395) Closing parenthesis of a multi-line function call must be on a line by itself
(#404) Opening parenthesis of a multi-line function call must be the last content on the line
(#404) Only one argument is allowed per line in a multi-line function call
(#405) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#405) Closing parenthesis of a multi-line function call must be on a line by itself
(#414) Opening parenthesis of a multi-line function call must be the last content on the line
(#414) Only one argument is allowed per line in a multi-line function call
(#415) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#415) Closing parenthesis of a multi-line function call must be on a line by itself
(#424) Opening parenthesis of a multi-line function call must be the last content on the line
(#424) Only one argument is allowed per line in a multi-line function call
(#425) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#425) Closing parenthesis of a multi-line function call must be on a line by itself
(#434) Opening parenthesis of a multi-line function call must be the last content on the line
(#434) Only one argument is allowed per line in a multi-line function call
(#435) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#435) Closing parenthesis of a multi-line function call must be on a line by itself
(#444) Opening parenthesis of a multi-line function call must be the last content on the line
(#444) Only one argument is allowed per line in a multi-line function call
(#445) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#445) Closing parenthesis of a multi-line function call must be on a line by itself
(#458) Test method test_sortable_feature() is missing a return type
(#472) Opening parenthesis of a multi-line function call must be the last content on the line
(#472) Only one argument is allowed per line in a multi-line function call
(#473) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#473) Closing parenthesis of a multi-line function call must be on a line by itself
(#477) Opening parenthesis of a multi-line function call must be the last content on the line
(#477) Only one argument is allowed per line in a multi-line function call
(#478) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#478) Closing parenthesis of a multi-line function call must be on a line by itself
(#482) Opening parenthesis of a multi-line function call must be the last content on the line
(#482) Only one argument is allowed per line in a multi-line function call
(#483) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#483) Closing parenthesis of a multi-line function call must be on a line by itself
(#487) Opening parenthesis of a multi-line function call must be the last content on the line
(#487) Only one argument is allowed per line in a multi-line function call
(#488) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#488) Closing parenthesis of a multi-line function call must be on a line by itself
(#492) Opening parenthesis of a multi-line function call must be the last content on the line
(#492) Only one argument is allowed per line in a multi-line function call
(#493) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#493) Closing parenthesis of a multi-line function call must be on a line by itself
(#497) Opening parenthesis of a multi-line function call must be the last content on the line
(#497) Only one argument is allowed per line in a multi-line function call
(#498) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#498) Closing parenthesis of a multi-line function call must be on a line by itself
(#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.
(#29) Opening brace must not be followed by a blank line
(#58) The setUp() method in unit tests must always call to parent::setUp().
(#100) Opening parenthesis of a multi-line function call must be the last content on the line
(#100) Only one argument is allowed per line in a multi-line function call
(#101) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#101) Closing parenthesis of a multi-line function call must be on a line by itself
(#102) Opening parenthesis of a multi-line function call must be the last content on the line
(#102) Only one argument is allowed per line in a multi-line function call
(#103) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#103) Closing parenthesis of a multi-line function call must be on a line by itself
(#129) Test method test_send_no_digest_notification_task() is missing a return type
(#131) Opening parenthesis of a multi-line function call must be the last content on the line
(#132) Only one argument is allowed per line in a multi-line function call
(#132) Only one argument is allowed per line in a multi-line function call
(#172) Test method test_send_digest_notification_task() is missing a return type
(#176) Opening parenthesis of a multi-line function call must be the last content on the line
(#177) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#177) Only one argument is allowed per line in a multi-line function call
(#177) Only one argument is allowed per line in a multi-line function call
(#178) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#178) Closing parenthesis of a multi-line function call must be on a line by itself
(#188) There should be a comma after the last array item in a multi-line array.
(#208) Expected at least 1 space before "."; 0 found
(#260) Opening parenthesis of a multi-line function call must be the last content on the line
(#261) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#261) Only one argument is allowed per line in a multi-line function call
(#261) Only one argument is allowed per line in a multi-line function call
(#261) Only one argument is allowed per line in a multi-line function call
(#261) Closing parenthesis of a multi-line function call must be on a line by itself
(#270) Opening parenthesis of a multi-line function call must be the last content on the line
(#271) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#271) Only one argument is allowed per line in a multi-line function call
(#271) Only one argument is allowed per line in a multi-line function call
(#271) Only one argument is allowed per line in a multi-line function call
(#271) Closing parenthesis of a multi-line function call must be on a line by itself
(#278) Opening parenthesis of a multi-line function call must be the last content on the line
(#279) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#279) Only one argument is allowed per line in a multi-line function call
(#279) Only one argument is allowed per line in a multi-line function call
(#279) Only one argument is allowed per line in a multi-line function call
(#279) Closing parenthesis of a multi-line function call must be on a line by itself
(#285) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#306) Opening parenthesis of a multi-line function call must be the last content on the line
(#306) Only one argument is allowed per line in a multi-line function call
(#307) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#307) Closing parenthesis of a multi-line function call must be on a line by itself
(#339) Opening parenthesis of a multi-line function call must be the last content on the line
(#340) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#340) Closing parenthesis of a multi-line function call must be on a line by itself
(#341) Opening parenthesis of a multi-line function call must be the last content on the line
(#342) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#342) Closing parenthesis of a multi-line function call must be on a line by itself
(#343) Opening parenthesis of a multi-line function call must be the last content on the line
(#344) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#344) Closing parenthesis of a multi-line function call must be on a line by itself
(#347) Opening parenthesis of a multi-line function call must be the last content on the line
(#348) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#348) Closing parenthesis of a multi-line function call must be on a line by itself
(#349) Opening parenthesis of a multi-line function call must be the last content on the line
(#350) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#350) Closing parenthesis of a multi-line function call must be on a line by itself
(#351) Opening parenthesis of a multi-line function call must be the last content on the line
(#352) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#352) Closing parenthesis of a multi-line function call must be on a line by itself
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.
(#112) Opening parenthesis of a multi-line function call must be the last content on the line
(#112) Only one argument is allowed per line in a multi-line function call
(#113) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#113) Closing parenthesis of a multi-line function call must be on a line by itself
(#125) Only one argument is allowed per line in a multi-line function call
(#125) Only one argument is allowed per line in a multi-line function call
mod/studentquiz/tests/delete_instance_test.php
(#28) Unit test delete_instance_test should be declared as final.
(#28) Opening brace must not be followed by a blank line
(#42) Short array syntax must be used to define arrays
(#51) Opening parenthesis of a multi-line function call must be the last content on the line
(#51) Only one argument is allowed per line in a multi-line function call
(#52) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#52) Closing parenthesis of a multi-line function call must be on a line by itself
(#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.
(#122) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#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.
(#28) Opening brace must not be followed by a blank line
(#43) The setUp() method in unit tests must always call to parent::setUp().
(#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
(#63) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#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.
(#30) Opening brace must not be followed by a blank line
(#51) The setUp() method in unit tests must always call to parent::setUp().
(#60) There should be a comma after the last array item in a multi-line array.
(#65) Opening parenthesis of a multi-line function call must be the last content on the line
(#65) Only one argument is allowed per line in a multi-line function call
(#66) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/tests/locallib_test.php
(#30) Unit test locallib_test should be declared as final.
(#30) Opening brace must not be followed by a blank line
(#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.
(#28) Opening brace must not be followed by a blank line
(#99) Expected no space between "]" and the comma. Found: a new line
(#129) Test method test_ensure_permissions_are_right() is missing a return type
(#129) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#130) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#130) Multi-line function declarations must define one parameter per line
(#130) Multi-line function declarations must define one parameter per line
(#131) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#131) The closing parenthesis of a multi-line function declaration must be on a new line
(#146) Opening parenthesis of a multi-line function call must be the last content on the line
(#147) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#147) Only one argument is allowed per line in a multi-line function call
(#147) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/tests/privacy_test.php
(#35) Unit test privacy_test should be declared as final.
(#35) Opening brace must not be followed by a blank line
(#114) The setUp() method in unit tests must always call to parent::setUp().
(#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.
(#154) Opening parenthesis of a multi-line function call must be the last content on the line
(#154) Only one argument is allowed per line in a multi-line function call
(#154) Only one argument is allowed per line in a multi-line function call
(#155) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#155) Closing parenthesis of a multi-line function call must be on a line by itself
(#156) Opening parenthesis of a multi-line function call must be the last content on the line
(#156) Only one argument is allowed per line in a multi-line function call
(#156) Only one argument is allowed per line in a multi-line function call
(#157) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#157) Closing parenthesis of a multi-line function call must be on a line by itself
(#158) Opening parenthesis of a multi-line function call must be the last content on the line
(#158) Only one argument is allowed per line in a multi-line function call
(#158) Only one argument is allowed per line in a multi-line function call
(#159) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#159) Closing parenthesis of a multi-line function call must be on a line by itself
(#160) Opening parenthesis of a multi-line function call must be the last content on the line
(#160) Only one argument is allowed per line in a multi-line function call
(#160) Only one argument is allowed per line in a multi-line function call
(#161) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#161) Closing parenthesis of a multi-line function call must be on a line by itself
(#199) Opening parenthesis of a multi-line function call must be the last content on the line
(#199) Only one argument is allowed per line in a multi-line function call
(#200) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#200) Only one argument is allowed per line in a multi-line function call
(#200) Only one argument is allowed per line in a multi-line function call
(#200) Only one argument is allowed per line in a multi-line function call
(#200) Space found before comma in argument list
(#200) Expected no space between "1" and the comma. Found: 1 space
(#200) Only one argument is allowed per line in a multi-line function call
(#200) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#595) Long list syntax is not allowed
(#597) Long list syntax is not allowed
(#598) Opening parenthesis of a multi-line function call must be the last content on the line
(#599) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#599) Closing parenthesis of a multi-line function call must be on a line by itself
(#603) Space found before comma in argument list
(#603) Expected no space between ""SELECT 1 FROM {studentquiz_question} WHERE id {$sqqsql}"" and the comma. Found: a new line
(#605) Space found before comma in argument list
(#605) Expected no space between ""SELECT 1 FROM {studentquiz_rate} WHERE studentquizquestionid {$sqqsql}"" and the comma. Found: a new line
(#607) Space found before comma in argument list
(#607) Expected no space between ""SELECT 1 FROM {studentquiz_comment} WHERE studentquizquestionid {$sqqsql}"" and the comma. Found: a new line
(#609) Space found before comma in argument list
(#609) Expected no space between ""SELECT 1 FROM {studentquiz_progress} WHERE studentquizquestionid {$sqqsql}"" and the comma. Found: a new line
(#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.
(#618) Space found before comma in argument list
(#618) Expected no space between ""SELECT 1 FROM {studentquiz_state_history} WHERE studentquizquestionid {$sqqsql}"" and the comma. Found: a new line
(#621) Long list syntax is not allowed
(#623) Long list syntax is not allowed
(#624) Opening parenthesis of a multi-line function call must be the last content on the line
(#625) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#625) Closing parenthesis of a multi-line function call must be on a line by itself
(#627) Space found before comma in argument list
(#627) Expected no space between ""SELECT 1 FROM {studentquiz_question} WHERE id {$sqqsql}"" and the comma. Found: a new line
(#629) Space found before comma in argument list
(#629) Expected no space between ""SELECT 1 FROM {studentquiz_rate} WHERE studentquizquestionid {$sqqsql}"" and the comma. Found: a new line
(#631) Space found before comma in argument list
(#631) Expected no space between ""SELECT 1 FROM {studentquiz_comment} WHERE studentquizquestionid {$sqqsql}"" and the comma. Found: a new line
(#633) Space found before comma in argument list
(#633) Expected no space between ""SELECT 1 FROM {studentquiz_comment_history} WHERE userid = :userid"" and the comma. Found: a new line
(#635) Space found before comma in argument list
(#635) Expected no space between ""SELECT 1 FROM {studentquiz_progress} WHERE studentquizquestionid {$sqqsql}"" and the comma. Found: a new line
(#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.
(#644) Space found before comma in argument list
(#644) Expected no space between ""SELECT 1 FROM {studentquiz_state_history} WHERE studentquizquestionid {$sqqsql}"" and the comma. Found: a new line
(#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
(#728) Opening parenthesis of a multi-line function call must be the last content on the line
(#728) Only one argument is allowed per line in a multi-line function call
(#728) Only one argument is allowed per line in a multi-line function call
(#729) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#729) Closing parenthesis of a multi-line function call must be on a line by itself
(#738) Opening parenthesis of a multi-line function call must be the last content on the line
(#738) Only one argument is allowed per line in a multi-line function call
(#738) Only one argument is allowed per line in a multi-line function call
(#739) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#739) Closing parenthesis of a multi-line function call must be on a line by itself
(#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.
(#1035) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#1035) Multi-line function declarations must define one parameter per line
(#1035) Multi-line function declarations must define one parameter per line
(#1035) Multi-line function declarations must define one parameter per line
(#1035) Multi-line function declarations must define one parameter per line
(#1035) Multi-line function declarations must define one parameter per line
(#1036) The closing parenthesis of a multi-line function declaration must be on a new line
(#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.
(#35) Opening brace must not be followed by a blank line
(#70) The setUp() method in unit tests must always call to parent::setUp().
(#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
(#227) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#227) Only one argument is allowed per line in a multi-line function call
(#227) Closing parenthesis of a multi-line function call must be on a line by itself
(#260) Incorrect spacing between argument "$user" and equals sign; expected 1 but found 0
(#260) Incorrect spacing between default value and equals sign for argument "$user"; expected 1 but found 0
(#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.
(#30) Opening brace must not be followed by a blank line
(#45) The setUp() method in unit tests must always call to parent::setUp().
(#59) Opening parenthesis of a multi-line function call must be the last content on the line
(#59) Only one argument is allowed per line in a multi-line function call
(#60) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#60) Closing parenthesis of a multi-line function call must be on a line by itself
(#65) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#79) Opening parenthesis of a multi-line function call must be the last content on the line
(#80) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#80) Closing parenthesis of a multi-line function call must be on a line by itself
(#83) Opening parenthesis of a multi-line function call must be the last content on the line
(#84) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#84) Closing parenthesis of a multi-line function call must be on a line by itself
(#87) Opening parenthesis of a multi-line function call must be the last content on the line
(#88) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#88) Closing parenthesis of a multi-line function call must be on a line by itself
(#107) Opening parenthesis of a multi-line function call must be the last content on the line
(#108) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#108) Closing parenthesis of a multi-line function call must be on a line by itself
(#143) Test method test_move_studentquiz_question() is missing any coverage information, own or at class level
(#171) Opening parenthesis of a multi-line function call must be the last content on the line
(#171) Only one argument is allowed per line in a multi-line function call
(#172) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#172) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/tests/utils_test.php
(#27) Unit test utils_test should be declared as final.
(#27) Opening brace must not be followed by a blank line
(#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.
(#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.
(#152) Opening parenthesis of a multi-line function call must be the last content on the line
(#152) Only one argument is allowed per line in a multi-line function call
(#153) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#153) Closing parenthesis of a multi-line function call must be on a line by itself
(#175) The closing brace for the class must go on the next line after the body
mod/studentquiz/tests/viewlib_test.php
(#32) Unit test viewlib_test should be declared as final.
(#44) The setUp() method in unit tests must always call to parent::setUp().
(#50) Short array syntax must be used to define arrays
(#54) Space found before comma in argument list
(#54) Expected no space between "'studentquiz'" and the comma. Found: a new line
(#54) Short array syntax must be used to define arrays
(#54) Expected 1 space after comma in argument list; 2 found
(#54) Expected 1 space between the comma and "array". Found: 2 spaces
(#54) Short array syntax must be used to define arrays
(#64) Opening parenthesis of a multi-line function call must be the last content on the line
(#64) Only one argument is allowed per line in a multi-line function call
(#64) Only one argument is allowed per line in a multi-line function call
(#65) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#65) Only one argument is allowed per line in a multi-line function call
(#65) Only one argument is allowed per line in a multi-line function call
(#65) Closing parenthesis of a multi-line function call must be on a line by itself
(#72) Test method test_has_question_ids() is missing a return type
(#83) Test method test_show_questionbank() is missing a return type
(#85) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#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
(#132) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#143) Short array syntax must be used to define arrays
mod/studentquiz/view.php
(#69) Opening parenthesis of a multi-line function call must be the last content on the line
(#71) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#71) Closing parenthesis of a multi-line function call must be on a line by itself
(#75) Opening parenthesis of a multi-line function call must be the last content on the line
(#75) Short array syntax must be used to define arrays
(#76) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#77) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#77) Only one argument is allowed per line in a multi-line function call
(#77) Closing parenthesis of a multi-line function call must be on a line by itself
(#81) Opening parenthesis of a multi-line function call must be the last content on the line
(#83) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#83) Only one argument is allowed per line in a multi-line function call
(#83) Closing parenthesis of a multi-line function call must be on a line by itself
(#95) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#97) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#100) Opening parenthesis of a multi-line function call must be the last content on the line
(#100) Only one argument is allowed per line in a multi-line function call
(#101) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#101) Only one argument is allowed per line in a multi-line function call
(#101) Closing parenthesis of a multi-line function call must be on a line by itself
(#104) Short array syntax must be used to define arrays
(#104) Opening parenthesis of a multi-line function call must be the last content on the line
(#104) Only one argument is allowed per line in a multi-line function call
(#105) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#105) Closing parenthesis of a multi-line function call must be on a line by itself
mod/studentquiz/viewlib.php
(#131) Long list syntax is not allowed
(#154) Opening parenthesis of a multi-line function call must be the last content on the line
(#155) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#155) Only one argument is allowed per line in a multi-line function call
(#155) Closing parenthesis of a multi-line function call must be on a line by itself
(#173) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#173) Only one argument is allowed per line in a multi-line function call
(#173) Only one argument is allowed per line in a multi-line function call
(#173) Only one argument is allowed per line in a multi-line function call
(#173) Only one argument is allowed per line in a multi-line function call
(#173) Only one argument is allowed per line in a multi-line function call
(#173) Only one argument is allowed per line in a multi-line function call
(#173) Closing parenthesis of a multi-line function call must be on a line by itself
(#176) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#176) Only one argument is allowed per line in a multi-line function call
(#176) Only one argument is allowed per line in a multi-line function call
(#176) Only one argument is allowed per line in a multi-line function call
(#176) Only one argument is allowed per line in a multi-line function call
(#176) Only one argument is allowed per line in a multi-line function call
(#176) Only one argument is allowed per line in a multi-line function call
(#176) Closing parenthesis of a multi-line function call must be on a line by itself
(#179) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#230) Short array syntax must be used to define arrays
(#319) Expected at least 1 space before "."; 0 found
(#339) Each class must be in a file by itself

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

(2 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
(#316) Phpdocs for function studentquiz_question::save_action has incomplete parameters list
mod/studentquiz/reportlib.php
(#174) Phpdocs for function mod_studentquiz_report::__construct has incomplete parameters list

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 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]