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

(1399 errors, 223 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
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
mod/choicegroup/backup/moodle2/backup_choicegroup_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#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
(#66) The static declaration must come after the visibility declaration
(#82) The static declaration must come after the visibility declaration
(#105) The static declaration must come after the visibility declaration
(#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.
(#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
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
mod/choicegroup/classes/external.php
(#59) Line exceeds 132 characters; contains 145 characters
(#63) Variable "choicegroup_groups" must not contain underscores.
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Variable "choicegroup_groups" must not contain underscores.
(#101) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#285) Inline comments must end in full-stops, exclamation marks, or question marks
(#294) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#300) Variable "answer_value_group" must not contain underscores.
(#301) Variable "answer_value_group" must not contain underscores.
(#314) Inline comments must start with a capital letter, digit or 3-dots sequence
(#353) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#358) Expected 1 space before "+"; 0 found
(#358) Expected 1 space after "+"; 0 found
mod/choicegroup/classes/output/mobile.php
(#104) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
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
mod/choicegroup/db/log.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#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) 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) 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) 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) 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) 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
mod/choicegroup/db/mobile.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
mod/choicegroup/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#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) Commas (,) must be followed by white space.
(#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) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#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
(#80) Variable "choicegroup_groups" must not contain underscores.
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// Calculate the href" but found "//Calculate the href"
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) No space found before comment text; expected "// Show dimmed if the mod is hidden" but found "//Show dimmed if the mod is hidden"
(#103) Variable "tt_href" must not contain underscores.
(#103) Commas (,) must be followed by white space.
(#103) Line exceeds 132 characters; contains 136 characters
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) No space found before comment text; expected "// Show normal if the mod is visible" but found "//Show normal if the mod is visible"
(#106) Variable "tt_href" must not contain underscores.
(#106) Commas (,) must be followed by white space.
(#109) Variable "tt_href" must not contain underscores.
(#111) 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.
(#54) Inline doc block comments are not allowed; use "// Comment." instead
(#55) Variable "CHOICEGROUP_PUBLISH" must be all lower-case
(#55) Variable "CHOICEGROUP_PUBLISH" must not contain underscores.
(#56) Variable "CHOICEGROUP_PUBLISH" must be all lower-case
(#56) Variable "CHOICEGROUP_PUBLISH" must not contain underscores.
(#59) Inline doc block comments are not allowed; use "// Comment." instead
(#60) Variable "CHOICEGROUP_SHOWRESULTS" must be all lower-case
(#60) Variable "CHOICEGROUP_SHOWRESULTS" must not contain underscores.
(#61) Variable "CHOICEGROUP_SHOWRESULTS" must be all lower-case
(#61) Variable "CHOICEGROUP_SHOWRESULTS" must not contain underscores.
(#66) Inline doc block comments are not allowed; use "// Comment." instead
(#67) Variable "CHOICEGROUP_DISPLAY" must be all lower-case
(#67) Variable "CHOICEGROUP_DISPLAY" must not contain underscores.
(#68) Variable "CHOICEGROUP_DISPLAY" must be all lower-case
(#68) Variable "CHOICEGROUP_DISPLAY" must not contain underscores.
(#69) Commas (,) must be followed by white space.
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) 3 slashes comments are not allowed; use "// Comment." instead
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Variable "returnArray" must be all lower-case
(#97) Variable "choicegroup_groups" must not contain underscores.
(#99) Variable "user_answers" must not contain underscores.
(#104) Expected "} else {\n"; found "}\n else {\n"
(#108) Variable "user_answers" must not contain underscores.
(#109) Variable "returnArray" must be all lower-case
(#110) Variable "user_answers" must not contain underscores.
(#112) Variable "user_answers" must not contain underscores.
(#115) Variable "user_answers" must not contain underscores.
(#117) Expected "if (...) {\n"; found "if(...){\n"
(#117) Variable "choicegroup_groups" must not contain underscores.
(#117) Variable "choicegroup_groups" must not contain underscores.
(#118) Variable "choicegroup_groups" must not contain underscores.
(#123) Variable "choicegroup_groups" must not contain underscores.
(#135) Variable "choicegroup_groups" must not contain underscores.
(#140) Variable "user_answers" must not contain underscores.
(#141) Variable "returnArray" must be all lower-case
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) No space found before comment text; expected "// insert answers" but found "//insert answers"
(#193) Whitespace found at end of line
(#194) Inline comments must start with a capital letter, digit or 3-dots sequence
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#195) Whitespace found at end of line
(#196) Variable "groupIDs" must be all lower-case
(#197) Variable "groupIDs" must be all lower-case
(#197) Variable "groupIDs" must be all lower-case
(#198) Whitespace found at end of line
(#199) Variable "groupIDs" must be all lower-case
(#199) Variable "groupID" must be all lower-case
(#200) Variable "groupID" must be all lower-case
(#200) Variable "groupID" must be all lower-case
(#201) Variable "groupID" must be all lower-case
(#201) Variable "groupID" must be all lower-case
(#203) Variable "groupID" must be all lower-case
(#205) Variable "groupID" must be all lower-case
(#207) Spaces must be used to indent lines; tabs are not allowed
(#207) Tab found within whitespace
(#207) Line indented incorrectly; expected at least 16 spaces, found 13
(#211) Spaces must be used for alignment; tabs are not allowed
(#211) Tab found within whitespace
(#211) Whitespace found at end of line
(#216) Line exceeds 132 characters; contains 145 characters
(#218) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#237) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#247) Whitespace found at end of line
(#247) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#248) Whitespace found at end of line
(#249) Inline comments must start with a capital letter, digit or 3-dots sequence
(#249) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Whitespace found at end of line
(#251) Variable "groupIDs" must be all lower-case
(#252) Variable "groupIDs" must be all lower-case
(#252) Variable "groupIDs" must be all lower-case
(#254) Inline comments must start with a capital letter, digit or 3-dots sequence
(#254) Inline comments must end in full-stops, exclamation marks, or question marks
(#255) Whitespace found at end of line
(#256) Variable "preExistingGroups" must be all lower-case
(#257) Spaces must be used to indent lines; tabs are not allowed
(#257) Tab found within whitespace
(#257) Line indented incorrectly; expected at least 8 spaces, found 5
(#260) Inline comments must start with a capital letter, digit or 3-dots sequence
(#260) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) Variable "groupIDs" must be all lower-case
(#261) Variable "groupID" must be all lower-case
(#262) Spaces must be used to indent lines; tabs are not allowed
(#262) Tab found within whitespace
(#262) Line indented incorrectly; expected at least 8 spaces, found 5
(#262) Variable "groupID" must be all lower-case
(#262) Variable "groupID" must be all lower-case
(#263) Spaces must be used to indent lines; tabs are not allowed
(#263) Tab found within whitespace
(#263) Line indented incorrectly; expected 8 spaces, found 5
(#263) Variable "groupID" must be all lower-case
(#263) Variable "groupID" must be all lower-case
(#264) Spaces must be used to indent lines; tabs are not allowed
(#264) Tab found within whitespace
(#264) Line indented incorrectly; expected at least 12 spaces, found 6
(#265) Spaces must be used to indent lines; tabs are not allowed
(#265) Tab found within whitespace
(#265) Line indented incorrectly; expected at least 12 spaces, found 6
(#265) Variable "groupID" must be all lower-case
(#266) Spaces must be used to indent lines; tabs are not allowed
(#266) Tab found within whitespace
(#266) Line indented incorrectly; expected at least 12 spaces, found 6
(#267) Spaces must be used to indent lines; tabs are not allowed
(#267) Tab found within whitespace
(#267) Line indented incorrectly; expected at least 12 spaces, found 6
(#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 12 spaces, found 6
(#269) Spaces must be used to indent lines; tabs are not allowed
(#269) Tab found within whitespace
(#269) Line indented incorrectly; expected at least 16 spaces, found 7
(#270) Spaces must be used to indent lines; tabs are not allowed
(#270) Tab found within whitespace
(#270) Line indented incorrectly; expected 12 spaces, found 6
(#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) Inline comments must end in full-stops, exclamation marks, or question marks
(#272) Line indented incorrectly; expected at least 12 spaces, found 6
(#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
(#273) Variable "preExistingGroups" must be all lower-case
(#273) Variable "preExistingGroup" must be all lower-case
(#274) Spaces must be used to indent lines; tabs are not allowed
(#274) Tab found within whitespace
(#274) Line indented incorrectly; expected 16 spaces, found 7
(#274) Variable "preExistingGroup" must be all lower-case
(#275) Spaces must be used to indent lines; tabs are not allowed
(#275) Tab found within whitespace
(#275) Inline comments must start with a capital letter, digit or 3-dots sequence
(#275) Inline comments must end in full-stops, exclamation marks, or question marks
(#275) Line indented incorrectly; expected at least 20 spaces, found 8
(#276) Spaces must be used to indent lines; tabs are not allowed
(#276) Tab found within whitespace
(#276) Line indented incorrectly; expected at least 20 spaces, found 8
(#276) Variable "preExistingGroup" must be all lower-case
(#277) Spaces must be used to indent lines; tabs are not allowed
(#277) Tab found within whitespace
(#277) Line indented incorrectly; expected at least 20 spaces, found 8
(#278) Spaces must be used to indent lines; tabs are not allowed
(#278) Tab found within whitespace
(#278) Inline comments must start with a capital letter, digit or 3-dots sequence
(#278) Inline comments must end in full-stops, exclamation marks, or question marks
(#278) Line indented incorrectly; expected at least 20 spaces, found 8
(#279) Spaces must be used to indent lines; tabs are not allowed
(#279) Tab found within whitespace
(#279) Line indented incorrectly; expected at least 20 spaces, found 8
(#279) Variable "preExistingGroups" must be all lower-case
(#280) Spaces must be used to indent lines; tabs are not allowed
(#280) Tab found within whitespace
(#280) Line indented incorrectly; expected at least 20 spaces, found 8
(#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
(#281) Spaces must be used to indent lines; tabs are not allowed
(#281) Tab found within whitespace
(#281) Line indented incorrectly; expected 16 spaces, found 7
(#282) Spaces must be used to indent lines; tabs are not allowed
(#282) Tab found within whitespace
(#282) Line indented incorrectly; expected 12 spaces, found 6
(#283) Spaces must be used to indent lines; tabs are not allowed
(#283) Tab found within whitespace
(#283) Line indented incorrectly; expected at least 12 spaces, found 6
(#283) Spaces must be used for alignment; tabs are not allowed
(#283) Tab found within whitespace
(#283) Whitespace found at end of line
(#284) Spaces must be used to indent lines; tabs are not allowed
(#284) Tab found within whitespace
(#284) Line indented incorrectly; expected 8 spaces, found 5
(#285) Spaces must be used to indent lines; tabs are not allowed
(#285) Tab found within whitespace
(#285) Whitespace found at end of line
(#287) Inline comments must start with a capital letter, digit or 3-dots sequence
(#287) Inline comments must end in full-stops, exclamation marks, or question marks
(#288) Variable "preExistingGroups" must be all lower-case
(#288) Variable "preExistingGroup" must be all lower-case
(#289) Spaces must be used to indent lines; tabs are not allowed
(#289) Tab found within whitespace
(#289) Line indented incorrectly; expected at least 8 spaces, found 5
(#289) Expected 1 space before "=>"; 0 found
(#289) Expected 1 space after "=>"; 0 found
(#289) Variable "preExistingGroup" must be all lower-case
(#294) Line exceeds 132 characters; contains 145 characters
(#296) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#312) Expected 1 space before "=>"; 0 found
(#312) Expected 1 space after "=>"; 0 found
(#322) Inline comments must start with a capital letter, digit or 3-dots sequence
(#322) 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."
(#336) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#342) Line exceeds 132 characters; contains 135 characters
(#349) Line exceeds 132 characters; contains 143 characters
(#349) Inline comments must start with a capital letter, digit or 3-dots sequence
(#349) Inline comments must end in full-stops, exclamation marks, or question marks
(#349) 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"
(#376) Variable "selected_option" must not contain underscores.
(#382) Variable "selected_option" must not contain underscores.
(#384) Expected 1 space before "="; 0 found
(#384) Expected 1 space after "="; 0 found
(#385) Variable "selected_option" must not contain underscores.
(#386) Variable "groupmember_added" must not contain underscores.
(#386) Whitespace found at end of line
(#388) Variable "selected_option" must not contain underscores.
(#388) Expected 1 space before "=>"; 0 found
(#388) Expected 1 space after "=>"; 0 found
(#389) Variable "select_count" must not contain underscores.
(#389) Variable "selected_option" must not contain underscores.
(#390) Variable "select_count" must not contain underscores.
(#392) Whitespace found at end of line
(#393) Line indented incorrectly; expected at least 12 spaces, found 11
(#393) Variable "selected_option" must not contain underscores.
(#394) Line indented incorrectly; expected at least 12 spaces, found 11
(#394) Variable "groupmember_added" must not contain underscores.
(#395) Line indented incorrectly; expected 8 spaces, found 6
(#395) Closing brace indented incorrectly; expected 8 spaces, found 6
(#397) Variable "groupmember_added" must not contain underscores.
(#400) Variable "selected_option" must not contain underscores.
(#403) Inline comments must start with a capital letter, digit or 3-dots sequence
(#403) This comment is 73% valid code; is this commented out code?
(#403) Line indented incorrectly; expected at least 24 spaces, found 0
(#403) Expected 1 space before comment text but found 24; use block comment if you need indentation
(#413) Inline comments must end in full-stops, exclamation marks, or question marks
(#418) Inline comments must start with a capital letter, digit or 3-dots sequence
(#418) This comment is 73% valid code; is this commented out code?
(#418) Line indented incorrectly; expected at least 12 spaces, found 0
(#418) Expected 1 space before comment text but found 12; use block comment if you need indentation
(#426) Expected 1 space before "=="; 0 found
(#426) Expected 1 space after "=="; 0 found
(#426) Variable "selected_option" must not contain underscores.
(#426) Line exceeds 132 characters; contains 148 characters
(#426) Inline comments must start with a capital letter, digit or 3-dots sequence
(#426) Inline comments must end in full-stops, exclamation marks, or question marks
(#426) 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"
(#427) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#441) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#453) Line exceeds 132 characters; contains 134 characters
(#471) Variable "FULLSCRIPT" must be all lower-case
(#476) Inline comments must start with a capital letter, digit or 3-dots sequence
(#476) This comment is 59% valid code; is this commented out code?
(#476) Line indented incorrectly; expected at least 4 spaces, found 0
(#476) 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);"
(#477) Inline comments must end in full-stops, exclamation marks, or question marks
(#477) Line indented incorrectly; expected at least 4 spaces, found 0
(#477) 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);"
(#479) Inline comments must start with a capital letter, digit or 3-dots sequence
(#479) Inline comments must end in full-stops, exclamation marks, or question marks
(#479) No space found before comment text; expected "// overwrite options value;" but found "//overwrite options value;"
(#489) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#504) Commas (,) must be followed by white space.
(#511) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#529) Variable "FULLSCRIPT" must be all lower-case
(#529) Commas (,) must be followed by white space.
(#529) Line exceeds maximum limit of 180 characters; contains 285 characters
(#539) Inline comments must start with a capital letter, digit or 3-dots sequence
(#539) Inline comments must end in full-stops, exclamation marks, or question marks
(#548) Inline comments must start with a capital letter, digit or 3-dots sequence
(#548) Inline comments must end in full-stops, exclamation marks, or question marks
(#558) Inline comments must start with a capital letter, digit or 3-dots sequence
(#560) Inline comments must end in full-stops, exclamation marks, or question marks
(#566) Expected 1 space before "=>"; 0 found
(#566) Expected 1 space after "=>"; 0 found
(#580) Inline comments must start with a capital letter, digit or 3-dots sequence
(#582) Inline comments must end in full-stops, exclamation marks, or question marks
(#584) Line indented incorrectly; expected 16 spaces, found 20
(#585) Line indented incorrectly; expected 20 spaces, found 24
(#588) Line indented incorrectly; expected 24 spaces, found 28
(#588) Commas (,) must be followed by white space.
(#590) Line indented incorrectly; expected 24 spaces, found 28
(#592) Expected 1 space before "=>"; 0 found
(#592) Expected 1 space after "=>"; 0 found
(#598) Line indented incorrectly; expected 20 spaces, found 23
(#598) Closing brace indented incorrectly; expected 24 spaces, found 23
(#599) Line indented incorrectly; expected 16 spaces, found 20
(#628) 3 slashes comments are not allowed; use "// Comment." instead
(#629) Commas (,) must be followed by white space.
(#635) Expected 1 space before "=>"; 0 found
(#635) Expected 1 space after "=>"; 0 found
(#635) Expected 1 space before "=>"; 0 found
(#635) Expected 1 space after "=>"; 0 found
(#635) Line exceeds 132 characters; contains 167 characters
(#664) Expected "if (...) {\n"; found "if(...) {\n"
(#668) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#669) Expected "if (...) {\n"; found "if(...) {\n"
(#681) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#682) Expected 1 space before "=>"; 0 found
(#682) Expected 1 space after "=>"; 0 found
(#694) Inline comments must end in full-stops, exclamation marks, or question marks
(#716) Expected 1 space before "=>"; 0 found
(#716) Expected 1 space after "=>"; 0 found
(#722) Expected 1 space before "=>"; 0 found
(#722) Expected 1 space after "=>"; 0 found
(#726) Expected 1 space before "=>"; 0 found
(#726) Expected 1 space after "=>"; 0 found
(#770) Expected "} else {\n"; found "}\n else {\n"
(#777) Inline control structures are not allowed
(#849) Commas (,) must be followed by white space.
(#849) Commas (,) must be followed by white space.
(#856) Commas (,) must be followed by white space.
(#868) Commas (,) must be followed by white space.
(#877) Expected 1 space before "=>"; 0 found
(#877) Expected 1 space after "=>"; 0 found
(#896) Whitespace found at end of line
(#911) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#919) Line indented incorrectly; expected at least 4 spaces, found 3
(#922) Whitespace found at end of line
(#923) Whitespace found at end of line
(#926) Whitespace found at end of line
(#928) Expected 1 space before opening brace; found 0
(#938) Expected 1 space before "=>"; 0 found
(#938) Expected 1 space after "=>"; 0 found
(#972) Closing brace must be on a line by itself
(#973) Closing brace must be on a line by itself
(#974) Closing brace must be on a line by itself
(#975) Closing brace must be on a line by itself
(#976) Closing brace must be on a line by itself
(#977) Closing brace must be on a line by itself
(#978) Closing brace must be on a line by itself
(#979) Closing brace must be on a line by itself
(#980) Closing brace must be on a line by itself
(#981) Closing brace must be on a line by itself
(#983) Closing brace must be on a line by itself
(#1003) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#1006) Line exceeds 132 characters; contains 138 characters
(#1006) Inline comments must end in full-stops, exclamation marks, or question marks
(#1010) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1026) Expected 1 space before "=>"; 0 found
(#1026) Expected 1 space after "=>"; 0 found
(#1043) Inline comments must end in full-stops, exclamation marks, or question marks
(#1044) Expected 1 space before "=>"; 0 found
(#1044) Expected 1 space after "=>"; 0 found
(#1046) Inline comments must end in full-stops, exclamation marks, or question marks
(#1047) Expected "if (...) {\n"; found "if(...) {\n"
(#1051) Inline comments must end in full-stops, exclamation marks, or question marks
(#1064) Variable "module_pagetype" must not contain underscores.
(#1064) Expected 1 space before "=>"; 0 found
(#1064) Expected 1 space after "=>"; 0 found
(#1065) Variable "module_pagetype" must not contain underscores.
mod/choicegroup/mod_form.php
(#29) "require_once" must be immediately followed by an open parenthesis
(#33) Spaces must be used to indent lines; tabs are not allowed
(#33) Tab found within whitespace
(#33) Line indented incorrectly; expected 4 spaces, found 1
(#33) Visibility must be declared on method "definition"
(#34) Spaces must be used to indent lines; tabs are not allowed
(#34) Tab found within whitespace
(#34) Line indented incorrectly; expected at least 8 spaces, found 2
(#34) Variable "CHOICEGROUP_SHOWRESULTS" must be all lower-case
(#34) Variable "CHOICEGROUP_SHOWRESULTS" must not contain underscores.
(#34) Variable "CHOICEGROUP_PUBLISH" must be all lower-case
(#34) Variable "CHOICEGROUP_PUBLISH" must not contain underscores.
(#34) Variable "CHOICEGROUP_DISPLAY" must be all lower-case
(#34) Variable "CHOICEGROUP_DISPLAY" must not contain underscores.
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#36) Line indented incorrectly; expected at least 8 spaces, found 2
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Line indented incorrectly; expected at least 8 spaces, found 2
(#38) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#39) Line indented incorrectly; expected at least 8 spaces, found 2
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected at least 8 spaces, found 2
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#42) Spaces must be used to indent lines; tabs are not allowed
(#42) Tab found within whitespace
(#42) Line indented incorrectly; expected 8 spaces, found 2
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#43) Line indented incorrectly; expected at least 12 spaces, found 3
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Tab found within whitespace
(#44) Line indented incorrectly; expected 8 spaces, found 2
(#45) Spaces must be used to indent lines; tabs are not allowed
(#45) Tab found within whitespace
(#45) Line indented incorrectly; expected at least 12 spaces, found 3
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Tab found within whitespace
(#46) Line indented incorrectly; expected 8 spaces, found 2
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#47) Line indented incorrectly; expected at least 8 spaces, found 2
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected 8 spaces, found 9
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected 8 spaces, found 9
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#53) Line indented incorrectly; expected 8 spaces, found 9
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) Line indented incorrectly; expected at least 8 spaces, found 2
(#55) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#56) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected at least 8 spaces, found 2
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 8 spaces, found 2
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Line indented incorrectly; expected at least 8 spaces, found 2
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#61) Line indented incorrectly; expected at least 8 spaces, found 2
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected at least 8 spaces, found 2
(#62) Variable "db_groups" must not contain underscores.
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#63) Line indented incorrectly; expected 8 spaces, found 2
(#63) Variable "db_groups" must not contain underscores.
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Line indented incorrectly; expected at least 12 spaces, found 3
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected at least 12 spaces, found 3
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 12 spaces, found 3
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 12 spaces, found 3
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Line indented incorrectly; expected 8 spaces, found 2
(#70) Variable "db_groups" must not contain underscores.
(#76) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#79) Variable "db_groupings" must not contain underscores.
(#81) Variable "db_groupings" must not contain underscores.
(#82) Variable "db_groupings" must not contain underscores.
(#88) Variable "db_groupings_groups" must not contain underscores.
(#90) Variable "db_groupings_groups" must not contain underscores.
(#90) Variable "grouping_group_link" must not contain underscores.
(#91) Variable "grouping_group_link" must not contain underscores.
(#91) Expected 1 space after "="; 2 found
(#91) Variable "grouping_group_link" must not contain underscores.
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected at least 8 spaces, found 2
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Tab found within whitespace
(#95) Line indented incorrectly; expected at least 8 spaces, found 2
(#97) Spaces must be used to indent lines; tabs are not allowed
(#97) Tab found within whitespace
(#97) Line indented incorrectly; expected at least 8 spaces, found 2
(#98) Spaces must be used to indent lines; tabs are not allowed
(#98) Tab found within whitespace
(#98) Line indented incorrectly; expected at least 8 spaces, found 2
(#99) Spaces must be used to indent lines; tabs are not allowed
(#99) Tab found within whitespace
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Line indented incorrectly; expected at least 8 spaces, found 2
(#100) Spaces must be used to indent lines; tabs are not allowed
(#100) Tab found within whitespace
(#100) Line indented incorrectly; expected at least 8 spaces, found 2
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected at least 8 spaces, found 2
(#102) Spaces must be used to indent lines; tabs are not allowed
(#102) Tab found within whitespace
(#102) Line indented incorrectly; expected at least 8 spaces, found 2
(#104) Spaces must be used to indent lines; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected at least 8 spaces, found 2
(#104) Variable "CHOICEGROUP_SHOWRESULTS" must be all lower-case
(#104) Variable "CHOICEGROUP_SHOWRESULTS" must not contain underscores.
(#105) Spaces must be used to indent lines; tabs are not allowed
(#105) Tab found within whitespace
(#105) Line indented incorrectly; expected at least 8 spaces, found 2
(#107) Spaces must be used to indent lines; tabs are not allowed
(#107) Tab found within whitespace
(#107) Line indented incorrectly; expected at least 8 spaces, found 2
(#107) Variable "CHOICEGROUP_PUBLISH" must be all lower-case
(#107) Variable "CHOICEGROUP_PUBLISH" must not contain underscores.
(#108) Spaces must be used to indent lines; tabs are not allowed
(#108) Tab found within whitespace
(#108) Line indented incorrectly; expected at least 8 spaces, found 2
(#109) Spaces must be used to indent lines; tabs are not allowed
(#109) Tab found within whitespace
(#109) Line indented incorrectly; expected at least 8 spaces, found 2
(#111) Spaces must be used to indent lines; tabs are not allowed
(#111) Tab found within whitespace
(#111) Line indented incorrectly; expected at least 8 spaces, found 2
(#113) Spaces must be used to indent lines; tabs are not allowed
(#113) Tab found within whitespace
(#113) Line indented incorrectly; expected at least 8 spaces, found 2
(#115) Spaces must be used to indent lines; tabs are not allowed
(#115) Tab found within whitespace
(#115) Line indented incorrectly; expected at least 8 spaces, found 2
(#116) Spaces must be used to indent lines; tabs are not allowed
(#116) Tab found within whitespace
(#116) Line indented incorrectly; expected at least 8 spaces, found 2
(#117) Spaces must be used to indent lines; tabs are not allowed
(#117) Tab found within whitespace
(#117) Line indented incorrectly; expected at least 8 spaces, found 2
(#118) Spaces must be used to indent lines; tabs are not allowed
(#118) Tab found within whitespace
(#118) Line indented incorrectly; expected at least 8 spaces, found 2
(#119) Spaces must be used to indent lines; tabs are not allowed
(#119) Tab found within whitespace
(#119) Line indented incorrectly; expected at least 8 spaces, found 2
(#121) Spaces must be used to indent lines; tabs are not allowed
(#121) Tab found within whitespace
(#121) Line indented incorrectly; expected at least 8 spaces, found 2
(#122) Spaces must be used to indent lines; tabs are not allowed
(#122) Tab found within whitespace
(#122) Line indented incorrectly; expected at least 8 spaces, found 2
(#123) Spaces must be used to indent lines; tabs are not allowed
(#123) Tab found within whitespace
(#123) Line indented incorrectly; expected at least 8 spaces, found 2
(#124) Spaces must be used to indent lines; tabs are not allowed
(#124) Tab found within whitespace
(#124) Line indented incorrectly; expected at least 8 spaces, found 2
(#125) Spaces must be used to indent lines; tabs are not allowed
(#125) Tab found within whitespace
(#125) Line indented incorrectly; expected at least 8 spaces, found 2
(#126) Spaces must be used to indent lines; tabs are not allowed
(#126) Tab found within whitespace
(#126) Line indented incorrectly; expected at least 8 spaces, found 2
(#127) Spaces must be used to indent lines; tabs are not allowed
(#127) Tab found within whitespace
(#127) Line indented incorrectly; expected at least 8 spaces, found 2
(#128) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#130) Spaces must be used to indent lines; tabs are not allowed
(#130) Tab found within whitespace
(#130) Line indented incorrectly; expected at least 8 spaces, found 2
(#131) Spaces must be used to indent lines; tabs are not allowed
(#131) Tab found within whitespace
(#131) Line indented incorrectly; expected at least 8 spaces, found 2
(#132) Spaces must be used to indent lines; tabs are not allowed
(#132) Tab found within whitespace
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Line indented incorrectly; expected at least 8 spaces, found 2
(#133) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#135) Spaces must be used to indent lines; tabs are not allowed
(#135) Tab found within whitespace
(#135) Line indented incorrectly; expected at least 8 spaces, found 2
(#136) Spaces must be used to indent lines; tabs are not allowed
(#136) Tab found within whitespace
(#136) Line indented incorrectly; expected at least 8 spaces, found 2
(#139) Line exceeds maximum limit of 180 characters; contains 588 characters
(#141) Line exceeds maximum limit of 180 characters; contains 204 characters
(#143) Spaces must be used to indent lines; tabs are not allowed
(#143) Tab found within whitespace
(#143) Line indented incorrectly; expected at least 11 spaces, found 2
(#143) Commas (,) must be followed by white space.
(#144) Spaces must be used to indent lines; tabs are not allowed
(#144) Tab found within whitespace
(#144) Line indented incorrectly; expected 11 spaces, found 2
(#144) Variable "groupingID" must be all lower-case
(#145) Spaces must be used to indent lines; tabs are not allowed
(#145) Tab found within whitespace
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Line indented incorrectly; expected at least 15 spaces, found 3
(#146) Spaces must be used to indent lines; tabs are not allowed
(#146) Tab found within whitespace
(#146) Line indented incorrectly; expected 15 spaces, found 3
(#146) Inline comments must start with a capital letter, digit or 3-dots sequence
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Line exceeds maximum limit of 180 characters; contains 217 characters
(#147) Spaces must be used to indent lines; tabs are not allowed
(#147) Tab found within whitespace
(#147) Line indented incorrectly; expected at least 19 spaces, found 4
(#147) Variable "groupingID" must be all lower-case
(#147) Line exceeds maximum limit of 180 characters; contains 188 characters
(#148) Spaces must be used to indent lines; tabs are not allowed
(#148) Tab found within whitespace
(#148) Line indented incorrectly; expected 19 spaces, found 4
(#148) Variable "linkedGroupID" must be all lower-case
(#149) Spaces must be used to indent lines; tabs are not allowed
(#149) Tab found within whitespace
(#149) Line indented incorrectly; expected 23 spaces, found 5
(#149) Variable "linkedGroupID" must be all lower-case
(#150) Spaces must be used to indent lines; tabs are not allowed
(#150) Tab found within whitespace
(#150) Line indented incorrectly; expected at least 27 spaces, found 6
(#150) Variable "linkedGroupID" must be all lower-case
(#150) Variable "linkedGroupID" must be all lower-case
(#150) Line exceeds 132 characters; contains 159 characters
(#151) Spaces must be used to indent lines; tabs are not allowed
(#151) Tab found within whitespace
(#151) Line indented incorrectly; expected at least 27 spaces, found 6
(#151) Variable "linkedGroupID" must be all lower-case
(#152) Spaces must be used to indent lines; tabs are not allowed
(#152) Tab found within whitespace
(#152) Line indented incorrectly; expected 23 spaces, found 5
(#153) Spaces must be used to indent lines; tabs are not allowed
(#153) Tab found within whitespace
(#153) Line indented incorrectly; expected 19 spaces, found 4
(#154) Spaces must be used to indent lines; tabs are not allowed
(#154) Tab found within whitespace
(#154) Line indented incorrectly; expected 15 spaces, found 3
(#155) Spaces must be used to indent lines; tabs are not allowed
(#155) Tab found within whitespace
(#155) Line indented incorrectly; expected 11 spaces, found 2
(#156) Spaces must be used to indent lines; tabs are not allowed
(#156) Tab found within whitespace
(#156) Line indented incorrectly; expected 11 spaces, found 2
(#157) Spaces must be used to indent lines; tabs are not allowed
(#157) Tab found within whitespace
(#157) Line indented incorrectly; expected 15 spaces, found 3
(#158) Spaces must be used to indent lines; tabs are not allowed
(#158) Tab found within whitespace
(#158) Line indented incorrectly; expected at least 19 spaces, found 4
(#159) Spaces must be used to indent lines; tabs are not allowed
(#159) Tab found within whitespace
(#159) Line indented incorrectly; expected 15 spaces, found 3
(#160) Spaces must be used to indent lines; tabs are not allowed
(#160) Tab found within whitespace
(#160) Line indented incorrectly; expected 11 spaces, found 2
(#161) Spaces must be used to indent lines; tabs are not allowed
(#161) Tab found within whitespace
(#161) Line indented incorrectly; expected at least 11 spaces, found 2
(#161) Line exceeds maximum limit of 180 characters; contains 193 characters
(#162) Line exceeds maximum limit of 180 characters; contains 186 characters
(#163) Line exceeds 132 characters; contains 163 characters
(#164) Functions must not contain multiple empty lines in a row; found 6 empty lines
(#170) Spaces must be used to indent lines; tabs are not allowed
(#170) Tab found within whitespace
(#170) Line indented incorrectly; expected at least 11 spaces, found 2
(#170) Commas (,) must be followed by white space.
(#171) Line exceeds 132 characters; contains 139 characters
(#172) Line exceeds maximum limit of 180 characters; contains 204 characters
(#173) Spaces must be used to indent lines; tabs are not allowed
(#173) Tab found within whitespace
(#173) Line indented incorrectly; expected at least 11 spaces, found 2
(#173) Commas (,) must be followed by white space.
(#173) Line exceeds 132 characters; contains 168 characters
(#175) Spaces must be used to indent lines; tabs are not allowed
(#175) Tab found within whitespace
(#175) Line indented incorrectly; expected at least 11 spaces, found 2
(#175) Commas (,) must be followed by white space.
(#175) Line exceeds maximum limit of 180 characters; contains 259 characters
(#176) Line exceeds 132 characters; contains 151 characters
(#182) Spaces must be used to indent lines; tabs are not allowed
(#182) Tab found within whitespace
(#182) Line indented incorrectly; expected at least 11 spaces, found 2
(#184) Spaces must be used to indent lines; tabs are not allowed
(#184) Tab found within whitespace
(#184) Line indented incorrectly; expected 11 spaces, found 2
(#185) Spaces must be used to indent lines; tabs are not allowed
(#185) Tab found within whitespace
(#185) Line indented incorrectly; expected at least 15 spaces, found 3
(#185) Line exceeds 132 characters; contains 150 characters
(#186) Spaces must be used to indent lines; tabs are not allowed
(#186) Tab found within whitespace
(#186) Line indented incorrectly; expected at least 15 spaces, found 3
(#187) Spaces must be used to indent lines; tabs are not allowed
(#187) Tab found within whitespace
(#187) Line indented incorrectly; expected 11 spaces, found 2
(#188) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#190) Spaces must be used to indent lines; tabs are not allowed
(#190) Tab found within whitespace
(#190) Line indented incorrectly; expected at least 11 spaces, found 2
(#190) Variable "serializedselectedgroupsValue" must be all lower-case
(#191) Spaces must be used to indent lines; tabs are not allowed
(#191) Tab found within whitespace
(#191) Line indented incorrectly; expected 11 spaces, found 2
(#192) Spaces must be used to indent lines; tabs are not allowed
(#192) Tab found within whitespace
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Line indented incorrectly; expected at least 15 spaces, found 3
(#193) Spaces must be used to indent lines; tabs are not allowed
(#193) Tab found within whitespace
(#193) Line indented incorrectly; expected at least 15 spaces, found 3
(#194) Spaces must be used to indent lines; tabs are not allowed
(#194) Tab found within whitespace
(#194) Line indented incorrectly; expected 15 spaces, found 3
(#194) Variable "optionID" must be all lower-case
(#194) Variable "groupID" must be all lower-case
(#195) Spaces must be used to indent lines; tabs are not allowed
(#195) Tab found within whitespace
(#195) Line indented incorrectly; expected at least 19 spaces, found 4
(#195) Variable "serializedselectedgroupsValue" must be all lower-case
(#195) Variable "groupID" must be all lower-case
(#196) Spaces must be used to indent lines; tabs are not allowed
(#196) Tab found within whitespace
(#196) Line indented incorrectly; expected at least 19 spaces, found 4
(#196) Variable "groupID" must be all lower-case
(#196) Variable "optionID" must be all lower-case
(#197) Spaces must be used to indent lines; tabs are not allowed
(#197) Tab found within whitespace
(#197) Line indented incorrectly; expected 15 spaces, found 3
(#199) Spaces must be used to indent lines; tabs are not allowed
(#199) Tab found within whitespace
(#199) Line indented incorrectly; expected 11 spaces, found 2
(#200) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#202) Spaces must be used to indent lines; tabs are not allowed
(#202) Tab found within whitespace
(#202) Line indented incorrectly; expected at least 11 spaces, found 2
(#202) Variable "serializedselectedgroupsValue" must be all lower-case
(#202) Line exceeds 132 characters; contains 134 characters
(#203) Spaces must be used to indent lines; tabs are not allowed
(#203) Tab found within whitespace
(#203) Line indented incorrectly; expected at least 11 spaces, found 2
(#205) Line indented incorrectly; expected 11 spaces, found 8
(#206) Line indented incorrectly; expected 15 spaces, found 12
(#207) Line indented incorrectly; expected at least 19 spaces, found 16
(#209) Line indented incorrectly; expected 15 spaces, found 12
(#210) Line indented incorrectly; expected at least 19 spaces, found 16
(#212) Line indented incorrectly; expected 11 spaces, found 8
(#214) Line indented incorrectly; expected at least 11 spaces, found 8
(#215) Line indented incorrectly; expected at least 11 spaces, found 8
(#216) Line indented incorrectly; expected at least 11 spaces, found 8
(#218) Spaces must be used to indent lines; tabs are not allowed
(#218) Tab found within whitespace
(#218) Line indented incorrectly; expected at least 11 spaces, found 2
(#219) Spaces must be used to indent lines; tabs are not allowed
(#219) Tab found within whitespace
(#219) Line indented incorrectly; expected at least 11 spaces, found 2
(#220) Spaces must be used to indent lines; tabs are not allowed
(#220) Tab found within whitespace
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#220) Line indented incorrectly; expected at least 11 spaces, found 2
(#221) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#223) Spaces must be used to indent lines; tabs are not allowed
(#223) Tab found within whitespace
(#223) Inline comments must start with a capital letter, digit or 3-dots sequence
(#223) Line indented incorrectly; expected at least 11 spaces, found 2
(#223) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#224) Spaces must be used to indent lines; tabs are not allowed
(#224) Tab found within whitespace
(#224) Line indented incorrectly; expected at least 11 spaces, found 2
(#225) Spaces must be used to indent lines; tabs are not allowed
(#225) Tab found within whitespace
(#225) Line indented incorrectly; expected at least 11 spaces, found 2
(#227) Spaces must be used to indent lines; tabs are not allowed
(#227) Tab found within whitespace
(#227) Line indented incorrectly; expected at least 11 spaces, found 2
(#228) Spaces must be used to indent lines; tabs are not allowed
(#228) Tab found within whitespace
(#228) Line indented incorrectly; expected at least 11 spaces, found 2
(#230) Spaces must be used to indent lines; tabs are not allowed
(#230) Tab found within whitespace
(#230) Line indented incorrectly; expected at least 11 spaces, found 2
(#231) Spaces must be used to indent lines; tabs are not allowed
(#231) Tab found within whitespace
(#231) Line indented incorrectly; expected at least 11 spaces, found 2
(#233) Spaces must be used to indent lines; tabs are not allowed
(#233) Tab found within whitespace
(#233) Inline comments must start with a capital letter, digit or 3-dots sequence
(#233) Line indented incorrectly; expected at least 11 spaces, found 2
(#233) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#234) Spaces must be used to indent lines; tabs are not allowed
(#234) Tab found within whitespace
(#234) Line indented incorrectly; expected at least 11 spaces, found 2
(#235) Spaces must be used to indent lines; tabs are not allowed
(#235) Tab found within whitespace
(#235) Inline comments must start with a capital letter, digit or 3-dots sequence
(#235) Line indented incorrectly; expected at least 11 spaces, found 2
(#235) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#236) Spaces must be used to indent lines; tabs are not allowed
(#236) Tab found within whitespace
(#236) Line indented incorrectly; expected at least 11 spaces, found 2
(#237) Line indented incorrectly; expected 4 spaces, found 0
(#237) Closing brace indented incorrectly; expected 1 spaces, found 0
(#239) Line indented incorrectly; expected 4 spaces, found 0
(#239) Visibility must be declared on method "data_preprocessing"
(#239) Variable "default_values" must not contain underscores.
(#239) Expected 1 space before opening brace; found 0
(#240) Spaces must be used to indent lines; tabs are not allowed
(#240) Tab found within whitespace
(#240) Line indented incorrectly; expected at least 8 spaces, found 1
(#241) Spaces must be used to indent lines; tabs are not allowed
(#241) Tab found within whitespace
(#241) Line indented incorrectly; expected at least 8 spaces, found 1
(#243) Spaces must be used to indent lines; tabs are not allowed
(#243) Tab found within whitespace
(#243) Line indented incorrectly; expected 8 spaces, found 1
(#243) Variable "default_values" must not contain underscores.
(#244) Spaces must be used to indent lines; tabs are not allowed
(#244) Tab found within whitespace
(#244) Line indented incorrectly; expected at least 12 spaces, found 2
(#244) Variable "default_values" must not contain underscores.
(#245) Spaces must be used to indent lines; tabs are not allowed
(#245) Tab found within whitespace
(#245) Line indented incorrectly; expected 8 spaces, found 1
(#246) Spaces must be used to indent lines; tabs are not allowed
(#246) Tab found within whitespace
(#246) Line indented incorrectly; expected at least 12 spaces, found 2
(#246) Variable "default_values" must not contain underscores.
(#247) Spaces must be used to indent lines; tabs are not allowed
(#247) Tab found within whitespace
(#247) Line indented incorrectly; expected 8 spaces, found 1
(#249) Spaces must be used to indent lines; tabs are not allowed
(#249) Tab found within whitespace
(#249) Line indented incorrectly; expected 4 spaces, found 1
(#249) Closing brace indented incorrectly; expected 0 spaces, found 1
(#251) Spaces must be used to indent lines; tabs are not allowed
(#251) Tab found within whitespace
(#251) Line indented incorrectly; expected 4 spaces, found 1
(#251) Visibility must be declared on method "validation"
(#252) Spaces must be used to indent lines; tabs are not allowed
(#252) Tab found within whitespace
(#252) Line indented incorrectly; expected at least 8 spaces, found 2
(#254) Spaces must be used to indent lines; tabs are not allowed
(#254) Tab found within whitespace
(#254) Line indented incorrectly; expected at least 8 spaces, found 2
(#254) Variable "groupIDs" must be all lower-case
(#255) Spaces must be used to indent lines; tabs are not allowed
(#255) Tab found within whitespace
(#255) Line indented incorrectly; expected at least 8 spaces, found 2
(#255) Variable "groupIDs" must be all lower-case
(#255) Variable "groupIDs" must be all lower-case
(#257) Spaces must be used to indent lines; tabs are not allowed
(#257) Tab found within whitespace
(#257) Line indented incorrectly; expected 8 spaces, found 2
(#258) Spaces must be used to indent lines; tabs are not allowed
(#258) Tab found within whitespace
(#258) Line indented incorrectly; expected 12 spaces, found 3
(#258) Variable "groupIDs" must be all lower-case
(#259) Spaces must be used to indent lines; tabs are not allowed
(#259) Tab found within whitespace
(#259) Line indented incorrectly; expected at least 16 spaces, found 4
(#260) Spaces must be used to indent lines; tabs are not allowed
(#260) Tab found within whitespace
(#260) Line indented incorrectly; expected 12 spaces, found 3
(#261) Spaces must be used to indent lines; tabs are not allowed
(#261) Tab found within whitespace
(#261) Line indented incorrectly; expected 8 spaces, found 2
(#262) Spaces must be used to indent lines; tabs are not allowed
(#262) Tab found within whitespace
(#262) Line indented incorrectly; expected 12 spaces, found 3
(#262) Variable "groupIDs" must be all lower-case
(#263) Spaces must be used to indent lines; tabs are not allowed
(#263) Tab found within whitespace
(#263) Line indented incorrectly; expected at least 16 spaces, found 4
(#264) Spaces must be used to indent lines; tabs are not allowed
(#264) Tab found within whitespace
(#264) Line indented incorrectly; expected 12 spaces, found 3
(#265) Spaces must be used to indent lines; tabs are not allowed
(#265) Tab found within whitespace
(#265) Line indented incorrectly; expected 8 spaces, found 2
(#266) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#268) Spaces must be used to indent lines; tabs are not allowed
(#268) Tab found within whitespace
(#268) Line indented incorrectly; expected at least 8 spaces, found 2
(#269) Spaces must be used to indent lines; tabs are not allowed
(#269) Tab found within whitespace
(#269) Line indented incorrectly; expected 4 spaces, found 1
(#271) Spaces must be used to indent lines; tabs are not allowed
(#271) Tab found within whitespace
(#271) Line indented incorrectly; expected 4 spaces, found 1
(#271) Visibility must be declared on method "get_data"
(#272) Spaces must be used to indent lines; tabs are not allowed
(#272) Tab found within whitespace
(#272) Line indented incorrectly; expected at least 8 spaces, found 2
(#273) Spaces must be used to indent lines; tabs are not allowed
(#273) Tab found within whitespace
(#273) Line indented incorrectly; expected 8 spaces, found 2
(#274) Spaces must be used to indent lines; tabs are not allowed
(#274) Tab found within whitespace
(#274) Line indented incorrectly; expected at least 12 spaces, found 3
(#275) Spaces must be used to indent lines; tabs are not allowed
(#275) Tab found within whitespace
(#275) Line indented incorrectly; expected 8 spaces, found 2
(#276) Spaces must be used to indent lines; tabs are not allowed
(#276) Tab found within whitespace
(#276) Inline comments must end in full-stops, exclamation marks, or question marks
(#276) Line indented incorrectly; expected at least 8 spaces, found 2
(#277) Spaces must be used to indent lines; tabs are not allowed
(#277) Tab found within whitespace
(#277) Line indented incorrectly; expected 8 spaces, found 2
(#278) Spaces must be used to indent lines; tabs are not allowed
(#278) Tab found within whitespace
(#278) Line indented incorrectly; expected at least 12 spaces, found 3
(#278) Expected 1 space before "="; 0 found
(#278) Expected 1 space after "="; 0 found
(#279) Spaces must be used to indent lines; tabs are not allowed
(#279) Tab found within whitespace
(#279) Line indented incorrectly; expected 8 spaces, found 2
(#280) Spaces must be used to indent lines; tabs are not allowed
(#280) Tab found within whitespace
(#280) Line indented incorrectly; expected at least 8 spaces, found 2
(#281) Spaces must be used to indent lines; tabs are not allowed
(#281) Tab found within whitespace
(#281) Line indented incorrectly; expected 4 spaces, found 1
(#283) Spaces must be used to indent lines; tabs are not allowed
(#283) Tab found within whitespace
(#283) Line indented incorrectly; expected 4 spaces, found 1
(#283) Visibility must be declared on method "add_completion_rules"
(#284) Spaces must be used to indent lines; tabs are not allowed
(#284) Tab found within whitespace
(#284) Line indented incorrectly; expected at least 8 spaces, found 2
(#286) Spaces must be used to indent lines; tabs are not allowed
(#286) Tab found within whitespace
(#286) Line indented incorrectly; expected at least 8 spaces, found 2
(#287) Spaces must be used to indent lines; tabs are not allowed
(#287) Tab found within whitespace
(#287) Line indented incorrectly; expected at least 8 spaces, found 2
(#288) Spaces must be used to indent lines; tabs are not allowed
(#288) Tab found within whitespace
(#288) Line indented incorrectly; expected 4 spaces, found 1
(#290) Spaces must be used to indent lines; tabs are not allowed
(#290) Tab found within whitespace
(#290) Line indented incorrectly; expected 4 spaces, found 1
(#290) Visibility must be declared on method "completion_rule_enabled"
(#291) Spaces must be used to indent lines; tabs are not allowed
(#291) Tab found within whitespace
(#291) Line indented incorrectly; expected at least 8 spaces, found 2
(#292) Spaces must be used to indent lines; tabs are not allowed
(#292) Tab found within whitespace
(#292) Line indented incorrectly; expected 4 spaces, found 1
(#294) Spaces must be used to indent lines; tabs are not allowed
(#294) Tab found within whitespace
(#294) Line indented incorrectly; expected 4 spaces, found 1
(#295) Spaces must be used to indent lines; tabs are not allowed
(#295) Tab found within whitespace
(#295) Line indented incorrectly; expected at least 8 spaces, found 2
(#296) Spaces must be used to indent lines; tabs are not allowed
(#296) Tab found within whitespace
(#296) Line indented incorrectly; expected at least 8 spaces, found 2
(#297) Spaces must be used to indent lines; tabs are not allowed
(#297) Tab found within whitespace
(#297) Line indented incorrectly; expected at least 8 spaces, found 2
(#298) Spaces must be used to indent lines; tabs are not allowed
(#298) Tab found within whitespace
(#298) Line indented incorrectly; expected 8 spaces, found 2
(#299) Spaces must be used to indent lines; tabs are not allowed
(#299) Tab found within whitespace
(#299) Line indented incorrectly; expected at least 12 spaces, found 3
(#300) Spaces must be used to indent lines; tabs are not allowed
(#300) Tab found within whitespace
(#300) Line indented incorrectly; expected 8 spaces, found 2
(#301) Spaces must be used to indent lines; tabs are not allowed
(#301) Tab found within whitespace
(#301) Line indented incorrectly; expected 4 spaces, found 1
mod/choicegroup/renderer.php
(#48) Line exceeds maximum limit of 180 characters; contains 246 characters
(#49) global $PAGE cannot be used in renderers. Use $this->page.
(#49) Variable "choicegroup_groups" must not contain underscores.
(#49) Variable "choicegroup_users" must not contain underscores.
(#52) Expected 1 space before "=>"; 0 found
(#52) Expected 1 space after "=>"; 0 found
(#52) Expected 1 space before "=>"; 0 found
(#52) Expected 1 space after "=>"; 0 found
(#52) Expected 1 space before "=>"; 0 found
(#55) Expected 1 space before "=>"; 0 found
(#55) Expected 1 space after "=>"; 0 found
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#59) Expected 1 space before "=>"; 0 found
(#59) Expected 1 space after "=>"; 0 found
(#62) Commas (,) must be followed by white space.
(#62) Line exceeds maximum limit of 180 characters; contains 223 characters
(#63) Expected 1 space before "=>"; 0 found
(#63) Expected 1 space after "=>"; 0 found
(#69) Expected 1 space before "=>"; 0 found
(#69) Expected 1 space after "=>"; 0 found
(#71) Expected "} else {\n"; found "}\n else {\n"
(#72) Expected 1 space before "=>"; 0 found
(#72) Expected 1 space after "=>"; 0 found
(#75) Variable "membersdisplay_html" must not contain underscores.
(#75) Commas (,) must be followed by white space.
(#75) Commas (,) must be followed by white space.
(#75) Line exceeds maximum limit of 180 characters; contains 238 characters
(#76) Variable "membersdisplay_html" must not contain underscores.
(#76) Expected 1 space before "=>"; 0 found
(#76) Expected 1 space after "=>"; 0 found
(#76) Line exceeds 132 characters; contains 145 characters
(#83) Expected 1 space before "="; 0 found
(#83) Expected 1 space after "="; 0 found
(#84) Variable "answer_to_groupid_mappings" must not contain underscores.
(#86) Variable "initiallyHideSubmitButton" must be all lower-case
(#88) Variable "choicegroup_groups" must not contain underscores.
(#88) Variable "choicegroup_groups" must not contain underscores.
(#91) Line exceeds maximum limit of 180 characters; contains 220 characters
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#102) Expected 1 space before "=>"; 0 found
(#102) Expected 1 space after "=>"; 0 found
(#107) Variable "answer_to_groupid_mappings" must not contain underscores.
(#112) Line exceeds 132 characters; contains 152 characters
(#113) Variable "initiallyHideSubmitButton" must be all lower-case
(#117) Line exceeds 132 characters; contains 138 characters
(#118) Variable "group_members" must not contain underscores.
(#119) Variable "group_members_names" must not contain underscores.
(#120) Variable "group_members" must not contain underscores.
(#120) Variable "group_member" must not contain underscores.
(#121) Variable "group_user" must not contain underscores.
(#121) Variable "choicegroup_users" must not contain underscores.
(#121) Variable "group_member" must not contain underscores.
(#121) Variable "choicegroup_users" must not contain underscores.
(#121) Variable "group_member" must not contain underscores.
(#121) Variable "group_member" must not contain underscores.
(#121) Line exceeds maximum limit of 180 characters; contains 193 characters
(#122) Variable "group_members_names" must not contain underscores.
(#122) Variable "group_user" must not contain underscores.
(#122) Variable "group_user" must not contain underscores.
(#124) Variable "group_members_names" 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
(#139) Expected 1 space before "="; 0 found
(#139) Expected 1 space after "="; 0 found
(#146) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#153) The use of function sizeof() is forbidden; use count() instead
(#153) Variable "group_members_names" must not contain underscores.
(#155) Variable "group_members_html" must not contain underscores.
(#155) Variable "group_members_names" must not contain underscores.
(#155) Line exceeds maximum limit of 180 characters; contains 212 characters
(#156) Variable "group_members_html" must not contain underscores.
(#164) Variable "answer_to_groupid_mappings" must not contain underscores.
(#166) Expected 1 space before "=>"; 0 found
(#166) 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
(#167) Expected 1 space before "=>"; 0 found
(#167) Expected 1 space after "=>"; 0 found
(#168) Expected 1 space before "=>"; 0 found
(#168) Expected 1 space after "=>"; 0 found
(#168) Expected 1 space before "=>"; 0 found
(#168) Expected 1 space after "=>"; 0 found
(#168) Expected 1 space before "=>"; 0 found
(#168) Expected 1 space after "=>"; 0 found
(#172) Line indented incorrectly; expected at least 16 spaces, found 15
(#176) Expected 1 space before "=>"; 0 found
(#176) Expected 1 space after "=>"; 0 found
(#177) Expected 1 space before "=>"; 0 found
(#177) Expected 1 space after "=>"; 0 found
(#177) Commas (,) must be followed by white space.
(#178) Expected 1 space before "=>"; 0 found
(#178) Expected 1 space after "=>"; 0 found
(#179) Variable "initiallyHideSubmitButton" must be all lower-case
(#179) Expected 1 space before "?"; 0 found
(#179) Expected 1 space after "?"; 0 found
(#179) Expected 1 space before ":"; 0 found
(#179) Expected 1 space after ":"; 0 found
(#184) Line exceeds 132 characters; contains 133 characters
(#185) Expected 1 space before "=>"; 0 found
(#185) Expected 1 space after "=>"; 0 found
(#185) Expected 1 space before "=>"; 0 found
(#185) Expected 1 space after "=>"; 0 found
(#185) Expected 1 space before "=>"; 0 found
(#185) Expected 1 space after "=>"; 0 found
(#186) Commas (,) must be followed by white space.
(#188) Usage of ELSEIF not allowed; use ELSE IF instead
(#204) Inline comments must start with a capital letter, digit or 3-dots sequence
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) No space found before comment text; expected "// allow the publish setting to be overridden" but found "//allow the publish setting to be overridden"
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) No space found before comment text; expected "// CHOICEGROUP_PUBLISH_NAMES" but found "//CHOICEGROUP_PUBLISH_NAMES"
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) No space found before comment text; expected "// CHOICEGROUP_PUBLISH_ANONYMOUS';" but found "//CHOICEGROUP_PUBLISH_ANONYMOUS';"
(#227) global $PAGE cannot be used in renderers. Use $this->page.
(#232) Inline comments must start with a capital letter, digit or 3-dots sequence
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
(#235) Inline comments must start with a capital letter, digit or 3-dots sequence
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) Expected 1 space after "="; 0 found
(#239) Commas (,) must be followed by white space.
(#241) Expected 1 space before "=>"; 0 found
(#241) Expected 1 space after "=>"; 0 found
(#242) global $PAGE cannot be used in renderers. Use $this->page.
(#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
(#248) Line exceeds 132 characters; contains 133 characters
(#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
(#250) Expected 1 space before "=>"; 0 found
(#250) Expected 1 space after "=>"; 0 found
(#250) Expected 1 space before "=>"; 0 found
(#250) Expected 1 space after "=>"; 0 found
(#250) Expected 1 space before "=>"; 0 found
(#250) Expected 1 space after "=>"; 0 found
(#267) Expected 1 space before "=>"; 0 found
(#267) Expected 1 space after "=>"; 0 found
(#267) Line exceeds 132 characters; contains 135 characters
(#269) Expected 1 space before "=>"; 0 found
(#269) Expected 1 space after "=>"; 0 found
(#269) Line exceeds maximum limit of 180 characters; contains 181 characters
(#276) Expected 1 space before "=>"; 0 found
(#276) Expected 1 space after "=>"; 0 found
(#276) Line exceeds 132 characters; contains 159 characters
(#290) Expected "if (...) {\n"; found "if (...){\n"
(#295) Commas (,) must be followed by white space.
(#296) Expected 1 space before "=>"; 0 found
(#296) Expected 1 space after "=>"; 0 found
(#298) Expected 1 space before "=>"; 0 found
(#298) Expected 1 space after "=>"; 0 found
(#299) Expected 1 space before "=>"; 0 found
(#299) Expected 1 space after "=>"; 0 found
(#301) Expected 1 space before "=>"; 0 found
(#301) Expected 1 space after "=>"; 0 found
(#301) Commas (,) must be followed by white space.
(#301) Expected 1 space before "=>"; 0 found
(#301) Expected 1 space after "=>"; 0 found
(#302) Expected 1 space before "=>"; 0 found
(#302) Expected 1 space after "=>"; 0 found
(#302) Expected 1 space before "=>"; 0 found
(#302) Expected 1 space after "=>"; 0 found
(#302) Line exceeds 132 characters; contains 153 characters
(#303) Expected 1 space before "=>"; 0 found
(#303) Expected 1 space after "=>"; 0 found
(#304) Commas (,) must be followed by white space.
(#304) Expected 1 space before "=>"; 0 found
(#304) Expected 1 space after "=>"; 0 found
(#305) Expected 1 space before "=>"; 0 found
(#305) Expected 1 space after "=>"; 0 found
(#318) Expected 1 space before "=>"; 0 found
(#318) Expected 1 space after "=>"; 0 found
(#328) Expected 1 space before "=>"; 0 found
(#328) Expected 1 space after "=>"; 0 found
(#328) Line exceeds 132 characters; contains 150 characters
(#330) global $PAGE cannot be used in renderers. Use $this->page.
(#330) Expected 1 space before "=>"; 0 found
(#330) Expected 1 space after "=>"; 0 found
(#330) Expected 1 space before "=>"; 0 found
(#330) Expected 1 space after "=>"; 0 found
(#331) Expected 1 space before "=>"; 0 found
(#331) Expected 1 space after "=>"; 0 found
(#331) Expected 1 space before "=>"; 0 found
(#331) Expected 1 space after "=>"; 0 found
(#331) Line exceeds 132 characters; contains 177 characters
(#333) global $PAGE cannot be used in renderers. Use $this->page.
(#336) Expected 1 space before "=>"; 0 found
(#336) Expected 1 space after "=>"; 0 found
(#352) Variable "CHOICEGROUP_COLUMN_WIDTH" must be all lower-case
(#352) Variable "CHOICEGROUP_COLUMN_WIDTH" must not contain underscores.
(#355) Inline comments must start with a capital letter, digit or 3-dots sequence
(#355) Inline comments must end in full-stops, exclamation marks, or question marks
(#372) Line indented incorrectly; expected at least 16 spaces, found 15
(#378) Expected "if (...) {\n"; found "if(...) {\n"
(#379) Line indented incorrectly; expected at least 16 spaces, found 15
(#379) Variable "CHOICEGROUP_COLUMN_WIDTH" must be all lower-case
(#379) Variable "CHOICEGROUP_COLUMN_WIDTH" must not contain underscores.
(#380) Line indented incorrectly; expected at least 16 spaces, found 15
(#380) Expected 1 space before "/"; 0 found
(#380) Expected 1 space after "/"; 0 found
(#380) Expected 1 space before "*"; 0 found
(#380) Expected 1 space after "*"; 0 found
(#382) Commas (,) must be followed by white space.
(#382) Expected 1 space before "=>"; 0 found
(#382) Expected 1 space after "=>"; 0 found
(#382) Expected 1 space before "=>"; 0 found
(#382) Expected 1 space after "=>"; 0 found
(#382) Expected 1 space before "=>"; 0 found
(#382) Expected 1 space after "=>"; 0 found
(#382) Line exceeds 132 characters; contains 172 characters
(#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
(#384) Line exceeds 132 characters; contains 161 characters
(#385) Expected 1 space before "=>"; 0 found
(#385) Expected 1 space after "=>"; 0 found
(#385) Expected 1 space before "=>"; 0 found
(#385) Expected 1 space after "=>"; 0 found
(#388) Expected 1 space before "=>"; 0 found
(#388) Expected 1 space after "=>"; 0 found
(#392) Expected 1 space before "=>"; 0 found
(#392) Expected 1 space after "=>"; 0 found
(#392) Line exceeds 132 characters; contains 138 characters
(#394) Expected 1 space before "=>"; 0 found
(#394) Expected 1 space after "=>"; 0 found
(#394) Line exceeds maximum limit of 180 characters; contains 184 characters
(#396) Expected 1 space before "=>"; 0 found
(#396) Expected 1 space before "=>"; 0 found
(#396) Expected 1 space after "=>"; 0 found
(#396) Line exceeds 132 characters; contains 160 characters
(#398) Expected "if (...) {\n"; found "if(...) {\n"
(#399) Line indented incorrectly; expected at least 16 spaces, found 15
(#399) Expected 1 space before "/"; 0 found
(#399) Expected 1 space after "/"; 0 found
(#399) Expected 1 space before "*"; 0 found
(#399) Expected 1 space after "*"; 0 found
(#401) Commas (,) must be followed by white space.
(#401) Expected 1 space before "=>"; 0 found
(#401) Expected 1 space after "=>"; 0 found
(#404) Expected 1 space before "=>"; 0 found
(#404) Expected 1 space after "=>"; 0 found
(#414) Commas (,) must be followed by white space.
(#415) Expected 1 space before "=>"; 0 found
(#415) 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) 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) 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
(#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
(#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.
(#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
(#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.
(#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
(#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.
(#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
(#243) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#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.
(#287) Expected 1 space after "="; 2 found
(#288) Expected 1 space before "=>"; 0 found
(#288) Expected 1 space after "=>"; 0 found
(#292) Expected 1 space before "=>"; 0 found
(#292) Expected 1 space after "=>"; 0 found
(#296) Expected 1 space before "=>"; 0 found
(#296) Expected 1 space after "=>"; 0 found
(#299) Expected 1 space before "=>"; 0 found
(#299) 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
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) 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) 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
(#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.
(#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
(#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
(#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.
(#106) Variable "number_of_groups" must not contain underscores.
(#107) Variable "answer_value" must not contain underscores.
(#108) Variable "answer_value" must not contain underscores.
(#109) Variable "answer_value" must not contain underscores.
(#111) Variable "answer_value_group_id" must not contain underscores.
(#112) Variable "answer_value_group_id" must not contain underscores.
(#113) Variable "answer_value_group" must not contain underscores.
(#113) Variable "answer_value_group_id" must not contain underscores.
(#114) Variable "answer_value_group_id" must not contain underscores.
(#125) Inline comments must start with a capital letter, digit or 3-dots sequence
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) No space found before comment text; expected "// some responses need to be deleted" but found "//some responses need to be deleted"
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) No space found before comment text; expected "// delete responses." but found "//delete responses."
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) 3 slashes comments are not allowed; use "// Comment." instead
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) 3 slashes comments are not allowed; use "// Comment." instead
(#186) 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) 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."
(#210) Variable "formatted_names" must not contain underscores.
(#210) Line exceeds 132 characters; contains 173 characters
(#211) Variable "formatted_names" must not contain underscores.
(#211) Line exceeds 132 characters; contains 157 characters
(#214) Line exceeds 132 characters; contains 170 characters
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) 3 slashes comments are not allowed; use "// Comment." instead
(#221) Expected 1 space after "!="; 0 found
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#235) Line indented incorrectly; expected at least 4 spaces, found 0
(#237) Line exceeds maximum limit of 180 characters; contains 234 characters
(#239) Inline comments must start with a capital letter, digit or 3-dots sequence
(#239) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) Line exceeds maximum limit of 180 characters; contains 233 characters
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#249) Expected 1 space before "=>"; 0 found
(#249) Expected 1 space after "=>"; 0 found
(#251) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) Expected 1 space before "=>"; 0 found
(#261) Expected 1 space after "=>"; 0 found
(#261) Line exceeds 132 characters; contains 150 characters
(#267) Inline comments must start with a capital letter, digit or 3-dots sequence
(#267) Inline comments must end in full-stops, exclamation marks, or question marks
(#268) Empty IF statement detected
(#272) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#275) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#278) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#281) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"

Javascript coding style problems

(350 errors, 168 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/javascript.js
(#27) 'NDY' is assigned a value but never used. (no-unused-vars)
(#27) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#27) 'YUI' is not defined. (no-undef)
(#28) Identifier 'choicegroup_memberdisplay_click' is not in camel case. (camelcase)
(#49) Identifier 'choicegroup_descriptiondisplay_click' is not in camel case. (camelcase)
(#69) Unexpected space before function parentheses. (space-before-function-paren)
(#72) Unexpected space before function parentheses. (space-before-function-paren)
mod/choicegroup/mobile/js/ionic3/courseview.js
(#78) Parsing error: Unexpected token >
mod/choicegroup/mobile/js/ionic3/init.js
(#83) Missing JSDoc return type. (valid-jsdoc)
(#86) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#87) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#97) Missing JSDoc return type. (valid-jsdoc)
(#100) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#116) Missing JSDoc return type. (valid-jsdoc)
(#119) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#120) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#132) Missing JSDoc return type. (valid-jsdoc)
(#135) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#136) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#151) Missing JSDoc return type. (valid-jsdoc)
(#154) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#155) Missing JSDoc parameter type for 'name'. (valid-jsdoc)
(#156) Missing JSDoc parameter type for 'courseId'. (valid-jsdoc)
(#157) Missing JSDoc parameter type for 'cmId'. (valid-jsdoc)
(#158) Missing JSDoc parameter type for 'data'. (valid-jsdoc)
(#159) Missing JSDoc parameter type for 'deleting'. (valid-jsdoc)
(#160) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#190) Unexpected empty function 'AddonModChoiceGroupProvider'. (no-empty-function)
(#192) Missing JSDoc return type. (valid-jsdoc)
(#195) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#196) Missing JSDoc parameter type for 'name'. (valid-jsdoc)
(#197) Missing JSDoc parameter type for 'courseId'. (valid-jsdoc)
(#198) Missing JSDoc parameter type for 'cmId'. (valid-jsdoc)
(#199) Missing JSDoc parameter type for 'allowOffline'. (valid-jsdoc)
(#200) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#230) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#230) 'Promise' is not defined. (no-undef)
(#230) "Promise" is not defined. (promise/no-native)
(#239) Missing JSDoc return type. (valid-jsdoc)
(#242) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#243) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#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. (no-undef)
(#259) "Promise" is not defined. (promise/no-native)
(#265) Missing JSDoc return type. (valid-jsdoc)
(#268) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#269) Missing JSDoc parameter type for 'name'. (valid-jsdoc)
(#270) Missing JSDoc parameter type for 'courseId'. (valid-jsdoc)
(#271) Missing JSDoc parameter type for 'cmId'. (valid-jsdoc)
(#272) Missing JSDoc parameter type for 'data'. (valid-jsdoc)
(#273) Missing JSDoc parameter type for 'allowOffline'. (valid-jsdoc)
(#274) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#304) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#304) 'Promise' is not defined. (no-undef)
(#304) "Promise" is not defined. (promise/no-native)
(#313) Missing JSDoc return type. (valid-jsdoc)
(#316) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#317) Missing JSDoc parameter type for 'data'. (valid-jsdoc)
(#318) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#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. (no-undef)
(#335) "Promise" is not defined. (promise/no-native)
(#362) Missing JSDoc return type. (valid-jsdoc)
(#365) Missing JSDoc parameter type for 'force'. (valid-jsdoc)
(#373) Missing JSDoc return type. (valid-jsdoc)
(#376) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#377) Missing JSDoc parameter type for 'force'. (valid-jsdoc)
(#390) Each then() should return a value or throw (promise/always-return)
(#400) 'Promise' is not defined. (no-undef)
(#400) "Promise" is not defined. (promise/no-native)
(#404) Missing JSDoc return type. (valid-jsdoc)
(#407) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#408) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#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)
(#421) Missing JSDoc return type. (valid-jsdoc)
(#424) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#425) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#460) Function expected no return value. (consistent-return)
(#460) Expected throw instead of Promise.reject (promise/no-return-wrap)
(#460) 'Promise' is not defined. (no-undef)
(#460) "Promise" is not defined. (promise/no-native)
(#477) Function expected no return value. (consistent-return)
(#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. (no-undef)
(#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)
(#525) Unreachable code. (no-unreachable)
(#525) 'syncPromise' is not defined. (no-undef)
(#542) Missing JSDoc return type. (valid-jsdoc)
(#545) Missing JSDoc parameter type for 'siteId'. (valid-jsdoc)
(#546) Missing JSDoc parameter type for 'force'. (valid-jsdoc)
(#549) Expected to return a value at the end of function. (consistent-return)
(#556) Missing JSDoc return type. (valid-jsdoc)
(#600) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
mod/choicegroup/mobile/js/latest/courseview.js
(#24) Parsing error: The keyword 'const' is reserved
mod/choicegroup/mobile/js/latest/init.js
(#24) Parsing error: The keyword 'const' is reserved
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) Missing JSDoc comment. (require-jsdoc)
(#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)
(#69) Missing JSDoc comment. (require-jsdoc)
(#70) Unexpected tab character. (no-tabs)
(#71) Unexpected tab character. (no-tabs)
(#73) Unexpected tab character. (no-tabs)
(#73) Missing JSDoc comment. (require-jsdoc)
(#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)
(#87) Missing JSDoc comment. (require-jsdoc)
(#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) Missing JSDoc comment. (require-jsdoc)
(#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)
(#124) Missing JSDoc comment. (require-jsdoc)
(#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)
(#142) Missing JSDoc comment. (require-jsdoc)
(#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)
(#160) Missing JSDoc comment. (require-jsdoc)
(#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)
(#169) Missing JSDoc comment. (require-jsdoc)
(#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)
(#178) Missing JSDoc comment. (require-jsdoc)
(#186) Missing JSDoc comment. (require-jsdoc)
(#187) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#187) Unexpected tab character. (no-tabs)
(#190) Missing JSDoc comment. (require-jsdoc)
(#191) This line has a length of 201. Maximum allowed is 132. (max-len)
(#194) Missing JSDoc comment. (require-jsdoc)
(#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)
(#198) Missing JSDoc comment. (require-jsdoc)
(#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)
(#202) Missing JSDoc comment. (require-jsdoc)
(#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)
(#222) Missing JSDoc comment. (require-jsdoc)
(#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 192. 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

(2 errors, 3 warnings)

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

mod/choicegroup/styles.css
(#264) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#156) Unexpected unit (length-zero-no-unit)
(#177) Unexpected unit (length-zero-no-unit)
(#234) Unexpected unit (length-zero-no-unit)
(#218) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(101 errors, 28 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
(#19) Package moodlecore is not valid
(#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
mod/choicegroup/backup/moodle2/backup_choicegroup_settingslib.php
(#19) Package moodlecore is not valid
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/choicegroup/backup/moodle2/backup_choicegroup_stepslib.php
(#19) Package moodlecore is not valid
(#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
mod/choicegroup/backup/moodle2/restore_choicegroup_activity_task.class.php
(#19) Package moodlecore is not valid
(#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} or {@see valid FQSEN}
(#80) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#97) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#99) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/choicegroup/backup/moodle2/restore_choicegroup_stepslib.php
(#19) Package moodlecore is not valid
(#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
(#79) Function restore_choicegroup_activity_structure_step::after_execute is not documented
(#18) No one-line description found in phpdocs for file
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
(#21) Package mod is not valid
(#2) Empty line found after PHP open tag
mod/choicegroup/db/upgrade.php
(#25) Package is not specified for function xmldb_choicegroup_upgrade. It is also not specified in file-level phpdocs
(#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
mod/choicegroup/index.php
(#20) Package mod is not valid
mod/choicegroup/lang/en/choicegroup.php
(#21) Package choice is not valid
(#2) Empty line found after PHP open tag
mod/choicegroup/lib.php
(#20) Package mod is not valid
(#758) Function choicegroup_get_groups is not documented
(#828) Function choicegroup_get_sort_column is not documented
(#928) Function choicegroup_get_responses is not documented
(#1069) Function choicegroup_get_sort_options is not documented
(#73) Found comment starting with three or more slashes
(#628) Found comment starting with three or more slashes
(#75) There is no description in phpdocs for function choicegroup_user_outline
(#93) There is no description in phpdocs for function choicegroup_get_user_answer
(#152) There is no description in phpdocs for function choicegroup_user_complete
(#302) There is no description in phpdocs for function choicegroup_prepare_options
(#358) There is no description in phpdocs for function choicegroup_user_submit_response
(#432) There is no description in phpdocs for function choicegroup_show_reportlink
(#652) There is no description in phpdocs for function choicegroup_delete_responses
(#845) There is no description in phpdocs for function choicegroup_get_view_actions
(#852) There is no description in phpdocs for function choicegroup_get_post_actions
(#880) There is no description in phpdocs for function choicegroup_get_response_data
(#959) There is no description in phpdocs for function choicegroup_supports
(#93) Phpdocs for function choicegroup_get_user_answer has incomplete parameters list
(#462) Phpdocs for function prepare_choicegroup_show_results has incomplete parameters list
(#871) 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
(#54) Not recommended phpdocs tag @global used
(#59) Not recommended phpdocs tag @global used
(#66) Not recommended phpdocs tag @global used
(#76) Not recommended phpdocs tag @global used
(#153) Not recommended phpdocs tag @global used
(#177) Not recommended phpdocs tag @global used
(#228) Not recommended phpdocs tag @global used
(#303) Not recommended phpdocs tag @global used
(#359) Not recommended phpdocs tag @global used
(#461) Not recommended phpdocs tag @global used
(#653) Not recommended phpdocs tag @global used
(#709) Not recommended phpdocs tag @global used
(#736) Not recommended phpdocs tag @global used
(#754) Not recommended phpdocs tag @global used
(#786) Not recommended phpdocs tag @global used
(#881) Not recommended phpdocs tag @global used
(#881) Not recommended phpdocs tag @global used
(#881) Not recommended phpdocs tag @global used
(#462) Invalid inline phpdocs tag @param found
mod/choicegroup/mod_form.php
(#20) Package mod is not valid
(#31) Class mod_choicegroup_mod_form is not documented
(#33) Function mod_choicegroup_mod_form::definition is not documented
(#239) Function mod_choicegroup_mod_form::data_preprocessing is not documented
(#251) Function mod_choicegroup_mod_form::validation is not documented
(#271) Function mod_choicegroup_mod_form::get_data is not documented
(#283) Function mod_choicegroup_mod_form::add_completion_rules is not documented
(#290) Function mod_choicegroup_mod_form::completion_rule_enabled is not documented
(#294) Function mod_choicegroup_mod_form::js_call is not documented
mod/choicegroup/renderer.php
(#20) Package mod is not valid
(#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
(#222) Phpdocs for function mod_choicegroup_renderer::display_publish_name_vertical has incomplete parameters list
mod/choicegroup/report.php
(#20) Package mod is not valid
(#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
mod/choicegroup/settings.php
(#20) Package mod is not valid
mod/choicegroup/version.php
(#20) Package mod is not valid
mod/choicegroup/view.php
(#20) Package mod is not valid
(#96) Found comment starting with three or more slashes
(#100) Found comment starting with three or more slashes
(#149) Found comment starting with three or more slashes
(#178) Found comment starting with three or more slashes
(#218) Found comment starting with three or more slashes

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 (3) than 'savepoint' calls (2)

Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(2 errors, 0 warnings)

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

mod/choicegroup/templates/mobile_view_page_ionic3.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
mod/choicegroup/templates/mobile_view_page_latest.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error

Gherkin .feature problems

(0 errors, 0 warnings)

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