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

(2451 errors, 235 warnings)

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

mod/unedtrivial/activitylevelform.php
(#22) Whitespace found at end of line
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) No space found before comment text; expected "// moodleform is defined in formslib.php" but found "//moodleform is defined in formslib.php"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected 4 spaces, found 1
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#32) Whitespace found at end of line
(#34) Commas (,) must be followed by white space.
(#34) Whitespace found at end of line
(#35) Commas (,) must be followed by white space.
(#36) Commas (,) must be followed by white space.
(#37) Commas (,) must be followed by white space.
(#38) Commas (,) must be followed by white space.
(#39) Commas (,) must be followed by white space.
(#41) Commas (,) must be followed by white space.
(#41) Whitespace found at end of line
(#43) Whitespace found at end of line
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) No space found before comment text; expected "// Custom validation should be added here" but found "//Custom validation should be added here"
(#45) Visibility must be declared on method "validation"
mod/unedtrivial/backup/moodle2/backup_unedtrivial_activity_task.class.php
(#21) Whitespace found at end of line
mod/unedtrivial/backup/moodle2/backup_unedtrivial_stepslib.php
(#21) Whitespace found at end of line
(#47) Whitespace found at end of line
(#57) Whitespace found at end of line
(#60) Whitespace found at end of line
mod/unedtrivial/backup/moodle2/restore_unedtrivial_activity_task.class.php
(#21) Whitespace found at end of line
mod/unedtrivial/backup/moodle2/restore_unedtrivial_stepslib.php
(#21) Whitespace found at end of line
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
(#72) Whitespace found at end of line
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) This comment is 86% valid code; is this commented out code?
(#87) No space found before comment text; expected "// $this->apply_activity_instance($newitemid);" but found "//$this->apply_activity_instance($newitemid);"
mod/unedtrivial/classes/task/send_questions_task.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Whitespace found at end of line
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Whitespace found at end of line
(#34) Whitespace found at end of line
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) No space found before comment text; expected "// First, we need to check how many unedtrivial instances are currently active" but found "//First, we need to check how many unedtrivial instances are currently active"
(#37) Commas (,) must be followed by white space.
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) No space found before comment text; expected "// UNEDTrivials with end of questions condition" but found "//UNEDTrivials with end of questions condition"
(#43) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) No space found before comment text; expected "// Now, we need to capture all emails available of a concrete unedtrivial" but found "//Now, we need to capture all emails available of a concrete unedtrivial"
(#67) Expected "if (...) {\n"; found "if (...){\n"
(#67) Commas (,) must be followed by white space.
(#67) Commas (,) must be followed by white space.
(#67) Commas (,) must be followed by white space.
(#67) Commas (,) must be followed by white space.
(#67) Commas (,) must be followed by white space.
(#68) Expected "if (...) {\n"; found "if (...){\n"
(#70) Expected "} else {\n"; found "}else{\n"
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) No space found before comment text; expected "// Finally, we prepare and send the mail" but found "//Finally, we prepare and send the mail"
(#77) Expected "if (...) {\n"; found "if (...){\n"
(#78) Whitespace found at end of line
(#81) Whitespace found at end of line
(#82) Whitespace found at end of line
mod/unedtrivial/db/install.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
mod/unedtrivial/db/tasks.php
(#19) Whitespace found at end of line
mod/unedtrivial/db/uninstall.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
mod/unedtrivial/db/upgrade.php
(#62) Line indented incorrectly; expected at least 4 spaces, found 0
(#62) Whitespace found at end of line
(#144) Line indented incorrectly; expected at least 4 spaces, found 0
mod/unedtrivial/deletemail.php
(#28) Whitespace found at end of line
mod/unedtrivial/editquestion.php
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Whitespace found at end of line
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) No space found before comment text; expected "// Students can't stay here" but found "//Students can't stay here"
(#76) Whitespace found at end of line
(#79) Expected "if (...) {\n"; found "if (...){\n"
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) No space found before comment text; expected "// Delete question" but found "//Delete question"
(#82) Commas (,) must be followed by white space.
(#82) Expected 1 space before "=>"; 0 found
(#82) Expected 1 space after "=>"; 0 found
(#83) Commas (,) must be followed by white space.
(#83) Commas (,) must be followed by white space.
(#85) Expected "} else {\n"; found "}else{\n"
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Expected "if (...) {\n"; found "if (...){\n"
(#88) Commas (,) must be followed by white space.
(#88) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#88) Line exceeds 132 characters; contains 149 characters
(#91) Expected "if (...) {\n"; found "if (...){\n"
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) No space found before comment text; expected "// Load info from DB" but found "//Load info from DB"
(#103) Whitespace found at end of line
(#106) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#106) Expected "if (...) {\n"; found "if (...){\n"
(#107) Commas (,) must be followed by white space.
(#107) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#107) Line exceeds 132 characters; contains 149 characters
(#110) Expected "if (...) {\n"; found "if (...){\n"
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) No space found before comment text; expected "// Load info from DB" but found "//Load info from DB"
(#121) Expected "if (...) {\n"; found "if(...){\n"
(#121) Commas (,) must be followed by white space.
(#124) Expected "if (...) {\n"; found "if(...){\n"
(#124) Commas (,) must be followed by white space.
(#127) Expected "if (...) {\n"; found "if(...){\n"
(#127) Commas (,) must be followed by white space.
(#130) Expected "if (...) {\n"; found "if(...){\n"
(#130) Commas (,) must be followed by white space.
(#133) Whitespace found at end of line
(#136) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#136) Expected "if (...) {\n"; found "if (...){\n"
(#137) Commas (,) must be followed by white space.
(#137) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#137) Line exceeds 132 characters; contains 149 characters
(#140) Expected "if (...) {\n"; found "if (...){\n"
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) No space found before comment text; expected "// Load info from DB" but found "//Load info from DB"
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) No space found before comment text; expected "// Form processing and displaying is done here" but found "//Form processing and displaying is done here"
(#152) Expected "if (...) {\n"; found "if (...){\n"
(#154) Expected "} else if (...) {\n"; found "}else if (...) {\n"
(#155) No space found before comment text; expected "// In this case you process validated data. $mform->get_data() returns data posted in form." but found "//In this case you process validated data. $mform->get_data() returns data posted in form."
(#162) Expected "if (...) {\n"; found "if (...){\n"
(#167) Expected "if (...) {\n"; found "if (...){\n"
(#167) Commas (,) must be followed by white space.
(#169) Expected "} else {\n"; found "}else{\n"
(#172) Expected "} else if (...) {\n"; found "}else if(...){\n"
(#172) Expected "if (...) {\n"; found "if(...){\n"
(#176) Expected "if (...) {\n"; found "if (...){\n"
(#176) Commas (,) must be followed by white space.
(#178) Expected "} else {\n"; found "}else{\n"
(#182) Expected "if (...) {\n"; found "if (...){\n"
(#182) Commas (,) must be followed by white space.
(#185) Expected "if (...) {\n"; found "if (...){\n"
(#185) Commas (,) must be followed by white space.
(#188) Expected "if (...) {\n"; found "if (...){\n"
(#188) Commas (,) must be followed by white space.
(#191) Expected "if (...) {\n"; found "if (...){\n"
(#191) Commas (,) must be followed by white space.
(#194) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#194) Expected "if (...) {\n"; found "if (...){\n"
(#196) Expected "if (...) {\n"; found "if (...){\n"
(#196) Commas (,) must be followed by white space.
(#198) Expected "} else {\n"; found "}else{\n"
(#206) Expected "if (...) {\n"; found "if (...){\n"
(#208) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#208) Expected "if (...) {\n"; found "if (...){\n"
(#214) Inline comments must start with a capital letter, digit or 3-dots sequence
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) No space found before comment text; expected "// displays the form" but found "//displays the form"
(#215) Expected "if (...) {\n"; found "if (...){\n"
mod/unedtrivial/emailform.php
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) No space found before comment text; expected "// moodleform is defined in formslib.php" but found "//moodleform is defined in formslib.php"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#31) Whitespace found at end of line
(#32) Commas (,) must be followed by white space.
(#32) Whitespace found at end of line
(#34) Commas (,) must be followed by white space.
(#35) Commas (,) must be followed by white space.
(#36) Commas (,) must be followed by white space.
(#37) Commas (,) must be followed by white space.
(#38) Commas (,) must be followed by white space.
(#39) Commas (,) must be followed by white space.
(#39) Commas (,) must be followed by white space.
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#46) Commas (,) must be followed by white space.
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) No space found before comment text; expected "// Custom validation should be added here" but found "//Custom validation should be added here"
(#49) Visibility must be declared on method "validation"
(#50) This comment is 68% valid code; is this commented out code?
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Line indented incorrectly; expected at least 8 spaces, found 0
(#50) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#51) Line indented incorrectly; expected at least 8 spaces, found 0
(#51) Expected 1 space before comment text but found 12; use block comment if you need indentation
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Line indented incorrectly; expected at least 8 spaces, found 0
(#52) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) This comment is 50% valid code; is this commented out code?
(#54) Line indented incorrectly; expected at least 8 spaces, found 0
(#54) Expected 1 space before comment text but found 8; use block comment if you need indentation
mod/unedtrivial/goquestion.php
(#31) Whitespace found at end of line
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) No space found before comment text; expected "// Encrypted key" but found "//Encrypted key"
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) No space found before comment text; expected "// Decrypt the key" but found "//Decrypt the key"
(#38) Expected "if (...) {\n"; found "if (...){\n"
(#42) Expected "} else {\n"; found "}else{\n"
(#75) Expected "if (...) {\n"; found "if (...){\n"
(#76) No space found before comment text; expected "// First check: Is a real question number?" but found "//First check: Is a real question number?"
(#80) Whitespace found at end of line
(#81) Expected 1 space before "=>"; 0 found
(#81) Expected 1 space after "=>"; 0 found
(#81) Commas (,) must be followed by white space.
(#81) Expected 1 space before "=>"; 0 found
(#81) Expected 1 space after "=>"; 0 found
(#82) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#82) Expected "if (...) {\n"; found "if (...){\n"
(#82) Commas (,) must be followed by white space.
(#82) Commas (,) must be followed by white space.
(#83) No space found before comment text; expected "// Second check: This question is scheduled for today?" but found "//Second check: This question is scheduled for today?"
(#85) Whitespace found at end of line
(#86) Expected 1 space before "=>"; 0 found
(#86) Expected 1 space after "=>"; 0 found
(#86) Commas (,) must be followed by white space.
(#86) Expected 1 space before "=>"; 0 found
(#86) Expected 1 space after "=>"; 0 found
(#87) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#87) Expected "if (...) {\n"; found "if (...){\n"
(#87) Commas (,) must be followed by white space.
(#87) Commas (,) must be followed by white space.
(#87) Commas (,) must be followed by white space.
(#88) No space found before comment text; expected "// Third check: Can be used this question for this user?" but found "//Third check: Can be used this question for this user?"
(#89) Expected "if (...) {\n"; found "if (...){\n"
(#91) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#91) Expected "if (...) {\n"; found "if (...){\n"
(#93) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#93) Expected "if (...) {\n"; found "if (...){\n"
(#97) Whitespace found at end of line
(#98) Expected 1 space before "=>"; 0 found
(#98) Expected 1 space after "=>"; 0 found
(#98) Commas (,) must be followed by white space.
(#98) Expected 1 space before "=>"; 0 found
(#98) Expected 1 space after "=>"; 0 found
(#99) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#99) Expected "if (...) {\n"; found "if (...){\n"
(#100) Commas (,) must be followed by white space.
(#100) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#102) Expected "if (...) {\n"; found "if (...){\n"
(#102) Commas (,) must be followed by white space.
(#102) Whitespace found at end of line
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) No space found before comment text; expected "// We save positive points into history of student" but found "//We save positive points into history of student"
(#114) Commas (,) must be followed by white space.
(#114) Expected 1 space before "+"; 0 found
(#114) Expected 1 space after "+"; 0 found
(#115) Expected "if (...) {\n"; found "if (...){\n"
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) No space found before comment text; expected "// Add bonus" but found "//Add bonus"
(#117) Commas (,) must be followed by white space.
(#117) Commas (,) must be followed by white space.
(#117) Commas (,) must be followed by white space.
(#121) Commas (,) must be followed by white space.
(#121) Commas (,) must be followed by white space.
(#121) Commas (,) must be followed by white space.
(#121) Commas (,) must be followed by white space.
(#121) Commas (,) must be followed by white space.
(#122) Expected "} else {\n"; found "}else{\n"
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) No space found before comment text; expected "// We save negative points into history of student" but found "//We save negative points into history of student"
(#132) Commas (,) must be followed by white space.
(#132) Commas (,) must be followed by white space.
(#132) Commas (,) must be followed by white space.
(#132) Commas (,) must be followed by white space.
(#132) Commas (,) must be followed by white space.
(#134) Expected "} else {\n"; found "}else{\n"
(#138) Expected "if (...) {\n"; found "if (...){\n"
(#142) Expected "if (...) {\n"; found "if (...){\n"
(#146) Expected "if (...) {\n"; found "if (...){\n"
(#150) Expected "if (...) {\n"; found "if (...){\n"
(#154) Expected "if (...) {\n"; found "if (...){\n"
(#160) Expected "for (...) {\n"; found "for(...){\n"
(#160) Expected 1 space after first semicolon of FOR loop; 0 found
(#160) Expected 1 space after second semicolon of FOR loop; 0 found
(#160) Expected 1 space before "="; 0 found
(#160) Expected 1 space after "="; 0 found
(#160) Expected 1 space before "<"; 0 found
(#160) Expected 1 space after "<"; 0 found
(#161) Inline control structures are not allowed
(#161) Expected 1 space before "=="; 0 found
(#161) Expected 1 space after "=="; 0 found
(#162) Inline control structures are not allowed
(#162) Expected 1 space before "=="; 0 found
(#162) Expected 1 space after "=="; 0 found
(#163) Inline control structures are not allowed
(#163) Expected 1 space before "=="; 0 found
(#163) Expected 1 space after "=="; 0 found
(#164) Inline control structures are not allowed
(#164) Expected 1 space before "=="; 0 found
(#164) Expected 1 space after "=="; 0 found
(#166) Expected "for (...) {\n"; found "for(...){\n"
(#166) Expected 1 space after first semicolon of FOR loop; 0 found
(#166) Expected 1 space after second semicolon of FOR loop; 0 found
(#166) Expected 1 space before "="; 0 found
(#166) Expected 1 space after "="; 0 found
(#166) Expected 1 space before "<"; 0 found
(#166) Expected 1 space after "<"; 0 found
(#167) Inline control structures are not allowed
(#167) Expected 1 space before "=="; 0 found
(#167) Expected 1 space after "=="; 0 found
(#168) Inline control structures are not allowed
(#168) Expected 1 space before "=="; 0 found
(#168) Expected 1 space after "=="; 0 found
(#169) Inline control structures are not allowed
(#169) Expected 1 space before "=="; 0 found
(#169) Expected 1 space after "=="; 0 found
(#170) Inline control structures are not allowed
(#170) Expected 1 space before "=="; 0 found
(#170) Expected 1 space after "=="; 0 found
(#177) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#177) Expected "if (...) {\n"; found "if (...){\n"
(#178) Commas (,) must be followed by white space.
(#178) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#182) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) No space found before comment text; expected "// Get number of questions and correct questions of form" but found "//Get number of questions and correct questions of form"
(#184) Inline control structures are not allowed
(#185) Inline control structures are not allowed
(#186) Inline control structures are not allowed
(#187) Inline control structures are not allowed
(#188) Whitespace found at end of line
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#190) No space found before comment text; expected "// Check student answers" but found "//Check student answers"
(#190) Whitespace found at end of line
(#191) Expected "if (...) {\n"; found "if(...){\n"
(#191) Commas (,) must be followed by white space.
(#192) Commas (,) must be followed by white space.
(#193) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#193) Expected "if (...) {\n"; found "if (...){\n"
(#193) Commas (,) must be followed by white space.
(#194) Commas (,) must be followed by white space.
(#196) Expected "if (...) {\n"; found "if(...){\n"
(#196) Commas (,) must be followed by white space.
(#197) Commas (,) must be followed by white space.
(#198) Expected "} else if (...) {\n"; found "}else if(...){\n"
(#198) Expected "if (...) {\n"; found "if(...){\n"
(#198) Commas (,) must be followed by white space.
(#199) Commas (,) must be followed by white space.
(#201) Expected "if (...) {\n"; found "if(...){\n"
(#201) Commas (,) must be followed by white space.
(#202) Commas (,) must be followed by white space.
(#203) Expected "} else if (...) {\n"; found "}else if(...){\n"
(#203) Expected "if (...) {\n"; found "if(...){\n"
(#203) Commas (,) must be followed by white space.
(#204) Commas (,) must be followed by white space.
(#206) Expected "if (...) {\n"; found "if(...){\n"
(#206) Commas (,) must be followed by white space.
(#207) Commas (,) must be followed by white space.
(#208) Expected "} else if (...) {\n"; found "}else if(...){\n"
(#208) Expected "if (...) {\n"; found "if(...){\n"
(#208) Commas (,) must be followed by white space.
(#209) Commas (,) must be followed by white space.
(#211) Whitespace found at end of line
(#212) Expected "if (...) {\n"; found "if (...){\n"
(#219) Commas (,) must be followed by white space.
(#219) Expected 1 space before "+"; 0 found
(#219) Expected 1 space after "+"; 0 found
(#220) Expected "if (...) {\n"; found "if (...){\n"
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) No space found before comment text; expected "// Add bonus" but found "//Add bonus"
(#222) Commas (,) must be followed by white space.
(#222) Commas (,) must be followed by white space.
(#222) Commas (,) must be followed by white space.
(#226) Commas (,) must be followed by white space.
(#226) Commas (,) must be followed by white space.
(#226) Commas (,) must be followed by white space.
(#226) Commas (,) must be followed by white space.
(#226) Commas (,) must be followed by white space.
(#227) Expected "} else {\n"; found "}else{\n"
(#236) Commas (,) must be followed by white space.
(#236) Commas (,) must be followed by white space.
(#236) Commas (,) must be followed by white space.
(#236) Commas (,) must be followed by white space.
(#238) Expected "} else {\n"; found "}else{\n"
(#242) Expected "if (...) {\n"; found "if (...){\n"
(#246) Expected "if (...) {\n"; found "if (...){\n"
(#250) Expected "if (...) {\n"; found "if (...){\n"
(#254) Expected "if (...) {\n"; found "if (...){\n"
(#258) Whitespace found at end of line
(#259) Expected "if (...) {\n"; found "if (...){\n"
(#263) Whitespace found at end of line
(#266) Expected "for (...) {\n"; found "for(...){\n"
(#266) Expected 1 space after first semicolon of FOR loop; 0 found
(#266) Expected 1 space after second semicolon of FOR loop; 0 found
(#266) Expected 1 space before "="; 0 found
(#266) Expected 1 space after "="; 0 found
(#266) Expected 1 space before "<"; 0 found
(#266) Expected 1 space after "<"; 0 found
(#267) Inline control structures are not allowed
(#267) Expected 1 space before "=="; 0 found
(#267) Expected 1 space after "=="; 0 found
(#268) Inline control structures are not allowed
(#268) Expected 1 space before "=="; 0 found
(#268) Expected 1 space after "=="; 0 found
(#269) Inline control structures are not allowed
(#269) Expected 1 space before "=="; 0 found
(#269) Expected 1 space after "=="; 0 found
(#270) Inline control structures are not allowed
(#270) Expected 1 space before "=="; 0 found
(#270) Expected 1 space after "=="; 0 found
(#272) Expected "for (...) {\n"; found "for(...){\n"
(#272) Expected 1 space after first semicolon of FOR loop; 0 found
(#272) Expected 1 space after second semicolon of FOR loop; 0 found
(#272) Expected 1 space before "="; 0 found
(#272) Expected 1 space after "="; 0 found
(#272) Expected 1 space before "<"; 0 found
(#272) Expected 1 space after "<"; 0 found
(#273) Inline control structures are not allowed
(#273) Expected 1 space before "=="; 0 found
(#273) Expected 1 space after "=="; 0 found
(#274) Inline control structures are not allowed
(#274) Expected 1 space before "=="; 0 found
(#274) Expected 1 space after "=="; 0 found
(#275) Inline control structures are not allowed
(#275) Expected 1 space before "=="; 0 found
(#275) Expected 1 space after "=="; 0 found
(#276) Inline control structures are not allowed
(#276) Expected 1 space before "=="; 0 found
(#276) Expected 1 space after "=="; 0 found
(#283) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#283) Expected "if (...) {\n"; found "if (...){\n"
(#284) Commas (,) must be followed by white space.
(#284) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#292) Whitespace found at end of line
(#293) Variable "answer_norm" must not contain underscores.
(#294) Expected "if (...) {\n"; found "if (...){\n"
(#294) Variable "answer_norm" must not contain underscores.
(#295) Variable "answer_norm" must not contain underscores.
(#298) Commas (,) must be followed by white space.
(#298) Expected 1 space before "+"; 0 found
(#298) Expected 1 space after "+"; 0 found
(#299) Expected "if (...) {\n"; found "if (...){\n"
(#300) Inline comments must end in full-stops, exclamation marks, or question marks
(#300) No space found before comment text; expected "// Add bonus" but found "//Add bonus"
(#301) Commas (,) must be followed by white space.
(#301) Commas (,) must be followed by white space.
(#301) Commas (,) must be followed by white space.
(#304) Commas (,) must be followed by white space.
(#304) Commas (,) must be followed by white space.
(#304) Commas (,) must be followed by white space.
(#304) Commas (,) must be followed by white space.
(#304) Commas (,) must be followed by white space.
(#305) Expected "} else {\n"; found "}else{\n"
(#309) Commas (,) must be followed by white space.
(#309) Commas (,) must be followed by white space.
(#309) Commas (,) must be followed by white space.
(#309) Commas (,) must be followed by white space.
(#311) Expected "} else {\n"; found "}else{\n"
mod/unedtrivial/goquestion1form.php
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) No space found before comment text; expected "// moodleform is defined in formslib.php" but found "//moodleform is defined in formslib.php"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected 4 spaces, found 1
(#30) Line indented incorrectly; expected 4 spaces, found 8
(#31) Line indented incorrectly; expected 4 spaces, found 8
(#32) Line indented incorrectly; expected 4 spaces, found 8
(#33) Line indented incorrectly; expected 4 spaces, found 8
(#34) Line indented incorrectly; expected 4 spaces, found 8
(#35) Line indented incorrectly; expected 4 spaces, found 8
(#36) Whitespace found at end of line
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#39) Whitespace found at end of line
(#40) Commas (,) must be followed by white space.
(#50) Commas (,) must be followed by white space.
(#50) Commas (,) must be followed by white space.
(#50) Commas (,) must be followed by white space.
(#51) Commas (,) must be followed by white space.
(#51) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#53) Commas (,) must be followed by white space.
(#53) Commas (,) must be followed by white space.
(#56) Whitespace found at end of line
(#58) Whitespace found at end of line
(#60) Expected "if (...) {\n"; found "if (...){\n"
(#63) Expected "if (...) {\n"; found "if (...){\n"
(#65) Expected "} else {\n"; found "}else{\n"
(#68) Expected "if (...) {\n"; found "if (...){\n"
(#70) Expected "} else {\n"; found "}else{\n"
(#76) Whitespace found at end of line
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) No space found before comment text; expected "// Custom validation should be added here" but found "//Custom validation should be added here"
(#78) Visibility must be declared on method "validation"
mod/unedtrivial/goquestion2form.php
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) No space found before comment text; expected "// moodleform is defined in formslib.php" but found "//moodleform is defined in formslib.php"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected 4 spaces, found 1
(#30) Line indented incorrectly; expected 4 spaces, found 8
(#31) Line indented incorrectly; expected 4 spaces, found 8
(#32) Line indented incorrectly; expected 4 spaces, found 8
(#33) Line indented incorrectly; expected 4 spaces, found 8
(#34) Line indented incorrectly; expected 4 spaces, found 8
(#35) Whitespace found at end of line
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#38) Whitespace found at end of line
(#39) Commas (,) must be followed by white space.
(#55) Whitespace found at end of line
(#59) Expected "if (...) {\n"; found "if (...){\n"
(#62) Expected "if (...) {\n"; found "if (...){\n"
(#64) Expected "} else {\n"; found "}else{\n"
(#67) Expected "if (...) {\n"; found "if (...){\n"
(#69) Expected "} else {\n"; found "}else{\n"
(#74) Whitespace found at end of line
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) No space found before comment text; expected "// Custom validation should be added here" but found "//Custom validation should be added here"
(#76) Visibility must be declared on method "validation"
mod/unedtrivial/goquestion3form.php
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) No space found before comment text; expected "// moodleform is defined in formslib.php" but found "//moodleform is defined in formslib.php"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected 4 spaces, found 1
(#30) Whitespace found at end of line
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#33) Whitespace found at end of line
(#34) Commas (,) must be followed by white space.
(#44) Whitespace found at end of line
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) No space found before comment text; expected "// Custom validation should be added here" but found "//Custom validation should be added here"
(#46) Visibility must be declared on method "validation"
mod/unedtrivial/grade.php
(#21) Whitespace found at end of line
(#26) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/unedtrivial/lang/en/unedtrivial.php
(#19) Whitespace found at end of line
mod/unedtrivial/lang/es/unedtrivial.php
(#19) Whitespace found at end of line
(#28) Whitespace found at end of line
mod/unedtrivial/lib.php
(#83) Expected "if (...) {\n"; found "if(...){\n"
(#83) Commas (,) must be followed by white space.
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) No space found before comment text; expected "// End of time means that there's no end date for this UNEDTrivial" but found "//End of time means that there's no end date for this UNEDTrivial"
(#85) Whitespace found at end of line
(#113) Expected "if (...) {\n"; found "if(...){\n"
(#113) Commas (,) must be followed by white space.
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) No space found before comment text; expected "// End of time means that there's no end date for this UNEDTrivial" but found "//End of time means that there's no end date for this UNEDTrivial"
(#115) Whitespace found at end of line
(#148) Empty FOREACH statement detected
(#150) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) This comment is 67% valid code; is this commented out code?
(#168) Spaces must be used to indent lines; tabs are not allowed
(#168) Tab found within whitespace
(#168) Whitespace found at end of line
(#174) Commas (,) must be followed by white space.
(#178) Spaces must be used to indent lines; tabs are not allowed
(#178) Tab found within whitespace
(#178) Whitespace found at end of line
(#348) Spaces must be used to indent lines; tabs are not allowed
(#348) Tab found within whitespace
(#348) Line indented incorrectly; expected at least 8 spaces, found 1
(#352) Spaces must be used to indent lines; tabs are not allowed
(#352) Tab found within whitespace
(#352) Line indented incorrectly; expected at least 8 spaces, found 3
(#504) Inline comments must end in full-stops, exclamation marks, or question marks
(#505) Expected 1 space before "=>"; 0 found
(#505) Expected 1 space after "=>"; 0 found
(#508) Inline comments must end in full-stops, exclamation marks, or question marks
(#509) Expected "if (...) {\n"; found "if(...) {\n"
(#510) Expected 1 space after ">="; newline found
(#513) Inline comments must end in full-stops, exclamation marks, or question marks
(#525) Expected 1 space after closing parenthesis; found 0
(#532) Expected "if (...) {\n"; found "if (...){\n"
(#535) Expected "} else {\n"; found "}else{\n"
(#546) Expected 1 space after closing parenthesis; found 0
(#560) Expected 1 space after closing parenthesis; found 0
(#562) Expected "if (...) {\n"; found "if (...){\n"
(#563) Expected 1 space before "/"; 0 found
(#563) Expected 1 space after "/"; 0 found
(#564) Expected "} else {\n"; found "}else{\n"
(#565) Expected "if (...) {\n"; found "if (...){\n"
(#566) Expected 1 space before "/"; 0 found
(#566) Expected 1 space after "/"; 0 found
(#567) Expected "} else {\n"; found "}else{\n"
(#585) Expected 1 space after closing parenthesis; found 0
(#588) Whitespace found at end of line
(#589) Inline comments must end in full-stops, exclamation marks, or question marks
(#589) No space found before comment text; expected "// Is this question closed? (questionstate == timestocomplete)" but found "//Is this question closed? (questionstate == timestocomplete)"
(#596) Expected "if (...) {\n"; found "if (...){\n"
(#597) Variable "ini_time" must not contain underscores.
(#598) Variable "end_time" must not contain underscores.
(#599) Inline comments must end in full-stops, exclamation marks, or question marks
(#599) No space found before comment text; expected "// Is this question answered today" but found "//Is this question answered today"
(#605) Variable "ini_time" must not contain underscores.
(#605) Variable "end_time" must not contain underscores.
(#606) Whitespace found at end of line
(#607) Expected "if (...) {\n"; found "if (...){\n"
(#608) No space found before comment text; expected "// Has user answered all questions today?" but found "//Has user answered all questions today?"
(#610) Expected "if (...) {\n"; found "if (...){\n"
(#612) Expected "} else {\n"; found "}else{\n"
(#615) Expected "} else {\n"; found "}else{\n"
(#618) Expected "} else {\n"; found "}else{\n"
(#624) Whitespace found at end of line
(#629) Expected 1 space after closing parenthesis; found 0
(#631) Whitespace found at end of line
(#632) Variable "ini_time" must not contain underscores.
(#633) Variable "end_time" must not contain underscores.
(#638) Variable "ini_time" must not contain underscores.
(#638) Variable "end_time" must not contain underscores.
(#648) Expected 1 space after closing parenthesis; found 0
(#648) Opening brace must be the last content on the line
(#648) Inline comments must end in full-stops, exclamation marks, or question marks
(#648) This comment is 60% valid code; is this commented out code?
(#648) No space found before comment text; expected "// 22-1434234500-8" but found "//22-1434234500-8"
(#650) Expected "for (...) {\n"; found "for (...){\n"
(#650) Expected 1 space after first semicolon of FOR loop; 0 found
(#650) Expected 1 space after second semicolon of FOR loop; 0 found
(#650) Expected 1 space before "="; 0 found
(#650) Expected 1 space after "="; 0 found
(#650) Expected 1 space before "<"; 0 found
(#650) Expected 1 space after "<"; 0 found
(#651) Expected "if (...) {\n"; found "if (...){\n"
(#655) Variable "completekeyD" must be all lower-case
(#658) Variable "completekeyE" must be all lower-case
(#658) Variable "completekeyD" must be all lower-case
(#659) Variable "completekeyE" must be all lower-case
(#668) Expected 1 space after closing parenthesis; found 0
(#669) Variable "dataE" must be all lower-case
(#670) Variable "checksumE" must be all lower-case
(#673) Variable "dataD" must be all lower-case
(#673) Variable "dataE" must be all lower-case
(#674) Variable "checksumD" must be all lower-case
(#674) Variable "checksumE" must be all lower-case
(#676) Expected "for (...) {\n"; found "for (...){\n"
(#676) Expected 1 space after first semicolon of FOR loop; 0 found
(#676) Expected 1 space after second semicolon of FOR loop; 0 found
(#676) Expected 1 space before "="; 0 found
(#676) Expected 1 space after "="; 0 found
(#676) Expected 1 space before "<"; 0 found
(#676) Expected 1 space after "<"; 0 found
(#676) Variable "dataD" must be all lower-case
(#677) Expected "if (...) {\n"; found "if (...){\n"
(#677) Variable "dataD" must be all lower-case
(#678) Variable "dataD" must be all lower-case
(#681) Whitespace found at end of line
(#682) Expected "if (...) {\n"; found "if (...){ \n"
(#682) Variable "checksumD" must be all lower-case
(#682) Whitespace found at end of line
(#683) Variable "dataD" must be all lower-case
(#684) Expected "} else {\n"; found "}else{\n"
(#696) Expected 1 space after closing parenthesis; found 0
(#699) Whitespace found at end of line
(#700) Commas (,) must be followed by white space.
(#700) Expected 1 space before "=>"; 0 found
(#700) Expected 1 space after "=>"; 0 found
(#700) Commas (,) must be followed by white space.
(#700) Expected 1 space before "=>"; 0 found
(#700) Commas (,) must be followed by white space.
(#700) Line exceeds 132 characters; contains 140 characters
(#706) Expected 1 space after "="; 3 found
(#718) Commas (,) must be followed by white space.
(#719) Expected "if (...) {\n"; found "if (...){\n"
(#721) Commas (,) must be followed by white space.
(#721) Commas (,) must be followed by white space.
(#721) Commas (,) must be followed by white space.
(#721) Commas (,) must be followed by white space.
(#722) Expected "if (...) {\n"; found "if (...){\n"
(#723) The use of function error_log() is forbidden
(#723) Commas (,) must be followed by white space.
(#725) The use of function error_log() is forbidden
(#725) Commas (,) must be followed by white space.
(#727) Expected "} else {\n"; found "}else{\n"
(#728) The use of function error_log() is forbidden
(#728) Commas (,) must be followed by white space.
(#737) Whitespace found at end of line
(#746) Commas (,) must be followed by white space.
(#746) Commas (,) must be followed by white space.
(#746) Commas (,) must be followed by white space.
(#746) Commas (,) must be followed by white space.
(#746) Commas (,) must be followed by white space.
(#746) Expected 1 space after closing parenthesis; found 0
(#747) Expected "if (...) {\n"; found "if (...){\n"
(#748) Inline comments must end in full-stops, exclamation marks, or question marks
(#748) No space found before comment text; expected "// Resume table must be built" but found "//Resume table must be built"
(#749) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#752) Expected "if (...) {\n"; found "if (...){\n"
(#752) Commas (,) must be followed by white space.
(#755) Expected "if (...) {\n"; found "if(...){\n"
(#758) Whitespace found at end of line
(#760) Expected "} else {\n"; found "}else{\n"
(#766) Variable "date_failure_ini" must not contain underscores.
(#766) Expected 1 space before "*"; 0 found
(#766) Expected 1 space after "*"; 0 found
(#767) Variable "date_failure_end" must not contain underscores.
(#767) Variable "date_failure_ini" must not contain underscores.
(#768) Variable "date_success_ini" must not contain underscores.
(#768) Expected 1 space before "*"; 0 found
(#768) Expected 1 space after "*"; 0 found
(#769) Variable "date_success_end" must not contain underscores.
(#769) Variable "date_success_ini" must not contain underscores.
(#773) Variable "available_correct" must not contain underscores.
(#773) Variable "available_incorrect" must not contain underscores.
(#774) Whitespace found at end of line
(#775) Inline comments must end in full-stops, exclamation marks, or question marks
(#775) No space found before comment text; expected "// Now we classify resume table in questions available and closed" but found "//Now we classify resume table in questions available and closed"
(#776) Expected "if (...) {\n"; found "if (...){\n"
(#777) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#778) Expected "if (...) {\n"; found "if (...){\n"
(#780) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#780) Expected "if (...) {\n"; found "if (...){\n"
(#780) Variable "date_failure_end" must not contain underscores.
(#781) Variable "available_incorrect" must not contain underscores.
(#782) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#782) Expected "if (...) {\n"; found "if (...){\n"
(#782) Variable "date_success_end" must not contain underscores.
(#783) Variable "available_correct" must not contain underscores.
(#785) Expected "if (...) {\n"; found "if (...){\n"
(#790) Variable "available_incorrect" must not contain underscores.
(#790) Variable "available_correct" must not contain underscores.
(#792) Expected "} else {\n"; found "}else{\n"
(#793) No space found before comment text; expected "// If user has not answered anything in this UNEDTrivial, there are questions available for sure" but found "//If user has not answered anything in this UNEDTrivial, there are questions available for sure"
(#794) Inline comments must end in full-stops, exclamation marks, or question marks
(#794) No space found before comment text; expected "// (if there is any question, of course)" but found "//(if there is any question, of course)"
(#807) Commas (,) must be followed by white space.
(#807) Commas (,) must be followed by white space.
(#807) Expected 1 space after closing parenthesis; found 0
(#811) Whitespace found at end of line
(#813) Variable "date_failure_ini" must not contain underscores.
(#813) Expected 1 space before "*"; 0 found
(#813) Expected 1 space after "*"; 0 found
(#814) Variable "date_failure_end" must not contain underscores.
(#814) Variable "date_failure_ini" must not contain underscores.
(#815) Variable "date_success_ini" must not contain underscores.
(#815) Expected 1 space before "*"; 0 found
(#815) Expected 1 space after "*"; 0 found
(#816) Variable "date_success_end" must not contain underscores.
(#816) Variable "date_success_ini" must not contain underscores.
(#823) Whitespace found at end of line
(#830) Variable "available_correct" must not contain underscores.
(#830) Variable "available_incorrect" must not contain underscores.
(#831) Inline comments must end in full-stops, exclamation marks, or question marks
(#831) No space found before comment text; expected "// Temp table [questionid,questionstate,questiondate] with lastest results per question" but found "//Temp table [questionid,questionstate,questiondate] with lastest results per question"
(#832) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#835) Expected "if (...) {\n"; found "if(...){\n"
(#838) Whitespace found at end of line
(#840) Expected "} else {\n"; found "}else{\n"
(#845) Inline comments must end in full-stops, exclamation marks, or question marks
(#845) No space found before comment text; expected "// Now we classify temp table in questions available and closed" but found "//Now we classify temp table in questions available and closed"
(#846) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#847) Expected "if (...) {\n"; found "if (...){\n"
(#849) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#849) Expected "if (...) {\n"; found "if (...){\n"
(#849) Variable "date_failure_end" must not contain underscores.
(#850) Variable "available_incorrect" must not contain underscores.
(#851) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#851) Expected "if (...) {\n"; found "if (...){\n"
(#851) Variable "date_success_end" must not contain underscores.
(#852) Variable "available_correct" must not contain underscores.
(#854) Expected "if (...) {\n"; found "if (...){\n"
(#859) Whitespace found at end of line
(#860) Inline comments must end in full-stops, exclamation marks, or question marks
(#860) No space found before comment text; expected "// Firstly we insert incorrect questions" but found "//Firstly we insert incorrect questions"
(#861) Expected "for (...) {\n"; found "for(...){\n"
(#861) Expected 1 space after first semicolon of FOR loop; 0 found
(#861) Expected 1 space after second semicolon of FOR loop; 0 found
(#861) Expected 1 space before "="; 0 found
(#861) Expected 1 space after "="; 0 found
(#861) Expected 1 space before "<"; 0 found
(#861) Expected 1 space after "<"; 0 found
(#861) Commas (,) must be followed by white space.
(#861) Variable "available_incorrect" must not contain underscores.
(#862) Variable "available_incorrect" must not contain underscores.
(#864) Inline comments must end in full-stops, exclamation marks, or question marks
(#864) No space found before comment text; expected "// Now, if necessary, we insert correct questions" but found "//Now, if necessary, we insert correct questions"
(#865) Expected "if (...) {\n"; found "if (...){\n"
(#866) Expected 1 space before "-"; 0 found
(#866) Expected 1 space after "-"; 0 found
(#866) Commas (,) must be followed by white space.
(#866) Variable "available_correct" must not contain underscores.
(#867) Expected "for (...) {\n"; found "for(...){\n"
(#867) Expected 1 space after first semicolon of FOR loop; 0 found
(#867) Expected 1 space after second semicolon of FOR loop; 0 found
(#867) Expected 1 space before "="; 0 found
(#867) Expected 1 space after "="; 0 found
(#867) Expected 1 space before "<"; 0 found
(#867) Expected 1 space after "<"; 0 found
(#868) Variable "available_correct" must not contain underscores.
(#870) Inline comments must end in full-stops, exclamation marks, or question marks
(#870) No space found before comment text; expected "// Finally, we insert new questions" but found "//Finally, we insert new questions"
(#871) Expected "if (...) {\n"; found "if(...){\n"
(#872) Expected 1 space before "+"; 0 found
(#872) Expected 1 space after "+"; 0 found
(#872) Expected 1 space before "+"; 0 found
(#872) Expected 1 space after "+"; 0 found
(#872) Inline comments must end in full-stops, exclamation marks, or question marks
(#872) No space found before comment text; expected "// Random seed is arguments dependant" but found "//Random seed is arguments dependant"
(#878) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#881) Variable "available_all" must not contain underscores.
(#881) Commas (,) must be followed by white space.
(#882) Variable "available_all" must not contain underscores.
(#882) Variable "available_all" must not contain underscores.
(#883) Expected 1 space before "-"; 0 found
(#883) Expected 1 space after "-"; 0 found
(#883) Commas (,) must be followed by white space.
(#883) Variable "available_all" must not contain underscores.
(#884) Whitespace found at end of line
(#885) Expected "for (...) {\n"; found "for(...){\n"
(#885) Expected 1 space after first semicolon of FOR loop; 0 found
(#885) Expected 1 space after second semicolon of FOR loop; 0 found
(#885) Expected 1 space before "="; 0 found
(#885) Expected 1 space after "="; 0 found
(#885) Expected 1 space before "<"; 0 found
(#885) Expected 1 space after "<"; 0 found
(#886) Commas (,) must be followed by white space.
(#886) Variable "available_all" must not contain underscores.
(#886) Expected 1 space before "-"; 0 found
(#886) Expected 1 space after "-"; 0 found
(#887) Variable "available_all" must not contain underscores.
(#888) Variable "available_all" must not contain underscores.
(#888) No space found before comment text; expected "// Delete question selected, to avoid duplicates" but found "//Delete question selected, to avoid duplicates"
(#889) Variable "available_all" must not contain underscores.
(#889) Variable "available_all" must not contain underscores.
(#889) Inline comments must end in full-stops, exclamation marks, or question marks
(#889) No space found before comment text; expected "// Re-sort array" but found "//Re-sort array"
(#892) Whitespace found at end of line
(#893) Expected "for (...) {\n"; found "for (...){\n"
(#893) Expected 1 space after first semicolon of FOR loop; 0 found
(#893) Expected 1 space after second semicolon of FOR loop; 0 found
(#893) Expected 1 space before "="; 0 found
(#893) Expected 1 space after "="; 0 found
(#893) Expected 1 space before "<"; 0 found
(#893) Expected 1 space after "<"; 0 found
(#894) Inline comments must end in full-stops, exclamation marks, or question marks
(#894) No space found before comment text; expected "// This should never happens... fill questions with null value" but found "//This should never happens... fill questions with null value"
(#897) Inline comments must end in full-stops, exclamation marks, or question marks
(#897) No space found before comment text; expected "// Cancel questions if user has answered some today" but found "//Cancel questions if user has answered some today"
(#898) Expected "for (...) {\n"; found "for (...){\n"
(#898) Expected 1 space after first semicolon of FOR loop; 0 found
(#898) Expected 1 space after second semicolon of FOR loop; 0 found
(#898) Expected 1 space before "="; 0 found
(#898) Expected 1 space after "="; 0 found
(#898) Expected 1 space before "-"; 0 found
(#898) Expected 1 space after "-"; 0 found
(#898) Expected 1 space before ">="; 0 found
(#898) Expected 1 space after ">="; 0 found
(#898) Expected 1 space before "-"; 0 found
(#898) Expected 1 space after "-"; 0 found
(#901) Whitespace found at end of line
(#916) Commas (,) must be followed by white space.
(#916) Commas (,) must be followed by white space.
(#916) Commas (,) must be followed by white space.
(#916) Commas (,) must be followed by white space.
(#916) Commas (,) must be followed by white space.
(#916) Expected 1 space after closing parenthesis; found 0
(#917) Commas (,) must be followed by white space.
(#917) Commas (,) must be followed by white space.
(#920) Commas (,) must be followed by white space.
(#922) Whitespace found at end of line
(#923) Inline comments must end in full-stops, exclamation marks, or question marks
(#923) No space found before comment text; expected "// The question" but found "//The question"
(#925) Inline comments must end in full-stops, exclamation marks, or question marks
(#925) No space found before comment text; expected "// Results" but found "//Results"
(#926) Whitespace found at end of line
(#928) Expected "if (...) {\n"; found "if (...){\n"
(#929) Expected "if (...) {\n"; found "if(...){\n"
(#932) Commas (,) must be followed by white space.
(#932) Expected 1 space before "+"; 0 found
(#932) Expected 1 space after "+"; 0 found
(#932) Whitespace found at end of line
(#933) Commas (,) must be followed by white space.
(#935) Expected "} else {\n"; found "}else{\n"
(#937) Commas (,) must be followed by white space.
(#937) Whitespace found at end of line
(#938) Commas (,) must be followed by white space.
(#944) Inline comments must end in full-stops, exclamation marks, or question marks
(#944) No space found before comment text; expected "// Question state" but found "//Question state"
(#947) Expected "if (...) {\n"; found "if (...){\n"
(#948) Whitespace found at end of line
(#949) Expected 1 space before "+"; 0 found
(#949) Expected 1 space after "+"; 0 found
(#949) Expected 1 space before "*"; 0 found
(#949) Expected 1 space after "*"; 0 found
(#949) Whitespace found at end of line
(#951) Expected "} else {\n"; found "}else{\n"
(#953) Expected "if (...) {\n"; found "if (...){\n"
(#954) Inline comments must end in full-stops, exclamation marks, or question marks
(#954) No space found before comment text; expected "// User has completed UNEDTrivial" but found "//User has completed UNEDTrivial"
(#956) Inline comments must end in full-stops, exclamation marks, or question marks
(#956) No space found before comment text; expected "// Update completion state" but found "//Update completion state"
(#958) Expected "if (...) {\n"; found "if(...) {\n"
(#959) Commas (,) must be followed by white space.
(#961) Inline comments must end in full-stops, exclamation marks, or question marks
(#961) No space found before comment text; expected "// And send congratulations email" but found "//And send congratulations email"
(#965) Expected "} else {\n"; found "}else{\n"
(#967) Commas (,) must be followed by white space.
(#967) Commas (,) must be followed by white space.
(#971) Expected "if (...) {\n"; found "if (...){\n"
(#975) Closing brace must be on a line by itself
(#977) Closing brace must be on a line by itself
(#979) Closing brace must be on a line by itself
(#981) Closing brace must be on a line by itself
(#984) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#984) Expected "if (...) {\n"; found "if (...){\n"
(#986) Inline control structures are not allowed
(#987) Inline control structures are not allowed
(#988) Inline control structures are not allowed
(#989) Inline control structures are not allowed
(#991) Expected "} else {\n"; found "}else{\n"
(#993) Expected "if (...) {\n"; found "if (...){\n"
(#1000) Inline comments must end in full-stops, exclamation marks, or question marks
(#1000) No space found before comment text; expected "// Next attempt" but found "//Next attempt"
(#1003) Whitespace found at end of line
(#1004) Expected 1 space before "+"; 0 found
(#1004) Expected 1 space after "+"; 0 found
(#1004) Expected 1 space before "*"; 0 found
(#1004) Expected 1 space after "*"; 0 found
(#1004) Whitespace found at end of line
(#1014) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#1016) Expected "if (...) {\n"; found "if (...){\n"
(#1020) Expected 1 space before "/"; 0 found
(#1020) Expected 1 space after "/"; 0 found
(#1020) Expected 1 space before "*"; 0 found
(#1020) Expected 1 space after "*"; 0 found
(#1022) Whitespace found at end of line
(#1023) Inline comments must end in full-stops, exclamation marks, or question marks
(#1023) No space found before comment text; expected "// Message to teacher" but found "//Message to teacher"
(#1036) Whitespace found at end of line
(#1037) Inline comments must end in full-stops, exclamation marks, or question marks
(#1037) No space found before comment text; expected "// Mini scores table" but found "//Mini scores table"
(#1039) Commas (,) must be followed by white space.
(#1040) Commas (,) must be followed by white space.
(#1041) Commas (,) must be followed by white space.
(#1042) Whitespace found at end of line
(#1043) Expected 1 space before "/"; 0 found
(#1043) Expected 1 space after "/"; 0 found
(#1043) Expected 1 space before "*"; 0 found
(#1043) Expected 1 space after "*"; 0 found
(#1044) Commas (,) must be followed by white space.
(#1047) Whitespace found at end of line
(#1048) Inline comments must end in full-stops, exclamation marks, or question marks
(#1048) No space found before comment text; expected "// Go back button" but found "//Go back button"
(#1049) Whitespace found at end of line
(#1050) Expected 1 space before "=>"; 0 found
(#1050) Expected 1 space after "=>"; 0 found
(#1050) Commas (,) must be followed by white space.
(#1050) Expected 1 space before "=>"; 0 found
(#1050) Expected 1 space after "=>"; 0 found
(#1059) Expected 1 space after closing parenthesis; found 0
(#1060) Commas (,) must be followed by white space.
(#1064) Commas (,) must be followed by white space.
(#1065) Commas (,) must be followed by white space.
(#1070) Expected 1 space after "="; 3 found
(#1074) Commas (,) must be followed by white space.
(#1075) Commas (,) must be followed by white space.
(#1076) Commas (,) must be followed by white space.
(#1079) Whitespace found at end of line
(#1080) Commas (,) must be followed by white space.
(#1080) Commas (,) must be followed by white space.
(#1080) Commas (,) must be followed by white space.
(#1080) Commas (,) must be followed by white space.
(#1089) Commas (,) must be followed by white space.
(#1089) Expected 1 space after closing parenthesis; found 0
(#1091) Whitespace found at end of line
(#1098) Whitespace found at end of line
(#1099) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1099) This comment is 69% valid code; is this commented out code?
(#1099) No space found before comment text; expected "// reset array keys (0,1,2,3....)" but found "//reset array keys (0,1,2,3....)"
(#1101) Expected "if (...) {\n"; found "if (...){\n"
(#1102) Commas (,) must be followed by white space.
(#1102) Expected 1 space before "-"; 0 found
(#1102) Expected 1 space after "-"; 0 found
(#1103) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1103) Expected "if (...) {\n"; found "if (...){\n"
(#1103) Expected 1 space before "-"; 0 found
(#1103) Expected 1 space after "-"; 0 found
(#1104) Commas (,) must be followed by white space.
(#1104) Expected 1 space before "-"; 0 found
(#1104) Expected 1 space after "-"; 0 found
(#1104) Expected 1 space before "-"; 0 found
(#1104) Expected 1 space after "-"; 0 found
(#1105) Expected "} else {\n"; found "}else{\n"
(#1106) Expected 1 space before "-"; 0 found
(#1106) Expected 1 space after "-"; 0 found
(#1106) Expected 1 space before "+"; 0 found
(#1106) Expected 1 space after "+"; 0 found
(#1109) Expected "for (...) {\n"; found "for (...){\n"
(#1109) Expected 1 space after first semicolon of FOR loop; 0 found
(#1109) Expected 1 space after second semicolon of FOR loop; 0 found
(#1109) Expected 1 space before "="; 0 found
(#1109) Expected 1 space after "="; 0 found
(#1109) Expected 1 space before "<="; 0 found
(#1109) Expected 1 space after "<="; 0 found
(#1112) Whitespace found at end of line
(#1118) Expected "foreach (...) {\n"; found "foreach(...) { \n"
(#1118) Whitespace found at end of line
(#1120) Expected "if (...) {\n"; found "if (...){\n"
(#1124) Expected "} else {\n"; found "}else{\n"
(#1133) Whitespace found at end of line
(#1136) Expected 1 space after closing parenthesis; found 0
(#1140) Whitespace found at end of line
(#1143) Expected "for (...) {\n"; found "for(...) {\n"
(#1143) Expected 1 space after first semicolon of FOR loop; 0 found
(#1143) Expected 1 space after second semicolon of FOR loop; 0 found
(#1143) Expected 1 space before "="; 0 found
(#1143) Expected 1 space after "="; 0 found
(#1143) Expected 1 space before "<"; 0 found
(#1143) Expected 1 space after "<"; 0 found
(#1147) Expected "for (...) {\n"; found "for(...) {\n"
(#1147) Expected 1 space after first semicolon of FOR loop; 0 found
(#1147) Expected 1 space after second semicolon of FOR loop; 0 found
(#1147) Expected 1 space before "="; 0 found
(#1147) Expected 1 space after "="; 0 found
(#1147) Expected 1 space before "<"; 0 found
(#1147) Expected 1 space after "<"; 0 found
(#1155) Whitespace found at end of line
(#1159) Commas (,) must be followed by white space.
(#1159) Expected 1 space after closing parenthesis; found 0
(#1160) Whitespace found at end of line
(#1165) Expected "for (...) {\n"; found "for(...) {\n"
(#1165) Expected 1 space after first semicolon of FOR loop; 0 found
(#1165) Expected 1 space after second semicolon of FOR loop; 0 found
(#1165) Expected 1 space before "="; 0 found
(#1165) Expected 1 space after "="; 0 found
(#1165) Expected 1 space before "<"; 0 found
(#1165) Expected 1 space after "<"; 0 found
(#1169) Expected "for (...) {\n"; found "for(...) {\n"
(#1169) Expected 1 space after first semicolon of FOR loop; 0 found
(#1169) Expected 1 space after second semicolon of FOR loop; 0 found
(#1169) Expected 1 space before "="; 0 found
(#1169) Expected 1 space after "="; 0 found
(#1169) Expected 1 space before "<"; 0 found
(#1169) Expected 1 space after "<"; 0 found
(#1177) Whitespace found at end of line
(#1181) Commas (,) must be followed by white space.
(#1181) Expected 1 space after closing parenthesis; found 0
(#1183) Whitespace found at end of line
(#1187) Commas (,) must be followed by white space.
(#1193) Whitespace found at end of line
(#1196) Expected 1 space after closing parenthesis; found 0
(#1198) Whitespace found at end of line
(#1210) Commas (,) must be followed by white space.
(#1210) Expected 1 space after closing parenthesis; found 0
(#1216) Whitespace found at end of line
(#1217) Commas (,) must be followed by white space.
(#1217) Commas (,) must be followed by white space.
(#1218) Whitespace found at end of line
(#1224) Whitespace found at end of line
(#1227) Expected 1 space after closing parenthesis; found 0
(#1229) Whitespace found at end of line
(#1238) Whitespace found at end of line
(#1243) Commas (,) must be followed by white space.
(#1243) Commas (,) must be followed by white space.
(#1243) Expected 1 space after closing parenthesis; found 0
(#1245) Whitespace found at end of line
(#1246) Expected "if (...) {\n"; found "if (...){\n"
(#1251) Expected "} else {\n"; found "}else{\n"
(#1257) Commas (,) must be followed by white space.
(#1257) Commas (,) must be followed by white space.
(#1265) Whitespace found at end of line
(#1268) Expected 1 space after closing parenthesis; found 0
(#1270) Whitespace found at end of line
(#1274) Whitespace found at end of line
(#1276) Whitespace found at end of line
(#1279) Expected 1 space before "+"; 0 found
(#1279) Expected 1 space after "+"; 0 found
(#1280) Expected "if (...) {\n"; found "if (...){\n"
(#1282) Expected "} else {\n"; found "}else{\n"
(#1283) Expected 1 space before "/"; 0 found
(#1283) Expected 1 space after "/"; 0 found
(#1283) Expected 1 space before "*"; 0 found
(#1283) Expected 1 space after "*"; 0 found
(#1289) Whitespace found at end of line
(#1295) Commas (,) must be followed by white space.
(#1295) Commas (,) must be followed by white space.
(#1295) Commas (,) must be followed by white space.
(#1295) Expected 1 space after closing parenthesis; found 0
(#1296) Whitespace found at end of line
(#1297) Whitespace found at end of line
(#1299) Commas (,) must be followed by white space.
(#1299) Commas (,) must be followed by white space.
(#1299) Commas (,) must be followed by white space.
(#1299) Commas (,) must be followed by white space.
(#1300) Expected 1 space before "+"; 0 found
(#1300) Expected 1 space after "+"; 0 found
(#1300) Expected 1 space before "+"; 0 found
(#1300) Expected 1 space after "+"; 0 found
(#1300) Expected 1 space before "+"; 0 found
(#1300) Expected 1 space after "+"; 0 found
(#1301) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1301) Inline comments must end in full-stops, exclamation marks, or question marks
(#1301) No space found before comment text; expected "// "Give up risk" will be absorbed by "Progressing"" but found "//"Give up risk" will be absorbed by "Progressing""
(#1302) Commas (,) must be followed by white space.
(#1303) Inline comments must end in full-stops, exclamation marks, or question marks
(#1303) No space found before comment text; expected "// Generate table" but found "//Generate table"
(#1305) Commas (,) must be followed by white space.
(#1305) Commas (,) must be followed by white space.
(#1305) Commas (,) must be followed by white space.
(#1306) Variable "bMail" must be all lower-case
(#1306) Whitespace found at end of line
(#1307) Commas (,) must be followed by white space.
(#1308) Commas (,) must be followed by white space.
(#1309) Commas (,) must be followed by white space.
(#1309) Commas (,) must be followed by white space.
(#1310) Expected 1 space before "/"; 0 found
(#1310) Expected 1 space after "/"; 0 found
(#1310) Expected 1 space before "*"; 0 found
(#1310) Expected 1 space after "*"; 0 found
(#1311) Variable "bMail" must be all lower-case
(#1312) Variable "bMail" must be all lower-case
(#1312) Whitespace found at end of line
(#1313) Commas (,) must be followed by white space.
(#1314) Commas (,) must be followed by white space.
(#1315) Commas (,) must be followed by white space.
(#1315) Commas (,) must be followed by white space.
(#1316) Expected 1 space before "/"; 0 found
(#1316) Expected 1 space after "/"; 0 found
(#1316) Expected 1 space before "*"; 0 found
(#1316) Expected 1 space after "*"; 0 found
(#1317) Variable "bMail" must be all lower-case
(#1318) Variable "bMail" must be all lower-case
(#1318) Whitespace found at end of line
(#1319) Commas (,) must be followed by white space.
(#1320) Commas (,) must be followed by white space.
(#1321) Commas (,) must be followed by white space.
(#1321) Commas (,) must be followed by white space.
(#1322) Expected 1 space before "/"; 0 found
(#1322) Expected 1 space after "/"; 0 found
(#1322) Expected 1 space before "*"; 0 found
(#1322) Expected 1 space after "*"; 0 found
(#1323) Variable "bMail" must be all lower-case
(#1324) Inline comments must end in full-stops, exclamation marks, or question marks
(#1324) No space found before comment text; expected "// Generate chart (if Moodle version is 3.2 or upper)" but found "//Generate chart (if Moodle version is 3.2 or upper)"
(#1325) Expected "if (...) {\n"; found "if (...){\n"
(#1325) Commas (,) must be followed by white space.
(#1325) Commas (,) must be followed by white space.
(#1328) Commas (,) must be followed by white space.
(#1329) Commas (,) must be followed by white space.
(#1329) Commas (,) must be followed by white space.
(#1331) Commas (,) must be followed by white space.
(#1332) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1332) Inline comments must end in full-stops, exclamation marks, or question marks
(#1332) This comment is 75% valid code; is this commented out code?
(#1332) Line indented incorrectly; expected at least 8 spaces, found 0
(#1332) Expected 1 space before comment text but found 33; use block comment if you need indentation
(#1333) Commas (,) must be followed by white space.
(#1334) Commas (,) must be followed by white space.
(#1343) Whitespace found at end of line
(#1346) Commas (,) must be followed by white space.
(#1346) Commas (,) must be followed by white space.
(#1346) Commas (,) must be followed by white space.
(#1346) Commas (,) must be followed by white space.
(#1346) Expected 1 space after closing parenthesis; found 0
(#1348) Whitespace found at end of line
(#1358) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#1359) Commas (,) must be followed by white space.
(#1359) Commas (,) must be followed by white space.
(#1359) Commas (,) must be followed by white space.
(#1378) Whitespace found at end of line
(#1384) Commas (,) must be followed by white space.
(#1384) Expected 1 space after closing parenthesis; found 0
(#1386) Whitespace found at end of line
(#1390) Whitespace found at end of line
(#1392) Whitespace found at end of line
(#1395) Expected 1 space before "+"; 0 found
(#1395) Expected 1 space after "+"; 0 found
(#1396) Expected 1 space before "+"; 0 found
(#1396) Expected 1 space after "+"; 0 found
(#1398) Expected "if (...) {\n"; found "if (...){\n"
(#1399) Expected 1 space before "/"; 0 found
(#1399) Expected 1 space after "/"; 0 found
(#1399) Expected 1 space before "*"; 0 found
(#1399) Expected 1 space after "*"; 0 found
(#1400) Expected 1 space before "/"; 0 found
(#1400) Expected 1 space after "/"; 0 found
(#1400) Expected 1 space before "*"; 0 found
(#1400) Expected 1 space after "*"; 0 found
(#1402) Expected "if (...) {\n"; found "if (...){\n"
(#1403) Expected 1 space before "/"; 0 found
(#1403) Expected 1 space after "/"; 0 found
(#1403) Expected 1 space before "*"; 0 found
(#1403) Expected 1 space after "*"; 0 found
(#1404) Expected 1 space before "/"; 0 found
(#1404) Expected 1 space after "/"; 0 found
(#1404) Expected 1 space before "*"; 0 found
(#1404) Expected 1 space after "*"; 0 found
(#1406) Whitespace found at end of line
(#1407) Inline comments must end in full-stops, exclamation marks, or question marks
(#1407) No space found before comment text; expected "// Generate table" but found "//Generate table"
(#1409) Commas (,) must be followed by white space.
(#1409) Commas (,) must be followed by white space.
(#1410) Commas (,) must be followed by white space.
(#1411) Commas (,) must be followed by white space.
(#1412) Commas (,) must be followed by white space.
(#1413) Commas (,) must be followed by white space.
(#1414) Commas (,) must be followed by white space.
(#1415) Commas (,) must be followed by white space.
(#1416) Commas (,) must be followed by white space.
(#1417) Commas (,) must be followed by white space.
(#1418) Whitespace found at end of line
(#1419) Inline comments must end in full-stops, exclamation marks, or question marks
(#1419) No space found before comment text; expected "// Generate chart (if Moodle version is 3.2 or upper)" but found "//Generate chart (if Moodle version is 3.2 or upper)"
(#1420) Expected "if (...) {\n"; found "if (...){\n"
(#1420) Commas (,) must be followed by white space.
(#1420) Commas (,) must be followed by white space.
(#1422) Commas (,) must be followed by white space.
(#1426) Commas (,) must be followed by white space.
(#1427) Commas (,) must be followed by white space.
(#1429) Commas (,) must be followed by white space.
(#1430) Commas (,) must be followed by white space.
(#1432) Whitespace found at end of line
(#1433) Inline comments must end in full-stops, exclamation marks, or question marks
(#1433) No space found before comment text; expected "// Generate performance improvement index" but found "//Generate performance improvement index"
(#1434) Expected "if (...) {\n"; found "if (...){\n"
(#1435) Expected 1 space before "-"; 0 found
(#1435) Expected 1 space after "-"; 0 found
(#1435) Expected 1 space before "/"; 0 found
(#1435) Expected 1 space after "/"; 0 found
(#1435) Expected 1 space before "*"; 0 found
(#1435) Expected 1 space after "*"; 0 found
(#1436) Expected "} else {\n"; found "}else{\n"
(#1443) Whitespace found at end of line
(#1450) Commas (,) must be followed by white space.
(#1450) Commas (,) must be followed by white space.
(#1450) Commas (,) must be followed by white space.
(#1450) Commas (,) must be followed by white space.
(#1450) Expected 1 space after closing parenthesis; found 0
(#1453) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#1454) Expected "if (...) {\n"; found "if (...){\n"
(#1455) Inline comments must end in full-stops, exclamation marks, or question marks
(#1455) No space found before comment text; expected "// This is the first line" but found "//This is the first line"
(#1457) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1457) Expected "if (...) {\n"; found "if (...){\n"
(#1458) Inline comments must end in full-stops, exclamation marks, or question marks
(#1458) No space found before comment text; expected "// Check results" but found "//Check results"
(#1466) Inline comments must end in full-stops, exclamation marks, or question marks
(#1466) No space found before comment text; expected "// Store results" but found "//Store results"
(#1467) Expected "if (...) {\n"; found "if (...){\n"
(#1468) Expected "if (...) {\n"; found "if (...){\n"
(#1470) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1470) Expected "if (...) {\n"; found "if (...){\n"
(#1473) Expected "} else {\n"; found "}else{\n"
(#1474) Expected "if (...) {\n"; found "if (...){\n"
(#1476) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1476) Expected "if (...) {\n"; found "if (...){\n"
(#1481) Inline comments must end in full-stops, exclamation marks, or question marks
(#1481) No space found before comment text; expected "// Check results (again, for last user in table)" but found "//Check results (again, for last user in table)"
(#1490) Whitespace found at end of line
(#1498) Commas (,) must be followed by white space.
(#1498) Commas (,) must be followed by white space.
(#1498) Commas (,) must be followed by white space.
(#1498) Commas (,) must be followed by white space.
(#1498) Commas (,) must be followed by white space.
(#1498) Expected 1 space after closing parenthesis; found 0
(#1500) Whitespace found at end of line
(#1501) Expected 1 space before "-"; 0 found
(#1501) Expected 1 space after "-"; 0 found
(#1501) Expected 1 space before "/"; 0 found
(#1501) Expected 1 space after "/"; 0 found
(#1502) Commas (,) must be followed by white space.
(#1502) Inline comments must end in full-stops, exclamation marks, or question marks
(#1502) No space found before comment text; expected "// To avoid DIV 0" but found "//To avoid DIV 0"
(#1507) Commas (,) must be followed by white space.
(#1509) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#1510) Expected "if (...) {\n"; found "if (...){\n"
(#1511) Inline comments must end in full-stops, exclamation marks, or question marks
(#1511) No space found before comment text; expected "// If user has answered any question before, is an inactive user" but found "//If user has answered any question before, is an inactive user"
(#1517) Commas (,) must be followed by white space.
(#1518) Expected "if (...) {\n"; found "if (...){\n"
(#1521) Expected "} else {\n"; found "}else{\n"
(#1522) Expected 1 space before "/"; 0 found
(#1522) Expected 1 space after "/"; 0 found
(#1522) Expected 1 space before "*"; 0 found
(#1522) Expected 1 space after "*"; 0 found
(#1523) Expected "if (...) {\n"; found "if (...){\n"
(#1525) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1525) Expected "if (...) {\n"; found "if (...){\n"
(#1527) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1527) Expected "if (...) {\n"; found "if (...){\n"
(#1532) Expected 1 space before "+"; 0 found
(#1532) Expected 1 space after "+"; 0 found
(#1532) Expected 1 space before "+"; 0 found
(#1532) Expected 1 space after "+"; 0 found
(#1532) Expected 1 space before "+"; 0 found
(#1532) Expected 1 space after "+"; 0 found
(#1533) Commas (,) must be followed by white space.
(#1534) Inline comments must end in full-stops, exclamation marks, or question marks
(#1534) No space found before comment text; expected "// Generate table" but found "//Generate table"
(#1536) Commas (,) must be followed by white space.
(#1536) Commas (,) must be followed by white space.
(#1536) Commas (,) must be followed by white space.
(#1537) Variable "bMail" must be all lower-case
(#1537) Whitespace found at end of line
(#1538) Commas (,) must be followed by white space.
(#1539) Commas (,) must be followed by white space.
(#1540) Commas (,) must be followed by white space.
(#1540) Commas (,) must be followed by white space.
(#1541) Expected 1 space before "/"; 0 found
(#1541) Expected 1 space after "/"; 0 found
(#1541) Expected 1 space before "*"; 0 found
(#1541) Expected 1 space after "*"; 0 found
(#1542) Variable "bMail" must be all lower-case
(#1543) Variable "bMail" must be all lower-case
(#1543) Whitespace found at end of line
(#1544) Commas (,) must be followed by white space.
(#1545) Commas (,) must be followed by white space.
(#1546) Commas (,) must be followed by white space.
(#1546) Commas (,) must be followed by white space.
(#1547) Expected 1 space before "/"; 0 found
(#1547) Expected 1 space after "/"; 0 found
(#1547) Expected 1 space before "*"; 0 found
(#1547) Expected 1 space after "*"; 0 found
(#1548) Variable "bMail" must be all lower-case
(#1549) Variable "bMail" must be all lower-case
(#1549) Whitespace found at end of line
(#1550) Commas (,) must be followed by white space.
(#1551) Commas (,) must be followed by white space.
(#1552) Commas (,) must be followed by white space.
(#1552) Commas (,) must be followed by white space.
(#1553) Expected 1 space before "/"; 0 found
(#1553) Expected 1 space after "/"; 0 found
(#1553) Expected 1 space before "*"; 0 found
(#1553) Expected 1 space after "*"; 0 found
(#1554) Variable "bMail" must be all lower-case
(#1555) Variable "bMail" must be all lower-case
(#1555) Whitespace found at end of line
(#1556) Commas (,) must be followed by white space.
(#1557) Commas (,) must be followed by white space.
(#1558) Commas (,) must be followed by white space.
(#1558) Commas (,) must be followed by white space.
(#1559) Expected 1 space before "/"; 0 found
(#1559) Expected 1 space after "/"; 0 found
(#1559) Expected 1 space before "*"; 0 found
(#1559) Expected 1 space after "*"; 0 found
(#1560) Variable "bMail" must be all lower-case
(#1561) Commas (,) must be followed by white space.
(#1561) Commas (,) must be followed by white space.
(#1561) Commas (,) must be followed by white space.
(#1561) Commas (,) must be followed by white space.
(#1562) Inline comments must end in full-stops, exclamation marks, or question marks
(#1562) No space found before comment text; expected "// Generate chart (if Moodle version is 3.2 or upper)" but found "//Generate chart (if Moodle version is 3.2 or upper)"
(#1563) Expected "if (...) {\n"; found "if (...){\n"
(#1563) Commas (,) must be followed by white space.
(#1563) Commas (,) must be followed by white space.
(#1567) Commas (,) must be followed by white space.
(#1567) Commas (,) must be followed by white space.
(#1567) Commas (,) must be followed by white space.
(#1569) Commas (,) must be followed by white space.
(#1570) Commas (,) must be followed by white space.
(#1571) Commas (,) must be followed by white space.
(#1572) Commas (,) must be followed by white space.
(#1578) Whitespace found at end of line
(#1583) Commas (,) must be followed by white space.
(#1583) Commas (,) must be followed by white space.
(#1583) Expected 1 space after closing parenthesis; found 0
(#1585) Whitespace found at end of line
(#1594) Whitespace found at end of line
(#1600) Commas (,) must be followed by white space.
(#1601) Expected 1 space before "-"; 0 found
(#1601) Expected 1 space after "-"; 0 found
(#1601) Expected 1 space before "/"; 0 found
(#1601) Expected 1 space after "/"; 0 found
(#1602) Commas (,) must be followed by white space.
(#1602) Inline comments must end in full-stops, exclamation marks, or question marks
(#1602) No space found before comment text; expected "// To avoid DIV 0" but found "//To avoid DIV 0"
(#1610) Commas (,) must be followed by white space.
(#1611) Commas (,) must be followed by white space.
(#1612) Commas (,) must be followed by white space.
(#1613) Commas (,) must be followed by white space.
(#1614) Expected "foreach (...) {\n"; found "foreach(...) { \n"
(#1614) Whitespace found at end of line
(#1615) Commas (,) must be followed by white space.
(#1615) Commas (,) must be followed by white space.
(#1615) Commas (,) must be followed by white space.
(#1629) Whitespace found at end of line
(#1633) Commas (,) must be followed by white space.
(#1634) Expected "if (...) {\n"; found "if (...){\n"
(#1636) Expected "} else {\n"; found "}else{\n"
(#1637) Expected 1 space before "/"; 0 found
(#1637) Expected 1 space after "/"; 0 found
(#1637) Expected 1 space before "*"; 0 found
(#1637) Expected 1 space after "*"; 0 found
(#1639) Whitespace found at end of line
(#1640) Commas (,) must be followed by white space.
(#1640) Commas (,) must be followed by white space.
(#1640) Commas (,) must be followed by white space.
(#1642) Commas (,) must be followed by white space.
(#1642) Commas (,) must be followed by white space.
(#1644) Expected "if (...) {\n"; found "if (...){\n"
(#1645) Commas (,) must be followed by white space.
(#1645) Expected 1 space before "=>"; 0 found
(#1645) Expected 1 space after "=>"; 0 found
(#1646) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1646) Expected "if (...) {\n"; found "if (...){\n"
(#1647) Commas (,) must be followed by white space.
(#1647) Expected 1 space before "=>"; 0 found
(#1647) Expected 1 space after "=>"; 0 found
(#1648) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1648) Expected "if (...) {\n"; found "if (...){\n"
(#1649) Commas (,) must be followed by white space.
(#1649) Expected 1 space before "=>"; 0 found
(#1649) Expected 1 space after "=>"; 0 found
(#1651) Inline comments must end in full-stops, exclamation marks, or question marks
(#1651) No space found before comment text; expected "// We put now the names" but found "//We put now the names"
(#1652) Expected "for (...) {\n"; found "for(...){\n"
(#1652) Expected 1 space after first semicolon of FOR loop; 0 found
(#1652) Expected 1 space after second semicolon of FOR loop; 0 found
(#1652) Expected 1 space before "="; 0 found
(#1652) Expected 1 space after "="; 0 found
(#1652) Expected 1 space before "<"; 0 found
(#1652) Expected 1 space after "<"; 0 found
(#1653) Expected "if (...) {\n"; found "if (...){\n"
(#1654) Commas (,) must be followed by white space.
(#1655) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1655) Expected "if (...) {\n"; found "if (...){\n"
(#1656) Commas (,) must be followed by white space.
(#1657) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1657) Expected "if (...) {\n"; found "if (...){\n"
(#1658) Commas (,) must be followed by white space.
(#1659) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1659) Expected "if (...) {\n"; found "if (...){\n"
(#1660) Commas (,) must be followed by white space.
(#1662) Expected "if (...) {\n"; found "if (...){\n"
(#1663) Commas (,) must be followed by white space.
(#1664) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1664) Expected "if (...) {\n"; found "if (...){\n"
(#1665) Commas (,) must be followed by white space.
(#1666) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1666) Expected "if (...) {\n"; found "if (...){\n"
(#1667) Commas (,) must be followed by white space.
(#1668) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1668) Expected "if (...) {\n"; found "if (...){\n"
(#1669) Commas (,) must be followed by white space.
(#1677) Whitespace found at end of line
(#1683) Expected 1 space after closing parenthesis; found 0
(#1685) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#1686) Expected "if (...) {\n"; found "if (...){\n"
(#1687) Inline comments must end in full-stops, exclamation marks, or question marks
(#1687) No space found before comment text; expected "// Store results" but found "//Store results"
(#1688) Expected "if (...) {\n"; found "if (...){\n"
(#1689) Expected "if (...) {\n"; found "if (...){\n"
(#1691) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1691) Expected "if (...) {\n"; found "if (...){\n"
(#1694) Expected "} else {\n"; found "}else{\n"
(#1695) Expected "if (...) {\n"; found "if (...){\n"
(#1697) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1697) Expected "if (...) {\n"; found "if (...){\n"
(#1701) Expected "if (...) {\n"; found "if (...){\n"
(#1701) Commas (,) must be followed by white space.
(#1704) Expected "if (...) {\n"; found "if (...){\n"
(#1709) Inline comments must end in full-stops, exclamation marks, or question marks
(#1709) No space found before comment text; expected "// Check results" but found "//Check results"
(#1714) Expected 1 space before "+"; 0 found
(#1714) Expected 1 space after "+"; 0 found
(#1715) Expected 1 space before "+"; 0 found
(#1715) Expected 1 space after "+"; 0 found
(#1716) Expected "if (...) {\n"; found "if (...){\n"
(#1717) Expected 1 space before "/"; 0 found
(#1717) Expected 1 space after "/"; 0 found
(#1717) Expected 1 space before "*"; 0 found
(#1717) Expected 1 space after "*"; 0 found
(#1718) Expected "} else {\n"; found "}else{\n"
(#1721) Expected "if (...) {\n"; found "if (...){\n"
(#1722) Expected 1 space before "/"; 0 found
(#1722) Expected 1 space after "/"; 0 found
(#1722) Expected 1 space before "*"; 0 found
(#1722) Expected 1 space after "*"; 0 found
(#1723) Expected "if (...) {\n"; found "if (...){\n"
(#1724) Expected 1 space before "-"; 0 found
(#1724) Expected 1 space after "-"; 0 found
(#1725) Expected "} else {\n"; found "}else{\n"
(#1728) Expected "} else {\n"; found "}else{\n"
(#1731) Whitespace found at end of line
(#1732) Whitespace found at end of line
(#1733) Expected "if (...) {\n"; found "if (...){\n"
(#1734) Commas (,) must be followed by white space.
(#1735) Expected "} else {\n"; found "}else{\n"
(#1736) Commas (,) must be followed by white space.
(#1738) Expected "if (...) {\n"; found "if (...){\n"
(#1739) Commas (,) must be followed by white space.
(#1740) Expected "} else {\n"; found "}else{\n"
(#1741) Commas (,) must be followed by white space.
(#1743) Expected "if (...) {\n"; found "if (...){\n"
(#1744) Commas (,) must be followed by white space.
(#1745) Expected "} else {\n"; found "}else{\n"
(#1746) Commas (,) must be followed by white space.
(#1748) Commas (,) must be followed by white space.
(#1748) Whitespace found at end of line
(#1749) Commas (,) must be followed by white space.
(#1750) Commas (,) must be followed by white space.
(#1751) Commas (,) must be followed by white space.
(#1757) Whitespace found at end of line
(#1763) Expected 1 space after closing parenthesis; found 0
(#1767) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#1768) Expected "if (...) {\n"; found "if (...){\n"
(#1773) Expected "if (...) {\n"; found "if (...){\n"
(#1775) Expected "} else {\n"; found "}else{\n"
(#1779) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#1780) Expected "if (...) {\n"; found "if (...){\n"
(#1784) Whitespace found at end of line
(#1785) Expected "if (...) {\n"; found "if (...){\n"
(#1787) Usage of ELSEIF not allowed; use ELSE IF instead
(#1789) Expected "} else {\n"; found "}else{\n"
(#1790) Expected "if (...) {\n"; found "if (...){\n"
(#1790) Expected 1 space before "-"; 0 found
(#1790) Expected 1 space after "-"; 0 found
(#1792) Expected "} else {\n"; found "}else{\n"
(#1800) Whitespace found at end of line
(#1805) Commas (,) must be followed by white space.
(#1805) Commas (,) must be followed by white space.
(#1805) Expected 1 space after closing parenthesis; found 0
(#1807) Whitespace found at end of line
(#1814) Whitespace found at end of line
(#1816) Whitespace found at end of line
(#1832) Commas (,) must be followed by white space.
(#1833) Commas (,) must be followed by white space.
(#1834) Commas (,) must be followed by white space.
(#1835) Commas (,) must be followed by white space.
(#1836) Commas (,) must be followed by white space.
(#1837) Commas (,) must be followed by white space.
(#1838) Commas (,) must be followed by white space.
(#1839) Commas (,) must be followed by white space.
(#1840) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#1844) Expected "if (...) {\n"; found "if (...){\n"
(#1845) Commas (,) must be followed by white space.
(#1845) Commas (,) must be followed by white space.
(#1845) Commas (,) must be followed by white space.
(#1847) Commas (,) must be followed by white space.
(#1847) Commas (,) must be followed by white space.
(#1848) Commas (,) must be followed by white space.
(#1848) Commas (,) must be followed by white space.
(#1849) Expected "if (...) {\n"; found "if (...){\n"
(#1850) Expected 1 space before "/"; 0 found
(#1850) Expected 1 space after "/"; 0 found
(#1850) Commas (,) must be followed by white space.
(#1850) Commas (,) must be followed by white space.
(#1851) Expected "} else {\n"; found "}else{\n"
(#1852) Commas (,) must be followed by white space.
(#1854) Commas (,) must be followed by white space.
(#1854) Commas (,) must be followed by white space.
(#1854) Commas (,) must be followed by white space.
(#1855) Commas (,) must be followed by white space.
(#1855) Commas (,) must be followed by white space.
(#1856) Commas (,) must be followed by white space.
(#1856) Commas (,) must be followed by white space.
(#1857) Variable "aux_all1st" must not contain underscores.
(#1857) Commas (,) must be followed by white space.
(#1857) Commas (,) must be followed by white space.
(#1858) Variable "aux_all2nd" must not contain underscores.
(#1858) Commas (,) must be followed by white space.
(#1858) Commas (,) must be followed by white space.
(#1859) Expected "if (...) {\n"; found "if (...){\n"
(#1859) Variable "aux_all1st" must not contain underscores.
(#1860) Expected 1 space before "/"; 0 found
(#1860) Expected 1 space after "/"; 0 found
(#1860) Variable "aux_all1st" must not contain underscores.
(#1860) Expected 1 space before "*"; 0 found
(#1860) Expected 1 space after "*"; 0 found
(#1862) Expected "if (...) {\n"; found "if (...){\n"
(#1862) Variable "aux_all2nd" must not contain underscores.
(#1863) Expected 1 space before "/"; 0 found
(#1863) Expected 1 space after "/"; 0 found
(#1863) Variable "aux_all2nd" must not contain underscores.
(#1863) Expected 1 space before "*"; 0 found
(#1863) Expected 1 space after "*"; 0 found
(#1865) Expected "if (...) {\n"; found "if (...){\n"
(#1866) Expected 1 space before "-"; 0 found
(#1866) Expected 1 space after "-"; 0 found
(#1868) Whitespace found at end of line
(#1869) Commas (,) must be followed by white space.
(#1869) Commas (,) must be followed by white space.
(#1869) Commas (,) must be followed by white space.
(#1869) Commas (,) must be followed by white space.
(#1870) Commas (,) must be followed by white space.
(#1870) Commas (,) must be followed by white space.
(#1874) Commas (,) must be followed by white space.
(#1874) Expected 1 space before "=>"; 0 found
(#1874) Expected 1 space after "=>"; 0 found
(#1874) Closing brace must be on a line by itself
(#1876) Commas (,) must be followed by white space.
(#1876) Expected 1 space before "=>"; 0 found
(#1876) Expected 1 space after "=>"; 0 found
(#1876) Closing brace must be on a line by itself
(#1878) Commas (,) must be followed by white space.
(#1878) Expected 1 space before "=>"; 0 found
(#1878) Expected 1 space after "=>"; 0 found
(#1878) Closing brace must be on a line by itself
(#1880) Commas (,) must be followed by white space.
(#1880) Expected 1 space before "=>"; 0 found
(#1880) Expected 1 space after "=>"; 0 found
(#1880) Closing brace must be on a line by itself
(#1882) Commas (,) must be followed by white space.
(#1882) Expected 1 space before "=>"; 0 found
(#1882) Expected 1 space after "=>"; 0 found
(#1882) Closing brace must be on a line by itself
(#1884) Commas (,) must be followed by white space.
(#1884) Expected 1 space before "=>"; 0 found
(#1884) Expected 1 space after "=>"; 0 found
(#1884) Closing brace must be on a line by itself
(#1886) Commas (,) must be followed by white space.
(#1886) Expected 1 space before "=>"; 0 found
(#1886) Expected 1 space after "=>"; 0 found
(#1886) Closing brace must be on a line by itself
(#1888) Inline comments must end in full-stops, exclamation marks, or question marks
(#1888) No space found before comment text; expected "// We put now the % symbol" but found "//We put now the % symbol"
(#1889) Expected "for (...) {\n"; found "for(...){\n"
(#1889) Expected 1 space after first semicolon of FOR loop; 0 found
(#1889) Expected 1 space after second semicolon of FOR loop; 0 found
(#1889) Expected 1 space before "="; 0 found
(#1889) Expected 1 space after "="; 0 found
(#1889) Expected 1 space before "<"; 0 found
(#1889) Expected 1 space after "<"; 0 found
(#1890) Expected "if (...) {\n"; found "if (...){\n"
(#1892) Expected "} else {\n"; found "}else{\n"
(#1895) Expected "if (...) {\n"; found "if (...){\n"
(#1898) Expected "} else {\n"; found "}else{\n"
(#1903) Whitespace found at end of line
(#1909) Whitespace found at end of line
(#1915) Commas (,) must be followed by white space.
(#1915) Commas (,) must be followed by white space.
(#1915) Commas (,) must be followed by white space.
(#1915) Expected 1 space after closing parenthesis; found 0
(#1920) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#1921) Expected "if (...) {\n"; found "if (...){\n"
(#1928) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#1929) Expected "if (...) {\n"; found "if (...){\n"
(#1937) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#1938) Expected "if (...) {\n"; found "if (...){\n"
(#1939) Inline control structures are not allowed
(#1943) Expected "if (...) {\n"; found "if (...){\n"
(#1947) Inline control structures are not allowed
(#1947) Inline comments must end in full-stops, exclamation marks, or question marks
(#1947) No space found before comment text; expected "// For last userid of table" but found "//For last userid of table"
(#1952) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#1953) Expected "if (...) {\n"; found "if (...){\n"
(#1954) Inline control structures are not allowed
(#1958) Expected "if (...) {\n"; found "if (...){\n"
(#1959) Expected "if (...) {\n"; found "if (...){\n"
(#1964) Inline control structures are not allowed
(#1964) Inline comments must end in full-stops, exclamation marks, or question marks
(#1964) No space found before comment text; expected "// For last userid of table" but found "//For last userid of table"
(#1969) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#1970) Expected "if (...) {\n"; found "if (...){\n"
(#1971) Inline control structures are not allowed
(#1975) Expected "if (...) {\n"; found "if (...){\n"
(#1977) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1977) Expected "if (...) {\n"; found "if (...){\n"
(#1981) Inline control structures are not allowed
(#1981) Inline comments must end in full-stops, exclamation marks, or question marks
(#1981) No space found before comment text; expected "// For last userid of table" but found "//For last userid of table"
(#1986) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#1987) Expected "if (...) {\n"; found "if (...){\n"
(#1988) Inline control structures are not allowed
(#1992) Expected "if (...) {\n"; found "if (...){\n"
(#1993) Expected "if (...) {\n"; found "if (...){\n"
(#1996) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#1996) Expected "if (...) {\n"; found "if (...){\n"
(#1997) Expected "if (...) {\n"; found "if (...){\n"
(#2002) Inline control structures are not allowed
(#2002) Inline comments must end in full-stops, exclamation marks, or question marks
(#2002) No space found before comment text; expected "// For last userid of table" but found "//For last userid of table"
(#2005) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#2006) Expected "if (...) {\n"; found "if (...){\n"
(#2021) Opening brace should be on the same line as the declaration
(#2025) Expected "foreach (...) {\n"; found "foreach (...) { "
(#2025) Closing brace must be on a line by itself
(#2031) Commas (,) must be followed by white space.
(#2031) Commas (,) must be followed by white space.
(#2032) The use of function eval() is forbidden
(#2036) Commas (,) must be followed by white space.
(#2037) Inline control structures are not allowed
(#2048) Expected 1 space after closing parenthesis; found 0
(#2049) Commas (,) must be followed by white space.
(#2051) Expected "while (...) {\n"; found "while(...){\n"
(#2065) Commas (,) must be followed by white space.
(#2065) Commas (,) must be followed by white space.
(#2065) Commas (,) must be followed by white space.
(#2065) Expected 1 space after closing parenthesis; found 0
(#2067) Whitespace found at end of line
(#2072) Commas (,) must be followed by white space.
(#2072) Commas (,) must be followed by white space.
(#2079) Whitespace found at end of line
(#2084) Commas (,) must be followed by white space.
(#2084) Commas (,) must be followed by white space.
(#2084) Expected 1 space after closing parenthesis; found 0
(#2086) Whitespace found at end of line
(#2087) Variable "toUser" must be all lower-case
(#2088) Expected "if (...) {\n"; found "if (...){\n"
(#2099) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#2100) Expected "if (...) {\n"; found "if (...){\n"
(#2102) Expected "} else {\n"; found "}else{\n"
(#2104) Expected "if (...) {\n"; found "if (...){\n"
(#2106) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#2106) Expected "if (...) {\n"; found "if (...){\n"
(#2108) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#2108) Expected "if (...) {\n"; found "if (...){\n"
(#2110) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#2110) Expected "if (...) {\n"; found "if (...){\n"
(#2114) Expected "if (...) {\n"; found "if (...){\n"
(#2115) Expected "if (...) {\n"; found "if (...){\n"
(#2115) Variable "toUser" must be all lower-case
(#2116) Variable "toUser" must be all lower-case
(#2117) Expected "} else {\n"; found "}else{\n"
(#2118) Variable "toUser" must be all lower-case
(#2118) Variable "toUser" must be all lower-case
(#2123) Expected "} else {\n"; found "}else{\n"
(#2124) Commas (,) must be followed by white space.
(#2124) Commas (,) must be followed by white space.
(#2125) Commas (,) must be followed by white space.
(#2125) Commas (,) must be followed by white space.
(#2128) Closing brace must be on a line by itself
(#2130) Expected 1 space before "*"; 0 found
(#2130) Expected 1 space after "*"; 0 found
(#2130) Closing brace must be on a line by itself
(#2132) Expected 1 space before "*"; 0 found
(#2132) Expected 1 space after "*"; 0 found
(#2132) Closing brace must be on a line by itself
(#2134) Expected 1 space before "*"; 0 found
(#2134) Expected 1 space after "*"; 0 found
(#2134) Closing brace must be on a line by itself
(#2136) Expected 1 space before "*"; 0 found
(#2136) Expected 1 space after "*"; 0 found
(#2136) Closing brace must be on a line by itself
(#2138) Commas (,) must be followed by white space.
(#2141) Whitespace found at end of line
(#2144) Commas (,) must be followed by white space.
(#2145) Expected 1 space before "-"; 0 found
(#2145) Expected 1 space after "-"; 0 found
(#2145) Expected 1 space before "/"; 0 found
(#2145) Expected 1 space after "/"; 0 found
(#2146) Commas (,) must be followed by white space.
(#2146) Inline comments must end in full-stops, exclamation marks, or question marks
(#2146) No space found before comment text; expected "// To avoid DIV 0" but found "//To avoid DIV 0"
(#2148) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#2149) Expected "if (...) {\n"; found "if (...){\n"
(#2151) Expected "} else {\n"; found "}else{\n"
(#2152) Expected 1 space before "/"; 0 found
(#2152) Expected 1 space after "/"; 0 found
(#2152) Expected 1 space before "*"; 0 found
(#2152) Expected 1 space after "*"; 0 found
(#2153) Expected "if (...) {\n"; found "if (...){\n"
(#2155) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#2155) Expected "if (...) {\n"; found "if (...){\n"
(#2157) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#2157) Expected "if (...) {\n"; found "if (...){\n"
(#2161) Expected "if (...) {\n"; found "if (...){\n"
(#2162) Expected "if (...) {\n"; found "if (...){\n"
(#2162) Variable "toUser" must be all lower-case
(#2163) Variable "toUser" must be all lower-case
(#2164) Expected "} else {\n"; found "}else{\n"
(#2165) Variable "toUser" must be all lower-case
(#2165) Variable "toUser" must be all lower-case
(#2171) Variable "toUser" must be all lower-case
(#2176) Whitespace found at end of line
(#2183) Commas (,) must be followed by white space.
(#2183) Commas (,) must be followed by white space.
(#2183) Commas (,) must be followed by white space.
(#2183) Commas (,) must be followed by white space.
(#2183) Expected 1 space after closing parenthesis; found 0
(#2186) Expected "if (...) {\n"; found "if (...){\n"
(#2187) Inline comments must end in full-stops, exclamation marks, or question marks
(#2187) No space found before comment text; expected "// Use Moodle SMTP configuration" but found "//Use Moodle SMTP configuration"
(#2202) Expected "while (...) {\n"; found "while(...){\n"
(#2207) Expected "if (...) {\n"; found "if (...){\n"
(#2210) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#2210) Expected "if (...) {\n"; found "if (...){\n"
(#2225) Expected "while (...) {\n"; found "while(...){\n"
(#2230) Expected "if (...) {\n"; found "if (...){\n"
(#2233) Expected "} else {\n"; found "}else{\n"
(#2234) Expected "if (...) {\n"; found "if (...){\n"
(#2234) Commas (,) must be followed by white space.
(#2234) Commas (,) must be followed by white space.
(#2234) Commas (,) must be followed by white space.
(#2244) Whitespace found at end of line
(#2247) Commas (,) must be followed by white space.
(#2247) Expected 1 space after closing parenthesis; found 0
(#2248) Expected "if (...) {\n"; found "if (...){\n"
(#2253) Expected "} else {\n"; found "}else{\n"
(#2261) Whitespace found at end of line
(#2264) function name "unedtrivial_toASCII" must be lower-case letters only
(#2264) Expected 1 space after closing parenthesis; found 0
(#2265) Whitespace found at end of line
(#2267) Line exceeds 132 characters; contains 150 characters
mod/unedtrivial/loadform.php
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) No space found before comment text; expected "// moodleform is defined in formslib.php" but found "//moodleform is defined in formslib.php"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected 4 spaces, found 1
(#30) Whitespace found at end of line
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#33) Whitespace found at end of line
(#34) Commas (,) must be followed by white space.
(#37) Commas (,) must be followed by white space.
(#39) Whitespace found at end of line
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) No space found before comment text; expected "// Custom validation should be added here" but found "//Custom validation should be added here"
(#41) Visibility must be declared on method "validation"
mod/unedtrivial/loadquestions.php
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#36) Whitespace found at end of line
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) No space found before comment text; expected "// Students can't stay here" but found "//Students can't stay here"
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Commas (,) must be followed by white space.
(#79) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#81) Expected "if (...) {\n"; found "if (...){\n"
(#83) Expected "} else if (...) {\n"; found "}else if (...) {\n"
(#85) Expected "if (...) {\n"; found "if (...){\n"
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) No space found before comment text; expected "// XML files are considered Moodle XML format files" but found "//XML files are considered Moodle XML format files"
(#90) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) No space found before comment text; expected "// Categories are not used" but found "//Categories are not used"
(#92) Expected "if (...) {\n"; found "if (...){\n"
(#104) Expected "if (...) {\n"; found "if (...){\n"
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) No space found before comment text; expected "// SHORT ANSWER" but found "//SHORT ANSWER"
(#109) Expected "if (...) {\n"; found "if (...){\n"
(#114) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#114) Expected "if (...) {\n"; found "if (...){\n"
(#115) Expected "if (...) {\n"; found "if (...){\n"
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) No space found before comment text; expected "// SINGLE CHOICE ANSWER" but found "//SINGLE CHOICE ANSWER"
(#120) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#121) Expected "if (...) {\n"; found "if (...){\n"
(#123) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#123) Expected "if (...) {\n"; found "if (...){\n"
(#125) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#125) Expected "if (...) {\n"; found "if (...){\n"
(#127) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#127) Expected "if (...) {\n"; found "if (...){\n"
(#130) Expected "if (...) {\n"; found "if (...){\n"
(#135) Expected "if (...) {\n"; found "if (...){\n"
(#140) Expected "} else {\n"; found "}else{\n"
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) No space found before comment text; expected "// MULTIPLE CHOICE ANSWER" but found "//MULTIPLE CHOICE ANSWER"
(#146) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#147) Expected "if (...) {\n"; found "if (...){\n"
(#149) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#149) Expected "if (...) {\n"; found "if (...){\n"
(#151) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#151) Expected "if (...) {\n"; found "if (...){\n"
(#153) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#153) Expected "if (...) {\n"; found "if (...){\n"
(#156) Expected "if (...) {\n"; found "if (...){\n"
(#161) Expected "if (...) {\n"; found "if (...){\n"
(#175) Expected "} else {\n"; found "}else{\n"
(#176) Inline comments must end in full-stops, exclamation marks, or question marks
(#176) No space found before comment text; expected "// In other case, the file is considered as internal UNEDTrivial format" but found "//In other case, the file is considered as internal UNEDTrivial format"
(#187) Expected "if (...) {\n"; found "if (...){\n"
(#187) Commas (,) must be followed by white space.
(#187) Commas (,) must be followed by white space.
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) No space found before comment text; expected "// Single answer question" but found "//Single answer question"
(#190) Commas (,) must be followed by white space.
(#192) Expected "if (...) {\n"; found "if(...){\n"
(#192) Commas (,) must be followed by white space.
(#192) Commas (,) must be followed by white space.
(#193) Commas (,) must be followed by white space.
(#194) Expected "} else {\n"; found "}else{\n"
(#198) Expected "if (...) {\n"; found "if(...){\n"
(#198) Commas (,) must be followed by white space.
(#198) Commas (,) must be followed by white space.
(#199) Commas (,) must be followed by white space.
(#200) Expected "} else {\n"; found "}else{\n"
(#204) Expected "if (...) {\n"; found "if(...){\n"
(#204) Commas (,) must be followed by white space.
(#204) Commas (,) must be followed by white space.
(#205) Commas (,) must be followed by white space.
(#207) Expected "} else {\n"; found "}else{\n"
(#210) Expected "if (...) {\n"; found "if(...){\n"
(#210) Commas (,) must be followed by white space.
(#210) Commas (,) must be followed by white space.
(#211) Commas (,) must be followed by white space.
(#213) Expected "} else {\n"; found "}else{\n"
(#216) Expected "if (...) {\n"; found "if(...){\n"
(#216) Commas (,) must be followed by white space.
(#216) Commas (,) must be followed by white space.
(#219) Expected "} else {\n"; found "}else{\n"
(#222) Expected "if (...) {\n"; found "if(...){\n"
(#222) Commas (,) must be followed by white space.
(#222) Commas (,) must be followed by white space.
(#223) Commas (,) must be followed by white space.
(#224) Expected "if (...) {\n"; found "if (...){\n"
(#228) Expected "} else {\n"; found "}else{\n"
(#232) Expected "if (...) {\n"; found "if(...){\n"
(#232) Commas (,) must be followed by white space.
(#232) Commas (,) must be followed by white space.
(#233) Commas (,) must be followed by white space.
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) No space found before comment text; expected "// Question ready --> insert into questions array" but found "//Question ready --> insert into questions array"
(#236) Expected "} else {\n"; found "}else{\n"
(#239) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#239) Expected "if (...) {\n"; found "if (...){\n"
(#239) Commas (,) must be followed by white space.
(#239) Commas (,) must be followed by white space.
(#240) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) No space found before comment text; expected "// Multiple answer question" but found "//Multiple answer question"
(#242) Commas (,) must be followed by white space.
(#244) Expected "if (...) {\n"; found "if(...){\n"
(#244) Commas (,) must be followed by white space.
(#244) Commas (,) must be followed by white space.
(#245) Commas (,) must be followed by white space.
(#246) Expected "} else {\n"; found "}else{\n"
(#250) Expected "if (...) {\n"; found "if(...){\n"
(#250) Commas (,) must be followed by white space.
(#250) Commas (,) must be followed by white space.
(#251) Commas (,) must be followed by white space.
(#252) Expected "} else {\n"; found "}else{\n"
(#256) Expected "if (...) {\n"; found "if(...){\n"
(#256) Commas (,) must be followed by white space.
(#256) Commas (,) must be followed by white space.
(#257) Commas (,) must be followed by white space.
(#259) Expected "} else {\n"; found "}else{\n"
(#262) Expected "if (...) {\n"; found "if(...){\n"
(#262) Commas (,) must be followed by white space.
(#262) Commas (,) must be followed by white space.
(#263) Commas (,) must be followed by white space.
(#265) Expected "} else {\n"; found "}else{\n"
(#268) Expected "if (...) {\n"; found "if(...){\n"
(#268) Commas (,) must be followed by white space.
(#268) Commas (,) must be followed by white space.
(#269) Whitespace found at end of line
(#271) Expected "} else {\n"; found "}else{\n"
(#274) Expected "if (...) {\n"; found "if(...){\n"
(#274) Commas (,) must be followed by white space.
(#274) Commas (,) must be followed by white space.
(#275) Commas (,) must be followed by white space.
(#276) Expected "if (...) {\n"; found "if (...){\n"
(#278) Expected "} else {\n"; found "}else{\n"
(#279) Expected "for (...) {\n"; found "for(...){\n"
(#279) Expected 1 space after first semicolon of FOR loop; 0 found
(#279) Expected 1 space after second semicolon of FOR loop; 0 found
(#279) Expected 1 space before "="; 0 found
(#279) Expected 1 space after "="; 0 found
(#279) Expected 1 space before "<"; 0 found
(#279) Expected 1 space after "<"; 0 found
(#280) Expected "if (...) {\n"; found "if (...){\n"
(#280) Whitespace found at end of line
(#286) Expected "} else {\n"; found "}else{\n"
(#290) Expected "if (...) {\n"; found "if(...){\n"
(#290) Commas (,) must be followed by white space.
(#290) Commas (,) must be followed by white space.
(#291) Commas (,) must be followed by white space.
(#292) Inline comments must end in full-stops, exclamation marks, or question marks
(#292) No space found before comment text; expected "// Question ready --> insert into questions array" but found "//Question ready --> insert into questions array"
(#294) Expected "} else {\n"; found "}else{\n"
(#297) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#297) Expected "if (...) {\n"; found "if (...){\n"
(#297) Commas (,) must be followed by white space.
(#297) Commas (,) must be followed by white space.
(#298) Inline comments must end in full-stops, exclamation marks, or question marks
(#298) No space found before comment text; expected "// Short answer question" but found "//Short answer question"
(#300) Commas (,) must be followed by white space.
(#302) Expected "if (...) {\n"; found "if (...){\n"
(#302) Commas (,) must be followed by white space.
(#302) Commas (,) must be followed by white space.
(#303) Commas (,) must be followed by white space.
(#308) Expected "} else {\n"; found "}else{\n"
(#313) Expected "if (...) {\n"; found "if(...){\n"
(#313) Commas (,) must be followed by white space.
(#313) Commas (,) must be followed by white space.
(#314) Commas (,) must be followed by white space.
(#315) Expected "if (...) {\n"; found "if (...){\n"
(#317) Expected "} else {\n"; found "}else{\n"
(#320) Expected "} else {\n"; found "}else{\n"
(#324) Expected "if (...) {\n"; found "if(...){\n"
(#324) Commas (,) must be followed by white space.
(#324) Commas (,) must be followed by white space.
(#325) Commas (,) must be followed by white space.
(#326) Inline comments must end in full-stops, exclamation marks, or question marks
(#326) No space found before comment text; expected "// Question ready --> insert into questions array" but found "//Question ready --> insert into questions array"
(#328) Expected "} else {\n"; found "}else{\n"
(#331) Expected "} else {\n"; found "}else{\n"
(#336) Expected "while (...) {\n"; found "while(...){\n"
(#341) Expected "if (...) {\n"; found "if (...){\n"
(#342) Expected 1 space before "+"; 0 found
(#342) Expected 1 space after "+"; 0 found
(#346) Expected "} else {\n"; found "}else{\n"
(#354) Expected "} else {\n"; found "}else{\n"
(#355) Inline comments must start with a capital letter, digit or 3-dots sequence
(#355) Inline comments must end in full-stops, exclamation marks, or question marks
(#355) No space found before comment text; expected "// displays the form" but found "//displays the form"
(#356) Commas (,) must be followed by white space.
(#357) Commas (,) must be followed by white space.
(#357) Whitespace found at end of line
(#358) Commas (,) must be followed by white space.
(#359) Expected "if (...) {\n"; found "if (...){\n"
(#361) Commas (,) must be followed by white space.
(#361) Whitespace found at end of line
(#362) Whitespace found at end of line
(#363) Expected "} else {\n"; found "}else{\n"
(#365) Commas (,) must be followed by white space.
(#365) Whitespace found at end of line
(#366) Whitespace found at end of line
(#368) Whitespace found at end of line
mod/unedtrivial/maildestiny.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) This comment is 60% valid code; is this commented out code?
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) No space found before comment text; expected "// $event = \mod_unedtrivial\event\course_module_viewed::create(array(" but found "//$event = \mod_unedtrivial\event\course_module_viewed::create(array("
(#39) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#40) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#41) No space found before comment text; expected "// ));" but found "//));"
(#42) No space found before comment text; expected "// $event->add_record_snapshot('course', $PAGE->course);" but found "//$event->add_record_snapshot('course', $PAGE->course);"
(#43) No space found before comment text; expected "// $event->add_record_snapshot($PAGE->cm->modname, $newmodule);" but found "//$event->add_record_snapshot($PAGE->cm->modname, $newmodule);"
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) No space found before comment text; expected "// $event->trigger();" but found "//$event->trigger();"
(#57) Expected "if (...) {\n"; found "if (...){\n"
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#57) Whitespace found at end of line
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) No space found before comment text; expected "// Date is correct" but found "//Date is correct"
(#62) Commas (,) must be followed by white space.
(#62) Commas (,) must be followed by white space.
(#64) Expected "for (...) {\n"; found "for(...){\n"
(#64) Expected 1 space after first semicolon of FOR loop; 0 found
(#64) Expected 1 space after second semicolon of FOR loop; 0 found
(#64) Expected 1 space before "="; 0 found
(#64) Expected 1 space after "="; 0 found
(#64) Expected 1 space before "<"; 0 found
(#64) Expected 1 space after "<"; 0 found
(#65) Expected "if (...) {\n"; found "if (...){\n"
(#68) Expected 1 space before "+"; 0 found
(#68) Expected 1 space after "+"; 0 found
(#69) Expected "} else {\n"; found "}else{\n"
(#73) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#73) Expected "if (...) {\n"; found "if (...){\n"
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) No space found before comment text; expected "// Email not registered in this UNEDTrivial" but found "//Email not registered in this UNEDTrivial"
(#76) Whitespace found at end of line
(#77) Expected 1 space before "=>"; 0 found
(#77) Expected 1 space after "=>"; 0 found
(#77) Commas (,) must be followed by white space.
(#77) Expected 1 space before "=>"; 0 found
(#77) Expected 1 space after "=>"; 0 found
(#78) Expected "} else {\n"; found "}else{\n"
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) No space found before comment text; expected "// Date is incorrect" but found "//Date is incorrect"
(#81) Whitespace found at end of line
(#82) Expected 1 space before "=>"; 0 found
(#82) Expected 1 space after "=>"; 0 found
(#82) Commas (,) must be followed by white space.
(#82) Expected 1 space before "=>"; 0 found
(#82) Expected 1 space after "=>"; 0 found
mod/unedtrivial/managequestions.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Whitespace found at end of line
(#33) Whitespace found at end of line
(#37) Commas (,) must be followed by white space.
(#37) Commas (,) must be followed by white space.
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) No space found before comment text; expected "// Students can't stay here" but found "//Students can't stay here"
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) No space found before comment text; expected "// Look for unedtrivial questions" but found "//Look for unedtrivial questions"
(#81) Expected "if (...) {\n"; found "if (...){\n"
(#85) Expected "} else {\n"; found "}else{\n"
(#92) Commas (,) must be followed by white space.
(#92) Commas (,) must be followed by white space.
(#96) Commas (,) must be followed by white space.
(#96) Expected 1 space before "=>"; 0 found
(#96) Expected 1 space after "=>"; 0 found
(#99) Commas (,) must be followed by white space.
(#99) Commas (,) must be followed by white space.
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#101) Commas (,) must be followed by white space.
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#102) Expected "} else {\n"; found "}else{\n"
(#108) Commas (,) must be followed by white space.
(#108) Commas (,) must be followed by white space.
(#110) Expected "foreach (...) {\n"; found "foreach(...) { \n"
(#110) Whitespace found at end of line
(#111) Variable "bEdit" must be all lower-case
(#111) Line exceeds 132 characters; contains 145 characters
(#113) Variable "bDelete" must be all lower-case
(#113) Line exceeds 132 characters; contains 147 characters
(#115) Variable "bDelete" must be all lower-case
(#115) Commas (,) must be followed by white space.
(#117) Expected "if (...) {\n"; found "if (...){\n"
(#118) Commas (,) must be followed by white space.
(#118) Commas (,) must be followed by white space.
(#118) Commas (,) must be followed by white space.
(#120) Expected "if (...) {\n"; found "if (...){\n"
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) This comment is 58% valid code; is this commented out code?
(#121) No space found before comment text; expected "// $row->qtype = get_string('singleanswer', 'unedtrivial');" but found "//$row->qtype = get_string('singleanswer', 'unedtrivial');"
(#123) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#123) Expected "if (...) {\n"; found "if (...){\n"
(#124) Inline comments must start with a capital letter, digit or 3-dots sequence
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) This comment is 58% valid code; is this commented out code?
(#124) No space found before comment text; expected "// $row->qtype = get_string('multipleanswer', 'unedtrivial');" but found "//$row->qtype = get_string('multipleanswer', 'unedtrivial');"
(#126) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#126) Expected "if (...) {\n"; found "if (...){\n"
(#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
(#127) This comment is 58% valid code; is this commented out code?
(#127) No space found before comment text; expected "// $row->qtype = get_string('shortanswer', 'unedtrivial');" but found "//$row->qtype = get_string('shortanswer', 'unedtrivial');"
(#130) Commas (,) must be followed by white space.
(#130) Commas (,) must be followed by white space.
(#130) Variable "bEdit" must be all lower-case
(#130) Commas (,) must be followed by white space.
(#130) Variable "bDelete" must be all lower-case
(#133) Commas (,) must be followed by white space.
(#133) Commas (,) must be followed by white space.
(#135) Line exceeds 132 characters; contains 146 characters
(#137) Line exceeds 132 characters; contains 134 characters
(#139) Line exceeds 132 characters; contains 134 characters
(#143) Commas (,) must be followed by white space.
(#143) Commas (,) must be followed by white space.
mod/unedtrivial/mod_form.php
(#37) Expected "if (...) {\n"; found "if (...){\n"
(#40) Commas (,) must be followed by white space.
(#41) Expected "} else {\n"; found "}else{\n"
(#42) Line indented incorrectly; expected at least 12 spaces, found 11
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#60) Whitespace found at end of line
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected 8 spaces, found 2
(#64) Closing brace indented incorrectly; expected 2 spaces, found 8
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Whitespace found at end of line
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) This comment is 73% valid code; is this commented out code?
(#70) No space found before comment text; expected "// $mform->addElement('text', 'enddate', get_string('enddate', 'unedtrivial'), array('size' => '64'));" but found "//$mform->addElement('text', 'enddate', get_string('enddate', 'unedtrivial'), array('size' => '64'));"
(#72) Commas (,) must be followed by white space.
(#74) Commas (,) must be followed by white space.
(#74) Line exceeds 132 characters; contains 153 characters
(#75) Commas (,) must be followed by white space.
(#76) Commas (,) must be followed by white space.
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) No space found before comment text; expected "// Lock certain options if this activity has been started before" but found "//Lock certain options if this activity has been started before"
(#79) Expected "if (...) {\n"; found "if (...){\n"
(#80) Commas (,) must be followed by white space.
(#83) Commas (,) must be followed by white space.
(#86) Commas (,) must be followed by white space.
(#89) Commas (,) must be followed by white space.
(#92) Commas (,) must be followed by white space.
(#95) Commas (,) must be followed by white space.
(#98) Expected "} else {\n"; found "}else{\n"
(#99) Commas (,) must be followed by white space.
(#102) Commas (,) must be followed by white space.
(#105) Commas (,) must be followed by white space.
(#108) Commas (,) must be followed by white space.
(#111) Commas (,) must be followed by white space.
(#114) Commas (,) must be followed by white space.
(#118) Commas (,) must be followed by white space.
(#121) Whitespace found at end of line
(#122) This comment is 74% valid code; is this commented out code?
(#122) Inline comments must start with a capital letter, digit or 3-dots sequence
(#122) No space found before comment text; expected "// $mform->addRule('enddate', null, 'required', null, 'client');" but found "//$mform->addRule('enddate', null, 'required', null, 'client');"
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) This comment is 75% valid code; is this commented out code?
(#123) No space found before comment text; expected "// $mform->addElement('static', 'label2', 'newmodulesetting2', 'Your unedtrivial fields go here. Replace me!');" but found "//$mform->addElement('static', 'label2', 'newmodulesetting2', 'Your unedtrivial fields go here. Replace me!');"
(#134) Whitespace found at end of line
(#136) Whitespace found at end of line
(#138) Expected "if (...) {\n"; found "if (...){\n"
(#142) Whitespace found at end of line
(#143) Visibility must be declared on method "add_completion_rules"
(#146) Commas (,) must be followed by white space.
(#152) Visibility must be declared on method "completion_rule_enabled"
mod/unedtrivial/question1form.php
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) No space found before comment text; expected "// moodleform is defined in formslib.php" but found "//moodleform is defined in formslib.php"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Spaces must be used to indent lines; tabs are not allowed
(#30) Tab found within whitespace
(#30) Line indented incorrectly; expected 4 spaces, found 1
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#33) Whitespace found at end of line
(#39) Commas (,) must be followed by white space.
(#39) Commas (,) must be followed by white space.
(#41) Commas (,) must be followed by white space.
(#45) Commas (,) must be followed by white space.
(#45) Commas (,) must be followed by white space.
(#50) Commas (,) must be followed by white space.
(#50) Commas (,) must be followed by white space.
(#55) Commas (,) must be followed by white space.
(#55) Commas (,) must be followed by white space.
(#59) Whitespace found at end of line
(#64) Whitespace found at end of line
(#65) Commas (,) must be followed by white space.
(#67) Whitespace found at end of line
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) No space found before comment text; expected "// Custom validation should be added here" but found "//Custom validation should be added here"
(#69) Visibility must be declared on method "validation"
(#70) Whitespace found at end of line
(#73) Expected "if (...) {\n"; found "if (...){\n"
(#76) Expected "if (...) {\n"; found "if (...){\n"
(#79) Expected "if (...) {\n"; found "if (...){\n"
(#82) Expected "if (...) {\n"; found "if (...){\n"
(#85) Whitespace found at end of line
(#86) Expected "if (...) {\n"; found "if (...){\n"
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#88) Line indented incorrectly; expected at least 12 spaces, found 3
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#90) Whitespace found at end of line
(#91) Expected "if (...) {\n"; found "if(...){\n"
mod/unedtrivial/question2form.php
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) No space found before comment text; expected "// moodleform is defined in formslib.php" but found "//moodleform is defined in formslib.php"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected 4 spaces, found 1
(#30) Spaces must be used to indent lines; tabs are not allowed
(#30) Tab found within whitespace
(#30) Whitespace found at end of line
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#33) Whitespace found at end of line
(#58) Whitespace found at end of line
(#63) Whitespace found at end of line
(#64) Commas (,) must be followed by white space.
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) No space found before comment text; expected "// Custom validation should be added here" but found "//Custom validation should be added here"
(#67) Visibility must be declared on method "validation"
(#70) Expected "if (...) {\n"; found "if (...){\n"
(#73) Expected "if (...) {\n"; found "if (...){\n"
(#76) Expected "if (...) {\n"; found "if (...){\n"
(#79) Expected "if (...) {\n"; found "if (...){\n"
(#82) Expected "if (...) {\n"; found "if (...){\n"
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected at least 12 spaces, found 3
(#86) Expected "if (...) {\n"; found "if (...){\n"
(#86) Commas (,) must be followed by white space.
(#86) Commas (,) must be followed by white space.
(#86) Whitespace found at end of line
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected at least 12 spaces, found 3
(#91) Expected "if (...) {\n"; found "if (...){\n"
(#91) Commas (,) must be followed by white space.
(#91) Commas (,) must be followed by white space.
(#91) Line exceeds 132 characters; contains 139 characters
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Line indented incorrectly; expected at least 8 spaces, found 3
(#92) Commas (,) must be followed by white space.
(#92) Commas (,) must be followed by white space.
mod/unedtrivial/question3form.php
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) No space found before comment text; expected "// moodleform is defined in formslib.php" but found "//moodleform is defined in formslib.php"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected 4 spaces, found 1
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#32) Whitespace found at end of line
(#40) Whitespace found at end of line
(#44) Whitespace found at end of line
(#45) Commas (,) must be followed by white space.
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) No space found before comment text; expected "// Custom validation should be added here" but found "//Custom validation should be added here"
(#48) Visibility must be declared on method "validation"
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected at least 8 spaces, found 1
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Whitespace found at end of line
(#52) Expected 1 space after closing parenthesis; found 0
(#53) Line exceeds 132 characters; contains 142 characters
mod/unedtrivial/ranking.php
(#32) Spaces must be used to indent lines; tabs are not allowed
(#32) Tab found within whitespace
(#32) Whitespace found at end of line
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) No space found before comment text; expected "// See highscores" but found "//See highscores"
(#85) Expected "foreach (...) {\n"; found "foreach(...) { \n"
(#85) Whitespace found at end of line
(#87) Expected "if (...) {\n"; found "if (...){\n"
(#88) Whitespace found at end of line
(#89) Whitespace found at end of line
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#90) Commas (,) must be followed by white space.
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#90) Commas (,) must be followed by white space.
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#90) Whitespace found at end of line
(#91) Whitespace found at end of line
(#93) Expected "} else {\n"; found "}else{\n"
(#97) Expected "if (...) {\n"; found "if (...){\n"
(#98) Commas (,) must be followed by white space.
(#99) Expected "} else {\n"; found "}else{\n"
mod/unedtrivial/searchform.php
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) No space found before comment text; expected "// moodleform is defined in formslib.php" but found "//moodleform is defined in formslib.php"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected 4 spaces, found 1
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#32) Whitespace found at end of line
(#36) Commas (,) must be followed by white space.
(#37) Whitespace found at end of line
(#39) Whitespace found at end of line
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) No space found before comment text; expected "// Custom validation should be added here" but found "//Custom validation should be added here"
(#41) Visibility must be declared on method "validation"
(#42) Whitespace found at end of line
(#45) Expected "if (...) {\n"; found "if (...){"
mod/unedtrivial/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".
(#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/>.".
(#11) Expected "if (...) {\n"; found "if (...){\n"
(#15) Inline comments must start with a capital letter, digit or 3-dots sequence
(#15) Inline comments must end in full-stops, exclamation marks, or question marks
(#15) This comment is 80% valid code; is this commented out code?
(#15) No space found before comment text; expected "// $ADMIN->add('localplugins', $settings);" but found "//$ADMIN->add('localplugins', $settings);"
(#17) Commas (,) must be followed by white space.
(#18) Commas (,) must be followed by white space.
(#19) Commas (,) must be followed by white space.
(#20) Whitespace found at end of line
(#21) Commas (,) must be followed by white space.
(#22) Commas (,) must be followed by white space.
(#23) Whitespace found at end of line
(#24) Commas (,) must be followed by white space.
(#25) Whitespace found at end of line
(#26) Commas (,) must be followed by white space.
(#26) Whitespace found at end of line
(#27) Commas (,) must be followed by white space.
(#28) Whitespace found at end of line
(#29) Commas (,) must be followed by white space.
(#30) Commas (,) must be followed by white space.
(#31) Whitespace found at end of line
(#32) Commas (,) must be followed by white space.
(#33) Commas (,) must be followed by white space.
(#34) Whitespace found at end of line
(#35) Commas (,) must be followed by white space.
(#36) Commas (,) must be followed by white space.
(#37) Whitespace found at end of line
(#38) Commas (,) must be followed by white space.
(#39) Commas (,) must be followed by white space.
(#40) Whitespace found at end of line
(#41) Commas (,) must be followed by white space.
(#42) Commas (,) must be followed by white space.
mod/unedtrivial/signupform.php
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) No space found before comment text; expected "// moodleform is defined in formslib.php" but found "//moodleform is defined in formslib.php"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) No space found before comment text; expected "// Add elements to form" but found "//Add elements to form"
(#33) Whitespace found at end of line
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) No space found before comment text; expected "// Set type of element" but found "//Set type of element"
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) No space found before comment text; expected "// Custom validation should be added here" but found "//Custom validation should be added here"
(#41) Visibility must be declared on method "validation"
(#42) Expected "if (...) {\n"; found "if (...){\n"
(#45) Expected "} else {\n"; found "}else{\n"
mod/unedtrivial/stats.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) "require_once" must be immediately followed by an open parenthesis
(#29) Whitespace found at end of line
(#34) No space found before comment text; expected "// Download of CSV stats file" but found "//Download of CSV stats file"
(#35) No space found before comment text; expected "// Download of CSV stats file" but found "//Download of CSV stats file"
(#36) No space found before comment text; expected "// Period (for Activity level tab)" but found "//Period (for Activity level tab)"
(#37) Commas (,) must be followed by white space.
(#37) Commas (,) must be followed by white space.
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// Sort column" but found "//Sort column"
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) No space found before comment text; expected "// Students can't stay here" but found "//Students can't stay here"
(#84) Expected "if (...) {\n"; found "if (...){\n"
(#97) Whitespace found at end of line
(#99) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// Windows friendly format by default" but found "//Windows friendly format by default"
(#101) Commas (,) must be followed by white space.
(#102) Commas (,) must be followed by white space.
(#105) Whitespace found at end of line
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#123) Inline comments must start with a capital letter, digit or 3-dots sequence
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) No space found before comment text; expected "// Section tabs" but found "//Section tabs"
(#137) Commas (,) must be followed by white space.
(#139) Commas (,) must be followed by white space.
(#141) Commas (,) must be followed by white space.
(#142) Whitespace found at end of line
(#143) Commas (,) must be followed by white space.
(#145) Expected "if (...) {\n"; found "if (...){\n"
(#147) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#147) Expected "if (...) {\n"; found "if (...){\n"
(#149) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#149) Expected "if (...) {\n"; found "if (...){\n"
(#151) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#151) Expected "if (...) {\n"; found "if (...){\n"
(#157) Commas (,) must be followed by white space.
(#157) Commas (,) must be followed by white space.
(#161) Expected "if (...) {\n"; found "if (...){\n"
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) 14 slashes comments are not allowed; use "// Comment." instead
(#162) No space found before comment text; expected "// TAB OVERVIEW" but found "//////////////TAB OVERVIEW"
(#168) Commas (,) must be followed by white space.
(#169) Commas (,) must be followed by white space.
(#170) Commas (,) must be followed by white space.
(#171) Commas (,) must be followed by white space.
(#172) Commas (,) must be followed by white space.
(#173) Commas (,) must be followed by white space.
(#174) Commas (,) must be followed by white space.
(#175) Whitespace found at end of line
(#176) Commas (,) must be followed by white space.
(#176) Commas (,) must be followed by white space.
(#176) Commas (,) must be followed by white space.
(#177) Commas (,) must be followed by white space.
(#177) Commas (,) must be followed by white space.
(#177) Commas (,) must be followed by white space.
(#178) Inline control structures are not allowed
(#178) Commas (,) must be followed by white space.
(#182) Commas (,) must be followed by white space.
(#182) Commas (,) must be followed by white space.
(#182) Commas (,) must be followed by white space.
(#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) Inline control structures are not allowed
(#184) Commas (,) must be followed by white space.
(#186) Commas (,) must be followed by white space.
(#187) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#187) Expected "if (...) {\n"; found "if (...){\n"
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) 14 slashes comments are not allowed; use "// Comment." instead
(#188) No space found before comment text; expected "// TAB PARTICIPANTS" but found "//////////////TAB PARTICIPANTS"
(#189) Commas (,) must be followed by white space.
(#189) Commas (,) must be followed by white space.
(#191) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#191) Expected "if (...) {\n"; found "if (...){\n"
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) 14 slashes comments are not allowed; use "// Comment." instead
(#192) No space found before comment text; expected "// TAB QUESTIONS" but found "//////////////TAB QUESTIONS"
(#193) Commas (,) must be followed by white space.
(#193) Commas (,) must be followed by white space.
(#195) Commas (,) must be followed by white space.
(#196) Commas (,) must be followed by white space.
(#197) Commas (,) must be followed by white space.
(#198) Commas (,) must be followed by white space.
(#199) Commas (,) must be followed by white space.
(#200) Commas (,) must be followed by white space.
(#201) Commas (,) must be followed by white space.
(#202) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#202) Expected "if (...) {\n"; found "if (...){\n"
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
(#203) 13 slashes comments are not allowed; use "// Comment." instead
(#203) No space found before comment text; expected "// TAB ACTIVITY LEVEL" but found "/////////////TAB ACTIVITY LEVEL"
(#206) Commas (,) must be followed by white space.
(#206) Commas (,) must be followed by white space.
(#206) Commas (,) must be followed by white space.
(#208) Expected "if (...) {\n"; found "if (...){\n"
(#209) Commas (,) must be followed by white space.
(#209) Commas (,) must be followed by white space.
(#210) Commas (,) must be followed by white space.
(#210) Expected 1 space before "=>"; 0 found
(#210) Expected 1 space after "=>"; 0 found
(#210) Commas (,) must be followed by white space.
(#210) Expected 1 space before "=>"; 0 found
(#210) Expected 1 space after "=>"; 0 found
(#210) Commas (,) must be followed by white space.
(#210) Expected 1 space before "=>"; 0 found
(#210) Expected 1 space after "=>"; 0 found
(#211) Expected "} else {\n"; found "}else{\n"
(#214) Commas (,) must be followed by white space.
(#220) Commas (,) must be followed by white space.
(#223) Closing brace must be on a line by itself
(#225) Expected 1 space before "*"; 0 found
(#225) Expected 1 space after "*"; 0 found
(#225) Closing brace must be on a line by itself
(#227) Expected 1 space before "*"; 0 found
(#227) Expected 1 space after "*"; 0 found
(#227) Closing brace must be on a line by itself
(#229) Expected 1 space before "*"; 0 found
(#229) Expected 1 space after "*"; 0 found
(#229) Closing brace must be on a line by itself
(#231) Expected 1 space before "*"; 0 found
(#231) Expected 1 space after "*"; 0 found
(#231) Closing brace must be on a line by itself
(#233) Commas (,) must be followed by white space.
(#235) Commas (,) must be followed by white space.
(#235) Commas (,) must be followed by white space.
(#235) Commas (,) must be followed by white space.
(#235) Commas (,) must be followed by white space.
(#236) Expected 1 space before "-"; 0 found
(#236) Expected 1 space after "-"; 0 found
(#236) Expected 1 space before "/"; 0 found
(#236) Expected 1 space after "/"; 0 found
(#237) Expected 1 space before "*"; newline found
(#237) Expected 1 space before "+"; 0 found
(#237) Expected 1 space after "+"; 0 found
(#238) Inline control structures are not allowed
(#242) Expected 1 space before "/"; 0 found
(#242) Expected 1 space after "/"; 0 found
(#242) Expected 1 space before "*"; 0 found
(#242) Expected 1 space after "*"; 0 found
(#244) Commas (,) must be followed by white space.
(#244) Commas (,) must be followed by white space.
(#244) Commas (,) must be followed by white space.
(#244) Commas (,) must be followed by white space.
(#244) Commas (,) must be followed by white space.
(#245) Commas (,) must be followed by white space.
(#245) Commas (,) must be followed by white space.
(#245) Commas (,) must be followed by white space.
(#246) Inline control structures are not allowed
(#246) Commas (,) must be followed by white space.
mod/unedtrivial/studentinfo.php
(#28) Whitespace found at end of line
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) No space found before comment text; expected "// See highscores" but found "//See highscores"
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#77) Whitespace found at end of line
(#84) Expected "foreach (...) {\n"; found "foreach(...) { \n"
(#84) Whitespace found at end of line
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) No space found before comment text; expected "// question = -1 is the first reg, discard it" but found "//question = -1 is the first reg, discard it"
(#86) Expected "if (...) {\n"; found "if (...){\n"
(#89) Expected "if (...) {\n"; found "if (...){\n"
(#91) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#91) Expected "if (...) {\n"; found "if (...){\n"
(#94) Expected "} else {\n"; found "}else{\n"
(#98) Expected "if (...) {\n"; found "if (...){\n"
(#99) Commas (,) must be followed by white space.
(#99) Commas (,) must be followed by white space.
(#99) Commas (,) must be followed by white space.
(#101) Commas (,) must be followed by white space.
(#102) Expected "if (...) {\n"; found "if (...){\n"
(#103) Commas (,) must be followed by white space.
(#103) Commas (,) must be followed by white space.
(#105) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#105) Expected "if (...) {\n"; found "if (...){\n"
(#106) Commas (,) must be followed by white space.
(#106) Commas (,) must be followed by white space.
(#108) Expected "} else {\n"; found "}else{\n"
(#109) Commas (,) must be followed by white space.
(#109) Commas (,) must be followed by white space.
(#115) Whitespace found at end of line
(#116) Expected 1 space before "=>"; 0 found
(#116) Expected 1 space after "=>"; 0 found
(#116) Commas (,) must be followed by white space.
(#116) Expected 1 space before "=>"; 0 found
(#116) Expected 1 space after "=>"; 0 found
mod/unedtrivial/teacheroptions.php
(#30) Whitespace found at end of line
(#36) Commas (,) must be followed by white space.
(#37) Commas (,) must be followed by white space.
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) No space found before comment text; expected "// Students can't stay here" but found "//Students can't stay here"
(#87) Expected "if (...) {\n"; found "if(...){\n"
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) No space found before comment text; expected "// Modify questions bank" but found "//Modify questions bank"
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#90) Whitespace found at end of line
(#91) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#91) Expected "if (...) {\n"; found "if (...){\n"
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) No space found before comment text; expected "// See highscores" but found "//See highscores"
(#102) Whitespace found at end of line
(#106) Expected "foreach (...) {\n"; found "foreach(...) { \n"
(#106) Whitespace found at end of line
(#108) Whitespace found at end of line
(#109) Whitespace found at end of line
(#110) Expected 1 space before "=>"; 0 found
(#110) Expected 1 space after "=>"; 0 found
(#110) Commas (,) must be followed by white space.
(#110) Expected 1 space before "=>"; 0 found
(#110) Expected 1 space after "=>"; 0 found
(#110) Commas (,) must be followed by white space.
(#110) Expected 1 space before "=>"; 0 found
(#110) Expected 1 space after "=>"; 0 found
(#110) Whitespace found at end of line
(#111) Whitespace found at end of line
(#117) Expected "} else {\n"; found "}else{ //$option == 3\n"
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) No space found before comment text; expected "// $option == 3" but found "//$option == 3"
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) No space found before comment text; expected "// Send message to participants" but found "//Send message to participants"
(#120) Commas (,) must be followed by white space.
(#120) Commas (,) must be followed by white space.
(#120) Commas (,) must be followed by white space.
(#120) Commas (,) must be followed by white space.
(#122) Expected "if (...) {\n"; found "if (...){\n"
(#124) Expected "} else if (...) {\n"; found "}else if (...) {\n"
(#126) Variable "toUser" must be all lower-case
(#126) Commas (,) must be followed by white space.
(#126) Commas (,) must be followed by white space.
(#131) Variable "toUser" must be all lower-case
(#132) Expected 1 space after "="; 3 found
(#140) Expected "if (...) {\n"; found "if (...){\n"
(#140) Variable "toUser" must be all lower-case
(#142) Commas (,) must be followed by white space.
(#142) Commas (,) must be followed by white space.
(#142) Commas (,) must be followed by white space.
(#142) Variable "toUser" must be all lower-case
(#142) Commas (,) must be followed by white space.
(#143) Expected "if (...) {\n"; found "if (...){\n"
(#149) Expected "} else {\n"; found "}else{\n"
(#152) Expected "} else {\n"; found "}else{\n"
(#153) Whitespace found at end of line
mod/unedtrivial/version.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) No space found before comment text; expected "// Minimum: V3.0 ; Recommended (to enjoy chart funtions): V3.2" but found "//Minimum: V3.0 ; Recommended (to enjoy chart funtions): V3.2"
(#30) Space found before semicolon; expected "2015111610;" but found "2015111610 ;"
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) No space found before comment text; expected "// ALPHA , BETA , RC , STABLE" but found "//ALPHA , BETA , RC , STABLE"
mod/unedtrivial/view.php
(#28) Whitespace found at end of line
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Expected "if (...) {\n"; found "if (...){\n"
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) No space found before comment text; expected "// Check if user is a participant" but found "//Check if user is a participant"
(#81) Expected "if (...) {\n"; found "if (...){\n"
(#82) Commas (,) must be followed by white space.
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) No space found before comment text; expected "// If param email is not null and is not duplicated, insert into database" but found "//If param email is not null and is not duplicated, insert into database"
(#90) Expected "if (...) {\n"; found "if (...){\n"
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) No space found before comment text; expected "// Insert mail" but found "//Insert mail"
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) No space found before comment text; expected "// We save first record to set score to zero" but found "//We save first record to set score to zero"
(#106) Whitespace found at end of line
(#108) Whitespace found at end of line
(#109) Expected "} else {\n"; found "}else{\n"
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) No space found before comment text; expected "// Mail duplicated --> show error" but found "//Mail duplicated --> show error"
(#113) Whitespace found at end of line
(#114) Expected 1 space before "=>"; 0 found
(#114) Expected 1 space after "=>"; 0 found
(#114) Commas (,) must be followed by white space.
(#114) Expected 1 space before "=>"; 0 found
(#114) Expected 1 space after "=>"; 0 found
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) No space found before comment text; expected "// displays the form" but found "//displays the form"
(#123) Expected "if (...) {\n"; found "if (...){\n"
(#127) Expected "} else {\n"; found "}else{\n"
(#128) Commas (,) must be followed by white space.
(#128) Commas (,) must be followed by white space.
(#128) Commas (,) must be followed by white space.
(#129) Expected "if (...) {\n"; found "if (...){\n"
(#131) Commas (,) must be followed by white space.
(#132) Expected "} else if (...) {\n"; found "}else if(...){\n"
(#132) Expected "if (...) {\n"; found "if(...){\n"
(#133) Commas (,) must be followed by white space.
(#134) Expected "} else {\n"; found "}else{\n"
(#137) Commas (,) must be followed by white space.
(#140) Expected "if (...) {\n"; found "if (...){\n"
(#142) Expected "} else {\n"; found "}else{\n"
(#143) Expected 1 space before "/"; 0 found
(#143) Expected 1 space after "/"; 0 found
(#143) Expected 1 space before "*"; 0 found
(#143) Expected 1 space after "*"; 0 found
(#146) Whitespace found at end of line
(#148) Whitespace found at end of line
(#149) Whitespace found at end of line
(#152) Commas (,) must be followed by white space.
(#152) Commas (,) must be followed by white space.
(#153) Expected "if (...) {\n"; found "if (...){\n"
(#159) Variable "bDelete" must be all lower-case
(#160) Commas (,) must be followed by white space.
(#161) Variable "bDelete" must be all lower-case
(#161) Commas (,) must be followed by white space.
(#162) Variable "bDelete" must be all lower-case
(#164) Expected "} else {\n"; found "}else{\n"
(#165) Commas (,) must be followed by white space.
(#165) Commas (,) must be followed by white space.
(#165) Commas (,) must be followed by white space.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(120 errors, 0 warnings)

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

mod/unedtrivial/activitylevelform.php
(#28) Class activitylevelform is not documented
(#31) Function activitylevelform::definition is not documented
(#45) Function activitylevelform::validation is not documented
(#29) Variable activitylevelform::$e is not documented
mod/unedtrivial/backup/moodle2/backup_unedtrivial_stepslib.php
(#30) Class backup_unedtrivial_activity_structure_step is not documented
mod/unedtrivial/backup/moodle2/restore_unedtrivial_activity_task.class.php
(#30) Class restore_unedtrivial_activity_task is not documented
mod/unedtrivial/backup/moodle2/restore_unedtrivial_stepslib.php
(#26) Class restore_unedtrivial_activity_structure_step is not documented
mod/unedtrivial/classes/event/course_module_instance_list_viewed.php
(#29) Class course_module_instance_list_viewed is not documented
mod/unedtrivial/classes/event/course_module_viewed.php
(#29) Class course_module_viewed is not documented
mod/unedtrivial/classes/task/send_questions_task.php
(#28) Class send_questions_task is not documented
(#29) Function send_questions_task::get_name is not documented
(#34) Function send_questions_task::execute is not documented
mod/unedtrivial/db/access.php
(#17) No one-line description found in phpdocs for file
mod/unedtrivial/db/install.php
(#17) No one-line description found in phpdocs for file
mod/unedtrivial/db/uninstall.php
(#17) No one-line description found in phpdocs for file
mod/unedtrivial/db/upgrade.php
(#17) No one-line description found in phpdocs for file
mod/unedtrivial/emailform.php
(#28) Class emailform is not documented
(#30) Function emailform::definition is not documented
(#49) Function emailform::validation is not documented
mod/unedtrivial/goquestion1form.php
(#28) Class goquestion1form is not documented
(#38) Function goquestion1form::definition is not documented
(#57) Function goquestion1form::definition_after_data is not documented
(#78) Function goquestion1form::validation is not documented
(#29) Variable goquestion1form::$e is not documented
(#30) Variable goquestion1form::$o1 is not documented
(#31) Variable goquestion1form::$o2 is not documented
(#32) Variable goquestion1form::$o3 is not documented
(#33) Variable goquestion1form::$o4 is not documented
(#34) Variable goquestion1form::$check is not documented
(#35) Variable goquestion1form::$nooption is not documented
mod/unedtrivial/goquestion2form.php
(#28) Class goquestion2form is not documented
(#37) Function goquestion2form::definition is not documented
(#56) Function goquestion2form::definition_after_data is not documented
(#76) Function goquestion2form::validation is not documented
(#29) Variable goquestion2form::$e is not documented
(#30) Variable goquestion2form::$o1 is not documented
(#31) Variable goquestion2form::$o2 is not documented
(#32) Variable goquestion2form::$o3 is not documented
(#33) Variable goquestion2form::$o4 is not documented
(#34) Variable goquestion2form::$check is not documented
mod/unedtrivial/goquestion3form.php
(#28) Class goquestion3form is not documented
(#32) Function goquestion3form::definition is not documented
(#46) Function goquestion3form::validation is not documented
(#29) Variable goquestion3form::$e is not documented
mod/unedtrivial/lib.php
(#746) Function unedtrivial_are_questions_for_today is not documented
(#807) Function unedtrivial_locate_questions is not documented
(#916) Function unedtrivial_show_results is not documented
(#623) There is no description in phpdocs for function unedtrivial_get_user_answers_for_date
(#521) Phpdocs for function unedtrivial_check_question_history has incomplete parameters list
(#543) Phpdocs for function unedtrivial_shuffleseed has incomplete parameters list
(#556) Phpdocs for function unedtrivial_multichoice has incomplete parameters list
(#579) Phpdocs for function unedtrivial_question_valid has incomplete parameters list
(#625) Phpdocs for function unedtrivial_get_user_answers_for_date has incomplete parameters list
(#646) Phpdocs for function unedtrivial_encrypt has incomplete parameters list
(#666) Phpdocs for function unedtrivial_decrypt has incomplete parameters list
(#692) Phpdocs for function unedtrivial_send_mail has incomplete parameters list
(#1056) Phpdocs for function send_congratulations_email has incomplete parameters list
(#1086) Phpdocs for function unedtrivial_get_miniranking has incomplete parameters list
(#1134) Phpdocs for function unedtrivial_draw_stats has incomplete parameters list
(#1156) Phpdocs for function unedtrivial_draw_bar has incomplete parameters list
(#1178) Phpdocs for function unedtrivial_get_total_score has incomplete parameters list
(#1194) Phpdocs for function unedtrivial_get_participants has incomplete parameters list
(#1207) Phpdocs for function unedtrivial_get_user_closed_questions has incomplete parameters list
(#1225) Phpdocs for function unedtrivial_get_questions has incomplete parameters list
(#1239) Phpdocs for function unedtrivial_get_answers has incomplete parameters list
(#1266) Phpdocs for function unedtrivial_get_difficulty has incomplete parameters list
(#1290) Phpdocs for function unedtrivial_chart_overview_progress has incomplete parameters list
(#1340) Phpdocs for function unedtrivial_get_users_progress has incomplete parameters list
(#1379) Phpdocs for function unedtrivial_chart_overview_knowledge has incomplete parameters list
(#1444) Phpdocs for function unedtrivial_get_answers_stats has incomplete parameters list
(#1491) Phpdocs for function unedtrivial_chart_activity has incomplete parameters list
(#1579) Phpdocs for function unedtrivial_table_participants has incomplete parameters list
(#1678) Phpdocs for function unedtrivial_get_user_knowledge has incomplete parameters list
(#1758) Phpdocs for function unedtrivial_get_user_progress has incomplete parameters list
(#1801) Phpdocs for function unedtrivial_table_questions has incomplete parameters list
(#1910) Phpdocs for function unedtrivial_get_question_times has incomplete parameters list
(#2017) Phpdocs for function unedtrivial_array_msort has incomplete parameters list
(#2046) Phpdocs for function unedtrivial_build_teachers_link has incomplete parameters list
(#2060) Phpdocs for function unedtrivial_get_bonus has incomplete parameters list
(#2080) Phpdocs for function unedtrivial_get_email_addresses has incomplete parameters list
(#2177) Phpdocs for function mail_sender has incomplete parameters list
(#2245) Phpdocs for function unedtrivial_get_activity_origin has incomplete parameters list
(#2262) Phpdocs for function unedtrivial_toASCII has incomplete parameters list
mod/unedtrivial/loadform.php
(#28) Class loadform is not documented
(#32) Function loadform::definition is not documented
(#41) Function loadform::validation is not documented
(#29) Variable loadform::$e is not documented
mod/unedtrivial/managequestions.php
(#31) Constant ICON_SI is not documented
(#32) Constant ICON_MU is not documented
(#33) Constant ICON_SH is not documented
mod/unedtrivial/mod_form.php
(#30) Class mod_unedtrivial_mod_form is not documented
(#135) Function mod_unedtrivial_mod_form::definition_after_data is not documented
(#143) Function mod_unedtrivial_mod_form::add_completion_rules is not documented
(#152) Function mod_unedtrivial_mod_form::completion_rule_enabled is not documented
mod/unedtrivial/question1form.php
(#29) Class question1form is not documented
(#32) Function question1form::definition is not documented
(#69) Function question1form::validation is not documented
(#30) Variable question1form::$e is not documented
mod/unedtrivial/question2form.php
(#28) Class question2form is not documented
(#32) Function question2form::definition is not documented
(#67) Function question2form::validation is not documented
(#29) Variable question2form::$e is not documented
mod/unedtrivial/question3form.php
(#28) Class question3form is not documented
(#31) Function question3form::definition is not documented
(#48) Function question3form::validation is not documented
(#52) Function question3form::normaliza is not documented
(#29) Variable question3form::$e is not documented
mod/unedtrivial/searchform.php
(#28) Class searchform is not documented
(#31) Function searchform::definition is not documented
(#41) Function searchform::validation is not documented
(#29) Variable searchform::$e is not documented
mod/unedtrivial/settings.php
(#2) No one-line description found in phpdocs for file
mod/unedtrivial/signupform.php
(#28) Class signupform is not documented
(#31) Function signupform::definition is not documented
(#41) Function signupform::validation is not documented
(#29) Variable signupform::$e is not documented
mod/unedtrivial/stats.php
(#162) Found comment starting with three or more slashes
(#188) Found comment starting with three or more slashes
(#192) Found comment starting with three or more slashes
(#203) Found comment starting with three or more slashes

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

(2 errors, 0 warnings)

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

.eslintignore
Uncommitted change detected.
.stylelintignore
Uncommitted change detected.

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]