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

(7346 errors, 448 warnings)

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

mod/offlinequiz/accessmanager.php
(#20) Incorrect @package tag for file accessmanager.php. Expected mod_offlinequiz, found mod.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#45) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#94) No one-line description found in phpdocs for docblock of function get_rule_classes
(#108) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#108) Multi-line function declarations must define one parameter per line
(#108) The closing parenthesis of a multi-line function declaration must be on a new line
(#121) Short array syntax must be used to define arrays
(#136) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#137) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#137) Multi-line function declarations must define one parameter per line
(#137) Multi-line function declarations must define one parameter per line
(#137) The closing parenthesis of a multi-line function declaration must be on a new line
(#190) Short array syntax must be used to define arrays
(#193) Long list syntax is not allowed
(#209) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#230) Long list syntax is not allowed
(#235) Short array syntax must be used to define arrays
(#259) Long list syntax is not allowed
(#275) No one-line description found in phpdocs for docblock of function get_active_rule_names
(#276) Short array syntax must be used to define arrays
(#307) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#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 12 spaces but found 20
(#329) Closing parenthesis of a multi-line function call must be on a line by itself
(#343) Short array syntax must be used to define arrays
(#356) No one-line description found in phpdocs for docblock of function is_preflight_check_required
(#459) No one-line description found in phpdocs for docblock of function attempt_must_be_in_popup
(#472) No one-line description found in phpdocs for docblock of function get_popup_options
(#473) Short array syntax must be used to define arrays
(#509) Short array syntax must be used to define arrays
(#515) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#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
(#519) Blank line found at end of control structure
(#521) Opening parenthesis of a multi-line function call must be the last content on the line
(#522) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#522) Only one argument is allowed per line in a multi-line function call
(#522) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/addrandom.php
(#21) Incorrect @package tag for file addrandom.php. Expected mod_offlinequiz, found mod.
(#37) Long list syntax is not allowed
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Short array syntax must be used to define arrays
(#75) Opening parenthesis of a multi-line function call must be the last content on the line
(#77) There should be a comma after the last array item in a multi-line array.
(#78) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#78) Closing parenthesis of a multi-line function call must be on a line by itself
(#96) Multi-line function call not indented correctly; expected 0 spaces but found 4
(#96) 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
(#102) Multi-line function call not indented correctly; expected 0 spaces but found 4
(#110) Long list syntax is not allowed
(#114) Blank line found at end of control structure
(#116) Long list syntax is not allowed
(#126) Opening parenthesis of a multi-line function call must be the last content on the line
(#126) Only one argument is allowed per line in a multi-line function call
(#126) Only one argument is allowed per line in a multi-line function call
(#127) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#127) Only one argument is allowed per line in a multi-line function call
(#127) Only one argument is allowed per line in a multi-line function call
(#127) Closing parenthesis of a multi-line function call must be on a line by itself
(#133) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#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 0 spaces but found 4
(#152) Closing parenthesis of a multi-line function call must be on a line by itself
(#154) Expected 1 blank line at end of file; 2 found
mod/offlinequiz/addrandomform.php
(#20) Incorrect @package tag for file addrandomform.php. Expected mod_offlinequiz, found mod.
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#39) Opening brace must not be followed by a blank line
(#41) Missing docblock for function definition
(#49) Opening parenthesis of a multi-line function call must be the last content on the line
(#49) Only one argument is allowed per line in a multi-line function call
(#50) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#50) Closing parenthesis of a multi-line function call must be on a line by itself
(#52) Opening parenthesis of a multi-line function call must be the last content on the line
(#52) Only one argument is allowed per line in a multi-line function call
(#52) Only one argument is allowed per line in a multi-line function call
(#53) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#53) Short array syntax must be used to define arrays
(#53) Closing parenthesis of a multi-line function call must be on a line by itself
(#60) Opening parenthesis of a multi-line function call must be the last content on the line
(#60) Only one argument is allowed per line in a multi-line function call
(#60) Only one argument is allowed per line in a multi-line function call
(#61) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#61) Closing parenthesis of a multi-line function call must be on a line by itself
(#79) Missing docblock for function validation
(#95) Short array syntax must be used to define arrays
mod/offlinequiz/backup/moodle2/backup_offlinequiz_activity_task.class.php
(#20) Incorrect @package tag for file backup_offlinequiz_activity_task.class.php. Expected mod_offlinequiz, found mod.
(#34) Missing docblock for class backup_offlinequiz_activity_task
(#34) Opening brace must not be followed by a blank line
mod/offlinequiz/backup/moodle2/backup_offlinequiz_stepslib.php
(#20) Incorrect @package tag for file backup_offlinequiz_stepslib.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Missing docblock for class backup_offlinequiz_activity_structure_step
(#32) Opening brace must not be followed by a blank line
(#34) Missing docblock for function define_structure
(#40) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#47) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#51) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#69) Expected no space between "'filename'" and the comma. Found: 1 space
(#74) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#111) Whitespace found at end of line
(#113) Whitespace found at end of line
(#141) Short array syntax must be used to define arrays
(#143) Opening parenthesis of a multi-line function call must be the last content on the line
(#144) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#144) Short array syntax must be used to define arrays
(#144) Closing parenthesis of a multi-line function call must be on a line by itself
(#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) Short array syntax must be used to define arrays
(#147) Closing parenthesis of a multi-line function call must be on a line by itself
(#149) Opening parenthesis of a multi-line function call must be the last content on the line
(#150) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#150) Short array syntax must be used to define arrays
(#150) Closing parenthesis of a multi-line function call must be on a line by itself
(#153) Blank line found at start of control structure
(#155) 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 12 spaces but found 20
(#160) Short array syntax must be used to define arrays
(#160) Closing parenthesis of a multi-line function call must be on a line by itself
(#162) Opening parenthesis of a multi-line function call must be the last content on the line
(#163) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#163) Short array syntax must be used to define arrays
(#163) 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 12 spaces but found 20
(#166) Short array syntax must be used to define arrays
(#166) Closing parenthesis of a multi-line function call must be on a line by itself
(#168) Opening parenthesis of a multi-line function call must be the last content on the line
(#169) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#169) Short array syntax must be used to define arrays
(#169) Closing parenthesis of a multi-line function call must be on a line by itself
(#172) Opening parenthesis of a multi-line function call must be the last content on the line
(#173) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#173) Short array syntax must be used to define arrays
(#173) Closing parenthesis of a multi-line function call must be on a line by itself
(#175) Opening parenthesis of a multi-line function call must be the last content on the line
(#176) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#176) Short array syntax must be used to define arrays
(#176) Closing parenthesis of a multi-line function call must be on a line by itself
(#178) Opening parenthesis of a multi-line function call must be the last content on the line
(#179) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#179) Short array syntax must be used to define arrays
(#179) Closing parenthesis of a multi-line function call must be on a line by itself
(#180) Blank line found at end of control structure
(#185) Expected "if (...) {\n"; found "if(...) {\n"
(#185) Expected 1 space after IF keyword; 0 found
mod/offlinequiz/backup/moodle2/restore_offlinequiz_activity_task.class.php
(#20) Incorrect @package tag for file restore_offlinequiz_activity_task.class.php. Expected mod_offlinequiz, found mod.
(#42) Opening brace must not be followed by a blank line
(#64) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#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 16
(#80) Only one argument is allowed per line in a multi-line function call
(#80) 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 8 spaces but found 16
(#82) Only one argument is allowed per line in a multi-line function call
(#82) 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 16
(#84) Only one argument is allowed per line in a multi-line function call
(#84) Closing parenthesis of a multi-line function call must be on a line by itself
(#88) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#97) Short array syntax must be used to define arrays
(#99) Opening parenthesis of a multi-line function call must be the last content on the line
(#99) Only one argument is allowed per line in a multi-line function call
(#100) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#100) Only one argument is allowed per line in a multi-line function call
(#100) Closing parenthesis of a multi-line function call must be on a line by itself
(#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 8 spaces but found 16
(#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
(#103) Opening parenthesis of a multi-line function call must be the last content on the line
(#103) Only one argument is allowed per line in a multi-line function call
(#104) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#104) Only one argument is allowed per line in a multi-line function call
(#104) 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
(#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 16
(#106) Only one argument is allowed per line in a multi-line function call
(#106) 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
(#107) Only one argument is allowed per line in a multi-line function call
(#108) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#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
(#109) Opening parenthesis of a multi-line function call must be the last content on the line
(#109) Only one argument is allowed per line in a multi-line function call
(#110) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#110) Only one argument is allowed per line in a multi-line function call
(#110) Closing parenthesis of a multi-line function call must be on a line by itself
(#111) Opening parenthesis of a multi-line function call must be the last content on the line
(#111) Only one argument is allowed per line in a multi-line function call
(#112) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#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
(#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 8 spaces but found 16
(#114) Only one argument is allowed per line in a multi-line function call
(#114) Closing parenthesis of a multi-line function call must be on a line by itself
(#115) Opening parenthesis of a multi-line function call must be the last content on the line
(#115) Only one argument is allowed per line in a multi-line function call
(#116) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#116) Only one argument is allowed per line in a multi-line function call
(#116) 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
(#117) Only one argument is allowed per line in a multi-line function call
(#118) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#118) Only one argument is allowed per line in a multi-line function call
(#118) Closing parenthesis of a multi-line function call must be on a line by itself
(#119) Opening parenthesis of a multi-line function call must be the last content on the line
(#119) Only one argument is allowed per line in a multi-line function call
(#120) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#120) Only one argument is allowed per line in a multi-line function call
(#120) Closing parenthesis of a multi-line function call must be on a line by itself
(#121) Opening parenthesis of a multi-line function call must be the last content on the line
(#121) Only one argument is allowed per line in a multi-line function call
(#122) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#122) Only one argument is allowed per line in a multi-line function call
(#122) Closing parenthesis of a multi-line function call must be on a line by itself
(#123) Opening parenthesis of a multi-line function call must be the last content on the line
(#123) Only one argument is allowed per line in a multi-line function call
(#124) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#124) Only one argument is allowed per line in a multi-line function call
(#124) Closing parenthesis of a multi-line function call must be on a line by itself
(#125) Opening parenthesis of a multi-line function call must be the last content on the line
(#125) Only one argument is allowed per line in a multi-line function call
(#126) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#126) Only one argument is allowed per line in a multi-line function call
(#126) Closing parenthesis of a multi-line function call must be on a line by itself
(#133) Opening parenthesis of a multi-line function call must be the last content on the line
(#133) Only one argument is allowed per line in a multi-line function call
(#134) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#134) Only one argument is allowed per line in a multi-line function call
(#135) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#135) Only one argument is allowed per line in a multi-line function call
(#135) Only one argument is allowed per line in a multi-line function call
(#135) Closing parenthesis of a multi-line function call must be on a line by itself
(#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 12 spaces but found 16
(#138) Only one argument is allowed per line in a multi-line function call
(#139) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#139) Only one argument is allowed per line in a multi-line function call
(#139) Only one argument is allowed per line in a multi-line function call
(#139) 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
(#140) Only one argument is allowed per line in a multi-line function call
(#141) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#141) Only one argument is allowed per line in a multi-line function call
(#141) Closing parenthesis of a multi-line function call must be on a line by itself
(#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) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#145) Only one argument is allowed per line in a multi-line function call
(#146) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#146) Only one argument is allowed per line in a multi-line function call
(#146) Only one argument is allowed per line in a multi-line function call
(#146) Closing parenthesis of a multi-line function call must be on a line by itself
(#147) Opening parenthesis of a multi-line function call must be the last content on the line
(#147) Only one argument is allowed per line in a multi-line function call
(#148) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#148) Only one argument is allowed per line in a multi-line function call
(#148) Closing parenthesis of a multi-line function call must be on a line by itself
(#150) Opening parenthesis of a multi-line function call must be the last content on the line
(#150) Only one argument is allowed per line in a multi-line function call
(#151) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#151) Only one argument is allowed per line in a multi-line function call
(#152) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#152) Only one argument is allowed per line in a multi-line function call
(#152) Only one argument is allowed per line in a multi-line function call
(#152) 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
(#153) Only one argument is allowed per line in a multi-line function call
(#154) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#154) Only one argument is allowed per line in a multi-line function call
(#154) 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
(#157) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#157) Only one argument is allowed per line in a multi-line function call
(#158) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#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
(#158) Closing parenthesis of a multi-line function call must be on a line by itself
(#159) Opening parenthesis of a multi-line function call must be the last content on the line
(#159) Only one argument is allowed per line in a multi-line function call
(#160) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#160) Only one argument is allowed per line in a multi-line function call
(#160) Closing parenthesis of a multi-line function call must be on a line by itself
(#162) Opening parenthesis of a multi-line function call must be the last content on the line
(#162) Only one argument is allowed per line in a multi-line function call
(#163) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#163) Only one argument is allowed per line in a multi-line function call
(#164) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#164) Only one argument is allowed per line in a multi-line function call
(#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
(#165) Opening parenthesis of a multi-line function call must be the last content on the line
(#165) Only one argument is allowed per line in a multi-line function call
(#166) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#166) Only one argument is allowed per line in a multi-line function call
(#167) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#167) Only one argument is allowed per line in a multi-line function call
(#167) Closing parenthesis of a multi-line function call must be on a line by itself
(#183) Short array syntax must be used to define arrays
mod/offlinequiz/backup/moodle2/restore_offlinequiz_stepslib.php
(#20) Incorrect @package tag for file restore_offlinequiz_stepslib.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Opening brace must not be followed by a blank line
(#39) Missing member variable doc comment
(#40) Missing member variable doc comment
(#42) Missing docblock for function define_structure
(#44) Short array syntax must be used to define arrays
(#50) Opening parenthesis of a multi-line function call must be the last content on the line
(#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
(#55) Opening parenthesis of a multi-line function call must be the last content on the line
(#56) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#56) 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 13
(#63) Closing parenthesis of a multi-line function call must be on a line by itself
(#73) Line exceeds 132 characters; contains 135 characters
(#74) Line exceeds 132 characters; contains 135 characters
(#75) Whitespace found at end of line
(#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 12 spaces but found 16
(#78) Closing parenthesis of a multi-line function call must be on a line by itself
(#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 12 spaces but found 16
(#80) 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 12 spaces but found 16
(#82) 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 12 spaces but found 16
(#84) Closing parenthesis of a multi-line function call must be on a line by itself
(#96) Missing docblock for function process_group_question_usage
(#100) Missing docblock for function process_group_question_attempt
(#104) Missing docblock for function process_group_question_attempt_step
(#108) Short array syntax must be used to define arrays
(#108) Line exceeds 132 characters; contains 138 characters
(#109) Short array syntax must be used to define arrays
(#109) Line exceeds 132 characters; contains 138 characters
(#111) 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 16 spaces but found 32
(#113) Multi-line function call not indented correctly; expected 16 spaces but found 32
(#113) Short array syntax must be used to define arrays
(#114) Multi-line function call not indented correctly; expected 12 spaces but found 28
(#116) Short array syntax must be used to define arrays
(#128) Whitespace found at end of line
(#137) Whitespace found at end of line
(#140) Whitespace found at end of line
(#143) Whitespace found at end of line
(#145) Whitespace found at end of line
(#149) Whitespace found at end of line
(#153) Whitespace found at end of line
(#155) Whitespace found at end of line
(#182) Missing docblock for function process_result_question_usage
(#186) Missing docblock for function process_result_question_attempt
(#190) Missing docblock for function process_result_question_attempt_step
(#195) Missing docblock for function process_offlinequiz
(#222) Missing docblock for function process_offlinequiz_group
(#230) Blank line found at start of control structure
(#242) Missing docblock for function process_offlinequiz_groupquestion
(#271) Short array syntax must be used to define arrays
(#276) Blank line found at end of control structure
(#276) Whitespace found at end of line
(#281) Missing docblock for function process_offlinequiz_scannedpage
(#295) Missing docblock for function process_offlinequiz_choice
(#307) Missing docblock for function process_offlinequiz_corner
(#319) Missing docblock for function process_offlinequiz_scannedppage
(#332) Missing docblock for function process_offlinequiz_pchoice
(#344) Missing docblock for function process_offlinequiz_plist
(#357) Missing docblock for function process_offlinequiz_participant
(#369) Missing docblock for function process_offlinequiz_result
(#390) Missing docblock for function inform_new_usage_id
(#420) Missing docblock for function after_execute
(#425) Expected "if (...) {\n"; found "if(...) {\n"
(#425) Expected 1 space after IF keyword; 0 found
mod/offlinequiz/classes/completion/custom_completion.php
(#49) Opening brace must not be followed by a blank line
(#66) There should be a comma after the last array item in a multi-line array.
(#102) There should be a comma after the last array item in a multi-line array.
(#113) There should be a comma after the last array item in a multi-line array.
(#127) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/classes/constants/offlinequiz_page.php
(#20) Incorrect @package tag for file offlinequiz_page.php. Expected mod_offlinequiz, found mod.
(#29) Missing docblock for class offlinequiz_page
(#30) Missing docblock for constant offlinequiz_page::CREATEQUIZ_CREATEPDFS
(#32) Expected 1 newline at end of file; 0 found
(#32) The closing brace for the class must go on the next line after the body
mod/offlinequiz/classes/correct/offlinequiz_partlist_table.php
(#21) Incorrect @package tag for file offlinequiz_partlist_table.php. Expected mod_offlinequiz, found mod.
(#30) Import statements must not begin with a leading backslash
(#31) Import statements must not begin with a leading backslash
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Missing docblock for class offlinequiz_partlist_table
(#35) Opening brace must not be followed by a blank line
(#37) Missing docblock for function wrap_html_finish
(#43) Expected at least 1 space before "."; 0 found
(#46) Short array syntax must be used to define arrays
(#48) Opening parenthesis of a multi-line function call must be the last content on the line
(#48) Only one argument is allowed per line in a multi-line function call
(#48) Only one argument is allowed per line in a multi-line function call
(#48) Only one argument is allowed per line in a multi-line function call
(#48) Short array syntax must be used to define arrays
(#49) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#49) Short array syntax must be used to define arrays
(#49) Closing parenthesis of a multi-line function call must be on a line by itself
(#52) Expected at least 1 space before "."; 0 found
(#52) Expected at least 1 space after "."; 0 found
(#52) Expected at least 1 space before "."; 0 found
(#52) Expected at least 1 space after "."; 0 found
(#54) Expected at least 1 space before "."; 0 found
(#54) Expected at least 1 space after "."; 0 found
(#54) Expected at least 1 space before "."; 0 found
(#54) Expected at least 1 space after "."; 0 found
(#61) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#63) Missing docblock for function print_one_initials_bar
(#64) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
mod/offlinequiz/classes/correct/offlinequiz_selectall_table.php
(#21) Incorrect @package tag for file offlinequiz_selectall_table.php. Expected mod_offlinequiz, found mod.
(#33) Expected at least 1 space before "."; 0 found
(#33) Expected at least 1 space after "."; 0 found
(#35) Missing docblock for class offlinequiz_selectall_table
(#35) Opening brace must not be followed by a blank line
(#37) Missing member variable doc comment
(#38) Missing member variable doc comment
(#41) Missing docblock for function __construct
(#47) Missing docblock for function wrap_html_start
(#50) Expected at least 1 space before "."; 0 found
(#55) Expected at least 1 space after "."; 0 found
(#61) Missing docblock for function wrap_html_finish
(#67) Expected at least 1 space before "."; 0 found
(#70) Expected at least 1 space before "."; 0 found
(#70) Expected at least 1 space after "."; 0 found
(#78) Closing brace must not be followed by any comment or statement on the same line
mod/offlinequiz/classes/default_report.php
(#30) Incorrect @package tag for file default_report.php. Expected mod_offlinequiz, found mod.
(#40) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Missing docblock for class default_report
(#43) Missing docblock for constant default_report::NO_GROUPS_ALLOWED
(#58) Missing docblock for function get_report_title
(#103) Whitespace found at end of line
mod/offlinequiz/classes/event/attempt_deleted.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) Opening brace must not be followed by a blank line
(#74) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/attempt_reviewed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Opening brace must not be followed by a blank line
(#80) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/attempt_submitted.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Opening brace must not be followed by a blank line
(#80) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/attempt_viewed.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#45) Opening brace must not be followed by a blank line
(#81) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/course_module_instance_list_viewed.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/classes/event/course_module_viewed.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Opening brace must not be followed by a blank line
mod/offlinequiz/classes/event/docs_created.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#48) Opening brace must not be followed by a blank line
(#85) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/docs_deleted.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#48) Opening brace must not be followed by a blank line
(#85) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/edit_page_viewed.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#45) Opening brace must not be followed by a blank line
(#80) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/fix_group_question_entries.php
(#1) Moodle boilerplate not found
(#5) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#8) Import statements must not begin with a leading backslash
(#10) Missing @copyright tag
(#10) Missing @license tag
(#10) Missing docblock for class fix_group_question_entries
(#10) Opening brace must not be followed by a blank line
(#11) Whitespace found at end of line
(#22) Must use "self::" for local static member reference
(#25) Missing docblock for function on_module_restored
(#27) Expected "if (...) {\n"; found "if(...) {\n"
(#27) Expected 1 space after IF keyword; 0 found
(#30) Must use "self::" for local static member reference
(#34) Missing docblock for function fix_single_offlinequiz
(#35) Commas (,) must be followed by white space.
(#35) Expected 1 space between the comma and "$CFG". Found: no spaces
(#36) Expected at least 1 space before "."; 0 found
(#36) Expected at least 1 space after "."; 0 found
(#57) Expected "foreach (...) {\n"; found "foreach (...) {\n"
(#57) Expected 1 space after closing parenthesis; found 2
(#58) Line exceeds 132 characters; contains 156 characters
(#61) Expected 1 newline at end of file; 0 found
mod/offlinequiz/classes/event/participant_manually_marked.php
(#20) Incorrect @package tag for file participant_manually_marked.php. Expected mod_offlinequiz, found core.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Opening brace must not be followed by a blank line
(#80) Short array syntax must be used to define arrays
(#101) Function closing brace must go on the next line following the body; found 1 blank lines before brace
mod/offlinequiz/classes/event/question_manually_graded.php
(#20) Incorrect @package tag for file question_manually_graded.php. Expected mod_offlinequiz, found core.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#46) Opening brace must not be followed by a blank line
(#82) Short array syntax must be used to define arrays
(#107) Function closing brace must go on the next line following the body; found 1 blank lines before brace
mod/offlinequiz/classes/event/report_viewed.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#46) Opening brace must not be followed by a blank line
(#83) Short array syntax must be used to define arrays
mod/offlinequiz/classes/event/results_regraded.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Opening brace must not be followed by a blank line
(#80) Short array syntax must be used to define arrays
mod/offlinequiz/classes/external/add_random_questions.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#42) Opening brace must not be followed by a blank line
(#50) Space before opening parenthesis of function call prohibited
(#57) Whitespace found at end of line within string
(#139) There should be a comma after the last array item in a multi-line array.
(#162) This comment is 66% valid code; is this commented out code?
(#178) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/classes/external/submit_question_version.php
(#42) Opening brace must not be followed by a blank line
(#50) Space before opening parenthesis of function call prohibited
(#54) There should be a comma after the last array item in a multi-line array.
(#72) There should be a comma after the last array item in a multi-line array.
(#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
(#80) Opening parenthesis of a multi-line function call must be the last content on the line
(#81) Multi-line function call not indented correctly; expected 12 spaces but found 48
(#82) Multi-line function call not indented correctly; expected 12 spaces but found 48
(#83) Multi-line function call not indented correctly; expected 8 spaces but found 44
(#86) Long list syntax is not allowed
(#97) Opening parenthesis of a multi-line function call must be the last content on the line
(#98) Multi-line function call not indented correctly; expected 16 spaces but found 44
(#99) Multi-line function call not indented correctly; expected 16 spaces but found 44
(#100) Multi-line function call not indented correctly; expected 12 spaces but found 44
(#113) Blank line found at start of control structure
(#130) No space found after comma in argument list
(#130) Commas (,) must be followed by white space.
(#130) Expected 1 space between the comma and "$context". Found: no spaces
(#151) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/classes/form/add_random_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#31) Incorrect @package tag for class add_random_form. Expected mod_offlinequiz, found mod_quiz.
(#37) Opening brace must not be followed by a blank line
(#60) Opening parenthesis of a multi-line function call must be the last content on the line
(#60) Only one argument is allowed per line in a multi-line function call
(#61) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#61) Closing parenthesis of a multi-line function call must be on a line by itself
(#63) Opening parenthesis of a multi-line function call must be the last content on the line
(#63) 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
(#64) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#64) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#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) 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 12 spaces but found 16
(#103) 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
(#108) Only one argument is allowed per line in a multi-line function call
(#108) Only one argument is allowed per line in a multi-line function call
(#109) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#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 12 spaces but found 16
(#113) Closing parenthesis of a multi-line function call must be on a line by itself
(#132) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/classes/form/randomquestion_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#20) Incorrect @package tag for file randomquestion_form.php. Expected mod_offlinequiz, found mod_quiz.
(#29) Expected at least 1 space before "."; 0 found
(#29) Expected at least 1 space after "."; 0 found
(#38) Opening brace must not be followed by a blank line
(#52) Opening parenthesis of a multi-line function call must be the last content on the line
(#52) Only one argument is allowed per line in a multi-line function call
(#52) Only one argument is allowed per line in a multi-line function call
(#53) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#53) Closing parenthesis of a multi-line function call must be on a line by itself
(#85) Missing docblock for function set_data
mod/offlinequiz/classes/local/structure/slot_random.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#24) Incorrect @package tag for class slot_random. Expected mod_offlinequiz, found mod_quiz.
(#29) Opening brace must not be followed by a blank line
(#163) Opening parenthesis of a multi-line function call must be the last content on the line
(#163) Only one argument is allowed per line in a multi-line function call
(#164) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#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
(#227) There should be a comma after the last array item in a multi-line array.
(#228) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/classes/output/action_api.php
(#20) Incorrect @package tag for file action_api.php. Expected mod_offlinequiz, found mod.
(#29) Missing docblock for class action_api
(#30) Missing docblock for function insert_all_actions
(#30) Expected 0 spaces between argument "$sourcepage" and comma; 1 found
(#30) Expected no space between "$sourcepage" and the comma. Found: 1 space
(#41) Whitespace found at end of line
(#42) Expected 1 newline at end of file; 0 found
mod/offlinequiz/classes/output/edit_renderer.php
(#20) Incorrect @package tag for file edit_renderer.php. Expected mod_offlinequiz, found mod.
(#34) Import statements must not begin with a leading backslash
(#35) Import statements must not begin with a leading backslash
(#36) Import statements must not begin with a leading backslash
(#37) Import statements must not begin with a leading backslash
(#45) Opening brace must not be followed by a blank line
(#57) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#58) Multi-line function declaration not indented correctly; expected 8 spaces but found 32
(#59) Multi-line function declaration not indented correctly; expected 8 spaces but found 32
(#60) Multi-line function declaration not indented correctly; expected 8 spaces but found 32
(#61) Multi-line function declaration not indented correctly; expected 8 spaces but found 32
(#62) Multi-line function declaration not indented correctly; expected 8 spaces but found 32
(#63) Multi-line function declaration not indented correctly; expected 4 spaces but found 28
(#72) Opening parenthesis of a multi-line function call must be the last content on the line
(#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
(#75) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#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
(#85) No space found after comma in argument list
(#85) Commas (,) must be followed by white space.
(#85) Expected 1 space between the comma and "$templatecontext". Found: no spaces
(#89) Expected 1 space after comma in argument list; 2 found
(#89) Expected 1 space between the comma and "$pageurl". Found: 2 spaces
(#91) This comment is 53% valid code; is this commented out code?
(#92) No space found before comment text; expected "// $output .= $this->remove_selected_button($structure, $offlinequiz, $pageurl);" but found "//$output .= $this->remove_selected_button($structure, $offlinequiz, $pageurl);"
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) No space found before comment text; expected "// $output .= $this->select_all_links($structure);" but found "//$output .= $this->select_all_links($structure);"
(#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
(#106) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#106) Only one argument is allowed per line in a multi-line function call
(#106) Only one argument is allowed per line in a multi-line function call
(#106) 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
(#117) Opening parenthesis of a multi-line function call must be the last content on the line
(#117) Only one argument is allowed per line in a multi-line function call
(#118) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#118) Only one argument is allowed per line in a multi-line function call
(#118) Only one argument is allowed per line in a multi-line function call
(#118) Only one argument is allowed per line in a multi-line function call
(#118) Closing parenthesis of a multi-line function call must be on a line by itself
(#143) Missing docblock for function start_add_to_group_form_values
(#145) Expected 1 space after "="; 2 found
(#149) Missing docblock for function add_to_group_button
(#156) There should be a comma after the last array item in a multi-line array.
(#160) Expected 1 space after "=>"; 2 found
(#167) Missing docblock for function end_add_to_group_form
(#173) Missing docblock for function start_grading_form
(#182) Missing docblock for function end_grading_form
(#209) Expected 1 space after "=>"; 2 found
(#223) Whitespace found at end of line
(#232) Expected "if (...) {\n"; found "if(...) {\n"
(#232) Expected 1 space after IF keyword; 0 found
(#234) Whitespace found at end of line
(#248) Long list syntax is not allowed
(#276) Short array syntax must be used to define arrays
(#278) Short array syntax must be used to define arrays
(#285) 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.
(#297) Opening parenthesis of a multi-line function call must be the last content on the line
(#298) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#298) Only one argument is allowed per line in a multi-line function call
(#298) Closing parenthesis of a multi-line function call must be on a line by itself
(#309) Short array syntax must be used to define arrays
(#318) Opening parenthesis of a multi-line function call must be the last content on the line
(#318) Only one argument is allowed per line in a multi-line function call
(#319) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#319) Only one argument is allowed per line in a multi-line function call
(#319) Closing parenthesis of a multi-line function call must be on a line by itself
(#321) Short array syntax must be used to define arrays
(#325) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#328) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#328) Short array syntax must be used to define arrays
(#330) Short array syntax must be used to define arrays
(#334) Missing docblock for function select_all_links
(#338) Short array syntax must be used to define arrays
(#344) Short array syntax must be used to define arrays
(#346) There should be a comma after the last array item in a multi-line array.
(#348) Short array syntax must be used to define arrays
(#350) There should be a comma after the last array item in a multi-line array.
(#352) Opening parenthesis of a multi-line function call must be the last content on the line
(#353) Multi-line function call not indented correctly; expected 16 spaces but found 12
(#353) Opening parenthesis of a multi-line function call must be the last content on the line
(#354) Multi-line function call not indented correctly; expected 16 spaces but found 28
(#356) Multi-line function call not indented correctly; expected 12 spaces but found 28
(#356) Short array syntax must be used to define arrays
(#356) Closing parenthesis of a multi-line function call must be on a line by itself
(#357) Closing parenthesis of a multi-line function call must be on a line by itself
(#362) Missing docblock for function remove_selected_button
(#363) Short array syntax must be used to define arrays
(#365) There should be a comma after the last array item in a multi-line array.
(#368) Short array syntax must be used to define arrays
(#374) There should be a comma after the last array item in a multi-line array.
(#381) Opening parenthesis of a multi-line function call must be the last content on the line
(#382) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#382) Only one argument is allowed per line in a multi-line function call
(#382) Closing parenthesis of a multi-line function call must be on a line by itself
(#384) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#402) Short array syntax must be used to define arrays
(#424) Short array syntax must be used to define arrays
(#424) Expected at least 1 space before "."; 0 found
(#424) Expected at least 1 space after "."; 0 found
(#425) Expected at least 1 space before "."; 0 found
(#425) Expected at least 1 space after "."; 0 found
(#482) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#482) Multi-line function declarations must define one parameter per line
(#483) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#483) Multi-line function declarations must define one parameter per line
(#483) Multi-line function declarations must define one parameter per line
(#483) The closing parenthesis of a multi-line function declaration must be on a new line
(#490) Short array syntax must be used to define arrays
(#511) Opening parenthesis of a multi-line function call must be the last content on the line
(#512) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#512) Only one argument is allowed per line in a multi-line function call
(#512) Closing parenthesis of a multi-line function call must be on a line by itself
(#520) Opening parenthesis of a multi-line function call must be the last content on the line
(#520) Only one argument is allowed per line in a multi-line function call
(#521) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#521) Short array syntax must be used to define arrays
(#521) Expected at least 1 space after "."; 0 found
(#521) Closing parenthesis of a multi-line function call must be on a line by itself
(#543) Opening parenthesis of a multi-line function call must be the last content on the line
(#543) Only one argument is allowed per line in a multi-line function call
(#543) Space found before comma in argument list
(#543) Expected no space between "$questionhtml" and the comma. Found: 1 space
(#544) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#544) Short array syntax must be used to define arrays
(#544) Closing parenthesis of a multi-line function call must be on a line by itself
(#571) Opening parenthesis of a multi-line function call must be the last content on the line
(#571) Only one argument is allowed per line in a multi-line function call
(#571) Opening parenthesis of a multi-line function call must be the last content on the line
(#572) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#572) Only one argument is allowed per line in a multi-line function call
(#572) Only one argument is allowed per line in a multi-line function call
(#572) Only one argument is allowed per line in a multi-line function call
(#572) Closing parenthesis of a multi-line function call must be on a line by itself
(#573) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#573) Short array syntax must be used to define arrays
(#573) Closing parenthesis of a multi-line function call must be on a line by itself
(#575) Opening parenthesis of a multi-line function call must be the last content on the line
(#576) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#576) Only one argument is allowed per line in a multi-line function call
(#576) Only one argument is allowed per line in a multi-line function call
(#576) Closing parenthesis of a multi-line function call must be on a line by itself
(#578) Opening parenthesis of a multi-line function call must be the last content on the line
(#578) Only one argument is allowed per line in a multi-line function call
(#579) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#579) Short array syntax must be used to define arrays
(#579) Closing parenthesis of a multi-line function call must be on a line by itself
(#594) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#594) Multi-line function declarations must define one parameter per line
(#594) Multi-line function declarations must define one parameter per line
(#595) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#595) Multi-line function declarations must define one parameter per line
(#595) The closing parenthesis of a multi-line function declaration must be on a new line
(#602) Short array syntax must be used to define arrays
(#635) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#635) Multi-line function declarations must define one parameter per line
(#636) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#636) Multi-line function declarations must define one parameter per line
(#636) The closing parenthesis of a multi-line function declaration must be on a new line
(#656) Short array syntax must be used to define arrays
(#657) Only one argument is allowed per line in a multi-line function call
(#657) Short array syntax must be used to define arrays
(#661) Short array syntax must be used to define arrays
(#667) Short array syntax must be used to define arrays
(#672) Opening parenthesis of a multi-line function call must be the last content on the line
(#673) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#673) Closing parenthesis of a multi-line function call must be on a line by itself
(#678) There should be a comma after the last array item in a multi-line array.
(#681) Inline comments must start with a capital letter, digit or 3-dots sequence
(#681) This comment is 67% valid code; is this commented out code?
(#681) No space found before comment text; expected "// $url = new \moodle_url('/mod/offlinequiz/addrandom.php', $params);" but found "//$url = new \moodle_url('/mod/offlinequiz/addrandom.php', $params);"
(#704) Opening parenthesis of a multi-line function call must be the last content on the line
(#704) Only one argument is allowed per line in a multi-line function call
(#705) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#705) Short array syntax must be used to define arrays
(#706) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#706) Only one argument is allowed per line in a multi-line function call
(#706) Short array syntax must be used to define arrays
(#706) Closing parenthesis of a multi-line function call must be on a line by itself
(#707) Opening parenthesis of a multi-line function call must be the last content on the line
(#707) Only one argument is allowed per line in a multi-line function call
(#708) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#708) Short array syntax must be used to define arrays
(#708) Closing parenthesis of a multi-line function call must be on a line by itself
(#709) Opening parenthesis of a multi-line function call must be the last content on the line
(#709) Only one argument is allowed per line in a multi-line function call
(#710) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#710) Short array syntax must be used to define arrays
(#710) Closing parenthesis of a multi-line function call must be on a line by itself
(#711) Opening parenthesis of a multi-line function call must be the last content on the line
(#711) Only one argument is allowed per line in a multi-line function call
(#712) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#712) Short array syntax must be used to define arrays
(#712) Closing parenthesis of a multi-line function call must be on a line by itself
(#714) Opening parenthesis of a multi-line function call must be the last content on the line
(#714) Only one argument is allowed per line in a multi-line function call
(#715) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#715) Short array syntax must be used to define arrays
(#716) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#716) Closing parenthesis of a multi-line function call must be on a line by itself
(#751) There should be a comma after the last array item in a multi-line array.
(#797) There should be a comma after the last array item in a multi-line array.
(#816) Missing docblock for function question_checkbox
(#817) Expected at least 1 space before "."; 0 found
(#831) Opening parenthesis of a multi-line function call must be the last content on the line
(#832) Short array syntax must be used to define arrays
(#833) Short array syntax must be used to define arrays
(#847) Short array syntax must be used to define arrays
(#871) Opening parenthesis of a multi-line function call must be the last content on the line
(#871) Only one argument is allowed per line in a multi-line function call
(#871) Only one argument is allowed per line in a multi-line function call
(#872) Multi-line function call not indented correctly; expected 8 spaces but found 40
(#872) Closing parenthesis of a multi-line function call must be on a line by itself
(#874) Opening parenthesis of a multi-line function call must be the last content on the line
(#874) Only one argument is allowed per line in a multi-line function call
(#874) Only one argument is allowed per line in a multi-line function call
(#875) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#875) Short array syntax must be used to define arrays
(#875) Closing parenthesis of a multi-line function call must be on a line by itself
(#886) Short array syntax must be used to define arrays
(#891) Short array syntax must be used to define arrays
(#905) Opening parenthesis of a multi-line function call must be the last content on the line
(#906) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#906) Short array syntax must be used to define arrays
(#911) Multi-line function call not indented correctly; expected 8 spaces but found 22
(#911) Closing parenthesis of a multi-line function call must be on a line by itself
(#928) Opening parenthesis of a multi-line function call must be the last content on the line
(#928) Short array syntax must be used to define arrays
(#930) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#930) Closing parenthesis of a multi-line function call must be on a line by itself
(#947) Short array syntax must be used to define arrays
(#956) Short array syntax must be used to define arrays
(#959) Short array syntax must be used to define arrays
(#965) Short array syntax must be used to define arrays
(#966) Opening parenthesis of a multi-line function call must be the last content on the line
(#966) Only one argument is allowed per line in a multi-line function call
(#967) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#967) Short array syntax must be used to define arrays
(#967) Expected at least 1 space before "."; 0 found
(#967) Expected at least 1 space before "."; 0 found
(#967) Closing parenthesis of a multi-line function call must be on a line by itself
(#983) Short array syntax must be used to define arrays
(#994) Short array syntax must be used to define arrays
(#997) Short array syntax must be used to define arrays
(#1001) Short array syntax must be used to define arrays
(#1005) Opening parenthesis of a multi-line function call must be the last content on the line
(#1006) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1006) Only one argument is allowed per line in a multi-line function call
(#1006) Short array syntax must be used to define arrays
(#1006) Closing parenthesis of a multi-line function call must be on a line by itself
(#1008) 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 12 spaces but found 20
(#1022) Closing parenthesis of a multi-line function call must be on a line by itself
(#1025) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#1025) Short array syntax must be used to define arrays
(#1026) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#1026) Closing parenthesis of a multi-line function call must be on a line by itself
(#1030) Opening parenthesis of a multi-line function call must be the last content on the line
(#1031) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1032) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1032) Short array syntax must be used to define arrays
(#1032) Closing parenthesis of a multi-line function call must be on a line by itself
(#1037) Short array syntax must be used to define arrays
(#1038) Short array syntax must be used to define arrays
(#1064) Short array syntax must be used to define arrays
(#1074) Opening parenthesis of a multi-line function call must be the last content on the line
(#1074) Opening parenthesis of a multi-line function call must be the last content on the line
(#1075) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1075) Short array syntax must be used to define arrays
(#1075) Closing parenthesis of a multi-line function call must be on a line by itself
(#1076) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1076) Closing parenthesis of a multi-line function call must be on a line by itself
(#1086) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#1087) Multi-line function declaration not indented correctly; expected 8 spaces but found 48
(#1088) Multi-line function declaration not indented correctly; expected 8 spaces but found 48
(#1089) Multi-line function declaration not indented correctly; expected 4 spaces but found 44
(#1094) Opening parenthesis of a multi-line function call must be the last content on the line
(#1095) Multi-line function call not indented correctly; expected 12 spaces but found 33
(#1095) Short array syntax must be used to define arrays
(#1097) There should be a comma after the last array item in a multi-line array.
(#1098) Multi-line function call not indented correctly; expected 8 spaces but found 33
(#1098) Closing parenthesis of a multi-line function call must be on a line by itself
(#1099) Short array syntax must be used to define arrays
(#1120) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#1120) Multi-line function declarations must define one parameter per line
(#1120) Multi-line function declarations must define one parameter per line
(#1121) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#1121) Multi-line function declarations must define one parameter per line
(#1121) Multi-line function declarations must define one parameter per line
(#1121) The closing parenthesis of a multi-line function declaration must be on a new line
(#1126) Short array syntax must be used to define arrays
(#1131) Opening parenthesis of a multi-line function call must be the last content on the line
(#1132) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1133) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1133) Short array syntax must be used to define arrays
(#1133) Short array syntax must be used to define arrays
(#1144) Opening parenthesis of a multi-line function call must be the last content on the line
(#1145) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1146) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1146) Short array syntax must be used to define arrays
(#1146) Short array syntax must be used to define arrays
(#1156) Opening parenthesis of a multi-line function call must be the last content on the line
(#1156) Only one argument is allowed per line in a multi-line function call
(#1157) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1157) Short array syntax must be used to define arrays
(#1157) Short array syntax must be used to define arrays
(#1163) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1163) Only one argument is allowed per line in a multi-line function call
(#1163) Only one argument is allowed per line in a multi-line function call
(#1163) Closing parenthesis of a multi-line function call must be on a line by itself
(#1165) Opening parenthesis of a multi-line function call must be the last content on the line
(#1165) Only one argument is allowed per line in a multi-line function call
(#1166) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1166) Short array syntax must be used to define arrays
(#1166) Short array syntax must be used to define arrays
(#1172) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1172) Only one argument is allowed per line in a multi-line function call
(#1172) Only one argument is allowed per line in a multi-line function call
(#1172) Closing parenthesis of a multi-line function call must be on a line by itself
(#1175) Short array syntax must be used to define arrays
(#1194) Short array syntax must be used to define arrays
(#1202) There should be a comma after the last array item in a multi-line array.
(#1221) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#1222) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#1222) Multi-line function declarations must define one parameter per line
(#1222) Multi-line function declarations must define one parameter per line
(#1222) The closing parenthesis of a multi-line function declaration must be on a new line
(#1232) Short array syntax must be used to define arrays
mod/offlinequiz/classes/output/question_chooser.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/classes/output/wiris_filter.php
(#52) Missing member variable doc comment
(#85) Expected 1 space after "="; 2 found
mod/offlinequiz/classes/plugininfo/offlinequiz.php
(#20) Incorrect @package tag for file offlinequiz.php. Expected mod_offlinequiz, found mod.
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Missing docblock for class offlinequiz
(#36) Missing docblock for function is_uninstall_allowed
(#46) Invalid docblock tag "@private".
(#53) Short array syntax must be used to define arrays
mod/offlinequiz/classes/privacy/provider.php
(#21) Import statements must not begin with a leading backslash
(#23) Import statements must not begin with a leading backslash
(#24) Import statements must not begin with a leading backslash
(#30) Missing @copyright tag
(#30) Missing @license tag
(#30) Missing docblock for class provider
(#30) 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, \core_privacy\local\request\core_userlist_provider; Found: \core_privacy\local\request\core_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, \core_privacy\local\request\user_preference_provider
(#32) Expected 4 spaces before interface name; 0 found
(#35) Expected 4 spaces before interface name; 0 found
(#36) Expected 4 spaces before interface name; 0 found
(#38) Expected 4 spaces before interface name; 0 found
(#39) Missing docblock for function get_metadata
(#39) There must not be a space before the colon in a return type declaration
(#45) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#46) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#47) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#48) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#49) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#50) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#51) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#52) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#53) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#54) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#55) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#56) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#57) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#58) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#59) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#60) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#61) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#62) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#63) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#64) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#65) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#66) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#67) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#68) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#69) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#70) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#70) There should be a comma after the last array item in a multi-line array.
(#71) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#72) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#73) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#76) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#77) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#78) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#79) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#80) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#81) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#81) There should be a comma after the last array item in a multi-line array.
(#82) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#83) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#84) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#87) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#88) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#89) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#90) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#91) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#92) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#93) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#94) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#95) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#95) There should be a comma after the last array item in a multi-line array.
(#96) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#97) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#98) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#101) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#102) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#103) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#104) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#105) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#106) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#107) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#108) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#109) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#110) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#110) There should be a comma after the last array item in a multi-line array.
(#111) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#112) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#113) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#116) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#117) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#118) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#119) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#120) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#121) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#122) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#123) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#123) There should be a comma after the last array item in a multi-line array.
(#124) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#125) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#126) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#129) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#130) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#131) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#132) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#133) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#134) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#134) There should be a comma after the last array item in a multi-line array.
(#135) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#136) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#137) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#140) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#141) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#142) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#143) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#144) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#144) There should be a comma after the last array item in a multi-line array.
(#145) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#146) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#147) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#150) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#151) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#152) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#153) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#154) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#154) There should be a comma after the last array item in a multi-line array.
(#155) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#156) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#157) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#160) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#161) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#162) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#163) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#164) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#165) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#165) There should be a comma after the last array item in a multi-line array.
(#166) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#167) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#168) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#171) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#172) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#173) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#174) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#175) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#176) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#177) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#178) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#178) There should be a comma after the last array item in a multi-line array.
(#179) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#180) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#181) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#184) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#185) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#186) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#187) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#188) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#189) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#189) There should be a comma after the last array item in a multi-line array.
(#190) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#191) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#192) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#195) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#196) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#197) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#198) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#199) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#200) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#201) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#202) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#203) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#204) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#205) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#206) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#206) There should be a comma after the last array item in a multi-line array.
(#207) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#208) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#209) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#212) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#213) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#214) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#215) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#216) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#217) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#218) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#219) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#220) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#221) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#222) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#223) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#223) There should be a comma after the last array item in a multi-line array.
(#224) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#225) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#226) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#229) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#230) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#231) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#232) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#233) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#234) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#235) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#236) Multi-line function call not indented correctly; expected 12 spaces but found 9
(#236) There should be a comma after the last array item in a multi-line array.
(#237) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#238) Multi-line function call not indented correctly; expected 12 spaces but found 10
(#239) Multi-line function call not indented correctly; expected 8 spaces but found 10
(#252) There must not be a space before the colon in a return type declaration
(#295) There should be a comma after the last array item in a multi-line array.
(#319) Long list syntax is not allowed
(#358) There should be a comma after the last array item in a multi-line array.
(#367) Missing docblock for function get_users_in_context
(#417) Long list syntax is not allowed
(#418) Long list syntax is not allowed
(#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) Closing parenthesis of a multi-line function call must be on a line by itself
(#426) Missing docblock for function export_offlinequiz
(#430) Missing docblock for function export_student_data
(#451) Space found before comma in argument list
(#451) Expected no space between "$sql" and the comma. Found: 1 space
(#472) Line exceeds 132 characters; contains 139 characters
(#485) Missing docblock for function get_scanned_p_page_objects
(#501) Missing docblock for function get_results
(#517) Missing docblock for function get_group_name_by_result
(#528) Missing docblock for function get_scanned_pages_objects
(#537) Missing docblock for function export_file
(#539) Expected 0 spaces after opening bracket; 1 found
(#547) Missing docblock for function get_scanned_page_object
(#556) Missing docblock for function get_page_corners
(#561) Missing docblock for function get_group
(#574) Missing docblock for function get_group_letter
(#577) Terminating statement must be indented to the same level as the CASE body
(#580) Terminating statement must be indented to the same level as the CASE body
(#583) Terminating statement must be indented to the same level as the CASE body
(#586) Terminating statement must be indented to the same level as the CASE body
(#589) Terminating statement must be indented to the same level as the CASE body
(#592) Terminating statement must be indented to the same level as the CASE body
(#595) Terminating statement must be indented to the same level as the CASE body
(#615) Long list syntax is not allowed
(#620) Expected at least 1 space before "="; 0 found
(#620) Expected 1 space before "="; 0 found
(#625) No space found after comma in argument list
(#625) Commas (,) must be followed by white space.
(#625) Expected 1 space between the comma and "[". Found: no spaces
(#638) Long list syntax is not allowed
(#675) Opening parenthesis of a multi-line function call must be the last content on the line
(#675) Only one argument is allowed per line in a multi-line function call
(#676) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#676) Only one argument is allowed per line in a multi-line function call
(#676) Closing parenthesis of a multi-line function call must be on a line by itself
(#712) Long list syntax is not allowed
mod/offlinequiz/classes/question/bank/add_action_column.php
(#28) Opening brace must not be followed by a blank line
(#33) Missing docblock for function init
(#38) Missing docblock for function get_extra_classes
(#42) Missing docblock for function get_title
(#46) Missing docblock for function get_name
(#50) Missing docblock for function display_content
(#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
(#64) Missing docblock for function get_default_width
mod/offlinequiz/classes/question/bank/checkbox_column.php
(#30) Missing docblock for function display_content
(#37) Expected 1 newline at end of file; 0 found
mod/offlinequiz/classes/question/bank/custom_view.php
(#98) Line exceeds 132 characters; contains 139 characters
(#99) Expected "if (...) {\n"; found "if(...) {\n"
(#99) Expected 1 space after IF keyword; 0 found
(#126) Missing docblock for function get_question_bank_plugins
(#155) Missing docblock for function default_sort
(#225) Opening parenthesis of a multi-line function call must be the last content on the line
(#226) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#226) Commas (,) must be followed by white space.
(#226) Expected 1 space between the comma and "'type'". Found: no spaces
(#226) Closing parenthesis of a multi-line function call must be on a line by itself
(#228) Short array syntax must be used to define arrays
(#286) Expected at least 1 space after "."; 0 found
(#291) Expected at least 1 space after "."; 0 found
(#314) Inline comments must end in full-stops, exclamation marks, or question marks
(#320) Missing docblock for function add_standard_search_conditions
(#347) Missing docblock for function offlinequiz_contains
(#349) No space found after comma in argument list
(#349) Commas (,) must be followed by white space.
(#349) Expected 1 space between the comma and "'questionbankentryid'". Found: no spaces
(#393) Line exceeds 132 characters; contains 133 characters
mod/offlinequiz/classes/question/bank/filter/custom_category_condition.php
(#32) Opening brace must not be followed by a blank line
(#34) Missing docblock for function get_initial_values
mod/offlinequiz/classes/question/bank/filter/custom_category_condition_helper.php
(#32) Opening brace must not be followed by a blank line
(#34) Missing docblock for function question_category_options
(#34) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#34) Multi-line function declarations must define one parameter per line
(#34) Multi-line function declarations must define one parameter per line
(#35) Multi-line function declaration not indented correctly; expected 8 spaces but found 53
(#35) Multi-line function declarations must define one parameter per line
(#36) Multi-line function declaration not indented correctly; expected 8 spaces but found 53
(#36) The closing parenthesis of a multi-line function declaration must be on a new line
(#62) Parentheses must be used when instantiating a new class
(#63) Opening parenthesis of a multi-line function call must be the last content on the line
(#63) Only one argument is allowed per line in a multi-line function call
(#64) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#64) Closing parenthesis of a multi-line function call must be on a line by itself
(#101) Missing docblock for function get_categories_for_contexts
(#101) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#101) Multi-line function declarations must define one parameter per line
(#102) Multi-line function declaration not indented correctly; expected 8 spaces but found 55
(#102) Multi-line function declarations must define one parameter per line
(#102) The closing parenthesis of a multi-line function declaration must be on a new line
(#105) Expected at least 1 space before "."; 0 found
mod/offlinequiz/classes/question/bank/offlinequiz_managecategories_feature.php
(#32) Opening brace must not be followed by a blank line
(#34) Missing docblock for function get_question_filters
(#34) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $qbank.
mod/offlinequiz/classes/question/bank/preview_action_column.php
(#28) Opening brace must not be followed by a blank line
(#29) Whitespace found at end of line
(#30) Missing docblock for function get_extra_classes
(#33) Whitespace found at end of line
(#34) Missing docblock for function get_title
(#37) Whitespace found at end of line
(#38) Missing docblock for function get_name
(#41) Whitespace found at end of line
(#42) Missing docblock for function display_content
(#51) Missing docblock for function get_default_width
mod/offlinequiz/classes/question/bank/qbank_helper.php
(#21) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Opening brace must not be followed by a blank line
mod/offlinequiz/classes/question/bank/question_name_column.php
(#28) Opening brace must not be followed by a blank line
(#35) Missing docblock for function get_name
(#39) Missing docblock for function get_title
(#43) Missing docblock for function label_for
(#54) Missing docblock for function display_content
(#65) Missing docblock for function get_required_fields
(#69) Missing docblock for function is_sortable
mod/offlinequiz/classes/question/bank/question_name_text_column.php
(#28) Opening brace must not be followed by a blank line
(#30) Missing docblock for function get_name
(#34) Missing docblock for function display_content
(#48) Missing docblock for function get_required_fields
(#56) Missing docblock for function load_additional_data
(#61) Missing docblock for function get_default_width
mod/offlinequiz/classes/question/bank/random_question_view.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/offlinequiz/classes/repaginate.php
(#20) Incorrect @package tag for file repaginate.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Opening brace must not be followed by a blank line
(#66) Short array syntax must be used to define arrays
(#69) Opening parenthesis of a multi-line function call must be the last content on the line
(#70) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#70) Short array syntax must be used to define arrays
(#71) Multi-line function call not indented correctly; expected 12 spaces but found 26
(#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
(#111) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#143) Opening parenthesis of a multi-line function call must be the last content on the line
(#144) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#144) Short array syntax must be used to define arrays
(#145) Multi-line function call not indented correctly; expected 8 spaces but found 22
(#145) Only one argument is allowed per line in a multi-line function call
(#145) Closing parenthesis of a multi-line function call must be on a line by itself
(#147) Short array syntax must be used to define arrays
(#197) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
mod/offlinequiz/classes/report_editdates_integration.php
(#20) Expected at least 1 space before "."; 0 found
(#20) Expected at least 1 space after "."; 0 found
(#22) Missing @copyright tag
(#22) Missing @license tag
(#22) Missing docblock for class mod_offlinequiz_report_editdates_integration
(#23) The extends keyword must be on the same line as the class name
(#23) Opening brace must not be followed by a blank line
(#25) Missing docblock for function __construct
(#30) Missing docblock for function get_settings
(#32) Short array syntax must be used to define arrays
(#33) Multi-line function call not indented correctly; expected 12 spaces but found 40
(#34) Multi-line function call not indented correctly; expected 8 spaces but found 40
(#34) Only one argument is allowed per line in a multi-line function call
(#34) Only one argument is allowed per line in a multi-line function call
(#34) Only one argument is allowed per line in a multi-line function call
(#34) Closing parenthesis of a multi-line function call must be on a line by itself
(#36) Multi-line function call not indented correctly; expected 25 spaces but found 40
(#37) Multi-line function call not indented correctly; expected 21 spaces but found 40
(#37) Only one argument is allowed per line in a multi-line function call
(#37) Only one argument is allowed per line in a multi-line function call
(#37) Only one argument is allowed per line in a multi-line function call
(#37) Closing parenthesis of a multi-line function call must be on a line by itself
(#39) Multi-line function call not indented correctly; expected 25 spaces but found 40
(#40) Multi-line function call not indented correctly; expected 21 spaces but found 40
(#40) Only one argument is allowed per line in a multi-line function call
(#40) Only one argument is allowed per line in a multi-line function call
(#40) Only one argument is allowed per line in a multi-line function call
(#40) There should be a comma after the last array item in a multi-line array.
(#40) Closing parenthesis of a multi-line function call must be on a line by itself
(#44) Missing docblock for function validate_dates
(#45) Short array syntax must be used to define arrays
(#46) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#47) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#53) Missing docblock for function save_dates
(#71) Function closing brace must go on the next line following the body; found 1 blank lines before brace
mod/offlinequiz/classes/search/activity.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/classes/structure.php
(#20) Incorrect @package tag for file structure.php. Expected mod_offlinequiz, found mod.
(#53) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#72) Missing member variable doc comment
(#72) Short array syntax must be used to define arrays
(#198) Opening parenthesis of a multi-line function call must be the last content on the line
(#199) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#199) Only one argument is allowed per line in a multi-line function call
(#199) Closing parenthesis of a multi-line function call must be on a line by itself
(#200) Opening parenthesis of a multi-line function call must be the last content on the line
(#200) Only one argument is allowed per line in a multi-line function call
(#201) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#201) Short array syntax must be used to define arrays
(#201) Only one argument is allowed per line in a multi-line function call
(#201) Closing parenthesis of a multi-line function call must be on a line by itself
(#301) Short array syntax must be used to define arrays
(#325) Short array syntax must be used to define arrays
(#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 16 spaces but found 20
(#329) Short array syntax must be used to define arrays
(#330) Multi-line function call not indented correctly; expected 12 spaces but found 27
(#330) Closing parenthesis of a multi-line function call must be on a line by itself
(#334) Opening parenthesis of a multi-line function call must be the last content on the line
(#335) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#335) Only one argument is allowed per line in a multi-line function call
(#335) Closing parenthesis of a multi-line function call must be on a line by itself
(#340) Opening parenthesis of a multi-line function call must be the last content on the line
(#341) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#341) Short array syntax must be used to define arrays
(#341) Closing parenthesis of a multi-line function call must be on a line by itself
(#342) Expected at least 1 space before "."; 0 found
(#342) Expected at least 1 space after "."; 0 found
(#342) Expected at least 1 space before "."; 0 found
(#342) Expected at least 1 space after "."; 0 found
(#342) Opening parenthesis of a multi-line function call must be the last content on the line
(#342) Only one argument is allowed per line in a multi-line function call
(#343) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#343) Closing parenthesis of a multi-line function call must be on a line by itself
(#366) Short array syntax must be used to define arrays
(#388) Opening parenthesis of a multi-line function call must be the last content on the line
(#388) Only one argument is allowed per line in a multi-line function call
(#389) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#389) Closing parenthesis of a multi-line function call must be on a line by itself
(#391) Opening parenthesis of a multi-line function call must be the last content on the line
(#391) Only one argument is allowed per line in a multi-line function call
(#392) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#392) Closing parenthesis of a multi-line function call must be on a line by itself
(#399) Short array syntax must be used to define arrays
(#421) Short array syntax must be used to define arrays
(#425) Short array syntax must be used to define arrays
(#426) Short array syntax must be used to define arrays
(#427) Short array syntax must be used to define arrays
(#452) Short array syntax must be used to define arrays
(#477) Blank line found at end of control structure
(#552) Short array syntax must be used to define arrays
(#569) Opening parenthesis of a multi-line function call must be the last content on the line
(#569) Only one argument is allowed per line in a multi-line function call
(#569) Only one argument is allowed per line in a multi-line function call
(#570) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#570) Short array syntax must be used to define arrays
(#570) Closing parenthesis of a multi-line function call must be on a line by itself
(#571) Blank line found at end of control structure
(#578) Opening parenthesis of a multi-line function call must be the last content on the line
(#578) Only one argument is allowed per line in a multi-line function call
(#578) Only one argument is allowed per line in a multi-line function call
(#579) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#579) Short array syntax must be used to define arrays
(#579) Closing parenthesis of a multi-line function call must be on a line by itself
(#593) Short array syntax must be used to define arrays
(#603) Short array syntax must be used to define arrays
(#615) Incorrect spacing between argument "$slots" and equals sign; expected 1 but found 0
(#615) Incorrect spacing between default value and equals sign for argument "$slots"; expected 1 but found 0
(#615) Short array syntax must be used to define arrays
(#619) Short array syntax must be used to define arrays
(#624) Short array syntax must be used to define arrays
(#654) Opening parenthesis of a multi-line function call must be the last content on the line
(#654) Only one argument is allowed per line in a multi-line function call
(#654) Only one argument is allowed per line in a multi-line function call
(#655) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#655) Short array syntax must be used to define arrays
(#655) Closing parenthesis of a multi-line function call must be on a line by itself
(#671) Short array syntax must be used to define arrays
(#673) Opening parenthesis of a multi-line function call must be the last content on the line
(#677) Multi-line function call not indented correctly; expected 8 spaces but found 21
(#677) Short array syntax must be used to define arrays
(#677) Closing parenthesis of a multi-line function call must be on a line by itself
(#685) Opening parenthesis of a multi-line function call must be the last content on the line
(#686) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#686) Closing parenthesis of a multi-line function call must be on a line by itself
(#691) Short array syntax must be used to define arrays
(#693) Opening parenthesis of a multi-line function call must be the last content on the line
(#693) Only one argument is allowed per line in a multi-line function call
(#693) Only one argument is allowed per line in a multi-line function call
(#694) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#694) Short array syntax must be used to define arrays
(#696) Multi-line function call not indented correctly; expected 12 spaces but found 36
(#696) Closing parenthesis of a multi-line function call must be on a line by itself
(#699) Short array syntax must be used to define arrays
(#740) Opening parenthesis of a multi-line function call must be the last content on the line
(#740) Only one argument is allowed per line in a multi-line function call
(#741) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#742) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#742) Short array syntax must be used to define arrays
(#742) Closing parenthesis of a multi-line function call must be on a line by itself
(#743) Short array syntax must be used to define arrays
(#745) Long list syntax is not allowed
(#786) Opening parenthesis of a multi-line function call must be the last content on the line
(#787) Multi-line function call not indented correctly; expected 12 spaces but found 17
(#787) Short array syntax must be used to define arrays
(#788) Multi-line function call not indented correctly; expected 8 spaces but found 23
(#788) Only one argument is allowed per line in a multi-line function call
(#788) Closing parenthesis of a multi-line function call must be on a line by itself
(#796) Missing docblock for function add_warning
(#815) Short array syntax must be used to define arrays
mod/offlinequiz/classes/task/hotspot_deletion_task.php
(#20) Incorrect @package tag for file hotspot_deletion_task.php. Expected mod_offlinequiz, found mod.
(#33) Missing docblock for class hotspot_deletion_task
(#34) Missing docblock for function get_name
(#39) Missing docblock for function execute
(#48) Short array syntax must be used to define arrays
(#54) Long list syntax is not allowed
mod/offlinequiz/classes/task/page_evaluation_task.php
(#20) Incorrect @package tag for file page_evaluation_task.php. Expected mod_offlinequiz, found mod.
(#33) Missing docblock for class page_evaluation_task
(#34) Missing docblock for function get_name
(#39) Missing docblock for function execute
mod/offlinequiz/classes/task/temporary_file_deletion_task.php
(#20) Incorrect @package tag for file temporary_file_deletion_task.php. Expected mod_offlinequiz, found mod.
(#33) Missing docblock for class temporary_file_deletion_task
(#34) Missing docblock for function get_name
(#39) Missing docblock for function execute
(#40) Commas (,) must be followed by white space.
(#40) Expected 1 space between the comma and "$CFG". Found: no spaces
(#48) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#65) Expected "if (...) {\n"; found "if(...) {\n"
(#65) Expected 1 space after IF keyword; 0 found
(#68) Expected "if (...) {\n"; found "if(...) {\n"
(#68) Expected 1 space after IF keyword; 0 found
mod/offlinequiz/comment.php
(#21) Incorrect @package tag for file comment.php. Expected mod_offlinequiz, found mod.
(#35) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#45) Line exceeds 132 characters; contains 143 characters
(#45) Line exceeds 132 characters; contains 143 characters
(#45) Line exceeds 132 characters; contains 143 characters
(#45) Line exceeds 132 characters; contains 143 characters
(#45) Line exceeds 132 characters; contains 143 characters
(#45) Line exceeds 132 characters; contains 143 characters
(#45) Line exceeds 132 characters; contains 143 characters
(#90) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#97) There should be a comma after the last array item in a multi-line array.
(#98) There should be a comma after the last array item in a multi-line array.
(#127) Missing docblock for file comment.php
(#128) Missing docblock for file comment.php
(#129) Missing docblock for file comment.php
(#130) Missing docblock for file comment.php
(#142) Missing docblock for file comment.php
(#149) Missing docblock for file comment.php
mod/offlinequiz/correct.php
(#20) Incorrect @package tag for file correct.php. Expected mod_offlinequiz, found mod.
(#42) Short array syntax must be used to define arrays
(#43) Line exceeds 132 characters; contains 134 characters
(#46) Short array syntax must be used to define arrays
(#47) Line exceeds 132 characters; contains 147 characters
(#50) 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
(#51) Only one argument is allowed per line in a multi-line function call
(#52) Short array syntax must be used to define arrays
(#53) Multi-line function call not indented correctly; expected 4 spaces but found 9
(#53) Closing parenthesis of a multi-line function call must be on a line by itself
(#58) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#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
(#58) Short array syntax must be used to define arrays
(#58) Only one argument is allowed per line in a multi-line function call
(#59) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#59) Only one argument is allowed per line in a multi-line function call
(#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
(#59) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#60) Line exceeds 132 characters; contains 142 characters
(#71) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#85) Long list syntax is not allowed
(#88) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#144) Expected "if (...) {\n"; found "if(...) {\n"
(#144) Expected 1 space after IF keyword; 0 found
(#160) Blank line found at end of control structure
(#197) Expected "if (...) {\n"; found "if(...) {\n"
(#197) Expected 1 space after IF keyword; 0 found
(#205) Expected at least 1 space before "."; 0 found
(#213) Blank line found at start of control structure
(#217) Expected at least 1 space before "."; 0 found
(#217) Expected at least 1 space after "."; 0 found
(#224) Short array syntax must be used to define arrays
(#226) Short array syntax must be used to define arrays
(#227) No space found after comma in argument list
(#227) Commas (,) must be followed by white space.
(#227) Expected 1 space between the comma and "'status'". Found: no spaces
(#227) No space found after comma in argument list
(#227) Commas (,) must be followed by white space.
(#227) Expected 1 space between the comma and "'processed'". Found: no spaces
(#237) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#237) Short array syntax must be used to define arrays
(#238) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#239) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#258) Opening parenthesis of a multi-line function call must be the last content on the line
(#258) Only one argument is allowed per line in a multi-line function call
(#258) Only one argument is allowed per line in a multi-line function call
(#258) Only one argument is allowed per line in a multi-line function call
(#259) Multi-line function call not indented correctly; expected 4 spaces but found 16
(#259) Only one argument is allowed per line in a multi-line function call
(#259) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#264) Only one argument is allowed per line in a multi-line function call
(#264) Only one argument is allowed per line in a multi-line function call
(#265) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#265) Only one argument is allowed per line in a multi-line function call
(#265) Only one argument is allowed per line in a multi-line function call
(#265) Closing parenthesis of a multi-line function call must be on a line by itself
(#274) Opening parenthesis of a multi-line function call must be the last content on the line
(#274) Only one argument is allowed per line in a multi-line function call
(#274) Only one argument is allowed per line in a multi-line function call
(#274) Only one argument is allowed per line in a multi-line function call
(#275) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#275) Only one argument is allowed per line in a multi-line function call
(#275) Only one argument is allowed per line in a multi-line function call
(#275) Closing parenthesis of a multi-line function call must be on a line by itself
(#291) Blank line found at start of control structure
(#295) Expected at least 1 space before "."; 0 found
(#295) Expected at least 1 space after "."; 0 found
(#321) Short array syntax must be used to define arrays
(#324) Short array syntax must be used to define arrays
(#330) Blank line found at start of control structure
(#339) Short array syntax must be used to define arrays
(#342) Blank line found at start of control structure
(#345) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#354) Opening parenthesis of a multi-line function call must be the last content on the line
(#354) Only one argument is allowed per line in a multi-line function call
(#354) Short array syntax must be used to define arrays
(#355) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#355) Closing parenthesis of a multi-line function call must be on a line by itself
(#358) Short array syntax must be used to define arrays
(#361) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#362) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#363) Short array syntax must be used to define arrays
(#384) Expected "if (...) {\n"; found "if(...) {\n"
(#384) Expected 1 space after IF keyword; 0 found
(#398) Opening parenthesis of a multi-line function call must be the last content on the line
(#398) Only one argument is allowed per line in a multi-line function call
(#398) Only one argument is allowed per line in a multi-line function call
(#398) Only one argument is allowed per line in a multi-line function call
(#399) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#399) Only one argument is allowed per line in a multi-line function call
(#399) Only one argument is allowed per line in a multi-line function call
(#399) Closing parenthesis of a multi-line function call must be on a line by itself
(#407) Expected "if (...) {\n"; found "if(...) {\n"
(#407) Expected 1 space after IF keyword; 0 found
(#414) Expected "if (...) {\n"; found "if(...) {\n"
(#414) Expected 1 space after IF keyword; 0 found
(#429) Expected at least 1 space before "."; 0 found
(#429) Expected at least 1 space after "."; 0 found
(#434) Blank line found at start of control structure
(#449) Short array syntax must be used to define arrays
(#456) 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
(#457) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#457) Only one argument is allowed per line in a multi-line function call
(#457) Only one argument is allowed per line in a multi-line function call
(#457) Closing parenthesis of a multi-line function call must be on a line by itself
(#470) Expected "if (...) {\n"; found "if(...) {\n"
(#470) Expected 1 space after IF keyword; 0 found
(#480) Blank line found at start of control structure
(#484) Expected at least 1 space before "."; 0 found
(#484) Expected at least 1 space after "."; 0 found
(#500) Opening parenthesis of a multi-line function call must be the last content on the line
(#500) Only one argument is allowed per line in a multi-line function call
(#500) Only one argument is allowed per line in a multi-line function call
(#500) Only one argument is allowed per line in a multi-line function call
(#501) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#501) Only one argument is allowed per line in a multi-line function call
(#501) Only one argument is allowed per line in a multi-line function call
(#501) Closing parenthesis of a multi-line function call must be on a line by itself
(#516) Blank line found at end of control structure
(#517) Blank line found at start of control structure
(#521) Expected at least 1 space before "."; 0 found
(#521) Expected at least 1 space after "."; 0 found
(#541) Expected "if (...) {\n"; found "if(...) {\n"
(#541) Expected 1 space after IF keyword; 0 found
(#547) Blank line found at end of control structure
(#554) Expected at least 1 space before "."; 0 found
(#554) Expected at least 1 space after "."; 0 found
(#560) Expected at least 1 space before "."; 0 found
(#560) Expected at least 1 space after "."; 0 found
(#565) Short array syntax must be used to define arrays
(#575) Short array syntax must be used to define arrays
(#577) Short array syntax must be used to define arrays
(#594) Short array syntax must be used to define arrays
(#603) Short array syntax must be used to define arrays
(#604) Short array syntax must be used to define arrays
(#617) Opening parenthesis of a multi-line function call must be the last content on the line
(#617) Only one argument is allowed per line in a multi-line function call
(#617) Only one argument is allowed per line in a multi-line function call
(#617) Only one argument is allowed per line in a multi-line function call
(#618) Multi-line function call not indented correctly; expected 12 spaces but found 18
(#618) Only one argument is allowed per line in a multi-line function call
(#618) Only one argument is allowed per line in a multi-line function call
(#618) Closing parenthesis of a multi-line function call must be on a line by itself
(#622) Expected "if (...) {\n"; found "if(...) {\n"
(#622) Expected 1 space after IF keyword; 0 found
(#627) Blank line found at end of control structure
(#644) Short array syntax must be used to define arrays
(#647) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#649) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#651) Opening parenthesis of a multi-line function call must be the last content on the line
(#651) Only one argument is allowed per line in a multi-line function call
(#651) Only one argument is allowed per line in a multi-line function call
(#651) Only one argument is allowed per line in a multi-line function call
(#652) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#652) Only one argument is allowed per line in a multi-line function call
(#652) Closing parenthesis of a multi-line function call must be on a line by itself
(#656) Short array syntax must be used to define arrays
(#659) Short array syntax must be used to define arrays
(#663) Short array syntax must be used to define arrays
(#671) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#671) Short array syntax must be used to define arrays
(#672) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#673) Line exceeds 132 characters; contains 134 characters
(#682) Short array syntax must be used to define arrays
(#706) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#707) Short array syntax must be used to define arrays
(#707) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#715) Space after opening parenthesis of function call prohibited
(#715) Expected 0 spaces before closing parenthesis; 1 found
(#720) Short array syntax must be used to define arrays
(#735) Short array syntax must be used to define arrays
(#741) Opening parenthesis of a multi-line function call must be the last content on the line
(#741) Only one argument is allowed per line in a multi-line function call
(#741) Only one argument is allowed per line in a multi-line function call
(#742) Multi-line function call not indented correctly; expected 24 spaces but found 32
(#742) Short array syntax must be used to define arrays
(#742) Closing parenthesis of a multi-line function call must be on a line by itself
(#752) Short array syntax must be used to define arrays
(#761) Opening parenthesis of a multi-line function call must be the last content on the line
(#761) Opening parenthesis of a multi-line function call must be the last content on the line
(#761) Only one argument is allowed per line in a multi-line function call
(#762) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#762) Closing parenthesis of a multi-line function call must be on a line by itself
(#763) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#763) Opening parenthesis of a multi-line function call must be the last content on the line
(#764) Multi-line function call not indented correctly; expected 24 spaces but found 20
(#765) Closing parenthesis of a multi-line function call must be on a line by itself
(#766) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#767) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#768) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#768) Closing parenthesis of a multi-line function call must be on a line by itself
(#770) Short array syntax must be used to define arrays
(#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
(#789) Only one argument is allowed per line in a multi-line function call
(#790) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#790) Short array syntax must be used to define arrays
(#790) Closing parenthesis of a multi-line function call must be on a line by itself
(#799) Short array syntax must be used to define arrays
(#803) Expected at least 1 space before "."; 0 found
(#803) Expected at least 1 space after "."; 0 found
(#803) Expected 0 spaces before closing parenthesis; 2 found
(#806) Expected at least 1 space before "."; 0 found
(#806) Expected at least 1 space after "."; 0 found
(#812) Expected at least 1 space before "."; 0 found
(#812) Expected at least 1 space after "."; 0 found
(#817) Expected at least 1 space before "."; 0 found
(#817) Expected at least 1 space after "."; 0 found
(#829) Expected "if (...) {\n"; found "if(...) {\n"
(#829) Expected 1 space after IF keyword; 0 found
(#838) Short array syntax must be used to define arrays
(#841) Blank line found at start of control structure
(#844) Space after opening parenthesis of function call prohibited
(#846) Space after opening parenthesis of function call prohibited
(#846) Expected 0 spaces before closing parenthesis; 1 found
(#850) Short array syntax must be used to define arrays
(#856) Logical operator "and" is prohibited; use "&&" instead
(#867) Logical operator "and" is prohibited; use "&&" instead
(#881) Expected at least 1 space before "."; 0 found
(#881) Expected at least 1 space after "."; 0 found
(#882) Expected at least 1 space before "."; 0 found
(#882) Expected at least 1 space after "."; 0 found
(#883) Expected at least 1 space before "."; 0 found
(#883) Expected at least 1 space after "."; 0 found
(#884) Expected at least 1 space before "."; 0 found
(#884) Expected at least 1 space after "."; 0 found
(#885) Expected at least 1 space before "."; 0 found
(#885) Expected at least 1 space after "."; 0 found
(#1018) Logical operator "and" is prohibited; use "&&" instead
(#1043) Expected at least 1 space before "."; 0 found
(#1043) Expected at least 1 space after "."; 0 found
(#1045) Expected at least 1 space before "."; 0 found
(#1045) Expected at least 1 space after "."; 0 found
(#1047) Expected at least 1 space before "."; 0 found
(#1047) Expected at least 1 space after "."; 0 found
(#1050) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1059) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1059) Blank line found at start of control structure
(#1067) Blank line found at end of control structure
(#1071) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1076) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1100) Expected at least 1 space before "."; 0 found
(#1124) Expected at least 1 space before "."; 0 found
(#1124) Expected at least 1 space after "."; 0 found
(#1124) Expected at least 1 space before "."; 0 found
(#1124) Expected at least 1 space after "."; 0 found
(#1125) Expected at least 1 space before "."; 0 found
(#1125) Expected at least 1 space after "."; 0 found
(#1125) Expected at least 1 space before "."; 0 found
(#1125) Expected at least 1 space after "."; 0 found
(#1126) Expected at least 1 space before "."; 0 found
(#1126) Expected at least 1 space after "."; 0 found
(#1126) Expected at least 1 space before "."; 0 found
(#1126) Expected at least 1 space after "."; 0 found
(#1127) Expected at least 1 space before "."; 0 found
(#1127) Expected at least 1 space after "."; 0 found
(#1127) Expected at least 1 space before "."; 0 found
(#1127) Expected at least 1 space after "."; 0 found
(#1132) Expected at least 1 space before "."; 0 found
(#1132) Expected at least 1 space after "."; 0 found
(#1132) Expected at least 1 space before "."; 0 found
(#1132) Expected at least 1 space after "."; 0 found
(#1132) Expected at least 1 space before "."; 0 found
(#1132) Expected at least 1 space after "."; 0 found
(#1132) Expected at least 1 space before "."; 0 found
(#1132) Expected at least 1 space after "."; 0 found
(#1150) Expected at least 1 space before "."; 0 found
(#1150) Expected at least 1 space after "."; 0 found
(#1150) Expected at least 1 space before "."; 0 found
(#1150) Expected at least 1 space after "."; 0 found
(#1156) Expected at least 1 space before "."; 0 found
(#1156) Expected at least 1 space after "."; 0 found
(#1156) Expected at least 1 space before "."; 0 found
(#1156) Expected at least 1 space after "."; 0 found
(#1160) Expected at least 1 space before "."; 0 found
(#1160) Expected at least 1 space after "."; 0 found
(#1160) Expected at least 1 space before "."; 0 found
(#1160) Expected at least 1 space after "."; 0 found
(#1160) Expected at least 1 space before "."; 0 found
(#1160) Expected at least 1 space after "."; 0 found
(#1160) Expected at least 1 space before "."; 0 found
(#1160) Expected at least 1 space after "."; 0 found
(#1178) Expected at least 1 space before "."; 0 found
(#1178) Expected at least 1 space after "."; 0 found
(#1178) Expected at least 1 space before "."; 0 found
(#1178) Expected at least 1 space after "."; 0 found
(#1178) Expected at least 1 space before "."; 0 found
(#1179) Expected at least 1 space before "."; 0 found
(#1179) Expected at least 1 space after "."; 0 found
(#1180) Logical operator "and" is prohibited; use "&&" instead
(#1182) Expected at least 1 space before "."; 0 found
(#1182) Expected at least 1 space after "."; 0 found
(#1182) Expected at least 1 space before "."; 0 found
(#1182) Expected at least 1 space after "."; 0 found
(#1182) Expected at least 1 space before "."; 0 found
(#1183) Expected at least 1 space before "."; 0 found
(#1183) Expected at least 1 space after "."; 0 found
(#1186) Expected at least 1 space before "."; 0 found
(#1186) Expected at least 1 space after "."; 0 found
(#1186) Expected at least 1 space before "."; 0 found
(#1186) Expected at least 1 space after "."; 0 found
(#1186) Expected at least 1 space before "."; 0 found
(#1187) Expected at least 1 space before "."; 0 found
(#1187) Expected at least 1 space after "."; 0 found
(#1201) Expected at least 1 space before "."; 0 found
(#1201) Expected at least 1 space after "."; 0 found
(#1201) Expected at least 1 space before "."; 0 found
(#1201) Expected at least 1 space after "."; 0 found
(#1205) Expected at least 1 space before "."; 0 found
(#1205) Expected at least 1 space after "."; 0 found
(#1205) Expected at least 1 space before "."; 0 found
(#1205) Expected at least 1 space after "."; 0 found
(#1213) Space after opening parenthesis of function call prohibited
(#1215) Space after opening parenthesis of function call prohibited
(#1215) Expected 0 spaces before closing parenthesis; 1 found
(#1221) Blank line found at start of control structure
(#1235) Expected at least 1 space before "."; 0 found
(#1235) Expected at least 1 space after "."; 0 found
(#1235) Expected at least 1 space before "."; 0 found
(#1235) Expected at least 1 space after "."; 0 found
(#1235) Expected at least 1 space before "."; 0 found
(#1236) Expected at least 1 space before "."; 0 found
(#1236) Expected at least 1 space after "."; 0 found
(#1240) Expected at least 1 space before "."; 0 found
(#1240) Expected at least 1 space after "."; 0 found
(#1240) Expected at least 1 space before "."; 0 found
(#1240) Expected at least 1 space after "."; 0 found
(#1240) Expected at least 1 space before "."; 0 found
(#1241) Expected at least 1 space before "."; 0 found
(#1241) Expected at least 1 space after "."; 0 found
(#1245) Expected at least 1 space before "."; 0 found
(#1245) Expected at least 1 space after "."; 0 found
(#1245) Expected at least 1 space before "."; 0 found
(#1245) Expected at least 1 space after "."; 0 found
(#1245) Expected at least 1 space before "."; 0 found
(#1246) Expected at least 1 space before "."; 0 found
(#1246) Expected at least 1 space after "."; 0 found
mod/offlinequiz/correct_errors.php
(#20) Incorrect @package tag for file correct_errors.php. Expected mod_offlinequiz, found mod.
(#28) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#29) Expected 1 blank line at end of file; 3 found
mod/offlinequiz/createquiz.php
(#21) Incorrect @package tag for file createquiz.php. Expected mod_offlinequiz, found mod.
(#43) Long list syntax is not allowed
(#57) Expected at least 1 space before "."; 0 found
(#57) Expected at least 1 space after "."; 0 found
(#71) This comment is 50% valid code; is this commented out code?
(#79) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#81) Short array syntax must be used to define arrays
(#86) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#87) No space found after comma in argument list
(#87) Commas (,) must be followed by white space.
(#87) Expected 1 space between the comma and "new". Found: no spaces
(#87) Line exceeds maximum limit of 180 characters; contains 181 characters
(#87) Line exceeds maximum limit of 180 characters; contains 181 characters
(#87) Line exceeds maximum limit of 180 characters; contains 181 characters
(#87) Line exceeds maximum limit of 180 characters; contains 181 characters
(#87) Line exceeds maximum limit of 180 characters; contains 181 characters
(#106) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#145) Space found before comma in argument list
(#145) No space found after comma in argument list
(#145) Commas (,) must be followed by white space.
(#145) Expected no space between "'/mod/offlinequiz/createquiz.php'" and the comma. Found: 1 space
(#145) Expected 1 space between the comma and "[". Found: no spaces
(#145) Expected at least 1 space before "=>"; 0 found
(#145) Expected 1 space before "=>"; 0 found
(#145) Line exceeds 132 characters; contains 135 characters
(#145) Line exceeds 132 characters; contains 135 characters
(#145) Line exceeds 132 characters; contains 135 characters
(#145) Line exceeds 132 characters; contains 135 characters
(#145) Line exceeds 132 characters; contains 135 characters
(#146) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#158) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#163) There should be a comma after the last array item in a multi-line array.
(#164) There should be a comma after the last array item in a multi-line array.
(#196) Logical operator "and" is prohibited; use "&&" instead
(#197) Expected at least 1 space before "."; 0 found
(#197) Expected at least 1 space after "."; 0 found
(#200) Expected at least 1 space before "."; 0 found
(#200) Expected at least 1 space after "."; 0 found
(#203) Expected at least 1 space before "."; 0 found
(#203) Expected at least 1 space after "."; 0 found
(#212) Only one argument is allowed per line in a multi-line function call
(#226) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#237) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#327) Short array syntax must be used to define arrays
(#370) Line exceeds 132 characters; contains 139 characters
(#370) Line exceeds 132 characters; contains 139 characters
(#370) Line exceeds 132 characters; contains 139 characters
(#370) Line exceeds 132 characters; contains 139 characters
(#370) Line exceeds 132 characters; contains 139 characters
(#373) Blank line found at start of control structure
(#386) Missing docblock for file createquiz.php
(#391) Missing docblock for file createquiz.php
(#393) Missing docblock for file createquiz.php
(#398) Missing docblock for file createquiz.php
(#406) Short array syntax must be used to define arrays
(#417) Short array syntax must be used to define arrays
(#418) Multi-line function call not indented correctly; expected 12 spaces but found 8
(#419) Multi-line function call not indented correctly; expected 12 spaces but found 8
(#433) Expected at least 1 space before "."; 0 found
(#433) Expected at least 1 space after "."; 0 found
(#437) Short array syntax must be used to define arrays
(#491) Expected at least 1 space before "."; 0 found
(#491) Expected at least 1 space after "."; 0 found
(#497) Short array syntax must be used to define arrays
(#587) Short array syntax must be used to define arrays
(#589) Short array syntax must be used to define arrays
(#592) There should be a comma after the last array item in a multi-line array.
(#593) Whitespace found at end of line
(#594) There should be a comma after the last array item in a multi-line array.
(#602) Short array syntax must be used to define arrays
(#603) Blank line found at end of control structure
mod/offlinequiz/cron.php
(#20) Incorrect @package tag for file cron.php. Expected mod_offlinequiz, found mod.
(#38) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#46) Missing docblock for function offlinequiz_evaluation_cron
(#57) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#85) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Only one argument is allowed per line in a multi-line function call
(#86) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#86) Closing parenthesis of a multi-line function call must be on a line by itself
(#93) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#128) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#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
(#128) Short array syntax must be used to define arrays
(#129) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#129) Only one argument is allowed per line in a multi-line function call
(#129) Only one argument is allowed per line in a multi-line function call
(#129) Only one argument is allowed per line in a multi-line function call
(#129) Closing parenthesis of a multi-line function call must be on a line by itself
(#129) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#130) Short array syntax must be used to define arrays
(#131) 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
(#141) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#141) Short array syntax must be used to define arrays
(#141) Closing parenthesis of a multi-line function call must be on a line by itself
(#143) Long list syntax is not allowed
(#151) Short array syntax must be used to define arrays
(#179) Long list syntax is not allowed
(#179) Opening parenthesis of a multi-line function call must be the last content on the line
(#179) Only one argument is allowed per line in a multi-line function call
(#179) Only one argument is allowed per line in a multi-line function call
(#180) Multi-line function call not indented correctly; expected 28 spaces but found 36
(#180) Only one argument is allowed per line in a multi-line function call
(#180) Only one argument is allowed per line in a multi-line function call
(#180) Closing parenthesis of a multi-line function call must be on a line by itself
(#194) Opening parenthesis of a multi-line function call must be the last content on the line
(#194) Only one argument is allowed per line in a multi-line function call
(#194) Only one argument is allowed per line in a multi-line function call
(#195) Multi-line function call not indented correctly; expected 28 spaces but found 36
(#195) Only one argument is allowed per line in a multi-line function call
(#195) Only one argument is allowed per line in a multi-line function call
(#195) Only one argument is allowed per line in a multi-line function call
(#195) 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
(#199) Only one argument is allowed per line in a multi-line function call
(#200) Multi-line function call not indented correctly; expected 28 spaces but found 36
(#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) Closing parenthesis of a multi-line function call must be on a line by itself
(#207) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#208) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#212) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#213) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#215) Short array syntax must be used to define arrays
(#217) Short array syntax must be used to define arrays
(#218) Short array syntax must be used to define arrays
(#229) Blank line found at end of control structure
(#232) Short array syntax must be used to define arrays
(#233) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#254) Expected 1 space after comma in argument list; 2 found
(#254) Expected 1 space between the comma and "array". Found: 2 spaces
(#254) Short array syntax must be used to define arrays
(#262) Short array syntax must be used to define arrays
(#264) Expected at least 1 space before "."; 0 found
(#272) Expected at least 1 space before "."; 0 found
(#274) Expected at least 1 space before "."; 0 found
(#277) Expected at least 1 space before "."; 0 found
(#280) Expected at least 1 space before "."; 0 found
(#282) Expected at least 1 space before "."; 0 found
(#283) Expected at least 1 space before "."; 0 found
(#291) Opening parenthesis of a multi-line function call must be the last content on the line
(#291) Only one argument is allowed per line in a multi-line function call
(#292) Multi-line function call not indented correctly; expected 12 spaces but found 24
(#292) Closing parenthesis of a multi-line function call must be on a line by itself
(#294) Blank line found at end of control structure
(#297) Closing brace must not be followed by any comment or statement on the same line
(#297) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#300) Long list syntax is not allowed
(#300) Short array syntax must be used to define arrays
(#300) Short array syntax must be used to define arrays
mod/offlinequiz/db/access.php
(#20) Incorrect @package tag for file access.php. Expected mod_offlinequiz, found mod.
(#31) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#40) There should be a comma after the last array item in a multi-line array.
(#41) There should be a comma after the last array item in a multi-line array.
(#46) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#55) There should be a comma after the last array item in a multi-line array.
(#56) There should be a comma after the last array item in a multi-line array.
(#60) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#65) There should be a comma after the last array item in a multi-line array.
(#66) There should be a comma after the last array item in a multi-line array.
(#70) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#76) There should be a comma after the last array item in a multi-line array.
(#77) There should be a comma after the last array item in a multi-line array.
(#81) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#88) There should be a comma after the last array item in a multi-line array.
(#89) There should be a comma after the last array item in a multi-line array.
(#93) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#100) There should be a comma after the last array item in a multi-line array.
(#101) There should be a comma after the last array item in a multi-line array.
(#105) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#112) There should be a comma after the last array item in a multi-line array.
(#113) There should be a comma after the last array item in a multi-line array.
(#117) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#123) There should be a comma after the last array item in a multi-line array.
(#124) There should be a comma after the last array item in a multi-line array.
(#127) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#132) There should be a comma after the last array item in a multi-line array.
(#133) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/db/events.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file events.php
(#1) Moodle boilerplate not found
(#17) Expected 1 newline at end of file; 0 found
mod/offlinequiz/db/install.php
(#20) Incorrect @package tag for file install.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/db/messages.php
(#2) Moodle boilerplate not found at first line
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
mod/offlinequiz/db/renamedclasses.php
(#20) Incorrect @package tag for file renamedclasses.php. Expected mod_offlinequiz, found mod.
(#31) Short array syntax must be used to define arrays
mod/offlinequiz/db/tasks.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file tasks.php. Expected mod_offlinequiz, found mod.
(#29) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#46) There should be a comma after the last array item in a multi-line array.
(#48) Short array syntax must be used to define arrays
(#55) There should be a comma after the last array item in a multi-line array.
(#56) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/db/upgrade.php
(#20) Incorrect @package tag for file upgrade.php. Expected mod_offlinequiz, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Missing docblock for function xmldb_offlinequiz_upgrade
(#44) Blank line found at start of control structure
(#79) Blank line found at start of control structure
(#91) Short array syntax must be used to define arrays
(#124) Blank line found at start of control structure
(#129) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#174) Blank line found at start of control structure
(#190) Blank line found at start of control structure
(#213) Short array syntax must be used to define arrays
(#253) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) Blank line found at start of control structure
(#258) Opening parenthesis of a multi-line function call must be the last content on the line
(#258) Only one argument is allowed per line in a multi-line function call
(#258) Only one argument is allowed per line in a multi-line function call
(#258) Only one argument is allowed per line in a multi-line function call
(#258) Only one argument is allowed per line in a multi-line function call
(#258) Only one argument is allowed per line in a multi-line function call
(#259) Multi-line function call not indented correctly; expected 8 spaces but found 33
(#259) Only one argument is allowed per line in a multi-line function call
(#259) Closing parenthesis of a multi-line function call must be on a line by itself
(#271) Blank line found at start of control structure
(#278) Short array syntax must be used to define arrays
(#285) Blank line found at start of control structure
(#299) Short array syntax must be used to define arrays
(#306) Short array syntax must be used to define arrays
(#312) Short array syntax must be used to define arrays
(#325) Blank line found at start of control structure
(#341) Short array syntax must be used to define arrays
(#344) Short array syntax must be used to define arrays
(#356) Blank line found at start of control structure
(#371) Short array syntax must be used to define arrays
(#374) Short array syntax must be used to define arrays
(#385) Blank line found at start of control structure
(#405) Short array syntax must be used to define arrays
(#408) Short array syntax must be used to define arrays
(#419) Blank line found at start of control structure
(#432) Short array syntax must be used to define arrays
(#435) Short array syntax must be used to define arrays
(#446) Blank line found at start of control structure
(#459) Short array syntax must be used to define arrays
(#470) Blank line found at start of control structure
(#491) Short array syntax must be used to define arrays
(#502) Blank line found at start of control structure
(#517) Short array syntax must be used to define arrays
(#528) Blank line found at start of control structure
(#540) Short array syntax must be used to define arrays
(#551) Blank line found at start of control structure
(#564) Short array syntax must be used to define arrays
(#567) Short array syntax must be used to define arrays
(#580) Inline comments must end in full-stops, exclamation marks, or question marks
(#583) Blank line found at start of control structure
(#614) Blank line found at start of control structure
(#649) Blank line found at start of control structure
(#663) Blank line found at start of control structure
(#676) Short array syntax must be used to define arrays
(#689) Blank line found at start of control structure
(#694) Short array syntax must be used to define arrays
(#698) Opening parenthesis of a multi-line function call must be the last content on the line
(#699) Multi-line function call not indented correctly; expected 8 spaces but found 35
(#699) Closing parenthesis of a multi-line function call must be on a line by itself
(#703) Short array syntax must be used to define arrays
(#708) Opening parenthesis of a multi-line function call must be the last content on the line
(#708) Only one argument is allowed per line in a multi-line function call
(#708) Only one argument is allowed per line in a multi-line function call
(#708) Only one argument is allowed per line in a multi-line function call
(#709) Multi-line function call not indented correctly; expected 16 spaces but found 38
(#709) Short array syntax must be used to define arrays
(#709) Closing parenthesis of a multi-line function call must be on a line by itself
(#710) Opening parenthesis of a multi-line function call must be the last content on the line
(#710) Only one argument is allowed per line in a multi-line function call
(#710) Only one argument is allowed per line in a multi-line function call
(#710) Only one argument is allowed per line in a multi-line function call
(#711) Multi-line function call not indented correctly; expected 16 spaces but found 38
(#711) Short array syntax must be used to define arrays
(#711) Closing parenthesis of a multi-line function call must be on a line by itself
(#712) Opening parenthesis of a multi-line function call must be the last content on the line
(#712) Only one argument is allowed per line in a multi-line function call
(#712) Only one argument is allowed per line in a multi-line function call
(#712) Only one argument is allowed per line in a multi-line function call
(#713) Multi-line function call not indented correctly; expected 16 spaces but found 38
(#713) Short array syntax must be used to define arrays
(#713) Closing parenthesis of a multi-line function call must be on a line by itself
(#722) Inline comments must end in full-stops, exclamation marks, or question marks
(#723) Blank line found at start of control structure
(#728) Short array syntax must be used to define arrays
(#731) Short array syntax must be used to define arrays
(#755) Inline comments must end in full-stops, exclamation marks, or question marks
(#758) Blank line found at start of control structure
(#770) Blank line found at start of control structure
(#778) Short array syntax must be used to define arrays
(#788) Short array syntax must be used to define arrays
(#789) Short array syntax must be used to define arrays
(#798) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#798) Short array syntax must be used to define arrays
(#799) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#813) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#813) Short array syntax must be used to define arrays
(#815) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#820) Blank line found at end of control structure
(#823) Long list syntax is not allowed
(#846) Opening parenthesis of a multi-line function call must be the last content on the line
(#846) Only one argument is allowed per line in a multi-line function call
(#846) Only one argument is allowed per line in a multi-line function call
(#846) Only one argument is allowed per line in a multi-line function call
(#847) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#847) Only one argument is allowed per line in a multi-line function call
(#847) Only one argument is allowed per line in a multi-line function call
(#847) Only one argument is allowed per line in a multi-line function call
(#847) Closing parenthesis of a multi-line function call must be on a line by itself
(#864) Opening parenthesis of a multi-line function call must be the last content on the line
(#864) Only one argument is allowed per line in a multi-line function call
(#864) Only one argument is allowed per line in a multi-line function call
(#864) Only one argument is allowed per line in a multi-line function call
(#865) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#865) Only one argument is allowed per line in a multi-line function call
(#865) Only one argument is allowed per line in a multi-line function call
(#865) Only one argument is allowed per line in a multi-line function call
(#865) Closing parenthesis of a multi-line function call must be on a line by itself
(#919) Blank line found at start of control structure
(#934) Blank line found at start of control structure
(#949) Blank line found at start of control structure
(#964) Blank line found at start of control structure
(#979) Blank line found at start of control structure
(#994) Blank line found at start of control structure
(#1009) Blank line found at start of control structure
(#1022) Blank line found at start of control structure
(#1035) Blank line found at start of control structure
(#1050) Short array syntax must be used to define arrays
(#1053) Short array syntax must be used to define arrays
(#1064) Blank line found at start of control structure
(#1079) Blank line found at start of control structure
(#1083) Short array syntax must be used to define arrays
(#1097) Blank line found at start of control structure
(#1110) Blank line found at start of control structure
(#1123) Blank line found at start of control structure
(#1138) Blank line found at start of control structure
(#1149) Opening parenthesis of a multi-line function call must be the last content on the line
(#1149) Only one argument is allowed per line in a multi-line function call
(#1150) Multi-line function call not indented correctly; expected 12 spaces but found 24
(#1150) Closing parenthesis of a multi-line function call must be on a line by itself
(#1157) Opening parenthesis of a multi-line function call must be the last content on the line
(#1157) Only one argument is allowed per line in a multi-line function call
(#1157) Short array syntax must be used to define arrays
(#1158) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#1158) Only one argument is allowed per line in a multi-line function call
(#1158) Closing parenthesis of a multi-line function call must be on a line by itself
(#1159) Opening parenthesis of a multi-line function call must be the last content on the line
(#1160) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#1160) Short array syntax must be used to define arrays
(#1160) Closing parenthesis of a multi-line function call must be on a line by itself
(#1162) Short array syntax must be used to define arrays
(#1170) Opening parenthesis of a multi-line function call must be the last content on the line
(#1171) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#1171) Short array syntax must be used to define arrays
(#1171) Only one argument is allowed per line in a multi-line function call
(#1171) Closing parenthesis of a multi-line function call must be on a line by itself
(#1179) Short array syntax must be used to define arrays
(#1185) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1187) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1211) Opening parenthesis of a multi-line function call must be the last content on the line
(#1211) Only one argument is allowed per line in a multi-line function call
(#1212) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#1212) Closing parenthesis of a multi-line function call must be on a line by itself
(#1221) Blank line found at start of control structure
(#1253) Blank line found at start of control structure
(#1268) Blank line found at start of control structure
(#1311) Expected at least 1 space before "."; 0 found
(#1314) Each PHP statement must be on a line by itself
(#1324) Blank line found at end of control structure
(#1330) Blank line found at start of control structure
(#1368) Short array syntax must be used to define arrays
(#1374) Short array syntax must be used to define arrays
(#1382) Blank line found at start of control structure
(#1410) Opening parenthesis of a multi-line function call must be the last content on the line
(#1410) Only one argument is allowed per line in a multi-line function call
(#1410) Only one argument is allowed per line in a multi-line function call
(#1410) Only one argument is allowed per line in a multi-line function call
(#1410) Only one argument is allowed per line in a multi-line function call
(#1411) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1411) Only one argument is allowed per line in a multi-line function call
(#1411) Only one argument is allowed per line in a multi-line function call
(#1411) Closing parenthesis of a multi-line function call must be on a line by itself
(#1421) Short array syntax must be used to define arrays
(#1422) Short array syntax must be used to define arrays
(#1441) Expected at least 1 space before "."; 0 found
(#1441) Expected at least 1 space after "."; 0 found
(#1441) Expected at least 1 space before "."; 0 found
(#1441) Expected at least 1 space after "."; 0 found
(#1441) Expected at least 1 space before "."; 0 found
(#1441) Expected at least 1 space after "."; 0 found
(#1443) Expected at least 1 space before "."; 0 found
(#1443) Expected at least 1 space after "."; 0 found
(#1443) Expected at least 1 space before "."; 0 found
(#1443) Expected at least 1 space after "."; 0 found
(#1443) Expected at least 1 space before "."; 0 found
(#1443) Expected at least 1 space after "."; 0 found
(#1443) Expected at least 1 space before "."; 0 found
(#1443) Expected at least 1 space after "."; 0 found
(#1443) Expected at least 1 space before "."; 0 found
(#1443) Expected at least 1 space after "."; 0 found
(#1444) Long list syntax is not allowed
(#1453) Opening parenthesis of a multi-line function call must be the last content on the line
(#1453) Only one argument is allowed per line in a multi-line function call
(#1453) Only one argument is allowed per line in a multi-line function call
(#1453) Only one argument is allowed per line in a multi-line function call
(#1453) Only one argument is allowed per line in a multi-line function call
(#1453) Only one argument is allowed per line in a multi-line function call
(#1454) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1454) Only one argument is allowed per line in a multi-line function call
(#1454) Closing parenthesis of a multi-line function call must be on a line by itself
(#1461) Blank line found at start of control structure
(#1473) Blank line found at start of control structure
(#1531) Blank line found at start of control structure
(#1559) Blank line found at start of control structure
(#1571) Blank line found at start of control structure
(#1585) Blank line found at start of control structure
(#1623) Line indented incorrectly; expected 4 spaces, found 5
(#1631) Closing brace indented incorrectly; expected 5 spaces, found 4
(#1665) No space found after comma in argument list
(#1665) Commas (,) must be followed by white space.
(#1665) Expected 1 space between the comma and "[". Found: no spaces
(#1672) Blank line found at start of control structure
(#1684) Blank line found at start of control structure
(#1689) No space found after comma in argument list
(#1689) Commas (,) must be followed by white space.
(#1689) Expected 1 space between the comma and "[". Found: no spaces
(#1696) Blank line found at start of control structure
(#1701) Whitespace found at end of line
(#1710) Blank line found at start of control structure
(#1725) Blank line found at start of control structure
(#1752) Blank line found at start of control structure
(#1771) Blank line found at start of control structure
(#1772) Whitespace found at end of line
(#1773) Inline comments must end in full-stops, exclamation marks, or question marks
(#1775) Whitespace found at end of line
(#1776) Inline comments must end in full-stops, exclamation marks, or question marks
(#1780) Whitespace found at end of line
(#1781) Inline comments must end in full-stops, exclamation marks, or question marks
(#1784) Whitespace found at end of line
mod/offlinequiz/db/upgradelib.php
(#20) Incorrect @package tag for file upgradelib.php. Expected mod_offlinequiz, found mod.
(#46) Missing docblock for class offlinequiz_ilog_upgrader
(#55) Expected "bool" but found "boolean" for @var tag in member variable comment
(#58) Missing member variable doc comment
(#80) Missing docblock for function prevent_timeout
(#92) Missing docblock for function convert_all_offlinequiz_attempts
(#97) Short array syntax must be used to define arrays
(#108) Expected at least 1 space before "."; 0 found
(#127) Missing docblock for function update_all_files
(#134) Short array syntax must be used to define arrays
(#135) Expected 1 space between the comma and "// ID of context.". Found: 6 spaces
(#137) Expected 1 space between the comma and "// Usually = table name.". Found: 6 spaces
(#138) Expected 1 space between the comma and "// Usually = ID of row in table.". Found: 17 spaces
(#139) There should be a comma after the last array item in a multi-line array.
(#156) Short array syntax must be used to define arrays
(#161) There should be a comma after the last array item in a multi-line array.
(#173) Missing docblock for function update_all_group_template_usages
(#176) Opening parenthesis of a multi-line function call must be the last content on the line
(#176) Only one argument is allowed per line in a multi-line function call
(#176) Short array syntax must be used to define arrays
(#177) Multi-line function call not indented correctly; expected 8 spaces but found 35
(#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
(#177) Only one argument is allowed per line in a multi-line function call
(#177) Closing parenthesis of a multi-line function call must be on a line by itself
(#181) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#181) Short array syntax must be used to define arrays
(#182) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#182) Blank line found at start of control structure
(#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
(#185) Multi-line function call not indented correctly; expected 24 spaces but found 35
(#185) Short array syntax must be used to define arrays
(#186) Multi-line function call not indented correctly; expected 20 spaces but found 41
(#186) Closing parenthesis of a multi-line function call must be on a line by itself
(#193) Missing docblock for function update_all_results_and_logs
(#201) 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) Only one argument is allowed per line in a multi-line function call
(#203) Short array syntax must be used to define arrays
(#204) Multi-line function call not indented correctly; expected 8 spaces but found 35
(#204) Only one argument is allowed per line in a multi-line function call
(#204) Only one argument is allowed per line in a multi-line function call
(#204) Only one argument is allowed per line in a multi-line function call
(#204) Closing parenthesis of a multi-line function call must be on a line by itself
(#205) Long list syntax is not allowed
(#209) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#232) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#232) Short array syntax must be used to define arrays
(#233) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#241) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
(#256) Short array syntax must be used to define arrays
(#288) Space after opening parenthesis of function call prohibited
(#288) Expected 0 spaces before closing parenthesis; 1 found
(#328) Short array syntax must be used to define arrays
(#337) Blank line found at end of control structure
(#340) Short array syntax must be used to define arrays
(#344) Short array syntax must be used to define arrays
(#348) Long list syntax is not allowed
(#353) Expected 0 spaces after opening bracket; 1 found
(#379) Short array syntax must be used to define arrays
(#401) Expected 1 space after SWITCH keyword; 0 found
(#463) Short array syntax must be used to define arrays
(#481) Missing docblock for function get_user_name
(#482) Space before opening parenthesis of function call prohibited
(#486) Missing docblock for function get_group
(#487) Space before opening parenthesis of function call prohibited
(#492) Missing docblock for function get_item_data
(#493) Space before opening parenthesis of function call prohibited
(#504) The closing brace for the class must go on the next line after the body
(#511) Each class must be in a file by itself
(#520) Expected "bool" but found "boolean" for @var tag in member variable comment
(#543) Missing docblock for function get_quiz_ids
(#557) Short array syntax must be used to define arrays
(#559) Long list syntax is not allowed
(#572) Missing docblock for function convert_all_quiz_attempts
(#588) Short array syntax must be used to define arrays
(#600) Missing docblock for function get_attempts_extra_where
(#604) Missing docblock for function update_all_attempts_at_quiz
(#610) Short array syntax must be used to define arrays
(#648) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#650) Missing docblock for function convert_quiz_attempt
(#650) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#650) Multi-line function declarations must define one parameter per line
(#650) Multi-line function declarations must define one parameter per line
(#651) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#651) The closing parenthesis of a multi-line function declaration must be on a new line
(#654) Short array syntax must be used to define arrays
(#662) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#662) Only one argument is allowed per line in a multi-line function call
(#662) Only one argument is allowed per line in a multi-line function call
(#662) Only one argument is allowed per line in a multi-line function call
(#662) Only one argument is allowed per line in a multi-line function call
(#662) Closing parenthesis of a multi-line function call must be on a line by itself
(#668) Short array syntax must be used to define arrays
(#685) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#685) Only one argument is allowed per line in a multi-line function call
(#685) Only one argument is allowed per line in a multi-line function call
(#685) Closing parenthesis of a multi-line function call must be on a line by itself
(#694) Missing docblock for function save_usage
(#696) Short array syntax must be used to define arrays
(#722) Opening parenthesis of a multi-line function call must be the last content on the line
(#723) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#723) Only one argument is allowed per line in a multi-line function call
(#723) Closing parenthesis of a multi-line function call must be on a line by itself
(#752) Missing docblock for function set_quiz_attempt_layout
(#754) Short array syntax must be used to define arrays
(#757) Missing docblock for function delete_quiz_attempt
(#759) Short array syntax must be used to define arrays
(#760) Short array syntax must be used to define arrays
(#764) Missing docblock for function get_converter_class_name
(#768) Short array syntax must be used to define arrays
(#780) Missing docblock for function supply_missing_question_attempt
(#788) Opening parenthesis of a multi-line function call must be the last content on the line
(#788) Only one argument is allowed per line in a multi-line function call
(#788) Only one argument is allowed per line in a multi-line function call
(#789) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#789) Only one argument is allowed per line in a multi-line function call
(#789) Only one argument is allowed per line in a multi-line function call
(#789) Only one argument is allowed per line in a multi-line function call
(#789) Closing parenthesis of a multi-line function call must be on a line by itself
(#795) Missing docblock for function prevent_timeout
(#807) Missing docblock for function convert_question_attempt
(#812) Opening parenthesis of a multi-line function call must be the last content on the line
(#812) Only one argument is allowed per line in a multi-line function call
(#812) Only one argument is allowed per line in a multi-line function call
(#812) Only one argument is allowed per line in a multi-line function call
(#813) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#813) Only one argument is allowed per line in a multi-line function call
(#813) Only one argument is allowed per line in a multi-line function call
(#813) Closing parenthesis of a multi-line function call must be on a line by itself
(#819) Missing docblock for function decode_random_attempt
(#829) Long list syntax is not allowed
(#847) Short array syntax must be used to define arrays
(#850) Missing docblock for function prepare_to_restore
(#864) Each class must be in a file by itself
(#864) Opening brace must not be followed by a blank line
(#866) Missing docblock for function load_question
(#876) Short array syntax must be used to define arrays
(#905) The closing brace for the class must go on the next line after the body
(#916) Short array syntax must be used to define arrays
(#920) Short array syntax must be used to define arrays
(#922) Short array syntax must be used to define arrays
(#926) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#926) Short array syntax must be used to define arrays
(#927) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#961) Blank line found at start of control structure
(#967) Opening parenthesis of a multi-line function call must be the last content on the line
(#967) Only one argument is allowed per line in a multi-line function call
(#967) Short array syntax must be used to define arrays
(#967) Only one argument is allowed per line in a multi-line function call
(#967) Only one argument is allowed per line in a multi-line function call
(#967) Only one argument is allowed per line in a multi-line function call
(#968) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#968) Closing parenthesis of a multi-line function call must be on a line by itself
(#995) Missing docblock for function offlinequiz_update_refresh_all_pagecounts
(#1011) Short array syntax must be used to define arrays
(#1042) Missing docblock for function offlinequiz_get_number_of_columns
(#1044) Short array syntax must be used to define arrays
(#1051) Missing docblock for function offlinequiz_get_number_of_pages
(#1055) Missing docblock for function offlinequiz_fix_question_versions
(#1057) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1057) Inline comments must end in full-stops, exclamation marks, or question marks
(#1061) Line exceeds 132 characters; contains 134 characters
(#1062) Line exceeds 132 characters; contains 140 characters
(#1078) Line exceeds 132 characters; contains 160 characters
(#1111) Line exceeds 132 characters; contains 171 characters
(#1112) Line indented incorrectly; expected 4 spaces, found 3
(#1112) Closing brace indented incorrectly; expected 4 spaces, found 3
(#1113) Line indented incorrectly; expected at least 4 spaces, found 3
(#1115) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#1117) Missing docblock for function offlinequiz_fix_question_references
(#1119) Line exceeds 132 characters; contains 172 characters
(#1127) Line exceeds 132 characters; contains 147 characters
mod/offlinequiz/documentlib.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#20) Incorrect @package tag for file documentlib.php. Expected mod_offlinequiz, found mod.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Missing docblock for function offlinequiz_get_question_infostring
(#46) Expected at least 1 space before "."; 0 found
(#51) Blank line found at end of control structure
(#56) Missing docblock for function offlinequiz_get_questioninfo
(#58) Blank line found at start of control structure
(#69) Blank line found at end of control structure
(#82) Missing docblock for function offlinequiz_get_amount_correct_answers
mod/offlinequiz/docxlib.php
(#20) Incorrect @package tag for file docxlib.php. Expected mod_offlinequiz, found mod.
(#102) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#168) Short array syntax must be used to define arrays
(#174) Missing docblock for function offlinequiz_convert_super_text_docx
(#175) Short array syntax must be used to define arrays
(#176) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#205) Missing docblock for function offlinequiz_convert_sub_text_docx
(#206) Short array syntax must be used to define arrays
(#207) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#243) Short array syntax must be used to define arrays
(#247) Short array syntax must be used to define arrays
(#265) Short array syntax must be used to define arrays
(#280) Short array syntax must be used to define arrays
(#281) Short array syntax must be used to define arrays
(#285) Short array syntax must be used to define arrays
(#303) Short array syntax must be used to define arrays
(#320) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#333) Short array syntax must be used to define arrays
(#349) Short array syntax must be used to define arrays
(#390) Short array syntax must be used to define arrays
(#402) Missing docblock for function offlinequiz_print_answers_docx
(#402) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#402) Multi-line function declarations must define one parameter per line
(#402) Multi-line function declarations must define one parameter per line
(#402) Multi-line function declarations must define one parameter per line
(#403) Multi-line function declaration not indented correctly; expected 4 spaces but found 6
(#403) Multi-line function declarations must define one parameter per line
(#403) Multi-line function declarations must define one parameter per line
(#403) Multi-line function declarations must define one parameter per line
(#403) Multi-line function declarations must define one parameter per line
(#403) Multi-line function declarations must define one parameter per line
(#403) The closing parenthesis of a multi-line function declaration must be on a new line
(#415) Line exceeds 132 characters; contains 139 characters
(#419) Opening parenthesis of a multi-line function call must be the last content on the line
(#419) Only one argument is allowed per line in a multi-line function call
(#420) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#420) Only one argument is allowed per line in a multi-line function call
(#420) Only one argument is allowed per line in a multi-line function call
(#420) Only one argument is allowed per line in a multi-line function call
(#420) Only one argument is allowed per line in a multi-line function call
(#420) Only one argument is allowed per line in a multi-line function call
(#420) Closing parenthesis of a multi-line function call must be on a line by itself
(#444) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#444) Multi-line function declarations must define one parameter per line
(#444) Multi-line function declarations must define one parameter per line
(#445) Multi-line function declaration not indented correctly; expected 4 spaces but found 42
(#445) Multi-line function declarations must define one parameter per line
(#445) Multi-line function declarations must define one parameter per line
(#445) The closing parenthesis of a multi-line function declaration must be on a new line
(#456) Short array syntax must be used to define arrays
(#460) Short array syntax must be used to define arrays
(#462) Short array syntax must be used to define arrays
(#464) Short array syntax must be used to define arrays
(#465) Short array syntax must be used to define arrays
(#467) Short array syntax must be used to define arrays
(#469) Short array syntax must be used to define arrays
(#470) Short array syntax must be used to define arrays
(#472) Short array syntax must be used to define arrays
(#474) Short array syntax must be used to define arrays
(#477) Short array syntax must be used to define arrays
(#478) Short array syntax must be used to define arrays
(#480) Short array syntax must be used to define arrays
(#482) Short array syntax must be used to define arrays
(#483) Short array syntax must be used to define arrays
(#484) Short array syntax must be used to define arrays
(#485) Short array syntax must be used to define arrays
(#486) There should be a comma after the last array item in a multi-line array.
(#487) There should be a comma after the last array item in a multi-line array.
(#491) Short array syntax must be used to define arrays
(#492) Short array syntax must be used to define arrays
(#500) Short array syntax must be used to define arrays
(#502) There should be a comma after the last array item in a multi-line array.
(#510) Short array syntax must be used to define arrays
(#512) There should be a comma after the last array item in a multi-line array.
(#524) Expected at least 1 space before "."; 0 found
(#524) Expected at least 1 space after "."; 0 found
(#534) Short array syntax must be used to define arrays
(#534) Expected 0 spaces before closing parenthesis; 1 found
(#535) Short array syntax must be used to define arrays
(#539) Short array syntax must be used to define arrays
(#540) Short array syntax must be used to define arrays
(#544) Line exceeds 132 characters; contains 141 characters
(#586) Short array syntax must be used to define arrays
(#611) Short array syntax must be used to define arrays
(#612) Expected 1 space between the comma and "'left'". Found: 2 spaces
(#614) There should be a comma after the last array item in a multi-line array.
(#620) Blank line found at start of control structure
(#647) Opening parenthesis of a multi-line function call must be the last content on the line
(#647) Only one argument is allowed per line in a multi-line function call
(#647) Only one argument is allowed per line in a multi-line function call
(#647) Only one argument is allowed per line in a multi-line function call
(#648) Multi-line function call not indented correctly; expected 12 spaces but found 52
(#648) Only one argument is allowed per line in a multi-line function call
(#648) Only one argument is allowed per line in a multi-line function call
(#648) Only one argument is allowed per line in a multi-line function call
(#648) Closing parenthesis of a multi-line function call must be on a line by itself
(#653) Blank line found at start of control structure
(#656) Opening parenthesis of a multi-line function call must be the last content on the line
(#656) Only one argument is allowed per line in a multi-line function call
(#656) Only one argument is allowed per line in a multi-line function call
(#656) Only one argument is allowed per line in a multi-line function call
(#657) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#657) Only one argument is allowed per line in a multi-line function call
(#657) Only one argument is allowed per line in a multi-line function call
(#657) Only one argument is allowed per line in a multi-line function call
(#657) Only one argument is allowed per line in a multi-line function call
(#657) Only one argument is allowed per line in a multi-line function call
(#657) Closing parenthesis of a multi-line function call must be on a line by itself
(#662) Blank line found at start of control structure
(#665) Short array syntax must be used to define arrays
(#673) Blank line found at start of control structure
(#702) Opening parenthesis of a multi-line function call must be the last content on the line
(#702) Only one argument is allowed per line in a multi-line function call
(#702) Only one argument is allowed per line in a multi-line function call
(#702) Only one argument is allowed per line in a multi-line function call
(#703) Multi-line function call not indented correctly; expected 12 spaces but found 52
(#703) Only one argument is allowed per line in a multi-line function call
(#703) Only one argument is allowed per line in a multi-line function call
(#703) Only one argument is allowed per line in a multi-line function call
(#703) Closing parenthesis of a multi-line function call must be on a line by itself
(#714) Blank line found at start of control structure
(#721) Opening parenthesis of a multi-line function call must be the last content on the line
(#721) Only one argument is allowed per line in a multi-line function call
(#721) Only one argument is allowed per line in a multi-line function call
(#721) Only one argument is allowed per line in a multi-line function call
(#722) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#722) Only one argument is allowed per line in a multi-line function call
(#722) Only one argument is allowed per line in a multi-line function call
(#722) Only one argument is allowed per line in a multi-line function call
(#722) Only one argument is allowed per line in a multi-line function call
(#722) Only one argument is allowed per line in a multi-line function call
(#722) Closing parenthesis of a multi-line function call must be on a line by itself
(#752) Opening parenthesis of a multi-line function call must be the last content on the line
(#753) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#753) Only one argument is allowed per line in a multi-line function call
(#753) Only one argument is allowed per line in a multi-line function call
(#753) Only one argument is allowed per line in a multi-line function call
(#753) Only one argument is allowed per line in a multi-line function call
(#753) Only one argument is allowed per line in a multi-line function call
(#753) Closing parenthesis of a multi-line function call must be on a line by itself
(#755) Short array syntax must be used to define arrays
(#764) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#764) Opening parenthesis of a multi-line function call must be the last content on the line
(#764) Only one argument is allowed per line in a multi-line function call
(#764) Only one argument is allowed per line in a multi-line function call
(#765) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#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
(#765) Closing parenthesis of a multi-line function call must be on a line by itself
(#765) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#780) Line exceeds 132 characters; contains 142 characters
(#794) Short array syntax must be used to define arrays
(#795) Short array syntax must be used to define arrays
mod/offlinequiz/edit.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#37) Incorrect @package tag for file edit.php. Expected mod_offlinequiz, found mod.
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) This comment is 64% valid code; is this commented out code?
(#62) Long list syntax is not allowed
(#65) Short array syntax must be used to define arrays
(#115) Line exceeds 132 characters; contains 134 characters
(#137) Line exceeds 132 characters; contains 158 characters
(#150) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#155) There should be a comma after the last array item in a multi-line array.
(#163) Short array syntax must be used to define arrays
(#177) Short array syntax must be used to define arrays
(#185) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#186) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#208) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#212) Short array syntax must be used to define arrays
(#213) Each line in a multi-line control structure must be indented at least once; expected at least 8 spaces, but found 4
(#213) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#234) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#238) Short array syntax must be used to define arrays
(#239) Each line in a multi-line control structure must be indented at least once; expected at least 16 spaces, but found 12
(#239) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#251) This comment is 59% valid code; is this commented out code?
(#274) Inline comments must start with a capital letter, digit or 3-dots sequence
(#274) Inline comments must end in full-stops, exclamation marks, or question marks
(#274) This comment is 71% valid code; is this commented out code?
(#274) No space found before comment text; expected "// quiz_add_random_questions($quiz, $addonpage, $categoryid, $randomcount, $recurse);" but found "//quiz_add_random_questions($quiz, $addonpage, $categoryid, $randomcount, $recurse);"
(#276) Inline comments must start with a capital letter, digit or 3-dots sequence
(#276) This comment is 75% valid code; is this commented out code?
(#276) No space found before comment text; expected "// quiz_delete_previews($quiz);" but found "//quiz_delete_previews($quiz);"
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#277) No space found before comment text; expected "// $gradecalculator->recompute_quiz_sumgrades();" but found "//$gradecalculator->recompute_quiz_sumgrades();"
(#281) Blank line found at start of control structure
(#332) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#334) Short array syntax must be used to define arrays
(#339) Each line in a multi-line control structure must be indented at least once; expected at least 8 spaces, but found 4
(#339) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#375) Short array syntax must be used to define arrays
(#376) Short array syntax must be used to define arrays
(#381) Short array syntax must be used to define arrays
(#390) Short array syntax must be used to define arrays
(#393) Short array syntax must be used to define arrays
mod/offlinequiz/edit_rest.php
(#51) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#75) Expected 1 space after SWITCH keyword; 0 found
(#77) The CASE body must start on the line following the statement
(#89) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#112) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#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) Short array syntax must be used to define arrays
(#113) Multi-line function call not indented correctly; expected 28 spaces but found 32
(#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
(#113) Only one argument is allowed per line in a multi-line function call
(#113) Closing parenthesis of a multi-line function call must be on a line by itself
(#113) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#120) Line exceeds 132 characters; contains 141 characters
(#124) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#151) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#151) Opening parenthesis of a multi-line function call must be the last content on the line
(#152) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#152) Short array syntax must be used to define arrays
(#152) Closing parenthesis of a multi-line function call must be on a line by itself
(#152) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#153) Expected at least 1 space before "."; 0 found
(#153) Expected at least 1 space after "."; 0 found
(#158) Short array syntax must be used to define arrays
mod/offlinequiz/evallib.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#20) Incorrect @package tag for file evallib.php. Expected mod_offlinequiz, found mod.
(#30) Expected at least 1 space before "."; 0 found
(#50) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#50) Multi-line function declarations must define one parameter per line
(#50) Multi-line function declarations must define one parameter per line
(#51) Multi-line function declaration not indented correctly; expected 4 spaces but found 9
(#51) Multi-line function declarations must define one parameter per line
(#51) Multi-line function declarations must define one parameter per line
(#51) Multi-line function declarations must define one parameter per line
(#51) Multi-line function declarations must define one parameter per line
(#51) The closing parenthesis of a multi-line function declaration must be on a new line
(#73) Short array syntax must be used to define arrays
(#76) Opening parenthesis of a multi-line function call must be the last content on the line
(#76) Only one argument is allowed per line in a multi-line function call
(#77) Multi-line function call not indented correctly; expected 12 spaces but found 52
(#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
(#101) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#101) Short array syntax must be used to define arrays
(#102) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#110) Short array syntax must be used to define arrays
(#111) Expected 0 spaces after opening bracket; 1 found
(#111) Expected 0 spaces before closing bracket; 1 found
(#119) Opening parenthesis of a multi-line function call must be the last content on the line
(#119) Only one argument is allowed per line in a multi-line function call
(#119) Only one argument is allowed per line in a multi-line function call
(#120) Multi-line function call not indented correctly; expected 12 spaces but found 17
(#120) Only one argument is allowed per line in a multi-line function call
(#120) Only one argument is allowed per line in a multi-line function call
(#120) Only one argument is allowed per line in a multi-line function call
(#120) Only one argument is allowed per line in a multi-line function call
(#120) Closing parenthesis of a multi-line function call must be on a line by itself
(#132) Short array syntax must be used to define arrays
(#192) Short array syntax must be used to define arrays
(#204) Opening parenthesis of a multi-line function call must be the last content on the line
(#205) Multi-line function call not indented correctly; expected 20 spaces but found 47
(#205) Short array syntax must be used to define arrays
(#207) Multi-line function call not indented correctly; expected 16 spaces but found 53
(#207) Only one argument is allowed per line in a multi-line function call
(#207) Closing parenthesis of a multi-line function call must be on a line by itself
(#218) Short array syntax must be used to define arrays
(#236) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#238) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#248) Short array syntax must be used to define arrays
(#249) Blank line found at start of control structure
(#261) Opening parenthesis of a multi-line function call must be the last content on the line
(#262) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#262) Short array syntax must be used to define arrays
(#263) Multi-line function call not indented correctly; expected 16 spaces but found 30
(#263) Closing parenthesis of a multi-line function call must be on a line by itself
(#265) This comment is 50% valid code; is this commented out code?
(#308) Short array syntax must be used to define arrays
(#314) Short array syntax must be used to define arrays
(#331) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#331) Multi-line function declarations must define one parameter per line
(#331) Multi-line function declarations must define one parameter per line
(#332) Multi-line function declaration not indented correctly; expected 4 spaces but found 42
(#332) Multi-line function declarations must define one parameter per line
(#332) Multi-line function declarations must define one parameter per line
(#332) Multi-line function declarations must define one parameter per line
(#332) The closing parenthesis of a multi-line function declaration must be on a new line
(#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 33
(#339) Short array syntax must be used to define arrays
(#339) Closing parenthesis of a multi-line function call must be on a line by itself
(#340) Short array syntax must be used to define arrays
(#341) Short array syntax must be used to define arrays
(#356) Space after opening parenthesis of function call prohibited
(#356) Expected 0 spaces before closing parenthesis; 1 found
(#361) Short array syntax must be used to define arrays
(#363) Blank line found at start of control structure
(#374) Short array syntax must be used to define arrays
(#376) Short array syntax must be used to define arrays
(#407) This comment is 43% valid code; is this commented out code?
(#409) Logical operator "and" is prohibited; use "&&" instead
(#444) Short array syntax must be used to define arrays
(#448) Blank line found at start of control structure
(#457) Short array syntax must be used to define arrays
(#490) Blank line found at end of control structure
(#517) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#517) Multi-line function declarations must define one parameter per line
(#517) Multi-line function declarations must define one parameter per line
(#517) Multi-line function declarations must define one parameter per line
(#518) Multi-line function declaration not indented correctly; expected 4 spaces but found 51
(#518) Multi-line function declarations must define one parameter per line
(#518) The closing parenthesis of a multi-line function declaration must be on a new line
(#521) Logical operator "and" is prohibited; use "&&" instead
(#522) Short array syntax must be used to define arrays
(#523) Short array syntax must be used to define arrays
(#530) Short array syntax must be used to define arrays
(#531) Short array syntax must be used to define arrays
(#532) Short array syntax must be used to define arrays
(#535) Short array syntax must be used to define arrays
(#537) Short array syntax must be used to define arrays
(#539) Short array syntax must be used to define arrays
(#540) Short array syntax must be used to define arrays
(#544) Short array syntax must be used to define arrays
(#545) Opening parenthesis of a multi-line function call must be the last content on the line
(#545) Only one argument is allowed per line in a multi-line function call
(#546) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#546) Only one argument is allowed per line in a multi-line function call
(#546) Only one argument is allowed per line in a multi-line function call
(#546) Only one argument is allowed per line in a multi-line function call
(#546) Closing parenthesis of a multi-line function call must be on a line by itself
(#551) Short array syntax must be used to define arrays
(#553) Short array syntax must be used to define arrays
(#553) Blank line found at start of control structure
(#556) Short array syntax must be used to define arrays
(#563) Missing docblock for function offlinequiz_reprocess_scannedpage
(#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
(#571) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#571) Only one argument is allowed per line in a multi-line function call
(#571) Only one argument is allowed per line in a multi-line function call
(#571) Closing parenthesis of a multi-line function call must be on a line by itself
(#589) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#589) Multi-line function declarations must define one parameter per line
(#589) Multi-line function declarations must define one parameter per line
(#590) Multi-line function declaration not indented correctly; expected 4 spaces but found 44
(#590) Multi-line function declarations must define one parameter per line
(#590) Multi-line function declarations must define one parameter per line
(#590) The closing parenthesis of a multi-line function declaration must be on a new line
(#593) Logical operator "and" is prohibited; use "&&" instead
(#594) Short array syntax must be used to define arrays
(#595) Short array syntax must be used to define arrays
(#600) Short array syntax must be used to define arrays
(#602) Short array syntax must be used to define arrays
(#604) Short array syntax must be used to define arrays
(#606) Opening parenthesis of a multi-line function call must be the last content on the line
(#606) Only one argument is allowed per line in a multi-line function call
(#607) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#607) Only one argument is allowed per line in a multi-line function call
(#607) Only one argument is allowed per line in a multi-line function call
(#607) Only one argument is allowed per line in a multi-line function call
(#607) Closing parenthesis of a multi-line function call must be on a line by itself
(#612) Short array syntax must be used to define arrays
(#614) Short array syntax must be used to define arrays
(#616) Short array syntax must be used to define arrays
(#637) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#641) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#641) Short array syntax must be used to define arrays
(#641) Closing parenthesis of a multi-line function call must be on a line by itself
(#663) Short array syntax must be used to define arrays
(#668) Short array syntax must be used to define arrays
(#677) Short array syntax must be used to define arrays
(#682) Short array syntax must be used to define arrays
(#683) Short array syntax must be used to define arrays
(#701) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#701) Opening parenthesis of a multi-line function call must be the last content on the line
(#702) Multi-line function call not indented correctly; expected 4 spaces but found 39
(#702) Short array syntax must be used to define arrays
(#702) Only one argument is allowed per line in a multi-line function call
(#702) Closing parenthesis of a multi-line function call must be on a line by itself
(#702) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#702) Blank line found at start of control structure
(#704) Short array syntax must be used to define arrays
(#706) Short array syntax must be used to define arrays
(#709) Short array syntax must be used to define arrays
(#720) Short array syntax must be used to define arrays
(#725) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#725) Opening parenthesis of a multi-line function call must be the last content on the line
(#725) Only one argument is allowed per line in a multi-line function call
(#726) Multi-line function call not indented correctly; expected 8 spaces but found 40
(#726) Short array syntax must be used to define arrays
(#726) Closing parenthesis of a multi-line function call must be on a line by itself
(#726) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#727) Short array syntax must be used to define arrays
(#730) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#731) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#781) Short array syntax must be used to define arrays
(#783) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#801) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#801) Multi-line function declarations must define one parameter per line
(#802) Multi-line function declaration not indented correctly; expected 4 spaces but found 53
(#802) Multi-line function declarations must define one parameter per line
(#802) Multi-line function declarations must define one parameter per line
(#802) Multi-line function declarations must define one parameter per line
(#802) The closing parenthesis of a multi-line function declaration must be on a new line
(#818) Opening parenthesis of a multi-line function call must be the last content on the line
(#822) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#822) Short array syntax must be used to define arrays
(#822) Closing parenthesis of a multi-line function call must be on a line by itself
(#823) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#826) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#829) Inline comments must start with a capital letter, digit or 3-dots sequence
(#829) Inline comments must end in full-stops, exclamation marks, or question marks
(#851) Short array syntax must be used to define arrays
(#877) Opening parenthesis of a multi-line function call must be the last content on the line
(#880) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#880) Short array syntax must be used to define arrays
(#880) Closing parenthesis of a multi-line function call must be on a line by itself
(#881) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#883) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#883) Blank line found at start of control structure
(#887) Inline comments must start with a capital letter, digit or 3-dots sequence
(#887) Inline comments must end in full-stops, exclamation marks, or question marks
(#905) Short array syntax must be used to define arrays
(#922) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#922) Multi-line function declarations must define one parameter per line
(#923) Multi-line function declaration not indented correctly; expected 4 spaces but found 55
(#923) Multi-line function declarations must define one parameter per line
(#923) Multi-line function declarations must define one parameter per line
(#923) The closing parenthesis of a multi-line function declaration must be on a new line
(#959) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#959) Opening parenthesis of a multi-line function call must be the last content on the line
(#960) Multi-line function call not indented correctly; expected 16 spaces but found 50
(#960) Short array syntax must be used to define arrays
(#960) Closing parenthesis of a multi-line function call must be on a line by itself
(#960) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#963) Short array syntax must be used to define arrays
(#978) Inline comments must start with a capital letter, digit or 3-dots sequence
(#978) This comment is 64% valid code; is this commented out code?
(#988) Short array syntax must be used to define arrays
(#1017) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1017) Short array syntax must be used to define arrays
(#1018) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1021) Short array syntax must be used to define arrays
(#1026) Short array syntax must be used to define arrays
(#1037) Short array syntax must be used to define arrays
(#1041) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1041) Inline comments must end in full-stops, exclamation marks, or question marks
(#1045) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1045) Inline comments must end in full-stops, exclamation marks, or question marks
(#1055) Line exceeds 132 characters; contains 135 characters
(#1055) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1055) This comment is 45% valid code; is this commented out code?
(#1067) Function closing brace must go on the next line following the body; found 1 blank lines before brace
mod/offlinequiz/html2text.php
(#20) Incorrect @package tag for file html2text.php. Expected mod_offlinequiz, found mod.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Missing docblock for class offlinequiz_html_translator
(#31) Missing member variable doc comment
(#31) Short array syntax must be used to define arrays
(#33) Missing docblock for function __construct
(#34) Short array syntax must be used to define arrays
(#48) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#48) Multi-line function declarations must define one parameter per line
(#48) Multi-line function declarations must define one parameter per line
(#48) Multi-line function declarations must define one parameter per line
(#48) Multi-line function declarations must define one parameter per line
(#49) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#49) Multi-line function declarations must define one parameter per line
(#49) Multi-line function declarations must define one parameter per line
(#49) The closing parenthesis of a multi-line function declaration must be on a new line
(#51) Expected at least 1 space before "."; 0 found
(#51) Expected at least 1 space after "."; 0 found
(#52) Expected at least 1 space before "."; 0 found
(#52) Expected at least 1 space after "."; 0 found
(#64) Short array syntax must be used to define arrays
(#90) Blank line found at start of control structure
(#99) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#99) Opening parenthesis of a multi-line function call must be the last content on the line
(#99) Only one argument is allowed per line in a multi-line function call
(#99) Only one argument is allowed per line in a multi-line function call
(#99) Only one argument is allowed per line in a multi-line function call
(#99) Only one argument is allowed per line in a multi-line function call
(#100) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#100) Closing parenthesis of a multi-line function call must be on a line by itself
(#100) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#105) Expected at least 1 space after "."; 0 found
(#118) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#142) Expected at least 1 space before "."; 0 found
(#142) Expected at least 1 space after "."; 0 found
(#171) Short array syntax must be used to define arrays
(#179) Expected at least 1 space before "."; 0 found
(#179) Expected at least 1 space after "."; 0 found
(#179) Expected at least 1 space before "."; 0 found
(#179) Expected at least 1 space after "."; 0 found
(#222) Logical operator "and" is prohibited; use "&&" instead
(#226) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#226) Closing parenthesis of a multi-line function call must be on a line by itself
(#236) Expected at least 1 space after "."; 0 found
(#238) Blank line found at start of control structure
(#247) Expected at least 1 space after "."; 0 found
mod/offlinequiz/image.php
(#20) Incorrect @package tag for file image.php. Expected mod_offlinequiz, found mod.
(#36) Short array syntax must be used to define arrays
(#37) Line exceeds 132 characters; contains 142 characters
(#39) Short array syntax must be used to define arrays
(#40) Line exceeds 132 characters; contains 140 characters
(#42) Short array syntax must be used to define arrays
(#43) Line exceeds 132 characters; contains 147 characters
(#45) Short array syntax must be used to define arrays
(#46) Line exceeds 132 characters; contains 142 characters
(#49) Line exceeds 132 characters; contains 138 characters
(#51) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#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
(#51) Short array syntax must be used to define arrays
(#51) Only one argument is allowed per line in a multi-line function call
(#51) Only one argument is allowed per line in a multi-line function call
(#51) Only one argument is allowed per line in a multi-line function call
(#52) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#52) Closing parenthesis of a multi-line function call must be on a line by itself
(#52) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#53) Line exceeds 132 characters; contains 142 characters
(#59) Logical operator "and" is prohibited; use "&&" instead
(#60) Line exceeds 132 characters; contains 142 characters
(#63) Logical operator "and" is prohibited; use "&&" instead
(#64) Line exceeds 132 characters; contains 142 characters
(#69) Logical operator "and" is prohibited; use "&&" instead
(#70) Line exceeds 132 characters; contains 142 characters
(#73) Short array syntax must be used to define arrays
(#89) Long list syntax is not allowed
(#89) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#123) Space after opening parenthesis of function call prohibited
(#123) Expected 0 spaces before closing parenthesis; 1 found
(#126) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#151) Blank line found at start of control structure
(#155) Long list syntax is not allowed
(#169) Opening parenthesis of a multi-line function call must be the last content on the line
(#170) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#170) Short array syntax must be used to define arrays
(#170) Closing parenthesis of a multi-line function call must be on a line by itself
(#179) Blank line found at start of control structure
(#193) Logical operator "and" is prohibited; use "&&" instead
(#195) Expected at least 1 space before "."; 0 found
(#195) Expected at least 1 space after "."; 0 found
(#199) Expected at least 1 space before "."; 0 found
(#199) Expected at least 1 space after "."; 0 found
(#199) Expected at least 1 space before "."; 0 found
(#199) Expected at least 1 space after "."; 0 found
(#199) Expected at least 1 space before "."; 0 found
(#199) Expected at least 1 space after "."; 0 found
(#200) Logical operator "and" is prohibited; use "&&" instead
(#202) Expected at least 1 space before "."; 0 found
(#202) Expected at least 1 space after "."; 0 found
(#205) Expected at least 1 space before "."; 0 found
(#206) Expected at least 1 space before "."; 0 found
(#206) Expected at least 1 space after "."; 0 found
(#206) Expected at least 1 space before "."; 0 found
(#206) Expected at least 1 space after "."; 0 found
(#207) Logical operator "and" is prohibited; use "&&" instead
(#209) Expected at least 1 space before "."; 0 found
(#209) Expected at least 1 space after "."; 0 found
(#213) Expected at least 1 space before "."; 0 found
(#213) Expected at least 1 space after "."; 0 found
(#213) Expected at least 1 space before "."; 0 found
(#213) Expected at least 1 space after "."; 0 found
(#213) Expected at least 1 space before "."; 0 found
(#213) Expected at least 1 space after "."; 0 found
(#223) Expected at least 1 space before "."; 0 found
(#223) Expected at least 1 space after "."; 0 found
(#226) Expected at least 1 space before "."; 0 found
(#226) Expected at least 1 space after "."; 0 found
(#232) Expected at least 1 space before "."; 0 found
(#232) Expected at least 1 space after "."; 0 found
(#256) Expected at least 1 space before "."; 0 found
(#256) Expected at least 1 space after "."; 0 found
(#257) Expected at least 1 space before "."; 0 found
(#257) Expected at least 1 space after "."; 0 found
(#281) Blank line found at start of control structure
(#285) Blank line found at start of control structure
(#298) Expected at least 1 space before "."; 0 found
(#298) Expected at least 1 space after "."; 0 found
(#298) Expected at least 1 space before "."; 0 found
(#298) Expected at least 1 space after "."; 0 found
(#299) Expected at least 1 space before "."; 0 found
(#299) Expected at least 1 space after "."; 0 found
mod/offlinequiz/index.php
(#20) Incorrect @package tag for file index.php. Expected mod_offlinequiz, found mod.
(#33) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#46) There should be a comma after the last array item in a multi-line array.
(#59) Expected at least 1 space before "."; 0 found
(#59) Expected at least 1 space after "."; 0 found
(#59) Expected at least 1 space before "."; 0 found
(#59) Expected at least 1 space after "."; 0 found
(#84) Expected 0 spaces before closing bracket; 1 found
(#99) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#107) Expected at least 1 space before "."; 0 found
(#107) Expected at least 1 space after "."; 0 found
(#116) Blank line found at end of control structure
(#136) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#177) Blank line found at end of control structure
(#180) Long list syntax is not allowed
mod/offlinequiz/lang/en/offlinequiz.php
(#20) Incorrect @package tag for file offlinequiz.php. Expected mod_offlinequiz, found mod.
(#33) The string key "addnewquestion" is not in the correct order, it should be before "pluginname"
(#34) The string key "add" is not in the correct order, it should be before "addnewquestion"
(#36) The string key "addarandomselectedquestion" is not in the correct order, it should be before "addlist"
(#50) The string key "addarandomquestion" is not in the correct order, it should be before "addrandomquestiontopage"
(#62) The string key "answerform" is not in the correct order, it should be before "answerformforgroup"
(#73) The string key "attendancesevaluationheadline" is not in the correct order, it should be before "attendancespreparationheadline"
(#74) The string key "attendanceoverview" is not in the correct order, it should be before "attendancesevaluationheadline"
(#81) The string key "backtopreview" is not in the correct order, it should be before "blackwhitethreshold"
(#111) The string key "configpapergray" is not in the correct order, it should be before "configuseridentification"
(#112) The string key "configshufflewithin" is duplicated
(#115) The string key "copy" is not in the correct order, it should be before "copyright"
(#132) The string key "correcterror" is not in the correct order, it should be before "correctionheader_help"
(#140) The string key "couldnotextractpages" is not in the correct order, it should be before "couldnotgrab"
(#143) The string key "couldnotextracttiff" is not in the correct order, it should be before "couldnotregister"
(#144) The string key "couldnotextractpdf" is not in the correct order, it should be before "couldnotextracttiff"
(#147) The string key "createlistfirst" is not in the correct order, it should be before "createofflinequiz"
(#152) The string key "createpdf" is not in the correct order, it should be before "createpdfforms"
(#163) The string key "configdecimalplaces" is not in the correct order, it should be before "datanotsaved"
(#170) The string key "defaultpdffont" is not in the correct order, it should be before "defaultpdffontsize_help"
(#174) The string key "deletepagesafterselected" is not in the correct order, it should be before "deleteresultcheck"
(#176) The string key "deletepagecheck" is not in the correct order, it should be before "deletepartcheck"
(#180) The string key "deleteselectedpart" is not in the correct order, it should be before "deleteselectedresults"
(#186) The string key "difficultytitle" is not in the correct order, it should be before "difficultytitlediff"
(#205) The string key "editgroups" is not in the correct order, it should be before "editlists"
(#206) The string key "editgroupquestions" is not in the correct order, it should be before "editgroups"
(#212) The string key "editmaxmark" is not in the correct order, it should be before "editofflinequiz"
(#224) The string key "errormultiuserinlist" is not in the correct order, it should be before "errorreport"
(#226) The string key "evaluated" is not in the correct order, it should be before "evaluation"
(#251) The string key "fileformat" is not in the correct order, it should be before "fileprefixparticipants"
(#256) The string key "fontfamilycourier" is not in the correct order, it should be before "fontsize"
(#297) The string key "group" is not in the correct order, it should be before "rediswrong"
(#320) The string key "import" is not in the correct order, it should be before "importfromto"
(#326) The string key "importedon" is not in the correct order, it should be before "importnew_help"
(#342) The string key "insecuremarkings" is not in the correct order, it should be before "insecuremarkingsforquestion"
(#390) The string key "copyselectedtogroup" is not in the correct order, it should be before "moveselectedonpage"
(#394) The string key "moodleprocessing" is not in the correct order, it should be before "multipleanswers"
(#409) The string key "nomcquestions" is not in the correct order, it should be before "noscannedpage"
(#417) The string key "noquestionselected" is not in the correct order, it should be before "noquestionsonpage"
(#436) The string key "editofflinesettings" is not in the correct order, it should be before "offlineimplementationfor"
(#445) The string key "offlinequiz:addinstance" is not in the correct order, it should be before "offlinequizsettings"
(#449) The string key "offlinequiz:createofflinequiz" is not in the correct order, it should be before "offlinequizcloses"
(#454) The string key "offlinequiz:preview" is not in the correct order, it should be before "offlinequizopens"
(#456) The string key "offlinequiz:view" is not in the correct order, it should be before "offlinequiz:viewreports"
(#464) The string key "orderandpaging" is not in the correct order, it should be before "orderingofflinequiz"
(#479) The string key "page-mod-offlinequiz-x" is not in the correct order, it should be before "pageimported"
(#480) The string key "page-mod-offlinequiz-edit" is not in the correct order, it should be before "page-mod-offlinequiz-x"
(#483) The string key "pagenotdetected" is not in the correct order, it should be before "pagenumberupdate"
(#489) The string key "partcheckedwithoutresult" is not in the correct order, it should be before "partcheckedwithresult"
(#491) The string key "partuncheckedwithoutresult" is not in the correct order, it should be before "partuncheckedwithresult"
(#492) The string key "partial" is not in the correct order, it should be before "partuncheckedwithoutresult"
(#495) The string key "participants" is not in the correct order, it should be before "participantslists"
(#499) The string key "participants_help" is not in the correct order, it should be before "participantsusage_help"
(#524) The string key "preview" is not in the correct order, it should be before "previewforgroup"
(#534) The string key "privacy:metadata:offlinequiz:introformat" is not in the correct order, it should be before "privacy:metadata:offlinequiz:name"
(#537) The string key "privacy:metadata:offlinequiz:timeclose" is not in the correct order, it should be before "privacy:metadata:offlinequiz:timeopen"
(#538) The string key "privacy:metadata:offlinequiz:time" is not in the correct order, it should be before "privacy:metadata:offlinequiz:timeclose"
(#539) The string key "privacy:metadata:offlinequiz:grade" is not in the correct order, it should be before "privacy:metadata:offlinequiz:time"
(#541) The string key "privacy:metadata:offlinequiz:decimalpoints" is not in the correct order, it should be before "privacy:metadata:offlinequiz:numgroups"
(#543) The string key "privacy:metadata:offlinequiz:docscreated" is not in the correct order, it should be before "privacy:metadata:offlinequiz:review"
(#545) The string key "privacy:metadata:offlinequiz:printstudycodefield" is not in the correct order, it should be before "privacy:metadata:offlinequiz:shufflequestions"
(#546) The string key "privacy:metadata:offlinequiz:fontsize" is not in the correct order, it should be before "privacy:metadata:offlinequiz:printstudycodefield"
(#549) The string key "privacy:metadata:offlinequiz:fileformat" is not in the correct order, it should be before "privacy:metadata:offlinequiz:timemodified"
(#551) The string key "privacy:metadata:offlinequiz:showgrades" is not in the correct order, it should be before "privacy:metadata:offlinequiz:showquestioninfo"
(#553) The string key "privacy:metadata:offlinequiz:id_digits" is not in the correct order, it should be before "privacy:metadata:offlinequiz:showtutorial"
(#554) The string key "privacy:metadata:offlinequiz:disableimgnewlines" is not in the correct order, it should be before "privacy:metadata:offlinequiz:id_digits"
(#555) The string key "privacy:metadata:offlinequiz" is not in the correct order, it should be before "privacy:metadata:offlinequiz:disableimgnewlines"
(#558) The string key "privacy:metadata:offlinequiz_choices:choicenumber" is not in the correct order, it should be before "privacy:metadata:offlinequiz_choices:slotnumber"
(#560) The string key "privacy:metadata:offlinequiz_choices" is not in the correct order, it should be before "privacy:metadata:offlinequiz_choices:value"
(#562) The string key "privacy:metadata:offlinequiz_group_questions:offlinegroupid" is not in the correct order, it should be before "privacy:metadata:offlinequiz_group_questions:offlinequizid"
(#564) The string key "privacy:metadata:offlinequiz_group_questions:position" is not in the correct order, it should be before "privacy:metadata:offlinequiz_group_questions:questionid"
(#565) The string key "privacy:metadata:offlinequiz_group_questions:page" is not in the correct order, it should be before "privacy:metadata:offlinequiz_group_questions:position"
(#567) The string key "privacy:metadata:offlinequiz_group_questions:maxmark" is not in the correct order, it should be before "privacy:metadata:offlinequiz_group_questions:slot"
(#568) The string key "privacy:metadata:offlinequiz_group_questions" is not in the correct order, it should be before "privacy:metadata:offlinequiz_group_questions:maxmark"
(#570) The string key "privacy:metadata:offlinequiz_groups:number" is not in the correct order, it should be before "privacy:metadata:offlinequiz_groups:offlinequizid"
(#572) The string key "privacy:metadata:offlinequiz_groups:numberofpages" is not in the correct order, it should be before "privacy:metadata:offlinequiz_groups:sumgrades"
(#574) The string key "privacy:metadata:offlinequiz_groups:questionfilename" is not in the correct order, it should be before "privacy:metadata:offlinequiz_groups:templateusageid"
(#575) The string key "privacy:metadata:offlinequiz_groups:answerfilename" is not in the correct order, it should be before "privacy:metadata:offlinequiz_groups:questionfilename"
(#577) The string key "privacy:metadata:offlinequiz_groups" is not in the correct order, it should be before "privacy:metadata:offlinequiz_groups:correctionfilename"
(#579) The string key "privacy:metadata:offlinequiz_hotspots:name" is not in the correct order, it should be before "privacy:metadata:offlinequiz_hotspots:scannedpageid"
(#582) The string key "privacy:metadata:offlinequiz_hotspots:blank" is not in the correct order, it should be before "privacy:metadata:offlinequiz_hotspots:y"
(#584) The string key "privacy:metadata:offlinequiz_hotspots" is not in the correct order, it should be before "privacy:metadata:offlinequiz_hotspots:time"
(#585) The string key "privacy:metadata:offlinequiz:papergray" is not in the correct order, it should be before "privacy:metadata:offlinequiz_hotspots"
(#589) The string key "privacy:metadata:offlinequiz_page_corners:position" is not in the correct order, it should be before "privacy:metadata:offlinequiz_page_corners:y"
(#590) The string key "privacy:metadata:offlinequiz_page_corners" is not in the correct order, it should be before "privacy:metadata:offlinequiz_page_corners:position"
(#593) The string key "privacy:metadata:offlinequiz_participants:checked" is not in the correct order, it should be before "privacy:metadata:offlinequiz_participants:userid"
(#594) The string key "privacy:metadata:offlinequiz_participants" is not in the correct order, it should be before "privacy:metadata:offlinequiz_participants:checked"
(#595) The string key "privacy:metadata:offlinequiz_p_choices:scannedpageid" is not in the correct order, it should be before "privacy:metadata:offlinequiz_participants"
(#598) The string key "privacy:metadata:offlinequiz_p_choices" is not in the correct order, it should be before "privacy:metadata:offlinequiz_p_choices:value"
(#600) The string key "privacy:metadata:offlinequiz_p_lists:name" is not in the correct order, it should be before "privacy:metadata:offlinequiz_p_lists:offlinequizid"
(#602) The string key "privacy:metadata:offlinequiz_p_lists:filename" is not in the correct order, it should be before "privacy:metadata:offlinequiz_p_lists:number"
(#603) The string key "privacy:metadata:offlinequiz_p_lists" is not in the correct order, it should be before "privacy:metadata:offlinequiz_p_lists:filename"
(#606) The string key "privacy:metadata:offlinequiz_queue:importuserid" is not in the correct order, it should be before "privacy:metadata:offlinequiz_queue:offlinequizid"
(#609) The string key "privacy:metadata:offlinequiz_queue:timefinish" is not in the correct order, it should be before "privacy:metadata:offlinequiz_queue:timestart"
(#610) The string key "privacy:metadata:offlinequiz_queue:status" is not in the correct order, it should be before "privacy:metadata:offlinequiz_queue:timefinish"
(#612) The string key "privacy:metadata:offlinequiz_queue_data:filename" is not in the correct order, it should be before "privacy:metadata:offlinequiz_queue_data:queueid"
(#614) The string key "privacy:metadata:offlinequiz_queue_data:error" is not in the correct order, it should be before "privacy:metadata:offlinequiz_queue_data:status"
(#615) The string key "privacy:metadata:offlinequiz_queue_data" is not in the correct order, it should be before "privacy:metadata:offlinequiz_queue_data:error"
(#617) The string key "privacy:metadata:offlinequiz_results:offlinegroupid" is not in the correct order, it should be before "privacy:metadata:offlinequiz_results:offlinequizid"
(#619) The string key "privacy:metadata:offlinequiz_results:sumgrades" is not in the correct order, it should be before "privacy:metadata:offlinequiz_results:userid"
(#621) The string key "privacy:metadata:offlinequiz_results:teacherid" is not in the correct order, it should be before "privacy:metadata:offlinequiz_results:usageid"
(#622) The string key "privacy:metadata:offlinequiz_results:status" is not in the correct order, it should be before "privacy:metadata:offlinequiz_results:teacherid"
(#624) The string key "privacy:metadata:offlinequiz_results:timefinish" is not in the correct order, it should be before "privacy:metadata:offlinequiz_results:timestart"
(#626) The string key "privacy:metadata:offlinequiz_results" is not in the correct order, it should be before "privacy:metadata:offlinequiz_results:timemodified"
(#629) The string key "privacy:metadata:offlinequiz_scanned_pages:filename" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages:resultid"
(#631) The string key "privacy:metadata:offlinequiz_scanned_pages:groupnumber" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages:warningfilename"
(#633) The string key "privacy:metadata:offlinequiz_scanned_pages:pagenumber" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages:userkey"
(#635) The string key "privacy:metadata:offlinequiz_scanned_pages:status" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages:time"
(#636) The string key "privacy:metadata:offlinequiz_scanned_pages:error" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages:status"
(#637) The string key "privacy:metadata:offlinequiz_scanned_pages" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages:error"
(#638) The string key "privacy:metadata:offlinequiz_scanned_p_pages:offlinequizid" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_pages"
(#639) The string key "privacy:metadata:offlinequiz_scanned_p_pages:listnumber" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_p_pages:offlinequizid"
(#640) The string key "privacy:metadata:offlinequiz_scanned_p_pages:filename" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_p_pages:listnumber"
(#642) The string key "privacy:metadata:offlinequiz_scanned_p_pages:status" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_p_pages:time"
(#643) The string key "privacy:metadata:offlinequiz_scanned_p_pages:error" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_p_pages:status"
(#644) The string key "privacy:metadata:offlinequiz_scanned_p_pages" is not in the correct order, it should be before "privacy:metadata:offlinequiz_scanned_p_pages:error"
(#746) The string key "queuefilecorrectionhovertext" is not in the correct order, it should be before "queueheader"
(#751) The string key "queuefilecorrect" is not in the correct order, it should be before "queuefileimportedby"
(#753) The string key "queuefilefilename" is not in the correct order, it should be before "queuefilegroupnumber"
(#761) The string key "queuefilestatusmessage_processing" is not in the correct order, it should be before "queuefilestatusmessage_submitted"
(#762) The string key "queuefilenotstarted" is not in the correct order, it should be before "queuefilestatusmessage_processing"
(#772) The string key "queuefinishedtime" is not in the correct order, it should be before "queuestarttime"
(#784) The string key "qversionupdated" is not in the correct order, it should be before "qversionupdateerror"
(#793) The string key "recordupdateanddocscreated" is not in the correct order, it should be before "recreatepdfs"
(#820) The string key "resultexists" is not in the correct order, it should be before "resultsavailable"
(#823) The string key "reviewbefore" is not in the correct order, it should be before "reviewcloses"
(#831) The string key "reviewoptions_help" is not in the correct order, it should be before "reviewoptionsheading"
(#850) The string key "review" is not in the correct order, it should be before "reviewoptions_help"
(#855) The string key "save" is not in the correct order, it should be before "saveandshow"
(#860) The string key "scanneroptions" is not in the correct order, it should be before "scanningoptionsheading"
(#872) The string key "selectdifferentgroup" is not in the correct order, it should be before "selectquestiontype"
(#914) The string key "statisticsplural" is not in the correct order, it should be before "statisticsviewheader"
(#922) The string key "tabdownloadparticipantsforms" is not in the correct order, it should be before "tabdownloadquizforms"
(#930) The string key "tabparticipantlists" is not in the correct order, it should be before "tabparticipantscorrect"
(#1011) The string key "upgradingilogs" is not in the correct order, it should be before "upgradingofflinequizattempts"
(#1026) The string key "usernotinlist" is not in the correct order, it should be before "userpageimported"
(#1038) The string key "zerogradewarning" is not in the correct order, it should be before "zipok"
mod/offlinequiz/latexlib.php
(#20) Incorrect @package tag for file latexlib.php. Expected mod_offlinequiz, found mod.
(#47) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#47) Multi-line function declarations must define one parameter per line
(#47) Multi-line function declarations must define one parameter per line
(#48) Multi-line function declaration not indented correctly; expected 4 spaces but found 41
(#48) Multi-line function declarations must define one parameter per line
(#48) Multi-line function declarations must define one parameter per line
(#48) The closing parenthesis of a multi-line function declaration must be on a new line
(#55) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#105) Blank line found at start of control structure
(#122) Blank line found at end of control structure
(#125) Blank line found at end of control structure
(#131) Short array syntax must be used to define arrays
(#146) Blank line found at start of control structure
(#151) Space before opening parenthesis of function call prohibited
(#151) Space after opening parenthesis of function call prohibited
(#151) Expected 0 spaces before closing parenthesis; 1 found
(#152) Space before opening parenthesis of function call prohibited
(#152) Space after opening parenthesis of function call prohibited
(#152) Expected 0 spaces before closing parenthesis; 1 found
(#153) Space before opening parenthesis of function call prohibited
(#153) Space after opening parenthesis of function call prohibited
(#153) Expected 0 spaces before closing parenthesis; 1 found
(#163) Blank line found at end of control structure
(#168) Short array syntax must be used to define arrays
(#197) Opening parenthesis of a multi-line function call must be the last content on the line
(#198) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#198) Only one argument is allowed per line in a multi-line function call
(#198) Only one argument is allowed per line in a multi-line function call
(#198) Only one argument is allowed per line in a multi-line function call
(#198) Only one argument is allowed per line in a multi-line function call
(#198) Only one argument is allowed per line in a multi-line function call
(#198) Closing parenthesis of a multi-line function call must be on a line by itself
(#200) Short array syntax must be used to define arrays
(#208) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#208) Opening parenthesis of a multi-line function call must be the last content on the line
(#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
(#209) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#209) Only one argument is allowed per line in a multi-line function call
(#209) Only one argument is allowed per line in a multi-line function call
(#209) Closing parenthesis of a multi-line function call must be on a line by itself
(#209) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#218) Missing docblock for function offlinequiz_convert_html_to_latex_tagreplace
(#225) Missing docblock for function offlinequiz_convert_html_to_latex_paragraph
(#229) Expected 0 spaces after opening bracket; 1 found
(#229) Expected 0 spaces before closing bracket; 1 found
(#232) Expected 0 spaces after opening bracket; 1 found
(#232) Expected 0 spaces before closing bracket; 1 found
(#235) Expected 0 spaces after opening bracket; 1 found
(#235) Expected 0 spaces before closing bracket; 1 found
(#246) Missing docblock for function offlinequiz_convert_html_to_latex_span
(#250) Expected 0 spaces after opening bracket; 1 found
(#250) Expected 0 spaces before closing bracket; 1 found
(#253) Expected 0 spaces after opening bracket; 1 found
(#253) Expected 0 spaces before closing bracket; 1 found
(#264) Missing docblock for function offlinequiz_convert_html_to_latex_tables
(#270) Expected 0 spaces after opening bracket; 1 found
(#270) Logical operator "and" is prohibited; use "&&" instead
(#270) Expected 0 spaces before closing bracket; 1 found
(#272) Expected 0 spaces after opening bracket; 1 found
(#272) Expected 0 spaces before closing bracket; 1 found
(#285) Short array syntax must be used to define arrays
(#301) Space before opening parenthesis of function call prohibited
(#306) Missing docblock for function offlinequiz_convert_html_to_latex_single_tag_replace
(#348) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#348) Logical operator "or" is prohibited; use "||" instead
(#348) Logical operator "or" is prohibited; use "||" instead
(#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 8 spaces but found 17
(#349) Closing parenthesis of a multi-line function call must be on a line by itself
(#349) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#355) Short array syntax must be used to define arrays
mod/offlinequiz/lib.php
(#26) Incorrect @package tag for file lib.php. Expected mod_offlinequiz, found mod.
(#34) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#49) Expected 1 space after comma in argument list; 10 found
(#49) Expected 1 space between the comma and "0x1000". Found: 10 spaces
(#50) Expected 1 space after comma in argument list; 12 found
(#50) Expected 1 space between the comma and "0x2000". Found: 12 spaces
(#52) Expected 1 space after comma in argument list; 6 found
(#52) Expected 1 space between the comma and "0x8000". Found: 6 spaces
(#53) Expected 1 space after comma in argument list; 2 found
(#53) Expected 1 space between the comma and "0x10000". Found: 2 spaces
(#54) Expected 1 space after comma in argument list; 12 found
(#54) Expected 1 space between the comma and "0x20000". Found: 12 spaces
(#55) Expected 1 space after comma in argument list; 6 found
(#55) Expected 1 space between the comma and "0x40000". Found: 6 spaces
(#56) Expected 1 space after comma in argument list; 6 found
(#56) Expected 1 space between the comma and "0x800". Found: 6 spaces
(#99) 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
(#110) Only one argument is allowed per line in a multi-line function call
(#111) Multi-line function call not indented correctly; expected 16 spaces but found 52
(#111) Only one argument is allowed per line in a multi-line function call
(#112) Multi-line function call not indented correctly; expected 16 spaces but found 52
(#112) Only one argument is allowed per line in a multi-line function call
(#113) Multi-line function call not indented correctly; expected 12 spaces but found 52
(#113) Closing parenthesis of a multi-line function call must be on a line by itself
(#157) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#158) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#162) Opening parenthesis of a multi-line function call must be the last content on the line
(#162) Only one argument is allowed per line in a multi-line function call
(#163) Multi-line function call not indented correctly; expected 16 spaces but found 52
(#163) Only one argument is allowed per line in a multi-line function call
(#164) Multi-line function call not indented correctly; expected 16 spaces but found 52
(#164) Only one argument is allowed per line in a multi-line function call
(#165) Multi-line function call not indented correctly; expected 12 spaces but found 52
(#165) Closing parenthesis of a multi-line function call must be on a line by itself
(#177) Short array syntax must be used to define arrays
(#201) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#221) Short array syntax must be used to define arrays
(#227) No space found after comma in argument list
(#227) Commas (,) must be followed by white space.
(#227) Expected 1 space between the comma and "[". Found: no spaces
(#229) Short array syntax must be used to define arrays
(#236) Short array syntax must be used to define arrays
(#238) Short array syntax must be used to define arrays
(#239) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#253) There should be a comma after the last array item in a multi-line array.
(#257) Short array syntax must be used to define arrays
(#271) Short array syntax must be used to define arrays
(#289) Opening parenthesis of a multi-line function call must be the last content on the line
(#289) Only one argument is allowed per line in a multi-line function call
(#289) Only one argument is allowed per line in a multi-line function call
(#289) Only one argument is allowed per line in a multi-line function call
(#289) Only one argument is allowed per line in a multi-line function call
(#289) Only one argument is allowed per line in a multi-line function call
(#290) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#290) Only one argument is allowed per line in a multi-line function call
(#290) Short array syntax must be used to define arrays
(#290) Closing parenthesis of a multi-line function call must be on a line by itself
(#310) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#310) Multi-line function declarations must define one parameter per line
(#310) Multi-line function declarations must define one parameter per line
(#311) Multi-line function declaration not indented correctly; expected 4 spaces but found 8
(#311) Multi-line function declarations must define one parameter per line
(#311) Multi-line function declarations must define one parameter per line
(#311) Multi-line function declarations must define one parameter per line
(#311) Multi-line function declarations must define one parameter per line
(#311) Multi-line function declarations must define one parameter per line
(#311) Incorrect spacing between argument "$options" and equals sign; expected 1 but found 0
(#311) Incorrect spacing between default value and equals sign for argument "$options"; expected 1 but found 0
(#311) Short array syntax must be used to define arrays
(#311) The closing parenthesis of a multi-line function declaration must be on a new line
(#314) Long list syntax is not allowed
(#319) Short array syntax must be used to define arrays
(#331) Logical operator "or" is prohibited; use "||" instead
(#350) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#350) Multi-line function declarations must define one parameter per line
(#350) Multi-line function declarations must define one parameter per line
(#350) Multi-line function declarations must define one parameter per line
(#350) Multi-line function declarations must define one parameter per line
(#351) Multi-line function declaration not indented correctly; expected 4 spaces but found 9
(#351) Multi-line function declarations must define one parameter per line
(#351) Multi-line function declarations must define one parameter per line
(#351) Short array syntax must be used to define arrays
(#351) The closing parenthesis of a multi-line function declaration must be on a new line
(#357) Long list syntax is not allowed
(#367) Logical operator "or" is prohibited; use "||" instead
(#381) Incorrect spacing between argument "$options" and equals sign; expected 1 but found 0
(#381) Incorrect spacing between default value and equals sign for argument "$options"; expected 1 but found 0
(#381) Short array syntax must be used to define arrays
(#387) Long list syntax is not allowed
(#410) Logical operator "or" is prohibited; use "||" instead
(#439) Short array syntax must be used to define arrays
(#444) Short array syntax must be used to define arrays
(#454) Logical operator "or" is prohibited; use "||" instead
(#463) Short array syntax must be used to define arrays
(#467) Blank line found at start of control structure
(#470) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#470) Opening parenthesis of a multi-line function call must be the last content on the line
(#471) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#471) Short array syntax must be used to define arrays
(#471) Closing parenthesis of a multi-line function call must be on a line by itself
(#471) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#472) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#472) Short array syntax must be used to define arrays
(#473) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#485) Short array syntax must be used to define arrays
(#491) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#491) Logical operator "and" is prohibited; use "&&" instead
(#492) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#513) Short array syntax must be used to define arrays
(#541) Short array syntax must be used to define arrays
(#563) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#563) Multi-line function declarations must define one parameter per line
(#563) Multi-line function declarations must define one parameter per line
(#563) Multi-line function declarations must define one parameter per line
(#564) Multi-line function declaration not indented correctly; expected 4 spaces but found 8
(#564) The closing parenthesis of a multi-line function declaration must be on a new line
(#571) Short array syntax must be used to define arrays
(#584) Expected 1 space after SWITCH keyword; 0 found
(#608) Terminating statement must be indented to the same level as the CASE body
(#720) Parentheses must be used when instantiating a new class
(#724) Short array syntax must be used to define arrays
(#747) Short array syntax must be used to define arrays
(#748) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#749) Short array syntax must be used to define arrays
(#749) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#803) Short array syntax must be used to define arrays
(#809) Long list syntax is not allowed
(#822) Short array syntax must be used to define arrays
(#829) Short array syntax must be used to define arrays
(#835) Short array syntax must be used to define arrays
(#885) Short array syntax must be used to define arrays
(#905) Logical operator "and" is prohibited; use "&&" instead
(#905) Short array syntax must be used to define arrays
(#924) Short array syntax must be used to define arrays
(#954) Short array syntax must be used to define arrays
(#1026) Short array syntax must be used to define arrays
(#1049) Opening parenthesis of a multi-line function call must be the last content on the line
(#1049) Only one argument is allowed per line in a multi-line function call
(#1050) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#1050) Closing parenthesis of a multi-line function call must be on a line by itself
(#1129) Incorrect spacing between argument "$userid" and equals sign; expected 1 but found 0
(#1129) Incorrect spacing between default value and equals sign for argument "$userid"; expected 1 but found 0
(#1133) Opening parenthesis of a multi-line function call must be the last content on the line
(#1134) Multi-line function call not indented correctly; expected 4 spaces but found 31
(#1134) Short array syntax must be used to define arrays
(#1134) Only one argument is allowed per line in a multi-line function call
(#1134) Only one argument is allowed per line in a multi-line function call
(#1134) Only one argument is allowed per line in a multi-line function call
(#1134) Only one argument is allowed per line in a multi-line function call
(#1134) Closing parenthesis of a multi-line function call must be on a line by itself
(#1143) Short array syntax must be used to define arrays
(#1145) Short array syntax must be used to define arrays
(#1150) Short array syntax must be used to define arrays
(#1153) Expected "if (...) {\n"; found "if(...) {\n"
(#1153) Expected 1 space after IF keyword; 0 found
(#1174) Expected at least 1 space before "."; 0 found
(#1174) Expected at least 1 space after "."; 0 found
(#1178) Blank line found at end of control structure
(#1181) Blank line found at end of control structure
(#1187) Blank line found at end of control structure
(#1210) Short array syntax must be used to define arrays
(#1212) Short array syntax must be used to define arrays
(#1215) Short array syntax must be used to define arrays
(#1221) Blank line found at end of control structure
(#1235) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1236) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1238) Blank line found at end of control structure
(#1239) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1240) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1284) Expected at least 1 space before "."; 0 found
(#1284) Expected at least 1 space after "."; 0 found
(#1287) Expected 1 space after comma in argument list; 2 found
(#1287) Expected 1 space between the comma and "get_string". Found: 2 spaces
(#1307) No one-line description found in phpdocs for docblock of function offlinequiz_get_user_results
(#1311) Short array syntax must be used to define arrays
(#1315) Opening parenthesis of a multi-line function call must be the last content on the line
(#1316) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#1316) Only one argument is allowed per line in a multi-line function call
(#1316) Only one argument is allowed per line in a multi-line function call
(#1316) Closing parenthesis of a multi-line function call must be on a line by itself
(#1339) Logical operator "and" is prohibited; use "&&" instead
(#1352) Line exceeds 132 characters; contains 137 characters
(#1355) Opening parenthesis of a multi-line function call must be the last content on the line
(#1356) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1357) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1357) Only one argument is allowed per line in a multi-line function call
(#1357) Only one argument is allowed per line in a multi-line function call
(#1358) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1358) Closing parenthesis of a multi-line function call must be on a line by itself
(#1366) Line exceeds 132 characters; contains 144 characters
(#1368) Opening parenthesis of a multi-line function call must be the last content on the line
(#1370) Only one argument is allowed per line in a multi-line function call
(#1370) Only one argument is allowed per line in a multi-line function call
(#1371) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1371) Closing parenthesis of a multi-line function call must be on a line by itself
(#1379) Short array syntax must be used to define arrays
(#1379) Line exceeds 132 characters; contains 135 characters
(#1381) Opening parenthesis of a multi-line function call must be the last content on the line
(#1383) Only one argument is allowed per line in a multi-line function call
(#1383) Only one argument is allowed per line in a multi-line function call
(#1384) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1384) Closing parenthesis of a multi-line function call must be on a line by itself
(#1389) Inline comments must end in full-stops, exclamation marks, or question marks
(#1395) Line exceeds 132 characters; contains 139 characters
(#1397) Opening parenthesis of a multi-line function call must be the last content on the line
(#1398) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#1399) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#1399) Only one argument is allowed per line in a multi-line function call
(#1399) Only one argument is allowed per line in a multi-line function call
(#1400) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#1400) Closing parenthesis of a multi-line function call must be on a line by itself
(#1410) Missing docblock for function offlinequiz_get_active_tab
(#1411) Whitespace found at end of line
(#1421) Expected "if (...) {\n"; found "if(...) {\n"
(#1421) Expected 1 space after IF keyword; 0 found
(#1459) No one-line description found in phpdocs for docblock of function offlinequiz_questions_in_use
(#1462) Long list syntax is not allowed
(#1466) Opening parenthesis of a multi-line function call must be the last content on the line
(#1467) Multi-line function call not indented correctly; expected 11 spaces but found 12
(#1467) Only one argument is allowed per line in a multi-line function call
(#1467) Closing parenthesis of a multi-line function call must be on a line by itself
(#1468) Opening parenthesis of a multi-line function call must be the last content on the line
(#1469) Multi-line function call not indented correctly; expected 11 spaces but found 12
(#1469) Only one argument is allowed per line in a multi-line function call
(#1469) Closing parenthesis of a multi-line function call must be on a line by itself
(#1572) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#1572) Closing parenthesis of a multi-line function call must be on a line by itself
(#1622) Variable "jsonString" must be all lower-case
(#1623) Variable "jsonString" must be all lower-case
(#1626) Variable "jsonString" must be all lower-case
(#1627) Variable "jsonString" must be all lower-case
(#1688) Line exceeds 132 characters; contains 139 characters
mod/offlinequiz/lib/phpwordinit.php
(#23) Incorrect @package tag for file phpwordinit.php. Expected mod_offlinequiz, found mod.
(#34) Expected "function abc(...)"; found "function abc (...)"
(#34) Expected 0 spaces before opening parenthesis; 1 found
mod/offlinequiz/locallib.php
(#23) Incorrect @package tag for file locallib.php. Expected mod_offlinequiz, found mod.
(#77) Missing docblock for class offlinequiz_question_usage_by_activity
(#77) Opening brace must not be followed by a blank line
(#79) Missing docblock for function get_clone
(#95) Short array syntax must be used to define arrays
(#121) Opening parenthesis of a multi-line function call must be the last content on the line
(#122) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#122) Closing parenthesis of a multi-line function call must be on a line by itself
(#129) Opening parenthesis of a multi-line function call must be the last content on the line
(#130) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#130) Only one argument is allowed per line in a multi-line function call
(#131) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#131) Closing parenthesis of a multi-line function call must be on a line by itself
(#148) Expected 0 spaces before closing bracket; 1 found
(#160) Expected "if (...) {\n"; found "if(...) {\n"
(#160) Expected 1 space after IF keyword; 0 found
(#162) Expected at least 1 space before "?"; 0 found
(#162) Expected 1 space before "?"; 0 found
(#170) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) This comment is 50% valid code; is this commented out code?
(#197) Whitespace found at end of line
(#204) Expected 0 spaces before closing bracket; 1 found
(#207) Whitespace found at end of line
(#219) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#219) Closing parenthesis of a multi-line function call must be on a line by itself
(#223) Whitespace found at end of line
(#225) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#225) Closing parenthesis of a multi-line function call must be on a line by itself
(#234) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#234) Closing parenthesis of a multi-line function call must be on a line by itself
(#239) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#239) Closing parenthesis of a multi-line function call must be on a line by itself
(#244) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#244) Closing parenthesis of a multi-line function call must be on a line by itself
(#249) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#249) Closing parenthesis of a multi-line function call must be on a line by itself
(#254) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#254) Closing parenthesis of a multi-line function call must be on a line by itself
(#259) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#259) Closing parenthesis of a multi-line function call must be on a line by itself
(#271) Whitespace found at end of line
(#274) Missing docblock for function offlinequiz_instantiate_report_class
(#283) Missing docblock for function offlinequiz_make_questions_usage_by_activity
(#287) Missing docblock for function offlinequiz_get_pdffont
(#289) Expected "if (...) {\n"; found "if(...) {\n"
(#289) Expected 1 space after IF keyword; 0 found
(#292) Expected "if (...) {\n"; found "if(...) {\n"
(#292) Expected 1 space after IF keyword; 0 found
(#293) Long list syntax is not allowed
(#296) Expected "if (...) {\n"; found "if(...) {\n"
(#296) Expected 1 space after IF keyword; 0 found
(#296) No space found after comma in argument list
(#296) Commas (,) must be followed by white space.
(#296) Expected 1 space between the comma and "'pdffont'". Found: no spaces
(#298) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#298) Expected "if (...) {\n"; found "if(...) {\n"
(#298) Expected 1 space after IF keyword; 0 found
(#301) Inline comments must end in full-stops, exclamation marks, or question marks
(#301) No space found before comment text; expected "// Default fallback if anything goes horribly wrong" but found "//Default fallback if anything goes horribly wrong"
(#306) Missing docblock for function get_course_objects
(#312) Short array syntax must be used to define arrays
(#315) Short array syntax must be used to define arrays
(#318) Blank line found at end of control structure
(#320) Short array syntax must be used to define arrays
(#323) Short array syntax must be used to define arrays
(#324) Line exceeds 132 characters; contains 137 characters
(#332) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#377) Short array syntax must be used to define arrays
(#413) Short array syntax must be used to define arrays
(#419) Missing docblock for function offlinequiz_get_group_questionbankentry_ids
(#429) Whitespace found at end of line
(#437) Short array syntax must be used to define arrays
(#439) Whitespace found at end of line
(#452) Short array syntax must be used to define arrays
(#454) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#454) Opening parenthesis of a multi-line function call must be the last content on the line
(#455) Multi-line function call not indented correctly; expected 4 spaces but found 35
(#455) Short array syntax must be used to define arrays
(#455) Only one argument is allowed per line in a multi-line function call
(#455) Only one argument is allowed per line in a multi-line function call
(#455) Only one argument is allowed per line in a multi-line function call
(#455) Only one argument is allowed per line in a multi-line function call
(#455) Closing parenthesis of a multi-line function call must be on a line by itself
(#455) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#490) Short array syntax must be used to define arrays
(#515) Opening parenthesis of a multi-line function call must be the last content on the line
(#516) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#516) Short array syntax must be used to define arrays
(#517) Multi-line function call not indented correctly; expected 4 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
(#544) Short array syntax must be used to define arrays
(#553) Short array syntax must be used to define arrays
(#561) Blank line found at end of control structure
(#602) Blank line found at end of control structure
(#635) Blank line found at start of control structure
(#639) Long list syntax is not allowed
(#641) Opening parenthesis of a multi-line function call must be the last content on the line
(#642) Multi-line function call not indented correctly; expected 8 spaces but found 47
(#642) Closing parenthesis of a multi-line function call must be on a line by itself
(#659) Short array syntax must be used to define arrays
(#665) Blank line found at end of control structure
(#681) Short array syntax must be used to define arrays
(#684) Short array syntax must be used to define arrays
(#695) Long list syntax is not allowed
(#698) Short array syntax must be used to define arrays
(#706) Short array syntax must be used to define arrays
(#713) Short array syntax must be used to define arrays
(#732) Opening parenthesis of a multi-line function call must be the last content on the line
(#733) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#733) Short array syntax must be used to define arrays
(#734) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#734) Closing parenthesis of a multi-line function call must be on a line by itself
(#744) Opening parenthesis of a multi-line function call must be the last content on the line
(#744) Only one argument is allowed per line in a multi-line function call
(#744) Only one argument is allowed per line in a multi-line function call
(#745) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#745) Short array syntax must be used to define arrays
(#745) Closing parenthesis of a multi-line function call must be on a line by itself
(#776) Short array syntax must be used to define arrays
(#791) Short array syntax must be used to define arrays
(#793) Short array syntax must be used to define arrays
(#795) Short array syntax must be used to define arrays
(#798) Short array syntax must be used to define arrays
(#800) Short array syntax must be used to define arrays
(#807) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#808) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#808) Blank line found at start of control structure
(#824) Short array syntax must be used to define arrays
(#826) Short array syntax must be used to define arrays
(#846) Long list syntax is not allowed
(#862) Short array syntax must be used to define arrays
(#863) Opening parenthesis of a multi-line function call must be the last content on the line
(#863) Only one argument is allowed per line in a multi-line function call
(#864) Multi-line function call not indented correctly; expected 8 spaces but found 41
(#864) Only one argument is allowed per line in a multi-line function call
(#864) Closing parenthesis of a multi-line function call must be on a line by itself
(#878) Short array syntax must be used to define arrays
(#878) Blank line found at start of control structure
(#881) Short array syntax must be used to define arrays
(#887) Short array syntax must be used to define arrays
(#914) Opening parenthesis of a multi-line function call must be the last content on the line
(#914) Only one argument is allowed per line in a multi-line function call
(#914) Only one argument is allowed per line in a multi-line function call
(#915) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#915) Closing parenthesis of a multi-line function call must be on a line by itself
(#919) Line exceeds 132 characters; contains 148 characters
(#920) Opening parenthesis of a multi-line function call must be the last content on the line
(#920) Only one argument is allowed per line in a multi-line function call
(#920) Only one argument is allowed per line in a multi-line function call
(#921) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#921) Closing parenthesis of a multi-line function call must be on a line by itself
(#924) Line exceeds maximum limit of 180 characters; contains 186 characters
(#926) Opening parenthesis of a multi-line function call must be the last content on the line
(#926) Only one argument is allowed per line in a multi-line function call
(#926) Only one argument is allowed per line in a multi-line function call
(#927) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#927) Closing parenthesis of a multi-line function call must be on a line by itself
(#933) Expected "if (...) {\n"; found "if(...) {\n"
(#933) Expected 1 space after IF keyword; 0 found
(#934) Opening parenthesis of a multi-line function call must be the last content on the line
(#935) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#935) Only one argument is allowed per line in a multi-line function call
(#935) Closing parenthesis of a multi-line function call must be on a line by itself
(#936) Line indented incorrectly; expected at least 8 spaces, found 4
(#943) Whitespace found at end of line
(#945) Short array syntax must be used to define arrays
(#962) Missing docblock for function offlinequiz_update_quba
(#996) Line exceeds 132 characters; contains 159 characters
(#1028) Short array syntax must be used to define arrays
(#1038) Each class must be in a file by itself
(#1039) Missing docblock for function __construct
(#1048) Opening parenthesis of a multi-line function call must be the last content on the line
(#1048) Only one argument is allowed per line in a multi-line function call
(#1048) Only one argument is allowed per line in a multi-line function call
(#1049) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1049) Short array syntax must be used to define arrays
(#1049) Closing parenthesis of a multi-line function call must be on a line by itself
(#1077) Short array syntax must be used to define arrays
(#1097) Short array syntax must be used to define arrays
(#1100) Short array syntax must be used to define arrays
(#1102) Short array syntax must be used to define arrays
(#1103) Short array syntax must be used to define arrays
(#1104) Short array syntax must be used to define arrays
(#1105) Short array syntax must be used to define arrays
(#1120) No one-line description found in phpdocs for docblock of function offlinequiz_question_action_icons
(#1136) Logical operator "and" is prohibited; use "&&" instead
(#1139) Logical operator "and" is prohibited; use "&&" instead
(#1146) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1146) Logical operator "and" is prohibited; use "&&" instead
(#1147) Logical operator "and" is prohibited; use "&&" instead
(#1148) Logical operator "and" is prohibited; use "&&" instead
(#1149) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1176) Short array syntax must be used to define arrays
(#1180) Short array syntax must be used to define arrays
(#1182) Long list syntax is not allowed
(#1194) Short array syntax must be used to define arrays
(#1249) Short array syntax must be used to define arrays
(#1283) Short array syntax must be used to define arrays
(#1289) Short array syntax must be used to define arrays
(#1327) Expected "function abc(...)"; found "function abc (...)"
(#1327) Expected 0 spaces before opening parenthesis; 1 found
(#1335) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#1348) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1348) Opening parenthesis of a multi-line function call must be the last content on the line
(#1349) Multi-line function call not indented correctly; expected 4 spaces but found 46
(#1349) Short array syntax must be used to define arrays
(#1349) Closing parenthesis of a multi-line function call must be on a line by itself
(#1349) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1351) Space after opening parenthesis of function call prohibited
(#1366) PHP keywords must be lowercase; expected "global" but found "GLOBAL"
(#1391) Short array syntax must be used to define arrays
(#1402) Each class must be in a file by itself
(#1404) Expected "bool" but found "boolean" for @var tag in member variable comment
(#1410) Expected "bool" but found "boolean" for @var tag in member variable comment
(#1415) Expected "bool" but found "boolean" for @var tag in member variable comment
(#1420) Expected "bool" but found "boolean" for @var tag in member variable comment
(#1456) Missing docblock for function extract
(#1483) Opening parenthesis of a multi-line function call must be the last content on the line
(#1484) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1484) Short array syntax must be used to define arrays
(#1484) Closing parenthesis of a multi-line function call must be on a line by itself
(#1487) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1489) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1489) Blank line found at start of control structure
(#1502) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1503) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1505) Opening parenthesis of a multi-line function call must be the last content on the line
(#1506) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#1506) Short array syntax must be used to define arrays
(#1506) Closing parenthesis of a multi-line function call must be on a line by itself
(#1529) Short array syntax must be used to define arrays
(#1547) Short array syntax must be used to define arrays
(#1573) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1579) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1580) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1590) Short array syntax must be used to define arrays
(#1594) Inline comments must end in full-stops, exclamation marks, or question marks
(#1594) This comment is 43% valid code; is this commented out code?
(#1608) Long list syntax is not allowed
(#1610) Logical operator "and" is prohibited; use "&&" instead
(#1613) Whitespace found at end of line
(#1618) No space found after comma in argument list
(#1618) Commas (,) must be followed by white space.
(#1618) Expected 1 space between the comma and "$groupnumber". Found: no spaces
(#1620) Short array syntax must be used to define arrays
(#1633) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1634) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1650) Opening parenthesis of a multi-line function call must be the last content on the line
(#1650) Only one argument is allowed per line in a multi-line function call
(#1650) Only one argument is allowed per line in a multi-line function call
(#1651) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#1651) Closing parenthesis of a multi-line function call must be on a line by itself
(#1653) Short array syntax must be used to define arrays
(#1661) No one-line description found in phpdocs for docblock of function offlinequiz_question_preview_url
(#1671) Opening parenthesis of a multi-line function call must be the last content on the line
(#1671) Only one argument is allowed per line in a multi-line function call
(#1672) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#1672) Only one argument is allowed per line in a multi-line function call
(#1672) Closing parenthesis of a multi-line function call must be on a line by itself
(#1689) Blank line found at start of control structure
(#1704) Expected at least 1 space before "."; 0 found
(#1704) Expected at least 1 space after "."; 0 found
(#1716) Opening parenthesis of a multi-line function call must be the last content on the line
(#1717) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1717) Short array syntax must be used to define arrays
(#1717) Closing parenthesis of a multi-line function call must be on a line by itself
(#1742) Short array syntax must be used to define arrays
(#1769) Short array syntax must be used to define arrays
(#1770) Short array syntax must be used to define arrays
(#1771) Short array syntax must be used to define arrays
(#1772) Inline comments must end in full-stops, exclamation marks, or question marks
(#1773) Short array syntax must be used to define arrays
(#1777) Short array syntax must be used to define arrays
(#1790) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1790) Opening parenthesis of a multi-line function call must be the last content on the line
(#1791) Multi-line function call not indented correctly; expected 4 spaces but found 35
(#1791) Short array syntax must be used to define arrays
(#1791) Only one argument is allowed per line in a multi-line function call
(#1791) Only one argument is allowed per line in a multi-line function call
(#1791) Only one argument is allowed per line in a multi-line function call
(#1791) Only one argument is allowed per line in a multi-line function call
(#1791) Closing parenthesis of a multi-line function call must be on a line by itself
(#1791) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1796) Short array syntax must be used to define arrays
(#1814) Expected "if (...) {\n"; found "if(...) {\n"
(#1814) Expected 1 space after IF keyword; 0 found
(#1814) No space found after comma in argument list
(#1814) Commas (,) must be followed by white space.
(#1814) Expected 1 space between the comma and "'core'". Found: no spaces
(#1817) Inline comments must end in full-stops, exclamation marks, or question marks
(#1817) No space found before comment text; expected "// Some table fields don't have a name (e.g. id). We have to make langstrings for them" but found "//Some table fields don't have a name (e.g. id). We have to make langstrings for them"
(#1822) Missing docblock for function offlinequiz_get_user_by_userkey
(#1832) No space found after comma in argument list
(#1832) Commas (,) must be followed by white space.
(#1832) Expected 1 space between the comma and "[". Found: no spaces
(#1832) Expected at least 1 space after "=>"; 0 found
(#1832) Expected 1 space after "=>"; 0 found
(#1832) Whitespace found at end of line
(#1833) Expected "if (...) {\n"; found "if(...) {\n"
(#1833) Expected 1 space after IF keyword; 0 found
(#1848) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1848) Inline comments must end in full-stops, exclamation marks, or question marks
(#1848) This comment is 59% valid code; is this commented out code?
(#1848) No space found before comment text; expected "// require_once($CFG->dirroot . '/filter/mathjaxloader/filter.php' );" but found "//require_once($CFG->dirroot . '/filter/mathjaxloader/filter.php' );"
(#1857) Expected at least 1 space before "."; 0 found
(#1857) Expected at least 1 space after "."; 0 found
(#1861) Opening parenthesis of a multi-line function call must be the last content on the line
(#1861) Only one argument is allowed per line in a multi-line function call
(#1862) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1862) Only one argument is allowed per line in a multi-line function call
(#1862) Only one argument is allowed per line in a multi-line function call
(#1862) Only one argument is allowed per line in a multi-line function call
(#1863) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#1863) Only one argument is allowed per line in a multi-line function call
(#1863) Closing parenthesis of a multi-line function call must be on a line by itself
(#1870) Expected 0 spaces before closing parenthesis; 1 found
(#1871) Whitespace found at end of line
(#1874) Line exceeds 132 characters; contains 145 characters
(#1891) Opening parenthesis of a multi-line function call must be the last content on the line
(#1891) Only one argument is allowed per line in a multi-line function call
(#1892) Multi-line function call not indented correctly; expected 16 spaces but found 12
(#1892) Only one argument is allowed per line in a multi-line function call
(#1892) Only one argument is allowed per line in a multi-line function call
(#1892) Only one argument is allowed per line in a multi-line function call
(#1893) Only one argument is allowed per line in a multi-line function call
(#1893) Closing parenthesis of a multi-line function call must be on a line by itself
(#1922) Whitespace found at end of line
(#1924) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1924) Whitespace found at end of line
(#1925) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1930) Whitespace found at end of line
(#1955) Short array syntax must be used to define arrays
(#1961) Opening parenthesis of a multi-line function call must be the last content on the line
(#1966) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#1966) Short array syntax must be used to define arrays
(#1966) Closing parenthesis of a multi-line function call must be on a line by itself
(#1973) Short array syntax must be used to define arrays
(#1978) Long list syntax is not allowed
(#1979) Long list syntax is not allowed
(#1982) Expected at least 1 space before "."; 0 found
(#1982) Expected at least 1 space after "."; 0 found
(#1982) Expected at least 1 space before "."; 0 found
(#1982) Expected at least 1 space after "."; 0 found
(#2009) Short array syntax must be used to define arrays
(#2017) Short array syntax must be used to define arrays
(#2023) Line exceeds 132 characters; contains 134 characters
(#2026) Short array syntax must be used to define arrays
(#2027) Short array syntax must be used to define arrays
(#2033) Expected at least 1 space before "."; 0 found
(#2033) Expected at least 1 space after "."; 0 found
(#2034) Expected at least 1 space before "."; 0 found
(#2053) Long list syntax is not allowed
(#2055) Logical operator "or" is prohibited; use "||" instead
(#2073) Logical operator "and" is prohibited; use "&&" instead
(#2089) Short array syntax must be used to define arrays
(#2092) Short array syntax must be used to define arrays
(#2093) Short array syntax must be used to define arrays
(#2095) Expected at least 1 space before "."; 0 found
(#2095) Expected at least 1 space after "."; 0 found
(#2095) Expected at least 1 space before "."; 0 found
(#2095) Expected at least 1 space after "."; 0 found
(#2096) Expected at least 1 space before "."; 0 found
(#2096) Expected at least 1 space after "."; 0 found
(#2096) Expected at least 1 space before "."; 0 found
(#2096) Expected at least 1 space after "."; 0 found
(#2096) Expected at least 1 space before "."; 0 found
(#2096) Expected at least 1 space after "."; 0 found
(#2103) Short array syntax must be used to define arrays
(#2117) There should be a comma after the last array item in a multi-line array.
(#2124) Logical operator "and" is prohibited; use "&&" instead
(#2129) Logical operator "and" is prohibited; use "&&" instead
(#2151) Short array syntax must be used to define arrays
(#2154) There should be a comma after the last array item in a multi-line array.
(#2160) Expected at least 1 space before "."; 0 found
(#2160) Expected at least 1 space after "."; 0 found
(#2160) Expected at least 1 space before "."; 0 found
(#2160) Expected at least 1 space after "."; 0 found
(#2160) Expected at least 1 space before "."; 0 found
(#2161) Expected at least 1 space before "."; 0 found
(#2161) Expected at least 1 space after "."; 0 found
(#2172) Expected at least 1 space before "."; 0 found
(#2172) Expected at least 1 space after "."; 0 found
(#2172) Expected at least 1 space before "."; 0 found
(#2172) Expected at least 1 space after "."; 0 found
(#2175) Expected at least 1 space before "."; 0 found
(#2175) Expected at least 1 space after "."; 0 found
(#2175) Expected at least 1 space before "."; 0 found
(#2175) Expected at least 1 space after "."; 0 found
(#2178) Expected at least 1 space before "."; 0 found
(#2178) Expected at least 1 space after "."; 0 found
(#2178) Expected at least 1 space before "."; 0 found
(#2178) Expected at least 1 space after "."; 0 found
(#2179) Expected at least 1 space before "."; 0 found
(#2179) Expected at least 1 space after "."; 0 found
(#2179) Expected at least 1 space before "."; 0 found
(#2179) Expected at least 1 space after "."; 0 found
(#2184) Short array syntax must be used to define arrays
(#2193) Expected at least 1 space after "."; 0 found
(#2193) Expected at least 1 space before "."; 0 found
(#2222) Short array syntax must be used to define arrays
(#2227) Long list syntax is not allowed
(#2228) Long list syntax is not allowed
(#2248) Short array syntax must be used to define arrays
(#2273) Long list syntax is not allowed
(#2296) Short array syntax must be used to define arrays
(#2307) Short array syntax must be used to define arrays
(#2310) Short array syntax must be used to define arrays
(#2315) There should be a comma after the last array item in a multi-line array.
(#2317) Logical operator "or" is prohibited; use "||" instead
(#2331) Logical operator "or" is prohibited; use "||" instead
(#2346) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#2346) Multi-line function declarations must define one parameter per line
(#2346) Multi-line function declarations must define one parameter per line
(#2347) Multi-line function declaration not indented correctly; expected 4 spaces but found 39
(#2347) Multi-line function declarations must define one parameter per line
(#2347) The closing parenthesis of a multi-line function declaration must be on a new line
(#2361) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#2362) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#2362) Only one argument is allowed per line in a multi-line function call
(#2362) Closing parenthesis of a multi-line function call must be on a line by itself
(#2367) Opening parenthesis of a multi-line function call must be the last content on the line
(#2368) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#2368) Only one argument is allowed per line in a multi-line function call
(#2368) Closing parenthesis of a multi-line function call must be on a line by itself
(#2403) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#2403) Multi-line function declarations must define one parameter per line
(#2403) Multi-line function declarations must define one parameter per line
(#2404) Multi-line function declaration not indented correctly; expected 4 spaces but found 8
(#2404) Multi-line function declarations must define one parameter per line
(#2404) The closing parenthesis of a multi-line function declaration must be on a new line
(#2413) Opening parenthesis of a multi-line function call must be the last content on the line
(#2414) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#2414) Short array syntax must be used to define arrays
(#2415) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#2415) Only one argument is allowed per line in a multi-line function call
(#2415) Closing parenthesis of a multi-line function call must be on a line by itself
(#2424) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#2424) Opening parenthesis of a multi-line function call must be the last content on the line
(#2424) Only one argument is allowed per line in a multi-line function call
(#2425) Short array syntax must be used to define arrays
(#2427) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#2427) Closing parenthesis of a multi-line function call must be on a line by itself
(#2427) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#2453) Short array syntax must be used to define arrays
(#2502) Missing docblock for function offlinequiz_add_random_questions
(#2503) This comment is 58% valid code; is this commented out code?
(#2529) Short array syntax must be used to define arrays
(#2531) Long list syntax is not allowed
(#2560) Short array syntax must be used to define arrays
(#2566) Short array syntax must be used to define arrays
(#2569) Long list syntax is not allowed
(#2592) This comment is 57% valid code; is this commented out code?
(#2616) This comment is 63% valid code; is this commented out code?
(#2711) Opening parenthesis of a multi-line function call must be the last content on the line
(#2712) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#2712) Short array syntax must be used to define arrays
(#2713) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#2713) Closing parenthesis of a multi-line function call must be on a line by itself
(#2716) Short array syntax must be used to define arrays
(#2717) Short array syntax must be used to define arrays
(#2751) Opening parenthesis of a multi-line function call must be the last content on the line
(#2752) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#2752) Short array syntax must be used to define arrays
(#2753) Multi-line function call not indented correctly; expected 8 spaces but found 22
(#2753) Closing parenthesis of a multi-line function call must be on a line by itself
(#2774) Missing docblock for function update_queue_status
(#2776) Whitespace found at end of line within string
(#2777) Whitespace found at end of line within string
(#2780) No space found after comma in argument list
(#2780) Commas (,) must be followed by white space.
(#2780) Expected 1 space between the comma and "[". Found: no spaces
(#2781) Expected "if (...) {\n"; found "if(...) {\n"
(#2781) Expected 1 space after IF keyword; 0 found
(#2781) No space found after comma in argument list
(#2781) Commas (,) must be followed by white space.
(#2781) Expected 1 space between the comma and "$statuslist". Found: no spaces
(#2781) Expected 0 spaces before closing bracket; 1 found
(#2784) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#2784) Expected "if (...) {\n"; found "if(...) {\n"
(#2784) Expected 1 space after IF keyword; 0 found
(#2784) No space found after comma in argument list
(#2784) Commas (,) must be followed by white space.
(#2784) Expected 1 space between the comma and "$statuslist". Found: no spaces
(#2787) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#2787) Expected "if (...) {\n"; found "if(...) {\n"
(#2787) Expected 1 space after IF keyword; 0 found
(#2787) The use of function sizeof() is forbidden; use count() instead
mod/offlinequiz/mod_form.php
(#21) Incorrect @package tag for file mod_form.php. Expected mod_offlinequiz, found mod.
(#40) Opening brace must not be followed by a blank line
(#42) Missing docblock for function definition
(#49) Short array syntax must be used to define arrays
(#60) Expected at least 1 space before "."; 0 found
(#60) Expected at least 1 space after "."; 0 found
(#64) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#108) Expected "if (...) {\n"; found "if(...) {\n"
(#108) Expected 1 space after IF keyword; 0 found
(#110) Expected at least 1 space before "."; 0 found
(#110) Expected at least 1 space after "."; 0 found
(#110) Expected at least 1 space before "."; 0 found
(#110) Expected at least 1 space after "."; 0 found
(#114) Short array syntax must be used to define arrays
(#125) Line exceeds 132 characters; contains 145 characters
(#147) Expected "if (...) {\n"; found "if(...) {\n"
(#147) Expected 1 space after IF keyword; 0 found
(#155) Expected "if (...) {\n"; found "if(...) {\n"
(#155) Expected 1 space after IF keyword; 0 found
(#155) Expected 0 spaces before closing bracket; 1 found
(#180) Opening parenthesis of a multi-line function call must be the last content on the line
(#180) Only one argument is allowed per line in a multi-line function call
(#180) Only one argument is allowed per line in a multi-line function call
(#180) Only one argument is allowed per line in a multi-line function call
(#180) Short array syntax must be used to define arrays
(#181) Multi-line function call not indented correctly; expected 12 spaces but found 21
(#181) Closing parenthesis of a multi-line function call must be on a line by itself
(#195) There should be a comma after the last array item in a multi-line array.
(#200) Short array syntax must be used to define arrays
(#207) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#212) Short array syntax must be used to define arrays
(#228) Opening parenthesis of a multi-line function call must be the last content on the line
(#228) Only one argument is allowed per line in a multi-line function call
(#228) Only one argument is allowed per line in a multi-line function call
(#229) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#229) Short array syntax must be used to define arrays
(#229) Closing parenthesis of a multi-line function call must be on a line by itself
(#232) Opening parenthesis of a multi-line function call must be the last content on the line
(#232) Only one argument is allowed per line in a multi-line function call
(#232) Only one argument is allowed per line in a multi-line function call
(#233) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#233) Short array syntax must be used to define arrays
(#233) Closing parenthesis of a multi-line function call must be on a line by itself
(#235) Short array syntax must be used to define arrays
(#239) Opening parenthesis of a multi-line function call must be the last content on the line
(#239) Only one argument is allowed per line in a multi-line function call
(#239) Only one argument is allowed per line in a multi-line function call
(#240) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#240) Closing parenthesis of a multi-line function call must be on a line by itself
(#241) Opening parenthesis of a multi-line function call must be the last content on the line
(#241) Only one argument is allowed per line in a multi-line function call
(#241) Only one argument is allowed per line in a multi-line function call
(#242) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#242) Closing parenthesis of a multi-line function call must be on a line by itself
(#243) Opening parenthesis of a multi-line function call must be the last content on the line
(#243) Only one argument is allowed per line in a multi-line function call
(#243) Only one argument is allowed per line in a multi-line function call
(#244) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#244) Closing parenthesis of a multi-line function call must be on a line by itself
(#245) Opening parenthesis of a multi-line function call must be the last content on the line
(#245) Only one argument is allowed per line in a multi-line function call
(#245) Only one argument is allowed per line in a multi-line function call
(#246) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#246) Closing parenthesis of a multi-line function call must be on a line by itself
(#247) Opening parenthesis of a multi-line function call must be the last content on the line
(#247) Only one argument is allowed per line in a multi-line function call
(#247) Only one argument is allowed per line in a multi-line function call
(#248) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#248) Closing parenthesis of a multi-line function call must be on a line by itself
(#250) Expected 0 spaces before closing parenthesis; 1 found
(#251) Expected 0 spaces before closing parenthesis; 1 found
(#252) Expected 0 spaces before closing parenthesis; 1 found
(#255) Expected 0 spaces before closing parenthesis; 1 found
(#256) Expected 0 spaces before closing parenthesis; 1 found
(#267) Expected at least 1 space before "."; 0 found
(#267) Expected at least 1 space after "."; 0 found
(#267) Expected at least 1 space before "."; 0 found
(#267) Expected at least 1 space after "."; 0 found
(#272) Expected at least 1 space before "."; 0 found
(#298) Expected at least 1 space before "."; 0 found
(#298) Expected at least 1 space after "."; 0 found
(#298) Expected at least 1 space before "."; 0 found
(#298) Expected at least 1 space after "."; 0 found
(#300) Expected at least 1 space before "."; 0 found
(#300) Expected at least 1 space after "."; 0 found
(#300) Expected at least 1 space before "."; 0 found
(#300) Expected at least 1 space after "."; 0 found
(#304) Blank line found at end of control structure
(#312) Opening parenthesis of a multi-line function call must be the last content on the line
(#312) Only one argument is allowed per line in a multi-line function call
(#313) Multi-line function call not indented correctly; expected 20 spaces but found 40
(#313) Only one argument is allowed per line in a multi-line function call
(#313) Only one argument is allowed per line in a multi-line function call
(#314) Multi-line function call not indented correctly; expected 20 spaces but found 40
(#315) Multi-line function call not indented correctly; expected 16 spaces but found 40
(#315) Closing parenthesis of a multi-line function call must be on a line by itself
(#316) Short array syntax must be used to define arrays
(#327) Short array syntax must be used to define arrays
(#375) Short array syntax must be used to define arrays
(#377) Short array syntax must be used to define arrays
(#378) Opening parenthesis of a multi-line function call must be the last content on the line
(#378) Only one argument is allowed per line in a multi-line function call
(#378) Only one argument is allowed per line in a multi-line function call
(#378) Only one argument is allowed per line in a multi-line function call
(#378) Line exceeds 132 characters; contains 146 characters
(#379) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#379) Short array syntax must be used to define arrays
(#379) Closing parenthesis of a multi-line function call must be on a line by itself
(#382) Line exceeds 132 characters; contains 142 characters
mod/offlinequiz/navigate.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file navigate.php
(#23) Long list syntax is not allowed
(#50) Expected 1 space after "="; 2 found
(#70) Line exceeds 132 characters; contains 136 characters
(#73) Blank line found at end of control structure
(#73) Whitespace found at end of line
(#93) Whitespace found at end of line
(#120) Line indented incorrectly; expected 4 spaces, found 0
(#120) Closing brace indented incorrectly; expected 4 spaces, found 0
mod/offlinequiz/offlinequiz.class.php
(#20) Incorrect @package tag for file offlinequiz.class.php. Expected mod_offlinequiz, found mod.
(#50) You must use "/**" style comments for a member variable comment
(#51) Missing member variable doc comment
(#52) Missing member variable doc comment
(#53) Missing member variable doc comment
(#56) You must use "/**" style comments for a member variable comment
(#57) Missing member variable doc comment
(#58) Missing member variable doc comment
(#90) Short array syntax must be used to define arrays
(#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 12 spaces but found 16
(#109) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#112) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#112) Short array syntax must be used to define arrays
(#114) Multi-line function call not indented correctly; expected 8 spaces but found 17
(#114) Closing parenthesis of a multi-line function call must be on a line by itself
(#130) Short array syntax must be used to define arrays
(#149) No one-line description found in phpdocs for docblock of function get_courseid
(#154) No one-line description found in phpdocs for docblock of function get_course
(#159) No one-line description found in phpdocs for docblock of function get_offlinequizid
(#164) No one-line description found in phpdocs for docblock of function get_offlinegroupid
(#169) No one-line description found in phpdocs for docblock of function get_offlinequiz
(#174) No one-line description found in phpdocs for docblock of function get_offlinequiz_name
(#179) No one-line description found in phpdocs for docblock of function get_navigation_method
(#184) No one-line description found in phpdocs for docblock of function get_num_attempts_allowed
(#189) No one-line description found in phpdocs for docblock of function get_cmid
(#194) No one-line description found in phpdocs for docblock of function get_cm
(#199) No one-line description found in phpdocs for docblock of function get_context
(#207) No one-line description found in phpdocs for docblock of function is_preview_user
(#217) No one-line description found in phpdocs for docblock of function has_questions
(#228) No one-line description found in phpdocs for docblock of function get_question
(#235) No one-line description found in phpdocs for docblock of function get_questions
(#239) Short array syntax must be used to define arrays
(#255) No one-line description found in phpdocs for docblock of function get_access_manager
(#257) Opening parenthesis of a multi-line function call must be the last content on the line
(#257) Only one argument is allowed per line in a multi-line function call
(#258) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#258) Closing parenthesis of a multi-line function call must be on a line by itself
(#281) No one-line description found in phpdocs for docblock of function view_url
(#289) No one-line description found in phpdocs for docblock of function edit_url
(#299) No one-line description found in phpdocs for docblock of function attempt_url
(#311) No one-line description found in phpdocs for docblock of function start_attempt_url
(#312) Short array syntax must be used to define arrays
(#323) No one-line description found in phpdocs for docblock of function review_url
(#324) Short array syntax must be used to define arrays
(#331) No one-line description found in phpdocs for docblock of function summary_url
(#332) Short array syntax must be used to define arrays
(#342) No one-line description found in phpdocs for docblock of function confirm_start_attempt_message
(#377) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#378) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#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
(#382) Opening parenthesis of a multi-line function call must be the last content on the line
(#382) Only one argument is allowed per line in a multi-line function call
(#383) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#383) Closing parenthesis of a multi-line function call must be on a line by itself
(#394) No one-line description found in phpdocs for docblock of function navigation
mod/offlinequiz/participants.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file participants.php. Expected mod_offlinequiz, found mod.
(#45) Long list syntax is not allowed
(#49) Logical operator "and" is prohibited; use "&&" instead
(#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 0 spaces but found 30
(#68) Short array syntax must be used to define arrays
(#68) 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 4 spaces but found 8
(#84) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#84) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#86) There should be a comma after the last array item in a multi-line array.
(#88) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#94) Missing docblock for function find_pdf_file
(#94) Missing @copyright tag
(#94) Missing @license tag
(#94) Missing @copyright tag
(#94) Missing @license tag
(#94) Missing @copyright tag
(#94) Missing @license tag
(#94) Missing @copyright tag
(#94) Missing @license tag
(#94) Missing @copyright tag
(#94) Missing @license tag
(#102) Expected 1 space after SWITCH keyword; 0 found
(#116) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#149) Opening parenthesis of a multi-line function call must be the last content on the line
(#150) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#150) Expected at least 1 space before "=>"; 0 found
(#150) Expected 1 space before "=>"; 0 found
(#150) Commas (,) must be followed by white space.
(#150) Expected 1 space between the comma and "'q'". Found: no spaces
(#150) Closing parenthesis of a multi-line function call must be on a line by itself
(#161) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#174) Opening parenthesis of a multi-line function call must be the last content on the line
(#175) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#175) Short array syntax must be used to define arrays
(#175) Expected no space between "id" and the comma. Found: 1 space
(#175) Closing parenthesis of a multi-line function call must be on a line by itself
(#178) Expected 1 space after comma in argument list; 2 found
(#178) Expected 1 space between the comma and "$streditlist". Found: 2 spaces
(#179) Opening parenthesis of a multi-line function call must be the last content on the line
(#180) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#180) Short array syntax must be used to define arrays
(#180) Expected no space between "'edit'" and the comma. Found: 1 space
(#180) Expected no space between "id" and the comma. Found: 1 space
(#180) 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
(#184) Expected 1 space after comma in argument list; 2 found
(#184) Expected 1 space between the comma and "$strdeletelist". Found: 2 spaces
(#185) Opening parenthesis of a multi-line function call must be the last content on the line
(#186) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#186) Short array syntax must be used to define arrays
(#190) Multi-line function call not indented correctly; expected 12 spaces but found 26
(#190) Closing parenthesis of a multi-line function call must be on a line by itself
(#191) Opening parenthesis of a multi-line function call must be the last content on the line
(#191) Only one argument is allowed per line in a multi-line function call
(#192) Multi-line function call not indented correctly; expected 16 spaces but found 25
(#192) Short array syntax must be used to define arrays
(#193) Multi-line function call not indented correctly; expected 12 spaces but found 25
(#193) Only one argument is allowed per line in a multi-line function call
(#193) Closing parenthesis of a multi-line function call must be on a line by itself
(#209) Short array syntax must be used to define arrays
(#210) 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
(#214) Opening parenthesis of a multi-line function call must be the last content on the line
(#215) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#215) Closing parenthesis of a multi-line function call must be on a line by itself
(#236) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#236) Opening parenthesis of a multi-line function call must be the last content on the line
(#237) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#237) Short array syntax must be used to define arrays
(#237) Closing parenthesis of a multi-line function call must be on a line by itself
(#237) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#243) Long list syntax is not allowed
(#256) Opening parenthesis of a multi-line function call must be the last content on the line
(#257) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#257) Short array syntax must be used to define arrays
(#258) Multi-line function call not indented correctly; expected 16 spaces but found 32
(#258) Closing parenthesis of a multi-line function call must be on a line by itself
(#269) Expected at least 1 space before "."; 0 found
(#269) Expected at least 1 space after "."; 0 found
(#269) Expected at least 1 space before "."; 0 found
(#269) Expected at least 1 space after "."; 0 found
(#273) Short array syntax must be used to define arrays
(#279) Expected at least 1 space before "."; 0 found
(#279) Expected at least 1 space after "."; 0 found
(#279) Expected at least 1 space before "."; 0 found
(#279) Expected at least 1 space after "."; 0 found
(#288) Short array syntax must be used to define arrays
(#294) Long list syntax is not allowed
(#298) Long list syntax is not allowed
(#315) Short array syntax must be used to define arrays
(#319) Expected at least 1 space before "."; 0 found
(#319) Expected at least 1 space after "."; 0 found
(#337) Inline comments must start with a capital letter, digit or 3-dots sequence
(#337) Inline comments must end in full-stops, exclamation marks, or question marks
(#343) Short array syntax must be used to define arrays
(#350) Logical operator "and" is prohibited; use "&&" instead
(#350) Logical operator "or" is prohibited; use "||" instead
(#370) Short array syntax must be used to define arrays
(#373) Short array syntax must be used to define arrays
(#379) Opening parenthesis of a multi-line function call must be the last content on the line
(#380) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#380) Short array syntax must be used to define arrays
(#380) Closing parenthesis of a multi-line function call must be on a line by itself
(#384) Logical operator "and" is prohibited; use "&&" instead
(#384) Short array syntax must be used to define arrays
(#387) Whitespace found at end of line within string
(#392) No space found after comma in argument list
(#392) Commas (,) must be followed by white space.
(#392) Expected 1 space between the comma and "[". Found: no spaces
(#394) Short array syntax must be used to define arrays
(#398) Short array syntax must be used to define arrays
(#399) Short array syntax must be used to define arrays
(#401) Space after opening parenthesis of function call prohibited
(#401) Expected 0 spaces before closing parenthesis; 1 found
(#402) Short array syntax must be used to define arrays
(#405) There should be a comma after the last array item in a multi-line array.
(#406) There should be a comma after the last array item in a multi-line array.
(#412) Logical operator "and" is prohibited; use "&&" instead
(#412) Short array syntax must be used to define arrays
(#419) No space found after comma in argument list
(#419) Commas (,) must be followed by white space.
(#419) Expected 1 space between the comma and "[". Found: no spaces
(#421) Short array syntax must be used to define arrays
(#424) Short array syntax must be used to define arrays
(#425) Short array syntax must be used to define arrays
(#427) Space after opening parenthesis of function call prohibited
(#427) Expected 0 spaces before closing parenthesis; 1 found
(#428) Short array syntax must be used to define arrays
(#431) There should be a comma after the last array item in a multi-line array.
(#432) There should be a comma after the last array item in a multi-line array.
(#441) No space found after comma in argument list
(#441) Commas (,) must be followed by white space.
(#441) Expected 1 space between the comma and "[". Found: no spaces
(#441) Line exceeds 132 characters; contains 146 characters
(#441) Line exceeds 132 characters; contains 146 characters
(#441) Line exceeds 132 characters; contains 146 characters
(#441) Line exceeds 132 characters; contains 146 characters
(#441) Line exceeds 132 characters; contains 146 characters
(#441) Line exceeds 132 characters; contains 146 characters
(#453) No space found after comma in argument list
(#453) Commas (,) must be followed by white space.
(#453) Expected 1 space between the comma and "[". Found: no spaces
(#453) Line exceeds 132 characters; contains 146 characters
(#453) Line exceeds 132 characters; contains 146 characters
(#453) Line exceeds 132 characters; contains 146 characters
(#453) Line exceeds 132 characters; contains 146 characters
(#453) Line exceeds 132 characters; contains 146 characters
(#453) Line exceeds 132 characters; contains 146 characters
(#466) Missing docblock for file participants.php
(#468) Missing docblock for file participants.php
(#472) Missing docblock for file participants.php
(#474) Missing docblock for file participants.php
(#480) Missing docblock for file participants.php
(#489) Short array syntax must be used to define arrays
(#495) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#496) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#503) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#504) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#532) No space found after comma in argument list
(#532) Commas (,) must be followed by white space.
(#532) Expected 1 space between the comma and "[". Found: no spaces
(#532) Line exceeds 132 characters; contains 146 characters
(#532) Line exceeds 132 characters; contains 146 characters
(#532) Line exceeds 132 characters; contains 146 characters
(#532) Line exceeds 132 characters; contains 146 characters
(#532) Line exceeds 132 characters; contains 146 characters
(#532) Line exceeds 132 characters; contains 146 characters
(#535) Opening parenthesis of a multi-line function call must be the last content on the line
(#540) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#540) Short array syntax must be used to define arrays
(#540) Closing parenthesis of a multi-line function call must be on a line by itself
(#553) No space found after comma in argument list
(#553) Commas (,) must be followed by white space.
(#553) Expected 1 space between the comma and "[". Found: no spaces
(#553) Expected at least 1 space before "=>"; 0 found
(#553) Expected 1 space before "=>"; 0 found
(#553) Commas (,) must be followed by white space.
(#553) Expected 1 space between the comma and "'q'". Found: no spaces
(#553) Line exceeds 132 characters; contains 167 characters
(#553) Line exceeds 132 characters; contains 167 characters
(#553) Line exceeds 132 characters; contains 167 characters
(#553) Line exceeds 132 characters; contains 167 characters
(#553) Line exceeds 132 characters; contains 167 characters
(#553) Line exceeds 132 characters; contains 167 characters
(#571) Blank line found at start of control structure
(#592) Short array syntax must be used to define arrays
(#601) Opening parenthesis of a multi-line function call must be the last content on the line
(#602) Multi-line function call not indented correctly; expected 24 spaces but found 51
(#602) Closing parenthesis of a multi-line function call must be on a line by itself
(#603) Blank line found at end of control structure
(#605) Space found before comma in argument list
(#605) Expected no space between "'/^image/'" and the comma. Found: 1 space
(#637) Blank line found at start of control structure
(#640) Long list syntax is not allowed
(#641) Multi-line function call not indented correctly; expected 24 spaces but found 55
(#641) Only one argument is allowed per line in a multi-line function call
(#641) Only one argument is allowed per line in a multi-line function call
(#641) Only one argument is allowed per line in a multi-line function call
(#641) Only one argument is allowed per line in a multi-line function call
(#641) Only one argument is allowed per line in a multi-line function call
(#641) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#644) Only one argument is allowed per line in a multi-line function call
(#645) Multi-line function call not indented correctly; expected 24 spaces but found 74
(#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
(#648) Short array syntax must be used to define arrays
(#650) Multi-line function call not indented correctly; expected 24 spaces but found 54
(#650) Only one argument is allowed per line in a multi-line function call
(#650) Only one argument is allowed per line in a multi-line function call
(#650) Closing parenthesis of a multi-line function call must be on a line by itself
(#652) Expected at least 1 space before "."; 0 found
(#652) Expected at least 1 space after "."; 0 found
(#663) Logical operator "or" is prohibited; use "||" instead
(#675) Opening parenthesis of a multi-line function call must be the last content on the line
(#676) Expected at least 1 space before "=>"; 0 found
(#676) Expected 1 space before "=>"; 0 found
(#676) Commas (,) must be followed by white space.
(#676) Expected 1 space between the comma and "'q'". Found: no spaces
(#677) There should be a comma after the last array item in a multi-line array.
(#678) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#678) Closing parenthesis of a multi-line function call must be on a line by itself
(#684) Short array syntax must be used to define arrays
(#686) Short array syntax must be used to define arrays
(#687) Short array syntax must be used to define arrays
(#688) Short array syntax must be used to define arrays
mod/offlinequiz/participants/participants_listform.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file participants_listform.php. Expected mod_offlinequiz, found mod.
(#31) Missing docblock for class offlinequiz_participantslistform
(#31) Opening brace must not be followed by a blank line
(#33) Missing member variable doc comment
(#34) Missing member variable doc comment
(#36) Missing docblock for function __construct
(#42) Missing docblock for function definition
(#59) Short array syntax must be used to define arrays
mod/offlinequiz/participants/participants_report.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file participants_report.php. Expected mod_offlinequiz, found mod.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Missing docblock for class participants_report
(#50) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#58) Long list syntax is not allowed
(#75) Short array syntax must be used to define arrays
(#75) Expected no space between "'time'" and the comma. Found: 1 space
(#76) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#123) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/participants/participants_scanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file participants_scanner.php. Expected mod_offlinequiz, found mod.
(#38) Opening brace must not be followed by a blank line
(#45) Short array syntax must be used to define arrays
(#60) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#76) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#85) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#121) Opening parenthesis of a multi-line function call must be the last content on the line
(#122) Multi-line function call not indented correctly; expected 16 spaces but found 26
(#122) 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
(#143) Opening parenthesis of a multi-line function call must be the last content on the line
(#144) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#144) Closing parenthesis of a multi-line function call must be on a line by itself
(#158) Short array syntax must be used to define arrays
(#160) Opening parenthesis of a multi-line function call must be the last content on the line
(#161) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#161) Closing parenthesis of a multi-line function call must be on a line by itself
(#162) Opening parenthesis of a multi-line function call must be the last content on the line
(#163) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#163) Closing parenthesis of a multi-line function call must be on a line by itself
(#164) Opening parenthesis of a multi-line function call must be the last content on the line
(#165) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#165) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#167) Closing parenthesis of a multi-line function call must be on a line by itself
(#170) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#172) The closing brace for the class must go on the next line after the body
mod/offlinequiz/participants/participants_uploadform.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file participants_uploadform.php. Expected mod_offlinequiz, found mod.
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#32) Missing docblock for class offlinequiz_participants_upload_form
(#32) Opening brace must not be followed by a blank line
(#34) Missing docblock for function definition
(#37) Opening parenthesis of a multi-line function call must be the last content on the line
(#37) Only one argument is allowed per line in a multi-line function call
(#37) Only one argument is allowed per line in a multi-line function call
(#37) Only one argument is allowed per line in a multi-line function call
(#38) Multi-line function call not indented correctly; expected 12 spaces but found 22
(#38) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#39) Multi-line function call not indented correctly; expected 8 spaces but found 22
(#39) Only one argument is allowed per line in a multi-line function call
(#39) Only one argument is allowed per line in a multi-line function call
(#39) Only one argument is allowed per line in a multi-line function call
(#39) Only one argument is allowed per line in a multi-line function call
(#39) Only one argument is allowed per line in a multi-line function call
(#39) Closing parenthesis of a multi-line function call must be on a line by itself
(#44) Function closing brace must go on the next line following the body; found 1 blank lines before brace
mod/offlinequiz/participants/participantslib.php
(#22) Incorrect @package tag for file participantslib.php. Expected mod_offlinequiz, found mod.
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Property name "$_upperleft" should not be prefixed with an underscore to indicate visibility
(#37) Missing member variable doc comment
(#38) Property name "$_upperright" should not be prefixed with an underscore to indicate visibility
(#38) Missing member variable doc comment
(#39) Property name "$_lowerleft" should not be prefixed with an underscore to indicate visibility
(#39) Missing member variable doc comment
(#40) Property name "$_lowerright" should not be prefixed with an underscore to indicate visibility
(#40) Missing member variable doc comment
(#42) Missing docblock for function __construct
(#56) Expected 0 spaces before closing bracket; 1 found
mod/offlinequiz/participants_correct.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#19) Incorrect @package tag for file participants_correct.php. Expected mod_offlinequiz, found mod.
(#38) Short array syntax must be used to define arrays
(#39) Line exceeds 132 characters; contains 136 characters
(#39) Line exceeds 132 characters; contains 136 characters
(#42) Short array syntax must be used to define arrays
(#43) Opening parenthesis of a multi-line function call must be the last content on the line
(#43) Only one argument is allowed per line in a multi-line function call
(#43) Only one argument is allowed per line in a multi-line function call
(#44) Multi-line function call not indented correctly; expected 4 spaces but found 16
(#44) Closing parenthesis of a multi-line function call must be on a line by itself
(#47) Short array syntax must be used to define arrays
(#48) Opening parenthesis of a multi-line function call must be the last content on the line
(#48) Only one argument is allowed per line in a multi-line function call
(#48) Only one argument is allowed per line in a multi-line function call
(#49) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#49) Short array syntax must be used to define arrays
(#50) Multi-line function call not indented correctly; expected 4 spaces but found 22
(#50) Closing parenthesis of a multi-line function call must be on a line by itself
(#53) Line exceeds 132 characters; contains 141 characters
(#53) Line exceeds 132 characters; contains 141 characters
(#68) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Expected at least 1 space before "."; 0 found
(#130) Expected at least 1 space after "."; 0 found
(#133) Blank line found at end of control structure
(#145) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Short array syntax must be used to define arrays
(#186) Opening parenthesis of a multi-line function call must be the last content on the line
(#187) Multi-line function call not indented correctly; expected 8 spaces but found 51
(#187) Short array syntax must be used to define arrays
(#187) Closing parenthesis of a multi-line function call must be on a line by itself
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
(#230) Blank line found at end of control structure
(#234) Expected at least 1 space before "."; 0 found
(#234) Expected at least 1 space after "."; 0 found
(#259) Opening parenthesis of a multi-line function call must be the last content on the line
(#260) Multi-line function call not indented correctly; expected 8 spaces but found 51
(#260) Short array syntax must be used to define arrays
(#260) Closing parenthesis of a multi-line function call must be on a line by itself
(#268) Expected at least 1 space before "."; 0 found
(#268) Expected at least 1 space after "."; 0 found
(#277) Short array syntax must be used to define arrays
(#290) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#307) Short array syntax must be used to define arrays
(#331) Opening parenthesis of a multi-line function call must be the last content on the line
(#331) Only one argument is allowed per line in a multi-line function call
(#331) Only one argument is allowed per line in a multi-line function call
(#332) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#332) Short array syntax must be used to define arrays
(#332) 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
(#335) Only one argument is allowed per line in a multi-line function call
(#335) Only one argument is allowed per line in a multi-line function call
(#336) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#336) Short array syntax must be used to define arrays
(#336) Closing parenthesis of a multi-line function call must be on a line by itself
(#340) Opening parenthesis of a multi-line function call must be the last content on the line
(#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
(#341) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#341) Short array syntax must be used to define arrays
(#341) Closing parenthesis of a multi-line function call must be on a line by itself
(#351) Expected at least 1 space before "."; 0 found
(#351) Expected at least 1 space after "."; 0 found
(#352) Short array syntax must be used to define arrays
(#354) Expected at least 1 space before "."; 0 found
(#354) Expected at least 1 space after "."; 0 found
(#360) Expected at least 1 space before "."; 0 found
(#360) Expected at least 1 space after "."; 0 found
(#373) Inline comments must end in full-stops, exclamation marks, or question marks
(#382) Expected at least 1 space before "."; 0 found
(#382) Expected at least 1 space after "."; 0 found
(#383) Expected at least 1 space before "."; 0 found
(#383) Expected at least 1 space after "."; 0 found
(#384) Expected at least 1 space before "."; 0 found
(#384) Expected at least 1 space after "."; 0 found
(#385) Expected at least 1 space before "."; 0 found
(#385) Expected at least 1 space after "."; 0 found
(#386) Expected at least 1 space before "."; 0 found
(#386) Expected at least 1 space after "."; 0 found
(#465) Expected at least 1 space before "."; 0 found
(#465) Expected at least 1 space after "."; 0 found
(#465) Expected at least 1 space before "."; 0 found
(#465) Expected at least 1 space after "."; 0 found
(#513) Expected at least 1 space before "."; 0 found
(#513) Expected at least 1 space after "."; 0 found
(#513) Expected at least 1 space before "."; 0 found
(#513) Expected at least 1 space after "."; 0 found
(#514) Expected at least 1 space before "."; 0 found
(#514) Expected at least 1 space after "."; 0 found
(#514) Expected at least 1 space before "."; 0 found
(#514) Expected at least 1 space after "."; 0 found
(#515) Expected at least 1 space before "."; 0 found
(#515) Expected at least 1 space after "."; 0 found
(#515) Expected at least 1 space before "."; 0 found
(#515) Expected at least 1 space after "."; 0 found
(#516) Expected at least 1 space before "."; 0 found
(#516) Expected at least 1 space after "."; 0 found
(#516) Expected at least 1 space before "."; 0 found
(#516) Expected at least 1 space after "."; 0 found
(#523) Expected at least 1 space before "."; 0 found
(#523) Expected at least 1 space after "."; 0 found
(#523) Expected at least 1 space before "."; 0 found
(#525) Expected at least 1 space before "."; 0 found
(#525) Expected at least 1 space after "."; 0 found
(#525) Expected at least 1 space before "."; 0 found
(#527) Expected at least 1 space before "."; 0 found
(#527) Expected at least 1 space after "."; 0 found
(#527) Expected at least 1 space before "."; 0 found
(#531) Expected at least 1 space before "."; 0 found
(#531) Expected at least 1 space after "."; 0 found
(#534) Expected at least 1 space before "."; 0 found
(#534) Expected at least 1 space after "."; 0 found
(#566) Expected at least 1 space before "."; 0 found
(#566) Expected at least 1 space after "."; 0 found
(#566) Expected at least 1 space before "."; 0 found
(#566) Expected at least 1 space after "."; 0 found
(#567) Short array syntax must be used to define arrays
(#587) Expected at least 1 space before "."; 0 found
(#588) Expected at least 1 space before "."; 0 found
(#588) Expected at least 1 space after "."; 0 found
(#588) Expected at least 1 space before "."; 0 found
(#588) Expected at least 1 space after "."; 0 found
(#588) Expected at least 1 space before "."; 0 found
(#588) Expected at least 1 space after "."; 0 found
(#591) Expected at least 1 space before "."; 0 found
(#592) Expected at least 1 space before "."; 0 found
(#592) Expected at least 1 space after "."; 0 found
(#592) Expected at least 1 space before "."; 0 found
(#592) Expected at least 1 space after "."; 0 found
(#592) Expected at least 1 space before "."; 0 found
(#592) Expected at least 1 space after "."; 0 found
(#595) Expected at least 1 space before "."; 0 found
(#596) Expected at least 1 space before "."; 0 found
(#596) Expected at least 1 space after "."; 0 found
(#596) Expected at least 1 space before "."; 0 found
(#596) Expected at least 1 space after "."; 0 found
(#596) Expected at least 1 space before "."; 0 found
(#596) Expected at least 1 space after "."; 0 found
(#614) Logical operator "or" is prohibited; use "||" instead
(#617) Expected at least 1 space before "."; 0 found
(#617) Expected at least 1 space after "."; 0 found
(#617) Expected at least 1 space before "."; 0 found
(#617) Expected at least 1 space after "."; 0 found
(#617) Expected at least 1 space before "."; 0 found
(#617) Expected at least 1 space after "."; 0 found
(#617) Expected at least 1 space before "."; 0 found
(#624) Logical operator "and" is prohibited; use "&&" instead
(#627) Opening parenthesis of a multi-line function call must be the last content on the line
(#628) Multi-line function call not indented correctly; expected 16 spaces but found 34
(#628) Only one argument is allowed per line in a multi-line function call
(#628) Closing parenthesis of a multi-line function call must be on a line by itself
(#659) Missing docblock for file participants_correct.php
mod/offlinequiz/pdflib.php
(#20) Incorrect @package tag for file pdflib.php. Expected mod_offlinequiz, found mod.
(#39) Missing docblock for class offlinequiz_barcodewriter
(#49) Expected at least 1 space before "."; 0 found
(#49) Expected at least 1 space after "."; 0 found
(#49) Expected 1 space after comma in argument list; 2 found
(#49) Expected 1 space between the comma and "10". Found: 2 spaces
(#49) Expected 1 space after comma in argument list; 2 found
(#49) Expected 1 space between the comma and "2". Found: 2 spaces
(#70) Missing docblock for class offlinequiz_pdf
(#70) Each class must be in a file by itself
(#73) Missing @var tag in member variable comment
(#76) Missing docblock for function checkpoint
(#80) Missing docblock for function backtrack
(#84) Missing docblock for function is_overflowing
(#88) Missing docblock for function set_title
(#92) The closing brace for the class must go on the next line after the body
(#93) Missing docblock for class offlinequiz_question_pdf
(#93) Each class must be in a file by itself
(#94) Missing member variable doc comment
(#94) Short array syntax must be used to define arrays
(#130) Each class must be in a file by itself
(#131) Missing member variable doc comment
(#132) Missing member variable doc comment
(#133) Missing member variable doc comment
(#134) Missing member variable doc comment
(#135) Missing member variable doc comment
(#136) Missing member variable doc comment
(#158) Blank line found at end of control structure
(#166) Expected 1 space after comma in argument list; 2 found
(#166) Expected 1 space between the comma and "15". Found: 2 spaces
(#167) Expected 1 space after comma in argument list; 2 found
(#167) Expected 1 space between the comma and "'offlinequiz'". Found: 2 spaces
(#170) Expected 1 space after comma in argument list; 2 found
(#170) Expected 1 space between the comma and "'offlinequiz'". Found: 2 spaces
(#173) Expected at least 1 space before "."; 0 found
(#173) Expected at least 1 space after "."; 0 found
(#173) Expected at least 1 space before "."; 0 found
(#173) Expected at least 1 space after "."; 0 found
(#174) Expected at least 1 space before "."; 0 found
(#174) Expected at least 1 space after "."; 0 found
(#174) Expected 1 space after comma in argument list; 2 found
(#174) Expected 1 space between the comma and "'offlinequiz'". Found: 2 spaces
(#175) Expected at least 1 space before "."; 0 found
(#175) Expected at least 1 space after "."; 0 found
(#175) Expected at least 1 space before "."; 0 found
(#175) Expected at least 1 space after "."; 0 found
(#176) Expected at least 1 space before "."; 0 found
(#176) Expected at least 1 space after "."; 0 found
(#176) Expected 1 space after comma in argument list; 2 found
(#176) Expected 1 space between the comma and "'offlinequiz'". Found: 2 spaces
(#176) Expected at least 1 space before "."; 0 found
(#176) Expected at least 1 space after "."; 0 found
(#178) Expected at least 1 space before "."; 0 found
(#178) Expected at least 1 space after "."; 0 found
(#179) Expected 1 space after comma in argument list; 2 found
(#179) Expected 1 space between the comma and "57.4". Found: 2 spaces
(#183) Expected 1 space after comma in argument list; 2 found
(#183) Expected 1 space between the comma and "3.5". Found: 2 spaces
(#183) Expected 1 space after comma in argument list; 2 found
(#183) Expected 1 space between the comma and "$letterstr". Found: 2 spaces
(#184) Expected 1 space after comma in argument list; 2 found
(#184) Expected 1 space between the comma and "1". Found: 2 spaces
(#185) Expected 1 space after comma in argument list; 2 found
(#185) Expected 1 space between the comma and "$this". Found: 2 spaces
(#185) Expected 1 space after comma in argument list; 2 found
(#185) Expected 1 space between the comma and "3.5". Found: 2 spaces
(#185) Expected 1 space after comma in argument list; 2 found
(#185) Expected 1 space between the comma and "3.5". Found: 2 spaces
(#186) Expected 1 space after comma in argument list; 2 found
(#186) Expected 1 space between the comma and "1". Found: 2 spaces
(#187) Logical operator "and" is prohibited; use "&&" instead
(#188) Expected 1 space after comma in argument list; 2 found
(#188) Expected 1 space between the comma and "$this". Found: 2 spaces
(#188) Expected 1 space after comma in argument list; 2 found
(#188) Expected 1 space between the comma and "3.15". Found: 2 spaces
(#188) Expected 1 space after comma in argument list; 2 found
(#188) Expected 1 space between the comma and "0". Found: 2 spaces
(#193) Expected 1 space after comma in argument list; 2 found
(#193) Expected 1 space between the comma and "'offlinequiz'". Found: 2 spaces
(#197) Expected 1 space after comma in argument list; 2 found
(#197) Expected 1 space between the comma and "$this". Found: 2 spaces
(#197) Expected 1 space after comma in argument list; 2 found
(#197) Expected 1 space between the comma and "3.5". Found: 2 spaces
(#197) Expected 1 space after comma in argument list; 2 found
(#197) Expected 1 space between the comma and "3.5". Found: 2 spaces
(#200) Expected 1 space after comma in argument list; 2 found
(#200) Expected 1 space between the comma and "'offlinequiz'". Found: 2 spaces
(#201) Expected 1 space after comma in argument list; 2 found
(#201) Expected 1 space between the comma and "57.2". Found: 2 spaces
(#201) Expected 1 space after comma in argument list; 2 found
(#201) Expected 1 space between the comma and "78.2". Found: 2 spaces
(#201) Expected 1 space after comma in argument list; 2 found
(#201) Expected 1 space between the comma and "3.15". Found: 2 spaces
(#201) Expected 1 space after comma in argument list; 2 found
(#201) Expected 1 space between the comma and "0". Found: 2 spaces
(#202) Expected 1 space after comma in argument list; 2 found
(#202) Expected 1 space between the comma and "93". Found: 2 spaces
(#202) Expected 1 space after comma in argument list; 2 found
(#202) Expected 1 space between the comma and "4.1". Found: 2 spaces
(#202) Expected 1 space after comma in argument list; 2 found
(#202) Expected 1 space between the comma and "0". Found: 2 spaces
(#207) Expected 1 space after comma in argument list; 2 found
(#207) Expected 1 space between the comma and "'offlinequiz'". Found: 2 spaces
(#216) Opening parenthesis of a multi-line function call must be the last content on the line
(#216) Only one argument is allowed per line in a multi-line function call
(#217) Multi-line function call not indented correctly; expected 8 spaces but found 20
(#217) Expected 1 space after comma in argument list; 2 found
(#217) Expected 1 space between the comma and "'offlinequiz'". Found: 2 spaces
(#217) Only one argument is allowed per line in a multi-line function call
(#217) Only one argument is allowed per line in a multi-line function call
(#217) Only one argument is allowed per line in a multi-line function call
(#217) Closing parenthesis of a multi-line function call must be on a line by itself
(#226) Expected 1 space after comma in argument list; 2 found
(#226) Expected 1 space between the comma and "47.7". Found: 2 spaces
(#226) Expected 1 space after comma in argument list; 2 found
(#226) Expected 1 space between the comma and "138". Found: 2 spaces
(#226) Expected 1 space after comma in argument list; 2 found
(#226) Expected 1 space between the comma and "47.7". Found: 2 spaces
(#251) Missing docblock for function get_logo_aspect_ratio
(#252) Long list syntax is not allowed
(#279) Expected at least 1 space before "."; 0 found
(#279) Expected at least 1 space after "."; 0 found
(#285) Expected at least 1 space before "."; 0 found
(#285) Expected at least 1 space after "."; 0 found
(#292) Expected 1 space after comma in argument list; 2 found
(#292) Expected 1 space between the comma and "0". Found: 2 spaces
(#292) Expected 1 space after comma in argument list; 2 found
(#292) Expected 1 space between the comma and "mb_strlen". Found: 2 spaces
(#311) Whitespace found at end of line
(#321) Missing docblock for function add_answer_page
(#321) Expected 1 space before opening brace; found 4
(#324) Variable "questions_cache" must not contain underscores.
(#329) Inline comments must start with a capital letter, digit or 3-dots sequence
(#329) This comment is 50% valid code; is this commented out code?
(#333) Inline comments must start with a capital letter, digit or 3-dots sequence
(#333) This comment is 69% valid code; is this commented out code?
(#371) Variable "questions_cache" must not contain underscores.
(#381) Short array syntax must be used to define arrays
(#384) No space found after comma in argument list
(#384) Commas (,) must be followed by white space.
(#384) Expected 1 space between the comma and "$groupletter". Found: no spaces
(#392) Variable "questions_cache" must not contain underscores.
(#394) Variable "questions_cache" must not contain underscores.
(#437) Expected at least 1 space before "."; 0 found
(#437) Expected at least 1 space after "."; 0 found
(#445) Short array syntax must be used to define arrays
(#445) Short array syntax must be used to define arrays
(#458) Logical operator "and" is prohibited; use "&&" instead
(#465) Expected no spaces between $number and the increment operator; 1 found
(#472) Missing docblock for class offlinequiz_participants_pdf
(#472) Each class must be in a file by itself
(#473) Missing member variable doc comment
(#481) Expected 1 space between the comma and "$DB". Found: 2 spaces
(#484) Expected 1 space after comma in argument list; 2 found
(#484) Expected 1 space between the comma and "12". Found: 2 spaces
(#484) Expected 1 space after comma in argument list; 2 found
(#484) Expected 1 space between the comma and "14". Found: 2 spaces
(#545) Opening parenthesis of a multi-line function call must be the last content on the line
(#545) Only one argument is allowed per line in a multi-line function call
(#546) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#547) Expected at least 1 space before "."; 0 found
(#547) Expected at least 1 space after "."; 0 found
(#548) Multi-line function call not indented correctly; expected 8 spaces but found 45
(#548) Expected at least 1 space before "."; 0 found
(#548) Expected at least 1 space after "."; 0 found
(#548) Expected at least 1 space before "."; 0 found
(#548) Expected at least 1 space after "."; 0 found
(#548) Only one argument is allowed per line in a multi-line function call
(#548) Only one argument is allowed per line in a multi-line function call
(#548) Only one argument is allowed per line in a multi-line function call
(#548) Closing parenthesis of a multi-line function call must be on a line by itself
(#580) Whitespace found at end of line
(#581) Expected "if (...) {\n"; found "if(...) {\n"
(#581) Expected 1 space after IF keyword; 0 found
(#597) Opening parenthesis of a multi-line function call must be the last content on the line
(#597) Only one argument is allowed per line in a multi-line function call
(#597) Only one argument is allowed per line in a multi-line function call
(#597) Only one argument is allowed per line in a multi-line function call
(#598) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#598) Only one argument is allowed per line in a multi-line function call
(#598) Only one argument is allowed per line in a multi-line function call
(#598) Closing parenthesis of a multi-line function call must be on a line by itself
(#606) Missing docblock for function offlinequiz_get_answers_html
(#606) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#606) Multi-line function declarations must define one parameter per line
(#607) Multi-line function declarations must define one parameter per line
(#607) Multi-line function declarations must define one parameter per line
(#607) Multi-line function declarations must define one parameter per line
(#607) Multi-line function declarations must define one parameter per line
(#607) The closing parenthesis of a multi-line function declaration must be on a new line
(#609) Space before opening parenthesis of function call prohibited
(#609) Space after opening parenthesis of function call prohibited
(#609) Expected 0 spaces before closing parenthesis; 1 found
(#618) Whitespace found at end of line
(#619) Expected "if (...) {\n"; found "if(...) {\n"
(#619) Expected 1 space after IF keyword; 0 found
(#631) Opening parenthesis of a multi-line function call must be the last content on the line
(#631) Only one argument is allowed per line in a multi-line function call
(#631) Only one argument is allowed per line in a multi-line function call
(#631) Only one argument is allowed per line in a multi-line function call
(#632) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#632) Only one argument is allowed per line in a multi-line function call
(#632) Only one argument is allowed per line in a multi-line function call
(#632) Closing parenthesis of a multi-line function call must be on a line by itself
(#639) Expected at least 1 space before "."; 0 found
(#639) Expected at least 1 space after "."; 0 found
(#639) Expected at least 1 space before "."; 0 found
(#639) Expected at least 1 space after "."; 0 found
(#661) Missing docblock for function offlinequiz_write_question_to_pdf
(#663) Expected 1 space after comma in argument list; 2 found
(#663) Expected 1 space between the comma and "round". Found: 2 spaces
(#679) Expected 1 space after comma in argument list; 2 found
(#679) Expected 1 space between the comma and "round". Found: 2 spaces
(#694) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#694) Multi-line function declarations must define one parameter per line
(#694) Multi-line function declarations must define one parameter per line
(#695) Multi-line function declaration not indented correctly; expected 4 spaces but found 41
(#695) Multi-line function declarations must define one parameter per line
(#695) Multi-line function declarations must define one parameter per line
(#695) The closing parenthesis of a multi-line function declaration must be on a new line
(#708) Expected at least 1 space before "."; 0 found
(#708) Expected at least 1 space after "."; 0 found
(#710) Expected at least 1 space before "."; 0 found
(#710) Expected at least 1 space after "."; 0 found
(#710) Expected at least 1 space before "."; 0 found
(#710) Expected at least 1 space after "."; 0 found
(#769) Opening parenthesis of a multi-line function call must be the last content on the line
(#769) Only one argument is allowed per line in a multi-line function call
(#769) Only one argument is allowed per line in a multi-line function call
(#769) Only one argument is allowed per line in a multi-line function call
(#770) Multi-line function call not indented correctly; expected 28 spaces but found 48
(#770) Closing parenthesis of a multi-line function call must be on a line by itself
(#799) Short array syntax must be used to define arrays
(#841) Blank line found at start of control structure
(#843) Opening parenthesis of a multi-line function call must be the last content on the line
(#843) Only one argument is allowed per line in a multi-line function call
(#844) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#844) Only one argument is allowed per line in a multi-line function call
(#844) Only one argument is allowed per line in a multi-line function call
(#844) Only one argument is allowed per line in a multi-line function call
(#844) Only one argument is allowed per line in a multi-line function call
(#844) Closing parenthesis of a multi-line function call must be on a line by itself
(#845) Blank line found at end of control structure
(#867) Short array syntax must be used to define arrays
(#885) Space after opening parenthesis of function call prohibited
(#885) Expected 0 spaces before closing parenthesis; 1 found
(#887) Space after opening parenthesis of function call prohibited
(#887) Expected 0 spaces before closing parenthesis; 1 found
(#892) Blank line found at start of control structure
(#896) Opening parenthesis of a multi-line function call must be the last content on the line
(#896) Only one argument is allowed per line in a multi-line function call
(#897) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#897) Only one argument is allowed per line in a multi-line function call
(#897) Only one argument is allowed per line in a multi-line function call
(#897) Only one argument is allowed per line in a multi-line function call
(#897) Only one argument is allowed per line in a multi-line function call
(#897) Closing parenthesis of a multi-line function call must be on a line by itself
(#902) Space before opening parenthesis of function call prohibited
(#902) Expected 0 spaces before closing parenthesis; 1 found
(#903) Space before opening parenthesis of function call prohibited
(#903) Space after opening parenthesis of function call prohibited
(#903) Space before opening parenthesis of function call prohibited
(#903) Space after opening parenthesis of function call prohibited
(#903) Expected 0 spaces before closing parenthesis; 1 found
(#903) Expected 0 spaces before closing parenthesis; 1 found
(#904) Space before opening parenthesis of function call prohibited
(#904) Expected 0 spaces before closing parenthesis; 1 found
(#917) Blank line found at end of control structure
(#929) Opening parenthesis of a multi-line function call must be the last content on the line
(#930) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#930) Only one argument is allowed per line in a multi-line function call
(#930) Only one argument is allowed per line in a multi-line function call
(#930) Only one argument is allowed per line in a multi-line function call
(#930) Only one argument is allowed per line in a multi-line function call
(#930) Only one argument is allowed per line in a multi-line function call
(#930) Closing parenthesis of a multi-line function call must be on a line by itself
(#932) Short array syntax must be used to define arrays
(#940) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#940) Opening parenthesis of a multi-line function call must be the last content on the line
(#940) Only one argument is allowed per line in a multi-line function call
(#940) Only one argument is allowed per line in a multi-line function call
(#941) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#941) Only one argument is allowed per line in a multi-line function call
(#941) Only one argument is allowed per line in a multi-line function call
(#941) Closing parenthesis of a multi-line function call must be on a line by itself
(#941) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#941) Blank line found at start of control structure
(#965) Missing docblock for function offlinequiz_create_pdf_answer
(#981) Opening parenthesis of a multi-line function call must be the last content on the line
(#982) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#982) Only one argument is allowed per line in a multi-line function call
(#982) Only one argument is allowed per line in a multi-line function call
(#982) Only one argument is allowed per line in a multi-line function call
(#982) Only one argument is allowed per line in a multi-line function call
(#982) Only one argument is allowed per line in a multi-line function call
(#982) Closing parenthesis of a multi-line function call must be on a line by itself
(#985) Short array syntax must be used to define arrays
(#993) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#993) Opening parenthesis of a multi-line function call must be the last content on the line
(#993) Only one argument is allowed per line in a multi-line function call
(#993) Only one argument is allowed per line in a multi-line function call
(#994) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#994) Only one argument is allowed per line in a multi-line function call
(#994) Only one argument is allowed per line in a multi-line function call
(#994) Closing parenthesis of a multi-line function call must be on a line by itself
(#994) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1025) Short array syntax must be used to define arrays
(#1030) Long list syntax is not allowed
(#1031) Long list syntax is not allowed
(#1060) Expected at least 1 space before "."; 0 found
(#1060) Expected at least 1 space after "."; 0 found
(#1079) Opening parenthesis of a multi-line function call must be the last content on the line
(#1080) Multi-line function call not indented correctly; expected 8 spaces but found 26
(#1080) Only one argument is allowed per line in a multi-line function call
(#1080) Closing parenthesis of a multi-line function call must be on a line by itself
(#1111) Opening parenthesis of a multi-line function call must be the last content on the line
(#1112) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#1112) Only one argument is allowed per line in a multi-line function call
(#1112) Only one argument is allowed per line in a multi-line function call
(#1112) Only one argument is allowed per line in a multi-line function call
(#1112) Only one argument is allowed per line in a multi-line function call
(#1112) Only one argument is allowed per line in a multi-line function call
(#1112) Closing parenthesis of a multi-line function call must be on a line by itself
(#1115) Short array syntax must be used to define arrays
(#1123) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1123) Opening parenthesis of a multi-line function call must be the last content on the line
(#1123) Only one argument is allowed per line in a multi-line function call
(#1123) Only one argument is allowed per line in a multi-line function call
(#1124) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#1124) Only one argument is allowed per line in a multi-line function call
(#1124) Only one argument is allowed per line in a multi-line function call
(#1124) Closing parenthesis of a multi-line function call must be on a line by itself
(#1124) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1143) Incorrect spacing between argument "$stripalltags" and equals sign; expected 1 but found 0
(#1143) Incorrect spacing between default value and equals sign for argument "$stripalltags"; expected 1 but found 0
(#1143) Incorrect spacing between argument "$questionid" and equals sign; expected 1 but found 0
(#1143) Incorrect spacing between default value and equals sign for argument "$questionid"; expected 1 but found 0
(#1143) Incorrect spacing between argument "$coursecontextid" and equals sign; expected 1 but found 0
(#1143) Incorrect spacing between default value and equals sign for argument "$coursecontextid"; expected 1 but found 0
(#1172) Expected at least 1 space before "."; 0 found
(#1182) Short array syntax must be used to define arrays
(#1202) Short array syntax must be used to define arrays
(#1205) Short array syntax must be used to define arrays
(#1211) Short array syntax must be used to define arrays
(#1212) Short array syntax must be used to define arrays
mod/offlinequiz/repaginate.php
(#20) Incorrect @package tag for file repaginate.php. Expected mod_offlinequiz, found mod.
(#40) Short array syntax must be used to define arrays
(#46) Opening parenthesis of a multi-line function call must be the last content on the line
(#47) Multi-line function call not indented correctly; expected 4 spaces but found 20
(#47) Only one argument is allowed per line in a multi-line function call
(#47) Closing parenthesis of a multi-line function call must be on a line by itself
(#48) Opening parenthesis of a multi-line function call must be the last content on the line
(#48) Only one argument is allowed per line in a multi-line function call
(#49) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#49) Short array syntax must be used to define arrays
(#49) Only one argument is allowed per line in a multi-line function call
(#49) Closing parenthesis of a multi-line function call must be on a line by itself
(#61) Opening parenthesis of a multi-line function call must be the last content on the line
(#62) Short array syntax must be used to define arrays
(#63) Multi-line function call not indented correctly; expected 0 spaces but found 10
(#63) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/report.php
(#20) Incorrect @package tag for file report.php. Expected mod_offlinequiz, found mod.
(#40) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#46) Blank line found at end of control structure
(#48) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#66) Opening parenthesis of a multi-line function call must be the last content on the line
(#67) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#68) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#68) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#70) There should be a comma after the last array item in a multi-line array.
(#72) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#107) There should be a comma after the last array item in a multi-line array.
(#108) There should be a comma after the last array item in a multi-line array.
(#113) Expected 1 blank line at end of file; 2 found
mod/offlinequiz/report/correct/classes/privacy/provider.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Missing @copyright tag
(#21) Missing @license tag
(#21) Missing docblock for class provider
(#23) Expected 4 spaces before interface name; 0 found
(#29) There must not be a space before the colon in a return type declaration
mod/offlinequiz/report/correct/classes/report.php
(#20) Incorrect @package tag for file report.php. Expected offlinequiz_correct, found mod.
(#29) Import statements must not begin with a leading backslash
(#30) Import statements must not begin with a leading backslash
(#31) Import statements must not begin with a leading backslash
(#32) Import statements must not begin with a leading backslash
(#33) Import statements must not begin with a leading backslash
(#34) Import statements must not begin with a leading backslash
(#38) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#40) Missing docblock for class report
(#41) Missing member variable doc comment
(#41) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#41) Scope modifier not specified for member variable "$context"
(#41) The var keyword must not be used to declare a property
(#41) Visibility must be declared on property "$context"
(#42) Missing member variable doc comment
(#42) Scope modifier not specified for member variable "$users"
(#42) Visibility must be declared on property "$users"
(#44) Missing docblock for function print_error_report
(#55) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#112) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#113) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#123) Short array syntax must be used to define arrays
(#130) Blank line found at start of control structure
(#150) Logical operator "and" is prohibited; use "&&" instead
(#161) Short array syntax must be used to define arrays
(#162) Expected at least 1 space before "."; 0 found
(#162) Expected at least 1 space after "."; 0 found
(#162) Expected at least 1 space before "."; 0 found
(#162) Expected at least 1 space after "."; 0 found
(#163) Expected at least 1 space before "."; 0 found
(#163) Expected at least 1 space after "."; 0 found
(#170) There should be a comma after the last array item in a multi-line array.
(#177) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#197) Expected "if (...) {\n"; found "if(...) {\n"
(#197) Expected 1 space after IF keyword; 0 found
(#199) Expected "if (...) {\n"; found "if(...) {\n"
(#199) Expected 1 space after IF keyword; 0 found
(#204) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#204) Expected "if (...) {\n"; found "if(...) {\n"
(#204) Expected 1 space after IF keyword; 0 found
(#206) Expected "if (...) {\n"; found "if(...) {\n"
(#206) Expected 1 space after IF keyword; 0 found
(#208) Expected "if (...) {\n"; found "if(...) {\n"
(#208) Expected 1 space after IF keyword; 0 found
(#236) Short array syntax must be used to define arrays
(#238) Short array syntax must be used to define arrays
(#245) Opening parenthesis of a multi-line function call must be the last content on the line
(#246) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#246) Closing parenthesis of a multi-line function call must be on a line by itself
(#253) Blank line found at start of control structure
(#255) Short array syntax must be used to define arrays
(#265) Short array syntax must be used to define arrays
(#279) No space found after comma in argument list
(#279) Commas (,) must be followed by white space.
(#279) Expected 1 space between the comma and "$cm". Found: no spaces
(#282) Missing docblock for function display_uploaded_files
(#284) No space found after comma in argument list
(#284) Commas (,) must be followed by white space.
(#284) Expected 1 space between the comma and "[". Found: no spaces
(#284) No space found after comma in argument list
(#284) Commas (,) must be followed by white space.
(#284) Expected 1 space between the comma and "'timecreated DESC'". Found: no spaces
(#285) Whitespace found at end of line
(#286) Line exceeds 132 characters; contains 151 characters
(#293) Expected "if (...) {\n"; found "if(...) {\n"
(#293) Expected 1 space after IF keyword; 0 found
(#303) Expected "if (...) {\n"; found "if(...) {\n"
(#303) Expected 1 space after IF keyword; 0 found
(#305) Expected at least 1 space after "="; 0 found
(#305) Expected 1 space after "="; 0 found
(#307) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#307) Expected 1 space after FOREACH keyword; 0 found
(#311) Line exceeds 132 characters; contains 134 characters
(#313) Opening parenthesis of a multi-line function call must be the last content on the line
(#314) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#314) Expected at least 1 space after "=>"; 0 found
(#314) Expected 1 space after "=>"; 0 found
(#314) Closing parenthesis of a multi-line function call must be on a line by itself
(#318) Expected "if (...) {\n"; found "if(...) {\n"
(#318) Expected 1 space after IF keyword; 0 found
(#319) The use of function sizeof() is forbidden; use count() instead
(#324) Expected "if (...) {\n"; found "if(...) {\n"
(#324) Expected 1 space after IF keyword; 0 found
(#330) Expected "if (...) {\n"; found "if(...) {\n"
(#330) Expected 1 space after IF keyword; 0 found
(#343) Expected "if (...) {\n"; found "if(...) {\n"
(#343) Expected 1 space after IF keyword; 0 found
(#345) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#345) Expected "if (...) {\n"; found "if(...) {\n"
(#345) Expected 1 space after IF keyword; 0 found
(#347) Expected "if (...) {\n"; found "if(...) {\n"
(#347) Expected 1 space after IF keyword; 0 found
(#348) No space found after comma in argument list
(#348) Commas (,) must be followed by white space.
(#348) Expected 1 space between the comma and "'offlinequiz'". Found: no spaces
(#350) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#350) Expected "if (...) {\n"; found "if(...) {\n"
(#350) Expected 1 space after IF keyword; 0 found
(#358) Opening parenthesis of a multi-line function call must be the last content on the line
(#359) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#359) Expected 1 space between the comma and "'id'". Found: 2 spaces
(#359) Expected at least 1 space after "=>"; 0 found
(#359) Expected 1 space after "=>"; 0 found
(#359) Closing parenthesis of a multi-line function call must be on a line by itself
(#366) Whitespace found at end of line
(#367) Missing docblock for function get_page_content
(#370) Short array syntax must be used to define arrays
(#375) Expected "if (...) {\n"; found "if(...) {\n"
(#375) Expected 1 space after IF keyword; 0 found
(#375) No space found after comma in argument list
(#375) Commas (,) must be followed by white space.
(#375) Expected 1 space between the comma and "$queuepagematrix". Found: no spaces
(#379) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#379) Expected 1 space after FOREACH keyword; 0 found
(#382) Expected 1 space after "="; 2 found
(#382) Line exceeds maximum limit of 180 characters; contains 184 characters
(#383) Expected "if (...) {\n"; found "if(...) {\n"
(#383) Expected 1 space after IF keyword; 0 found
(#385) No space found after comma in argument list
(#385) Commas (,) must be followed by white space.
(#385) Expected 1 space between the comma and "new". Found: no spaces
(#385) Space found before comma in argument list
(#385) Expected no space between ")" and the comma. Found: 1 space
(#385) Line exceeds maximum limit of 180 characters; contains 207 characters
(#389) Expected "if (...) {\n"; found "if(...) {\n"
(#389) Expected 1 space after IF keyword; 0 found
(#392) Expected "if (...) {\n"; found "if(...) {\n"
(#392) Expected 1 space after IF keyword; 0 found
(#392) Line exceeds 132 characters; contains 142 characters
(#394) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#394) Expected "if (...) {\n"; found "if(...) {\n"
(#394) Expected 1 space after IF keyword; 0 found
(#396) Expected "} else if (...) {\n"; found "} else if(...){\n"
(#396) Expected "if (...) {\n"; found "if(...){\n"
(#396) Expected 1 space after IF keyword; 0 found
(#396) Expected 1 space after closing parenthesis; found 0
(#401) Expected "if (...) {\n"; found "if(...) {\n"
(#401) Expected 1 space after IF keyword; 0 found
(#403) Usage of ELSEIF not allowed; use ELSE IF instead
(#414) Whitespace found at end of line
(#415) Missing docblock for function queuehaserrors
(#417) Expected "if (...) {\n"; found "if(...) {\n"
(#417) Expected 1 space after IF keyword; 0 found
(#420) Expected "if (...) {\n"; found "if(...) {\n"
(#420) Expected 1 space after IF keyword; 0 found
(#425) Whitespace found at end of line
(#426) Missing docblock for function get_user_name
(#428) Expected "if (...) {\n"; found "if(...) {\n"
(#428) Expected 1 space after IF keyword; 0 found
(#436) Missing docblock for function add_to_navigation
(#436) Expected 1 space before opening brace; found 3
(#438) Expected at least 1 space before "="; 0 found
(#438) Expected 1 space before "="; 0 found
(#438) Opening parenthesis of a multi-line function call must be the last content on the line
(#439) Multi-line function call not indented correctly; expected 12 spaces but found 40
(#439) Line exceeds 132 characters; contains 142 characters
(#440) Multi-line function call not indented correctly; expected 8 spaces but found 40
(#440) Closing parenthesis of a multi-line function call must be on a line by itself
(#446) Missing docblock for function get_report_title
(#449) Missing docblock for function get_navigation_key
mod/offlinequiz/report/correct/errorpages_table.php
(#21) Incorrect @package tag for file errorpages_table.php. Expected offlinequiz_correct, found mod.
(#32) Expected at least 1 space before "."; 0 found
(#32) Expected at least 1 space after "."; 0 found
(#34) Missing docblock for class offlinequiz_selectall_table
(#34) Opening brace must not be followed by a blank line
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#39) Missing docblock for function __construct
(#45) Missing docblock for function print_nothing_to_display
(#50) Missing docblock for function wrap_html_start
(#52) Expected at least 1 space before "."; 0 found
(#57) Expected at least 1 space after "."; 0 found
(#63) Missing docblock for function wrap_html_finish
(#69) Expected at least 1 space before "."; 0 found
(#72) Expected at least 1 space before "."; 0 found
(#72) Expected at least 1 space after "."; 0 found
(#80) Closing brace must not be followed by any comment or statement on the same line
(#82) Missing docblock for class offlinequiz_partlist_table
(#82) Each class must be in a file by itself
(#83) Missing docblock for function wrap_html_finish
(#89) Expected at least 1 space before "."; 0 found
(#92) Short array syntax must be used to define arrays
(#94) Opening parenthesis of a multi-line function call must be the last content on the line
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Short array syntax must be used to define arrays
(#95) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#95) Short array syntax must be used to define arrays
(#95) Closing parenthesis of a multi-line function call must be on a line by itself
(#98) Expected at least 1 space before "."; 0 found
(#98) Expected at least 1 space after "."; 0 found
(#98) Expected at least 1 space before "."; 0 found
(#98) Expected at least 1 space after "."; 0 found
(#100) Expected at least 1 space before "."; 0 found
(#100) Expected at least 1 space after "."; 0 found
(#100) Expected at least 1 space before "."; 0 found
(#100) Expected at least 1 space after "."; 0 found
(#108) Missing docblock for function print_one_initials_bar
(#109) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
mod/offlinequiz/report/correct/lang/en/offlinequiz_correct.php
(#20) Incorrect @package tag for file offlinequiz_correct.php. Expected offlinequiz_correct, found mod.
mod/offlinequiz/report/correct/version.php
(#20) Incorrect @package tag for file version.php. Expected offlinequiz_correct, found mod.
mod/offlinequiz/report/identified/classes/answer_pdf_identified.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#37) Missing docblock for function Header
(#37) Public method name "answer_pdf_identified::Header" must be in lower-case letters only
(#37) Expected 1 space before opening brace; found 0
(#50) Expected 1 space after comma in argument list; 2 found
(#50) Expected 1 space between the comma and "29". Found: 2 spaces
(#51) Expected at least 1 space before "."; 0 found
(#51) Expected at least 1 space after "."; 0 found
(#52) Expected 1 space after comma in argument list; 2 found
(#52) Expected 1 space between the comma and "36". Found: 2 spaces
(#53) Expected at least 1 space before "."; 0 found
(#53) Expected at least 1 space after "."; 0 found
(#55) Whitespace found at end of line
(#60) Expected at least 1 space before "*"; 0 found
(#60) Expected at least 1 space after "*"; 0 found
(#60) Expected 1 space before "*"; 0 found
(#60) Expected 1 space after "*"; 0 found
(#72) Expected 1 space after comma in argument list; 2 found
(#72) Expected 1 space between the comma and "1". Found: 2 spaces
(#74) Space found before comma in argument list
(#74) Expected 1 space after comma in argument list; 2 found
(#74) Expected no space between "$x" and the comma. Found: 1 space
(#74) Expected 1 space between the comma and "$y". Found: 2 spaces
(#74) Expected 1 space after comma in argument list; 2 found
(#74) Expected 1 space between the comma and "3.15". Found: 2 spaces
(#74) Expected 1 space after comma in argument list; 2 found
(#74) Expected 1 space between the comma and "0". Found: 2 spaces
(#80) Missing docblock for function set_participant
(#95) Expected 0 spaces after "("; 1 found
(#95) Expected 0 spaces after opening parenthesis; 1 found
(#95) Line exceeds 132 characters; contains 150 characters
(#97) Space after opening parenthesis of function call prohibited
(#100) Expected 1 newline at end of file; 0 found
(#100) The closing brace for the class must go on the next line after the body
mod/offlinequiz/report/identified/classes/identifiedformselector.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Missing docblock for class identifiedformselector
(#34) Possible useless method overriding detected
(#34) Missing docblock for function __construct
(#36) Whitespace found at end of line
(#37) Missing docblock for function definition
(#45) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#57) Whitespace found at end of line
(#58) Expected at least 1 space before "-"; 0 found
(#58) Expected at least 1 space after "-"; 0 found
(#58) Expected 1 space before "-"; 0 found
(#58) Expected 1 space after "-"; 0 found
(#60) Line indented incorrectly; expected 8 spaces, found 12
(#60) Closing brace indented incorrectly; expected 8 spaces, found 12
(#61) Whitespace found at end of line
(#63) Expected 1 space after FUNCTION keyword; 0 found
(#68) Line indented incorrectly; expected 12 spaces, found 16
(#69) Expected at least 1 space before "."; 0 found
(#70) Line indented incorrectly; expected 12 spaces, found 16
(#72) Line indented incorrectly; expected 12 spaces, found 16
(#74) Line indented incorrectly; expected 8 spaces, found 12
(#74) Closing brace indented incorrectly; expected 8 spaces, found 12
(#87) Whitespace found at end of line
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) No space found before comment text; expected "// $mform->addElement('checkbox', 'onlyifaccess', get_string('onlyifaccess', 'offlinequiz_identified'));" but found "//$mform->addElement('checkbox', 'onlyifaccess', get_string('onlyifaccess', 'offlinequiz_identified'));"
(#100) Expected 1 newline at end of file; 0 found
mod/offlinequiz/report/identified/classes/report.php
(#20) Incorrect @package tag for file report.php. Expected offlinequiz_identified, found mod_offlinequiz.
(#30) Import statements must not begin with a leading backslash
(#31) Import statements must not begin with a leading backslash
(#32) Import statements must not begin with a leading backslash
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Opening brace must not be followed by a blank line
(#41) Missing docblock for function display
(#42) Opening brace should be on the same line as the declaration
(#49) Blank line found at start of control structure
(#54) Expected at least 1 space before "?"; 0 found
(#54) Expected 1 space before "?"; 0 found
(#55) Expected at least 1 space before "+"; 0 found
(#55) Expected at least 1 space after "+"; 0 found
(#55) Expected 1 space before "+"; 0 found
(#55) Expected 1 space after "+"; 0 found
(#58) Short array syntax must be used to define arrays
(#61) Line exceeds 132 characters; contains 153 characters
(#75) Whitespace found at end of line
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Expected at least 1 space before "=>"; 0 found
(#95) Expected at least 1 space after "=>"; 0 found
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#95) Line exceeds 132 characters; contains 147 characters
(#102) Whitespace found at end of line
(#103) Missing docblock for function add_to_navigation
(#106) Missing docblock for function get_active_tab
(#106) Expected "function abc(...)"; found "function abc (...)"
(#106) Expected 0 spaces after "get_active_tab"; 1 found
(#106) Expected 0 spaces before opening parenthesis; 1 found
(#107) Expected "if (...) {\n"; found "if(...) {\n"
(#107) Expected 1 space after IF keyword; 0 found
(#111) Missing docblock for function get_report_title
(#114) Missing docblock for function get_navigation_key
(#117) Missing docblock for function get_actions_html
(#120) Expected "if (...) {\n"; found "if(...) {\n"
(#120) Expected 1 space after IF keyword; 0 found
(#121) Expected "if (...) {\n"; found "if(...) {\n"
(#121) Expected 1 space after IF keyword; 0 found
(#121) Line exceeds 132 characters; contains 140 characters
mod/offlinequiz/report/identified/lang/en/offlinequiz_identified.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file offlinequiz_identified.php
(#18) The string key "enableidentified" is not in the correct order, it should be before "pluginname"
(#21) The string key "identified" is not in the correct order, it should be before "offlinequizidentifiedheading"
(#27) Expected at least 1 space after "="; 0 found
(#27) Expected 1 space after "="; 0 found
(#31) The string key "group" is not in the correct order, it should be before "return"
(#33) Unexpected string end, it should be a line feed after a semicolon
(#33) Expected 1 newline at end of file; 0 found
mod/offlinequiz/report/identified/locallib.php
(#20) Incorrect @package tag for file locallib.php. Expected offlinequiz_identified, found mod.
(#40) Missing member variable doc comment
(#41) Missing member variable doc comment
(#43) Missing docblock for function Header
(#43) Public method name "offlinequiz_answer_pdf_identified::Header" must be in lower-case letters only
(#43) Expected 1 space before opening brace; found 0
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Expected 1 space after comma in argument list; 2 found
(#56) Expected 1 space between the comma and "29". Found: 2 spaces
(#57) Expected at least 1 space before "."; 0 found
(#57) Expected at least 1 space after "."; 0 found
(#58) Expected 1 space after comma in argument list; 2 found
(#58) Expected 1 space between the comma and "36". Found: 2 spaces
(#59) Expected at least 1 space before "."; 0 found
(#59) Expected at least 1 space after "."; 0 found
(#61) Whitespace found at end of line
(#66) Expected at least 1 space before "*"; 0 found
(#66) Expected at least 1 space after "*"; 0 found
(#66) Expected 1 space before "*"; 0 found
(#66) Expected 1 space after "*"; 0 found
(#78) Expected 1 space after comma in argument list; 2 found
(#78) Expected 1 space between the comma and "1". Found: 2 spaces
(#80) Space found before comma in argument list
(#80) Expected 1 space after comma in argument list; 2 found
(#80) Expected no space between "$x" and the comma. Found: 1 space
(#80) Expected 1 space between the comma and "$y". Found: 2 spaces
(#80) Expected 1 space after comma in argument list; 2 found
(#80) Expected 1 space between the comma and "3.15". Found: 2 spaces
(#80) Expected 1 space after comma in argument list; 2 found
(#80) Expected 1 space between the comma and "0". Found: 2 spaces
(#88) Missing docblock for function offlinequizidentified_get_participants
(#103) Short array syntax must be used to define arrays
(#108) Long list syntax is not allowed
(#109) Long list syntax is not allowed
(#126) Whitespace found at end of line
(#127) Inline comments must start with a capital letter, digit or 3-dots sequence
(#127) This comment is 64% valid code; is this commented out code?
(#128) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#129) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#130) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#131) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#146) Expected 0 spaces after opening bracket; 1 found
(#148) Whitespace found at end of line
(#150) Whitespace found at end of line
(#164) Incorrect spacing between argument "$nogroupmark" and equals sign; expected 1 but found 0
(#164) Incorrect spacing between default value and equals sign for argument "$nogroupmark"; expected 1 but found 0
(#164) Line exceeds 132 characters; contains 153 characters
(#173) Whitespace found at end of line
(#177) Expected at least 1 space before "."; 0 found
(#177) Expected at least 1 space after "."; 0 found
(#182) Expected "if (...) {\n"; found "if (...){\n"
(#182) Expected at least 1 space before "=="; 0 found
(#182) Expected at least 1 space after "=="; 0 found
(#182) Expected 1 space before "=="; 0 found
(#182) Expected 1 space after "=="; 0 found
(#182) Expected 1 space after closing parenthesis; found 0
(#189) Short array syntax must be used to define arrays
(#190) Whitespace found at end of line
(#192) Expected at least 1 space before "="; 0 found
(#192) Expected 1 space before "="; 0 found
(#192) Short array syntax must be used to define arrays
(#195) Space found before comma in argument list
(#195) Expected no space between ""missinggroup"" and the comma. Found: 1 space
(#197) Expected at least 1 space before "."; 0 found
(#197) Expected at least 1 space after "."; 0 found
(#201) Whitespace found at end of line
(#203) Space after opening parenthesis of function call prohibited
(#203) Line exceeds 132 characters; contains 143 characters
(#208) Expected 1 blank line at end of file; 2 found
mod/offlinequiz/report/identified/settings.php
(#20) Incorrect @package tag for file settings.php. Expected offlinequiz_identified, found offlinequiz.
(#32) Opening parenthesis of a multi-line function call must be the last content on the line
(#33) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#33) Only one argument is allowed per line in a multi-line function call
(#33) Closing parenthesis of a multi-line function call must be on a line by itself
(#34) Opening parenthesis of a multi-line function call must be the last content on the line
(#35) Only one argument is allowed per line in a multi-line function call
(#36) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#36) Closing parenthesis of a multi-line function call must be on a line by itself
(#38) Expected 1 newline at end of file; 0 found
mod/offlinequiz/report/identified/version.php
(#20) Incorrect @package tag for file version.php. Expected offlinequiz_identified, found mod.
(#36) Short array syntax must be used to define arrays
mod/offlinequiz/report/overview/classes/html_download.php
(#20) Incorrect @package tag for file html_download.php. Expected offlinequiz_overview, found mod.
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#33) Missing docblock for class html_download
(#33) Opening brace must not be followed by a blank line
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#38) Missing member variable doc comment
(#40) Missing docblock for function __construct
(#42) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#47) Multi-line function call not indented correctly; expected 12 spaces but found 13
(#47) Closing parenthesis of a multi-line function call must be on a line by itself
(#58) Missing docblock for function printhtml
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Short array syntax must be used to define arrays
(#94) Blank line found at end of control structure
(#96) Short array syntax must be used to define arrays
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
(#114) Expected at least 1 space before "."; 0 found
(#114) Expected at least 1 space after "."; 0 found
(#114) Expected at least 1 space before "."; 0 found
(#114) Expected at least 1 space after "."; 0 found
(#115) Expected at least 1 space before "."; 0 found
(#115) Expected at least 1 space after "."; 0 found
(#115) Expected at least 1 space before "."; 0 found
(#115) Expected at least 1 space after "."; 0 found
(#116) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#118) Expected at least 1 space before "."; 0 found
(#118) Expected at least 1 space after "."; 0 found
(#123) Blank line found at start of control structure
(#128) Short array syntax must be used to define arrays
(#130) Parentheses must be used when instantiating a new class
(#133) Short array syntax must be used to define arrays
(#139) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#140) Each line in a multi-line control structure must be indented at least once; expected at least 16 spaces, but found 14
(#140) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#140) Blank line found at start of control structure
(#162) Missing docblock for function get_result_ids
(#165) Long list syntax is not allowed
(#169) Opening parenthesis of a multi-line function call must be the last content on the line
(#170) Multi-line function call not indented correctly; expected 8 spaces but found 9
(#170) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/report/overview/classes/privacy/provider.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Missing @copyright tag
(#21) Missing @license tag
(#21) Missing docblock for class provider
(#23) Expected 4 spaces before interface name; 0 found
(#29) There must not be a space before the colon in a return type declaration
mod/offlinequiz/report/overview/classes/report.php
(#20) Incorrect @package tag for file report.php. Expected offlinequiz_overview, found mod.
(#32) Import statements must not begin with a leading backslash
(#33) Import statements must not begin with a leading backslash
(#34) Import statements must not begin with a leading backslash
(#35) Import statements must not begin with a leading backslash
(#36) Import statements must not begin with a leading backslash
(#37) Import statements must not begin with a leading backslash
(#38) Import statements must not begin with a leading backslash
(#39) Import statements must not begin with a leading backslash
(#40) Import statements must not begin with a leading backslash
(#41) Import statements must not begin with a leading backslash
(#47) Missing docblock for class report
(#47) Opening brace must not be followed by a blank line
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#111) 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 16 spaces but found 20
(#116) There should be a comma after the last array item in a multi-line array.
(#117) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#117) Closing parenthesis of a multi-line function call must be on a line by itself
(#132) Whitespace found at end of line
(#133) Short array syntax must be used to define arrays
(#143) Blank line found at start of control structure
(#145) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#145) Opening parenthesis of a multi-line function call must be the last content on the line
(#146) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#146) Short array syntax must be used to define arrays
(#146) There should be a comma after the last array item in a multi-line array.
(#147) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#147) Closing parenthesis of a multi-line function call must be on a line by itself
(#147) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#147) Blank line found at start of control structure
(#152) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#155) 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.
(#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 28 spaces but found 32
(#164) Short array syntax must be used to define arrays
(#164) There should be a comma after the last array item in a multi-line array.
(#165) Multi-line function call not indented correctly; expected 24 spaces but found 32
(#165) Closing parenthesis of a multi-line function call must be on a line by itself
(#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 28 spaces but found 32
(#167) Short array syntax must be used to define arrays
(#167) There should be a comma after the last array item in a multi-line array.
(#168) Multi-line function call not indented correctly; expected 24 spaces but found 32
(#168) Closing parenthesis of a multi-line function call must be on a line by itself
(#177) Short array syntax must be used to define arrays
(#179) There should be a comma after the last array item in a multi-line array.
(#183) Opening parenthesis of a multi-line function call must be the last content on the line
(#183) Only one argument is allowed per line in a multi-line function call
(#183) Only one argument is allowed per line in a multi-line function call
(#184) Multi-line function call not indented correctly; expected 32 spaces but found 36
(#184) Short array syntax must be used to define arrays
(#184) There should be a comma after the last array item in a multi-line array.
(#185) Multi-line function call not indented correctly; expected 28 spaces but found 36
(#185) Closing parenthesis of a multi-line function call must be on a line by itself
(#186) Opening parenthesis of a multi-line function call must be the last content on the line
(#186) Only one argument is allowed per line in a multi-line function call
(#186) Only one argument is allowed per line in a multi-line function call
(#187) Multi-line function call not indented correctly; expected 32 spaces but found 36
(#187) Short array syntax must be used to define arrays
(#187) There should be a comma after the last array item in a multi-line array.
(#188) Multi-line function call not indented correctly; expected 28 spaces but found 36
(#188) Closing parenthesis of a multi-line function call must be on a line by itself
(#196) Opening parenthesis of a multi-line function call must be the last content on the line
(#197) Short array syntax must be used to define arrays
(#199) There should be a comma after the last array item in a multi-line array.
(#200) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#200) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#200) Closing parenthesis of a multi-line function call must be on a line by itself
(#200) Closing parenthesis of a multi-line function call must be on a line by itself
(#206) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#206) Closing parenthesis of a multi-line function call must be on a line by itself
(#211) Opening parenthesis of a multi-line function call must be the last content on the line
(#212) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#212) Short array syntax must be used to define arrays
(#212) There should be a comma after the last array item in a multi-line array.
(#213) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#213) Only one argument is allowed per line in a multi-line function call
(#213) Only one argument is allowed per line in a multi-line function call
(#213) Only one argument is allowed per line in a multi-line function call
(#213) Only one argument is allowed per line in a multi-line function call
(#213) Closing parenthesis of a multi-line function call must be on a line by itself
(#216) Short array syntax must be used to define arrays
(#217) There should be a comma after the last array item in a multi-line array.
(#220) Short array syntax must be used to define arrays
(#224) There should be a comma after the last array item in a multi-line array.
(#227) Short array syntax must be used to define arrays
(#230) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#230) Opening parenthesis of a multi-line function call must be the last content on the line
(#231) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#231) Short array syntax must be used to define arrays
(#231) There should be a comma after the last array item in a multi-line array.
(#232) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#232) Closing parenthesis of a multi-line function call must be on a line by itself
(#232) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#237) Opening parenthesis of a multi-line function call must be the last content on the line
(#238) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#238) Short array syntax must be used to define arrays
(#238) There should be a comma after the last array item in a multi-line array.
(#239) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#239) Closing parenthesis of a multi-line function call must be on a line by itself
(#247) Short array syntax must be used to define arrays
(#247) There should be a comma after the last array item in a multi-line array.
(#253) Opening parenthesis of a multi-line function call must be the last content on the line
(#254) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#254) Short array syntax must be used to define arrays
(#255) There should be a comma after the last array item in a multi-line array.
(#256) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#256) Closing parenthesis of a multi-line function call must be on a line by itself
(#283) Expected 0 spaces before closing bracket; 1 found
(#297) Long list syntax is not allowed
(#300) Short array syntax must be used to define arrays
(#302) There should be a comma after the last array item in a multi-line array.
(#353) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#353) Closing parenthesis of a multi-line function call must be on a line by itself
(#364) Short array syntax must be used to define arrays
(#367) Opening parenthesis of a multi-line function call must be the last content on the line
(#367) Only one argument is allowed per line in a multi-line function call
(#368) Multi-line function call not indented correctly; expected 36 spaces but found 40
(#368) Short array syntax must be used to define arrays
(#368) There should be a comma after the last array item in a multi-line array.
(#369) Multi-line function call not indented correctly; expected 32 spaces but found 40
(#369) Closing parenthesis of a multi-line function call must be on a line by itself
(#394) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#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
(#395) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#398) Short array syntax must be used to define arrays
(#413) Long list syntax is not allowed
(#414) Long list syntax is not allowed
(#423) Short array syntax must be used to define arrays
(#453) Long list syntax is not allowed
(#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 12 spaces but found 20
(#478) Only one argument is allowed per line in a multi-line function call
(#478) Closing parenthesis of a multi-line function call must be on a line by itself
(#489) Opening parenthesis of a multi-line function call must be the last content on the line
(#490) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#490) Short array syntax must be used to define arrays
(#490) There should be a comma after the last array item in a multi-line array.
(#491) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#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
(#493) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#493) Short array syntax must be used to define arrays
(#493) There should be a comma after the last array item in a multi-line array.
(#494) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#494) Closing parenthesis of a multi-line function call must be on a line by itself
(#519) Short array syntax must be used to define arrays
(#520) There should be a comma after the last array item in a multi-line array.
(#523) Short array syntax must be used to define arrays
(#524) There should be a comma after the last array item in a multi-line array.
(#528) Line exceeds 132 characters; contains 134 characters
(#561) Blank line found at end of control structure
(#566) Logical operator "or" is prohibited; use "||" instead
(#579) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#579) Opening parenthesis of a multi-line function call must be the last content on the line
(#580) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#580) Short array syntax must be used to define arrays
(#580) There should be a comma after the last array item in a multi-line array.
(#581) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#581) Only one argument is allowed per line in a multi-line function call
(#581) Closing parenthesis of a multi-line function call must be on a line by itself
(#581) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#584) Opening parenthesis of a multi-line function call must be the last content on the line
(#585) Multi-line function call not indented correctly; expected 36 spaces but found 40
(#585) Short array syntax must be used to define arrays
(#585) There should be a comma after the last array item in a multi-line array.
(#586) Multi-line function call not indented correctly; expected 32 spaces but found 40
(#586) Only one argument is allowed per line in a multi-line function call
(#586) Closing parenthesis of a multi-line function call must be on a line by itself
(#589) Short array syntax must be used to define arrays
(#601) Short array syntax must be used to define arrays
(#627) Opening parenthesis of a multi-line function call must be the last content on the line
(#627) Only one argument is allowed per line in a multi-line function call
(#628) Multi-line function call not indented correctly; expected 37 spaces but found 44
(#628) Closing parenthesis of a multi-line function call must be on a line by itself
(#652) Short array syntax must be used to define arrays
(#657) There should be a comma after the last array item in a multi-line array.
(#699) Short array syntax must be used to define arrays
(#718) Missing docblock for function get_grade
(#729) Missing docblock for function get_gradeletter
(#749) Missing docblock for function add_to_navigation
(#750) Opening brace indented incorrectly; expected 4 spaces, found 7
(#750) Opening brace should be on the same line as the declaration
(#752) Expected at least 1 space before "="; 0 found
(#752) Expected 1 space before "="; 0 found
(#752) Opening parenthesis of a multi-line function call must be the last content on the line
(#753) Multi-line function call not indented correctly; expected 12 spaces but found 40
(#753) Line exceeds 132 characters; contains 144 characters
(#754) Multi-line function call not indented correctly; expected 8 spaces but found 40
(#754) Closing parenthesis of a multi-line function call must be on a line by itself
(#759) Line indented incorrectly; expected 4 spaces, found 7
(#759) Closing brace indented incorrectly; expected 4 spaces, found 7
(#760) Missing docblock for function get_report_title
(#763) Missing docblock for function get_navigation_key
(#766) Missing docblock for function route
(#767) Opening brace should be on the same line as the declaration
(#771) Line exceeds 132 characters; contains 148 characters
(#771) This comment is 62% valid code; is this commented out code?
(#773) Inline comments must end in full-stops, exclamation marks, or question marks
(#773) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#774) Whitespace found at end of line
(#775) Inline comments must start with a capital letter, digit or 3-dots sequence
(#775) Whitespace found at end of line
(#779) Inline comments must start with a capital letter, digit or 3-dots sequence
(#779) This comment is 62% valid code; is this commented out code?
(#779) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#780) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#781) Inline comments must end in full-stops, exclamation marks, or question marks
mod/offlinequiz/report/overview/lang/en/offlinequiz_overview.php
(#20) Incorrect @package tag for file offlinequiz_overview.php. Expected offlinequiz_overview, found mod.
mod/offlinequiz/report/overview/results_table.php
(#20) Incorrect @package tag for file results_table.php. Expected offlinequiz_overview, found mod.
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#33) Missing docblock for class offlinequiz_results_table
(#33) Opening brace must not be followed by a blank line
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#39) Missing docblock for function __construct
(#46) Missing docblock for function print_nothing_to_display
(#51) Missing docblock for function wrap_html_start
(#65) Missing docblock for function wrap_html_finish
(#71) Expected at least 1 space before "."; 0 found
(#74) Expected at least 1 space before "."; 0 found
(#74) Expected at least 1 space after "."; 0 found
(#74) Expected at least 1 space before "."; 0 found
(#74) Expected at least 1 space after "."; 0 found
(#82) Missing docblock for function print_one_initials_bar
(#83) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#104) The closing brace for the class must go on the next line after the body
mod/offlinequiz/report/overview/version.php
(#20) Incorrect @package tag for file version.php. Expected offlinequiz_overview, found mod.
mod/offlinequiz/report/reportlib.php
(#20) Incorrect @package tag for file reportlib.php. Expected mod_offlinequiz, found mod.
(#55) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#58) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#84) Missing docblock for function offlinequiz_report_unindex
(#88) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#113) Long list syntax is not allowed
(#131) Short array syntax must be used to define arrays
(#235) Opening parenthesis of a multi-line function call must be the last content on the line
(#236) Short array syntax must be used to define arrays
(#236) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/report/rimport/boxscanner.php
(#1) Missing docblock for file boxscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#28) Missing docblock for class pixelcountboxscanner
(#28) Opening brace must not be followed by a blank line
(#30) Missing member variable doc comment
(#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) Only one argument is allowed per line in a multi-line function call
(#51) Closing parenthesis of a multi-line function call must be on a line by itself
(#78) Missing docblock for function get_image_black_value
(#90) Missing docblock for class weighted_diagonal_box_scanner
(#90) Each class must be in a file by itself
(#91) Missing member variable doc comment
(#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 8 spaces but found 12
(#114) Only one argument is allowed per line in a multi-line function call
(#114) Closing parenthesis of a multi-line function call must be on a line by itself
(#144) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#146) Missing docblock for function remove_edges
(#146) Expected 0 spaces after "("; 1 found
(#146) Expected 0 spaces after opening parenthesis; 1 found
(#150) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#196) Missing docblock for function get_image_black_value
(#207) Missing docblock for function get_box_diag_up_black_value
(#221) Missing docblock for function get_box_diag_down_black_value
(#235) Missing docblock for function get_diag_up_value
(#237) Line exceeds 132 characters; contains 133 characters
(#240) Missing docblock for function get_diag_down_value
(#243) Line exceeds 132 characters; contains 133 characters
(#246) Missing docblock for function get_diag_up_distance
(#261) Missing docblock for function get_diag_down_distance
mod/offlinequiz/report/rimport/classes/privacy/provider.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Missing @copyright tag
(#21) Missing @license tag
(#21) Missing docblock for class provider
(#23) Expected 4 spaces before interface name; 0 found
(#29) There must not be a space before the colon in a return type declaration
mod/offlinequiz/report/rimport/classes/report.php
(#20) Incorrect @package tag for file report.php. Expected offlinequiz_rimport, found mod.
(#31) Import statements must not begin with a leading backslash
(#32) Import statements must not begin with a leading backslash
(#33) Import statements must not begin with a leading backslash
(#34) Import statements must not begin with a leading backslash
(#35) Import statements must not begin with a leading backslash
(#36) Import statements must not begin with a leading backslash
(#41) Missing docblock for class report
(#41) Opening brace must not be followed by a blank line
(#43) Missing member variable doc comment
(#53) Short array syntax must be used to define arrays
(#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) Short array syntax must be used to define arrays
(#73) Closing parenthesis of a multi-line function call must be on a line by itself
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) No space found before comment text; expected "// escape filename for security reasons" but found "//escape filename for security reasons"
(#81) Each PHP statement must be on a line by itself
(#90) Expected at least 1 space before "="; 0 found
(#90) Expected 1 space before "="; 0 found
(#109) No space found before comment text; expected "// Execute ASAP." but found "//Execute ASAP."
(#115) Blank line found at start of control structure
(#125) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#134) Opening parenthesis of a multi-line function call must be the last content on the line
(#135) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#135) Closing parenthesis of a multi-line function call must be on a line by itself
(#142) Blank line found at start of control structure
(#144) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#171) Missing docblock for function create_file_entry
(#173) Short array syntax must be used to define arrays
(#174) Expected 1 space between the comma and "// ID of context.". Found: 6 spaces
(#176) Expected 1 space between the comma and "// Usually = table name.". Found: 6 spaces
(#177) Expected 1 space between the comma and "// Usually = ID of row in table.". Found: 17 spaces
(#178) There should be a comma after the last array item in a multi-line array.
(#190) Missing docblock for function add_to_navigation
(#191) Opening brace should be on the same line as the declaration
(#191) Whitespace found at end of line
(#193) Expected "if (...) {\n"; found "if(...) {\n"
(#193) Expected 1 space after IF keyword; 0 found
(#194) Opening parenthesis of a multi-line function call must be the last content on the line
(#196) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#196) Closing parenthesis of a multi-line function call must be on a line by itself
(#197) No space found before comment text; expected "// Now include as a the first item." but found "//Now include as a the first item."
(#198) No space found after comma in argument list
(#198) Commas (,) must be followed by white space.
(#198) Expected 1 space between the comma and "'tabofflinequizcorrect'". Found: no spaces
(#202) Missing docblock for function get_report_title
(#205) Missing docblock for function get_navigation_key
mod/offlinequiz/report/rimport/classes/task/adhoc/extract_files.php
(#1) Moodle boilerplate not found
(#8) Missing @copyright tag
(#8) Missing @license tag
(#11) DocBlock missing a @package tag for class extract_files. Expected @package offlinequiz_rimport
(#11) Opening brace must not be followed by a blank line
(#12) Whitespace found at end of line
(#13) Missing docblock for function instance
(#15) Multi-line function declaration not indented correctly; expected 4 spaces but found 8
(#22) Whitespace found at end of line
(#29) No space found after comma in argument list
(#29) Commas (,) must be followed by white space.
(#29) Expected 1 space between the comma and "[". Found: no spaces
(#34) No space found after comma in argument list
(#34) Commas (,) must be followed by white space.
(#34) Expected 1 space between the comma and "$queue". Found: no spaces
(#36) Expected "if (...) {\n"; found "if(...) {\n"
(#36) Expected 1 space after IF keyword; 0 found
(#36) No space found after comma in argument list
(#36) Commas (,) must be followed by white space.
(#36) Expected 1 space between the comma and "[". Found: no spaces
(#36) Expected at least 1 space after "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// This is a rerun. Just queue all the files again and we're done" but found "//This is a rerun. Just queue all the files again and we're done"
(#38) Expected at least 1 space after "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#39) Expected at least 1 space after "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#42) No space found before comment text; expected "// Execute ASAP." but found "//Execute ASAP."
(#46) No space found after comma in argument list
(#46) Commas (,) must be followed by white space.
(#46) Expected 1 space between the comma and "'status'". Found: no spaces
(#46) No space found after comma in argument list
(#46) Commas (,) must be followed by white space.
(#46) Expected 1 space between the comma and "'finished'". Found: no spaces
(#51) Expected "if (...) {\n"; found "if(...) {\n"
(#51) Expected 1 space after IF keyword; 0 found
(#51) Blank line found at start of control structure
(#53) No space found after comma in argument list
(#53) Commas (,) must be followed by white space.
(#53) Expected 1 space between the comma and "$queue". Found: no spaces
(#53) No space found after comma in argument list
(#53) Commas (,) must be followed by white space.
(#53) Expected 1 space between the comma and "$queue". Found: no spaces
(#55) Short array syntax must be used to define arrays
(#56) "require_once" must be immediately followed by an open parenthesis
(#66) Expected "if (...) {\n"; found "if(...) {\n"
(#66) Expected 1 space after IF keyword; 0 found
(#72) No space found after comma in argument list
(#72) Commas (,) must be followed by white space.
(#72) Expected 1 space between the comma and "$queue". Found: no spaces
(#89) Expected "if (...) {\n"; found "if(...) {\n"
(#89) Expected 1 space after IF keyword; 0 found
(#99) Expected "if (...) {\n"; found "if(...) {\n"
(#99) Expected 1 space after IF keyword; 0 found
(#99) Space before opening parenthesis of function call prohibited
(#99) Space after opening parenthesis of function call prohibited
(#102) Space found before comma in argument list
(#102) Expected no space between "'/^image/'" and the comma. Found: 1 space
(#128) No space found after comma in argument list
(#128) Commas (,) must be followed by white space.
(#128) Expected 1 space between the comma and "$jobfile". Found: no spaces
(#130) No space found before comment text; expected "// Execute ASAP." but found "//Execute ASAP."
(#136) Expected "if (...) {\n"; found "if(...) {\n"
(#136) Expected 1 space after IF keyword; 0 found
(#148) No one-line description found in phpdocs for docblock of function extract_pdf_to_tiff
(#158) Expected "if (...) {\n"; found "if(...) {\n"
(#158) Expected 1 space after IF keyword; 0 found
(#166) Whitespace found at end of line
(#175) Missing docblock for function convert_black_white
(#176) Line exceeds 132 characters; contains 145 characters
(#179) Whitespace found at end of line
(#180) Missing docblock for function remove_original_file
(#186) Missing docblock for function restorefile
(#193) Whitespace found at end of line
(#194) Missing docblock for function create_queuedatafile_entry
(#196) Short array syntax must be used to define arrays
(#197) Expected 1 space between the comma and "// ID of context.". Found: 6 spaces
(#199) Expected 1 space between the comma and "// Usually = table name.". Found: 6 spaces
(#200) Expected 1 space between the comma and "// Usually = ID of row in table.". Found: 17 spaces
(#201) There should be a comma after the last array item in a multi-line array.
(#203) Whitespace found at end of line
(#210) Whitespace found at end of line
(#211) Expected 1 newline at end of file; 0 found
(#211) The closing brace for the class must go on the next line after the body
mod/offlinequiz/report/rimport/classes/task/adhoc/scan_file.php
(#1) Moodle boilerplate not found
(#4) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#4) "require_once" must be immediately followed by an open parenthesis
(#4) Space before opening parenthesis of function call prohibited
(#5) "require_once" must be immediately followed by an open parenthesis
(#5) Space before opening parenthesis of function call prohibited
(#6) "require_once" must be immediately followed by an open parenthesis
(#6) Space before opening parenthesis of function call prohibited
(#7) "require_once" must be immediately followed by an open parenthesis
(#7) Space before opening parenthesis of function call prohibited
(#9) Missing @copyright tag
(#9) Missing @license tag
(#12) DocBlock missing a @package tag for class scan_file. Expected @package offlinequiz_rimport
(#13) Opening brace must not be followed by a blank line
(#15) Missing docblock for function instance
(#16) Opening brace should be on the same line as the declaration
(#19) There should be a comma after the last array item in a multi-line array.
(#24) Missing docblock for function execute
(#25) Opening brace should be on the same line as the declaration
(#29) There should be a comma after the last array item in a multi-line array.
(#32) There should be a comma after the last array item in a multi-line array.
(#38) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#38) Short array syntax must be used to define arrays
(#39) There should be a comma after the last array item in a multi-line array.
(#40) Each line in a multi-line control structure must be indented at least once; expected at least 12 spaces, but found 8
(#40) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#43) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#43) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
(#45) Each line in a multi-line control structure must be indented at least once; expected at least 12 spaces, but found 8
(#45) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#58) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#59) There should be a comma after the last array item in a multi-line array.
(#60) Each line in a multi-line control structure must be indented at least once; expected at least 12 spaces, but found 8
(#60) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#65) Expected "if (...) {\n"; found "if(...) {\n"
(#65) Expected 1 space after IF keyword; 0 found
(#65) Blank line found at start of control structure
(#66) Whitespace found at end of line
(#67) No space found after comma in argument list
(#67) Commas (,) must be followed by white space.
(#67) Expected 1 space between the comma and "$queue". Found: no spaces
(#67) No space found after comma in argument list
(#67) Commas (,) must be followed by white space.
(#67) Expected 1 space between the comma and "$queue". Found: no spaces
(#69) Long list syntax is not allowed
(#80) No space found after comma in argument list
(#80) Commas (,) must be followed by white space.
(#80) Expected 1 space between the comma and "IGNORE_MISSING". Found: no spaces
(#80) Line exceeds 132 characters; contains 135 characters
(#92) Long list syntax is not allowed
(#92) Line exceeds 132 characters; contains 166 characters
(#106) Line exceeds 132 characters; contains 170 characters
(#110) Line exceeds 132 characters; contains 171 characters
(#117) Line exceeds 132 characters; contains 171 characters
(#121) Line exceeds 132 characters; contains 170 characters
(#123) Short array syntax must be used to define arrays
(#124) There should be a comma after the last array item in a multi-line array.
(#127) Short array syntax must be used to define arrays
(#128) There should be a comma after the last array item in a multi-line array.
(#130) Short array syntax must be used to define arrays
(#131) There should be a comma after the last array item in a multi-line array.
(#136) Line exceeds 132 characters; contains 136 characters
(#143) Short array syntax must be used to define arrays
(#144) There should be a comma after the last array item in a multi-line array.
(#146) Short array syntax must be used to define arrays
(#147) There should be a comma after the last array item in a multi-line array.
(#149) Short array syntax must be used to define arrays
(#150) There should be a comma after the last array item in a multi-line array.
(#161) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#162) Whitespace found at end of line
(#163) Function closing brace must go on the next line following the body; found 2 blank lines before brace
(#164) Whitespace found at end of line
(#165) Missing docblock for function send_notifications
(#167) No space found before comment text; expected "// Execute ASAP." but found "//Execute ASAP."
(#171) Whitespace found at end of line
(#172) Missing docblock for function restorefile
(#174) Whitespace found at end of line
(#180) Missing docblock for function log_error
(#181) Opening brace should be on the same line as the declaration
(#187) Expected 1 newline at end of file; 0 found
mod/offlinequiz/report/rimport/classes/task/adhoc/send_notifications.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#18) Missing @copyright tag
(#18) Missing @license tag
(#21) DocBlock missing a @package tag for class send_notifications. Expected @package offlinequiz_rimport
(#22) Missing docblock for function instance
(#23) Opening brace should be on the same line as the declaration
(#26) There should be a comma after the last array item in a multi-line array.
(#30) Missing docblock for function execute
(#31) Opening brace should be on the same line as the declaration
(#34) No space found after comma in argument list
(#34) Commas (,) must be followed by white space.
(#34) Expected 1 space between the comma and "[". Found: no spaces
(#35) Whitespace found at end of line
(#39) There should be a comma after the last array item in a multi-line array.
(#45) Whitespace found at end of line
(#49) Whitespace found at end of line
(#51) Whitespace found at end of line
(#54) Whitespace found at end of line
(#61) Whitespace found at end of line
(#63) Whitespace found at end of line
(#70) Whitespace found at end of line
(#75) Whitespace found at end of line
(#76) Line exceeds 132 characters; contains 148 characters
(#77) Whitespace found at end of line
(#78) Line exceeds 132 characters; contains 133 characters
(#80) Whitespace found at end of line
(#83) Whitespace found at end of line
(#86) Whitespace found at end of line
(#88) Whitespace found at end of line
(#101) Whitespace found at end of line
(#105) Whitespace found at end of line
(#106) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#108) Whitespace found at end of line
(#109) Whitespace found at end of line
(#110) Expected 1 newline at end of file; 0 found
(#110) The closing brace for the class must go on the next line after the body
mod/offlinequiz/report/rimport/crossscanner.php
(#1) Missing docblock for file crossscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Missing docblock for class crossfinder
(#25) Opening brace must not be followed by a blank line
(#129) Missing docblock for function findclosest
(#129) Expected "function abc(...)"; found "function abc (...)"
(#129) Expected 0 spaces after "findclosest"; 1 found
(#129) Expected 0 spaces before opening parenthesis; 1 found
(#131) Expected 0 spaces after opening bracket; 1 found
(#131) Expected 0 spaces before closing bracket; 1 found
(#145) Missing docblock for class simple_cross_scanner
(#145) Each class must be in a file by itself
(#145) Opening brace must not be followed by a blank line
(#147) Missing docblock for function findcross
(#211) Blank line found at start of control structure
(#320) Function closing brace must go on the next line following the body; found 1 blank lines before brace
mod/offlinequiz/report/rimport/groupnumberscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#25) Missing @copyright tag
(#25) Missing @license tag
(#25) Missing docblock for class offlinequiz_groupnumberscanner
(#25) Opening brace must not be followed by a blank line
(#27) Missing member variable doc comment
(#29) Missing docblock for function __construct
(#33) Missing docblock for function scan_group_number
(#48) Expected 0 spaces before closing bracket; 1 found
(#52) Opening parenthesis of a multi-line function call must be the last content on the line
(#53) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#53) Short array syntax must be used to define arrays
(#53) Closing parenthesis of a multi-line function call must be on a line by itself
(#63) Missing docblock for function calculate_group_number_middles
(#64) Short array syntax must be used to define arrays
(#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 12 spaces but found 16
(#68) Only one argument is allowed per line in a multi-line function call
(#68) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/report/rimport/lang/en/offlinequiz_rimport.php
(#20) Incorrect @package tag for file offlinequiz_rimport.php. Expected offlinequiz_rimport, found mod.
(#38) The string key "errorinsecuremarkings" is not in the correct order, it should be before "erroruseridviolation"
(#40) The string key "errorinvalidlistnumber" is not in the correct order, it should be before "errorinvalidpagenumber"
(#47) The string key "errordifferentresultexists" is not in the correct order, it should be before "errorresultexists"
(#50) The string key "errorimportusernotinlist" is not in the correct order, it should be before "errorusernotinlist"
(#53) The string key "errorjpgnotsupported" is not in the correct order, it should be before "errortiffnotsupported"
(#54) The string key "errorgifnotsupported" is not in the correct order, it should be before "errorjpgnotsupported"
(#59) The string key "importedon" is not in the correct order, it should be before "importlisterror"
(#67) The string key "scanerrorlistnumber" is not in the correct order, it should be before "showpage"
mod/offlinequiz/report/rimport/page.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#26) Missing @copyright tag
(#26) Missing @license tag
(#26) Missing docblock for class offlinequiz_result_page
(#26) Opening brace must not be followed by a blank line
(#29) Missing member variable doc comment
(#30) Missing member variable doc comment
(#31) Missing member variable doc comment
(#32) Missing member variable doc comment
(#33) Missing member variable doc comment
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#38) Missing member variable doc comment
(#39) Missing member variable doc comment
(#40) Missing member variable doc comment
(#41) Missing member variable doc comment
(#42) Missing member variable doc comment
(#43) Missing member variable doc comment
(#44) Missing member variable doc comment
(#47) Missing docblock for function __construct
(#53) The closing brace for the class must go on the next line after the body
mod/offlinequiz/report/rimport/pagenumberscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#33) Missing @copyright tag
(#33) Missing @license tag
(#33) Missing docblock for class offlinequiz_pagenumberscanner
(#33) Opening brace must not be followed by a blank line
(#36) Missing docblock for function scan_page_number
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Blank line found at end of control structure
(#60) Missing docblock for function find_positions
(#61) Short array syntax must be used to define arrays
(#73) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#75) The closing brace for the class must go on the next line after the body
mod/offlinequiz/report/rimport/pagepositionscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#27) Missing @copyright tag
(#27) Missing @license tag
(#27) Missing docblock for class offlinequiz_pagepositionscanner
(#27) Opening brace must not be followed by a blank line
(#29) Missing member variable doc comment
(#30) Missing member variable doc comment
(#32) Missing docblock for function __construct
(#39) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#41) Missing docblock for function scanposition
(#49) Line exceeds 132 characters; contains 134 characters
(#50) Line exceeds 132 characters; contains 151 characters
(#51) Line exceeds 132 characters; contains 135 characters
(#51) There should be a comma after the last array item in a multi-line array.
(#64) Line exceeds 132 characters; contains 135 characters
(#65) Line exceeds 132 characters; contains 135 characters
(#73) Missing docblock for function calculatepositions
(#73) Expected "function abc(...)"; found "function abc (...)"
(#73) Expected 0 spaces after "calculatepositions"; 1 found
(#73) Expected 0 spaces before opening parenthesis; 1 found
(#76) Line exceeds 132 characters; contains 153 characters
(#77) Line exceeds 132 characters; contains 153 characters
(#81) Space after opening parenthesis of function call prohibited
(#81) Space found before comma in argument list
(#81) Expected no space between "$lowerleft" and the comma. Found: 1 space
(#81) Space found before comma in argument list
(#81) Expected no space between "$upperright" and the comma. Found: 1 space
(#81) Line exceeds 132 characters; contains 145 characters
(#82) Space after opening parenthesis of function call prohibited
(#82) Space found before comma in argument list
(#82) Expected no space between "$upperright" and the comma. Found: 1 space
(#82) Space found before comma in argument list
(#82) Expected no space between ")" and the comma. Found: 1 space
(#82) Line exceeds 132 characters; contains 145 characters
(#83) Blank line found at end of control structure
(#87) Space found before comma in argument list
(#87) Expected no space between ")" and the comma. Found: 1 space
(#87) Line exceeds 132 characters; contains 143 characters
(#88) Space found before comma in argument list
(#88) Expected no space between "$upperleft" and the comma. Found: 1 space
(#88) Space found before comma in argument list
(#88) Expected no space between ")" and the comma. Found: 1 space
(#88) Line exceeds 132 characters; contains 146 characters
(#93) Line exceeds 132 characters; contains 135 characters
(#101) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#103) Missing docblock for function findcross
(#114) Line exceeds 132 characters; contains 141 characters
(#116) Line exceeds 132 characters; contains 163 characters
(#118) Opening parenthesis of a multi-line function call must be the last content on the line
(#119) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#119) Only one argument is allowed per line in a multi-line function call
(#119) Closing parenthesis of a multi-line function call must be on a line by itself
(#121) Line exceeds 132 characters; contains 162 characters
(#126) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#128) The closing brace for the class must go on the next line after the body
mod/offlinequiz/report/rimport/pagesaver.php
(#20) Incorrect @package tag for file pagesaver.php. Expected offlinequiz_rimport, found mod.
(#33) Missing docblock for class offlinequiz_page_saver
(#33) Opening brace must not be followed by a blank line
(#36) Missing docblock for function save_page_information
(#65) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#67) Missing docblock for function save_choices
(#70) Short array syntax must be used to define arrays
(#77) Missing docblock for function get_results_for_db
(#80) Short array syntax must be used to define arrays
(#92) Blank line found at end of control structure
(#98) Missing docblock for function save_status
(#99) Blank line found at start of control structure
(#102) Short array syntax must be used to define arrays
(#113) Blank line found at end of control structure
(#117) Missing docblock for function save_user_id
(#124) Short array syntax must be used to define arrays
(#126) Blank line found at end of control structure
(#129) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#131) Missing docblock for function save_pagenumber
(#134) Short array syntax must be used to define arrays
(#139) Missing docblock for function save_group_number
(#142) Short array syntax must be used to define arrays
(#144) Blank line found at end of control structure
(#148) Missing docblock for function save_page_corners
(#150) Short array syntax must be used to define arrays
(#170) Missing docblock for function update_corner
(#179) Missing docblock for function get_fitting_corner_name
(#180) Expected 0 spaces before closing bracket; 1 found
(#192) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#194) The closing brace for the class must go on the next line after the body
mod/offlinequiz/report/rimport/point.php
(#1) Missing docblock for file point.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#19) Missing docblock for class offlinequiz_point
(#19) Opening brace must not be followed by a blank line
(#21) Missing member variable doc comment
(#22) Missing member variable doc comment
(#27) You must use "/**" style comments for a member variable comment
(#29) Missing docblock for function __construct
(#29) Expected 0 spaces between argument "$y" and comma; 1 found
(#29) Expected no space between "$y" and the comma. Found: 1 space
(#37) Missing docblock for function getx
(#41) Missing docblock for function gety
(#44) Missing docblock for function isfound
(#47) Missing docblock for function getdistance
(#51) The closing brace for the class must go on the next line after the body
(#53) Missing docblock for function pixelisblack
mod/offlinequiz/report/rimport/positionslib.php
(#1) Missing docblock for file positionslib.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#35) Expected 0 spaces before closing parenthesis; 1 found
(#37) Missing docblock for function calculatewithoutadjustment
(#37) Expected 0 spaces before closing parenthesis; 1 found
(#44) Missing docblock for function add_with_adjustment
(#56) Missing docblock for function add
(#62) Missing docblock for function getdiagonalangle
(#65) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#67) Missing docblock for function calculatepoint
(#69) Opening parenthesis of a multi-line function call must be the last content on the line
(#70) Multi-line function call not indented correctly; expected 4 spaces but found 33
(#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
(#76) Space after opening parenthesis of function call prohibited
(#79) Missing docblock for function calculatepointangle
(#87) Missing docblock for function calculatepointlength
(#90) Missing docblock for function calculate_point_relative_to_corner
mod/offlinequiz/report/rimport/resultsaver.php
(#20) Incorrect @package tag for file resultsaver.php. Expected offlinequiz_rimport, found mod.
(#39) Missing docblock for class offlinequiz_resultsaver
(#39) Opening brace must not be followed by a blank line
(#42) Missing docblock for function create_or_update_result_in_db
(#50) Short array syntax must be used to define arrays
(#69) Blank line found at end of control structure
(#74) Short array syntax must be used to define arrays
(#78) Long list syntax is not allowed
(#105) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#107) Missing docblock for function get_result_exists_errors
(#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 12 spaces but found 16
(#141) Short array syntax must be used to define arrays
(#142) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#142) Closing parenthesis of a multi-line function call must be on a line by itself
(#144) This comment is 50% valid code; is this commented out code?
(#151) Missing docblock for function results_have_same_crosses
(#151) Expected "function abc(...)"; found "function abc (...)"
(#151) Expected 0 spaces after "results_have_same_crosses"; 1 found
(#151) Expected 0 spaces before opening parenthesis; 1 found
(#162) Duplicate array key found. The value will be overwritten. The string array key "scannedpageid1" was first seen on line 162
(#180) Short array syntax must be used to define arrays
(#185) Blank line found at start of control structure
(#193) Short array syntax must be used to define arrays
(#239) Missing docblock for function get_result_id
(#248) Missing docblock for function get_userid_by_userkey
(#255) Missing docblock for function save_page_status
(#262) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#264) The closing brace for the class must go on the next line after the body
mod/offlinequiz/report/rimport/resultscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#22) Space found before comma in argument list
(#22) Expected no space between "'ANSWERS_COLUMNS_PER_PAGE_LIMITS'" and the comma. Found: 1 space
(#32) Missing @copyright tag
(#32) Missing @license tag
(#32) Missing docblock for class offlinequiz_resultscanner
(#33) Missing member variable doc comment
(#35) Missing docblock for function __construct
(#40) Missing docblock for function scanresults
(#76) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#78) Missing docblock for function get_max_answers
(#92) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#94) Missing docblock for function get_answer_counts
(#106) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#108) Missing docblock for function get_number_of_columns
(#108) Expected "function abc(...)"; found "function abc (...)"
(#108) Expected 0 spaces after "get_number_of_columns"; 1 found
(#108) Expected 0 spaces before opening parenthesis; 1 found
(#117) Missing docblock for function get_questions_per_page
(#121) Missing docblock for function get_question_cell
(#130) Missing docblock for function calculate_result
mod/offlinequiz/report/rimport/scanner.php
(#20) Incorrect @package tag for file scanner.php. Expected offlinequiz_rimport, found mod.
(#50) Missing member variable doc comment
(#51) Missing member variable doc comment
(#52) Missing member variable doc comment
(#53) Missing member variable doc comment
(#54) Missing member variable doc comment
(#63) Incorrect spacing between argument "$x" and equals sign; expected 1 but found 0
(#63) Incorrect spacing between default value and equals sign for argument "$x"; expected 1 but found 0
(#63) Incorrect spacing between argument "$y" and equals sign; expected 1 but found 0
(#63) Incorrect spacing between default value and equals sign for argument "$y"; expected 1 but found 0
(#97) The closing brace for the class must go on the next line after the body
(#105) Each class must be in a file by itself
(#105) Opening brace must not be followed by a blank line
(#107) Missing member variable doc comment
(#108) Missing member variable doc comment
(#109) Missing member variable doc comment
(#110) Missing member variable doc comment
(#111) Missing member variable doc comment
(#112) Missing member variable doc comment
(#113) Missing member variable doc comment
(#114) Missing member variable doc comment
(#115) Missing member variable doc comment
(#116) Missing member variable doc comment
(#117) Missing member variable doc comment
(#118) Missing member variable doc comment
(#119) Missing member variable doc comment
(#120) Missing member variable doc comment
(#121) Missing member variable doc comment
(#122) Missing member variable doc comment
(#123) Missing member variable doc comment
(#124) Missing member variable doc comment
(#125) Missing member variable doc comment
(#126) You must use "/**" style comments for a member variable comment
(#126) Inline comments must start with a capital letter, digit or 3-dots sequence
(#127) You must use "/**" style comments for a member variable comment
(#128) You must use "/**" style comments for a member variable comment
(#129) You must use "/**" style comments for a member variable comment
(#130) You must use "/**" style comments for a member variable comment
(#131) You must use "/**" style comments for a member variable comment
(#132) Missing member variable doc comment
(#133) You must use "/**" style comments for a member variable comment
(#134) Missing member variable doc comment
(#135) Missing member variable doc comment
(#136) Missing member variable doc comment
(#137) Missing member variable doc comment
(#138) Missing member variable doc comment
(#139) Missing member variable doc comment
(#140) Missing member variable doc comment
(#141) Missing member variable doc comment
(#142) You must use "/**" style comments for a member variable comment
(#143) You must use "/**" style comments for a member variable comment
(#144) Missing member variable doc comment
(#145) Missing member variable doc comment
(#189) Short array syntax must be used to define arrays
(#232) Blank line found at start of control structure
(#253) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#265) Short array syntax must be used to define arrays
(#273) Logical operator "and" is prohibited; use "&&" instead
(#281) Short array syntax must be used to define arrays
(#285) Logical operator "and" is prohibited; use "&&" instead
(#288) Logical operator "and" is prohibited; use "&&" instead
(#293) Short array syntax must be used to define arrays
(#297) Logical operator "and" is prohibited; use "&&" instead
(#300) Logical operator "and" is prohibited; use "&&" instead
(#305) Short array syntax must be used to define arrays
(#309) Logical operator "and" is prohibited; use "&&" instead
(#312) Logical operator "and" is prohibited; use "&&" instead
(#317) Short array syntax must be used to define arrays
(#321) Logical operator "and" is prohibited; use "&&" instead
(#324) Logical operator "and" is prohibited; use "&&" instead
(#364) Expected "if (...) {\n"; found "if(...) {\n"
(#364) Expected 1 space after IF keyword; 0 found
(#478) Short array syntax must be used to define arrays
(#479) Expected 1 space between the comma and "// ID of context.". Found: 6 spaces
(#481) Expected 1 space between the comma and "// Usually = table name.". Found: 6 spaces
(#482) Expected 1 space between the comma and "// Usually = ID of row in table.". Found: 17 spaces
(#483) Expected 1 space between the comma and "// Any path beginning and ending in.". Found: 15 spaces
(#555) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#555) Opening parenthesis of a multi-line function call must be the last content on the line
(#555) Only one argument is allowed per line in a multi-line function call
(#556) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#556) Only one argument is allowed per line in a multi-line function call
(#556) Only one argument is allowed per line in a multi-line function call
(#557) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#557) Closing parenthesis of a multi-line function call must be on a line by itself
(#557) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#557) Blank line found at start of control structure
(#578) Short array syntax must be used to define arrays
(#583) Opening parenthesis of a multi-line function call must be the last content on the line
(#584) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#584) Closing parenthesis of a multi-line function call must be on a line by itself
(#600) Short array syntax must be used to define arrays
(#620) Short array syntax must be used to define arrays
(#626) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#627) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#848) Short array syntax must be used to define arrays
(#849) Short array syntax must be used to define arrays
(#902) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#902) Logical operator "or" is prohibited; use "||" instead
(#903) Each line in a multi-line control structure must be indented at least once; expected at least 16 spaces, but found 15
(#903) Logical operator "or" is prohibited; use "||" instead
(#903) Logical operator "or" is prohibited; use "||" instead
(#904) Each line in a multi-line control structure must be indented at least once; expected at least 16 spaces, but found 15
(#904) Logical operator "or" is prohibited; use "||" instead
(#904) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#918) Logical operator "or" is prohibited; use "||" instead
(#964) Expected at least 1 space before "."; 0 found
(#964) Expected at least 1 space after "."; 0 found
(#993) Expected at least 1 space after "."; 0 found
(#994) Expected at least 1 space after "."; 0 found
(#1001) Short array syntax must be used to define arrays
(#1002) Expected 1 space between the comma and "// ID of context.". Found: 2 spaces
(#1004) Expected 1 space between the comma and "// Usually = table name.". Found: 6 spaces
(#1005) Expected 1 space between the comma and "// Usually = ID of row in table.". Found: 17 spaces
(#1006) Expected 1 space between the comma and "// Any path beginning and ending in.". Found: 15 spaces
(#1037) Short array syntax must be used to define arrays
(#1038) Expected 1 space between the comma and "// ID of context.". Found: 2 spaces
(#1040) Expected 1 space between the comma and "// Usually = table name.". Found: 6 spaces
(#1041) Expected 1 space between the comma and "// Usually = ID of row in table.". Found: 17 spaces
(#1042) Expected 1 space between the comma and "// Any path beginning and ending in.". Found: 15 spaces
(#1058) Expected at least 1 space after "."; 0 found
(#1058) Expected at least 1 space before "."; 0 found
(#1058) Expected at least 1 space after "."; 0 found
(#1059) Expected at least 1 space after "."; 0 found
(#1059) Expected at least 1 space before "."; 0 found
(#1059) Expected at least 1 space after "."; 0 found
(#1099) Logical operator "or" is prohibited; use "||" instead
(#1128) Short array syntax must be used to define arrays
(#1131) Short array syntax must be used to define arrays
(#1172) Short array syntax must be used to define arrays
(#1214) Short array syntax must be used to define arrays
(#1265) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#1282) Logical operator "and" is prohibited; use "&&" instead
(#1297) Logical operator "and" is prohibited; use "&&" instead
(#1318) Logical operator "and" is prohibited; use "&&" instead
(#1336) Logical operator "or" is prohibited; use "||" instead
(#1380) Expected 0 spaces before closing parenthesis; 1 found
(#1382) Short array syntax must be used to define arrays
(#1385) Opening parenthesis of a multi-line function call must be the last content on the line
(#1386) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1386) Closing parenthesis of a multi-line function call must be on a line by itself
(#1388) Opening parenthesis of a multi-line function call must be the last content on the line
(#1389) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1389) Closing parenthesis of a multi-line function call must be on a line by itself
(#1391) Opening parenthesis of a multi-line function call must be the last content on the line
(#1392) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1392) Closing parenthesis of a multi-line function call must be on a line by itself
(#1394) Opening parenthesis of a multi-line function call must be the last content on the line
(#1395) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1395) Closing parenthesis of a multi-line function call must be on a line by itself
(#1418) Logical operator "and" is prohibited; use "&&" instead
(#1420) Opening parenthesis of a multi-line function call must be the last content on the line
(#1420) Only one argument is allowed per line in a multi-line function call
(#1420) Only one argument is allowed per line in a multi-line function call
(#1420) Only one argument is allowed per line in a multi-line function call
(#1420) Only one argument is allowed per line in a multi-line function call
(#1420) Only one argument is allowed per line in a multi-line function call
(#1420) Only one argument is allowed per line in a multi-line function call
(#1420) Only one argument is allowed per line in a multi-line function call
(#1421) Only one argument is allowed per line in a multi-line function call
(#1421) Closing parenthesis of a multi-line function call must be on a line by itself
(#1430) Logical operator "and" is prohibited; use "&&" instead
(#1432) Opening parenthesis of a multi-line function call must be the last content on the line
(#1432) Only one argument is allowed per line in a multi-line function call
(#1432) Only one argument is allowed per line in a multi-line function call
(#1432) Only one argument is allowed per line in a multi-line function call
(#1432) Only one argument is allowed per line in a multi-line function call
(#1432) Only one argument is allowed per line in a multi-line function call
(#1432) Only one argument is allowed per line in a multi-line function call
(#1432) Only one argument is allowed per line in a multi-line function call
(#1433) Only one argument is allowed per line in a multi-line function call
(#1433) Closing parenthesis of a multi-line function call must be on a line by itself
(#1511) Logical operator "or" is prohibited; use "||" instead
(#1530) Short array syntax must be used to define arrays
(#1579) Logical operator "or" is prohibited; use "||" instead
(#1609) Short array syntax must be used to define arrays
(#1625) Logical operator "and" is prohibited; use "&&" instead
(#1649) Missing docblock for function set_maxanswers
(#1699) Short array syntax must be used to define arrays
(#1735) Short array syntax must be used to define arrays
(#1738) Short array syntax must be used to define arrays
(#1740) Expected 1 space after comma in argument list; 2 found
(#1740) Expected 1 space between the comma and ""a-$number-$i"". Found: 2 spaces
(#1763) The closing brace for the class must go on the next line after the body
mod/offlinequiz/report/rimport/scanner2.php
(#32) Missing @copyright tag
(#32) Missing @license tag
(#32) Missing docblock for class offlinequiz_result_engine
(#32) Opening brace must not be followed by a blank line
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#38) Missing member variable doc comment
(#39) Missing member variable doc comment
(#40) Missing member variable doc comment
(#41) Missing member variable doc comment
(#42) Missing member variable doc comment
(#44) Missing docblock for function __construct
(#61) Missing docblock for function scanpage
(#85) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#87) Missing docblock for function save_page
(#96) The closing brace for the class must go on the next line after the body
mod/offlinequiz/report/rimport/studentidscanner.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#27) Missing @copyright tag
(#27) Missing @license tag
(#27) Missing docblock for class offlinequiz_studentid_scanner
(#27) Opening brace must not be followed by a blank line
(#29) Missing member variable doc comment
(#31) Missing docblock for function __construct
(#31) Expected 1 space after "function"; 2 found
(#31) Expected "function abc(...)"; found "function abc(...)"
(#31) Expected 1 space after FUNCTION keyword; 2 found
(#35) Missing docblock for function scan_studentid
(#52) Missing docblock for function extract_number
(#57) Missing docblock for function scannumber
(#73) Missing docblock for function calculate_student_id_middles
(#75) Short array syntax must be used to define arrays
(#80) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#80) Only one argument is allowed per line in a multi-line function call
(#80) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/report/rimport/upload_form.php
(#20) Incorrect @package tag for file upload_form.php. Expected offlinequiz_rimport, found mod.
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#33) Missing docblock for class offlinequiz_upload_form
(#33) Opening brace must not be followed by a blank line
(#35) Missing docblock for function definition
(#42) Opening parenthesis of a multi-line function call must be the last content on the line
(#42) Only one argument is allowed per line in a multi-line function call
(#42) Only one argument is allowed per line in a multi-line function call
(#42) Only one argument is allowed per line in a multi-line function call
(#43) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#43) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#45) Multi-line function call not indented correctly; expected 8 spaces but found 30
(#45) Only one argument is allowed per line in a multi-line function call
(#45) Only one argument is allowed per line in a multi-line function call
(#45) Only one argument is allowed per line in a multi-line function call
(#45) Only one argument is allowed per line in a multi-line function call
(#45) Expected no space between "'.TIFF'" and the comma. Found: 1 space
(#45) Only one argument is allowed per line in a multi-line function call
(#45) Only one argument is allowed per line in a multi-line function call
(#45) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/report/rimport/version.php
(#20) Incorrect @package tag for file version.php. Expected offlinequiz_rimport, found mod.
mod/offlinequiz/report/statistics/classes/privacy/provider.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Missing @copyright tag
(#21) Missing @license tag
(#21) Missing docblock for class provider
(#23) Expected 4 spaces before interface name; 0 found
(#29) There must not be a space before the colon in a return type declaration
mod/offlinequiz/report/statistics/classes/question_answer_statistics_table.php
(#25) Import statements must not begin with a leading backslash
(#26) Import statements must not begin with a leading backslash
(#27) Import statements must not begin with a leading backslash
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#49) Expected "int" but found "integer" for @var tag in member variable comment
(#59) Missing docblock for function set_questiondata
(#77) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#321) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#321) Only one argument is allowed per line in a multi-line function call
(#321) 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 20 spaces but found 24
(#351) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#351) Short array syntax must be used to define arrays
(#351) Closing parenthesis of a multi-line function call must be on a line by itself
(#372) Expected "if (...) {\n"; found "if(...) {\n"
(#372) Expected 1 space after IF keyword; 0 found
(#373) Line indented incorrectly; expected at least 16 spaces, found 12
(#396) Missing docblock for function wrap_html_start
(#396) Expected 1 space after "function"; 2 found
(#396) Expected "function abc(...)"; found "function abc(...)"
(#396) Expected 1 space after FUNCTION keyword; 2 found
(#399) Short array syntax must be used to define arrays
(#404) Missing docblock for function wrap_html_finish
(#436) Blank line found at start of control structure
mod/offlinequiz/report/statistics/classes/question_stats.php
(#20) Incorrect @package tag for file question_stats.php. Expected offlinequiz_statistics, found mod.
(#29) Import statements must not begin with a leading backslash
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#40) Missing member variable doc comment
(#41) Missing member variable doc comment
(#41) Short array syntax must be used to define arrays
(#43) Missing member variable doc comment
(#44) Missing member variable doc comment
(#45) Missing member variable doc comment
(#50) Missing member variable doc comment
(#51) Missing member variable doc comment
(#51) Short array syntax must be used to define arrays
(#75) No one-line description found in phpdocs for docblock of function make_blank_question_stats
(#89) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#113) Long list syntax is not allowed
(#115) Long list syntax is not allowed
(#116) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#116) Only one argument is allowed per line in a multi-line function call
(#116) Only one argument is allowed per line in a multi-line function call
(#116) Only one argument is allowed per line in a multi-line function call
(#116) Only one argument is allowed per line in a multi-line function call
(#116) Only one argument is allowed per line in a multi-line function call
(#116) Closing parenthesis of a multi-line function call must be on a line by itself
(#135) Whitespace found at end of line within string
(#144) Missing docblock for function compute_statistics
(#147) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#172) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#173) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#179) Opening parenthesis of a multi-line function call must be the last content on the line
(#180) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#180) Only one argument is allowed per line in a multi-line function call
(#180) Closing parenthesis of a multi-line function call must be on a line by itself
(#188) Short array syntax must be used to define arrays
(#211) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#211) Opening parenthesis of a multi-line function call must be the last content on the line
(#212) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#212) Only one argument is allowed per line in a multi-line function call
(#212) Only one argument is allowed per line in a multi-line function call
(#212) Closing parenthesis of a multi-line function call must be on a line by itself
(#212) Closing parenthesis of a multi-line function call must be on a line by itself
(#238) Expected at least 1 space before "."; 0 found
(#238) Expected at least 1 space after "."; 0 found
(#238) Expected at least 1 space before "."; 0 found
(#238) Expected at least 1 space after "."; 0 found
(#247) Opening parenthesis of a multi-line function call must be the last content on the line
(#248) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#248) Closing parenthesis of a multi-line function call must be on a line by itself
(#265) Expected "if (...) {\n"; found "if(...) {\n"
(#265) Expected 1 space after IF keyword; 0 found
(#308) Blank line found at end of control structure
(#376) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#377) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#397) Blank line found at end of control structure
(#424) No one-line description found in phpdocs for docblock of function get_random_guess_score
(#426) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#426) Only one argument is allowed per line in a multi-line function call
(#426) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/report/statistics/classes/question_table.php
(#26) Import statements must not begin with a leading backslash
(#65) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#65) Multi-line function declarations must define one parameter per line
(#66) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#66) The closing parenthesis of a multi-line function declaration must be on a new line
(#74) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#106) Missing docblock for function format_percentage
mod/offlinequiz/report/statistics/classes/report.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Import statements must not begin with a leading backslash
(#29) Import statements must not begin with a leading backslash
(#30) Import statements must not begin with a leading backslash
(#31) Import statements must not begin with a leading backslash
(#32) Import statements must not begin with a leading backslash
(#33) Import statements must not begin with a leading backslash
(#34) Import statements must not begin with a leading backslash
(#35) Import statements must not begin with a leading backslash
(#36) Import statements must not begin with a leading backslash
(#37) Import statements must not begin with a leading backslash
(#38) Import statements must not begin with a leading backslash
(#39) Import statements must not begin with a leading backslash
(#40) Import statements must not begin with a leading backslash
(#41) Import statements must not begin with a leading backslash
(#57) You must use "/**" style comments for a member variable comment
(#86) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#107) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#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 16
(#108) Short array syntax must be used to define arrays
(#108) Only one argument is allowed per line in a multi-line function call
(#108) Only one argument is allowed per line in a multi-line function call
(#108) Only one argument is allowed per line in a multi-line function call
(#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
(#108) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#115) Logical operator "and" is prohibited; use "&&" instead
(#122) Opening parenthesis of a multi-line function call must be the last content on the line
(#122) Only one argument is allowed per line in a multi-line function call
(#123) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#123) Short array syntax must be used to define arrays
(#123) Closing parenthesis of a multi-line function call must be on a line by itself
(#136) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#165) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#166) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#179) Short array syntax must be used to define arrays
(#180) Blank line found at end of control structure
(#182) Short array syntax must be used to define arrays
(#184) Blank line found at end of control structure
(#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 16 spaces but found 20
(#188) Short array syntax must be used to define arrays
(#189) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#189) Only one argument is allowed per line in a multi-line function call
(#189) Only one argument is allowed per line in a multi-line function call
(#189) Only one argument is allowed per line in a multi-line function call
(#189) Only one argument is allowed per line in a multi-line function call
(#189) Only one argument is allowed per line in a multi-line function call
(#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
(#212) Opening parenthesis of a multi-line function call must be the last content on the line
(#212) Only one argument is allowed per line in a multi-line function call
(#213) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#213) Short array syntax must be used to define arrays
(#213) Closing parenthesis of a multi-line function call must be on a line by itself
(#215) Opening parenthesis of a multi-line function call must be the last content on the line
(#215) Only one argument is allowed per line in a multi-line function call
(#216) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#216) Closing parenthesis of a multi-line function call must be on a line by itself
(#233) Long list syntax is not allowed
(#234) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#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 24
(#235) Only one argument is allowed per line in a multi-line function call
(#235) Only one argument is allowed per line in a multi-line function call
(#235) Closing parenthesis of a multi-line function call must be on a line by itself
(#245) Expected 1 space after comma in argument list; 2 found
(#245) Expected 1 space between the comma and "'statistics'". Found: 2 spaces
(#248) Short array syntax must be used to define arrays
(#283) Opening parenthesis of a multi-line function call must be the last content on the line
(#283) Only one argument is allowed per line in a multi-line function call
(#284) Multi-line function call not indented correctly; expected 24 spaces but found 32
(#284) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#288) Multi-line function call not indented correctly; expected 24 spaces but found 32
(#288) Closing parenthesis of a multi-line function call must be on a line by itself
(#292) Blank line found at end of control structure
(#317) Blank line found at start of control structure
(#325) Blank line found at end of control structure
(#336) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#337) Multi-line function call not indented correctly; expected 24 spaces but found 32
(#337) Only one argument is allowed per line in a multi-line function call
(#337) Closing parenthesis of a multi-line function call must be on a line by itself
(#337) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#339) Multi-line function call not indented correctly; expected 28 spaces but found 36
(#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
(#340) Blank line found at end of control structure
(#345) Multi-line function call not indented correctly; expected 32 spaces but found 40
(#345) Only one argument is allowed per line in a multi-line function call
(#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
(#353) Blank line found at end of control structure
(#362) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#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
(#365) Opening parenthesis of a multi-line function call must be the last content on the line
(#367) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#367) Closing parenthesis of a multi-line function call must be on a line by itself
(#368) Blank line found at end of control structure
(#377) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#377) Only one argument is allowed per line in a multi-line function call
(#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
(#380) Opening parenthesis of a multi-line function call must be the last content on the line
(#382) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#382) Closing parenthesis of a multi-line function call must be on a line by itself
(#383) Blank line found at end of control structure
(#386) Opening parenthesis of a multi-line function call must be the last content on the line
(#386) Only one argument is allowed per line in a multi-line function call
(#386) Only one argument is allowed per line in a multi-line function call
(#387) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#387) Only one argument is allowed per line in a multi-line function call
(#387) Only one argument is allowed per line in a multi-line function call
(#387) Only one argument is allowed per line in a multi-line function call
(#387) Closing parenthesis of a multi-line function call must be on a line by itself
(#446) Short array syntax must be used to define arrays
(#453) Short array syntax must be used to define arrays
(#489) Short array syntax must be used to define arrays
(#502) Short array syntax must be used to define arrays
(#516) Short array syntax must be used to define arrays
(#530) No one-line description found in phpdocs for docblock of function render_question_text
(#533) Opening parenthesis of a multi-line function call must be the last content on the line
(#533) Only one argument is allowed per line in a multi-line function call
(#534) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#534) Only one argument is allowed per line in a multi-line function call
(#534) Only one argument is allowed per line in a multi-line function call
(#534) Only one argument is allowed per line in a multi-line function call
(#535) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#535) Only one argument is allowed per line in a multi-line function call
(#535) Closing parenthesis of a multi-line function call must be on a line by itself
(#537) Opening parenthesis of a multi-line function call must be the last content on the line
(#537) Opening parenthesis of a multi-line function call must be the last content on the line
(#537) Only one argument is allowed per line in a multi-line function call
(#538) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#538) Short array syntax must be used to define arrays
(#538) Closing parenthesis of a multi-line function call must be on a line by itself
(#539) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#539) Closing parenthesis of a multi-line function call must be on a line by itself
(#546) No one-line description found in phpdocs for docblock of function render_question_text_plain
(#550) Opening parenthesis of a multi-line function call must be the last content on the line
(#550) Only one argument is allowed per line in a multi-line function call
(#551) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#551) Only one argument is allowed per line in a multi-line function call
(#551) Only one argument is allowed per line in a multi-line function call
(#551) Only one argument is allowed per line in a multi-line function call
(#552) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#552) Only one argument is allowed per line in a multi-line function call
(#552) Closing parenthesis of a multi-line function call must be on a line by itself
(#556) Opening parenthesis of a multi-line function call must be the last content on the line
(#556) Only one argument is allowed per line in a multi-line function call
(#557) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#557) Short array syntax must be used to define arrays
(#557) Closing parenthesis of a multi-line function call must be on a line by itself
(#568) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#569) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#569) Multi-line function declarations must define one parameter per line
(#569) The closing parenthesis of a multi-line function declaration must be on a new line
(#586) Blank line found at end of control structure
(#594) Opening parenthesis of a multi-line function call must be the last content on the line
(#595) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#595) Only one argument is allowed per line in a multi-line function call
(#595) Closing parenthesis of a multi-line function call must be on a line by itself
(#698) Missing docblock for function get_formatted_offlinequiz_info_data
(#700) Short array syntax must be used to define arrays
(#727) Short array syntax must be used to define arrays
(#775) Opening parenthesis of a multi-line function call must be the last content on the line
(#775) Only one argument is allowed per line in a multi-line function call
(#776) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#776) Closing parenthesis of a multi-line function call must be on a line by itself
(#828) Line exceeds 132 characters; contains 145 characters
(#835) Line exceeds 132 characters; contains 151 characters
(#845) Missing docblock for function output_response_data
(#846) Opening parenthesis of a multi-line function call must be the last content on the line
(#846) Short array syntax must be used to define arrays
(#847) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#847) Short array syntax must be used to define arrays
(#847) Only one argument is allowed per line in a multi-line function call
(#847) Closing parenthesis of a multi-line function call must be on a line by itself
(#860) Opening parenthesis of a multi-line function call must be the last content on the line
(#860) Short array syntax must be used to define arrays
(#861) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#861) Short array syntax must be used to define arrays
(#861) Only one argument is allowed per line in a multi-line function call
(#861) Closing parenthesis of a multi-line function call must be on a line by itself
(#884) Short array syntax must be used to define arrays
(#886) Short array syntax must be used to define arrays
(#889) Short array syntax must be used to define arrays
(#910) Short array syntax must be used to define arrays
(#911) Short array syntax must be used to define arrays
(#941) Opening parenthesis of a multi-line function call must be the last content on the line
(#942) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#942) Short array syntax must be used to define arrays
(#942) Closing parenthesis of a multi-line function call must be on a line by itself
(#958) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#958) Multi-line function declarations must define one parameter per line
(#959) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#959) The closing parenthesis of a multi-line function declaration must be on a new line
(#966) Short array syntax must be used to define arrays
(#967) Short array syntax must be used to define arrays
(#969) Short array syntax must be used to define arrays
(#986) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#986) Multi-line function declarations must define one parameter per line
(#986) Multi-line function declarations must define one parameter per line
(#987) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#987) Multi-line function declarations must define one parameter per line
(#987) Multi-line function declarations must define one parameter per line
(#987) Multi-line function declarations must define one parameter per line
(#987) The closing parenthesis of a multi-line function declaration must be on a new line
(#997) Long list syntax is not allowed
(#998) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#998) Only one argument is allowed per line in a multi-line function call
(#998) Only one argument is allowed per line in a multi-line function call
(#998) Only one argument is allowed per line in a multi-line function call
(#998) Only one argument is allowed per line in a multi-line function call
(#998) Only one argument is allowed per line in a multi-line function call
(#998) Closing parenthesis of a multi-line function call must be on a line by itself
(#1042) Opening parenthesis of a multi-line function call must be the last content on the line
(#1042) Only one argument is allowed per line in a multi-line function call
(#1043) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#1043) Closing parenthesis of a multi-line function call must be on a line by itself
(#1064) Long list syntax is not allowed
(#1065) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1065) Only one argument is allowed per line in a multi-line function call
(#1065) Only one argument is allowed per line in a multi-line function call
(#1065) Only one argument is allowed per line in a multi-line function call
(#1065) Only one argument is allowed per line in a multi-line function call
(#1065) Only one argument is allowed per line in a multi-line function call
(#1065) Closing parenthesis of a multi-line function call must be on a line by itself
(#1094) Short array syntax must be used to define arrays
(#1146) Short array syntax must be used to define arrays
(#1165) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#1165) Multi-line function declarations must define one parameter per line
(#1166) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#1166) Multi-line function declarations must define one parameter per line
(#1166) Multi-line function declarations must define one parameter per line
(#1166) Multi-line function declarations must define one parameter per line
(#1166) The closing parenthesis of a multi-line function declaration must be on a new line
(#1171) Opening parenthesis of a multi-line function call must be the last content on the line
(#1173) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1173) Short array syntax must be used to define arrays
(#1173) Closing parenthesis of a multi-line function call must be on a line by itself
(#1175) Opening parenthesis of a multi-line function call must be the last content on the line
(#1177) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#1177) Short array syntax must be used to define arrays
(#1177) Closing parenthesis of a multi-line function call must be on a line by itself
(#1182) Short array syntax must be used to define arrays
(#1191) Short array syntax must be used to define arrays
(#1192) Opening parenthesis of a multi-line function call must be the last content on the line
(#1193) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1193) Short array syntax must be used to define arrays
(#1193) Closing parenthesis of a multi-line function call must be on a line by itself
(#1195) Short array syntax must be used to define arrays
(#1209) Short array syntax must be used to define arrays
(#1222) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#1222) Multi-line function declarations must define one parameter per line
(#1223) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#1223) Multi-line function declarations must define one parameter per line
(#1223) Multi-line function declarations must define one parameter per line
(#1223) Multi-line function declarations must define one parameter per line
(#1223) The closing parenthesis of a multi-line function declaration must be on a new line
(#1272) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#1272) Multi-line function declarations must define one parameter per line
(#1273) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#1273) Multi-line function declarations must define one parameter per line
(#1273) Multi-line function declarations must define one parameter per line
(#1273) Multi-line function declarations must define one parameter per line
(#1273) The closing parenthesis of a multi-line function declaration must be on a new line
(#1275) Long list syntax is not allowed
(#1276) Opening parenthesis of a multi-line function call must be the last content on the line
(#1276) Only one argument is allowed per line in a multi-line function call
(#1276) Only one argument is allowed per line in a multi-line function call
(#1277) Multi-line function call not indented correctly; expected 10 spaces but found 24
(#1277) Only one argument is allowed per line in a multi-line function call
(#1277) Only one argument is allowed per line in a multi-line function call
(#1277) Closing parenthesis of a multi-line function call must be on a line by itself
(#1280) Long list syntax is not allowed
(#1280) Opening parenthesis of a multi-line function call must be the last content on the line
(#1281) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#1281) Only one argument is allowed per line in a multi-line function call
(#1281) Only one argument is allowed per line in a multi-line function call
(#1281) Only one argument is allowed per line in a multi-line function call
(#1281) Only one argument is allowed per line in a multi-line function call
(#1281) Only one argument is allowed per line in a multi-line function call
(#1281) Closing parenthesis of a multi-line function call must be on a line by itself
(#1286) Opening parenthesis of a multi-line function call must be the last content on the line
(#1286) Only one argument is allowed per line in a multi-line function call
(#1287) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#1287) Only one argument is allowed per line in a multi-line function call
(#1287) Only one argument is allowed per line in a multi-line function call
(#1287) Only one argument is allowed per line in a multi-line function call
(#1287) Closing parenthesis of a multi-line function call must be on a line by itself
(#1289) Opening parenthesis of a multi-line function call must be the last content on the line
(#1289) Only one argument is allowed per line in a multi-line function call
(#1289) Only one argument is allowed per line in a multi-line function call
(#1290) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#1290) Only one argument is allowed per line in a multi-line function call
(#1290) Only one argument is allowed per line in a multi-line function call
(#1291) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#1291) Only one argument is allowed per line in a multi-line function call
(#1291) Only one argument is allowed per line in a multi-line function call
(#1291) Closing parenthesis of a multi-line function call must be on a line by itself
(#1294) Short array syntax must be used to define arrays
(#1297) Missing docblock for function analyse_responses
(#1297) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#1297) Multi-line function declarations must define one parameter per line
(#1297) Multi-line function declarations must define one parameter per line
(#1298) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#1298) Multi-line function declarations must define one parameter per line
(#1298) Multi-line function declarations must define one parameter per line
(#1298) Multi-line function declarations must define one parameter per line
(#1298) Multi-line function declarations must define one parameter per line
(#1298) Multi-line function declarations must define one parameter per line
(#1298) The closing parenthesis of a multi-line function declaration must be on a new line
(#1301) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1301) Only one argument is allowed per line in a multi-line function call
(#1301) Only one argument is allowed per line in a multi-line function call
(#1301) Only one argument is allowed per line in a multi-line function call
(#1301) Only one argument is allowed per line in a multi-line function call
(#1301) Only one argument is allowed per line in a multi-line function call
(#1301) Closing parenthesis of a multi-line function call must be on a line by itself
(#1303) Short array syntax must be used to define arrays
(#1315) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1316) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1330) No one-line description found in phpdocs for docblock of function everything_download_options
(#1333) Opening parenthesis of a multi-line function call must be the last content on the line
(#1334) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#1334) Only one argument is allowed per line in a multi-line function call
(#1335) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#1335) Short array syntax must be used to define arrays
(#1335) Closing parenthesis of a multi-line function call must be on a line by itself
(#1351) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#1351) Multi-line function declarations must define one parameter per line
(#1351) Multi-line function declarations must define one parameter per line
(#1352) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#1352) Multi-line function declarations must define one parameter per line
(#1352) Multi-line function declarations must define one parameter per line
(#1352) Multi-line function declarations must define one parameter per line
(#1352) The closing parenthesis of a multi-line function declaration must be on a new line
(#1360) Long list syntax is not allowed
(#1361) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1361) Only one argument is allowed per line in a multi-line function call
(#1361) Only one argument is allowed per line in a multi-line function call
(#1361) Only one argument is allowed per line in a multi-line function call
(#1361) Only one argument is allowed per line in a multi-line function call
(#1361) Only one argument is allowed per line in a multi-line function call
(#1361) Only one argument is allowed per line in a multi-line function call
(#1361) Closing parenthesis of a multi-line function call must be on a line by itself
(#1377) Opening parenthesis of a multi-line function call must be the last content on the line
(#1378) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1378) Short array syntax must be used to define arrays
(#1378) Closing parenthesis of a multi-line function call must be on a line by itself
(#1381) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1381) Only one argument is allowed per line in a multi-line function call
(#1381) Closing parenthesis of a multi-line function call must be on a line by itself
(#1383) Opening parenthesis of a multi-line function call must be the last content on the line
(#1384) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1384) Closing parenthesis of a multi-line function call must be on a line by itself
(#1401) Opening parenthesis of a multi-line function call must be the last content on the line
(#1402) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#1402) Short array syntax must be used to define arrays
(#1403) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#1403) Only one argument is allowed per line in a multi-line function call
(#1403) Only one argument is allowed per line in a multi-line function call
(#1403) Only one argument is allowed per line in a multi-line function call
(#1403) Closing parenthesis of a multi-line function call must be on a line by itself
(#1404) Blank line found at end of control structure
(#1406) Short array syntax must be used to define arrays
(#1414) Long list syntax is not allowed
(#1416) Opening parenthesis of a multi-line function call must be the last content on the line
(#1417) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1417) Only one argument is allowed per line in a multi-line function call
(#1417) Closing parenthesis of a multi-line function call must be on a line by itself
(#1418) Opening parenthesis of a multi-line function call must be the last content on the line
(#1419) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1419) Only one argument is allowed per line in a multi-line function call
(#1419) Closing parenthesis of a multi-line function call must be on a line by itself
(#1420) Opening parenthesis of a multi-line function call must be the last content on the line
(#1421) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1421) Only one argument is allowed per line in a multi-line function call
(#1421) Closing parenthesis of a multi-line function call must be on a line by itself
(#1428) No one-line description found in phpdocs for docblock of function using_attempts_string
(#1439) Expected 1 space before opening brace; found 0
(#1441) Whitespace found at end of line
(#1442) Opening parenthesis of a multi-line function call must be the last content on the line
(#1443) Multi-line function call not indented correctly; expected 12 spaces but found 40
(#1443) Line exceeds 132 characters; contains 145 characters
(#1444) Multi-line function call not indented correctly; expected 8 spaces but found 40
(#1444) Closing parenthesis of a multi-line function call must be on a line by itself
(#1445) Expected 0 spaces before closing parenthesis; newline found
(#1446) Whitespace found at end of line
(#1447) Space after opening parenthesis of function call prohibited
(#1447) Opening parenthesis of a multi-line function call must be the last content on the line
(#1448) Multi-line function call not indented correctly; expected 12 spaces but found 40
(#1448) Line exceeds 132 characters; contains 176 characters
(#1449) Multi-line function call not indented correctly; expected 8 spaces but found 40
(#1449) Closing parenthesis of a multi-line function call must be on a line by itself
(#1450) Expected 0 spaces before closing parenthesis; newline found
(#1451) Whitespace found at end of line
(#1451) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1453) Space after opening parenthesis of function call prohibited
(#1453) Opening parenthesis of a multi-line function call must be the last content on the line
(#1454) Multi-line function call not indented correctly; expected 12 spaces but found 40
(#1454) Line exceeds maximum limit of 180 characters; contains 185 characters
(#1455) Multi-line function call not indented correctly; expected 8 spaces but found 40
(#1455) Closing parenthesis of a multi-line function call must be on a line by itself
(#1456) Expected 0 spaces before closing parenthesis; newline found
(#1457) Whitespace found at end of line
(#1460) Missing docblock for function get_report_title
(#1463) Missing docblock for function get_navigation_key
(#1466) Missing docblock for function get_navigation_key_from_statmode
(#1466) Whitespace found at end of line
(#1477) Line indented incorrectly; expected 4 spaces, found 6
(#1477) Closing brace indented incorrectly; expected 4 spaces, found 6
(#1480) Missing docblock for function offlinequiz_statistics_attempts_sql
(#1480) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#1480) Multi-line function declarations must define one parameter per line
(#1480) Multi-line function declarations must define one parameter per line
(#1481) Multi-line function declaration not indented correctly; expected 4 spaces but found 8
(#1481) Multi-line function declarations must define one parameter per line
(#1481) Multi-line function declarations must define one parameter per line
(#1481) The closing parenthesis of a multi-line function declaration must be on a new line
(#1487) Short array syntax must be used to define arrays
(#1495) Long list syntax is not allowed
(#1495) Opening parenthesis of a multi-line function call must be the last content on the line
(#1496) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#1496) Only one argument is allowed per line in a multi-line function call
(#1496) Closing parenthesis of a multi-line function call must be on a line by itself
(#1505) Short array syntax must be used to define arrays
(#1514) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#1514) Multi-line function declarations must define one parameter per line
(#1514) Multi-line function declarations must define one parameter per line
(#1515) Multi-line function declaration not indented correctly; expected 4 spaces but found 8
(#1515) Multi-line function declarations must define one parameter per line
(#1515) Multi-line function declarations must define one parameter per line
(#1515) The closing parenthesis of a multi-line function declaration must be on a new line
(#1516) Long list syntax is not allowed
(#1516) Opening parenthesis of a multi-line function call must be the last content on the line
(#1516) Only one argument is allowed per line in a multi-line function call
(#1517) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#1517) Only one argument is allowed per line in a multi-line function call
(#1517) Only one argument is allowed per line in a multi-line function call
(#1517) Only one argument is allowed per line in a multi-line function call
(#1517) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/report/statistics/classes/response_analyser.php
(#21) Incorrect @package tag for file response_analyser.php. Expected offlinequiz_statistics, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Missing member variable doc comment
(#53) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#70) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#70) Closing parenthesis of a multi-line function call must be on a line by itself
(#73) Short array syntax must be used to define arrays
(#81) No one-line description found in phpdocs for docblock of function has_subparts
(#89) No one-line description found in phpdocs for docblock of function has_response_classes
(#103) No one-line description found in phpdocs for docblock of function has_actual_responses
(#174) Opening parenthesis of a multi-line function call must be the last content on the line
(#175) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#175) Short array syntax must be used to define arrays
(#176) Multi-line function call not indented correctly; expected 8 spaces but found 24
(#176) Closing parenthesis of a multi-line function call must be on a line by itself
(#201) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#201) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/report/statistics/classes/settings_form.php
(#25) Import statements must not begin with a leading backslash
(#38) Missing docblock for function definition
(#41) Opening parenthesis of a multi-line function call must be the last content on the line
(#41) Only one argument is allowed per line in a multi-line function call
(#42) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#42) Closing parenthesis of a multi-line function call must be on a line by itself
(#44) Opening parenthesis of a multi-line function call must be the last content on the line
(#44) Only one argument is allowed per line in a multi-line function call
(#45) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#45) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/report/statistics/classes/statistics_table.php
(#25) Import statements must not begin with a leading backslash
(#26) Import statements must not begin with a leading backslash
(#27) Import statements must not begin with a leading backslash
(#28) Import statements must not begin with a leading backslash
(#32) Expected at least 1 space before "."; 0 found
(#32) Expected at least 1 space after "."; 0 found
(#46) Expected "int" but found "integer" for @var tag in member variable comment
(#70) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#221) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#221) Only one argument is allowed per line in a multi-line function call
(#221) Closing parenthesis of a multi-line function call must be on a line by itself
(#241) Opening parenthesis of a multi-line function call must be the last content on the line
(#242) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#243) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#243) Short array syntax must be used to define arrays
(#243) Closing parenthesis of a multi-line function call must be on a line by itself
(#281) Missing docblock for function wrap_html_start
(#281) Expected 1 space after "function"; 2 found
(#281) Expected "function abc(...)"; found "function abc(...)"
(#281) Expected 1 space after FUNCTION keyword; 2 found
(#284) Short array syntax must be used to define arrays
(#289) Missing docblock for function wrap_html_finish
(#301) Opening parenthesis of a multi-line function call must be the last content on the line
(#302) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#302) Only one argument is allowed per line in a multi-line function call
(#302) Only one argument is allowed per line in a multi-line function call
(#302) Short array syntax must be used to define arrays
(#302) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/report/statistics/db/access.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#34) There should be a comma after the last array item in a multi-line array.
(#36) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/report/statistics/db/install.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/offlinequiz/report/statistics/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#40) Blank line found at start of control structure
(#53) Blank line found at start of control structure
(#71) Blank line found at start of control structure
(#86) Blank line found at start of control structure
mod/offlinequiz/report/statistics/lang/en/offlinequiz_statistics.php
(#95) The string key "questionstatsfilename" is not in the correct order, it should be before "questionstatsheader"
(#97) The string key "offlinequizinformation" is not in the correct order, it should be before "questiontype"
(#115) The string key "statisticsreport" is not in the correct order, it should be before "statsoverviewheader"
(#117) The string key "statistics:view" is not in the correct order, it should be before "statisticsreportgraph"
mod/offlinequiz/report/statistics/lib.php
(#20) Incorrect @package tag for file lib.php. Expected offlinequiz_statistics, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#43) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#43) Multi-line function declarations must define one parameter per line
(#43) Multi-line function declarations must define one parameter per line
(#43) Multi-line function declarations must define one parameter per line
(#44) Multi-line function declaration not indented correctly; expected 4 spaces but found 64
(#44) Short array syntax must be used to define arrays
(#44) The closing parenthesis of a multi-line function declaration must be on a new line
(#48) Long list syntax is not allowed
(#65) Opening parenthesis of a multi-line function call must be the last content on the line
(#66) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#66) Only one argument is allowed per line in a multi-line function call
(#66) Short array syntax must be used to define arrays
(#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
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
(#72) Long list syntax is not allowed
(#74) Opening parenthesis of a multi-line function call must be the last content on the line
(#75) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#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
(#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 4 spaces but found 12
(#78) Only one argument is allowed per line in a multi-line function call
(#78) Closing parenthesis of a multi-line function call must be on a line by itself
(#80) Opening parenthesis of a multi-line function call must be the last content on the line
(#81) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#81) Only one argument is allowed per line in a multi-line function call
(#81) Closing parenthesis of a multi-line function call must be on a line by itself
mod/offlinequiz/report/statistics/statistics_graph.php
(#45) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#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 0 spaces but found 8
(#100) Only one argument is allowed per line in a multi-line function call
(#100) Short array syntax must be used to define arrays
(#100) Closing parenthesis of a multi-line function call must be on a line by itself
(#121) Short array syntax must be used to define arrays
(#123) There should be a comma after the last array item in a multi-line array.
(#125) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#135) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/report/statistics/statisticslib.php
(#22) Incorrect @package tag for file statisticslib.php. Expected offlinequiz_statistics, found mod.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Missing docblock for function mod_offlinequiz_create_common_statistics_headers
(#60) Missing docblock for function mod_offlinequiz_print_column_stats_name
(#63) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#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) Short array syntax must be used to define arrays
(#70) Closing parenthesis of a multi-line function call must be on a line by itself
(#74) Short array syntax must be used to define arrays
mod/offlinequiz/review.php
(#20) Incorrect @package tag for file review.php. Expected mod_offlinequiz, found mod.
(#36) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#50) Line exceeds 132 characters; contains 143 characters
(#67) Expected at least 1 space before "."; 0 found
(#67) Expected at least 1 space after "."; 0 found
(#71) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#71) Logical operator "and" is prohibited; use "&&" instead
(#72) Logical operator "and" is prohibited; use "&&" instead
(#73) Logical operator "and" is prohibited; use "&&" instead
(#74) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#94) Short array syntax must be used to define arrays
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#126) Expected at least 1 space before "."; 0 found
(#126) Expected at least 1 space after "."; 0 found
(#126) Expected at least 1 space before "."; 0 found
(#126) Expected at least 1 space after "."; 0 found
(#127) Expected at least 1 space before "."; 0 found
(#127) Expected at least 1 space after "."; 0 found
(#127) Expected at least 1 space before "."; 0 found
(#127) Expected at least 1 space after "."; 0 found
(#130) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#132) Expected at least 1 space before "."; 0 found
(#132) Expected at least 1 space after "."; 0 found
(#137) Logical operator "and" is prohibited; use "&&" instead
(#137) Blank line found at start of control structure
(#142) Short array syntax must be used to define arrays
(#144) Parentheses must be used when instantiating a new class
(#151) Short array syntax must be used to define arrays
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#160) Logical operator "or" is prohibited; use "||" instead
(#160) Logical operator "or" is prohibited; use "||" instead
(#161) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#165) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#192) Opening parenthesis of a multi-line function call must be the last content on the line
(#192) Only one argument is allowed per line in a multi-line function call
(#192) Only one argument is allowed per line in a multi-line function call
(#192) Only one argument is allowed per line in a multi-line function call
(#192) Only one argument is allowed per line in a multi-line function call
(#193) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#193) Closing parenthesis of a multi-line function call must be on a line by itself
(#194) Line exceeds 132 characters; contains 143 characters
(#209) Opening parenthesis of a multi-line function call must be the last content on the line
(#210) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#210) Short array syntax must be used to define arrays
(#210) Closing parenthesis of a multi-line function call must be on a line by itself
(#211) Opening parenthesis of a multi-line function call must be the last content on the line
(#211) Expected 1 space after comma in argument list; 2 found
(#211) Expected 1 space between the comma and "get_string". Found: 2 spaces
(#211) Only one argument is allowed per line in a multi-line function call
(#212) Expected at least 1 space before "."; 0 found
(#212) Expected at least 1 space after "."; 0 found
(#212) Expected at least 1 space before "."; 0 found
(#212) Expected at least 1 space after "."; 0 found
(#213) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#213) Closing parenthesis of a multi-line function call must be on a line by itself
(#217) Opening parenthesis of a multi-line function call must be the last content on the line
(#218) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#218) Short array syntax must be used to define arrays
(#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) Expected 1 space after comma in argument list; 2 found
(#219) Expected 1 space between the comma and "get_string". Found: 2 spaces
(#219) Only one argument is allowed per line in a multi-line function call
(#220) Expected at least 1 space before "."; 0 found
(#220) Expected at least 1 space after "."; 0 found
(#220) Expected at least 1 space before "."; 0 found
(#220) Expected at least 1 space after "."; 0 found
(#221) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#221) Closing parenthesis of a multi-line function call must be on a line by itself
(#228) Logical operator "and" is prohibited; use "&&" instead
(#257) Short array syntax must be used to define arrays
(#262) Short array syntax must be used to define arrays
(#263) There should be a comma after the last array item in a multi-line array.
(#264) There should be a comma after the last array item in a multi-line array.
mod/offlinequiz/reviewquestion.php
(#21) Incorrect @package tag for file reviewquestion.php. Expected mod_offlinequiz, found mod.
(#36) Opening parenthesis of a multi-line function call must be the last content on the line
(#37) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#37) Short array syntax must be used to define arrays
(#37) Closing parenthesis of a multi-line function call must be on a line by itself
(#44) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#60) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#60) Opening parenthesis of a multi-line function call must be the last content on the line
(#61) Multi-line function call not indented correctly; expected 0 spaces but found 8
(#61) Short array syntax must be used to define arrays
(#61) Only one argument is allowed per line in a multi-line function call
(#61) Only one argument is allowed per line in a multi-line function call
(#61) Only one argument is allowed per line in a multi-line function call
(#61) Only one argument is allowed per line in a multi-line function call
(#61) Closing parenthesis of a multi-line function call must be on a line by itself
(#61) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#80) Line exceeds 132 characters; contains 140 characters
mod/offlinequiz/settings.php
(#20) Incorrect @package tag for file settings.php. Expected mod_offlinequiz, found mod.
(#32) Expected at least 1 space before "."; 0 found
(#32) Expected at least 1 space after "."; 0 found
(#33) Expected at least 1 space before "."; 0 found
(#33) Expected at least 1 space after "."; 0 found
(#40) Opening parenthesis of a multi-line function call must be the last content on the line
(#41) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#41) Only one argument is allowed per line in a multi-line function call
(#42) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#42) Space found before comma in argument list
(#42) Expected no space between "'[7]=idnumber'" and the comma. Found: 1 space
(#42) Only one argument is allowed per line in a multi-line function call
(#42) Only one argument is allowed per line in a multi-line function call
(#42) Closing parenthesis of a multi-line function call must be on a line by itself
(#45) Opening parenthesis of a multi-line function call must be the last content on the line
(#46) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#46) Only one argument is allowed per line in a multi-line function call
(#47) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#47) Closing parenthesis of a multi-line function call must be on a line by itself
(#51) Expected "if (...) {\n"; found "if(...) {\n"
(#51) Expected 1 space after IF keyword; 0 found
(#59) Expected "if (...) {\n"; found "if(...) {\n"
(#59) Expected 1 space after IF keyword; 0 found
(#59) Expected 0 spaces before closing bracket; 1 found
(#65) 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
(#67) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#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
(#75) There should be a comma after the last array item in a multi-line array.
(#77) Whitespace found at end of line
(#78) Opening parenthesis of a multi-line function call must be the last content on the line
(#79) Only one argument is allowed per line in a multi-line function call
(#80) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#80) Only one argument is allowed per line in a multi-line function call
(#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) Only one argument is allowed per line in a multi-line function call
(#85) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#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 8 spaces but found 12
(#89) Only one argument is allowed per line in a multi-line function call
(#90) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#90) 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 4 spaces but found 12
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Closing parenthesis of a multi-line function call must be on a line by itself
(#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 4 spaces but found 12
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#101) Line exceeds 132 characters; contains 146 characters
(#102) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#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
(#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 8 spaces but found 12
(#106) Only one argument is allowed per line in a multi-line function call
(#107) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#107) Closing parenthesis of a multi-line function call must be on a line by itself
(#110) Opening parenthesis of a multi-line function call must be the last content on the line
(#111) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#111) Only one argument is allowed per line in a multi-line function call
(#111) Closing parenthesis of a multi-line function call must be on a line by itself
(#122) Opening parenthesis of a multi-line function call must be the last content on the line
(#123) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#123) Only one argument is allowed per line in a multi-line function call
(#123) Only one argument is allowed per line in a multi-line function call
(#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
(#128) Opening parenthesis of a multi-line function call must be the last content on the line
(#129) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#129) Only one argument is allowed per line in a multi-line function call
(#129) Closing parenthesis of a multi-line function call must be on a line by itself
(#131) Short array syntax must be used to define arrays
(#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 8 spaces but found 12
(#136) Only one argument is allowed per line in a multi-line function call
(#137) Multi-line function call not indented correctly; expected 4 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) Opening parenthesis of a multi-line function call must be the last content on the line
(#140) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#140) Only one argument is allowed per line in a multi-line function call
(#140) Closing parenthesis of a multi-line function call must be on a line by itself
(#142) Short array syntax must be used to define arrays
(#149) Opening parenthesis of a multi-line function call must be the last content on the line
(#149) Only one argument is allowed per line in a multi-line function call
(#150) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#150) Only one argument is allowed per line in a multi-line function call
(#150) Only one argument is allowed per line in a multi-line function call
(#150) Closing parenthesis of a multi-line function call must be on a line by itself
(#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 4 spaces but found 12
(#153) Only one argument is allowed per line in a multi-line function call
(#153) Only one argument is allowed per line in a multi-line function call
(#153) Closing parenthesis of a multi-line function call must be on a line by itself
(#155) Opening parenthesis of a multi-line function call must be the last content on the line
(#156) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#156) Only one argument is allowed per line in a multi-line function call
(#156) Closing parenthesis of a multi-line function call must be on a line by itself
(#159) Opening parenthesis of a multi-line function call must be the last content on the line
(#159) Only one argument is allowed per line in a multi-line function call
(#160) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#160) Only one argument is allowed per line in a multi-line function call
(#160) Closing parenthesis of a multi-line function call must be on a line by itself
(#162) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#177) Opening parenthesis of a multi-line function call must be the last content on the line
(#177) Only one argument is allowed per line in a multi-line function call
(#178) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#178) Only one argument is allowed per line in a multi-line function call
(#178) Only one argument is allowed per line in a multi-line function call
(#178) Closing parenthesis of a multi-line function call must be on a line by itself
(#180) Opening parenthesis of a multi-line function call must be the last content on the line
(#180) Only one argument is allowed per line in a multi-line function call
(#181) Multi-line function call not indented correctly; expected 4 spaces but found 13
(#181) Only one argument is allowed per line in a multi-line function call
(#181) Only one argument is allowed per line in a multi-line function call
(#181) Closing parenthesis of a multi-line function call must be on a line by itself
(#182) Opening parenthesis of a multi-line function call must be the last content on the line
(#183) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#184) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#184) Only one argument is allowed per line in a multi-line function call
(#184) Closing parenthesis of a multi-line function call must be on a line by itself
(#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 4 spaces but found 8
(#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
(#192) Opening parenthesis of a multi-line function call must be the last content on the line
(#192) Only one argument is allowed per line in a multi-line function call
(#193) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#193) Only one argument is allowed per line in a multi-line function call
(#193) Closing parenthesis of a multi-line function call must be on a line by itself
(#196) Opening parenthesis of a multi-line function call must be the last content on the line
(#197) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#197) Only one argument is allowed per line in a multi-line function call
(#197) Only one argument is allowed per line in a multi-line function call
(#197) Closing parenthesis of a multi-line function call must be on a line by itself
(#199) Whitespace found at end of line
mod/offlinequiz/settingslib.php
(#20) Incorrect @package tag for file settingslib.php. Expected mod_offlinequiz, found mod.
(#42) Missing docblock for constant mod_offlinequiz_admin_review_setting::IMMEDIATELY_AFTER
(#43) Missing docblock for constant mod_offlinequiz_admin_review_setting::LATER_WHILE_OPEN
(#44) Missing docblock for constant mod_offlinequiz_admin_review_setting::AFTER_CLOSE
(#47) Expected "bool|null" but found "boolean|null" for @var tag in member variable comment
(#57) Short array syntax must be used to define arrays
(#65) There should be a comma after the last array item in a multi-line array.
(#77) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#77) Multi-line function declarations must define one parameter per line
(#77) Multi-line function declarations must define one parameter per line
(#78) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#78) Multi-line function declarations must define one parameter per line
(#78) The closing parenthesis of a multi-line function declaration must be on a new line
(#86) No one-line description found in phpdocs for docblock of function all_on
(#90) Missing docblock for function times
(#91) Short array syntax must be used to define arrays
(#92) There should be a comma after the last array item in a multi-line array.
(#147) Expected at least 1 space before "."; 0 found
(#165) Opening parenthesis of a multi-line function call must be the last content on the line
(#165) Only one argument is allowed per line in a multi-line function call
(#165) Only one argument is allowed per line in a multi-line function call
(#166) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#166) Only one argument is allowed per line in a multi-line function call
(#166) Only one argument is allowed per line in a multi-line function call
(#166) Only one argument is allowed per line in a multi-line function call
(#166) Only one argument is allowed per line in a multi-line function call
(#166) Closing parenthesis of a multi-line function call must be on a line by itself
(#173) Each class must be in a file by itself
(#174) Missing docblock for function validate
(#185) Blank line found at end of control structure
(#188) Blank line found at end of control structure
(#200) Short array syntax must be used to define arrays
mod/offlinequiz/sheetlib.php
(#16) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#18) Missing @copyright tag
(#18) Missing @license tag
(#18) Missing docblock for function offlinequiz_sheetlib_initialize_headers
mod/offlinequiz/tests/behat/behat_mod_offlinequiz.php
(#20) Incorrect @package tag for file behat_mod_offlinequiz.php. Expected mod_offlinequiz, found mod.
(#33) Useless alias "Given" found for import of "Behat\Behat\Context\Step\Given"
(#34) Useless alias "TableNode" found for import of "Behat\Gherkin\Node\TableNode"
(#35) Useless alias "ExpectationException" found for import of "Behat\Mink\Exception\ExpectationException"
(#44) Opening brace must not be followed by a blank line
mod/offlinequiz/tutorial.php
(#20) Incorrect @package tag for file tutorial.php. Expected mod_offlinequiz, found mod.
(#36) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#45) No space found after comma in argument list
(#45) Commas (,) must be followed by white space.
(#45) Expected 1 space between the comma and "[". Found: no spaces
(#45) Commas (,) must be followed by white space.
(#45) Expected 1 space between the comma and "'answer'". Found: no spaces
(#54) Expected "if (...) {\n"; found "if(...) {\n"
(#54) Expected 1 space after IF keyword; 0 found
(#54) No space found after comma in argument list
(#54) Commas (,) must be followed by white space.
(#54) Expected 1 space between the comma and "'offlinequiztutorialusernumber'". Found: no spaces
(#58) Expected "while (...) {\n"; found "while(...) {\n"
(#58) Expected 1 space after WHILE keyword; 0 found
(#64) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#64) Expected "if (...) {\n"; found "if(...) {\n"
(#64) Expected 1 space after IF keyword; 0 found
(#68) Expected at least 1 space before "="; 0 found
(#68) Expected at least 1 space after "="; 0 found
(#68) Expected 1 space before "="; 0 found
(#68) Expected 1 space after "="; 0 found
(#68) Expected at least 1 space before "<"; 0 found
(#68) Expected at least 1 space after "<"; 0 found
(#68) Expected 1 space before "<"; 0 found
(#68) Expected 1 space after "<"; 0 found
(#69) No space found after comma in argument list
(#69) Commas (,) must be followed by white space.
(#69) Expected 1 space between the comma and "$i". Found: no spaces
(#69) No space found after comma in argument list
(#69) Commas (,) must be followed by white space.
(#69) Expected 1 space between the comma and "1". Found: no spaces
(#70) Expected at least 1 space before "+"; 0 found
(#70) Expected at least 1 space after "+"; 0 found
(#70) Expected 1 space before "+"; 0 found
(#70) Expected 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 1 space before "="; 0 found
(#73) Expected 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 1 space before "<="; 0 found
(#73) Expected 1 space after "<="; 0 found
(#78) Whitespace found at end of line
(#89) Expected "if (...) {\n"; found "if(...) {\n"
(#89) Expected 1 space after IF keyword; 0 found
(#92) Expected "if (...) {\n"; found "if(...) {\n"
(#92) Expected 1 space after IF keyword; 0 found
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) No space found before comment text; expected "// The user guessed right, we show him the next page" but found "//The user guessed right, we show him the next page"
(#102) Expected at least 1 space before "+"; 0 found
(#102) Expected at least 1 space after "+"; 0 found
(#102) Expected 1 space before "+"; 0 found
(#102) Expected 1 space after "+"; 0 found
(#107) Blank line found at end of control structure
(#107) Whitespace found at end of line
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) Whitespace found at end of line
(#132) Commas (,) must be followed by white space.
(#132) Expected 1 space between the comma and "'answer'". Found: no spaces
(#137) No space found after comma in argument list
(#137) Commas (,) must be followed by white space.
(#137) Expected 1 space between the comma and "[". Found: no spaces
(#140) Expected 1 newline at end of file; 0 found
mod/offlinequiz/version.php
(#1) No one-line description found in phpdocs for docblock of file version.php
mod/offlinequiz/view.php
(#20) Incorrect @package tag for file view.php. Expected mod_offlinequiz, found mod.
(#46) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#69) There should be a comma after the last array item in a multi-line array.
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Line exceeds 132 characters; contains 138 characters
(#127) Line exceeds 132 characters; contains 135 characters
(#133) Expected at least 1 space after "=>"; 0 found
(#133) Expected 1 space after "=>"; 0 found
(#133) Line exceeds 132 characters; contains 136 characters
(#137) Whitespace found at end of line within string
(#140) No space found after comma in argument list
(#140) Commas (,) must be followed by white space.
(#140) Expected 1 space between the comma and "[". Found: no spaces
(#141) No space found after comma in argument list
(#141) Commas (,) must be followed by white space.
(#141) Expected 1 space between the comma and "[". Found: no spaces
(#141) Line exceeds 132 characters; contains 149 characters
(#145) Whitespace found at end of line within string
(#146) Whitespace found at end of line within string
(#149) No space found after comma in argument list
(#149) Commas (,) must be followed by white space.
(#149) Expected 1 space between the comma and "[". Found: no spaces
(#153) Whitespace found at end of line within string
(#154) Whitespace found at end of line within string
(#157) No space found after comma in argument list
(#157) Commas (,) must be followed by white space.
(#157) Expected 1 space between the comma and "[". Found: no spaces
(#157) Each PHP statement must be on a line by itself
(#161) Whitespace found at end of line within string
(#162) Whitespace found at end of line within string
(#165) No space found after comma in argument list
(#165) Commas (,) must be followed by white space.
(#165) Expected 1 space between the comma and "[". Found: no spaces
(#165) Each PHP statement must be on a line by itself
(#169) Whitespace found at end of line within string
(#170) Whitespace found at end of line within string
(#173) No space found after comma in argument list
(#173) Commas (,) must be followed by white space.
(#173) Expected 1 space between the comma and "[". Found: no spaces
(#173) Each PHP statement must be on a line by itself
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#280) There should be a comma after the last array item in a multi-line array.
(#285) There should be a comma after the last array item in a multi-line array.
(#320) Expected "if (...) {\n"; found "if(...) {\n"
(#320) Expected 1 space after IF keyword; 0 found
(#327) Line exceeds 132 characters; contains 167 characters
(#330) Expected "if (...) {\n"; found "if(...) {\n"
(#330) Expected 1 space after IF keyword; 0 found
(#334) Whitespace found at end of line
(#336) Line exceeds 132 characters; contains 134 characters
(#342) Expected "if (...) {\n"; found "if(...) {\n"
(#342) Expected 1 space after IF keyword; 0 found
(#362) Expected "if (...) {\n"; found "if(...) {\n"
(#362) Expected 1 space after IF keyword; 0 found
(#364) Usage of ELSEIF not allowed; use ELSE IF instead
(#379) Expected "if (...) {\n"; found "if(...) {\n"
(#379) Expected 1 space after IF keyword; 0 found
(#381) Usage of ELSEIF not allowed; use ELSE IF instead
(#403) Line exceeds 132 characters; contains 149 characters
(#404) Expected "if (...) {\n"; found "if(...) {\n"
(#404) Expected 1 space after IF keyword; 0 found
(#406) Usage of ELSEIF not allowed; use ELSE IF instead
(#430) Short array syntax must be used to define arrays
(#441) Logical operator "and" is prohibited; use "&&" instead
(#451) Short array syntax must be used to define arrays
(#454) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#458) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#459) Opening parenthesis of a multi-line function call must be the last content on the line
(#460) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#460) Short array syntax must be used to define arrays
(#460) Closing parenthesis of a multi-line function call must be on a line by itself
(#466) Expected at least 1 space before "."; 0 found
(#466) Expected at least 1 space after "."; 0 found
(#471) Opening parenthesis of a multi-line function call must be the last content on the line
(#472) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#472) Closing parenthesis of a multi-line function call must be on a line by itself
(#474) 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) Closing parenthesis of a multi-line function call must be on a line by itself
(#476) Expected "if (...) {\n"; found "if(...) {\n"
(#476) Expected 1 space after IF keyword; 0 found
(#484) Blank line found at end of control structure

Javascript coding style problems

(122 errors, 371 warnings)

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

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

CSS problems

(85 errors, 3 warnings)

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

mod/offlinequiz/styles.css
(#744) Invalid value for "background" (csstree/validator)
(#1348) Expected empty line before at-rule (at-rule-empty-line-before)
(#1348) Expected single space before "{" (block-opening-brace-space-before)
(#1336) Expected "#777777" to be "#777" (color-hex-length)
(#740) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#742) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#743) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#744) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#745) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#1421) Unexpected duplicate "margin-bottom" (declaration-block-no-duplicate-properties)
(#1447) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#740) Expected newline after ":" with a multi-line declaration (declaration-colon-newline-after)
(#1056) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1340) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1341) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#100) Unexpected !important (declaration-no-important)
(#365) Unexpected !important (declaration-no-important)
(#418) Unexpected !important (declaration-no-important)
(#456) Unexpected !important (declaration-no-important)
(#499) Unexpected !important (declaration-no-important)
(#629) Unexpected !important (declaration-no-important)
(#1350) Unexpected !important (declaration-no-important)
(#740) Expected newline after "," in a multi-line function (function-comma-newline-after)
(#740) Expected newline after "," in a multi-line function (function-comma-newline-after)
(#740) Expected newline after "," in a multi-line function (function-comma-newline-after)
(#740) Expected newline after "," in a multi-line function (function-comma-newline-after)
(#740) Expected newline after "," in a multi-line function (function-comma-newline-after)
(#739) Expected single space after "," in a single-line function (function-comma-space-after)
(#742) Expected single space after "," in a single-line function (function-comma-space-after)
(#742) Expected single space after "," in a single-line function (function-comma-space-after)
(#743) Expected single space after "," in a single-line function (function-comma-space-after)
(#743) Expected single space after "," in a single-line function (function-comma-space-after)
(#744) Expected single space after "," in a single-line function (function-comma-space-after)
(#744) Expected single space after "," in a single-line function (function-comma-space-after)
(#745) Expected single space after "," in a single-line function (function-comma-space-after)
(#745) Expected single space after "," in a single-line function (function-comma-space-after)
(#746) Expected single space after "," in a single-line function (function-comma-space-after)
(#740) Expected newline after "(" in a multi-line function (function-parentheses-newline-inside)
(#741) Expected newline before ")" in a multi-line function (function-parentheses-newline-inside)
(#746) Unexpected whitespace after "(" in a single-line function (function-parentheses-space-inside)
(#746) Unexpected whitespace before ")" in a single-line function (function-parentheses-space-inside)
(#1479) Unexpected unit (length-zero-no-unit)
(#1124) Expected line length to be no more than 132 characters (max-line-length)
(#1048) Unexpected whitespace at end of line (no-eol-whitespace)
(#1124) Expected newline after "," (selector-list-comma-newline-after)
(#1335) Expected newline after "," (selector-list-comma-newline-after)
(#741) Expected indentation of 4 spaces (indentation)
(#757) Expected indentation of 4 spaces (indentation)
(#758) Expected indentation of 4 spaces (indentation)
(#759) Expected indentation of 4 spaces (indentation)
(#764) Expected indentation of 4 spaces (indentation)
(#765) Expected indentation of 4 spaces (indentation)
(#942) Expected indentation of 4 spaces (indentation)
(#943) Expected indentation of 4 spaces (indentation)
(#947) Expected indentation of 4 spaces (indentation)
(#980) Expected indentation of 4 spaces (indentation)
(#997) Expected indentation of 4 spaces (indentation)
(#998) Expected indentation of 4 spaces (indentation)
(#999) Expected indentation of 4 spaces (indentation)
(#1000) Expected indentation of 4 spaces (indentation)
(#1052) Expected indentation of 4 spaces (indentation)
(#1061) Expected indentation of 4 spaces (indentation)
(#1062) Expected indentation of 4 spaces (indentation)
(#1063) Expected indentation of 4 spaces (indentation)
(#1067) Expected indentation of 4 spaces (indentation)
(#1068) Expected indentation of 4 spaces (indentation)
(#1069) Expected indentation of 4 spaces (indentation)
(#1073) Expected indentation of 4 spaces (indentation)
(#1096) Expected indentation of 4 spaces (indentation)
(#1102) Expected indentation of 4 spaces (indentation)
(#1125) Expected indentation of 4 spaces (indentation)
(#1126) Expected indentation of 4 spaces (indentation)
(#1127) Expected indentation of 4 spaces (indentation)
(#1128) Expected indentation of 4 spaces (indentation)
(#1129) Expected indentation of 4 spaces (indentation)
(#1158) Expected indentation of 4 spaces (indentation)
(#1159) Expected indentation of 4 spaces (indentation)
(#1173) Expected indentation of 4 spaces (indentation)
(#1174) Expected indentation of 4 spaces (indentation)
(#1175) Expected indentation of 4 spaces (indentation)
(#1176) Expected indentation of 4 spaces (indentation)
(#1177) Expected indentation of 4 spaces (indentation)
(#1278) Expected indentation of 4 spaces (indentation)
(#1281) Expected indentation of 4 spaces (indentation)
(#1312) Expected indentation of 4 spaces (indentation)
(#1313) Expected indentation of 4 spaces (indentation)
(#1314) Expected indentation of 4 spaces (indentation)
(#1466) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(158 errors, 0 warnings)

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

mod/offlinequiz/accessmanager.php
(#181) Phpdocs for function offlinequiz_access_manager::get_load_sql has incomplete parameters list
(#319) Phpdocs for function offlinequiz_access_manager::prevent_new_attempt has incomplete parameters list
(#393) Phpdocs for function offlinequiz_access_manager::is_finished has incomplete parameters list
(#501) Phpdocs for function offlinequiz_access_manager::make_review_link has incomplete parameters list
(#67) Inline phpdocs tag {@link offlinequiz_access_rule_base} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#129) Inline phpdocs tag {@link add_settings_form_fields()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/backup/moodle2/backup_offlinequiz_activity_task.class.php
(#66) Phpdocs for function backup_offlinequiz_activity_task::encode_content_links has incomplete parameters list
mod/offlinequiz/backup/moodle2/restore_offlinequiz_activity_task.class.php
(#92) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#94) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#174) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#176) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/classes/default_report.php
(#47) Phpdocs for function default_report::display has incomplete parameters list
(#52) Phpdocs for function default_report::add_to_navigation has incomplete parameters list
(#87) Phpdocs for function default_report::get_current_group has incomplete parameters list
mod/offlinequiz/classes/external/add_random_questions.php
(#87) Phpdocs for function add_random_questions::execute has incomplete parameters list
mod/offlinequiz/classes/output/edit_renderer.php
(#50) Phpdocs for function edit_renderer::edit_page has incomplete parameters list
(#192) Phpdocs for function edit_renderer::offlinequiz_group_selector_values has incomplete parameters list
(#219) Phpdocs for function edit_renderer::offlinequiz_state_warnings_values has incomplete parameters list
(#243) Phpdocs for function edit_renderer::offlinequiz_information_values has incomplete parameters list
(#258) Phpdocs for function edit_renderer::maximum_grade_input_values has incomplete parameters list
(#270) Phpdocs for function edit_renderer::repaginate_button_values has incomplete parameters list
(#389) Phpdocs for function edit_renderer::total_marks has incomplete parameters list
(#1051) Phpdocs for function edit_renderer::render_question_chooser has incomplete parameters list
(#54) Inline phpdocs tag {@link question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#473) Inline phpdocs tag {@link core_course_renderer::offlinequiz_section_question()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#478) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#499) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#532) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#555) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#591) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#632) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#697) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1083) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1116) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1217) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1271) Inline phpdocs tag {@link \question_edit_setup()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/classes/privacy/provider.php
(#667) Phpdocs for function provider::delete_results has incomplete parameters list
mod/offlinequiz/classes/question/bank/custom_view.php
(#72) Phpdocs for function custom_view::__construct has incomplete parameters list
(#179) Phpdocs for function custom_view::add_to_offlinequiz_url has incomplete parameters list
(#211) Phpdocs for function custom_view::display_bottom_controls has incomplete parameters list
mod/offlinequiz/classes/repaginate.php
(#57) Phpdocs for function repaginate::__construct has incomplete parameters list
mod/offlinequiz/db/upgradelib.php
(#467) Phpdocs for function offlinequiz_ilog_upgrader::get_pic_name has incomplete parameters list
(#51) Inline phpdocs tag {@link prevent_timeout()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#516) Inline phpdocs tag {@link prevent_timeout()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/docxlib.php
(#41) Phpdocs for function offlinequiz_print_blocks_docx has incomplete parameters list
(#436) Phpdocs for function offlinequiz_create_docx_question has incomplete parameters list
mod/offlinequiz/evallib.php
(#325) Phpdocs for function offlinequiz_process_scanned_page has incomplete parameters list
(#793) Phpdocs for function offlinequiz_check_scanned_participants_page has incomplete parameters list
mod/offlinequiz/html2text.php
(#40) Phpdocs for function offlinequiz_html_translator::fix_image_paths has incomplete parameters list
mod/offlinequiz/latexlib.php
(#39) Phpdocs for function offlinequiz_create_latex_question has incomplete parameters list
mod/offlinequiz/lib.php
(#265) Phpdocs for function offlinequiz_get_editor_options has incomplete parameters list
(#341) Phpdocs for function offlinequiz_question_preview_pluginfile has incomplete parameters list
(#376) Phpdocs for function offlinequiz_answertext_preview_pluginfile has incomplete parameters list
(#400) Phpdocs for function offlinequiz_send_answertext_file has incomplete parameters list
(#877) Phpdocs for function offlinequiz_scale_used has incomplete parameters list
(#899) Phpdocs for function offlinequiz_scale_used_anywhere has incomplete parameters list
(#945) Phpdocs for function offlinequiz_update_events has incomplete parameters list
(#1169) Phpdocs for function offlinequiz_update_grades has incomplete parameters list
(#1300) Phpdocs for function offlinequiz_get_user_results has incomplete parameters list
(#550) Inline phpdocs tag {@link offlinequiz_num_attempt_summary()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/locallib.php
(#107) Phpdocs for function offlinequiz_question_usage_by_activity::load_from_records has incomplete parameters list
(#142) Phpdocs for function offlinequiz_print_tabs has incomplete parameters list
(#337) Phpdocs for function offlinequiz_load_questions_usage_by_activity has incomplete parameters list
(#469) Phpdocs for function offlinequiz_get_slot_for_question has incomplete parameters list
(#678) Phpdocs for function offlinequiz_get_maxanswers has incomplete parameters list
(#725) Phpdocs for function offlinequiz_repaginate_questions has incomplete parameters list
(#757) Phpdocs for function offlinequiz_shuffle_questions has incomplete parameters list
(#782) Phpdocs for function offlinequiz_delete_scanned_page has incomplete parameters list
(#816) Phpdocs for function offlinequiz_delete_scanned_p_page has incomplete parameters list
(#871) Phpdocs for function offlinequiz_delete_result has incomplete parameters list
(#907) Phpdocs for function offlinequiz_update_question_instance has incomplete parameters list
(#1132) Phpdocs for function offlinequiz_results_open has incomplete parameters list
(#1261) Phpdocs for function offlinequiz_update_sumgrades has incomplete parameters list
(#1297) Phpdocs for function offlinequiz_rescale_grade has incomplete parameters list
(#1360) Phpdocs for function offlinequiz_add_group has incomplete parameters list
(#1426) Phpdocs for function mod_offlinequiz_display_options::make_from_offlinequiz has incomplete parameters list
(#1470) Phpdocs for function offlinequiz_get_review_options has incomplete parameters list
(#1519) Phpdocs for function offlinequiz_get_combined_reviewoptions has incomplete parameters list
(#1553) Phpdocs for function offlinequiz_question_edit_button has incomplete parameters list
(#1601) Phpdocs for function offlinequiz_question_edit_setup has incomplete parameters list
(#1785) Phpdocs for function offlinequiz_delete_template_usages has incomplete parameters list
(#1840) Phpdocs for function offlinequiz_print_question_preview has incomplete parameters list
(#1933) Phpdocs for function offlinequiz_apply_filters has incomplete parameters list
(#2340) Phpdocs for function offlinequiz_question_tostring has incomplete parameters list
(#2396) Phpdocs for function offlinequiz_add_questionlist_to_group has incomplete parameters list
(#335) Inline phpdocs tag {@link question_usage_by_activity} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#336) Inline phpdocs tag {@link question_attempt} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1032) Inline phpdocs tag {@link qubaid_condition} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1427) Inline phpdocs tag {@link DURING} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1427) Inline phpdocs tag {@link IMMEDIATELY_AFTER} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1428) Inline phpdocs tag {@link LATER_WHILE_OPEN} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1428) Inline phpdocs tag {@link AFTER_CLOSE} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/mod_form.php
(#290) Phpdocs for function mod_offlinequiz_mod_form::data_preprocessing has incomplete parameters list
(#354) Phpdocs for function mod_offlinequiz_mod_form::validation has incomplete parameters list
mod/offlinequiz/offlinequiz.class.php
(#81) Phpdocs for function offlinequiz::create has incomplete parameters list
(#263) Phpdocs for function offlinequiz::has_capability has incomplete parameters list
(#270) Phpdocs for function offlinequiz::require_capability has incomplete parameters list
(#308) Phpdocs for function offlinequiz::start_attempt_url has incomplete parameters list
(#403) Phpdocs for function offlinequiz::ensure_question_loaded has incomplete parameters list
(#119) Inline phpdocs tag {@link preload_questions()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#140) Inline phpdocs tag {@link \mod_offlinequiz\structure} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/participants/participants_report.php
(#31) Phpdocs for function participants_report::error_report has incomplete parameters list
mod/offlinequiz/pdflib.php
(#570) Phpdocs for function offlinequiz_print_question_html has incomplete parameters list
(#686) Phpdocs for function offlinequiz_create_pdf_question has incomplete parameters list
(#563) Inline phpdocs tag {@link qtype_multichoice:;get_numbering_styles()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/report/correct/classes/report.php
(#180) Phpdocs for function report::display has incomplete parameters list
mod/offlinequiz/report/identified/locallib.php
(#158) Phpdocs for function offlinequiz_create_pdf_participants_answers has incomplete parameters list
mod/offlinequiz/report/overview/classes/report.php
(#49) Phpdocs for function report::display has incomplete parameters list
mod/offlinequiz/report/reportlib.php
(#41) Phpdocs for function offlinequiz_report_list has incomplete parameters list
(#157) Phpdocs for function offlinequiz_report_scale_summarks_as_percentage has incomplete parameters list
(#179) Phpdocs for function offlinequiz_report_scale_grade has incomplete parameters list
mod/offlinequiz/report/rimport/boxscanner.php
(#36) Phpdocs for function pixelcountboxscanner::scan_box has incomplete parameters list
(#97) Phpdocs for function weighted_diagonal_box_scanner::scan_box has incomplete parameters list
mod/offlinequiz/report/rimport/classes/report.php
(#44) Phpdocs for function report::display has incomplete parameters list
mod/offlinequiz/report/rimport/classes/task/adhoc/extract_files.php
(#145) Phpdocs for function extract_files::extract_pdf_to_tiff has incomplete parameters list
mod/offlinequiz/report/rimport/resultsaver.php
(#127) Phpdocs for function offlinequiz_resultsaver::clone_template_usage has incomplete parameters list
(#169) Phpdocs for function offlinequiz_resultsaver::submit_scanned_page_to_result has incomplete parameters list
mod/offlinequiz/report/rimport/scanner.php
(#506) Phpdocs for function offlinequiz_page_scanner::load_stored_image has incomplete parameters list
(#839) Phpdocs for function offlinequiz_page_scanner::hotspot_value has incomplete parameters list
(#1405) Phpdocs for function offlinequiz_page_scanner::adjust has incomplete parameters list
mod/offlinequiz/report/statistics/classes/question_answer_statistics_table.php
(#384) Phpdocs for function question_answer_statistics_table::is_dubious_question has incomplete parameters list
(#418) Phpdocs for function question_answer_statistics_table::col_correct has incomplete parameters list
(#432) Phpdocs for function question_answer_statistics_table::col_partially has incomplete parameters list
(#446) Phpdocs for function question_answer_statistics_table::col_wrong has incomplete parameters list
mod/offlinequiz/report/statistics/classes/question_stats.php
(#55) Phpdocs for function question_stats::__construct has incomplete parameters list
(#97) Phpdocs for function question_stats::load_step_data has incomplete parameters list
(#351) Phpdocs for function question_stats::secondary_steps_walker has incomplete parameters list
mod/offlinequiz/report/statistics/classes/question_table.php
(#50) Phpdocs for function question_table::__construct has incomplete parameters list
(#61) Phpdocs for function question_table::question_setup has incomplete parameters list
mod/offlinequiz/report/statistics/classes/report.php
(#69) Phpdocs for function report::display has incomplete parameters list
(#439) Phpdocs for function report::print_offlinequiz_group_selector has incomplete parameters list
(#466) Phpdocs for function report::output_individual_question_data has incomplete parameters list
(#543) Phpdocs for function report::render_question_text_plain has incomplete parameters list
(#784) Phpdocs for function report::output_offlinequiz_question_answer_table has incomplete parameters list
(#805) Phpdocs for function report::output_question_answers has incomplete parameters list
(#931) Phpdocs for function report::output_statistics_graph has incomplete parameters list
(#950) Phpdocs for function report::get_emtpy_stats has incomplete parameters list
(#975) Phpdocs for function report::compute_stats has incomplete parameters list
(#1215) Phpdocs for function report::cache_stats has incomplete parameters list
(#1342) Phpdocs for function report::output_caching_info has incomplete parameters list
(#1393) Phpdocs for function report::clear_cached_data has incomplete parameters list
(#1436) Phpdocs for function report::add_to_navigation has incomplete parameters list
(#1511) Phpdocs for function offlinequiz_statistics_qubaids_condition has incomplete parameters list
(#878) Inline phpdocs tag {@link get_formatted_offlinequiz_info_data()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#897) Inline phpdocs tag {@link get_formatted_offlinequiz_info_data()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1509) Inline phpdocs tag {@link qubaid_condition} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#1510) Inline phpdocs tag {@link offlinequiz_statistics_attempts_sql} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/report/statistics/classes/response_analyser.php
(#122) Phpdocs for function response_analyser::analyse has incomplete parameters list
(#47) Inline phpdocs tag {@link question_type::get_possible_responses()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/offlinequiz/report/statistics/classes/statistics_table.php
(#269) Phpdocs for function statistics_table::is_dubious_question has incomplete parameters list
(#310) Phpdocs for function statistics_table::col_correct has incomplete parameters list
(#323) Phpdocs for function statistics_table::col_partially has incomplete parameters list
(#335) Phpdocs for function statistics_table::col_wrong has incomplete parameters list
mod/offlinequiz/report/statistics/db/upgrade.php
(#29) Phpdocs for function xmldb_offlinequiz_statistics_upgrade has incomplete parameters list
mod/offlinequiz/settingslib.php
(#123) Phpdocs for function mod_offlinequiz_admin_review_setting::write_setting has incomplete parameters list
(#135) Phpdocs for function mod_offlinequiz_admin_review_setting::output_html has incomplete parameters list
(#38) Inline phpdocs tag {@link mod_offlinequiz_display_options} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#52) Inline phpdocs tag {@link mod_offlinequiz_mod_form::$reviewfields} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

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

shifter problems

(6 errors, 0 warnings)

This section shows problems detected by shifter [More info]

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

Mustache template problems

(1 errors, 52 warnings)

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

mod/offlinequiz/templates/add_random_question_form.mustache
(#1) HTML Validation info, line 18: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <br/> )
mod/offlinequiz/templates/correct_files_list.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/correct_queue_list.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/edit_buttons.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 6: Bad value “” for attribute “action” on element “form”: Must be non-empty. (> <form method="get" action="" class="d-flex flex-wrap align-items-center"> )
(#1) HTML Validation error, line 7: Stray end tag “input”. ( value=""></input> )
(#1) HTML Validation error, line 26: Stray end tag “input”. ( value=""></input> )
(#1) HTML Validation error, line 27: Stray end tag “input”. ( value=""></input> )
(#1) HTML Validation error, line 28: Stray end tag “input”. ( value=""></input> )
(#1) HTML Validation error, line 35: Bad value “” for attribute “size” on element “input”: The empty string is not a valid positive integer. ( <input type="text" id="inputmaxgrade" name="maxgrade" size="" value=""></inpu)
(#1) HTML Validation error, line 35: Stray end tag “input”. ( value=""></input> )
(#1) HTML Validation error, line 46: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. (> <div class="col-3" /> )
(#1) HTML Validation error, line 56: Bad value “” for attribute “action” on element “form”: Must be non-empty. (m"> <form method="post" action="" id="offlinequizbulkcopyform" class="offlinequizbulkcopyform"> )
(#1) HTML Validation info, line 57: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (> <input type="hidden" name="sesskey" value="" /> )
(#1) HTML Validation info, line 58: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (> <input type="hidden" name="fromofflinegroup" value="" /> )
(#1) HTML Validation info, line 64: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input class="btn btn-secondary" type="submit" name="savechanges" value="((+add+))" /> )
(#1) HTML Validation error, line 65: Saw “"” when expecting an attribute name. Probable cause: “=” missing immediately before. ( <div class="removeselected" "cmid=")
(#1) HTML Validation info, line 65: Attribute “"cmid” is not serializable as XML 1.0. (elected" "cmid=""> )
(#1) HTML Validation error, line 65: Attribute “"cmid” not allowed on element “div” at this point. (elected" "cmid=""> )
(#1) HTML Validation error, line 68: Stray end tag “input”. ( </input> )
mod/offlinequiz/templates/question_chooser.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 9: Bad value “” for attribute “action” on element “form”: Must be non-empty. ( <form action="" id="chooserform" method=""> )
(#1) HTML Validation error, line 9: Bad value “” for attribute “method” on element “form”. ( <form action="" id="chooserform" method=""> )
mod/offlinequiz/templates/question_slot_grading.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
mod/offlinequiz/templates/teacher_view.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/teacher_view_attendancelists.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/teacher_view_attendancesummary.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/teacher_view_editquestion.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/teacher_view_resultsublist.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/teacher_view_statistics.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/teacher_view_step.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li> )
(#1) HTML Validation error, line 8: The “aria-owns” attribute must point to an element in the same document. ( <div class="courseindex-section dropready" aria-owns="prepcollapse" tabindex="-1"> )
(#1) HTML Validation error, line 10: The “aria-controls” attribute must point to an element in the same document. ( <a data-toggle="collapse" href="#prepcollapse" class="courseindex-chevron icons-collapse-expand " aria-controls="prepcollapse" tabindex="-1"> )
mod/offlinequiz/templates/teacher_view_upload.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/tutorial_navigation.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/tutorial_page-1.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 20: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. (an> <img class="questionimage" src="./pix/tutorial/questionnaire.svg"> )
mod/offlinequiz/templates/tutorial_page-2.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 8: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. (gin: 2em"><img class="answerimage" src="./pix/tutorial/answers_marked.svg"></p>)
(#1) HTML Validation error, line 18: Bad value “1” for attribute “border” on element “img”: Only “0” is a permitted zero literal. ("answer1"><img src="./pix/tutorial/checkbox_light.svg" border="1"></labe)
(#1) HTML Validation error, line 18: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ("answer1"><img src="./pix/tutorial/checkbox_light.svg" border="1"></labe)
(#1) HTML Validation info, line 18: The “border” attribute is obsolete. Consider specifying “img { border: 0; }” in CSS instead. ("answer1"><img src="./pix/tutorial/checkbox_light.svg" border="1"></labe)
(#1) HTML Validation error, line 19: Bad value “1” for attribute “border” on element “img”: Only “0” is a permitted zero literal. ("answer2"><img src="./pix/tutorial/checkbox_marked.svg" border="1"></labe)
(#1) HTML Validation error, line 19: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ("answer2"><img src="./pix/tutorial/checkbox_marked.svg" border="1"></labe)
(#1) HTML Validation info, line 19: The “border” attribute is obsolete. Consider specifying “img { border: 0; }” in CSS instead. ("answer2"><img src="./pix/tutorial/checkbox_marked.svg" border="1"></labe)
(#1) HTML Validation error, line 20: Bad value “1” for attribute “border” on element “img”: Only “0” is a permitted zero literal. ("answer3"><img src="./pix/tutorial/checkbox_bold.svg" border="1"></labe)
(#1) HTML Validation error, line 20: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ("answer3"><img src="./pix/tutorial/checkbox_bold.svg" border="1"></labe)
(#1) HTML Validation info, line 20: The “border” attribute is obsolete. Consider specifying “img { border: 0; }” in CSS instead. ("answer3"><img src="./pix/tutorial/checkbox_bold.svg" border="1"></labe)
(#1) HTML Validation error, line 21: Bad value “1” for attribute “border” on element “img”: Only “0” is a permitted zero literal. ("answer4"><img src="./pix/tutorial/checkbox_empty.svg" border="1"></labe)
(#1) HTML Validation error, line 21: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ("answer4"><img src="./pix/tutorial/checkbox_empty.svg" border="1"></labe)
(#1) HTML Validation info, line 21: The “border” attribute is obsolete. Consider specifying “img { border: 0; }” in CSS instead. ("answer4"><img src="./pix/tutorial/checkbox_empty.svg" border="1"></labe)
(#1) HTML Validation error, line 22: Bad value “1” for attribute “border” on element “img”: Only “0” is a permitted zero literal. ("answer5"><img src="./pix/tutorial/checkbox_deleted.svg" border="1"></labe)
(#1) HTML Validation error, line 22: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ("answer5"><img src="./pix/tutorial/checkbox_deleted.svg" border="1"></labe)
(#1) HTML Validation info, line 22: The “border” attribute is obsolete. Consider specifying “img { border: 0; }” in CSS instead. ("answer5"><img src="./pix/tutorial/checkbox_deleted.svg" border="1"></labe)
mod/offlinequiz/templates/tutorial_page-3.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 8: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. (z+))</p><img class="questionimg" src="./pix/tutorial/answerform.svg"><p>()
mod/offlinequiz/templates/tutorial_page-4.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 6: Stray end tag “hp”. (inequiz+))</hp><scr)
(#1) HTML Validation info, line 8: The “type” attribute is unnecessary for JavaScript resources. (+))</hp><script type="text/javascript">var m)
(#1) HTML Validation error, line 52: Start tag “span” seen in “table”. (er-table"><span class="center matnr">((+tut)
(#1) HTML Validation error, line 52: Cannot recover after last error. Any further errors will be ignored. (er-table"><span class="center matnr">((+tut)
mod/offlinequiz/templates/tutorial_page-5.mustache
(#1) Example context missing (@template section not found.)
mod/offlinequiz/templates/tutorial_start.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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