Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

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


PHP coding style problems

(1377 errors, 256 warnings)

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

mod/realtimequiz/adminlib.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#29) Line indented incorrectly; expected at least 12 spaces, found 11
(#32) Line indented incorrectly; expected at least 12 spaces, found 11
mod/realtimequiz/backup/moodle2/backup_realtimequiz_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#59) Commas (,) must be followed by white space.
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Expected 1 space before "="; 0 found
(#62) Expected 1 space after "="; 0 found
(#63) Expected 1 space before "="; 0 found
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Expected 1 space before "="; 0 found
(#66) Expected 1 space after "="; 0 found
(#67) Expected 1 space before "="; 0 found
mod/realtimequiz/backup/moodle2/backup_realtimequiz_settingslib.php
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
mod/realtimequiz/backup/moodle2/backup_realtimequiz_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
mod/realtimequiz/backup/moodle2/restore_realtimequiz_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
mod/realtimequiz/backup/moodle2/restore_realtimequiz_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
mod/realtimequiz/backuplib.php
(#1) Whitespace found at end of line
(#1) The opening <?php tag must be followed by exactly one newline.
(#2) No space found before comment text; expected "// Based on php script for backing up forum mods" but found "//Based on php script for backing up forum mods"
(#3) Spaces must be used to indent lines; tabs are not allowed
(#3) Tab found within whitespace
(#3) No space found before comment text; expected "// This php script contains all the stuff to backup/restore" but found "//This php script contains all the stuff to backup/restore"
(#4) Inline comments must end in full-stops, exclamation marks, or question marks
(#4) No space found before comment text; expected "// realtimequiz mods" but found "//realtimequiz mods"
(#6) No space found before comment text; expected "// This is the "graphical" structure of the realtimequiz mod:" but found "//This is the "graphical" structure of the realtimequiz mod:"
(#8) Expected 1 space before comment text but found 28; use block comment if you need indentation
(#8) Whitespace found at end of line
(#9) This comment is 50% valid code; is this commented out code?
(#9) Expected 1 space before comment text but found 28; use block comment if you need indentation
(#10) This comment is 50% valid code; is this commented out code?
(#10) Expected 1 space before comment text but found 33; use block comment if you need indentation
(#11) Whitespace found at end of line
(#12) This comment is 50% valid code; is this commented out code?
(#12) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#13) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#14) This comment is 47% valid code; is this commented out code?
(#14) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#15) This comment is 50% valid code; is this commented out code?
(#15) Expected 1 space before comment text but found 59; use block comment if you need indentation
(#16) This comment is 50% valid code; is this commented out code?
(#16) Expected 1 space before comment text but found 59; use block comment if you need indentation
(#17) This comment is 50% valid code; is this commented out code?
(#17) Expected 1 space before comment text but found 59; use block comment if you need indentation
(#18) Expected 1 space before comment text but found 51; use block comment if you need indentation
(#19) This comment is 50% valid code; is this commented out code?
(#19) Expected 1 space before comment text but found 48; use block comment if you need indentation
(#19) Whitespace found at end of line
(#20) This comment is 50% valid code; is this commented out code?
(#20) Expected 1 space before comment text but found 59; use block comment if you need indentation
(#21) This comment is 50% valid code; is this commented out code?
(#21) Expected 1 space before comment text but found 59; use block comment if you need indentation
(#22) This comment is 50% valid code; is this commented out code?
(#22) Expected 1 space before comment text but found 59; use block comment if you need indentation
(#23) Expected 1 space before comment text but found 48; use block comment if you need indentation
(#24) This comment is 47% valid code; is this commented out code?
(#24) Expected 1 space before comment text but found 28; use block comment if you need indentation
(#27) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#28) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#29) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) No space found before comment text; expected "// -----------------------------------------------------------" but found "//-----------------------------------------------------------"
(#33) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#33) Line indented incorrectly; expected 0 spaces, found 4
(#33) Commas (,) must be followed by white space.
(#34) Whitespace found at end of line
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// Iterate over forum table" but found "//Iterate over forum table"
(#40) Commas (,) must be followed by white space.
(#40) Commas (,) must be followed by white space.
(#40) Commas (,) must be followed by white space.
(#41) Line indented incorrectly; expected 4 spaces, found 8
(#42) Line indented incorrectly; expected 8 spaces, found 12
(#43) Line indented incorrectly; expected 12 spaces, found 16
(#43) Commas (,) must be followed by white space.
(#43) Commas (,) must be followed by white space.
(#44) Commas (,) must be followed by white space.
(#44) Commas (,) must be followed by white space.
(#45) Line indented incorrectly; expected 12 spaces, found 16
(#46) Line indented incorrectly; expected 8 spaces, found 12
(#47) Line indented incorrectly; expected 4 spaces, found 8
(#49) Line indented incorrectly; expected 0 spaces, found 4
(#52) Line indented incorrectly; expected 0 spaces, found 4
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#53) Whitespace found at end of line
(#55) Whitespace found at end of line
(#56) Line indented incorrectly; expected 4 spaces, found 8
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#58) Line indented incorrectly; expected 4 spaces, found 8
(#60) Whitespace found at end of line
(#62) Whitespace found at end of line
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) No space found before comment text; expected "// Start mod" but found "//Start mod"
(#64) Commas (,) must be followed by white space.
(#64) Commas (,) must be followed by white space.
(#64) Commas (,) must be followed by white space.
(#65) Whitespace found at end of line
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) No space found before comment text; expected "// Print realtimequiz data" but found "//Print realtimequiz data"
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Whitespace found at end of line
(#68) Commas (,) must be followed by white space.
(#68) Commas (,) must be followed by white space.
(#68) Commas (,) must be followed by white space.
(#68) Commas (,) must be followed by white space.
(#69) Commas (,) must be followed by white space.
(#69) Commas (,) must be followed by white space.
(#69) Commas (,) must be followed by white space.
(#69) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#71) Commas (,) must be followed by white space.
(#71) Commas (,) must be followed by white space.
(#71) Commas (,) must be followed by white space.
(#71) Commas (,) must be followed by white space.
(#72) This comment is 78% valid code; is this commented out code?
(#72) Line indented incorrectly; expected at least 4 spaces, found 0
(#72) Whitespace found at end of line
(#79) Line indented incorrectly; expected at least 4 spaces, found 0
(#79) Spaces must be used for alignment; tabs are not allowed
(#79) Tab found within whitespace
(#79) Whitespace found at end of line
(#80) Spaces must be used for alignment; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected 4 spaces, found 5
(#80) Commas (,) must be followed by white space.
(#80) Commas (,) must be followed by white space.
(#81) Spaces must be used for alignment; tabs are not allowed
(#81) Tab found within whitespace
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Spaces must be used for alignment; tabs are not allowed
(#82) Tab found within whitespace
(#82) Commas (,) must be followed by white space.
(#82) Commas (,) must be followed by white space.
(#83) Spaces must be used for alignment; tabs are not allowed
(#83) Tab found within whitespace
(#83) Line indented incorrectly; expected 4 spaces, found 5
(#84) Spaces must be used for alignment; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected at least 4 spaces, found 2
(#84) Inline control structures are not allowed
(#84) Commas (,) must be followed by white space.
(#84) Commas (,) must be followed by white space.
(#86) Expected 1 space after "="; 0 found
(#86) Commas (,) must be followed by white space.
(#86) Commas (,) must be followed by white space.
(#86) Commas (,) must be followed by white space.
(#88) Line indented incorrectly; expected 0 spaces, found 4
(#91) Line indented incorrectly; expected 0 spaces, found 4
(#91) Commas (,) must be followed by white space.
(#91) Variable "backup_unique_code" must not contain underscores.
(#94) Commas (,) must be followed by white space.
(#95) Line indented incorrectly; expected 4 spaces, found 8
(#96) Whitespace found at end of line
(#97) Line indented incorrectly; expected 4 spaces, found 8
(#99) Line indented incorrectly; expected 4 spaces, found 8
(#100) Commas (,) must be followed by white space.
(#101) Line indented incorrectly; expected 4 spaces, found 8
(#102) Whitespace found at end of line
(#103) Line indented incorrectly; expected 4 spaces, found 8
(#105) Line indented incorrectly; expected 4 spaces, found 8
(#106) Line indented incorrectly; expected 4 spaces, found 8
(#107) Commas (,) must be followed by white space.
(#108) Line indented incorrectly; expected 8 spaces, found 12
(#109) Whitespace found at end of line
(#110) Line indented incorrectly; expected 8 spaces, found 12
(#112) Line indented incorrectly; expected 8 spaces, found 12
(#113) Commas (,) must be followed by white space.
(#114) Line indented incorrectly; expected 8 spaces, found 12
(#115) Whitespace found at end of line
(#116) Line indented incorrectly; expected 8 spaces, found 12
(#118) Line indented incorrectly; expected 8 spaces, found 12
(#118) Whitespace found at end of line
(#119) Line indented incorrectly; expected 4 spaces, found 8
(#120) Whitespace found at end of line
(#122) Line indented incorrectly; expected 0 spaces, found 4
(#124) Spaces must be used for alignment; tabs are not allowed
(#124) Tab found within whitespace
(#124) Line indented incorrectly; expected 0 spaces, found 1
(#124) Commas (,) must be followed by white space.
(#125) Spaces must be used for alignment; tabs are not allowed
(#125) Tab found within whitespace
(#125) Line indented incorrectly; expected at least 4 spaces, found 2
(#126) Spaces must be used for alignment; tabs are not allowed
(#126) Tab found within whitespace
(#126) Whitespace found at end of line
(#127) Spaces must be used for alignment; tabs are not allowed
(#127) Tab found within whitespace
(#127) Line indented incorrectly; expected at least 4 spaces, found 2
(#128) Spaces must be used for alignment; tabs are not allowed
(#128) Tab found within whitespace
(#128) Whitespace found at end of line
(#129) Spaces must be used for alignment; tabs are not allowed
(#129) Tab found within whitespace
(#129) Line indented incorrectly; expected at least 4 spaces, found 2
(#129) Variable "quiz_questions" must not contain underscores.
(#129) Commas (,) must be followed by white space.
(#129) Commas (,) must be followed by white space.
(#129) Commas (,) must be followed by white space.
(#130) Spaces must be used for alignment; tabs are not allowed
(#130) Tab found within whitespace
(#130) Line indented incorrectly; expected 4 spaces, found 2
(#130) Variable "quiz_questions" must not contain underscores.
(#131) Spaces must be used for alignment; tabs are not allowed
(#131) Tab found within whitespace
(#131) Line indented incorrectly; expected at least 8 spaces, found 3
(#131) Commas (,) must be followed by white space.
(#131) Commas (,) must be followed by white space.
(#132) Spaces must be used for alignment; tabs are not allowed
(#132) Tab found within whitespace
(#132) Line indented incorrectly; expected 8 spaces, found 3
(#132) Variable "quiz_questions" must not contain underscores.
(#133) Spaces must be used for alignment; tabs are not allowed
(#133) Tab found within whitespace
(#133) Line indented incorrectly; expected at least 12 spaces, found 4
(#133) Inline control structures are not allowed
(#134) Spaces must be used for alignment; tabs are not allowed
(#134) Tab found within whitespace
(#134) Line indented incorrectly; expected at least 12 spaces, found 4
(#134) Inline control structures are not allowed
(#134) Commas (,) must be followed by white space.
(#134) Commas (,) must be followed by white space.
(#134) Commas (,) must be followed by white space.
(#135) Spaces must be used for alignment; tabs are not allowed
(#135) Tab found within whitespace
(#135) Line indented incorrectly; expected at least 12 spaces, found 4
(#135) Inline control structures are not allowed
(#135) Commas (,) must be followed by white space.
(#135) Commas (,) must be followed by white space.
(#135) Commas (,) must be followed by white space.
(#136) Spaces must be used for alignment; tabs are not allowed
(#136) Tab found within whitespace
(#136) Line indented incorrectly; expected at least 12 spaces, found 4
(#136) Inline control structures are not allowed
(#136) Commas (,) must be followed by white space.
(#136) Commas (,) must be followed by white space.
(#136) Commas (,) must be followed by white space.
(#137) Spaces must be used for alignment; tabs are not allowed
(#137) Tab found within whitespace
(#137) Line indented incorrectly; expected at least 12 spaces, found 4
(#137) Inline control structures are not allowed
(#137) Commas (,) must be followed by white space.
(#137) Commas (,) must be followed by white space.
(#137) Commas (,) must be followed by white space.
(#138) Spaces must be used for alignment; tabs are not allowed
(#138) Tab found within whitespace
(#138) Line indented incorrectly; expected at least 12 spaces, found 4
(#138) Inline control structures are not allowed
(#138) Commas (,) must be followed by white space.
(#138) Commas (,) must be followed by white space.
(#138) Commas (,) must be followed by white space.
(#139) Spaces must be used for alignment; tabs are not allowed
(#139) Tab found within whitespace
(#139) Whitespace found at end of line
(#140) Spaces must be used for alignment; tabs are not allowed
(#140) Tab found within whitespace
(#140) Line indented incorrectly; expected at least 12 spaces, found 4
(#140) Inline control structures are not allowed
(#141) Spaces must be used for alignment; tabs are not allowed
(#141) Tab found within whitespace
(#141) Line indented incorrectly; expected at least 12 spaces, found 4
(#141) Inline control structures are not allowed
(#142) Spaces must be used for alignment; tabs are not allowed
(#142) Tab found within whitespace
(#142) Line indented incorrectly; expected 8 spaces, found 3
(#143) Spaces must be used for alignment; tabs are not allowed
(#143) Tab found within whitespace
(#143) Line indented incorrectly; expected at least 8 spaces, found 3
(#143) Inline control structures are not allowed
(#143) Commas (,) must be followed by white space.
(#143) Commas (,) must be followed by white space.
(#144) Spaces must be used for alignment; tabs are not allowed
(#144) Tab found within whitespace
(#144) Line indented incorrectly; expected 4 spaces, found 2
(#145) Spaces must be used for alignment; tabs are not allowed
(#145) Tab found within whitespace
(#145) Whitespace found at end of line
(#146) Spaces must be used for alignment; tabs are not allowed
(#146) Tab found within whitespace
(#146) Line indented incorrectly; expected at least 4 spaces, found 2
(#147) Spaces must be used for alignment; tabs are not allowed
(#147) Tab found within whitespace
(#147) Line indented incorrectly; expected 0 spaces, found 1
(#148) Spaces must be used for alignment; tabs are not allowed
(#148) Tab found within whitespace
(#148) Whitespace found at end of line
(#149) Spaces must be used for alignment; tabs are not allowed
(#149) Tab found within whitespace
(#149) Line indented incorrectly; expected 0 spaces, found 1
(#150) Spaces must be used for alignment; tabs are not allowed
(#150) Tab found within whitespace
(#150) Line indented incorrectly; expected at least 4 spaces, found 2
(#151) Spaces must be used for alignment; tabs are not allowed
(#151) Tab found within whitespace
(#151) Whitespace found at end of line
(#152) Spaces must be used for alignment; tabs are not allowed
(#152) Tab found within whitespace
(#152) Line indented incorrectly; expected at least 4 spaces, found 2
(#153) Spaces must be used for alignment; tabs are not allowed
(#153) Tab found within whitespace
(#153) Whitespace found at end of line
(#154) Spaces must be used for alignment; tabs are not allowed
(#154) Tab found within whitespace
(#154) Line indented incorrectly; expected at least 4 spaces, found 2
(#154) Variable "quiz_answers" must not contain underscores.
(#154) Commas (,) must be followed by white space.
(#154) Commas (,) must be followed by white space.
(#154) Commas (,) must be followed by white space.
(#155) Spaces must be used for alignment; tabs are not allowed
(#155) Tab found within whitespace
(#155) Line indented incorrectly; expected 4 spaces, found 2
(#155) Variable "quiz_answers" must not contain underscores.
(#156) Spaces must be used for alignment; tabs are not allowed
(#156) Tab found within whitespace
(#156) Line indented incorrectly; expected at least 8 spaces, found 6
(#156) Commas (,) must be followed by white space.
(#156) Commas (,) must be followed by white space.
(#157) Spaces must be used for alignment; tabs are not allowed
(#157) Tab found within whitespace
(#157) Line indented incorrectly; expected 8 spaces, found 6
(#157) Variable "quiz_answers" must not contain underscores.
(#158) Spaces must be used for alignment; tabs are not allowed
(#158) Tab found within whitespace
(#158) Line indented incorrectly; expected at least 12 spaces, found 10
(#158) Inline control structures are not allowed
(#159) Spaces must be used for alignment; tabs are not allowed
(#159) Tab found within whitespace
(#159) Line indented incorrectly; expected at least 12 spaces, found 10
(#159) Inline control structures are not allowed
(#159) Commas (,) must be followed by white space.
(#159) Commas (,) must be followed by white space.
(#159) Commas (,) must be followed by white space.
(#160) Spaces must be used for alignment; tabs are not allowed
(#160) Tab found within whitespace
(#160) Line indented incorrectly; expected at least 12 spaces, found 10
(#160) Inline control structures are not allowed
(#160) Commas (,) must be followed by white space.
(#160) Commas (,) must be followed by white space.
(#160) Commas (,) must be followed by white space.
(#161) Spaces must be used for alignment; tabs are not allowed
(#161) Tab found within whitespace
(#161) Line indented incorrectly; expected at least 12 spaces, found 10
(#161) Inline control structures are not allowed
(#161) Commas (,) must be followed by white space.
(#161) Commas (,) must be followed by white space.
(#161) Commas (,) must be followed by white space.
(#162) Spaces must be used for alignment; tabs are not allowed
(#162) Tab found within whitespace
(#162) Line indented incorrectly; expected at least 12 spaces, found 10
(#162) Inline control structures are not allowed
(#162) Commas (,) must be followed by white space.
(#162) Commas (,) must be followed by white space.
(#162) Commas (,) must be followed by white space.
(#163) Spaces must be used for alignment; tabs are not allowed
(#163) Tab found within whitespace
(#163) Whitespace found at end of line
(#164) Spaces must be used for alignment; tabs are not allowed
(#164) Tab found within whitespace
(#164) Line indented incorrectly; expected 12 spaces, found 13
(#164) Commas (,) must be followed by white space.
(#164) Commas (,) must be followed by white space.
(#165) Spaces must be used for alignment; tabs are not allowed
(#165) Tab found within whitespace
(#165) Inline control structures are not allowed
(#166) Spaces must be used for alignment; tabs are not allowed
(#166) Tab found within whitespace
(#166) Line indented incorrectly; expected 12 spaces, found 13
(#168) Spaces must be used for alignment; tabs are not allowed
(#168) Tab found within whitespace
(#168) Line indented incorrectly; expected at least 12 spaces, found 10
(#168) Inline control structures are not allowed
(#168) Spaces must be used for alignment; tabs are not allowed
(#168) Tab found within whitespace
(#168) Whitespace found at end of line
(#169) Spaces must be used for alignment; tabs are not allowed
(#169) Tab found within whitespace
(#169) Line indented incorrectly; expected 8 spaces, found 6
(#170) Spaces must be used for alignment; tabs are not allowed
(#170) Tab found within whitespace
(#170) Whitespace found at end of line
(#171) Spaces must be used for alignment; tabs are not allowed
(#171) Tab found within whitespace
(#171) Line indented incorrectly; expected at least 8 spaces, found 6
(#171) Inline control structures are not allowed
(#171) Commas (,) must be followed by white space.
(#171) Commas (,) must be followed by white space.
(#172) Spaces must be used for alignment; tabs are not allowed
(#172) Tab found within whitespace
(#172) Line indented incorrectly; expected 4 spaces, found 2
(#173) Spaces must be used for alignment; tabs are not allowed
(#173) Tab found within whitespace
(#173) Whitespace found at end of line
(#174) Spaces must be used for alignment; tabs are not allowed
(#174) Tab found within whitespace
(#174) Line indented incorrectly; expected at least 4 spaces, found 2
(#175) Spaces must be used for alignment; tabs are not allowed
(#175) Tab found within whitespace
(#175) Whitespace found at end of line
(#176) Spaces must be used for alignment; tabs are not allowed
(#176) Tab found within whitespace
(#176) Line indented incorrectly; expected 0 spaces, found 1
(#177) Spaces must be used for alignment; tabs are not allowed
(#177) Tab found within whitespace
(#177) Whitespace found at end of line
(#178) Spaces must be used for alignment; tabs are not allowed
(#178) Tab found within whitespace
(#178) Line indented incorrectly; expected 0 spaces, found 1
(#179) Spaces must be used for alignment; tabs are not allowed
(#179) Tab found within whitespace
(#180) Spaces must be used for alignment; tabs are not allowed
(#180) Tab found within whitespace
(#180) Whitespace found at end of line
(#181) Spaces must be used for alignment; tabs are not allowed
(#181) Tab found within whitespace
(#182) Spaces must be used for alignment; tabs are not allowed
(#182) Tab found within whitespace
(#182) Whitespace found at end of line
(#183) Spaces must be used for alignment; tabs are not allowed
(#183) Tab found within whitespace
(#183) Line indented incorrectly; expected at least 4 spaces, found 2
(#183) Variable "quiz_submissions" must not contain underscores.
(#183) Commas (,) must be followed by white space.
(#183) Commas (,) must be followed by white space.
(#183) Commas (,) must be followed by white space.
(#184) Spaces must be used for alignment; tabs are not allowed
(#184) Tab found within whitespace
(#184) Line indented incorrectly; expected 4 spaces, found 2
(#184) Variable "quiz_submissions" must not contain underscores.
(#185) Spaces must be used for alignment; tabs are not allowed
(#185) Tab found within whitespace
(#185) Line indented incorrectly; expected at least 8 spaces, found 6
(#185) Commas (,) must be followed by white space.
(#185) Commas (,) must be followed by white space.
(#186) Spaces must be used for alignment; tabs are not allowed
(#186) Tab found within whitespace
(#186) Line indented incorrectly; expected 8 spaces, found 6
(#186) Variable "quiz_submissions" must not contain underscores.
(#187) Spaces must be used for alignment; tabs are not allowed
(#187) Tab found within whitespace
(#187) Line indented incorrectly; expected at least 12 spaces, found 10
(#187) Inline control structures are not allowed
(#188) Spaces must be used for alignment; tabs are not allowed
(#188) Tab found within whitespace
(#188) Line indented incorrectly; expected at least 12 spaces, found 10
(#188) Inline control structures are not allowed
(#189) Spaces must be used for alignment; tabs are not allowed
(#189) Tab found within whitespace
(#189) Line indented incorrectly; expected at least 12 spaces, found 10
(#189) Inline control structures are not allowed
(#190) Spaces must be used for alignment; tabs are not allowed
(#190) Tab found within whitespace
(#190) Line indented incorrectly; expected at least 12 spaces, found 10
(#190) Inline control structures are not allowed
(#191) Spaces must be used for alignment; tabs are not allowed
(#191) Tab found within whitespace
(#191) Line indented incorrectly; expected at least 12 spaces, found 10
(#191) Inline control structures are not allowed
(#192) Spaces must be used for alignment; tabs are not allowed
(#192) Tab found within whitespace
(#192) Line indented incorrectly; expected at least 12 spaces, found 10
(#192) Inline control structures are not allowed
(#193) Spaces must be used for alignment; tabs are not allowed
(#193) Tab found within whitespace
(#193) Line indented incorrectly; expected at least 12 spaces, found 10
(#193) Inline control structures are not allowed
(#194) Spaces must be used for alignment; tabs are not allowed
(#194) Tab found within whitespace
(#194) Line indented incorrectly; expected 8 spaces, found 6
(#195) Inline control structures are not allowed
(#195) Spaces must be used for alignment; tabs are not allowed
(#195) Tab found within whitespace
(#195) Whitespace found at end of line
(#196) Spaces must be used for alignment; tabs are not allowed
(#196) Tab found within whitespace
(#196) Line indented incorrectly; expected 4 spaces, found 2
(#196) Spaces must be used for alignment; tabs are not allowed
(#196) Tab found within whitespace
(#196) Whitespace found at end of line
(#197) Spaces must be used for alignment; tabs are not allowed
(#197) Tab found within whitespace
(#197) Whitespace found at end of line
(#198) Spaces must be used for alignment; tabs are not allowed
(#198) Tab found within whitespace
(#199) Spaces must be used for alignment; tabs are not allowed
(#199) Tab found within whitespace
(#199) Line indented incorrectly; expected 0 spaces, found 1
(#201) Spaces must be used for alignment; tabs are not allowed
(#201) Tab found within whitespace
(#201) Line indented incorrectly; expected 0 spaces, found 1
(#202) Spaces must be used for alignment; tabs are not allowed
(#202) Tab found within whitespace
(#202) Line indented incorrectly; expected at least 4 spaces, found 2
(#203) Spaces must be used for alignment; tabs are not allowed
(#203) Tab found within whitespace
(#203) Whitespace found at end of line
(#204) Spaces must be used for alignment; tabs are not allowed
(#204) Tab found within whitespace
(#204) Line indented incorrectly; expected at least 4 spaces, found 2
(#205) Spaces must be used for alignment; tabs are not allowed
(#205) Tab found within whitespace
(#205) Whitespace found at end of line
(#206) Spaces must be used for alignment; tabs are not allowed
(#206) Tab found within whitespace
(#206) Line indented incorrectly; expected at least 4 spaces, found 2
(#206) Variable "quiz_sessions" must not contain underscores.
(#206) Commas (,) must be followed by white space.
(#206) Commas (,) must be followed by white space.
(#206) Commas (,) must be followed by white space.
(#207) Spaces must be used for alignment; tabs are not allowed
(#207) Tab found within whitespace
(#207) Line indented incorrectly; expected 4 spaces, found 2
(#207) Variable "quiz_sessions" must not contain underscores.
(#208) Spaces must be used for alignment; tabs are not allowed
(#208) Tab found within whitespace
(#208) Line indented incorrectly; expected at least 8 spaces, found 6
(#208) Commas (,) must be followed by white space.
(#208) Commas (,) must be followed by white space.
(#209) Spaces must be used for alignment; tabs are not allowed
(#209) Tab found within whitespace
(#209) Line indented incorrectly; expected 8 spaces, found 6
(#209) Variable "quiz_sessions" must not contain underscores.
(#210) Spaces must be used for alignment; tabs are not allowed
(#210) Tab found within whitespace
(#210) Line indented incorrectly; expected at least 12 spaces, found 10
(#210) Inline control structures are not allowed
(#211) Spaces must be used for alignment; tabs are not allowed
(#211) Tab found within whitespace
(#211) Line indented incorrectly; expected at least 12 spaces, found 10
(#211) Inline control structures are not allowed
(#212) Spaces must be used for alignment; tabs are not allowed
(#212) Tab found within whitespace
(#212) Line indented incorrectly; expected at least 12 spaces, found 10
(#212) Inline control structures are not allowed
(#213) Spaces must be used for alignment; tabs are not allowed
(#213) Tab found within whitespace
(#213) Line indented incorrectly; expected at least 12 spaces, found 10
(#213) Inline control structures are not allowed
(#214) Spaces must be used for alignment; tabs are not allowed
(#214) Tab found within whitespace
(#214) Line indented incorrectly; expected at least 12 spaces, found 10
(#214) Inline control structures are not allowed
(#215) Spaces must be used for alignment; tabs are not allowed
(#215) Tab found within whitespace
(#215) Line indented incorrectly; expected at least 12 spaces, found 10
(#215) Inline control structures are not allowed
(#216) Spaces must be used for alignment; tabs are not allowed
(#216) Tab found within whitespace
(#216) Line indented incorrectly; expected 8 spaces, found 6
(#217) Inline control structures are not allowed
(#217) Spaces must be used for alignment; tabs are not allowed
(#217) Tab found within whitespace
(#217) Whitespace found at end of line
(#218) Spaces must be used for alignment; tabs are not allowed
(#218) Tab found within whitespace
(#218) Line indented incorrectly; expected 4 spaces, found 2
(#219) Spaces must be used for alignment; tabs are not allowed
(#219) Tab found within whitespace
(#219) Whitespace found at end of line
(#220) Spaces must be used for alignment; tabs are not allowed
(#220) Tab found within whitespace
(#220) Line indented incorrectly; expected at least 4 spaces, found 2
(#221) Spaces must be used for alignment; tabs are not allowed
(#221) Tab found within whitespace
(#221) Line indented incorrectly; expected 0 spaces, found 1
(#222) Spaces must be used for alignment; tabs are not allowed
(#222) Tab found within whitespace
(#222) Whitespace found at end of line
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) 4 slashes comments are not allowed; use "// Comment." instead
(#223) No space found before comment text; expected "// Return an array of info (name,value)" but found "////Return an array of info (name,value)"
(#224) Line indented incorrectly; expected 0 spaces, found 3
(#224) Commas (,) must be followed by white space.
(#224) Variable "user_data" must not contain underscores.
(#224) Commas (,) must be followed by white space.
(#224) Variable "backup_unique_code" must not contain underscores.
(#224) Commas (,) must be followed by white space.
(#225) Whitespace found at end of line
(#226) Line indented incorrectly; expected 4 spaces, found 7
(#228) Line indented incorrectly; expected 8 spaces, found 11
(#229) Commas (,) must be followed by white space.
(#229) Variable "backup_unique_code" must not contain underscores.
(#230) Line indented incorrectly; expected 8 spaces, found 11
(#232) Line indented incorrectly; expected 4 spaces, found 7
(#233) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) No space found before comment text; expected "// First the course data" but found "//First the course data"
(#234) Commas (,) must be followed by white space.
(#235) Line indented incorrectly; expected 4 spaces, found 8
(#237) Line indented incorrectly; expected 4 spaces, found 8
(#239) Line indented incorrectly; expected 4 spaces, found 8
(#240) Whitespace found at end of line
(#241) Commas (,) must be followed by white space.
(#242) Line indented incorrectly; expected 4 spaces, found 8
(#244) Line indented incorrectly; expected 4 spaces, found 8
(#246) Line indented incorrectly; expected 4 spaces, found 8
(#248) Commas (,) must be followed by white space.
(#249) Line indented incorrectly; expected 4 spaces, found 8
(#251) Line indented incorrectly; expected 4 spaces, found 8
(#253) Line indented incorrectly; expected 4 spaces, found 8
(#255) Line indented incorrectly; expected 4 spaces, found 8
(#255) Variable "user_data" must not contain underscores.
(#256) Commas (,) must be followed by white space.
(#257) Line indented incorrectly; expected 8 spaces, found 12
(#259) Line indented incorrectly; expected 8 spaces, found 12
(#261) Line indented incorrectly; expected 8 spaces, found 12
(#263) Commas (,) must be followed by white space.
(#264) Line indented incorrectly; expected 8 spaces, found 12
(#266) Line indented incorrectly; expected 8 spaces, found 12
(#268) Line indented incorrectly; expected 8 spaces, found 12
(#269) Line indented incorrectly; expected 4 spaces, found 8
(#272) Line indented incorrectly; expected 0 spaces, found 4
(#272) Closing brace indented incorrectly; expected 3 spaces, found 4
(#274) Inline comments must start with a capital letter, digit or 3-dots sequence
(#310) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) No space found before comment text; expected "// Returns an array of realtimequiz id" but found "//Returns an array of realtimequiz id"
(#313) Line indented incorrectly; expected 0 spaces, found 4
(#320) Line indented incorrectly; expected 0 spaces, found 4
(#322) Line indented incorrectly; expected 0 spaces, found 4
(#326) Whitespace found at end of line within string
(#327) Whitespace found at end of line within string
(#328) Whitespace found at end of line within string
(#330) Whitespace found at end of line
(#331) Line indented incorrectly; expected 0 spaces, found 4
(#332) Whitespace found at end of line
(#333) Line indented incorrectly; expected 0 spaces, found 4
(#337) Whitespace found at end of line within string
(#338) Whitespace found at end of line within string
(#339) Whitespace found at end of line
(#340) Line indented incorrectly; expected 0 spaces, found 4
(#341) Whitespace found at end of line
(#342) Line indented incorrectly; expected 0 spaces, found 4
(#346) Whitespace found at end of line within string
(#348) Whitespace found at end of line within string
(#349) Whitespace found at end of line within string
(#352) Whitespace found at end of line
(#353) Line indented incorrectly; expected 0 spaces, found 4
(#354) Whitespace found at end of line
(#355) Line indented incorrectly; expected 0 spaces, found 4
(#359) Whitespace found at end of line within string
(#361) Whitespace found at end of line within string
(#363) Whitespace found at end of line
(#364) Line indented incorrectly; expected 0 spaces, found 4
(#365) Whitespace found at end of line
(#366) Line indented incorrectly; expected 0 spaces, found 4
(#370) Whitespace found at end of line within string
(#373) Whitespace found at end of line within string
(#374) Whitespace found at end of line within string
(#378) Whitespace found at end of line
(#379) Line indented incorrectly; expected 0 spaces, found 4
(#380) Whitespace found at end of line
(#381) Line indented incorrectly; expected 0 spaces, found 4
(#385) Whitespace found at end of line within string
(#388) Whitespace found at end of line within string
(#391) Whitespace found at end of line
(#392) Line indented incorrectly; expected 0 spaces, found 4
(#393) Whitespace found at end of line
(#394) Line indented incorrectly; expected 0 spaces, found 4
(#398) Whitespace found at end of line within string
(#399) Whitespace found at end of line within string
(#400) Whitespace found at end of line within string
(#402) Whitespace found at end of line
(#403) Line indented incorrectly; expected 0 spaces, found 4
(#404) Whitespace found at end of line
(#405) Line indented incorrectly; expected 0 spaces, found 4
(#409) Whitespace found at end of line within string
(#410) Whitespace found at end of line within string
(#411) Whitespace found at end of line
(#412) Line indented incorrectly; expected 0 spaces, found 4
(#413) A closing tag is not permitted at the end of a PHP file
mod/realtimequiz/classes/event/course_module_instance_list_viewed.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/realtimequiz/classes/event/course_module_viewed.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/realtimequiz/classes/event/edit_page_viewed.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/realtimequiz/classes/event/responses_viewed.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/realtimequiz/db/access.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#17) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#22) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#25) Expected 1 space before comment text but found 11; use block comment if you need indentation
(#26) Expected 1 space before comment text but found 11; use block comment if you need indentation
(#29) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
mod/realtimequiz/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
mod/realtimequiz/edit.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Commas (,) must be followed by white space.
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Line exceeds 132 characters; contains 176 characters
(#93) Line exceeds 132 characters; contains 180 characters
(#99) Line exceeds maximum limit of 180 characters; contains 183 characters
(#104) Expected 1 space before "=>"; 0 found
(#104) Expected 1 space after "=>"; 0 found
(#105) Commas (,) must be followed by white space.
(#114) Commas (,) must be followed by white space.
(#116) Expected 1 space after "="; 2 found
(#121) Commas (,) must be followed by white space.
(#121) Expected 1 space before "=>"; 0 found
(#121) Expected 1 space after "=>"; 0 found
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) Commas (,) must be followed by white space.
(#146) Commas (,) must be followed by white space.
(#154) Line exceeds 132 characters; contains 143 characters
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Usage of ELSEIF not allowed; use ELSE IF instead
(#175) Line exceeds 132 characters; contains 134 characters
(#186) This comment is 60% valid code; is this commented out code?
(#186) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) No space found before comment text; expected "// } else {" but found "//} else {"
(#190) This comment is 60% valid code; is this commented out code?
(#190) Inline comments must start with a capital letter, digit or 3-dots sequence
(#190) No space found before comment text; expected "// } else {" but found "//} else {"
(#196) Usage of ELSEIF not allowed; use ELSE IF instead
(#211) This comment is 60% valid code; is this commented out code?
(#211) Inline comments must start with a capital letter, digit or 3-dots sequence
(#211) No space found before comment text; expected "// } else {" but found "//} else {"
(#214) This comment is 60% valid code; is this commented out code?
(#214) Inline comments must start with a capital letter, digit or 3-dots sequence
(#214) No space found before comment text; expected "// } else {" but found "//} else {"
(#223) Line indented incorrectly; expected 4 spaces, found 0
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) No space found before comment text; expected "// Show all the currently available questions" but found "//Show all the currently available questions"
(#224) Line indented incorrectly; expected at least 8 spaces, found 4
(#227) Line indented incorrectly; expected 4 spaces, found 0
(#228) Line indented incorrectly; expected at least 8 spaces, found 4
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#235) 3 slashes comments are not allowed; use "// Comment." instead
mod/realtimequiz/editquestion.php
(#92) Line exceeds 132 characters; contains 141 characters
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
mod/realtimequiz/editquestion_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#5) "require_once" must be immediately followed by an open parenthesis
(#9) Visibility must be declared on method "definition"
(#23) Commas (,) must be followed by white space.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Commas (,) must be followed by white space.
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Visibility must be declared on method "definition_after_data"
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
mod/realtimequiz/index.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#12) Inline comments must start with a capital letter, digit or 3-dots sequence
(#12) Inline comments must end in full-stops, exclamation marks, or question marks
(#18) Commas (,) must be followed by white space.
(#18) Expected 1 space before "=>"; 0 found
(#18) Expected 1 space after "=>"; 0 found
(#22) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) 3 slashes comments are not allowed; use "// Comment." instead
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) This comment is 78% valid code; is this commented out code?
(#40) No space found before comment text; expected "// $PAGE->set_heading($course->fullname);" but found "//$PAGE->set_heading($course->fullname);"
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) 3 slashes comments are not allowed; use "// Comment." instead
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) 3 slashes comments are not allowed; use "// Comment." instead
(#71) Commas (,) must be followed by white space.
(#71) Expected 1 space before "=>"; 0 found
(#71) Expected 1 space after "=>"; 0 found
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) No space found before comment text; expected "// Show dimmed if the mod is hidden" but found "//Show dimmed if the mod is hidden"
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) No space found before comment text; expected "// Show normal if the mod is visible" but found "//Show normal if the mod is visible"
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) 3 slashes comments are not allowed; use "// Comment." instead
mod/realtimequiz/lang/de/realtimequiz.php
(#2) Inline comments must end in full-stops, exclamation marks, or question marks
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) No space found before comment text; expected "// Translation: Joachim Vogelgesang" but found "//Translation: Joachim Vogelgesang"
(#3) Line 2 of the opening comment must start "//".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#10) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#22) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) A closing tag is not permitted at the end of a PHP file
mod/realtimequiz/lang/en/realtimequiz.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#20) Inline comments must end in full-stops, exclamation marks, or question marks
mod/realtimequiz/lib.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#19) Expected MOODLE_INTERNAL check or config.php inclusion
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Line exceeds 132 characters; contains 134 characters
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#126) Whitespace found at end of line
(#156) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#182) Commas (,) must be followed by white space.
(#185) This comment is 77% valid code; is this commented out code?
(#185) Inline comments must start with a capital letter, digit or 3-dots sequence
(#185) No space found before comment text; expected "// $rec = get_record("realtimequiz","id","$realtimequizid","scale","-$scaleid");" but found "//$rec = get_record("realtimequiz","id","$realtimequizid","scale","-$scaleid");"
(#187) This comment is 79% valid code; is this commented out code?
(#187) No space found before comment text; expected "// if (!empty($rec) && !empty($scaleid)) {" but found "//if (!empty($rec) && !empty($scaleid)) {"
(#188) This comment is 43% valid code; is this commented out code?
(#188) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#189) Inline comments must end in full-stops, exclamation marks, or question marks
(#189) This comment is 100% valid code; is this commented out code?
(#189) No space found before comment text; expected "// }" but found "//}"
(#198) 86 slashes comments are not allowed; use "// Comment." instead
(#199) 3 slashes comments are not allowed; use "// Comment." instead
(#199) Whitespace found at end of line
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) 3 slashes comments are not allowed; use "// Comment." instead
(#209) Line exceeds 132 characters; contains 143 characters
(#212) Line exceeds 132 characters; contains 143 characters
(#215) Line exceeds 132 characters; contains 158 characters
(#219) Inline comments must end in full-stops, exclamation marks, or question marks
(#270) Inline comments must start with a capital letter, digit or 3-dots sequence
(#270) Inline comments must end in full-stops, exclamation marks, or question marks
(#282) Line indented incorrectly; expected 8 spaces, found 4
(#282) Closing brace must be on a line by itself
(#283) Line indented incorrectly; expected 8 spaces, found 4
(#283) Closing brace must be on a line by itself
(#284) Line indented incorrectly; expected 8 spaces, found 4
(#284) Closing brace must be on a line by itself
(#285) Line indented incorrectly; expected 8 spaces, found 4
(#285) Closing brace must be on a line by itself
(#286) Line indented incorrectly; expected 8 spaces, found 4
(#286) Closing brace must be on a line by itself
(#287) Line indented incorrectly; expected 8 spaces, found 4
(#287) Closing brace must be on a line by itself
(#288) Line indented incorrectly; expected 8 spaces, found 4
(#288) Closing brace must be on a line by itself
(#289) Line indented incorrectly; expected 8 spaces, found 4
(#289) Closing brace must be on a line by itself
(#290) Line indented incorrectly; expected 8 spaces, found 4
(#290) Closing brace must be on a line by itself
(#291) Line indented incorrectly; expected 8 spaces, found 4
(#291) Closing brace must be on a line by itself
(#292) Line indented incorrectly; expected 8 spaces, found 4
(#292) Closing brace must be on a line by itself
(#293) Line indented incorrectly; expected 8 spaces, found 4
(#293) Closing brace must be on a line by itself
(#295) Line indented incorrectly; expected 8 spaces, found 4
(#295) Closing brace must be on a line by itself
mod/realtimequiz/locallib.php
(#51) Commas (,) must be followed by white space.
(#55) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#98) Commas (,) must be followed by white space.
(#102) Commas (,) must be followed by white space.
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Variable "total_answers" must not contain underscores.
(#108) Variable "total_correct" must not contain underscores.
(#109) Commas (,) must be followed by white space.
(#113) Variable "number_of_correct_answers" must not contain underscores.
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Line exceeds 132 characters; contains 175 characters
(#116) Variable "total_answers" must not contain underscores.
(#120) Variable "total_correct" must not contain underscores.
(#121) Variable "number_of_correct_answers" must not contain underscores.
(#125) Variable "number_of_correct_answers" must not contain underscores.
(#127) Variable "total_answers" must not contain underscores.
(#128) Variable "total_correct" must not contain underscores.
(#128) Expected 1 space before "/"; 0 found
(#128) Expected 1 space after "/"; 0 found
(#128) Variable "total_answers" must not contain underscores.
(#141) Variable "number_of_correct_answers" must not contain underscores.
(#161) Empty IF statement detected
(#161) Commas (,) must be followed by white space.
(#161) Line exceeds 132 characters; contains 161 characters
(#163) This comment is 80% valid code; is this commented out code?
(#163) No space found before comment text; expected "// realtimequiz_send_error(get_string('alreadyanswered','realtimequiz'));" but found "//realtimequiz_send_error(get_string('alreadyanswered','realtimequiz'));"
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) No space found before comment text; expected "// FIXME: make sure the userid is on the course" but found "//FIXME: make sure the userid is on the course"
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) Commas (,) must be followed by white space.
(#224) Commas (,) must be followed by white space.
(#249) Line exceeds maximum limit of 180 characters; contains 207 characters
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) Commas (,) must be followed by white space.
(#262) Inline comments must end in full-stops, exclamation marks, or question marks
(#282) Inline comments must end in full-stops, exclamation marks, or question marks
(#292) Inline comments must end in full-stops, exclamation marks, or question marks
(#298) Commas (,) must be followed by white space.
mod/realtimequiz/mod_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) Visibility must be declared on method "definition"
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) 3 slashes comments are not allowed; use "// Comment." instead
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) 3 slashes comments are not allowed; use "// Comment." instead
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
mod/realtimequiz/quizdata.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#51) Commas (,) must be followed by white space.
(#58) Commas (,) must be followed by white space.
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Line exceeds 132 characters; contains 133 characters
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Commas (,) must be followed by white space.
(#93) Line indented incorrectly; expected 12 spaces, found 8
(#94) Line indented incorrectly; expected at least 16 spaces, found 12
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Line indented incorrectly; expected 12 spaces, found 8
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Line indented incorrectly; expected 16 spaces, found 12
(#99) Line indented incorrectly; expected at least 20 spaces, found 16
(#100) Line indented incorrectly; expected 16 spaces, found 12
(#101) Line indented incorrectly; expected at least 20 spaces, found 16
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#102) Line indented incorrectly; expected 16 spaces, found 12
(#105) Line indented incorrectly; expected 12 spaces, found 8
(#106) Line indented incorrectly; expected at least 16 spaces, found 12
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Line indented incorrectly; expected 12 spaces, found 8
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Line indented incorrectly; expected 16 spaces, found 12
(#111) Line indented incorrectly; expected at least 20 spaces, found 16
(#112) Line indented incorrectly; expected at least 20 spaces, found 16
(#114) Line indented incorrectly; expected 16 spaces, found 12
(#115) Line indented incorrectly; expected at least 20 spaces, found 16
(#116) Line indented incorrectly; expected at least 20 spaces, found 16
(#117) Line indented incorrectly; expected at least 20 spaces, found 16
(#118) Line indented incorrectly; expected at least 20 spaces, found 16
(#120) Line indented incorrectly; expected 16 spaces, found 12
(#121) Line indented incorrectly; expected at least 20 spaces, found 16
(#122) Line indented incorrectly; expected 20 spaces, found 16
(#123) Line indented incorrectly; expected at least 24 spaces, found 20
(#123) Commas (,) must be followed by white space.
(#123) Commas (,) must be followed by white space.
(#124) Line indented incorrectly; expected 24 spaces, found 20
(#125) Line indented incorrectly; expected at least 28 spaces, found 24
(#126) Line indented incorrectly; expected 24 spaces, found 20
(#127) Line indented incorrectly; expected at least 24 spaces, found 20
(#127) Inline comments must start with a capital letter, digit or 3-dots sequence
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Line indented incorrectly; expected 20 spaces, found 16
(#129) Line indented incorrectly; expected at least 24 spaces, found 20
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Line indented incorrectly; expected 20 spaces, found 16
(#132) Line indented incorrectly; expected 16 spaces, found 12
(#133) Line indented incorrectly; expected at least 20 spaces, found 16
(#133) Commas (,) must be followed by white space.
(#134) Line indented incorrectly; expected 16 spaces, found 12
(#137) Line indented incorrectly; expected 12 spaces, found 8
(#138) Line indented incorrectly; expected 16 spaces, found 12
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Line indented incorrectly; expected at least 20 spaces, found 16
(#141) Line indented incorrectly; expected 16 spaces, found 12
(#142) Line indented incorrectly; expected at least 20 spaces, found 16
(#144) Line indented incorrectly; expected 16 spaces, found 12
(#145) Line indented incorrectly; expected at least 20 spaces, found 16
(#146) Line indented incorrectly; expected at least 20 spaces, found 16
(#147) Line indented incorrectly; expected at least 20 spaces, found 16
(#148) Line indented incorrectly; expected 20 spaces, found 16
(#149) Line indented incorrectly; expected at least 24 spaces, found 20
(#150) Line indented incorrectly; expected 20 spaces, found 16
(#151) Line indented incorrectly; expected at least 24 spaces, found 20
(#152) Line indented incorrectly; expected at least 24 spaces, found 20
(#153) Line indented incorrectly; expected 20 spaces, found 16
(#155) Line indented incorrectly; expected 16 spaces, found 12
(#156) Line indented incorrectly; expected at least 20 spaces, found 16
(#156) Commas (,) must be followed by white space.
(#157) Line indented incorrectly; expected 16 spaces, found 12
(#160) Line indented incorrectly; expected 12 spaces, found 8
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Line indented incorrectly; expected at least 16 spaces, found 12
(#164) Line indented incorrectly; expected 12 spaces, found 8
(#165) Line indented incorrectly; expected at least 16 spaces, found 12
(#165) Commas (,) must be followed by white space.
mod/realtimequiz/responses.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Usage of ELSEIF not allowed; use ELSE IF instead
(#62) Line exceeds 132 characters; contains 150 characters
(#69) Usage of ELSEIF not allowed; use ELSE IF instead
(#71) Line exceeds 132 characters; contains 150 characters
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) 3 slashes comments are not allowed; use "// Comment." instead
(#110) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#130) Commas (,) must be followed by white space.
(#138) Commas (,) must be followed by white space.
(#140) Commas (,) must be followed by white space.
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Commas (,) must be followed by white space.
(#158) Commas (,) must be followed by white space.
(#159) Commas (,) must be followed by white space.
(#161) Commas (,) must be followed by white space.
(#162) Commas (,) must be followed by white space.
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) Expected 1 space before "=>"; 0 found
(#178) Expected 1 space after "=>"; 0 found
(#178) Expected 1 space before "=>"; 0 found
(#178) Expected 1 space after "=>"; 0 found
(#200) Expected 1 space before "*"; 0 found
(#200) Expected 1 space after "*"; 0 found
(#207) Expected 1 space before "*"; 0 found
(#207) Expected 1 space after "*"; 0 found
(#256) Expected 1 space before "=>"; 0 found
(#256) Expected 1 space after "=>"; 0 found
(#256) Line exceeds maximum limit of 180 characters; contains 183 characters
(#259) Variable "gotAnswerRight" must be all lower-case
(#264) Line exceeds 132 characters; contains 142 characters
(#275) Variable "gotAnswerRight" must be all lower-case
(#291) Variable "gotAnswerRight" must be all lower-case
(#291) Expected 1 space before "/"; 0 found
(#291) Expected 1 space after "/"; 0 found
(#291) Expected 1 space before "/"; 0 found
(#291) Expected 1 space after "/"; 0 found
(#291) Commas (,) must be followed by white space.
(#308) Commas (,) must be followed by white space.
(#312) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) No space found before comment text; expected "// List each student name for each question" but found "//List each student name for each question"
(#330) Inline comments must end in full-stops, exclamation marks, or question marks
(#330) No space found before comment text; expected "// This section shows the running score of each student" but found "//This section shows the running score of each student"
(#341) Inline comments must start with a capital letter, digit or 3-dots sequence
(#341) Inline comments must end in full-stops, exclamation marks, or question marks
(#341) No space found before comment text; expected "// draw blank line between questions results" but found "//draw blank line between questions results"
(#345) Inline comments must end in full-stops, exclamation marks, or question marks
(#345) No space found before comment text; expected "// End of view responses table" but found "//End of view responses table"
(#352) Expected 1 space after "/"; 0 found
(#355) Expected 1 space after "/"; 0 found
(#366) Expected "if (...) {\n"; found "if(...) {\n"
(#387) Inline comments must end in full-stops, exclamation marks, or question marks
(#392) Commas (,) must be followed by white space.
(#393) Line exceeds 132 characters; contains 153 characters
(#396) Line exceeds 132 characters; contains 133 characters
(#397) Commas (,) must be followed by white space.
(#413) Line exceeds 132 characters; contains 139 characters
(#418) Commas (,) must be followed by white space.
(#462) Commas (,) must be followed by white space.
(#463) Commas (,) must be followed by white space.
(#464) Commas (,) must be followed by white space.
mod/realtimequiz/restorelib.php
(#1) Whitespace found at end of line
(#1) The opening <?php tag must be followed by exactly one newline.
(#2) No space found before comment text; expected "// Based on php script for restoring forum mods" but found "//Based on php script for restoring forum mods"
(#3) No space found before comment text; expected "// This php script contains all the stuff to backup/restore" but found "//This php script contains all the stuff to backup/restore"
(#4) Inline comments must end in full-stops, exclamation marks, or question marks
(#4) No space found before comment text; expected "// realtimequiz mods" but found "//realtimequiz mods"
(#6) No space found before comment text; expected "// This is the "graphical" structure of the realtimequiz mod:" but found "//This is the "graphical" structure of the realtimequiz mod:"
(#8) Expected 1 space before comment text but found 28; use block comment if you need indentation
(#8) Whitespace found at end of line
(#9) This comment is 50% valid code; is this commented out code?
(#9) Expected 1 space before comment text but found 28; use block comment if you need indentation
(#10) This comment is 50% valid code; is this commented out code?
(#10) Expected 1 space before comment text but found 33; use block comment if you need indentation
(#11) Whitespace found at end of line
(#12) This comment is 50% valid code; is this commented out code?
(#12) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#13) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#14) This comment is 47% valid code; is this commented out code?
(#14) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#15) This comment is 50% valid code; is this commented out code?
(#15) Expected 1 space before comment text but found 59; use block comment if you need indentation
(#16) This comment is 50% valid code; is this commented out code?
(#16) Expected 1 space before comment text but found 59; use block comment if you need indentation
(#17) This comment is 50% valid code; is this commented out code?
(#17) Expected 1 space before comment text but found 59; use block comment if you need indentation
(#18) Expected 1 space before comment text but found 51; use block comment if you need indentation
(#19) This comment is 50% valid code; is this commented out code?
(#19) Expected 1 space before comment text but found 48; use block comment if you need indentation
(#19) Whitespace found at end of line
(#20) This comment is 50% valid code; is this commented out code?
(#20) Expected 1 space before comment text but found 59; use block comment if you need indentation
(#21) This comment is 50% valid code; is this commented out code?
(#21) Expected 1 space before comment text but found 59; use block comment if you need indentation
(#22) This comment is 50% valid code; is this commented out code?
(#22) Expected 1 space before comment text but found 59; use block comment if you need indentation
(#23) Expected 1 space before comment text but found 48; use block comment if you need indentation
(#24) This comment is 47% valid code; is this commented out code?
(#24) Expected 1 space before comment text but found 28; use block comment if you need indentation
(#27) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#28) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#29) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) No space found before comment text; expected "// -----------------------------------------------------------" but found "//-----------------------------------------------------------"
(#33) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#33) Line indented incorrectly; expected 0 spaces, found 4
(#33) Commas (,) must be followed by white space.
(#34) Whitespace found at end of line
(#35) Commas (,) must be followed by white space.
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#36) Whitespace found at end of line
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// Get record from backup_ids" but found "//Get record from backup_ids"
(#40) Commas (,) must be followed by white space.
(#40) Commas (,) must be followed by white space.
(#42) Line indented incorrectly; expected 4 spaces, found 8
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) No space found before comment text; expected "// Now get completed xmlized object" but found "//Now get completed xmlized object"
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) No space found before comment text; expected "// if necessary, write to restorelog and adjust date/time fields" but found "//if necessary, write to restorelog and adjust date/time fields"
(#46) Line indented incorrectly; expected 8 spaces, found 12
(#48) Line indented incorrectly; expected 8 spaces, found 12
(#49) This comment is 67% valid code; is this commented out code?
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) No space found before comment text; expected "// traverse_xmlize($info); //Debug" but found "//traverse_xmlize($info); //Debug"
(#50) This comment is 70% valid code; is this commented out code?
(#50) No space found before comment text; expected "// print_object ($GLOBALS['traverse_array']); //Debug" but found "//print_object ($GLOBALS['traverse_array']); //Debug"
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) This comment is 75% valid code; is this commented out code?
(#51) No space found before comment text; expected "// $GLOBALS['traverse_array']=""; //Debug" but found "//$GLOBALS['traverse_array']=""; //Debug"
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) No space found before comment text; expected "// Now, build the REALTIMEQUIZ record structure" but found "//Now, build the REALTIMEQUIZ record structure"
(#58) Whitespace found at end of line
(#60) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) No space found before comment text; expected "// Do some output" but found "//Do some output"
(#63) Line indented incorrectly; expected 8 spaces, found 12
(#64) Commas (,) must be followed by white space.
(#64) Commas (,) must be followed by white space.
(#65) Line indented incorrectly; expected 8 spaces, found 12
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Whitespace found at end of line
(#68) Line indented incorrectly; expected 8 spaces, found 12
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) No space found before comment text; expected "// We have the newid, update backup_ids" but found "//We have the newid, update backup_ids"
(#70) Commas (,) must be followed by white space.
(#74) Whitespace found at end of line
(#75) Variable "restore_user" must not contain underscores.
(#77) No space found before comment text; expected "// Now check if want to restore user data and do it." but found "//Now check if want to restore user data and do it."
(#78) Line indented incorrectly; expected 12 spaces, found 16
(#78) Commas (,) must be followed by white space.
(#78) Commas (,) must be followed by white space.
(#79) Commas (,) must be followed by white space.
(#79) Commas (,) must be followed by white space.
(#80) Variable "restore_user" must not contain underscores.
(#81) Line indented incorrectly; expected 12 spaces, found 16
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Inline control structures are not allowed
(#84) Commas (,) must be followed by white space.
(#84) Commas (,) must be followed by white space.
(#84) Commas (,) must be followed by white space.
(#84) Variable "restore_user" must not contain underscores.
(#85) Whitespace found at end of line
(#86) Line indented incorrectly; expected 8 spaces, found 12
(#88) Line indented incorrectly; expected 8 spaces, found 12
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Whitespace found at end of line
(#89) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#90) Whitespace found at end of line
(#91) Line indented incorrectly; expected 4 spaces, found 8
(#93) Line indented incorrectly; expected 4 spaces, found 8
(#96) Line indented incorrectly; expected 0 spaces, found 4
(#97) Whitespace found at end of line
(#98) Line indented incorrectly; expected 0 spaces, found 4
(#98) Variable "quiz_id" must not contain underscores.
(#98) Commas (,) must be followed by white space.
(#98) Commas (,) must be followed by white space.
(#98) Commas (,) must be followed by white space.
(#98) Variable "restore_user" must not contain underscores.
(#99) Whitespace found at end of line
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) No space found before comment text; expected "// Get the discussions array" but found "//Get the discussions array"
(#106) Whitespace found at end of line
(#107) Line indented incorrectly; expected 4 spaces, found 8
(#109) Line indented incorrectly; expected 4 spaces, found 8
(#110) Whitespace found at end of line
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) No space found before comment text; expected "// Iterate over discussions" but found "//Iterate over discussions"
(#112) Line indented incorrectly; expected 4 spaces, found 8
(#112) Expected "for (...) {\n"; found "for(...) {\n"
(#112) The use of function sizeof() is forbidden; use count() instead
(#113) Variable "q_info" must not contain underscores.
(#114) This comment is 67% valid code; is this commented out code?
(#114) Inline comments must start with a capital letter, digit or 3-dots sequence
(#114) No space found before comment text; expected "// traverse_xmlize($dis_info); //Debug" but found "//traverse_xmlize($dis_info); //Debug"
(#115) This comment is 70% valid code; is this commented out code?
(#115) No space found before comment text; expected "// print_object ($GLOBALS['traverse_array']); //Debug" but found "//print_object ($GLOBALS['traverse_array']); //Debug"
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) This comment is 75% valid code; is this commented out code?
(#116) No space found before comment text; expected "// $GLOBALS['traverse_array']=""; //Debug" but found "//$GLOBALS['traverse_array']=""; //Debug"
(#118) No space found before comment text; expected "// We'll need this later!!" but found "//We'll need this later!!"
(#119) Variable "q_info" must not contain underscores.
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) No space found before comment text; expected "// Now, build the REALTIMEQUIZ_QUESTION record structure" but found "//Now, build the REALTIMEQUIZ_QUESTION record structure"
(#122) Variable "quiz_id" must not contain underscores.
(#123) Variable "q_info" must not contain underscores.
(#124) Variable "q_info" must not contain underscores.
(#125) Variable "q_info" must not contain underscores.
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) No space found before comment text; expected "// The structure is equal to the db, so insert the forum_discussions" but found "//The structure is equal to the db, so insert the forum_discussions"
(#128) Commas (,) must be followed by white space.
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) No space found before comment text; expected "// Do some output" but found "//Do some output"
(#131) Line indented incorrectly; expected 8 spaces, found 12
(#131) Expected 1 space before "+"; 0 found
(#131) Expected 1 space after "+"; 0 found
(#132) Line indented incorrectly; expected 12 spaces, found 16
(#134) Line indented incorrectly; expected 16 spaces, found 20
(#134) Expected 1 space before "+"; 0 found
(#134) Expected 1 space after "+"; 0 found
(#136) Line indented incorrectly; expected 16 spaces, found 20
(#137) Line indented incorrectly; expected 12 spaces, found 16
(#139) Line indented incorrectly; expected 8 spaces, found 12
(#141) Line indented incorrectly; expected 8 spaces, found 12
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) No space found before comment text; expected "// We have the newid, update backup_ids" but found "//We have the newid, update backup_ids"
(#143) Commas (,) must be followed by white space.
(#143) Commas (,) must be followed by white space.
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) No space found before comment text; expected "// Restore answers" but found "//Restore answers"
(#146) Commas (,) must be followed by white space.
(#146) Variable "q_info" must not contain underscores.
(#146) Commas (,) must be followed by white space.
(#146) Commas (,) must be followed by white space.
(#146) Variable "restore_user" must not contain underscores.
(#147) Whitespace found at end of line
(#148) Line indented incorrectly; expected 8 spaces, found 12
(#150) Line indented incorrectly; expected 8 spaces, found 12
(#151) Line indented incorrectly; expected 4 spaces, found 8
(#154) Whitespace found at end of line
(#154) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#155) Whitespace found at end of line
(#156) Line indented incorrectly; expected 0 spaces, found 4
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) No space found before comment text; expected "// This function restores the realtimequiz_answers" but found "//This function restores the realtimequiz_answers"
(#159) Line indented incorrectly; expected 0 spaces, found 4
(#159) Variable "question_id" must not contain underscores.
(#159) Commas (,) must be followed by white space.
(#159) Commas (,) must be followed by white space.
(#159) Commas (,) must be followed by white space.
(#159) Variable "restore_user" must not contain underscores.
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#165) No space found before comment text; expected "// Get the answers array" but found "//Get the answers array"
(#166) Spaces must be used to indent lines; tabs are not allowed
(#166) Tab found within whitespace
(#167) Line indented incorrectly; expected 4 spaces, found 8
(#168) Spaces must be used to indent lines; tabs are not allowed
(#168) Tab found within whitespace
(#169) Line indented incorrectly; expected 4 spaces, found 8
(#171) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) No space found before comment text; expected "// Iterate over answers" but found "//Iterate over answers"
(#172) Line indented incorrectly; expected 4 spaces, found 8
(#172) Expected "for (...) {\n"; found "for(...) {\n"
(#172) The use of function sizeof() is forbidden; use count() instead
(#173) Variable "a_info" must not contain underscores.
(#174) This comment is 67% valid code; is this commented out code?
(#174) Inline comments must start with a capital letter, digit or 3-dots sequence
(#174) No space found before comment text; expected "// traverse_xmlize($pos_info); //Debug" but found "//traverse_xmlize($pos_info); //Debug"
(#175) This comment is 70% valid code; is this commented out code?
(#175) No space found before comment text; expected "// print_object ($GLOBALS['traverse_array']); //Debug" but found "//print_object ($GLOBALS['traverse_array']); //Debug"
(#176) Inline comments must end in full-stops, exclamation marks, or question marks
(#176) This comment is 75% valid code; is this commented out code?
(#176) No space found before comment text; expected "// $GLOBALS['traverse_array']=""; //Debug" but found "//$GLOBALS['traverse_array']=""; //Debug"
(#178) No space found before comment text; expected "// We'll need this later!!" but found "//We'll need this later!!"
(#179) Variable "a_info" must not contain underscores.
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) No space found before comment text; expected "// Now, build the REALTIMEQUIZ_ANSWER record structure" but found "//Now, build the REALTIMEQUIZ_ANSWER record structure"
(#182) Variable "question_id" must not contain underscores.
(#183) Variable "a_info" must not contain underscores.
(#184) Variable "a_info" must not contain underscores.
(#184) Whitespace found at end of line
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) No space found before comment text; expected "// The structure is equal to the db, so insert the realtimequiz_answer" but found "//The structure is equal to the db, so insert the realtimequiz_answer"
(#187) Commas (,) must be followed by white space.
(#189) Inline comments must end in full-stops, exclamation marks, or question marks
(#189) No space found before comment text; expected "// Do some output" but found "//Do some output"
(#190) Line indented incorrectly; expected 8 spaces, found 12
(#190) Expected 1 space before "+"; 0 found
(#190) Expected 1 space after "+"; 0 found
(#191) Line indented incorrectly; expected 12 spaces, found 16
(#193) Line indented incorrectly; expected 16 spaces, found 20
(#193) Expected 1 space before "+"; 0 found
(#193) Expected 1 space after "+"; 0 found
(#195) Line indented incorrectly; expected 16 spaces, found 20
(#196) Line indented incorrectly; expected 12 spaces, found 16
(#198) Line indented incorrectly; expected 8 spaces, found 12
(#200) Line indented incorrectly; expected 8 spaces, found 12
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) No space found before comment text; expected "// We have the newid, update backup_ids" but found "//We have the newid, update backup_ids"
(#202) Commas (,) must be followed by white space.
(#202) Commas (,) must be followed by white space.
(#202) Commas (,) must be followed by white space.
(#203) Whitespace found at end of line
(#204) Line indented incorrectly; expected 12 spaces, found 16
(#204) Variable "restore_user" must not contain underscores.
(#205) Variable "question_id" must not contain underscores.
(#205) Variable "a_info" must not contain underscores.
(#206) Line indented incorrectly; expected 12 spaces, found 16
(#208) Line indented incorrectly; expected 8 spaces, found 12
(#210) Line indented incorrectly; expected 8 spaces, found 12
(#211) Line indented incorrectly; expected 4 spaces, found 8
(#214) Line indented incorrectly; expected 0 spaces, found 4
(#215) Whitespace found at end of line
(#216) Line indented incorrectly; expected 0 spaces, found 4
(#220) Spaces must be used to indent lines; tabs are not allowed
(#220) Tab found within whitespace
(#220) Whitespace found at end of line
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) No space found before comment text; expected "// Get the discussions array" but found "//Get the discussions array"
(#223) Line indented incorrectly; expected 4 spaces, found 8
(#224) Spaces must be used to indent lines; tabs are not allowed
(#224) Tab found within whitespace
(#225) Line indented incorrectly; expected 4 spaces, found 8
(#226) Spaces must be used to indent lines; tabs are not allowed
(#226) Tab found within whitespace
(#226) Whitespace found at end of line
(#227) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) No space found before comment text; expected "// Iterate over answers" but found "//Iterate over answers"
(#228) Line indented incorrectly; expected 4 spaces, found 8
(#228) Expected "for (...) {\n"; found "for(...) {\n"
(#228) The use of function sizeof() is forbidden; use count() instead
(#229) Variable "s_info" must not contain underscores.
(#230) This comment is 67% valid code; is this commented out code?
(#230) Inline comments must start with a capital letter, digit or 3-dots sequence
(#230) No space found before comment text; expected "// traverse_xmlize($pos_info); //Debug" but found "//traverse_xmlize($pos_info); //Debug"
(#231) This comment is 70% valid code; is this commented out code?
(#231) No space found before comment text; expected "// print_object ($GLOBALS['traverse_array']); //Debug" but found "//print_object ($GLOBALS['traverse_array']); //Debug"
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
(#232) This comment is 75% valid code; is this commented out code?
(#232) No space found before comment text; expected "// $GLOBALS['traverse_array']=""; //Debug" but found "//$GLOBALS['traverse_array']=""; //Debug"
(#234) No space found before comment text; expected "// We'll need this later!!" but found "//We'll need this later!!"
(#235) Variable "s_info" must not contain underscores.
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) No space found before comment text; expected "// Now, build the REALTIMEQUIZ_ANSWER record structure" but found "//Now, build the REALTIMEQUIZ_ANSWER record structure"
(#240) Variable "s_info" must not contain underscores.
(#241) Variable "s_info" must not contain underscores.
(#243) Inline comments must end in full-stops, exclamation marks, or question marks
(#243) No space found before comment text; expected "// We have to recode the userid field" but found "//We have to recode the userid field"
(#244) Commas (,) must be followed by white space.
(#244) Commas (,) must be followed by white space.
(#245) Line indented incorrectly; expected 8 spaces, found 12
(#247) Line indented incorrectly; expected 8 spaces, found 12
(#249) Inline comments must end in full-stops, exclamation marks, or question marks
(#249) No space found before comment text; expected "// We have to recode the sessionid field" but found "//We have to recode the sessionid field"
(#250) Commas (,) must be followed by white space.
(#250) Commas (,) must be followed by white space.
(#251) Line indented incorrectly; expected 8 spaces, found 12
(#253) Line indented incorrectly; expected 8 spaces, found 12
(#254) Spaces must be used to indent lines; tabs are not allowed
(#254) Tab found within whitespace
(#254) Whitespace found at end of line
(#255) Inline comments must end in full-stops, exclamation marks, or question marks
(#255) No space found before comment text; expected "// The structure is equal to the db, so insert the realtimequiz_submission" but found "//The structure is equal to the db, so insert the realtimequiz_submission"
(#256) Commas (,) must be followed by white space.
(#258) Inline comments must end in full-stops, exclamation marks, or question marks
(#258) No space found before comment text; expected "// Do some output" but found "//Do some output"
(#259) Line indented incorrectly; expected 8 spaces, found 12
(#259) Expected 1 space before "+"; 0 found
(#259) Expected 1 space after "+"; 0 found
(#260) Line indented incorrectly; expected 12 spaces, found 16
(#262) Line indented incorrectly; expected 16 spaces, found 20
(#262) Expected 1 space before "+"; 0 found
(#262) Expected 1 space after "+"; 0 found
(#264) Line indented incorrectly; expected 16 spaces, found 20
(#265) Line indented incorrectly; expected 12 spaces, found 16
(#267) Line indented incorrectly; expected 8 spaces, found 12
(#269) Line indented incorrectly; expected 8 spaces, found 12
(#270) Inline comments must end in full-stops, exclamation marks, or question marks
(#270) No space found before comment text; expected "// We have the newid, update backup_ids" but found "//We have the newid, update backup_ids"
(#271) Commas (,) must be followed by white space.
(#271) Commas (,) must be followed by white space.
(#273) Line indented incorrectly; expected 8 spaces, found 12
(#275) Line indented incorrectly; expected 8 spaces, found 12
(#277) Line indented incorrectly; expected 4 spaces, found 8
(#280) Line indented incorrectly; expected 0 spaces, found 4
(#282) Line indented incorrectly; expected 0 spaces, found 4
(#282) Commas (,) must be followed by white space.
(#282) Commas (,) must be followed by white space.
(#283) Whitespace found at end of line
(#287) Spaces must be used to indent lines; tabs are not allowed
(#287) Tab found within whitespace
(#287) Whitespace found at end of line
(#288) Inline comments must end in full-stops, exclamation marks, or question marks
(#288) No space found before comment text; expected "// Get the discussions array" but found "//Get the discussions array"
(#290) Line indented incorrectly; expected 4 spaces, found 8
(#292) Line indented incorrectly; expected 4 spaces, found 8
(#293) Whitespace found at end of line
(#294) Inline comments must end in full-stops, exclamation marks, or question marks
(#294) No space found before comment text; expected "// Iterate over discussions" but found "//Iterate over discussions"
(#295) Line indented incorrectly; expected 4 spaces, found 8
(#295) Expected "for (...) {\n"; found "for(...) {\n"
(#295) The use of function sizeof() is forbidden; use count() instead
(#296) Variable "s_info" must not contain underscores.
(#297) This comment is 67% valid code; is this commented out code?
(#297) Inline comments must start with a capital letter, digit or 3-dots sequence
(#297) No space found before comment text; expected "// traverse_xmlize($dis_info); //Debug" but found "//traverse_xmlize($dis_info); //Debug"
(#298) This comment is 70% valid code; is this commented out code?
(#298) No space found before comment text; expected "// print_object ($GLOBALS['traverse_array']); //Debug" but found "//print_object ($GLOBALS['traverse_array']); //Debug"
(#299) Inline comments must end in full-stops, exclamation marks, or question marks
(#299) This comment is 75% valid code; is this commented out code?
(#299) No space found before comment text; expected "// $GLOBALS['traverse_array']=""; //Debug" but found "//$GLOBALS['traverse_array']=""; //Debug"
(#301) No space found before comment text; expected "// We'll need this later!!" but found "//We'll need this later!!"
(#302) Variable "s_info" must not contain underscores.
(#304) Inline comments must end in full-stops, exclamation marks, or question marks
(#304) No space found before comment text; expected "// Now, build the REALTIMEQUIZ_SESSION record structure" but found "//Now, build the REALTIMEQUIZ_SESSION record structure"
(#306) Variable "s_info" must not contain underscores.
(#307) Variable "s_info" must not contain underscores.
(#308) Spaces must be used to indent lines; tabs are not allowed
(#308) Tab found within whitespace
(#308) Whitespace found at end of line
(#309) Inline comments must end in full-stops, exclamation marks, or question marks
(#309) No space found before comment text; expected "// The structure is equal to the db, so insert the realtimequiz_session" but found "//The structure is equal to the db, so insert the realtimequiz_session"
(#310) Commas (,) must be followed by white space.
(#312) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) No space found before comment text; expected "// Do some output" but found "//Do some output"
(#313) Line indented incorrectly; expected 8 spaces, found 12
(#313) Expected 1 space before "+"; 0 found
(#313) Expected 1 space after "+"; 0 found
(#314) Line indented incorrectly; expected 12 spaces, found 16
(#316) Line indented incorrectly; expected 16 spaces, found 20
(#316) Expected 1 space before "+"; 0 found
(#316) Expected 1 space after "+"; 0 found
(#318) Line indented incorrectly; expected 16 spaces, found 20
(#319) Line indented incorrectly; expected 12 spaces, found 16
(#321) Line indented incorrectly; expected 8 spaces, found 12
(#323) Line indented incorrectly; expected 8 spaces, found 12
(#324) Inline comments must end in full-stops, exclamation marks, or question marks
(#324) No space found before comment text; expected "// We have the newid, update backup_ids" but found "//We have the newid, update backup_ids"
(#325) Commas (,) must be followed by white space.
(#325) Commas (,) must be followed by white space.
(#328) Line indented incorrectly; expected 8 spaces, found 12
(#330) Line indented incorrectly; expected 8 spaces, found 12
(#331) Line indented incorrectly; expected 4 spaces, found 8
(#334) Whitespace found at end of line
(#335) Line indented incorrectly; expected 0 spaces, found 5
(#335) Closing brace indented incorrectly; expected 4 spaces, found 5
(#336) A closing tag is not permitted at the end of a PHP file
mod/realtimequiz/settings.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/realtimequiz/version.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/realtimequiz/view.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) 3 slashes comments are not allowed; use "// Comment." instead
(#65) Commas (,) must be followed by white space.
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) 3 slashes comments are not allowed; use "// Comment." instead
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) 3 slashes comments are not allowed; use "// Comment." instead

Javascript coding style problems

(82 errors, 339 warnings)

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

mod/realtimequiz/editquestions.js
(#1) Expected space or tab after '/*' in comment. (spaced-comment)
(#2) Identifier 'mod_realtimequiz' is not in camel case. (camelcase)
(#4) Identifier 'init_editpage' is not in camel case. (camelcase)
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#9) Identifier 'highlight_correct' is not in camel case. (camelcase)
(#9) Unexpected space before function parentheses. (space-before-function-paren)
(#10) Unexpected space before function parentheses. (space-before-function-paren)
(#14) Unexpected 'this'. (no-invalid-this)
(#15) Unexpected 'this'. (no-invalid-this)
(#22) Unexpected 'this'. (no-invalid-this)
(#30) Unexpected space before function parentheses. (space-before-function-paren)
mod/realtimequiz/view_student.js
(#10) Infix operators must be spaced. (space-infix-ops)
(#11) Infix operators must be spaced. (space-infix-ops)
(#12) Infix operators must be spaced. (space-infix-ops)
(#13) Infix operators must be spaced. (space-infix-ops)
(#14) Infix operators must be spaced. (space-infix-ops)
(#15) Infix operators must be spaced. (space-infix-ops)
(#18) Infix operators must be spaced. (space-infix-ops)
(#19) Infix operators must be spaced. (space-infix-ops)
(#20) Infix operators must be spaced. (space-infix-ops)
(#21) Infix operators must be spaced. (space-infix-ops)
(#22) Infix operators must be spaced. (space-infix-ops)
(#33) Expected space or tab after '/**' in comment. (spaced-comment)
(#36) Identifier 'realtimequiz_maxdebugmessages' is not in camel case. (camelcase)
(#37) Identifier 'realtimequiz_debug_stop' is not in camel case. (camelcase)
(#39) Missing JSDoc comment. (require-jsdoc)
(#39) Identifier 'realtimequiz_debugmessage' is not in camel case. (camelcase)
(#39) 'realtimequiz_debugmessage' is defined but never used. (no-unused-vars)
(#40) Identifier 'realtimequiz_maxdebugmessages' is not in camel case. (camelcase)
(#41) Identifier 'realtimequiz_maxdebugmessages' is not in camel case. (camelcase)
(#44) Line 44 exceeds the maximum line length of 132. (max-len)
(#51) Missing JSDoc comment. (require-jsdoc)
(#51) 'realtimequiz_debug_stopall' is defined but never used. (no-unused-vars)
(#51) Identifier 'realtimequiz_debug_stopall' is not in camel case. (camelcase)
(#52) Identifier 'realtimequiz_debug_stop' is not in camel case. (camelcase)
(#56) Expected space or tab after '/**' in comment. (spaced-comment)
(#60) Missing JSDoc comment. (require-jsdoc)
(#60) 'realtimequiz_set_maxanswers' is defined but never used. (no-unused-vars)
(#60) Identifier 'realtimequiz_set_maxanswers' is not in camel case. (camelcase)
(#64) Missing JSDoc comment. (require-jsdoc)
(#64) Identifier 'realtimequiz_set_quizid' is not in camel case. (camelcase)
(#64) 'realtimequiz_set_quizid' is defined but never used. (no-unused-vars)
(#68) Missing JSDoc comment. (require-jsdoc)
(#68) Identifier 'realtimequiz_set_userid' is not in camel case. (camelcase)
(#68) 'realtimequiz_set_userid' is defined but never used. (no-unused-vars)
(#72) Missing JSDoc comment. (require-jsdoc)
(#72) Identifier 'realtimequiz_set_sesskey' is not in camel case. (camelcase)
(#72) 'realtimequiz_set_sesskey' is defined but never used. (no-unused-vars)
(#76) Missing JSDoc comment. (require-jsdoc)
(#76) 'realtimequiz_set_image' is defined but never used. (no-unused-vars)
(#76) Identifier 'realtimequiz_set_image' is not in camel case. (camelcase)
(#80) Missing JSDoc comment. (require-jsdoc)
(#80) 'realtimequiz_set_text' is defined but never used. (no-unused-vars)
(#80) Identifier 'realtimequiz_set_text' is not in camel case. (camelcase)
(#84) Missing JSDoc comment. (require-jsdoc)
(#84) Identifier 'realtimequiz_set_coursepage' is not in camel case. (camelcase)
(#84) 'realtimequiz_set_coursepage' is defined but never used. (no-unused-vars)
(#88) Missing JSDoc comment. (require-jsdoc)
(#88) 'realtimequiz_set_siteroot' is defined but never used. (no-unused-vars)
(#88) Identifier 'realtimequiz_set_siteroot' is not in camel case. (camelcase)
(#92) Missing JSDoc comment. (require-jsdoc)
(#92) 'realtimequiz_set_running' is defined but never used. (no-unused-vars)
(#92) Identifier 'realtimequiz_set_running' is not in camel case. (camelcase)
(#96) Expected space or tab after '/**' in comment. (spaced-comment)
(#99) Identifier 'realtimequiz_init_student_view' is not in camel case. (camelcase)
(#99) 'realtimequiz_init_student_view' is defined but never used. (no-unused-vars)
(#100) Infix operators must be spaced. (space-infix-ops)
(#100) Infix operators must be spaced. (space-infix-ops)
(#100) ["joinquiz"] is better written in dot notation. (dot-notation)
(#100) Infix operators must be spaced. (space-infix-ops)
(#100) Missing semicolon. (semi)
(#101) Infix operators must be spaced. (space-infix-ops)
(#101) ["joininstruct"] is better written in dot notation. (dot-notation)
(#101) Infix operators must be spaced. (space-infix-ops)
(#101) Missing semicolon. (semi)
(#105) Missing JSDoc comment. (require-jsdoc)
(#105) Identifier 'realtimequiz_init_question_view' is not in camel case. (camelcase)
(#110) Line 110 exceeds the maximum line length of 132. (max-len)
(#110) Infix operators must be spaced. (space-infix-ops)
(#110) ["waitstudent"] is better written in dot notation. (dot-notation)
(#110) Infix operators must be spaced. (space-infix-ops)
(#110) Infix operators must be spaced. (space-infix-ops)
(#110) ["clicknext"] is better written in dot notation. (dot-notation)
(#110) Infix operators must be spaced. (space-infix-ops)
(#112) 'realtimequiz_update_next_button' is not defined. (no-undef)
(#114) Line 114 exceeds the maximum line length of 132. (max-len)
(#114) Infix operators must be spaced. (space-infix-ops)
(#114) ["waitfirst"] is better written in dot notation. (dot-notation)
(#114) Infix operators must be spaced. (space-infix-ops)
(#121) Missing JSDoc for parameter 'status'. (valid-jsdoc)
(#121) Expected space or tab after '/**' in comment. (spaced-comment)
(#124) Identifier 'realtimequiz_set_status' is not in camel case. (camelcase)
(#128) Missing JSDoc comment. (require-jsdoc)
(#128) Identifier 'realtimequiz_set_question_number' is not in camel case. (camelcase)
(#129) ["question"] is better written in dot notation. (dot-notation)
(#133) Missing JSDoc comment. (require-jsdoc)
(#133) Identifier 'realtimequiz_set_question_text' is not in camel case. (camelcase)
(#137) Missing JSDoc comment. (require-jsdoc)
(#137) Identifier 'realtimequiz_set_question_image' is not in camel case. (camelcase)
(#139) Line 139 exceeds the maximum line length of 132. (max-len)
(#139) Infix operators must be spaced. (space-infix-ops)
(#139) Infix operators must be spaced. (space-infix-ops)
(#139) Infix operators must be spaced. (space-infix-ops)
(#139) Infix operators must be spaced. (space-infix-ops)
(#139) Infix operators must be spaced. (space-infix-ops)
(#139) Infix operators must be spaced. (space-infix-ops)
(#145) Missing JSDoc comment. (require-jsdoc)
(#145) Identifier 'realtimequiz_clear_answers' is not in camel case. (camelcase)
(#150) Missing JSDoc comment. (require-jsdoc)
(#150) Identifier 'realtimequiz_set_answer' is not in camel case. (camelcase)
(#152) Unexpected alert. (no-alert)
(#152) ["invalidanswer"] is better written in dot notation. (dot-notation)
(#155) Expected space or tab after '//' in comment. (spaced-comment)
(#156) Infix operators must be spaced. (space-infix-ops)
(#156) Infix operators must be spaced. (space-infix-ops)
(#156) Infix operators must be spaced. (space-infix-ops)
(#156) Infix operators must be spaced. (space-infix-ops)
(#160) Infix operators must be spaced. (space-infix-ops)
(#160) Infix operators must be spaced. (space-infix-ops)
(#161) Infix operators must be spaced. (space-infix-ops)
(#161) Infix operators must be spaced. (space-infix-ops)
(#162) Infix operators must be spaced. (space-infix-ops)
(#162) ["blank"] is better written in dot notation. (dot-notation)
(#162) Infix operators must be spaced. (space-infix-ops)
(#168) Missing JSDoc comment. (require-jsdoc)
(#168) Identifier 'realtimequiz_set_question' is not in camel case. (camelcase)
(#169) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#170) Unexpected alert. (no-alert)
(#175) Line 175 exceeds the maximum line length of 132. (max-len)
(#192) Infix operators must be spaced. (space-infix-ops)
(#192) Infix operators must be spaced. (space-infix-ops)
(#193) Infix operators must be spaced. (space-infix-ops)
(#200) Missing JSDoc comment. (require-jsdoc)
(#200) Identifier 'realtimequiz_disable_answer' is not in camel case. (camelcase)
(#201) A space is required after ','. (comma-spacing)
(#204) Missing JSDoc comment. (require-jsdoc)
(#204) Identifier 'realtimequiz_set_result' is not in camel case. (camelcase)
(#205) Infix operators must be spaced. (space-infix-ops)
(#208) Infix operators must be spaced. (space-infix-ops)
(#208) Infix operators must be spaced. (space-infix-ops)
(#212) Infix operators must be spaced. (space-infix-ops)
(#215) Blocks are nested too deeply (5). (max-depth)
(#216) ["tick"] is better written in dot notation. (dot-notation)
(#216) Infix operators must be spaced. (space-infix-ops)
(#216) ["tick"] is better written in dot notation. (dot-notation)
(#216) Infix operators must be spaced. (space-infix-ops)
(#218) ["cross"] is better written in dot notation. (dot-notation)
(#218) Infix operators must be spaced. (space-infix-ops)
(#218) ["cross"] is better written in dot notation. (dot-notation)
(#218) Infix operators must be spaced. (space-infix-ops)
(#229) Missing JSDoc comment. (require-jsdoc)
(#229) Identifier 'realtimequiz_show_final_results' is not in camel case. (camelcase)
(#232) 'msg' used outside of binding context. (block-scoped-var)
(#232) Infix operators must be spaced. (space-infix-ops)
(#232) ["finalresults"] is better written in dot notation. (dot-notation)
(#232) Infix operators must be spaced. (space-infix-ops)
(#233) 'msg' used outside of binding context. (block-scoped-var)
(#233) Infix operators must be spaced. (space-infix-ops)
(#233) ["classresult"] is better written in dot notation. (dot-notation)
(#233) Infix operators must be spaced. (space-infix-ops)
(#233) Infix operators must be spaced. (space-infix-ops)
(#233) Infix operators must be spaced. (space-infix-ops)
(#233) ["resultcorrect"] is better written in dot notation. (dot-notation)
(#235) Line 235 exceeds the maximum line length of 132. (max-len)
(#235) 'msg' used outside of binding context. (block-scoped-var)
(#235) Infix operators must be spaced. (space-infix-ops)
(#235) ["yourresult"] is better written in dot notation. (dot-notation)
(#235) Infix operators must be spaced. (space-infix-ops)
(#235) Infix operators must be spaced. (space-infix-ops)
(#236) 'msg' used outside of binding context. (block-scoped-var)
(#236) Infix operators must be spaced. (space-infix-ops)
(#236) ["resultcorrect"] is better written in dot notation. (dot-notation)
(#236) Infix operators must be spaced. (space-infix-ops)
(#238) 'msg' used outside of binding context. (block-scoped-var)
(#240) 'msg' used outside of binding context. (block-scoped-var)
(#240) 'msg' is already defined. (no-redeclare)
(#240) Infix operators must be spaced. (space-infix-ops)
(#240) ["quizfinished"] is better written in dot notation. (dot-notation)
(#240) Infix operators must be spaced. (space-infix-ops)
(#242) 'msg' used outside of binding context. (block-scoped-var)
(#242) 'msg' used outside of binding context. (block-scoped-var)
(#245) Missing JSDoc for parameter 'choice'. (valid-jsdoc)
(#245) Expected space or tab after '/**' in comment. (spaced-comment)
(#248) 'realtimequiz_select_choice' is defined but never used. (no-unused-vars)
(#248) Identifier 'realtimequiz_select_choice' is not in camel case. (camelcase)
(#250) ["sendinganswer"] is better written in dot notation. (dot-notation)
(#251) Infix operators must be spaced. (space-infix-ops)
(#254) Infix operators must be spaced. (space-infix-ops)
(#255) Infix operators must be spaced. (space-infix-ops)
(#255) Infix operators must be spaced. (space-infix-ops)
(#264) Missing JSDoc for parameter 'counttime'. (valid-jsdoc)
(#264) Missing JSDoc for parameter 'preview'. (valid-jsdoc)
(#264) Expected space or tab after '/**' in comment. (spaced-comment)
(#267) Identifier 'realtimequiz_start_timer' is not in camel case. (camelcase)
(#270) ["displaynext"] is better written in dot notation. (dot-notation)
(#272) ["timeleft"] is better written in dot notation. (dot-notation)
(#274) Infix operators must be spaced. (space-infix-ops)
(#274) Infix operators must be spaced. (space-infix-ops)
(#275) Infix operators must be spaced. (space-infix-ops)
(#275) Implied eval. Consider passing a function instead of a string. (no-implied-eval)
(#275) Infix operators must be spaced. (space-infix-ops)
(#275) Infix operators must be spaced. (space-infix-ops)
(#279) Missing JSDoc comment. (require-jsdoc)
(#279) Identifier 'realtimequiz_stop_timer' is not in camel case. (camelcase)
(#280) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#286) Missing JSDoc comment. (require-jsdoc)
(#286) Identifier 'realtimequiz_timer_tick' is not in camel case. (camelcase)
(#290) Infix operators must be spaced. (space-infix-ops)
(#294) ["questionfinished"] is better written in dot notation. (dot-notation)
(#298) Infix operators must be spaced. (space-infix-ops)
(#298) Infix operators must be spaced. (space-infix-ops)
(#309) Missing JSDoc for parameter 'time'. (valid-jsdoc)
(#309) Missing JSDoc for parameter 'code'. (valid-jsdoc)
(#309) Expected space or tab after '/**' in comment. (spaced-comment)
(#312) Identifier 'realtimequiz_delayed_request' is not in camel case. (camelcase)
(#313) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#321) Missing JSDoc comment. (require-jsdoc)
(#321) Identifier 'realtimequiz_create_request' is not in camel case. (camelcase)
(#324) Identifier 'realtimequiz_debug_stop' is not in camel case. (camelcase)
(#328) Trailing spaces not allowed. (no-trailing-spaces)
(#328) Unexpected tab character. (no-tabs)
(#329) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#345) 'ActiveXObject' is not defined. (no-undef)
(#347) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#349) 'ActiveXObject' is not defined. (no-undef)
(#351) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#351) Empty block statement. (no-empty)
(#357) Unexpected alert. (no-alert)
(#357) ["httprequestfail"] is better written in dot notation. (dot-notation)
(#358) Expected no return value. (consistent-return)
(#363) Infix operators must be spaced. (space-infix-ops)
(#365) Infix operators must be spaced. (space-infix-ops)
(#365) Infix operators must be spaced. (space-infix-ops)
(#371) Missing JSDoc comment. (require-jsdoc)
(#371) Identifier 'realtimequiz_resend_request' is not in camel case. (camelcase)
(#381) Missing JSDoc comment. (require-jsdoc)
(#381) Identifier 'realtimequiz_return_course' is not in camel case. (camelcase)
(#383) Unexpected alert. (no-alert)
(#385) Expected space or tab after '//' in comment. (spaced-comment)
(#389) Missing JSDoc comment. (require-jsdoc)
(#389) Identifier 'node_text' is not in camel case. (camelcase)
(#399) Missing JSDoc comment. (require-jsdoc)
(#399) Identifier 'realtimequiz_get_question' is not in camel case. (camelcase)
(#400) Infix operators must be spaced. (space-infix-ops)
(#403) Missing JSDoc comment. (require-jsdoc)
(#403) Identifier 'realtimequiz_get_results' is not in camel case. (camelcase)
(#404) Infix operators must be spaced. (space-infix-ops)
(#404) Infix operators must be spaced. (space-infix-ops)
(#404) Infix operators must be spaced. (space-infix-ops)
(#407) Missing JSDoc comment. (require-jsdoc)
(#407) Identifier 'realtimequiz_post_answer' is not in camel case. (camelcase)
(#408) Line 408 exceeds the maximum line length of 132. (max-len)
(#408) Infix operators must be spaced. (space-infix-ops)
(#408) Infix operators must be spaced. (space-infix-ops)
(#408) Infix operators must be spaced. (space-infix-ops)
(#408) Infix operators must be spaced. (space-infix-ops)
(#408) Infix operators must be spaced. (space-infix-ops)
(#408) Infix operators must be spaced. (space-infix-ops)
(#408) Infix operators must be spaced. (space-infix-ops)
(#411) Missing JSDoc comment. (require-jsdoc)
(#411) 'realtimequiz_join_quiz' is defined but never used. (no-unused-vars)
(#411) Identifier 'realtimequiz_join_quiz' is not in camel case. (camelcase)
(#412) Infix operators must be spaced. (space-infix-ops)
(#412) Infix operators must be spaced. (space-infix-ops)
(#416) Function 'realtimequiz_process_contents' has a complexity of 28. (complexity)
(#416) Missing JSDoc comment. (require-jsdoc)
(#416) Identifier 'realtimequiz_process_contents' is not in camel case. (camelcase)
(#419) Trailing spaces not allowed. (no-trailing-spaces)
(#420) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#434) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#445) Blocks are nested too deeply (5). (max-depth)
(#446) Unexpected alert. (no-alert)
(#446) ["noquestion"] is better written in dot notation. (dot-notation)
(#446) Infix operators must be spaced. (space-infix-ops)
(#447) Blocks are nested too deeply (6). (max-depth)
(#447) Unexpected confirm. (no-alert)
(#447) ["tryagain"] is better written in dot notation. (dot-notation)
(#454) Blocks are nested too deeply (6). (max-depth)
(#460) 'realtimequiz_update_next_button' is not defined. (no-undef)
(#464) Blocks are nested too deeply (5). (max-depth)
(#473) Blocks are nested too deeply (6). (max-depth)
(#473) Infix operators must be spaced. (space-infix-ops)
(#473) Infix operators must be spaced. (space-infix-ops)
(#477) Blocks are nested too deeply (7). (max-depth)
(#481) Blocks are nested too deeply (6). (max-depth)
(#486) ["resultthisquestion"] is better written in dot notation. (dot-notation)
(#486) Infix operators must be spaced. (space-infix-ops)
(#488) Infix operators must be spaced. (space-infix-ops)
(#488) ["resultoverall"] is better written in dot notation. (dot-notation)
(#490) Infix operators must be spaced. (space-infix-ops)
(#490) ["resultcorrect"] is better written in dot notation. (dot-notation)
(#491) Blocks are nested too deeply (7). (max-depth)
(#492) Line 492 exceeds the maximum line length of 132. (max-len)
(#492) Infix operators must be spaced. (space-infix-ops)
(#492) ["yourresult"] is better written in dot notation. (dot-notation)
(#492) Infix operators must be spaced. (space-infix-ops)
(#493) Infix operators must be spaced. (space-infix-ops)
(#493) ["resultcorrect"] is better written in dot notation. (dot-notation)
(#493) Infix operators must be spaced. (space-infix-ops)
(#500) Blocks are nested too deeply (5). (max-depth)
(#501) 'realtimequiz_update_next_button' is not defined. (no-undef)
(#503) A space is required after ','. (comma-spacing)
(#507) Blocks are nested too deeply (5). (max-depth)
(#508) ["answersent"] is better written in dot notation. (dot-notation)
(#514) 'waittime' used outside of binding context. (block-scoped-var)
(#515) Blocks are nested too deeply (5). (max-depth)
(#515) 'waittime' used outside of binding context. (block-scoped-var)
(#516) 'waittime' used outside of binding context. (block-scoped-var)
(#516) 'waittime' used outside of binding context. (block-scoped-var)
(#518) 'waittime' used outside of binding context. (block-scoped-var)
(#521) 'waittime' used outside of binding context. (block-scoped-var)
(#524) 'waittime' is already defined. (no-redeclare)
(#524) 'waittime' used outside of binding context. (block-scoped-var)
(#525) Blocks are nested too deeply (5). (max-depth)
(#525) 'waittime' used outside of binding context. (block-scoped-var)
(#526) 'waittime' used outside of binding context. (block-scoped-var)
(#526) 'waittime' used outside of binding context. (block-scoped-var)
(#528) 'waittime' used outside of binding context. (block-scoped-var)
(#531) 'waittime' used outside of binding context. (block-scoped-var)
(#537) ["quiznotrunning"] is better written in dot notation. (dot-notation)
(#544) Unexpected alert. (no-alert)
(#544) ["servererror"] is better written in dot notation. (dot-notation)
(#544) Infix operators must be spaced. (space-infix-ops)
(#547) Unexpected alert. (no-alert)
(#547) ["badresponse"] is better written in dot notation. (dot-notation)
(#547) Infix operators must be spaced. (space-infix-ops)
(#548) Blocks are nested too deeply (5). (max-depth)
(#548) Unexpected confirm. (no-alert)
(#548) ["tryagain"] is better written in dot notation. (dot-notation)
(#560) Expected space or tab after '//' in comment. (spaced-comment)
(#561) Expected space or tab after '//' in comment. (spaced-comment)
(#563) Expected space or tab after '//' in comment. (spaced-comment)
(#564) Expected space or tab after '//' in comment. (spaced-comment)
mod/realtimequiz/view_teacher.js
(#8) 'realtimequiz' is not defined. (no-undef)
(#10) Missing JSDoc comment. (require-jsdoc)
(#10) Identifier 'realtimequiz_first_question' is not in camel case. (camelcase)
(#15) 'realtimequiz_create_request' is not defined. (no-undef)
(#15) Infix operators must be spaced. (space-infix-ops)
(#15) 'realtimequiz' is not defined. (no-undef)
(#15) Infix operators must be spaced. (space-infix-ops)
(#15) Infix operators must be spaced. (space-infix-ops)
(#15) 'realtimequiz' is not defined. (no-undef)
(#15) Infix operators must be spaced. (space-infix-ops)
(#16) Expected space or tab after '//' in comment. (spaced-comment)
(#19) Missing JSDoc comment. (require-jsdoc)
(#19) Identifier 'realtimequiz_next_question' is not in camel case. (camelcase)
(#21) Line 21 exceeds the maximum line length of 132. (max-len)
(#21) 'realtimequiz_create_request' is not defined. (no-undef)
(#21) Infix operators must be spaced. (space-infix-ops)
(#21) 'realtimequiz' is not defined. (no-undef)
(#21) Infix operators must be spaced. (space-infix-ops)
(#21) Infix operators must be spaced. (space-infix-ops)
(#21) 'realtimequiz' is not defined. (no-undef)
(#21) Infix operators must be spaced. (space-infix-ops)
(#21) Infix operators must be spaced. (space-infix-ops)
(#21) 'realtimequiz' is not defined. (no-undef)
(#22) 'realtimequiz' is not defined. (no-undef)
(#22) 'realtimequiz' is not defined. (no-undef)
(#23) Expected space or tab after '//' in comment. (spaced-comment)
(#26) Missing JSDoc comment. (require-jsdoc)
(#26) Identifier 'realtimequiz_update_next_button' is not in camel case. (camelcase)
(#27) 'realtimequiz' is not defined. (no-undef)
(#31) Line 31 exceeds the maximum line length of 132. (max-len)
(#31) 'realtimequiz' is not defined. (no-undef)
(#31) 'realtimequiz' is not defined. (no-undef)
(#34) Line 34 exceeds the maximum line length of 132. (max-len)
(#34) Infix operators must be spaced. (space-infix-ops)
(#34) 'realtimequiz' is not defined. (no-undef)
(#34) ["next"] is better written in dot notation. (dot-notation)
(#34) Infix operators must be spaced. (space-infix-ops)
(#38) Line 38 exceeds the maximum line length of 132. (max-len)
(#38) Infix operators must be spaced. (space-infix-ops)
(#38) 'realtimequiz' is not defined. (no-undef)
(#38) ["next"] is better written in dot notation. (dot-notation)
(#38) Infix operators must be spaced. (space-infix-ops)
(#42) Missing JSDoc comment. (require-jsdoc)
(#42) Identifier 'realtimequiz_start_quiz' is not in camel case. (camelcase)
(#43) 'realtimequiz' is not defined. (no-undef)
(#47) Missing JSDoc comment. (require-jsdoc)
(#47) 'realtimequiz_start_new_quiz' is defined but never used. (no-unused-vars)
(#47) Identifier 'realtimequiz_start_new_quiz' is not in camel case. (camelcase)
(#48) Unexpected confirm. (no-alert)
(#48) 'realtimequiz' is not defined. (no-undef)
(#48) ["startnewquizconfirm"] is better written in dot notation. (dot-notation)
(#54) Missing JSDoc comment. (require-jsdoc)
(#54) Identifier 'realtimequiz_reconnect_quiz' is not in camel case. (camelcase)
(#54) 'realtimequiz_reconnect_quiz' is defined but never used. (no-unused-vars)
(#55) 'realtimequiz' is not defined. (no-undef)
(#56) 'realtimequiz_create_request' is not defined. (no-undef)
(#56) Infix operators must be spaced. (space-infix-ops)
(#56) 'realtimequiz' is not defined. (no-undef)
(#59) Missing JSDoc comment. (require-jsdoc)
(#59) 'realtimequiz_init_teacher_view' is defined but never used. (no-unused-vars)
(#59) Identifier 'realtimequiz_init_teacher_view' is not in camel case. (camelcase)
(#60) 'realtimequiz' is not defined. (no-undef)
(#62) 'realtimequiz' is not defined. (no-undef)
(#63) Line 63 exceeds the maximum line length of 132. (max-len)
(#63) 'realtimequiz' is not defined. (no-undef)
(#63) ["reconnectquiz"] is better written in dot notation. (dot-notation)
(#64) Infix operators must be spaced. (space-infix-ops)
(#64) 'realtimequiz' is not defined. (no-undef)
(#64) ["reconnectinstruct"] is better written in dot notation. (dot-notation)
(#64) Infix operators must be spaced. (space-infix-ops)
(#65) Line 65 exceeds the maximum line length of 132. (max-len)
(#65) 'realtimequiz' is not defined. (no-undef)
(#65) ["startnewquiz"] is better written in dot notation. (dot-notation)
(#66) 'realtimequiz' is not defined. (no-undef)
(#66) ["teacherstartnewinstruct"] is better written in dot notation. (dot-notation)
(#68) Line 68 exceeds the maximum line length of 132. (max-len)
(#68) 'realtimequiz' is not defined. (no-undef)
(#68) ["startquiz"] is better written in dot notation. (dot-notation)
(#69) 'realtimequiz' is not defined. (no-undef)
(#69) ["teacherstartinstruct"] is better written in dot notation. (dot-notation)
(#71) Infix operators must be spaced. (space-infix-ops)
(#71) 'realtimequiz' is not defined. (no-undef)
(#71) ["joinquizasstudent"] is better written in dot notation. (dot-notation)
(#71) Infix operators must be spaced. (space-infix-ops)
(#72) Infix operators must be spaced. (space-infix-ops)
(#72) 'realtimequiz' is not defined. (no-undef)
(#72) ["teacherjoinquizinstruct"] is better written in dot notation. (dot-notation)
(#72) Infix operators must be spaced. (space-infix-ops)

CSS problems

(20 errors, 0 warnings)

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

mod/realtimequiz/styles.css
(#12) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#13) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#25) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#26) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#35) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#36) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#45) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#46) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#55) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#56) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#11) Expected "DXImageTransform.Microsoft.gradient" to be "dximagetransform.microsoft.gradient" (function-name-case)
(#24) Expected "DXImageTransform.Microsoft.gradient" to be "dximagetransform.microsoft.gradient" (function-name-case)
(#34) Expected "DXImageTransform.Microsoft.gradient" to be "dximagetransform.microsoft.gradient" (function-name-case)
(#44) Expected "DXImageTransform.Microsoft.gradient" to be "dximagetransform.microsoft.gradient" (function-name-case)
(#54) Expected "DXImageTransform.Microsoft.gradient" to be "dximagetransform.microsoft.gradient" (function-name-case)
(#10) Unexpected whitespace at end of line (no-eol-whitespace)
(#23) Unexpected whitespace at end of line (no-eol-whitespace)
(#33) Unexpected whitespace at end of line (no-eol-whitespace)
(#43) Unexpected whitespace at end of line (no-eol-whitespace)
(#53) Unexpected whitespace at end of line (no-eol-whitespace)

PHPDocs style problems

(163 errors, 15 warnings)

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

mod/realtimequiz/adminlib.php
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#5) Invalid phpdocs tag @author: used
(#14) Package mod_aspirelist is not valid
mod/realtimequiz/backup/moodle2/backup_realtimequiz_activity_task.class.php
(#2) Empty line found after PHP open tag
(#32) Class backup_realtimequiz_activity_task does not have @copyright tag
(#32) Class backup_realtimequiz_activity_task does not have @license tag
mod/realtimequiz/backup/moodle2/backup_realtimequiz_settingslib.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#19) Package moodlecore is not valid
mod/realtimequiz/backup/moodle2/backup_realtimequiz_stepslib.php
(#2) Empty line found after PHP open tag
(#34) Function backup_realtimequiz_activity_structure_step::define_structure is not documented
(#18) No one-line description found in phpdocs for file
(#29) Class backup_realtimequiz_activity_structure_step does not have @copyright tag
(#29) Class backup_realtimequiz_activity_structure_step does not have @license tag
mod/realtimequiz/backup/moodle2/restore_realtimequiz_activity_task.class.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#29) No one-line description found in phpdocs for class restore_realtimequiz_activity_task
(#29) Class restore_realtimequiz_activity_task does not have @copyright tag
(#29) Class restore_realtimequiz_activity_task does not have @license tag
(#19) Package moodlecore is not valid
mod/realtimequiz/backup/moodle2/restore_realtimequiz_stepslib.php
(#2) Empty line found after PHP open tag
(#34) Function restore_realtimequiz_activity_structure_step::define_structure is not documented
(#53) Function restore_realtimequiz_activity_structure_step::process_realtimequiz is not documented
(#67) Function restore_realtimequiz_activity_structure_step::process_realtimequiz_question is not documented
(#79) Function restore_realtimequiz_activity_structure_step::process_realtimequiz_answer is not documented
(#91) Function restore_realtimequiz_activity_structure_step::process_realtimequiz_session is not documented
(#104) Function restore_realtimequiz_activity_structure_step::process_realtimequiz_submission is not documented
(#120) Function restore_realtimequiz_activity_structure_step::after_execute is not documented
(#18) No one-line description found in phpdocs for file
(#29) Class restore_realtimequiz_activity_structure_step does not have @copyright tag
(#29) Class restore_realtimequiz_activity_structure_step does not have @license tag
(#19) Package moodlecore is not valid
mod/realtimequiz/backuplib.php
(#2) Empty line found after PHP open tag
(#) File-level phpdocs block is not found
(#33) Function realtimequiz_backup_mods is not documented
(#52) Function realtimequiz_backup_one_mod is not documented
(#91) Function realtimequiz_check_backup_mods_instances is not documented
(#124) Function backup_realtimequiz_questions is not documented
(#149) Function backup_realtimequiz_answers is not documented
(#178) Function backup_realtimequiz_submitted is not documented
(#201) Function backup_realtimequiz_sessions is not documented
(#224) Function realtimequiz_check_backup_mods is not documented
(#313) Function realtimequiz_ids is not documented
(#322) Function realtimequiz_question_ids_by_course is not documented
(#333) Function realtimequiz_question_ids_by_instance is not documented
(#342) Function realtimequiz_answer_ids_by_course is not documented
(#355) Function realtimequiz_answer_ids_by_instance is not documented
(#366) Function realtimequiz_submission_ids_by_course is not documented
(#381) Function realtimequiz_submission_ids_by_instance is not documented
(#394) Function realtimequiz_session_ids_by_course is not documented
(#405) Function realtimequiz_session_ids_by_instance is not documented
(#223) Found comment starting with three or more slashes
(#33) Package is not specified for function realtimequiz_backup_mods. It is also not specified in file-level phpdocs
(#52) Package is not specified for function realtimequiz_backup_one_mod. It is also not specified in file-level phpdocs
(#91) Package is not specified for function realtimequiz_check_backup_mods_instances. It is also not specified in file-level phpdocs
(#124) Package is not specified for function backup_realtimequiz_questions. It is also not specified in file-level phpdocs
(#149) Package is not specified for function backup_realtimequiz_answers. It is also not specified in file-level phpdocs
(#178) Package is not specified for function backup_realtimequiz_submitted. It is also not specified in file-level phpdocs
(#201) Package is not specified for function backup_realtimequiz_sessions. It is also not specified in file-level phpdocs
(#224) Package is not specified for function realtimequiz_check_backup_mods. It is also not specified in file-level phpdocs
(#313) Package is not specified for function realtimequiz_ids. It is also not specified in file-level phpdocs
(#322) Package is not specified for function realtimequiz_question_ids_by_course. It is also not specified in file-level phpdocs
(#333) Package is not specified for function realtimequiz_question_ids_by_instance. It is also not specified in file-level phpdocs
(#342) Package is not specified for function realtimequiz_answer_ids_by_course. It is also not specified in file-level phpdocs
(#355) Package is not specified for function realtimequiz_answer_ids_by_instance. It is also not specified in file-level phpdocs
(#366) Package is not specified for function realtimequiz_submission_ids_by_course. It is also not specified in file-level phpdocs
(#381) Package is not specified for function realtimequiz_submission_ids_by_instance. It is also not specified in file-level phpdocs
(#394) Package is not specified for function realtimequiz_session_ids_by_course. It is also not specified in file-level phpdocs
(#405) Package is not specified for function realtimequiz_session_ids_by_instance. It is also not specified in file-level phpdocs
mod/realtimequiz/classes/event/course_module_instance_list_viewed.php
(#2) Empty line found after PHP open tag
mod/realtimequiz/classes/event/course_module_viewed.php
(#2) Empty line found after PHP open tag
mod/realtimequiz/classes/event/edit_page_viewed.php
(#2) Empty line found after PHP open tag
mod/realtimequiz/classes/event/responses_viewed.php
(#2) Empty line found after PHP open tag
mod/realtimequiz/db/access.php
(#) File-level phpdocs block is not found
mod/realtimequiz/db/upgrade.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#5) Function xmldb_realtimequiz_upgrade is not documented
(#5) Package is not specified for function xmldb_realtimequiz_upgrade. It is also not specified in file-level phpdocs
mod/realtimequiz/edit.php
(#64) Function realtimequiz_list_questions is not documented
(#108) Function realtimequiz_confirm_deletequestion is not documented
(#235) Found comment starting with three or more slashes
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#5) Invalid phpdocs tag @author: used
mod/realtimequiz/editquestion_form.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#7) Class realtimequiz_editquestion_form is not documented
(#9) Function realtimequiz_editquestion_form::definition is not documented
(#53) Function realtimequiz_editquestion_form::definition_after_data is not documented
(#7) Package is not specified for class realtimequiz_editquestion_form. It is also not specified in file-level phpdocs
mod/realtimequiz/index.php
(#33) Found comment starting with three or more slashes
(#43) Found comment starting with three or more slashes
(#50) Found comment starting with three or more slashes
(#89) Found comment starting with three or more slashes
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#5) Invalid phpdocs tag @author: used
(#6) Package realtimequiz is not valid
mod/realtimequiz/lang/de/realtimequiz.php
(#4) File-level phpdocs block is not found
mod/realtimequiz/lang/en/realtimequiz.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/realtimequiz/lib.php
(#194) Function realtimequiz_scale_used_anywhere is not documented
(#202) Function realtimequiz_view_tabs is not documented
(#240) Function realtimequiz_pluginfile is not documented
(#275) Function realtimequiz_supports is not documented
(#198) Found comment starting with three or more slashes
(#199) Found comment starting with three or more slashes
(#200) Found comment starting with three or more slashes
(#16) Phpdocs for function realtimequiz_add_instance has incomplete parameters list
(#40) Phpdocs for function realtimequiz_update_instance has incomplete parameters list
(#91) Phpdocs for function realtimequiz_user_outline has incomplete parameters list
(#105) Phpdocs for function realtimequiz_user_complete has incomplete parameters list
(#116) Phpdocs for function realtimequiz_print_recent_activity has incomplete parameters list
(#178) Phpdocs for function realtimequiz_scale_used has incomplete parameters list
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#6) Package realtimequiz is not valid
mod/realtimequiz/locallib.php
(#34) Function realtimequiz_start_response is not documented
(#39) Function realtimequiz_end_response is not documented
(#43) Function realtimequiz_send_error is not documented
(#47) Function realtimequiz_send_question is not documented
(#94) Function realtimequiz_send_results is not documented
(#152) Function realtimequiz_record_answer is not documented
(#183) Function realtimequiz_send_running is not documented
(#187) Function realtimequiz_send_not_running is not documented
(#191) Function realtimequiz_send_await_question is not documented
(#197) Function realtimequiz_send_await_results is not documented
(#208) Function realtimequiz_send_final_results is not documented
(#218) Function realtimequiz_update_status is not documented
(#258) Function realtimequiz_is_running is not documented
(#263) Function realtimequiz_current_question is not documented
(#277) Function realtimequiz_goto_question is not documented
mod/realtimequiz/mod_form.php
(#2) Empty line found after PHP open tag
(#29) Class mod_realtimequiz_mod_form is not documented
(#31) Function mod_realtimequiz_mod_form::definition is not documented
(#37) Found comment starting with three or more slashes
(#40) Found comment starting with three or more slashes
(#3) No one-line description found in phpdocs for file
(#3) File-level phpdocs block does not have @copyright tag
(#3) File-level phpdocs block does not have @license tag
(#29) Package is not specified for class mod_realtimequiz_mod_form. It is also not specified in file-level phpdocs
mod/realtimequiz/quizdata.php
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#5) Invalid phpdocs tag @author: used
(#6) Package realtimequiz is not valid
mod/realtimequiz/responses.php
(#105) Found comment starting with three or more slashes
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#6) Package realtimequiz is not valid
mod/realtimequiz/restorelib.php
(#2) Empty line found after PHP open tag
(#) File-level phpdocs block is not found
(#33) Function realtimequiz_restore_mods is not documented
(#98) Function realtimequiz_questions_restore is not documented
(#159) Function realtimequiz_answers_restore is not documented
(#216) Function realtimequiz_submissions_restore is not documented
(#282) Function realtimequiz_sessions_restore is not documented
(#33) Package is not specified for function realtimequiz_restore_mods. It is also not specified in file-level phpdocs
(#98) Package is not specified for function realtimequiz_questions_restore. It is also not specified in file-level phpdocs
(#159) Package is not specified for function realtimequiz_answers_restore. It is also not specified in file-level phpdocs
(#216) Package is not specified for function realtimequiz_submissions_restore. It is also not specified in file-level phpdocs
(#282) Package is not specified for function realtimequiz_sessions_restore. It is also not specified in file-level phpdocs
mod/realtimequiz/settings.php
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#6) Package realtimequiz is not valid
mod/realtimequiz/tests/generator/lib.php
(#27) Class mod_realtimequiz_generator is not documented
(#28) Function mod_realtimequiz_generator::create_instance is not documented
mod/realtimequiz/version.php
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#6) Invalid phpdocs tag @author: used
(#7) Package realtimequiz is not valid
mod/realtimequiz/view.php
(#60) Found comment starting with three or more slashes
(#75) Found comment starting with three or more slashes
(#167) Found comment starting with three or more slashes
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#6) Package realtimequiz is not valid

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]

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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