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

(957 errors, 506 warnings)

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

mod/choicegroup/backup/moodle2/backup_choicegroup_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) The static declaration must come after the visibility declaration
(#58) Commas (,) must be followed by white space.
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Expected 1 space before "="; 0 found
(#61) Expected 1 space after "="; 0 found
(#62) Expected 1 space before "="; 0 found
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Expected 1 space before "="; 0 found
(#65) Expected 1 space after "="; 0 found
(#66) Expected 1 space before "="; 0 found
mod/choicegroup/backup/moodle2/backup_choicegroup_settingslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
mod/choicegroup/backup/moodle2/backup_choicegroup_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#49) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#50) There should be a comma after the last array item in a multi-line array.
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
mod/choicegroup/backup/moodle2/restore_choicegroup_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) The static declaration must come after the visibility declaration
(#55) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#66) The static declaration must come after the visibility declaration
(#67) Short array syntax must be used to define arrays
(#82) The static declaration must come after the visibility declaration
(#83) Short array syntax must be used to define arrays
(#105) The static declaration must come after the visibility declaration
(#106) Short array syntax must be used to define arrays
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
mod/choicegroup/backup/moodle2/restore_choicegroup_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Short array syntax must be used to define arrays
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Short array syntax must be used to define arrays
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
mod/choicegroup/classes/completion/custom_completion.php
(#46) Expected 1 space before "=>"; 0 found
(#46) Expected 1 space after "=>"; 0 found
(#60) There should be a comma after the last array item in a multi-line array.
(#71) There should be a comma after the last array item in a multi-line array.
mod/choicegroup/classes/event/choice_removed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#84) Short array syntax must be used to define arrays
mod/choicegroup/classes/event/choice_updated.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#84) Short array syntax must be used to define arrays
mod/choicegroup/classes/event/course_module_instance_list_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/choicegroup/classes/event/course_module_viewed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#49) Short array syntax must be used to define arrays
mod/choicegroup/classes/event/report_viewed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#70) Short array syntax must be used to define arrays
mod/choicegroup/classes/external.php
(#47) Short array syntax must be used to define arrays
(#49) There should be a comma after the last array item in a multi-line array.
(#59) Line exceeds 132 characters; contains 145 characters
(#63) Variable "choicegroup_groups" must not contain underscores.
(#65) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#71) There should be a comma after the last array item in a multi-line array.
(#87) Short array syntax must be used to define arrays
(#90) Variable "choicegroup_groups" must not contain underscores.
(#102) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#121) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#163) There should be a comma after the last array item in a multi-line array.
(#178) Short array syntax must be used to define arrays
(#179) There should be a comma after the last array item in a multi-line array.
(#182) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#192) Short array syntax must be used to define arrays
(#203) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#218) There should be a comma after the last array item in a multi-line array.
(#230) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#241) Short array syntax must be used to define arrays
(#242) There should be a comma after the last array item in a multi-line array.
(#257) Short array syntax must be used to define arrays
(#259) Short array syntax must be used to define arrays
(#261) There should be a comma after the last array item in a multi-line array.
(#286) Inline comments must end in full-stops, exclamation marks, or question marks
(#295) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#301) Variable "answer_value_group" must not contain underscores.
(#301) Short array syntax must be used to define arrays
(#302) Variable "answer_value_group" must not contain underscores.
(#303) Short array syntax must be used to define arrays
(#305) There should be a comma after the last array item in a multi-line array.
(#315) Inline comments must start with a capital letter, digit or 3-dots sequence
(#325) Short array syntax must be used to define arrays
(#339) Short array syntax must be used to define arrays
(#353) Short array syntax must be used to define arrays
(#354) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#359) Expected 1 space before "+"; 0 found
(#359) Expected 1 space after "+"; 0 found
(#377) Short array syntax must be used to define arrays
(#394) Short array syntax must be used to define arrays
(#396) Short array syntax must be used to define arrays
(#397) There should be a comma after the last array item in a multi-line array.
(#420) Short array syntax must be used to define arrays
(#431) Short array syntax must be used to define arrays
(#433) There should be a comma after the last array item in a multi-line array.
(#445) Short array syntax must be used to define arrays
mod/choicegroup/classes/output/mobile.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#73) Short array syntax must be used to define arrays
(#104) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#115) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#140) There should be a comma after the last array item in a multi-line array.
(#143) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#156) There should be a comma after the last array item in a multi-line array.
mod/choicegroup/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/choicegroup/db/access.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#17) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#22) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#25) Expected 1 space before comment text but found 11; use block comment if you need indentation
(#26) Expected 1 space before comment text but found 11; use block comment if you need indentation
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#41) There should be a comma after the last array item in a multi-line array.
(#42) There should be a comma after the last array item in a multi-line array.
(#45) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#52) There should be a comma after the last array item in a multi-line array.
(#53) There should be a comma after the last array item in a multi-line array.
(#57) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#64) There should be a comma after the last array item in a multi-line array.
(#65) There should be a comma after the last array item in a multi-line array.
(#68) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#75) There should be a comma after the last array item in a multi-line array.
(#76) There should be a comma after the last array item in a multi-line array.
(#79) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#86) There should be a comma after the last array item in a multi-line array.
(#87) There should be a comma after the last array item in a multi-line array.
(#88) There should be a comma after the last array item in a multi-line array.
mod/choicegroup/db/log.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#31) Short array syntax must be used to define arrays
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#32) Short array syntax must be used to define arrays
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#33) Short array syntax must be used to define arrays
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#34) Short array syntax must be used to define arrays
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#35) Short array syntax must be used to define arrays
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#36) File must end with a newline character
mod/choicegroup/db/mobile.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Short array syntax must be used to define arrays
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
(#47) There should be a comma after the last array item in a multi-line array.
(#49) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#58) There should be a comma after the last array item in a multi-line array.
(#59) There should be a comma after the last array item in a multi-line array.
(#60) There should be a comma after the last array item in a multi-line array.
mod/choicegroup/db/services.php
(#28) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#48) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#54) There should be a comma after the last array item in a multi-line array.
(#57) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#63) There should be a comma after the last array item in a multi-line array.
mod/choicegroup/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) 3 slashes comments are not allowed; use "// Comment." instead
(#34) Variable "choicegroup_answers" must not contain underscores.
(#35) Variable "choicegroup_answers" must not contain underscores.
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) 3 slashes comments are not allowed; use "// Comment." instead
(#38) Variable "choicegroup_options" must not contain underscores.
(#38) Expected 1 space after "="; 2 found
(#39) Variable "field_text" must not contain underscores.
(#39) Expected 1 space after "="; 11 found
(#40) Variable "field_groupid" must not contain underscores.
(#40) Expected 1 space after "="; 8 found
(#42) Variable "choicegroup_options" must not contain underscores.
(#42) Variable "field_text" must not contain underscores.
(#43) Variable "choicegroup_options" must not contain underscores.
(#43) Variable "field_groupid" must not contain underscores.
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Variable "newField" must be all lower-case
(#51) Variable "newField" must be all lower-case
(#51) Whitespace found at end of line
(#52) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Variable "newField" must be all lower-case
(#63) Variable "newField" must be all lower-case
(#64) Variable "newField" must be all lower-case
mod/choicegroup/index.php
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#36) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#42) Short array syntax must be used to define arrays
(#43) There should be a comma after the last array item in a multi-line array.
(#70) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#80) Variable "choicegroup_groups" must not contain underscores.
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) No space found before comment text; expected "// Calculate the href" but found "//Calculate the href"
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) No space found before comment text; expected "// Show dimmed if the mod is hidden" but found "//Show dimmed if the mod is hidden"
(#110) Variable "tt_href" must not contain underscores.
(#110) Line exceeds 132 characters; contains 141 characters
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) No space found before comment text; expected "// Show normal if the mod is visible" but found "//Show normal if the mod is visible"
(#113) Variable "tt_href" must not contain underscores.
(#116) Short array syntax must be used to define arrays
(#116) Variable "tt_href" must not contain underscores.
(#118) Short array syntax must be used to define arrays
(#118) Variable "tt_href" must not contain underscores.
mod/choicegroup/lang/en/choicegroup.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/choicegroup/lib.php
(#29) Inline doc block comments are not allowed; use "// Comment." instead
(#30) Variable "CHOICEGROUP_COLUMN_HEIGHT" must be all lower-case
(#30) Variable "CHOICEGROUP_COLUMN_HEIGHT" must not contain underscores.
(#31) Variable "CHOICEGROUP_COLUMN_HEIGHT" must be all lower-case
(#31) Variable "CHOICEGROUP_COLUMN_HEIGHT" must not contain underscores.
(#33) Inline doc block comments are not allowed; use "// Comment." instead
(#34) Variable "CHOICEGROUP_COLUMN_WIDTH" must be all lower-case
(#34) Variable "CHOICEGROUP_COLUMN_WIDTH" must not contain underscores.
(#35) Variable "CHOICEGROUP_COLUMN_WIDTH" must be all lower-case
(#35) Variable "CHOICEGROUP_COLUMN_WIDTH" must not contain underscores.
(#62) Inline doc block comments are not allowed; use "// Comment." instead
(#63) Variable "CHOICEGROUP_PUBLISH" must be all lower-case
(#63) Variable "CHOICEGROUP_PUBLISH" must not contain underscores.
(#64) Variable "CHOICEGROUP_PUBLISH" must be all lower-case
(#64) Variable "CHOICEGROUP_PUBLISH" must not contain underscores.
(#64) Short array syntax must be used to define arrays
(#65) There should be a comma after the last array item in a multi-line array.
(#67) Inline doc block comments are not allowed; use "// Comment." instead
(#68) Variable "CHOICEGROUP_SHOWRESULTS" must be all lower-case
(#68) Variable "CHOICEGROUP_SHOWRESULTS" must not contain underscores.
(#69) Variable "CHOICEGROUP_SHOWRESULTS" must be all lower-case
(#69) Variable "CHOICEGROUP_SHOWRESULTS" must not contain underscores.
(#69) Short array syntax must be used to define arrays
(#72) There should be a comma after the last array item in a multi-line array.
(#74) Inline doc block comments are not allowed; use "// Comment." instead
(#75) Variable "CHOICEGROUP_DISPLAY" must be all lower-case
(#75) Variable "CHOICEGROUP_DISPLAY" must not contain underscores.
(#76) Variable "CHOICEGROUP_DISPLAY" must be all lower-case
(#76) Variable "CHOICEGROUP_DISPLAY" must not contain underscores.
(#76) Short array syntax must be used to define arrays
(#77) Commas (,) must be followed by white space.
(#77) There should be a comma after the last array item in a multi-line array.
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) 3 slashes comments are not allowed; use "// Comment." instead
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Variable "returnArray" must be all lower-case
(#105) Variable "choicegroup_groups" must not contain underscores.
(#107) Variable "user_answers" must not contain underscores.
(#107) Short array syntax must be used to define arrays
(#112) Expected "} else {\n"; found "}\n else {\n"
(#116) Logical operator "and" is prohibited; use "&&" instead
(#116) Variable "user_answers" must not contain underscores.
(#117) Variable "returnArray" must be all lower-case
(#118) Variable "user_answers" must not contain underscores.
(#120) Variable "user_answers" must not contain underscores.
(#123) Variable "user_answers" must not contain underscores.
(#123) Short array syntax must be used to define arrays
(#125) Expected "if (...) {\n"; found "if(...){\n"
(#125) Variable "choicegroup_groups" must not contain underscores.
(#125) Variable "choicegroup_groups" must not contain underscores.
(#126) Variable "choicegroup_groups" must not contain underscores.
(#130) Short array syntax must be used to define arrays
(#131) Variable "choicegroup_groups" must not contain underscores.
(#137) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#143) Variable "choicegroup_groups" must not contain underscores.
(#148) Variable "user_answers" must not contain underscores.
(#149) Variable "returnArray" must be all lower-case
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) Inline comments must start with a capital letter, digit or 3-dots sequence
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) No space found before comment text; expected "// insert answers" but found "//insert answers"
(#201) Whitespace found at end of line
(#202) Inline comments must start with a capital letter, digit or 3-dots sequence
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
(#203) Whitespace found at end of line
(#204) Variable "groupIDs" must be all lower-case
(#205) Variable "groupIDs" must be all lower-case
(#205) Variable "groupIDs" must be all lower-case
(#205) Short array syntax must be used to define arrays
(#206) Whitespace found at end of line
(#207) Variable "groupIDs" must be all lower-case
(#207) Variable "groupID" must be all lower-case
(#208) Variable "groupID" must be all lower-case
(#208) Variable "groupID" must be all lower-case
(#209) Variable "groupID" must be all lower-case
(#209) Variable "groupID" must be all lower-case
(#211) Variable "groupID" must be all lower-case
(#213) Variable "groupID" must be all lower-case
(#215) Spaces must be used to indent lines; tabs are not allowed
(#215) Tab found within whitespace
(#215) Line indented incorrectly; expected at least 16 spaces, found 13
(#219) Spaces must be used for alignment; tabs are not allowed
(#219) Tab found within whitespace
(#219) Whitespace found at end of line
(#224) Line exceeds 132 characters; contains 145 characters
(#226) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#245) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#255) Whitespace found at end of line
(#255) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#256) Whitespace found at end of line
(#257) Inline comments must start with a capital letter, digit or 3-dots sequence
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#258) Whitespace found at end of line
(#259) Variable "groupIDs" must be all lower-case
(#260) Variable "groupIDs" must be all lower-case
(#260) Variable "groupIDs" must be all lower-case
(#260) Short array syntax must be used to define arrays
(#262) Inline comments must start with a capital letter, digit or 3-dots sequence
(#262) Inline comments must end in full-stops, exclamation marks, or question marks
(#263) Variable "preExistingGroups" must be all lower-case
(#263) Short array syntax must be used to define arrays
(#265) Inline comments must start with a capital letter, digit or 3-dots sequence
(#265) Inline comments must end in full-stops, exclamation marks, or question marks
(#266) Variable "groupIDs" must be all lower-case
(#266) Variable "groupID" must be all lower-case
(#267) Spaces must be used to indent lines; tabs are not allowed
(#267) Tab found within whitespace
(#267) Line indented incorrectly; expected at least 8 spaces, found 5
(#267) Variable "groupID" must be all lower-case
(#267) Variable "groupID" must be all lower-case
(#268) Spaces must be used to indent lines; tabs are not allowed
(#268) Tab found within whitespace
(#268) Line indented incorrectly; expected 8 spaces, found 5
(#268) Variable "groupID" must be all lower-case
(#268) Variable "groupID" must be all lower-case
(#269) Spaces must be used to indent lines; tabs are not allowed
(#269) Tab found within whitespace
(#269) Line indented incorrectly; expected at least 12 spaces, found 6
(#270) Spaces must be used to indent lines; tabs are not allowed
(#270) Tab found within whitespace
(#270) Line indented incorrectly; expected at least 12 spaces, found 6
(#270) Variable "groupID" must be all lower-case
(#271) Spaces must be used to indent lines; tabs are not allowed
(#271) Tab found within whitespace
(#271) Line indented incorrectly; expected at least 12 spaces, found 6
(#272) Spaces must be used to indent lines; tabs are not allowed
(#272) Tab found within whitespace
(#272) Line indented incorrectly; expected at least 12 spaces, found 6
(#272) Variable "groupID" must be all lower-case
(#273) Spaces must be used to indent lines; tabs are not allowed
(#273) Tab found within whitespace
(#273) Line indented incorrectly; expected 12 spaces, found 6
(#274) Spaces must be used to indent lines; tabs are not allowed
(#274) Tab found within whitespace
(#274) Line indented incorrectly; expected at least 16 spaces, found 7
(#275) Spaces must be used to indent lines; tabs are not allowed
(#275) Tab found within whitespace
(#275) Line indented incorrectly; expected 12 spaces, found 6
(#276) Spaces must be used to indent lines; tabs are not allowed
(#276) Tab found within whitespace
(#276) Line indented incorrectly; expected at least 12 spaces, found 6
(#277) Spaces must be used to indent lines; tabs are not allowed
(#277) Tab found within whitespace
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#277) Line indented incorrectly; expected at least 12 spaces, found 6
(#278) Spaces must be used to indent lines; tabs are not allowed
(#278) Tab found within whitespace
(#278) Line indented incorrectly; expected 12 spaces, found 6
(#278) Variable "preExistingGroups" must be all lower-case
(#278) Variable "preExistingGroup" must be all lower-case
(#279) Spaces must be used to indent lines; tabs are not allowed
(#279) Tab found within whitespace
(#279) Line indented incorrectly; expected 16 spaces, found 7
(#279) Variable "preExistingGroup" must be all lower-case
(#280) Spaces must be used to indent lines; tabs are not allowed
(#280) Tab found within whitespace
(#280) Inline comments must start with a capital letter, digit or 3-dots sequence
(#280) Inline comments must end in full-stops, exclamation marks, or question marks
(#280) Line indented incorrectly; expected at least 20 spaces, found 8
(#281) Spaces must be used to indent lines; tabs are not allowed
(#281) Tab found within whitespace
(#281) Line indented incorrectly; expected at least 20 spaces, found 8
(#281) Variable "preExistingGroup" must be all lower-case
(#282) Spaces must be used to indent lines; tabs are not allowed
(#282) Tab found within whitespace
(#282) Line indented incorrectly; expected at least 20 spaces, found 8
(#283) Spaces must be used to indent lines; tabs are not allowed
(#283) Tab found within whitespace
(#283) Inline comments must start with a capital letter, digit or 3-dots sequence
(#283) Inline comments must end in full-stops, exclamation marks, or question marks
(#283) Line indented incorrectly; expected at least 20 spaces, found 8
(#284) Spaces must be used to indent lines; tabs are not allowed
(#284) Tab found within whitespace
(#284) Line indented incorrectly; expected at least 20 spaces, found 8
(#284) Variable "preExistingGroups" must be all lower-case
(#285) Spaces must be used to indent lines; tabs are not allowed
(#285) Tab found within whitespace
(#285) Line indented incorrectly; expected at least 20 spaces, found 8
(#285) Inline comments must start with a capital letter, digit or 3-dots sequence
(#285) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) Spaces must be used to indent lines; tabs are not allowed
(#286) Tab found within whitespace
(#286) Line indented incorrectly; expected 16 spaces, found 7
(#287) Spaces must be used to indent lines; tabs are not allowed
(#287) Tab found within whitespace
(#287) Line indented incorrectly; expected 12 spaces, found 6
(#288) Spaces must be used to indent lines; tabs are not allowed
(#288) Tab found within whitespace
(#288) Line indented incorrectly; expected at least 12 spaces, found 6
(#288) Spaces must be used for alignment; tabs are not allowed
(#288) Tab found within whitespace
(#288) Whitespace found at end of line
(#289) Spaces must be used to indent lines; tabs are not allowed
(#289) Tab found within whitespace
(#289) Line indented incorrectly; expected 8 spaces, found 5
(#290) Spaces must be used to indent lines; tabs are not allowed
(#290) Tab found within whitespace
(#290) Whitespace found at end of line
(#292) Inline comments must start with a capital letter, digit or 3-dots sequence
(#292) Inline comments must end in full-stops, exclamation marks, or question marks
(#293) Variable "preExistingGroups" must be all lower-case
(#293) Variable "preExistingGroup" must be all lower-case
(#294) Spaces must be used to indent lines; tabs are not allowed
(#294) Tab found within whitespace
(#294) Line indented incorrectly; expected at least 8 spaces, found 5
(#294) Short array syntax must be used to define arrays
(#294) Expected 1 space before "=>"; 0 found
(#294) Expected 1 space after "=>"; 0 found
(#294) Variable "preExistingGroup" must be all lower-case
(#299) Line exceeds 132 characters; contains 145 characters
(#301) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#317) Short array syntax must be used to define arrays
(#317) Expected 1 space before "=>"; 0 found
(#317) Expected 1 space after "=>"; 0 found
(#317) Short array syntax must be used to define arrays
(#327) Inline comments must start with a capital letter, digit or 3-dots sequence
(#327) No space found before comment text; expected "// make sure there are no dud entries in the db with blank text values." but found "//make sure there are no dud entries in the db with blank text values."
(#341) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#347) Line exceeds 132 characters; contains 135 characters
(#354) Line exceeds 132 characters; contains 143 characters
(#354) Inline comments must start with a capital letter, digit or 3-dots sequence
(#354) Inline comments must end in full-stops, exclamation marks, or question marks
(#354) No space found before comment text; expected "// only enrolled users are allowed to make a choicegroup" but found "//only enrolled users are allowed to make a choicegroup"
(#368) Inline comments must end in full-stops, exclamation marks, or question marks
(#368) No space found before comment text; expected "// TODO check other restrictions" but found "//TODO check other restrictions"
(#376) Expected "if (...) {\n"; found "if(...) {\n"
(#380) Expected "if (...) {\n"; found "if(...) {\n"
(#399) Short array syntax must be used to define arrays
(#401) There should be a comma after the last array item in a multi-line array.
(#406) Variable "selected_option" must not contain underscores.
(#406) Short array syntax must be used to define arrays
(#410) Short array syntax must be used to define arrays
(#412) Short array syntax must be used to define arrays
(#412) Variable "selected_option" must not contain underscores.
(#414) Expected 1 space before "="; 0 found
(#414) Expected 1 space after "="; 0 found
(#415) Variable "selected_option" must not contain underscores.
(#416) Variable "groupmember_added" must not contain underscores.
(#416) Whitespace found at end of line
(#418) Short array syntax must be used to define arrays
(#418) Variable "selected_option" must not contain underscores.
(#418) Expected 1 space before "=>"; 0 found
(#418) Expected 1 space after "=>"; 0 found
(#419) Variable "select_count" must not contain underscores.
(#419) Variable "selected_option" must not contain underscores.
(#420) Variable "select_count" must not contain underscores.
(#422) Whitespace found at end of line
(#423) Line indented incorrectly; expected at least 12 spaces, found 11
(#423) Variable "selected_option" must not contain underscores.
(#424) Line indented incorrectly; expected at least 12 spaces, found 11
(#424) Variable "groupmember_added" must not contain underscores.
(#425) Line indented incorrectly; expected 8 spaces, found 6
(#425) Closing brace indented incorrectly; expected 8 spaces, found 6
(#427) Variable "groupmember_added" must not contain underscores.
(#430) Variable "selected_option" must not contain underscores.
(#433) Inline comments must start with a capital letter, digit or 3-dots sequence
(#433) This comment is 73% valid code; is this commented out code?
(#433) Line indented incorrectly; expected at least 24 spaces, found 0
(#433) Expected 1 space before comment text but found 24; use block comment if you need indentation
(#443) Inline comments must end in full-stops, exclamation marks, or question marks
(#448) Inline comments must start with a capital letter, digit or 3-dots sequence
(#448) This comment is 73% valid code; is this commented out code?
(#448) Line indented incorrectly; expected at least 12 spaces, found 0
(#448) Expected 1 space before comment text but found 12; use block comment if you need indentation
(#456) Expected 1 space before "=="; 0 found
(#456) Expected 1 space after "=="; 0 found
(#456) Variable "selected_option" must not contain underscores.
(#456) Line exceeds 132 characters; contains 148 characters
(#456) Inline comments must start with a capital letter, digit or 3-dots sequence
(#456) Inline comments must end in full-stops, exclamation marks, or question marks
(#456) No space found before comment text; expected "// check to see if current choicegroup already selected - if not display error" but found "//check to see if current choicegroup already selected - if not display error"
(#457) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#470) Short array syntax must be used to define arrays
(#471) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#483) Line exceeds 132 characters; contains 134 characters
(#501) Variable "FULLSCRIPT" must be all lower-case
(#506) Inline comments must start with a capital letter, digit or 3-dots sequence
(#506) This comment is 59% valid code; is this commented out code?
(#506) Line indented incorrectly; expected at least 4 spaces, found 0
(#506) No space found before comment text; expected "// debugging('<pre>'.print_r($choicegroup->option, true).'</pre>', DEBUG_DEVELOPER);" but found "//debugging('<pre>'.print_r($choicegroup->option, true).'</pre>', DEBUG_DEVELOPER);"
(#507) Inline comments must end in full-stops, exclamation marks, or question marks
(#507) Line indented incorrectly; expected at least 4 spaces, found 0
(#507) No space found before comment text; expected "// debugging('<pre>'.print_r($allresponses, true).'</pre>', DEBUG_DEVELOPER);" but found "//debugging('<pre>'.print_r($allresponses, true).'</pre>', DEBUG_DEVELOPER);"
(#509) Inline comments must start with a capital letter, digit or 3-dots sequence
(#509) Inline comments must end in full-stops, exclamation marks, or question marks
(#509) No space found before comment text; expected "// overwrite options value;" but found "//overwrite options value;"
(#510) Short array syntax must be used to define arrays
(#519) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#520) Short array syntax must be used to define arrays
(#534) Commas (,) must be followed by white space.
(#541) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#559) Variable "FULLSCRIPT" must be all lower-case
(#559) Commas (,) must be followed by white space.
(#559) Line exceeds maximum limit of 180 characters; contains 285 characters
(#569) Short array syntax must be used to define arrays
(#569) Inline comments must start with a capital letter, digit or 3-dots sequence
(#569) Inline comments must end in full-stops, exclamation marks, or question marks
(#578) Inline comments must start with a capital letter, digit or 3-dots sequence
(#578) Inline comments must end in full-stops, exclamation marks, or question marks
(#588) Inline comments must start with a capital letter, digit or 3-dots sequence
(#590) Inline comments must end in full-stops, exclamation marks, or question marks
(#596) Short array syntax must be used to define arrays
(#596) Expected 1 space before "=>"; 0 found
(#596) Expected 1 space after "=>"; 0 found
(#610) Inline comments must start with a capital letter, digit or 3-dots sequence
(#612) Inline comments must end in full-stops, exclamation marks, or question marks
(#614) Line indented incorrectly; expected 16 spaces, found 20
(#615) Line indented incorrectly; expected 20 spaces, found 24
(#618) Line indented incorrectly; expected 24 spaces, found 28
(#618) Logical operator "and" is prohibited; use "&&" instead
(#618) Commas (,) must be followed by white space.
(#620) Line indented incorrectly; expected 24 spaces, found 28
(#622) Short array syntax must be used to define arrays
(#622) Expected 1 space before "=>"; 0 found
(#622) Expected 1 space after "=>"; 0 found
(#628) Line indented incorrectly; expected 20 spaces, found 23
(#628) Closing brace indented incorrectly; expected 24 spaces, found 23
(#629) Line indented incorrectly; expected 16 spaces, found 20
(#658) 3 slashes comments are not allowed; use "// Comment." instead
(#659) Logical operator "and" is prohibited; use "&&" instead
(#659) Commas (,) must be followed by white space.
(#665) Short array syntax must be used to define arrays
(#665) Short array syntax must be used to define arrays
(#665) Expected 1 space before "=>"; 0 found
(#665) Expected 1 space after "=>"; 0 found
(#665) Short array syntax must be used to define arrays
(#665) Expected 1 space before "=>"; 0 found
(#665) Expected 1 space after "=>"; 0 found
(#665) Line exceeds 132 characters; contains 167 characters
(#666) Short array syntax must be used to define arrays
(#694) Expected "if (...) {\n"; found "if(...) {\n"
(#698) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#699) Expected "if (...) {\n"; found "if(...) {\n"
(#706) Short array syntax must be used to define arrays
(#708) There should be a comma after the last array item in a multi-line array.
(#711) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#712) Short array syntax must be used to define arrays
(#712) Expected 1 space before "=>"; 0 found
(#712) Expected 1 space after "=>"; 0 found
(#715) Short array syntax must be used to define arrays
(#724) Inline comments must end in full-stops, exclamation marks, or question marks
(#746) Short array syntax must be used to define arrays
(#746) Expected 1 space before "=>"; 0 found
(#746) Expected 1 space after "=>"; 0 found
(#752) Short array syntax must be used to define arrays
(#752) Expected 1 space before "=>"; 0 found
(#752) Expected 1 space after "=>"; 0 found
(#756) Short array syntax must be used to define arrays
(#756) Expected 1 space before "=>"; 0 found
(#756) Expected 1 space after "=>"; 0 found
(#774) Short array syntax must be used to define arrays
(#791) Short array syntax must be used to define arrays
(#800) Expected "} else {\n"; found "}\n else {\n"
(#804) Short array syntax must be used to define arrays
(#805) Short array syntax must be used to define arrays
(#807) Inline control structures are not allowed
(#807) Short array syntax must be used to define arrays
(#823) Short array syntax must be used to define arrays
(#826) Short array syntax must be used to define arrays
(#827) There should be a comma after the last array item in a multi-line array.
(#849) Short array syntax must be used to define arrays
(#881) Short array syntax must be used to define arrays
(#881) Commas (,) must be followed by white space.
(#881) Commas (,) must be followed by white space.
(#888) Short array syntax must be used to define arrays
(#888) Commas (,) must be followed by white space.
(#900) Commas (,) must be followed by white space.
(#909) Short array syntax must be used to define arrays
(#909) Expected 1 space before "=>"; 0 found
(#909) Expected 1 space after "=>"; 0 found
(#925) Short array syntax must be used to define arrays
(#952) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#960) Line indented incorrectly; expected at least 4 spaces, found 3
(#963) Whitespace found at end of line
(#964) Whitespace found at end of line
(#969) Whitespace found at end of line
(#981) Short array syntax must be used to define arrays
(#981) Expected 1 space before "=>"; 0 found
(#981) Expected 1 space after "=>"; 0 found
(#999) Short array syntax must be used to define arrays
(#1015) Closing brace must be on a line by itself
(#1016) Closing brace must be on a line by itself
(#1017) Closing brace must be on a line by itself
(#1018) Closing brace must be on a line by itself
(#1019) Closing brace must be on a line by itself
(#1020) Closing brace must be on a line by itself
(#1021) Closing brace must be on a line by itself
(#1022) Closing brace must be on a line by itself
(#1023) Closing brace must be on a line by itself
(#1024) Closing brace must be on a line by itself
(#1025) Closing brace must be on a line by itself
(#1027) Closing brace must be on a line by itself
(#1047) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1055) Short array syntax must be used to define arrays
(#1056) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1072) Short array syntax must be used to define arrays
(#1072) Expected 1 space before "=>"; 0 found
(#1072) Expected 1 space after "=>"; 0 found
(#1089) Inline comments must end in full-stops, exclamation marks, or question marks
(#1090) Short array syntax must be used to define arrays
(#1090) Expected 1 space before "=>"; 0 found
(#1090) Expected 1 space after "=>"; 0 found
(#1092) Inline comments must end in full-stops, exclamation marks, or question marks
(#1093) Expected "if (...) {\n"; found "if(...) {\n"
(#1097) Inline comments must end in full-stops, exclamation marks, or question marks
(#1109) Variable "module_pagetype" must not contain underscores.
(#1109) Short array syntax must be used to define arrays
(#1109) Expected 1 space before "=>"; 0 found
(#1109) Expected 1 space after "=>"; 0 found
(#1110) Variable "module_pagetype" must not contain underscores.
(#1115) Short array syntax must be used to define arrays
(#1117) There should be a comma after the last array item in a multi-line array.
(#1164) Short array syntax must be used to define arrays
(#1166) There should be a comma after the last array item in a multi-line array.
mod/choicegroup/mod_form.php
(#32) Opening brace should be on the same line as the declaration for class mod_choicegroup_mod_form
(#34) Visibility must be declared on method "definition"
(#35) Opening brace should be on the same line as the declaration
(#36) Variable "CHOICEGROUP_SHOWRESULTS" must be all lower-case
(#36) Variable "CHOICEGROUP_SHOWRESULTS" must not contain underscores.
(#36) Variable "CHOICEGROUP_PUBLISH" must be all lower-case
(#36) Variable "CHOICEGROUP_PUBLISH" must not contain underscores.
(#36) Variable "CHOICEGROUP_DISPLAY" must be all lower-case
(#36) Variable "CHOICEGROUP_DISPLAY" must not contain underscores.
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#43) Short array syntax must be used to define arrays
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#58) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Short array syntax must be used to define arrays
(#64) Variable "db_groups" must not contain underscores.
(#64) Short array syntax must be used to define arrays
(#65) Variable "db_groups" must not contain underscores.
(#72) Variable "db_groups" must not contain underscores.
(#78) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#81) Variable "db_groupings" must not contain underscores.
(#81) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#83) Variable "db_groupings" must not contain underscores.
(#84) Variable "db_groupings" must not contain underscores.
(#90) Variable "db_groupings_groups" must not contain underscores.
(#92) Variable "db_groupings_groups" must not contain underscores.
(#92) Variable "grouping_group_link" must not contain underscores.
(#93) Variable "grouping_group_link" must not contain underscores.
(#93) Variable "grouping_group_link" must not contain underscores.
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Short array syntax must be used to define arrays
(#113) Variable "CHOICEGROUP_SHOWRESULTS" must be all lower-case
(#113) Variable "CHOICEGROUP_SHOWRESULTS" must not contain underscores.
(#116) Variable "CHOICEGROUP_PUBLISH" must be all lower-case
(#116) Variable "CHOICEGROUP_PUBLISH" must not contain underscores.
(#116) Line exceeds 132 characters; contains 137 characters
(#127) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#140) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#151) Line exceeds maximum limit of 180 characters; contains 614 characters
(#162) Variable "groupingID" must be all lower-case
(#163) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Line exceeds maximum limit of 180 characters; contains 226 characters
(#165) Variable "groupingID" must be all lower-case
(#165) Line exceeds maximum limit of 180 characters; contains 210 characters
(#166) Variable "linkedGroupID" must be all lower-case
(#167) Variable "linkedGroupID" must be all lower-case
(#168) Variable "linkedGroupID" must be all lower-case
(#168) Variable "linkedGroupID" must be all lower-case
(#168) Line exceeds maximum limit of 180 characters; contains 185 characters
(#169) Variable "linkedGroupID" must be all lower-case
(#176) Line exceeds 132 characters; contains 178 characters
(#179) Line exceeds maximum limit of 180 characters; contains 199 characters
(#180) Line exceeds 132 characters; contains 178 characters
(#181) Line exceeds 132 characters; contains 155 characters
(#182) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#185) Line exceeds 132 characters; contains 153 characters
(#186) Line exceeds maximum limit of 180 characters; contains 184 characters
(#209) Short array syntax must be used to define arrays
(#209) Line exceeds 132 characters; contains 159 characters
(#212) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#214) Variable "serializedselectedgroupsValue" must be all lower-case
(#216) Inline comments must start with a capital letter, digit or 3-dots sequence
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) Variable "optionID" must be all lower-case
(#218) Variable "groupID" must be all lower-case
(#219) Variable "serializedselectedgroupsValue" must be all lower-case
(#219) Variable "groupID" must be all lower-case
(#220) Variable "groupID" must be all lower-case
(#220) Variable "optionID" must be all lower-case
(#224) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#226) Variable "serializedselectedgroupsValue" must be all lower-case
(#226) Short array syntax must be used to define arrays
(#226) Line exceeds 132 characters; contains 140 characters
(#231) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#244) Inline comments must end in full-stops, exclamation marks, or question marks
(#245) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#247) Inline comments must start with a capital letter, digit or 3-dots sequence
(#247) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#257) Inline comments must start with a capital letter, digit or 3-dots sequence
(#257) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#259) Inline comments must start with a capital letter, digit or 3-dots sequence
(#259) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#263) Visibility must be declared on method "data_preprocessing"
(#263) Variable "default_values" must not contain underscores.
(#264) Opening brace should be on the same line as the declaration
(#268) Variable "default_values" must not contain underscores.
(#269) Variable "default_values" must not contain underscores.
(#271) Variable "default_values" must not contain underscores.
(#277) Opening brace should be on the same line as the declaration
(#296) Inline comments must end in full-stops, exclamation marks, or question marks
(#304) Visibility must be declared on method "validation"
(#305) Opening brace should be on the same line as the declaration
(#308) Variable "groupIDs" must be all lower-case
(#309) Variable "groupIDs" must be all lower-case
(#309) Variable "groupIDs" must be all lower-case
(#309) Short array syntax must be used to define arrays
(#311) Expected "if (...) {\n"; found "if(...) {\n"
(#315) Variable "groupIDs" must be all lower-case
(#318) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#323) Visibility must be declared on method "get_data"
(#324) Opening brace should be on the same line as the declaration
(#329) Inline comments must end in full-stops, exclamation marks, or question marks
(#336) Visibility must be declared on method "add_completion_rules"
(#337) Opening brace should be on the same line as the declaration
(#341) Short array syntax must be used to define arrays
(#344) Visibility must be declared on method "completion_rule_enabled"
(#345) Opening brace should be on the same line as the declaration
mod/choicegroup/renderer.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#49) Line exceeds maximum limit of 180 characters; contains 267 characters
(#50) global $PAGE cannot be used in renderers. Use $this->page.
(#50) Variable "choicegroup_groups" must not contain underscores.
(#53) Short array syntax must be used to define arrays
(#53) Expected 1 space before "=>"; 0 found
(#53) Expected 1 space after "=>"; 0 found
(#53) Expected 1 space before "=>"; 0 found
(#53) Expected 1 space after "=>"; 0 found
(#53) Expected 1 space before "=>"; 0 found
(#56) Short array syntax must be used to define arrays
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#57) Short array syntax must be used to define arrays
(#57) Expected 1 space before "=>"; 0 found
(#57) Expected 1 space after "=>"; 0 found
(#60) Short array syntax must be used to define arrays
(#60) Expected 1 space before "=>"; 0 found
(#60) Expected 1 space after "=>"; 0 found
(#63) Short array syntax must be used to define arrays
(#63) Commas (,) must be followed by white space.
(#63) Line exceeds maximum limit of 180 characters; contains 223 characters
(#64) Short array syntax must be used to define arrays
(#64) Expected 1 space before "=>"; 0 found
(#64) Expected 1 space after "=>"; 0 found
(#66) Logical operator "or" is prohibited; use "||" instead
(#67) Logical operator "and" is prohibited; use "&&" instead
(#67) Logical operator "or" is prohibited; use "||" instead
(#68) Logical operator "and" is prohibited; use "&&" instead
(#70) Short array syntax must be used to define arrays
(#70) Expected 1 space before "=>"; 0 found
(#70) Expected 1 space after "=>"; 0 found
(#72) Expected "} else {\n"; found "}\n else {\n"
(#73) Short array syntax must be used to define arrays
(#73) Expected 1 space before "=>"; 0 found
(#73) Expected 1 space after "=>"; 0 found
(#76) Variable "membersdisplay_html" must not contain underscores.
(#76) Commas (,) must be followed by white space.
(#76) Short array syntax must be used to define arrays
(#76) Commas (,) must be followed by white space.
(#76) Line exceeds maximum limit of 180 characters; contains 238 characters
(#77) Variable "membersdisplay_html" must not contain underscores.
(#77) Short array syntax must be used to define arrays
(#77) Expected 1 space before "=>"; 0 found
(#77) Expected 1 space after "=>"; 0 found
(#77) Line exceeds 132 characters; contains 145 characters
(#84) Expected 1 space before "="; 0 found
(#84) Expected 1 space after "="; 0 found
(#85) Variable "answer_to_groupid_mappings" must not contain underscores.
(#87) Variable "initiallyHideSubmitButton" must be all lower-case
(#89) Variable "choicegroup_groups" must not contain underscores.
(#89) Variable "choicegroup_groups" must not contain underscores.
(#92) Logical operator "or" is prohibited; use "||" instead
(#92) Logical operator "and" is prohibited; use "&&" instead
(#92) Logical operator "or" is prohibited; use "||" instead
(#92) Logical operator "and" is prohibited; use "&&" instead
(#92) Line exceeds maximum limit of 180 characters; contains 220 characters
(#98) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#102) Expected 1 space before "=>"; 0 found
(#102) Expected 1 space after "=>"; 0 found
(#103) Short array syntax must be used to define arrays
(#103) Expected 1 space before "=>"; 0 found
(#103) Expected 1 space after "=>"; 0 found
(#108) Variable "answer_to_groupid_mappings" must not contain underscores.
(#113) Line exceeds 132 characters; contains 152 characters
(#114) Variable "initiallyHideSubmitButton" must be all lower-case
(#119) Short array syntax must be used to define arrays
(#119) Line exceeds 132 characters; contains 138 characters
(#120) Variable "group_members" must not contain underscores.
(#121) Variable "group_members_names" must not contain underscores.
(#121) Short array syntax must be used to define arrays
(#122) Variable "group_members" must not contain underscores.
(#122) Variable "group_member" must not contain underscores.
(#123) Variable "group_members_names" must not contain underscores.
(#123) Variable "group_member" must not contain underscores.
(#125) The use of function sizeof() is forbidden; use count() instead
(#125) Variable "group_members" must not contain underscores.
(#125) Line exceeds 132 characters; contains 163 characters
(#127) Expected 1 space before "="; 0 found
(#127) Expected 1 space after "="; 0 found
(#136) Short array syntax must be used to define arrays
(#138) Expected 1 space before "="; 0 found
(#138) Expected 1 space after "="; 0 found
(#145) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#147) Logical operator "or" is prohibited; use "||" instead
(#148) Logical operator "and" is prohibited; use "&&" instead
(#148) Logical operator "or" is prohibited; use "||" instead
(#149) Logical operator "and" is prohibited; use "&&" instead
(#152) The use of function sizeof() is forbidden; use count() instead
(#152) Variable "group_members_names" must not contain underscores.
(#152) Short array syntax must be used to define arrays
(#154) Variable "group_members_html" must not contain underscores.
(#154) Variable "group_members_names" must not contain underscores.
(#154) Short array syntax must be used to define arrays
(#154) Line exceeds maximum limit of 180 characters; contains 212 characters
(#155) Variable "group_members_html" must not contain underscores.
(#155) Short array syntax must be used to define arrays
(#163) Variable "answer_to_groupid_mappings" must not contain underscores.
(#165) Short array syntax must be used to define arrays
(#165) Expected 1 space before "=>"; 0 found
(#165) Expected 1 space after "=>"; 0 found
(#166) Short array syntax must be used to define arrays
(#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
(#166) Expected 1 space before "=>"; 0 found
(#166) Expected 1 space after "=>"; 0 found
(#167) Short array syntax must be used to define arrays
(#167) Expected 1 space before "=>"; 0 found
(#167) Expected 1 space after "=>"; 0 found
(#167) Expected 1 space before "=>"; 0 found
(#167) Expected 1 space after "=>"; 0 found
(#167) Expected 1 space before "=>"; 0 found
(#167) Expected 1 space after "=>"; 0 found
(#171) Line indented incorrectly; expected at least 16 spaces, found 15
(#174) Short array syntax must be used to define arrays
(#175) Expected 1 space before "=>"; 0 found
(#175) Expected 1 space after "=>"; 0 found
(#176) Expected 1 space before "=>"; 0 found
(#176) Expected 1 space after "=>"; 0 found
(#176) Commas (,) must be followed by white space.
(#177) Expected 1 space before "=>"; 0 found
(#177) Expected 1 space after "=>"; 0 found
(#178) Variable "initiallyHideSubmitButton" must be all lower-case
(#178) Expected 1 space before "?"; 0 found
(#178) Expected 1 space after "?"; 0 found
(#178) Expected 1 space before ":"; 0 found
(#178) Expected 1 space after ":"; 0 found
(#178) There should be a comma after the last array item in a multi-line array.
(#183) Line exceeds 132 characters; contains 133 characters
(#184) Short array syntax must be used to define arrays
(#184) Expected 1 space before "=>"; 0 found
(#184) Expected 1 space after "=>"; 0 found
(#184) Expected 1 space before "=>"; 0 found
(#184) Expected 1 space after "=>"; 0 found
(#184) Expected 1 space before "=>"; 0 found
(#184) Expected 1 space after "=>"; 0 found
(#185) Commas (,) must be followed by white space.
(#187) Usage of ELSEIF not allowed; use ELSE IF instead
(#203) Inline comments must start with a capital letter, digit or 3-dots sequence
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
(#203) No space found before comment text; expected "// allow the publish setting to be overridden" but found "//allow the publish setting to be overridden"
(#209) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) No space found before comment text; expected "// CHOICEGROUP_PUBLISH_NAMES" but found "//CHOICEGROUP_PUBLISH_NAMES"
(#211) Inline comments must end in full-stops, exclamation marks, or question marks
(#211) No space found before comment text; expected "// CHOICEGROUP_PUBLISH_ANONYMOUS';" but found "//CHOICEGROUP_PUBLISH_ANONYMOUS';"
(#226) global $PAGE cannot be used in renderers. Use $this->page.
(#231) Inline comments must start with a capital letter, digit or 3-dots sequence
(#231) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) Inline comments must start with a capital letter, digit or 3-dots sequence
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Expected 1 space after "="; 0 found
(#238) Commas (,) must be followed by white space.
(#240) Short array syntax must be used to define arrays
(#240) Expected 1 space before "=>"; 0 found
(#240) Expected 1 space after "=>"; 0 found
(#241) global $PAGE cannot be used in renderers. Use $this->page.
(#247) Short array syntax must be used to define arrays
(#247) Expected 1 space before "=>"; 0 found
(#247) Expected 1 space after "=>"; 0 found
(#247) Expected 1 space before "=>"; 0 found
(#247) Expected 1 space after "=>"; 0 found
(#247) Expected 1 space before "=>"; 0 found
(#247) Line exceeds 132 characters; contains 133 characters
(#248) Short array syntax must be used to define arrays
(#248) Expected 1 space before "=>"; 0 found
(#248) Expected 1 space after "=>"; 0 found
(#248) Expected 1 space before "=>"; 0 found
(#248) Expected 1 space after "=>"; 0 found
(#248) Expected 1 space before "=>"; 0 found
(#249) Short array syntax must be used to define arrays
(#249) Expected 1 space before "=>"; 0 found
(#249) Expected 1 space after "=>"; 0 found
(#249) Expected 1 space before "=>"; 0 found
(#249) Expected 1 space after "=>"; 0 found
(#249) Expected 1 space before "=>"; 0 found
(#249) Expected 1 space after "=>"; 0 found
(#257) Short array syntax must be used to define arrays
(#262) Short array syntax must be used to define arrays
(#266) Short array syntax must be used to define arrays
(#266) Expected 1 space before "=>"; 0 found
(#266) Expected 1 space after "=>"; 0 found
(#266) Line exceeds 132 characters; contains 135 characters
(#268) Short array syntax must be used to define arrays
(#268) Expected 1 space before "=>"; 0 found
(#268) Expected 1 space after "=>"; 0 found
(#268) Line exceeds maximum limit of 180 characters; contains 181 characters
(#275) Short array syntax must be used to define arrays
(#275) Expected 1 space before "=>"; 0 found
(#275) Expected 1 space after "=>"; 0 found
(#275) Line exceeds 132 characters; contains 159 characters
(#282) Short array syntax must be used to define arrays
(#289) Expected "if (...) {\n"; found "if (...){\n"
(#294) Commas (,) must be followed by white space.
(#295) Short array syntax must be used to define arrays
(#295) Expected 1 space before "=>"; 0 found
(#295) Expected 1 space after "=>"; 0 found
(#297) Short array syntax must be used to define arrays
(#297) Expected 1 space before "=>"; 0 found
(#297) Expected 1 space after "=>"; 0 found
(#298) Short array syntax must be used to define arrays
(#298) Expected 1 space before "=>"; 0 found
(#298) Expected 1 space after "=>"; 0 found
(#300) Short array syntax must be used to define arrays
(#300) Expected 1 space before "=>"; 0 found
(#300) Expected 1 space after "=>"; 0 found
(#300) Commas (,) must be followed by white space.
(#300) Expected 1 space before "=>"; 0 found
(#300) Expected 1 space after "=>"; 0 found
(#301) Short array syntax must be used to define arrays
(#301) Expected 1 space before "=>"; 0 found
(#301) Expected 1 space after "=>"; 0 found
(#301) Expected 1 space before "=>"; 0 found
(#301) Expected 1 space after "=>"; 0 found
(#301) Line exceeds 132 characters; contains 153 characters
(#302) Short array syntax must be used to define arrays
(#302) Expected 1 space before "=>"; 0 found
(#302) Expected 1 space after "=>"; 0 found
(#303) Commas (,) must be followed by white space.
(#303) Short array syntax must be used to define arrays
(#303) Expected 1 space before "=>"; 0 found
(#303) Expected 1 space after "=>"; 0 found
(#304) Short array syntax must be used to define arrays
(#304) Expected 1 space before "=>"; 0 found
(#304) Expected 1 space after "=>"; 0 found
(#317) Short array syntax must be used to define arrays
(#317) Expected 1 space before "=>"; 0 found
(#317) Expected 1 space after "=>"; 0 found
(#327) Short array syntax must be used to define arrays
(#327) Expected 1 space before "=>"; 0 found
(#327) Expected 1 space after "=>"; 0 found
(#327) Line exceeds 132 characters; contains 150 characters
(#329) global $PAGE cannot be used in renderers. Use $this->page.
(#329) Short array syntax must be used to define arrays
(#329) Expected 1 space before "=>"; 0 found
(#329) Expected 1 space after "=>"; 0 found
(#329) Expected 1 space before "=>"; 0 found
(#329) Expected 1 space after "=>"; 0 found
(#330) Short array syntax must be used to define arrays
(#330) Expected 1 space before "=>"; 0 found
(#330) Expected 1 space after "=>"; 0 found
(#330) Short array syntax must be used to define arrays
(#330) Expected 1 space before "=>"; 0 found
(#330) Expected 1 space after "=>"; 0 found
(#330) Line exceeds 132 characters; contains 177 characters
(#332) global $PAGE cannot be used in renderers. Use $this->page.
(#335) Short array syntax must be used to define arrays
(#335) Expected 1 space before "=>"; 0 found
(#335) Expected 1 space after "=>"; 0 found
(#351) Variable "CHOICEGROUP_COLUMN_WIDTH" must be all lower-case
(#351) Variable "CHOICEGROUP_COLUMN_WIDTH" must not contain underscores.
(#354) Inline comments must start with a capital letter, digit or 3-dots sequence
(#354) Inline comments must end in full-stops, exclamation marks, or question marks
(#361) Short array syntax must be used to define arrays
(#366) Short array syntax must be used to define arrays
(#371) Line indented incorrectly; expected at least 16 spaces, found 15
(#377) Expected "if (...) {\n"; found "if(...) {\n"
(#378) Line indented incorrectly; expected at least 16 spaces, found 15
(#378) Variable "CHOICEGROUP_COLUMN_WIDTH" must be all lower-case
(#378) Variable "CHOICEGROUP_COLUMN_WIDTH" must not contain underscores.
(#379) Line indented incorrectly; expected at least 16 spaces, found 15
(#379) Expected 1 space before "/"; 0 found
(#379) Expected 1 space after "/"; 0 found
(#379) Expected 1 space before "*"; 0 found
(#379) Expected 1 space after "*"; 0 found
(#381) Commas (,) must be followed by white space.
(#381) Short array syntax must be used to define arrays
(#381) Expected 1 space before "=>"; 0 found
(#381) Expected 1 space after "=>"; 0 found
(#381) Expected 1 space before "=>"; 0 found
(#381) Expected 1 space after "=>"; 0 found
(#381) Expected 1 space before "=>"; 0 found
(#381) Expected 1 space after "=>"; 0 found
(#381) Line exceeds 132 characters; contains 172 characters
(#383) Short array syntax must be used to define arrays
(#383) Expected 1 space before "=>"; 0 found
(#383) Expected 1 space after "=>"; 0 found
(#383) Expected 1 space before "=>"; 0 found
(#383) Expected 1 space after "=>"; 0 found
(#383) Line exceeds 132 characters; contains 161 characters
(#384) Short array syntax must be used to define arrays
(#384) Expected 1 space before "=>"; 0 found
(#384) Expected 1 space after "=>"; 0 found
(#384) Expected 1 space before "=>"; 0 found
(#384) Expected 1 space after "=>"; 0 found
(#387) Short array syntax must be used to define arrays
(#387) Expected 1 space before "=>"; 0 found
(#387) Expected 1 space after "=>"; 0 found
(#391) Short array syntax must be used to define arrays
(#391) Expected 1 space before "=>"; 0 found
(#391) Expected 1 space after "=>"; 0 found
(#391) Line exceeds 132 characters; contains 138 characters
(#393) Short array syntax must be used to define arrays
(#393) Expected 1 space before "=>"; 0 found
(#393) Expected 1 space after "=>"; 0 found
(#393) Line exceeds maximum limit of 180 characters; contains 184 characters
(#395) Short array syntax must be used to define arrays
(#395) Expected 1 space before "=>"; 0 found
(#395) Expected 1 space before "=>"; 0 found
(#395) Expected 1 space after "=>"; 0 found
(#395) Line exceeds 132 characters; contains 160 characters
(#397) Expected "if (...) {\n"; found "if(...) {\n"
(#398) Line indented incorrectly; expected at least 16 spaces, found 15
(#398) Expected 1 space before "/"; 0 found
(#398) Expected 1 space after "/"; 0 found
(#398) Expected 1 space before "*"; 0 found
(#398) Expected 1 space after "*"; 0 found
(#400) Commas (,) must be followed by white space.
(#400) Short array syntax must be used to define arrays
(#400) Expected 1 space before "=>"; 0 found
(#400) Expected 1 space after "=>"; 0 found
(#403) Short array syntax must be used to define arrays
(#403) Expected 1 space before "=>"; 0 found
(#403) Expected 1 space after "=>"; 0 found
(#406) Short array syntax must be used to define arrays
(#413) Commas (,) must be followed by white space.
(#414) Short array syntax must be used to define arrays
(#414) Expected 1 space before "=>"; 0 found
(#414) Expected 1 space after "=>"; 0 found
mod/choicegroup/report.php
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) No space found before comment text; expected "// moduleid" but found "//moduleid"
(#34) Short array syntax must be used to define arrays
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) No space found before comment text; expected "// get array of responses to delete." but found "//get array of responses to delete."
(#36) Short array syntax must be used to define arrays
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#49) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#52) Short array syntax must be used to define arrays
(#53) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#63) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#70) Short array syntax must be used to define arrays
(#72) There should be a comma after the last array item in a multi-line array.
(#80) Commas (,) must be followed by white space.
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) No space found before comment text; expected "// delete responses." but found "//delete responses."
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) 3 slashes comments are not allowed; use "// Comment." instead
(#100) Variable "groups_ids" must not contain underscores.
(#100) Short array syntax must be used to define arrays
(#101) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#102) Variable "groups_ids" must not contain underscores.
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Line indented incorrectly; expected at least 4 spaces, found 0
(#110) 3 slashes comments are not allowed; use "// Comment." instead
(#111) Commas (,) must be followed by white space.
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Line indented incorrectly; expected at least 4 spaces, found 0
(#112) 3 slashes comments are not allowed; use "// Comment." instead
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) Line indented incorrectly; expected at least 4 spaces, found 0
(#114) 3 slashes comments are not allowed; use "// Comment." instead
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Line indented incorrectly; expected at least 4 spaces, found 0
(#116) 3 slashes comments are not allowed; use "// Comment." instead
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Line indented incorrectly; expected at least 4 spaces, found 0
(#119) 3 slashes comments are not allowed; use "// Comment." instead
(#120) Commas (,) must be followed by white space.
(#120) Commas (,) must be followed by white space.
(#121) Commas (,) must be followed by white space.
(#121) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#123) Commas (,) must be followed by white space.
(#123) Commas (,) must be followed by white space.
(#124) Commas (,) must be followed by white space.
(#124) Commas (,) must be followed by white space.
(#125) Commas (,) must be followed by white space.
(#125) Commas (,) must be followed by white space.
(#125) Commas (,) must be followed by white space.
(#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) Line indented incorrectly; expected at least 4 spaces, found 0
(#127) 3 slashes comments are not allowed; use "// Comment." instead
(#128) Expected 1 space before "="; 0 found
(#128) Expected 1 space after "="; 0 found
(#129) Expected 1 space before "="; 0 found
(#129) Expected 1 space after "="; 0 found
(#131) Short array syntax must be used to define arrays
(#133) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#138) Commas (,) must be followed by white space.
(#138) Commas (,) must be followed by white space.
(#139) Commas (,) must be followed by white space.
(#139) Commas (,) must be followed by white space.
(#140) Expected 1 space before "="; 0 found
(#140) Expected 1 space after "="; 0 found
(#141) Commas (,) must be followed by white space.
(#141) Commas (,) must be followed by white space.
(#142) Commas (,) must be followed by white space.
(#142) Commas (,) must be followed by white space.
(#143) Short array syntax must be used to define arrays
(#145) Variable "groups_ids" must not contain underscores.
(#153) Expected 1 space before "="; 0 found
(#153) Expected 1 space after "="; 0 found
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) 3 slashes comments are not allowed; use "// Comment." instead
(#163) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) No space found before comment text; expected "// print spreadsheet if one is asked for:" but found "//print spreadsheet if one is asked for:"
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Line indented incorrectly; expected at least 4 spaces, found 0
(#167) 3 slashes comments are not allowed; use "// Comment." instead
(#168) Commas (,) must be followed by white space.
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Line indented incorrectly; expected at least 4 spaces, found 0
(#169) 3 slashes comments are not allowed; use "// Comment." instead
(#171) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Line indented incorrectly; expected at least 4 spaces, found 0
(#171) 3 slashes comments are not allowed; use "// Comment." instead
(#173) Line indented incorrectly; expected at least 4 spaces, found 0
(#173) 3 slashes comments are not allowed; use "// Comment." instead
(#174) Line exceeds 132 characters; contains 179 characters
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Line indented incorrectly; expected at least 4 spaces, found 0
(#177) 3 slashes comments are not allowed; use "// Comment." instead
(#178) Commas (,) must be followed by white space.
(#178) Commas (,) must be followed by white space.
(#179) Commas (,) must be followed by white space.
(#179) Commas (,) must be followed by white space.
(#180) Commas (,) must be followed by white space.
(#180) Commas (,) must be followed by white space.
(#181) Commas (,) must be followed by white space.
(#181) 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.
(#186) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) Line indented incorrectly; expected at least 4 spaces, found 0
(#186) 3 slashes comments are not allowed; use "// Comment." instead
(#187) Expected 1 space before "="; 0 found
(#187) Expected 1 space after "="; 0 found
(#188) Expected 1 space before "="; 0 found
(#188) Expected 1 space after "="; 0 found
(#190) Short array syntax must be used to define arrays
(#192) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#197) Commas (,) must be followed by white space.
(#197) Commas (,) must be followed by white space.
(#198) Commas (,) must be followed by white space.
(#198) Commas (,) must be followed by white space.
(#199) Expected 1 space before "="; 0 found
(#199) Expected 1 space after "="; 0 found
(#200) Commas (,) must be followed by white space.
(#200) Commas (,) must be followed by white space.
(#201) Commas (,) must be followed by white space.
(#201) Commas (,) must be followed by white space.
(#202) Short array syntax must be used to define arrays
(#204) Variable "groups_ids" must not contain underscores.
(#214) Expected 1 space before "="; 0 found
(#214) Expected 1 space after "="; 0 found
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#216) 3 slashes comments are not allowed; use "// Comment." instead
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) Commas (,) must be followed by white space.
(#231) Inline comments must end in full-stops, exclamation marks, or question marks
(#231) 3 slashes comments are not allowed; use "// Comment." instead
(#236) Commas (,) must be followed by white space.
(#238) Inline comments must start with a capital letter, digit or 3-dots sequence
(#238) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) 3 slashes comments are not allowed; use "// Comment." instead
(#239) Expected 1 space before "="; 0 found
(#239) Expected 1 space after "="; 0 found
(#241) Short array syntax must be used to define arrays
(#243) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#256) Short array syntax must be used to define arrays
(#258) Variable "groups_ids" must not contain underscores.
(#281) Inline comments must start with a capital letter, digit or 3-dots sequence
(#281) No space found before comment text; expected "// now give links for downloading spreadsheets." but found "//now give links for downloading spreadsheets."
(#282) Commas (,) must be followed by white space.
(#283) Short array syntax must be used to define arrays
(#284) Short array syntax must be used to define arrays
(#287) Expected 1 space after "="; 2 found
(#288) Short array syntax must be used to define arrays
(#288) Expected 1 space before "=>"; 0 found
(#288) Expected 1 space after "=>"; 0 found
(#292) Short array syntax must be used to define arrays
(#292) Expected 1 space before "=>"; 0 found
(#292) Expected 1 space after "=>"; 0 found
(#296) Short array syntax must be used to define arrays
(#296) Expected 1 space before "=>"; 0 found
(#296) Expected 1 space after "=>"; 0 found
(#299) Short array syntax must be used to define arrays
(#299) Expected 1 space before "=>"; 0 found
(#299) Expected 1 space after "=>"; 0 found
(#300) Commas (,) must be followed by white space.
(#300) Short array syntax must be used to define arrays
(#300) Expected 1 space before "=>"; 0 found
(#300) Expected 1 space after "=>"; 0 found
mod/choicegroup/settings.php
(#35) Line exceeds 132 characters; contains 171 characters
mod/choicegroup/version.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
mod/choicegroup/view.php
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Short array syntax must be used to define arrays
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Short array syntax must be used to define arrays
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#44) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#47) Short array syntax must be used to define arrays
(#48) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#54) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#56) Variable "choicegroup_groups" must not contain underscores.
(#57) Variable "choicegroup_users" must not contain underscores.
(#57) Short array syntax must be used to define arrays
(#63) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#66) Short array syntax must be used to define arrays
(#68) There should be a comma after the last array item in a multi-line array.
(#72) Logical operator "and" is prohibited; use "&&" instead
(#72) Logical operator "and" is prohibited; use "&&" instead
(#72) Logical operator "and" is prohibited; use "&&" instead
(#72) Logical operator "and" is prohibited; use "&&" instead
(#72) Logical operator "and" is prohibited; use "&&" instead
(#72) Line exceeds maximum limit of 180 characters; contains 214 characters
(#73) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Short array syntax must be used to define arrays
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) 3 slashes comments are not allowed; use "// Comment." instead
(#97) Expected 1 space before "="; 0 found
(#97) Expected 1 space after "="; 0 found
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) 3 slashes comments are not allowed; use "// Comment." instead
(#104) Variable "number_of_groups" must not contain underscores.
(#108) Variable "number_of_groups" must not contain underscores.
(#109) Variable "answer_value" must not contain underscores.
(#110) Variable "answer_value" must not contain underscores.
(#116) Short array syntax must be used to define arrays
(#120) Variable "number_of_groups" must not contain underscores.
(#121) Variable "answer_value" must not contain underscores.
(#122) Variable "answer_value" must not contain underscores.
(#123) Variable "answer_value" must not contain underscores.
(#125) Variable "answer_value_group_id" must not contain underscores.
(#126) Variable "answer_value_group_id" must not contain underscores.
(#127) Variable "answer_value_group" must not contain underscores.
(#127) Short array syntax must be used to define arrays
(#127) Variable "answer_value_group_id" must not contain underscores.
(#128) Variable "answer_value_group_id" must not contain underscores.
(#139) Inline comments must start with a capital letter, digit or 3-dots sequence
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) No space found before comment text; expected "// some responses need to be deleted" but found "//some responses need to be deleted"
(#144) Inline comments must start with a capital letter, digit or 3-dots sequence
(#144) No space found before comment text; expected "// delete responses." but found "//delete responses."
(#153) Short array syntax must be used to define arrays
(#157) Short array syntax must be used to define arrays
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) 3 slashes comments are not allowed; use "// Comment." instead
(#176) Logical operator "and" is prohibited; use "&&" instead
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) 3 slashes comments are not allowed; use "// Comment." instead
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) No space found before comment text; expected "// if user has already made a selection, and they are not allowed to update it, show their selected answer." but found "//if user has already made a selection, and they are not allowed to update it, show their selected answer."
(#226) Short array syntax must be used to define arrays
(#232) Variable "formatted_names" must not contain underscores.
(#232) Short array syntax must be used to define arrays
(#232) Line exceeds 132 characters; contains 173 characters
(#233) Variable "formatted_names" must not contain underscores.
(#233) Line exceeds 132 characters; contains 157 characters
(#236) Line exceeds 132 characters; contains 170 characters
(#240) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) 3 slashes comments are not allowed; use "// Comment." instead
(#243) Expected 1 space after "!="; 0 found
(#256) Logical operator "or" is prohibited; use "||" instead
(#256) Logical operator "and" is prohibited; use "&&" instead
(#256) Logical operator "and" is prohibited; use "&&" instead
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) Line indented incorrectly; expected at least 4 spaces, found 0
(#259) Line exceeds maximum limit of 180 characters; contains 260 characters
(#261) Inline comments must start with a capital letter, digit or 3-dots sequence
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#262) Line exceeds maximum limit of 180 characters; contains 259 characters
(#269) Inline comments must end in full-stops, exclamation marks, or question marks
(#271) Short array syntax must be used to define arrays
(#271) Expected 1 space before "=>"; 0 found
(#271) Expected 1 space after "=>"; 0 found
(#273) Inline comments must end in full-stops, exclamation marks, or question marks
(#278) Short array syntax must be used to define arrays
(#283) Short array syntax must be used to define arrays
(#283) Expected 1 space before "=>"; 0 found
(#283) Expected 1 space after "=>"; 0 found
(#283) Line exceeds 132 characters; contains 150 characters
(#289) Inline comments must start with a capital letter, digit or 3-dots sequence
(#289) Inline comments must end in full-stops, exclamation marks, or question marks
(#290) Empty IF statement detected
(#290) Logical operator "or" is prohibited; use "||" instead
(#291) Logical operator "and" is prohibited; use "&&" instead
(#291) Logical operator "or" is prohibited; use "||" instead
(#292) Logical operator "and" is prohibited; use "&&" instead
(#294) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#297) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#300) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#300) Logical operator "and" is prohibited; use "&&" instead
(#303) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"

Javascript coding style problems

(349 errors, 171 warnings)

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

mod/choicegroup/amd/src/choicegroupdatadisplay.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#4) There should be no space after this paren. (space-in-parens)
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#10) Unexpected space before function parentheses. (space-before-function-paren)
(#13) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#15) Unexpected space before function parentheses. (space-before-function-paren)
(#22) There should be no space after this paren. (space-in-parens)
(#22) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#31) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#33) Unexpected space before function parentheses. (space-before-function-paren)
mod/choicegroup/amd/src/select_all_choices.js
(#26) Unexpected space before function parentheses. (space-before-function-paren)
mod/choicegroup/mobile/js/ionic3/courseview.js
(#46) "Promise" is not defined. (promise/no-native)
(#54) Each then() should return a value or throw (promise/always-return)
(#61) Avoid nesting promises. (promise/no-nesting)
(#61) Avoid nesting promises. (promise/no-nesting)
(#125) Each then() should return a value or throw (promise/always-return)
(#145) Missing semicolon. (semi)
(#180) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#197) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#215) Expected catch,fail,always() or return (promise/catch-or-return)
(#220) Expected to return a value at the end of function. (consistent-return)
(#238) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#239) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
mod/choicegroup/mobile/js/ionic3/init.js
(#105) Avoid nesting promises. (promise/no-nesting)
(#142) Avoid nesting promises. (promise/no-nesting)
(#190) Unexpected empty function 'AddonModChoiceGroupProvider'. (no-empty-function)
(#225) Avoid nesting promises. (promise/no-nesting)
(#225) Avoid nesting promises. (promise/no-nesting)
(#230) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#230) "Promise" is not defined. (promise/no-native)
(#252) Avoid nesting promises. (promise/no-nesting)
(#252) Expected to return a value at the end of function. (consistent-return)
(#254) Each then() should return a value or throw (promise/always-return)
(#259) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#259) "Promise" is not defined. (promise/no-native)
(#299) Avoid nesting promises. (promise/no-nesting)
(#299) Avoid nesting promises. (promise/no-nesting)
(#304) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#304) "Promise" is not defined. (promise/no-native)
(#328) Avoid nesting promises. (promise/no-nesting)
(#328) Expected to return a value at the end of function. (consistent-return)
(#330) Each then() should return a value or throw (promise/always-return)
(#335) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#335) "Promise" is not defined. (promise/no-native)
(#389) Avoid nesting promises. (promise/no-nesting)
(#390) Each then() should return a value or throw (promise/always-return)
(#400) "Promise" is not defined. (promise/no-native)
(#414) Expected to return a value at the end of function. (consistent-return)
(#415) Each then() should return a value or throw (promise/always-return)
(#449) Avoid nesting promises. (promise/no-nesting)
(#449) Avoid nesting promises. (promise/no-nesting)
(#449) Avoid nesting promises. (promise/no-nesting)
(#449) Avoid nesting promises. (promise/no-nesting)
(#449) Avoid nesting promises. (promise/no-nesting)
(#460) Function expected no return value. (consistent-return)
(#460) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#460) "Promise" is not defined. (promise/no-native)
(#477) Function expected no return value. (consistent-return)
(#477) Avoid nesting promises. (promise/no-nesting)
(#477) Avoid nesting promises. (promise/no-nesting)
(#487) Avoid nesting promises. (promise/no-nesting)
(#487) Each then() should return a value or throw (promise/always-return)
(#498) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#498) "Promise" is not defined. (promise/no-native)
(#500) Expected to return a value at the end of function. (consistent-return)
(#501) Each then() should return a value or throw (promise/always-return)
(#512) Avoid nesting promises. (promise/no-nesting)
(#525) Unreachable code. (no-unreachable)
(#525) 'syncPromise' is not defined. (no-undef)
(#549) Expected to return a value at the end of function. (consistent-return)
(#600) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
mod/choicegroup/mobile/js/latest/courseview.js
(#45) "Promise" is not defined. (promise/no-native)
(#61) Avoid nesting promises. (promise/no-nesting)
(#61) Avoid nesting promises. (promise/no-nesting)
(#93) Avoid nesting promises. (promise/no-nesting)
(#93) Avoid nesting promises. (promise/no-nesting)
(#125) Each then() should return a value or throw (promise/always-return)
(#180) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#197) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#215) Expected catch,fail,always() or return (promise/catch-or-return)
(#220) Expected to return a value at the end of arrow function. (consistent-return)
(#238) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#239) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
mod/choicegroup/mobile/js/latest/init.js
(#106) Avoid nesting promises. (promise/no-nesting)
(#143) Avoid nesting promises. (promise/no-nesting)
(#225) Avoid nesting promises. (promise/no-nesting)
(#225) Avoid nesting promises. (promise/no-nesting)
(#230) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#230) "Promise" is not defined. (promise/no-native)
(#252) Avoid nesting promises. (promise/no-nesting)
(#252) Expected to return a value at the end of arrow function. (consistent-return)
(#254) Each then() should return a value or throw (promise/always-return)
(#259) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#259) "Promise" is not defined. (promise/no-native)
(#297) Avoid nesting promises. (promise/no-nesting)
(#297) Avoid nesting promises. (promise/no-nesting)
(#302) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#302) "Promise" is not defined. (promise/no-native)
(#326) Avoid nesting promises. (promise/no-nesting)
(#326) Expected to return a value at the end of arrow function. (consistent-return)
(#328) Each then() should return a value or throw (promise/always-return)
(#333) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#333) "Promise" is not defined. (promise/no-native)
(#383) Avoid nesting promises. (promise/no-nesting)
(#384) Each then() should return a value or throw (promise/always-return)
(#394) "Promise" is not defined. (promise/no-native)
(#406) Expected to return a value at the end of arrow function. (consistent-return)
(#407) Each then() should return a value or throw (promise/always-return)
(#439) Avoid nesting promises. (promise/no-nesting)
(#439) Avoid nesting promises. (promise/no-nesting)
(#439) Avoid nesting promises. (promise/no-nesting)
(#439) Avoid nesting promises. (promise/no-nesting)
(#439) Avoid nesting promises. (promise/no-nesting)
(#450) Arrow function expected no return value. (consistent-return)
(#450) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#450) "Promise" is not defined. (promise/no-native)
(#467) Arrow function expected no return value. (consistent-return)
(#467) Avoid nesting promises. (promise/no-nesting)
(#467) Avoid nesting promises. (promise/no-nesting)
(#477) Avoid nesting promises. (promise/no-nesting)
(#477) Each then() should return a value or throw (promise/always-return)
(#488) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#488) "Promise" is not defined. (promise/no-native)
(#490) Expected to return a value at the end of arrow function. (consistent-return)
(#491) Each then() should return a value or throw (promise/always-return)
(#502) Avoid nesting promises. (promise/no-nesting)
(#515) Unreachable code. (no-unreachable)
(#515) 'syncPromise' is not defined. (no-undef)
(#542) Expected to return a value at the end of method 'execute'. (consistent-return)
(#579) Expected catch,fail,always() or return (promise/catch-or-return)
(#579) Each then() should return a value or throw (promise/always-return)
(#592) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
mod/choicegroup/yui/form/form.js
(#9) 'YUI' is not defined. (no-undef)
(#10) Unexpected tab character. (no-tabs)
(#10) 'CSS' is assigned a value but never used. (no-unused-vars)
(#11) Unexpected tab character. (no-tabs)
(#12) Unexpected tab character. (no-tabs)
(#13) Unexpected tab character. (no-tabs)
(#14) Unexpected tab character. (no-tabs)
(#15) Unexpected tab character. (no-tabs)
(#16) Unexpected tab character. (no-tabs)
(#17) Unexpected tab character. (no-tabs)
(#18) Unexpected tab character. (no-tabs)
(#19) Unexpected tab character. (no-tabs)
(#20) Unexpected tab character. (no-tabs)
(#21) Unexpected tab character. (no-tabs)
(#22) Unexpected tab character. (no-tabs)
(#23) Unexpected tab character. (no-tabs)
(#24) Unexpected tab character. (no-tabs)
(#25) Unexpected tab character. (no-tabs)
(#26) Unexpected tab character. (no-tabs)
(#27) Unexpected tab character. (no-tabs)
(#28) Unexpected tab character. (no-tabs)
(#29) Unexpected tab character. (no-tabs)
(#30) Unexpected tab character. (no-tabs)
(#31) Unexpected tab character. (no-tabs)
(#33) Unexpected tab character. (no-tabs)
(#34) Unexpected tab character. (no-tabs)
(#35) Unexpected tab character. (no-tabs)
(#43) Unexpected tab character. (no-tabs)
(#44) Unexpected tab character. (no-tabs)
(#45) Unexpected tab character. (no-tabs)
(#46) Unexpected tab character. (no-tabs)
(#47) Unexpected tab character. (no-tabs)
(#48) Unexpected tab character. (no-tabs)
(#49) Unexpected tab character. (no-tabs)
(#50) Unexpected tab character. (no-tabs)
(#51) Unexpected tab character. (no-tabs)
(#52) Unexpected tab character. (no-tabs)
(#53) Unexpected tab character. (no-tabs)
(#54) Unexpected tab character. (no-tabs)
(#56) Unexpected tab character. (no-tabs)
(#58) Unexpected tab character. (no-tabs)
(#59) Unexpected tab character. (no-tabs)
(#60) Unexpected tab character. (no-tabs)
(#63) Unexpected tab character. (no-tabs)
(#63) 'removeElementFromArray' is defined but never used. (no-unused-vars)
(#64) Unexpected tab character. (no-tabs)
(#64) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#65) Unexpected tab character. (no-tabs)
(#65) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#66) Unexpected tab character. (no-tabs)
(#66) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#67) Unexpected tab character. (no-tabs)
(#69) Unexpected tab character. (no-tabs)
(#70) Unexpected tab character. (no-tabs)
(#71) Unexpected tab character. (no-tabs)
(#73) Unexpected tab character. (no-tabs)
(#74) Unexpected tab character. (no-tabs)
(#75) Unexpected tab character. (no-tabs)
(#76) Unexpected tab character. (no-tabs)
(#76) Use '===' to compare with null. (no-eq-null)
(#77) Unexpected tab character. (no-tabs)
(#77) A space is required after ','. (comma-spacing)
(#78) Unexpected tab character. (no-tabs)
(#78) Missing space before opening brace. (space-before-blocks)
(#79) Unexpected tab character. (no-tabs)
(#80) Unexpected tab character. (no-tabs)
(#81) Unexpected tab character. (no-tabs)
(#82) Unexpected tab character. (no-tabs)
(#83) Unexpected tab character. (no-tabs)
(#84) Unexpected tab character. (no-tabs)
(#85) Unexpected tab character. (no-tabs)
(#87) Unexpected tab character. (no-tabs)
(#88) Unexpected tab character. (no-tabs)
(#89) Unexpected tab character. (no-tabs)
(#89) Comments should not begin with a lowercase character. (capitalized-comments)
(#90) This line has a length of 166. Maximum allowed is 132. (max-len)
(#90) Unexpected tab character. (no-tabs)
(#90) There should be no space after this paren. (space-in-parens)
(#91) Unexpected tab character. (no-tabs)
(#91) Comments should not begin with a lowercase character. (capitalized-comments)
(#92) Unexpected tab character. (no-tabs)
(#93) Unexpected tab character. (no-tabs)
(#93) Comments should not begin with a lowercase character. (capitalized-comments)
(#94) Unexpected tab character. (no-tabs)
(#95) Unexpected tab character. (no-tabs)
(#95) Comments should not begin with a lowercase character. (capitalized-comments)
(#96) Unexpected tab character. (no-tabs)
(#97) Unexpected tab character. (no-tabs)
(#97) Comments should not begin with a lowercase character. (capitalized-comments)
(#98) Unexpected tab character. (no-tabs)
(#99) Unexpected tab character. (no-tabs)
(#100) Unexpected tab character. (no-tabs)
(#101) Unexpected tab character. (no-tabs)
(#101) Comments should not begin with a lowercase character. (capitalized-comments)
(#102) Unexpected tab character. (no-tabs)
(#102) Unexpected space before function parentheses. (space-before-function-paren)
(#103) Unexpected tab character. (no-tabs)
(#104) Unexpected tab character. (no-tabs)
(#105) Unexpected tab character. (no-tabs)
(#106) Unexpected tab character. (no-tabs)
(#107) Unexpected tab character. (no-tabs)
(#108) Unexpected tab character. (no-tabs)
(#112) Unexpected tab character. (no-tabs)
(#114) Unexpected tab character. (no-tabs)
(#114) 'e' is defined but never used. (no-unused-vars)
(#115) Unexpected tab character. (no-tabs)
(#116) Unexpected tab character. (no-tabs)
(#116) Comments should not begin with a lowercase character. (capitalized-comments)
(#117) Unexpected tab character. (no-tabs)
(#118) Unexpected tab character. (no-tabs)
(#119) Unexpected tab character. (no-tabs)
(#121) Unexpected tab character. (no-tabs)
(#122) Unexpected tab character. (no-tabs)
(#124) Unexpected tab character. (no-tabs)
(#125) Unexpected tab character. (no-tabs)
(#126) Unexpected tab character. (no-tabs)
(#127) Unexpected tab character. (no-tabs)
(#127) Comments should not begin with a lowercase character. (capitalized-comments)
(#128) Unexpected tab character. (no-tabs)
(#129) Unexpected tab character. (no-tabs)
(#129) Comments should not begin with a lowercase character. (capitalized-comments)
(#130) Unexpected tab character. (no-tabs)
(#131) Unexpected tab character. (no-tabs)
(#132) Unexpected tab character. (no-tabs)
(#133) Unexpected tab character. (no-tabs)
(#134) Unexpected tab character. (no-tabs)
(#134) Comments should not begin with a lowercase character. (capitalized-comments)
(#135) Unexpected tab character. (no-tabs)
(#136) Unexpected tab character. (no-tabs)
(#137) Unexpected tab character. (no-tabs)
(#137) Comments should not begin with a lowercase character. (capitalized-comments)
(#138) Unexpected tab character. (no-tabs)
(#139) Unexpected tab character. (no-tabs)
(#140) Unexpected tab character. (no-tabs)
(#142) Unexpected tab character. (no-tabs)
(#143) Unexpected tab character. (no-tabs)
(#144) Unexpected tab character. (no-tabs)
(#145) Unexpected tab character. (no-tabs)
(#146) Unexpected tab character. (no-tabs)
(#147) Unexpected tab character. (no-tabs)
(#148) Unexpected tab character. (no-tabs)
(#149) Unexpected tab character. (no-tabs)
(#150) Unexpected tab character. (no-tabs)
(#151) Unexpected tab character. (no-tabs)
(#152) Unexpected tab character. (no-tabs)
(#153) Unexpected tab character. (no-tabs)
(#154) Unexpected tab character. (no-tabs)
(#155) Unexpected tab character. (no-tabs)
(#158) Unexpected tab character. (no-tabs)
(#160) Unexpected tab character. (no-tabs)
(#161) Unexpected tab character. (no-tabs)
(#162) Unexpected tab character. (no-tabs)
(#163) Unexpected tab character. (no-tabs)
(#164) Unexpected tab character. (no-tabs)
(#165) Unexpected tab character. (no-tabs)
(#166) Unexpected tab character. (no-tabs)
(#167) Unexpected tab character. (no-tabs)
(#169) Unexpected tab character. (no-tabs)
(#170) Unexpected tab character. (no-tabs)
(#171) Unexpected tab character. (no-tabs)
(#172) Unexpected tab character. (no-tabs)
(#173) Unexpected tab character. (no-tabs)
(#174) Unexpected tab character. (no-tabs)
(#175) Unexpected tab character. (no-tabs)
(#176) Unexpected tab character. (no-tabs)
(#187) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#187) Unexpected tab character. (no-tabs)
(#191) This line has a length of 201. Maximum allowed is 132. (max-len)
(#195) This line has a length of 137. Maximum allowed is 132. (max-len)
(#195) Statement inside of curly braces should be on next line. (brace-style)
(#195) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#199) This line has a length of 138. Maximum allowed is 132. (max-len)
(#199) Statement inside of curly braces should be on next line. (brace-style)
(#199) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#203) This line has a length of 172. Maximum allowed is 132. (max-len)
(#203) Unexpected tab character. (no-tabs)
(#203) There should be no space after this paren. (space-in-parens)
(#204) Unexpected tab character. (no-tabs)
(#205) Unexpected tab character. (no-tabs)
(#206) Unexpected tab character. (no-tabs)
(#207) Unexpected tab character. (no-tabs)
(#208) Unexpected tab character. (no-tabs)
(#209) Unexpected tab character. (no-tabs)
(#212) 'getTextWidth' is not defined. (no-undef)
(#213) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#213) Unexpected tab character. (no-tabs)
(#215) 'getTextWidth' is not defined. (no-undef)
(#215) 'getTextWidth' is not defined. (no-undef)
(#223) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#223) Unexpected tab character. (no-tabs)
(#224) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#224) Unexpected tab character. (no-tabs)
(#225) Unexpected tab character. (no-tabs)
(#226) Unexpected tab character. (no-tabs)
(#226) 'getTextWidth' is not defined. (no-undef)
(#226) A space is required after ','. (comma-spacing)
(#227) Unexpected tab character. (no-tabs)
(#228) Unexpected tab character. (no-tabs)
(#229) Unexpected tab character. (no-tabs)
(#232) Unexpected tab character. (no-tabs)
(#233) Unexpected tab character. (no-tabs)
(#234) Unexpected tab character. (no-tabs)
(#235) Unexpected tab character. (no-tabs)
(#236) Unexpected tab character. (no-tabs)
(#237) Unexpected tab character. (no-tabs)
(#237) Requires a space after '{'. (block-spacing)
(#237) Statement inside of curly braces should be on next line. (brace-style)
(#237) Requires a space before '}'. (block-spacing)
(#237) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#238) Unexpected tab character. (no-tabs)
(#239) Unexpected tab character. (no-tabs)
(#240) Unexpected tab character. (no-tabs)
(#240) Unexpected space before function parentheses. (space-before-function-paren)
(#241) Unexpected tab character. (no-tabs)
(#242) Unexpected tab character. (no-tabs)
(#243) Unexpected tab character. (no-tabs)
(#244) Unexpected tab character. (no-tabs)
(#245) Unexpected tab character. (no-tabs)
(#246) Unexpected tab character. (no-tabs)
(#247) Unexpected tab character. (no-tabs)
(#250) Unexpected tab character. (no-tabs)
(#251) Unexpected tab character. (no-tabs)
(#252) Unexpected tab character. (no-tabs)
(#254) Unexpected tab character. (no-tabs)
(#254) Comments should not begin with a lowercase character. (capitalized-comments)
(#258) Unexpected tab character. (no-tabs)
(#259) Unexpected tab character. (no-tabs)
(#262) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#266) Unexpected tab character. (no-tabs)
(#267) Unexpected tab character. (no-tabs)
(#268) Unexpected tab character. (no-tabs)
(#271) Unexpected tab character. (no-tabs)
(#271) 'e' is defined but never used. (no-unused-vars)
(#272) Unexpected tab character. (no-tabs)
(#273) Unexpected tab character. (no-tabs)
(#274) Unexpected tab character. (no-tabs)
(#276) Unexpected tab character. (no-tabs)
(#277) Unexpected tab character. (no-tabs)
(#277) 'e' is defined but never used. (no-unused-vars)
(#278) Unexpected tab character. (no-tabs)
(#279) Unexpected tab character. (no-tabs)
(#280) Unexpected tab character. (no-tabs)
(#282) Unexpected tab character. (no-tabs)
(#285) Unexpected tab character. (no-tabs)
(#286) Unexpected tab character. (no-tabs)
(#286) Unexpected space before function parentheses. (space-before-function-paren)
(#286) 'e' is defined but never used. (no-unused-vars)
(#287) Unexpected tab character. (no-tabs)
(#288) Unexpected tab character. (no-tabs)
(#289) Unexpected tab character. (no-tabs)
(#290) Unexpected tab character. (no-tabs)
(#291) Unexpected tab character. (no-tabs)
(#292) Unexpected tab character. (no-tabs)
(#293) Unexpected tab character. (no-tabs)
(#293) Statement inside of curly braces should be on next line. (brace-style)
(#293) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#294) Unexpected tab character. (no-tabs)
(#295) Unexpected tab character. (no-tabs)
(#295) Unexpected alert. (no-alert)
(#296) Unexpected tab character. (no-tabs)
(#298) Unexpected tab character. (no-tabs)
(#301) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#303) Unexpected tab character. (no-tabs)
(#304) Unexpected tab character. (no-tabs)
(#305) Unexpected tab character. (no-tabs)
(#306) Unexpected tab character. (no-tabs)
(#306) Unexpected alert. (no-alert)
(#307) Unexpected tab character. (no-tabs)
(#307) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#308) Unexpected tab character. (no-tabs)
(#308) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#309) Unexpected tab character. (no-tabs)
(#310) Unexpected tab character. (no-tabs)
(#311) Unexpected tab character. (no-tabs)
(#311) Statement inside of curly braces should be on next line. (brace-style)
(#311) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#312) Unexpected tab character. (no-tabs)
(#314) Unexpected tab character. (no-tabs)
(#317) Unexpected tab character. (no-tabs)
(#318) Unexpected tab character. (no-tabs)
(#319) Unexpected tab character. (no-tabs)
(#320) Unexpected tab character. (no-tabs)
(#321) Unexpected tab character. (no-tabs)
(#321) Missing space before opening brace. (space-before-blocks)
(#322) Unexpected tab character. (no-tabs)
(#323) Unexpected tab character. (no-tabs)
(#324) Unexpected tab character. (no-tabs)
(#325) Unexpected tab character. (no-tabs)
(#326) Unexpected tab character. (no-tabs)
(#327) Unexpected tab character. (no-tabs)
(#328) Unexpected tab character. (no-tabs)
(#329) Unexpected tab character. (no-tabs)
(#330) Unexpected tab character. (no-tabs)
(#331) Unexpected tab character. (no-tabs)
(#333) Unexpected tab character. (no-tabs)
(#334) Unexpected tab character. (no-tabs)
(#335) Unexpected tab character. (no-tabs)
(#336) Unexpected tab character. (no-tabs)
(#337) Unexpected tab character. (no-tabs)
(#338) Unexpected tab character. (no-tabs)
(#339) Unexpected tab character. (no-tabs)
(#341) Unexpected tab character. (no-tabs)
(#342) Unexpected tab character. (no-tabs)
(#343) Unexpected tab character. (no-tabs)
(#344) Unexpected tab character. (no-tabs)
(#346) Unexpected tab character. (no-tabs)
(#347) Unexpected tab character. (no-tabs)
(#348) Unexpected tab character. (no-tabs)
(#349) Unexpected tab character. (no-tabs)
(#351) Unexpected tab character. (no-tabs)
(#352) Unexpected tab character. (no-tabs)
(#353) Unexpected tab character. (no-tabs)
(#354) Unexpected tab character. (no-tabs)
(#355) Unexpected tab character. (no-tabs)
(#356) Unexpected tab character. (no-tabs)
(#357) Unexpected tab character. (no-tabs)
(#358) Unexpected tab character. (no-tabs)
(#361) Unexpected tab character. (no-tabs)
(#361) Multiple spaces found before 'Y'. (no-multi-spaces)
(#363) Unexpected tab character. (no-tabs)
(#363) 'e' is defined but never used. (no-unused-vars)
(#364) Unexpected tab character. (no-tabs)
(#365) Unexpected tab character. (no-tabs)
(#366) Unexpected tab character. (no-tabs)
(#367) Unexpected tab character. (no-tabs)
(#368) Unexpected tab character. (no-tabs)
(#369) Unexpected tab character. (no-tabs)
(#369) Comments should not begin with a lowercase character. (capitalized-comments)
(#369) Expected space or tab after '//' in comment. (spaced-comment)
(#370) Unexpected tab character. (no-tabs)
(#372) Unexpected tab character. (no-tabs)
(#373) Unexpected tab character. (no-tabs)
(#374) Unexpected tab character. (no-tabs)
(#375) Unexpected tab character. (no-tabs)
(#376) This line has a length of 135. Maximum allowed is 132. (max-len)
(#376) Unexpected tab character. (no-tabs)
(#377) This line has a length of 198. Maximum allowed is 132. (max-len)
(#377) Unexpected tab character. (no-tabs)
(#378) Unexpected tab character. (no-tabs)
(#378) Comments should not begin with a lowercase character. (capitalized-comments)
(#379) Unexpected tab character. (no-tabs)
(#380) Unexpected tab character. (no-tabs)
(#383) Unexpected tab character. (no-tabs)
(#384) Unexpected tab character. (no-tabs)
(#385) Unexpected tab character. (no-tabs)
(#386) Unexpected tab character. (no-tabs)
(#387) Unexpected tab character. (no-tabs)
(#388) Unexpected tab character. (no-tabs)
(#390) Unexpected tab character. (no-tabs)
(#392) Unexpected tab character. (no-tabs)
(#392) Statement inside of curly braces should be on next line. (brace-style)
(#392) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#393) Unexpected tab character. (no-tabs)
(#393) Statement inside of curly braces should be on next line. (brace-style)
(#393) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#396) Unexpected tab character. (no-tabs)
(#396) 'e' is defined but never used. (no-unused-vars)
(#397) Unexpected tab character. (no-tabs)
(#398) Unexpected tab character. (no-tabs)
(#398) Statement inside of curly braces should be on next line. (brace-style)
(#398) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#399) Unexpected tab character. (no-tabs)
(#400) Unexpected tab character. (no-tabs)
(#401) Unexpected tab character. (no-tabs)
(#401) 'e' is defined but never used. (no-unused-vars)
(#402) Unexpected tab character. (no-tabs)
(#403) Unexpected tab character. (no-tabs)
(#404) Unexpected tab character. (no-tabs)
(#406) Unexpected tab character. (no-tabs)
(#407) Unexpected tab character. (no-tabs)
(#409) Unexpected tab character. (no-tabs)
(#409) 'e' is defined but never used. (no-unused-vars)
(#410) Unexpected tab character. (no-tabs)
(#410) Comments should not begin with a lowercase character. (capitalized-comments)
(#411) Unexpected tab character. (no-tabs)
(#412) Unexpected tab character. (no-tabs)
(#413) Unexpected tab character. (no-tabs)
(#414) Unexpected tab character. (no-tabs)
(#417) Unexpected tab character. (no-tabs)
(#417) Comments should not begin with a lowercase character. (capitalized-comments)
(#418) Unexpected tab character. (no-tabs)
(#420) Unexpected tab character. (no-tabs)
(#422) Unexpected tab character. (no-tabs)
(#425) Unexpected tab character. (no-tabs)
(#428) Unexpected tab character. (no-tabs)
(#429) There should be no space before '}'. (object-curly-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(93 errors, 40 warnings)

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

mod/choicegroup/backup/moodle2/backup_choicegroup_activity_task.class.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#30) No one-line description found in phpdocs for class backup_choicegroup_activity_task
(#51) Phpdocs for function backup_choicegroup_activity_task::encode_content_links has incomplete parameters list
(#19) Package moodlecore is not valid
mod/choicegroup/backup/moodle2/backup_choicegroup_settingslib.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#19) Package moodlecore is not valid
mod/choicegroup/backup/moodle2/backup_choicegroup_stepslib.php
(#2) Empty line found after PHP open tag
(#35) Class backup_choicegroup_activity_structure_step is not documented
(#37) Function backup_choicegroup_activity_structure_step::define_structure is not documented
(#18) No one-line description found in phpdocs for file
(#19) Package moodlecore is not valid
mod/choicegroup/backup/moodle2/restore_choicegroup_activity_task.class.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#29) No one-line description found in phpdocs for class restore_choicegroup_activity_task
(#78) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#80) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#97) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#99) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#19) Package moodlecore is not valid
mod/choicegroup/backup/moodle2/restore_choicegroup_stepslib.php
(#2) Empty line found after PHP open tag
(#35) Class restore_choicegroup_activity_structure_step is not documented
(#37) Function restore_choicegroup_activity_structure_step::define_structure is not documented
(#48) Function restore_choicegroup_activity_structure_step::process_choicegroup is not documented
(#65) Function restore_choicegroup_activity_structure_step::process_choicegroup_option is not documented
(#90) Function restore_choicegroup_activity_structure_step::after_execute is not documented
(#18) No one-line description found in phpdocs for file
(#19) Package moodlecore is not valid
mod/choicegroup/classes/dates.php
(#32) Class dates is not documented
mod/choicegroup/classes/event/course_module_instance_list_viewed.php
(#20) Package mod_forum is not valid
(#32) Package mod_forum is not valid
mod/choicegroup/classes/event/course_module_viewed.php
(#30) Class course_module_viewed is not documented
mod/choicegroup/classes/event/report_viewed.php
(#30) Class report_viewed is not documented
mod/choicegroup/classes/privacy/provider.php
(#29) Class provider is not documented
mod/choicegroup/db/access.php
(#30) File-level phpdocs block is not found
mod/choicegroup/db/log.php
(#2) Empty line found after PHP open tag
(#21) Package mod is not valid
mod/choicegroup/db/upgrade.php
(#2) Empty line found after PHP open tag
(#23) File-level phpdocs block is not found
(#25) Function xmldb_choicegroup_upgrade is not documented
(#33) Found comment starting with three or more slashes
(#37) Found comment starting with three or more slashes
(#25) Package is not specified for function xmldb_choicegroup_upgrade. It is also not specified in file-level phpdocs
mod/choicegroup/index.php
(#20) Package mod is not valid
mod/choicegroup/lang/en/choicegroup.php
(#2) Empty line found after PHP open tag
(#21) Package choice is not valid
mod/choicegroup/lib.php
(#788) Function choicegroup_get_groups is not documented
(#860) Function choicegroup_get_sort_column is not documented
(#971) Function choicegroup_get_responses is not documented
(#1114) Function choicegroup_get_sort_options is not documented
(#81) Found comment starting with three or more slashes
(#658) Found comment starting with three or more slashes
(#83) There is no description in phpdocs for function choicegroup_user_outline
(#101) There is no description in phpdocs for function choicegroup_get_user_answer
(#160) There is no description in phpdocs for function choicegroup_user_complete
(#307) There is no description in phpdocs for function choicegroup_prepare_options
(#363) There is no description in phpdocs for function check_restrictions
(#372) There is no description in phpdocs for function check_date_restrictions
(#385) There is no description in phpdocs for function choicegroup_user_submit_response
(#462) There is no description in phpdocs for function choicegroup_show_reportlink
(#682) There is no description in phpdocs for function choicegroup_delete_responses
(#877) There is no description in phpdocs for function choicegroup_get_view_actions
(#884) There is no description in phpdocs for function choicegroup_get_post_actions
(#912) There is no description in phpdocs for function choicegroup_get_response_data
(#1002) There is no description in phpdocs for function choicegroup_supports
(#101) Phpdocs for function choicegroup_get_user_answer has incomplete parameters list
(#363) Phpdocs for function check_restrictions has incomplete parameters list
(#372) Phpdocs for function check_date_restrictions has incomplete parameters list
(#492) Phpdocs for function prepare_choicegroup_show_results has incomplete parameters list
(#903) Phpdocs for function choicegroup_reset_course_form_defaults has incomplete parameters list
(#29) Not recommended phpdocs tag @global used
(#33) Not recommended phpdocs tag @global used
(#62) Not recommended phpdocs tag @global used
(#67) Not recommended phpdocs tag @global used
(#74) Not recommended phpdocs tag @global used
(#84) Not recommended phpdocs tag @global used
(#161) Not recommended phpdocs tag @global used
(#185) Not recommended phpdocs tag @global used
(#236) Not recommended phpdocs tag @global used
(#308) Not recommended phpdocs tag @global used
(#392) Not recommended phpdocs tag @global used
(#491) Not recommended phpdocs tag @global used
(#683) Not recommended phpdocs tag @global used
(#739) Not recommended phpdocs tag @global used
(#766) Not recommended phpdocs tag @global used
(#784) Not recommended phpdocs tag @global used
(#816) Not recommended phpdocs tag @global used
(#913) Not recommended phpdocs tag @global used
(#913) Not recommended phpdocs tag @global used
(#913) Not recommended phpdocs tag @global used
(#492) Invalid inline phpdocs tag @param found
(#20) Package mod is not valid
mod/choicegroup/mod_form.php
(#31) Class mod_choicegroup_mod_form is not documented
(#34) Function mod_choicegroup_mod_form::definition is not documented
(#263) Function mod_choicegroup_mod_form::data_preprocessing is not documented
(#276) Function mod_choicegroup_mod_form::js_call is not documented
(#304) Function mod_choicegroup_mod_form::validation is not documented
(#323) Function mod_choicegroup_mod_form::get_data is not documented
(#336) Function mod_choicegroup_mod_form::add_completion_rules is not documented
(#344) Function mod_choicegroup_mod_form::completion_rule_enabled is not documented
(#20) Package mod is not valid
mod/choicegroup/renderer.php
(#32) Class mod_choicegroup_renderer is not documented
(#34) There is no description in phpdocs for function display_options
(#35) Phpdocs for function mod_choicegroup_renderer::display_options has incomplete parameters list
(#221) Phpdocs for function mod_choicegroup_renderer::display_publish_name_vertical has incomplete parameters list
(#20) Package mod is not valid
mod/choicegroup/report.php
(#91) Found comment starting with three or more slashes
(#110) Found comment starting with three or more slashes
(#112) Found comment starting with three or more slashes
(#114) Found comment starting with three or more slashes
(#116) Found comment starting with three or more slashes
(#119) Found comment starting with three or more slashes
(#127) Found comment starting with three or more slashes
(#157) Found comment starting with three or more slashes
(#167) Found comment starting with three or more slashes
(#169) Found comment starting with three or more slashes
(#171) Found comment starting with three or more slashes
(#173) Found comment starting with three or more slashes
(#177) Found comment starting with three or more slashes
(#186) Found comment starting with three or more slashes
(#216) Found comment starting with three or more slashes
(#231) Found comment starting with three or more slashes
(#238) Found comment starting with three or more slashes
(#20) Package mod is not valid
mod/choicegroup/settings.php
(#20) Package mod is not valid
mod/choicegroup/version.php
(#20) Package mod is not valid
mod/choicegroup/view.php
(#96) Found comment starting with three or more slashes
(#100) Found comment starting with three or more slashes
(#163) Found comment starting with three or more slashes
(#197) Found comment starting with three or more slashes
(#240) Found comment starting with three or more slashes
(#20) Package mod is not valid

Update savepoints problems

(1 errors, 0 warnings)

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

mod/choicegroup/db/upgrade.php
Detected more 'if' blocks (5) than 'savepoint' calls (4)

Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 11 warnings)

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

mod/choicegroup/templates/mobile_view_page_ionic3.mustache
(#1) HTML Validation info, line 5: Attribute “*ngif” is not serializable as XML 1.0. (> <core-context-menu-item *ngIf="loaded && !hasOffline && isOnline" [priority]="700" [content]="'core.refresh' | translate" (action)="doRefresh($event)" [iconAction]="refreshIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 5: Attribute “[priority]” is not serializable as XML 1.0. (> <core-context-menu-item *ngIf="loaded && !hasOffline && isOnline" [priority]="700" [content]="'core.refresh' | translate" (action)="doRefresh($event)" [iconAction]="refreshIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 5: Attribute “[content]” is not serializable as XML 1.0. (> <core-context-menu-item *ngIf="loaded && !hasOffline && isOnline" [priority]="700" [content]="'core.refresh' | translate" (action)="doRefresh($event)" [iconAction]="refreshIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 5: Attribute “(action)” is not serializable as XML 1.0. (> <core-context-menu-item *ngIf="loaded && !hasOffline && isOnline" [priority]="700" [content]="'core.refresh' | translate" (action)="doRefresh($event)" [iconAction]="refreshIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 5: Attribute “[iconaction]” is not serializable as XML 1.0. (> <core-context-menu-item *ngIf="loaded && !hasOffline && isOnline" [priority]="700" [content]="'core.refresh' | translate" (action)="doRefresh($event)" [iconAction]="refreshIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 5: Attribute “[closeonclick]” is not serializable as XML 1.0. (> <core-context-menu-item *ngIf="loaded && !hasOffline && isOnline" [priority]="700" [content]="'core.refresh' | translate" (action)="doRefresh($event)" [iconAction]="refreshIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 7: Attribute “*ngif” is not serializable as XML 1.0. ( <core-context-menu-item *ngIf="loaded && hasOffline && isOnline" [priority]="650" [content]="'core.settings.synchronizenow' | translate" (action)="synchronize(true, $event)" [iconAction]="syncIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 7: Attribute “[priority]” is not serializable as XML 1.0. ( <core-context-menu-item *ngIf="loaded && hasOffline && isOnline" [priority]="650" [content]="'core.settings.synchronizenow' | translate" (action)="synchronize(true, $event)" [iconAction]="syncIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 7: Attribute “[content]” is not serializable as XML 1.0. ( <core-context-menu-item *ngIf="loaded && hasOffline && isOnline" [priority]="650" [content]="'core.settings.synchronizenow' | translate" (action)="synchronize(true, $event)" [iconAction]="syncIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 7: Attribute “(action)” is not serializable as XML 1.0. ( <core-context-menu-item *ngIf="loaded && hasOffline && isOnline" [priority]="650" [content]="'core.settings.synchronizenow' | translate" (action)="synchronize(true, $event)" [iconAction]="syncIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 7: Attribute “[iconaction]” is not serializable as XML 1.0. ( <core-context-menu-item *ngIf="loaded && hasOffline && isOnline" [priority]="650" [content]="'core.settings.synchronizenow' | translate" (action)="synchronize(true, $event)" [iconAction]="syncIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 7: Attribute “[closeonclick]” is not serializable as XML 1.0. ( <core-context-menu-item *ngIf="loaded && hasOffline && isOnline" [priority]="650" [content]="'core.settings.synchronizenow' | translate" (action)="synchronize(true, $event)" [iconAction]="syncIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 11: Attribute “[hideuntil]” is not serializable as XML 1.0. (buttons><core-loading [hideUntil]="loaded"> <)
(#1) HTML Validation info, line 15: Attribute “*ngif” is not serializable as XML 1.0. (d --> <ion-card class="core-warning-card" icon-start *ngIf="hasOffline"> )
(#1) HTML Validation info, line 41: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-checkbox item-right [(ngModel)]="CONTENT_OTHERDATA.data.responses_10" name="responses_10" disabled="true" value="10"> )
(#1) HTML Validation info, line 59: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-checkbox item-right [(ngModel)]="CONTENT_OTHERDATA.data.responses_11" name="responses_11" checked="true" value="11"> )
(#1) HTML Validation info, line 77: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-checkbox item-right [(ngModel)]="CONTENT_OTHERDATA.data.responses_12" name="responses_12" value="12"> )
(#1) HTML Validation info, line 92: Attribute “(click)” is not serializable as XML 1.0. ( <button ion-button block type="submit" (click)="submitResponses()"> )
(#1) HTML Validation error, line 92: Attribute “ion-button” not allowed on element “button” at this point. ( <button ion-button block type="submit" (click)="submitResponses()"> )
(#1) HTML Validation error, line 92: Attribute “block” not allowed on element “button” at this point. ( <button ion-button block type="submit" (click)="submitResponses()"> )
(#1) HTML Validation error, line 92: Attribute “(click)” not allowed on element “button” at this point. ( <button ion-button block type="submit" (click)="submitResponses()"> )
(#1) HTML Validation info, line 101: Attribute “[params]” is not serializable as XML 1.0. (> <span core-site-plugins-call-ws-on-load name="mod_choicegroup_view_choicegroup" [params]="{choicegroupid: 4}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 101: Attribute “[presets]” is not serializable as XML 1.0. (> <span core-site-plugins-call-ws-on-load name="mod_choicegroup_view_choicegroup" [params]="{choicegroupid: 4}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 101: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (> <span core-site-plugins-call-ws-on-load name="mod_choicegroup_view_choicegroup" [params]="{choicegroupid: 4}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 101: Attribute “name” not allowed on element “span” at this point. (> <span core-site-plugins-call-ws-on-load name="mod_choicegroup_view_choicegroup" [params]="{choicegroupid: 4}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 101: Attribute “[params]” not allowed on element “span” at this point. (> <span core-site-plugins-call-ws-on-load name="mod_choicegroup_view_choicegroup" [params]="{choicegroupid: 4}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 101: Attribute “[presets]” not allowed on element “span” at this point. (> <span core-site-plugins-call-ws-on-load name="mod_choicegroup_view_choicegroup" [params]="{choicegroupid: 4}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
mod/choicegroup/templates/mobile_view_page_latest.mustache
(#1) HTML Validation info, line 5: Attribute “*ngif” is not serializable as XML 1.0. (> <core-context-menu-item *ngIf="loaded && !hasOffline && isOnline" [priority]="700" [content]="'core.refresh' | translate" (action)="doRefresh($event)" [iconAction]="refreshIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 5: Attribute “[priority]” is not serializable as XML 1.0. (> <core-context-menu-item *ngIf="loaded && !hasOffline && isOnline" [priority]="700" [content]="'core.refresh' | translate" (action)="doRefresh($event)" [iconAction]="refreshIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 5: Attribute “[content]” is not serializable as XML 1.0. (> <core-context-menu-item *ngIf="loaded && !hasOffline && isOnline" [priority]="700" [content]="'core.refresh' | translate" (action)="doRefresh($event)" [iconAction]="refreshIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 5: Attribute “(action)” is not serializable as XML 1.0. (> <core-context-menu-item *ngIf="loaded && !hasOffline && isOnline" [priority]="700" [content]="'core.refresh' | translate" (action)="doRefresh($event)" [iconAction]="refreshIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 5: Attribute “[iconaction]” is not serializable as XML 1.0. (> <core-context-menu-item *ngIf="loaded && !hasOffline && isOnline" [priority]="700" [content]="'core.refresh' | translate" (action)="doRefresh($event)" [iconAction]="refreshIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 5: Attribute “[closeonclick]” is not serializable as XML 1.0. (> <core-context-menu-item *ngIf="loaded && !hasOffline && isOnline" [priority]="700" [content]="'core.refresh' | translate" (action)="doRefresh($event)" [iconAction]="refreshIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 7: Attribute “*ngif” is not serializable as XML 1.0. ( <core-context-menu-item *ngIf="loaded && hasOffline && isOnline" [priority]="650" [content]="'core.settings.synchronizenow' | translate" (action)="synchronize(true, $event)" [iconAction]="syncIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 7: Attribute “[priority]” is not serializable as XML 1.0. ( <core-context-menu-item *ngIf="loaded && hasOffline && isOnline" [priority]="650" [content]="'core.settings.synchronizenow' | translate" (action)="synchronize(true, $event)" [iconAction]="syncIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 7: Attribute “[content]” is not serializable as XML 1.0. ( <core-context-menu-item *ngIf="loaded && hasOffline && isOnline" [priority]="650" [content]="'core.settings.synchronizenow' | translate" (action)="synchronize(true, $event)" [iconAction]="syncIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 7: Attribute “(action)” is not serializable as XML 1.0. ( <core-context-menu-item *ngIf="loaded && hasOffline && isOnline" [priority]="650" [content]="'core.settings.synchronizenow' | translate" (action)="synchronize(true, $event)" [iconAction]="syncIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 7: Attribute “[iconaction]” is not serializable as XML 1.0. ( <core-context-menu-item *ngIf="loaded && hasOffline && isOnline" [priority]="650" [content]="'core.settings.synchronizenow' | translate" (action)="synchronize(true, $event)" [iconAction]="syncIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 7: Attribute “[closeonclick]” is not serializable as XML 1.0. ( <core-context-menu-item *ngIf="loaded && hasOffline && isOnline" [priority]="650" [content]="'core.settings.synchronizenow' | translate" (action)="synchronize(true, $event)" [iconAction]="syncIcon" [closeOnClick]="false"></core)
(#1) HTML Validation info, line 11: Attribute “[hideuntil]” is not serializable as XML 1.0. (buttons><core-loading [hideUntil]="loaded"> <)
(#1) HTML Validation info, line 15: Attribute “*ngif” is not serializable as XML 1.0. (d --> <ion-card class="core-warning-card" *ngIf="hasOffline"> )
(#1) HTML Validation info, line 44: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-checkbox slot="end" [(ngModel)]="CONTENT_OTHERDATA.data.responses_10" name="responses_10" disabled="true" [value]="10"> )
(#1) HTML Validation info, line 44: Attribute “[value]” is not serializable as XML 1.0. ( <ion-checkbox slot="end" [(ngModel)]="CONTENT_OTHERDATA.data.responses_10" name="responses_10" disabled="true" [value]="10"> )
(#1) HTML Validation info, line 62: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-checkbox slot="end" [(ngModel)]="CONTENT_OTHERDATA.data.responses_11" name="responses_11" checked="true" [value]="11"> )
(#1) HTML Validation info, line 62: Attribute “[value]” is not serializable as XML 1.0. ( <ion-checkbox slot="end" [(ngModel)]="CONTENT_OTHERDATA.data.responses_11" name="responses_11" checked="true" [value]="11"> )
(#1) HTML Validation info, line 80: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-checkbox slot="end" [(ngModel)]="CONTENT_OTHERDATA.data.responses_12" name="responses_12" [value]="12"> )
(#1) HTML Validation info, line 80: Attribute “[value]” is not serializable as XML 1.0. ( <ion-checkbox slot="end" [(ngModel)]="CONTENT_OTHERDATA.data.responses_12" name="responses_12" [value]="12"> )
(#1) HTML Validation info, line 94: Attribute “(click)” is not serializable as XML 1.0. ( <ion-button class="ion-margin" expand="block" type="submit" (click)="submitResponses()"> )
(#1) HTML Validation info, line 102: Attribute “[params]” is not serializable as XML 1.0. (> <span core-site-plugins-call-ws-on-load name="mod_choicegroup_view_choicegroup" [params]="{choicegroupid: 4}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 102: Attribute “[presets]” is not serializable as XML 1.0. (> <span core-site-plugins-call-ws-on-load name="mod_choicegroup_view_choicegroup" [params]="{choicegroupid: 4}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 102: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (> <span core-site-plugins-call-ws-on-load name="mod_choicegroup_view_choicegroup" [params]="{choicegroupid: 4}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 102: Attribute “name” not allowed on element “span” at this point. (> <span core-site-plugins-call-ws-on-load name="mod_choicegroup_view_choicegroup" [params]="{choicegroupid: 4}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 102: Attribute “[params]” not allowed on element “span” at this point. (> <span core-site-plugins-call-ws-on-load name="mod_choicegroup_view_choicegroup" [params]="{choicegroupid: 4}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 102: Attribute “[presets]” not allowed on element “span” at this point. (> <span core-site-plugins-call-ws-on-load name="mod_choicegroup_view_choicegroup" [params]="{choicegroupid: 4}" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)

Gherkin .feature problems

(0 errors, 0 warnings)

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