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

(523 errors, 240 warnings)

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

mod/groupselect/backup/moodle1/lib.php
(#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
(#79) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Inline comments must start with a capital letter, digit or 3-dots sequence
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Inline comments must start with a capital letter, digit or 3-dots sequence
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
mod/groupselect/backup/moodle2/backup_groupselect_activity_task.class.php
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Commas (,) must be followed by white space.
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Expected 1 space before "="; 0 found
(#59) Expected 1 space after "="; 0 found
(#60) Expected 1 space before "="; 0 found
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Expected 1 space before "="; 0 found
(#63) Expected 1 space after "="; 0 found
(#64) Expected 1 space before "="; 0 found
mod/groupselect/backup/moodle2/backup_groupselect_stepslib.php
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Commas (,) must be followed by white space.
(#55) Commas (,) must be followed by white space.
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Commas (,) must be followed by white space.
(#67) Commas (,) must be followed by white space.
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Commas (,) must be followed by white space.
(#72) Commas (,) must be followed by white space.
(#73) Commas (,) must be followed by white space.
(#74) Commas (,) must be followed by white space.
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
mod/groupselect/backup/moodle2/restore_groupselect_activity_task.class.php
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
mod/groupselect/backup/moodle2/restore_groupselect_stepslib.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
mod/groupselect/classes/event/course_module_instance_list_viewed.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/groupselect/classes/event/course_module_viewed.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Line indented incorrectly; expected at least 8 spaces, found 4
(#34) Line indented incorrectly; expected at least 8 spaces, found 4
mod/groupselect/classes/event/export_link_created.php
(#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) This comment is 48% valid code; is this commented out code?
mod/groupselect/classes/event/group_teacher_added.php
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) This comment is 48% valid code; is this commented out code?
mod/groupselect/create_form.php
(#19) Expected 1 space(s) before asterisk; 0 found
(#20) Expected 1 space(s) before asterisk; 0 found
(#21) Expected 1 space(s) before asterisk; 0 found
(#22) Expected 1 space(s) before asterisk; 0 found
(#23) Expected 1 space(s) before asterisk; 0 found
(#24) Expected 1 space(s) before asterisk; 0 found
(#36) Visibility must be declared on method "definition"
(#41) Commas (,) must be followed by white space.
(#44) Expected "if (...) {\n"; found "if(...){\n"
(#45) Commas (,) must be followed by white space.
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#45) Expected 1 space before "-"; 0 found
(#45) Expected 1 space after "-"; 0 found
(#45) Line exceeds 132 characters; contains 147 characters
(#47) Expected "} else {\n"; found "}\n else{\n"
(#51) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#53) Expected "if (...) {\n"; found "if(...) {\n"
(#54) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space after "=>"; 0 found
(#54) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space after "=>"; 0 found
(#54) Expected 1 space before "-"; 0 found
(#54) Expected 1 space after "-"; 0 found
(#54) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space after "=>"; 0 found
(#54) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space after "=>"; 0 found
(#54) Line exceeds maximum limit of 180 characters; contains 202 characters
(#56) Expected "} else {\n"; found "}\n else {\n"
(#61) Expected "if (...) {\n"; found "if(...){\n"
(#62) Expected 1 space before "=>"; 0 found
(#62) Expected 1 space after "=>"; 0 found
(#62) Expected 1 space before "-"; 0 found
(#62) Expected 1 space after "-"; 0 found
(#62) Expected 1 space before "=>"; 0 found
(#62) Expected 1 space after "=>"; 0 found
(#62) Line exceeds 132 characters; contains 144 characters
(#64) Expected "} else {\n"; found "}\n else{\n"
(#71) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#75) Visibility must be declared on method "validation"
(#81) Expected "if (...) {\n"; found "if(...) {\n"
(#85) Expected "if (...) {\n"; found "if(...) {\n"
(#89) Expected "if (...) {\n"; found "if(...) {\n"
mod/groupselect/db/access.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/groupselect/db/log.php
(#29) Expected 1 space before "=>"; 0 found
(#29) Expected 1 space after "=>"; 0 found
(#29) Expected 1 space before "=>"; 0 found
(#29) Expected 1 space after "=>"; 0 found
(#29) Expected 1 space before "=>"; 0 found
(#29) Expected 1 space after "=>"; 0 found
(#29) Expected 1 space before "=>"; 0 found
(#29) 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
(#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
mod/groupselect/db/upgrade.php
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Variable "field_timecreated_new" must not contain underscores.
(#38) Line exceeds 132 characters; contains 155 characters
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Variable "field_timecreated_new" must not contain underscores.
(#42) Variable "field_timecreated_new" must not contain underscores.
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Variable "field_targetgrouping_new" must not contain underscores.
(#54) Line exceeds 132 characters; contains 159 characters
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Variable "field_targetgrouping_new" must not contain underscores.
(#57) Variable "field_targetgrouping_new" must not contain underscores.
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) 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
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Variable "field_signuptype" must not contain underscores.
(#87) Line exceeds 132 characters; contains 147 characters
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Variable "field_signuptype" must not contain underscores.
(#91) Variable "field_signuptype" must not contain underscores.
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Inline comments must start with a capital letter, digit or 3-dots sequence
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Line exceeds 132 characters; contains 134 characters
(#120) Line exceeds 132 characters; contains 137 characters
(#122) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Expected "if (...) {\n"; found "if(...) {\n"
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Expected "if (...) {\n"; found "if(...) {\n"
(#152) Inline comments must start with a capital letter, digit or 3-dots sequence
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) Expected "if (...) {\n"; found "if(...)\n {\n"
(#167) Expected "if (...) {\n"; found "if (...){\n"
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Expected "if (...) {\n"; found "if(...){\n"
(#172) Variable "gs_teachers" must not contain underscores.
(#174) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#174) Variable "gs_teachers" must not contain underscores.
(#174) Variable "gs_teacher" must not contain underscores.
(#175) Variable "course_module" must not contain underscores.
(#175) Expected 1 space before "=>"; 0 found
(#175) Expected 1 space after "=>"; 0 found
(#175) Variable "gs_teacher" must not contain underscores.
(#176) Expected "if (...) {\n"; found "IF (...){\n"
(#176) IF keyword must be lowercase; expected "if" but found "IF"
(#176) Variable "course_module" must not contain underscores.
(#177) Variable "gs_teacher" must not contain underscores.
(#177) Variable "course_module" must not contain underscores.
(#178) Variable "gs_teacher" must not contain underscores.
(#178) Expected 1 space before "="; 0 found
(#178) Expected 1 space after "="; 0 found
(#179) Expected "} else {\n"; found "}else{\n"
(#180) Commas (,) must be followed by white space.
(#180) Expected 1 space before "=>"; 0 found
(#180) Expected 1 space after "=>"; 0 found
(#180) Variable "gs_teacher" must not contain underscores.
(#185) Inline comments must start with a capital letter, digit or 3-dots sequence
(#185) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) Expected "if (...) {\n"; found "if (...){\n"
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#193) Line exceeds 132 characters; contains 145 characters
(#194) Line exceeds 132 characters; contains 148 characters
(#196) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#202) Inline comments must start with a capital letter, digit or 3-dots sequence
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
(#205) Expected "if (...) {\n"; found "if (...){\n"
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) Line exceeds 132 characters; contains 145 characters
(#212) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#218) Inline comments must start with a capital letter, digit or 3-dots sequence
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
mod/groupselect/index.php
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) This comment is 69% valid code; is this commented out code?
(#35) No space found before comment text; expected "// add_to_log($course->id, 'groupselect', 'view all', "index.php?id=$course->id", '');" but found "//add_to_log($course->id, 'groupselect', 'view all', "index.php?id=$course->id", '');"
(#36) Line exceeds 132 characters; contains 136 characters
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
mod/groupselect/jquery/plugins.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/groupselect/lang/de/groupselect.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/groupselect/lang/en/groupselect.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/groupselect/lang/fi/groupselect.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/groupselect/lib.php
(#36) Closing brace must be on a line by itself
(#37) Closing brace must be on a line by itself
(#37) Line exceeds 132 characters; contains 133 characters
(#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
(#38) Closing brace must be on a line by itself
(#39) Closing brace must be on a line by itself
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Closing brace must be on a line by itself
(#41) Closing brace must be on a line by itself
(#42) Closing brace must be on a line by itself
(#43) Closing brace must be on a line by itself
(#44) Closing brace must be on a line by itself
(#45) Closing brace must be on a line by itself
(#47) Closing brace must be on a line by itself
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Expected 1 space before "=>"; 0 found
(#109) Expected 1 space after "=>"; 0 found
(#111) Expected 1 space before "=>"; 0 found
(#111) Expected 1 space after "=>"; 0 found
(#113) Expected 1 space before "=>"; 0 found
(#113) Expected 1 space after "=>"; 0 found
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#256) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) This comment is 55% valid code; is this commented out code?
(#256) No space found before comment text; expected "// && $filearea !== 'anotherexpectedfilearea') {" but found "//&& $filearea !== 'anotherexpectedfilearea') {"
(#260) Line exceeds 132 characters; contains 137 characters
(#277) Inline comments must start with a capital letter, digit or 3-dots sequence
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#279) Inline comments must end in full-stops, exclamation marks, or question marks
mod/groupselect/locallib.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) This comment is 100% valid code; is this commented out code?
(#30) No space found before comment text; expected "// require_once("$CFG->dirroot/group/externallib.php");" but found "//require_once("$CFG->dirroot/group/externallib.php");"
(#37) Line exceeds 132 characters; contains 144 characters
(#43) Expected 1 space before "=>"; 0 found
(#43) Expected 1 space after "=>"; 0 found
(#43) Expected 1 space before "=>"; 0 found
(#43) Expected 1 space after "=>"; 0 found
(#43) Expected 1 space before "=>"; 0 found
(#43) Expected 1 space after "=>"; 0 found
(#43) Line exceeds 132 characters; contains 137 characters
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) No space found before comment text; expected "// TODO: join into enrolment table" but found "//TODO: join into enrolment table"
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) No space found before comment text; expected "// all groups" but found "//all groups"
(#77) Expected 1 space before "=>"; 0 found
(#77) Expected 1 space after "=>"; 0 found
(#87) Expected 1 space before "=>"; 0 found
(#87) Expected 1 space after "=>"; 0 found
(#87) Expected 1 space before "=>"; 0 found
(#87) Expected 1 space after "=>"; 0 found
mod/groupselect/mod_form.php
(#29) "require_once" must be immediately followed by an open parenthesis
(#34) Visibility must be declared on method "definition"
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) No space found before comment text; expected "// TODO: get rid of the sloppy $COURSE" but found "//TODO: get rid of the sloppy $COURSE"
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#63) Line indented incorrectly; expected at least 8 spaces, found 7
(#64) This comment is 70% valid code; is this commented out code?
(#64) Line indented incorrectly; expected at least 8 spaces, found 7
(#65) This comment is 64% valid code; is this commented out code?
(#65) Line indented incorrectly; expected at least 8 spaces, found 7
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) This comment is 72% valid code; is this commented out code?
(#66) Line indented incorrectly; expected at least 8 spaces, found 7
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#73) Expected 1 space before "=>"; 0 found
(#73) Expected 1 space after "=>"; 0 found
(#78) Expected 1 space before "=>"; 0 found
(#78) Expected 1 space after "=>"; 0 found
(#78) Line exceeds 132 characters; contains 139 characters
(#80) Expected 1 space before "=>"; 0 found
(#80) Expected 1 space after "=>"; 0 found
(#84) Expected 1 space before "=>"; 0 found
(#84) Expected 1 space after "=>"; 0 found
(#84) Expected 1 space before "=>"; 0 found
(#84) Expected 1 space after "=>"; 0 found
(#84) Commas (,) must be followed by white space.
(#89) Expected 1 space before "=>"; 0 found
(#89) Expected 1 space after "=>"; 0 found
(#89) Expected 1 space before "=>"; 0 found
(#89) Expected 1 space after "=>"; 0 found
(#89) Commas (,) must be followed by white space.
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#95) Expected 1 space before "=>"; 0 found
(#95) Expected 1 space after "=>"; 0 found
(#95) Commas (,) must be followed by white space.
(#100) Line exceeds 132 characters; contains 134 characters
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#101) Commas (,) must be followed by white space.
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space after "=>"; 0 found
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space after "=>"; 0 found
(#107) Commas (,) must be followed by white space.
(#112) Expected 1 space before "=>"; 0 found
(#112) Expected 1 space after "=>"; 0 found
(#112) Expected 1 space before "=>"; 0 found
(#112) Expected 1 space after "=>"; 0 found
(#112) Commas (,) must be followed by white space.
(#118) Expected 1 space before "=>"; 0 found
(#118) Expected 1 space after "=>"; 0 found
(#118) Expected 1 space before "=>"; 0 found
(#118) Expected 1 space after "=>"; 0 found
(#118) Commas (,) must be followed by white space.
(#123) Expected 1 space before "=>"; 0 found
(#123) Expected 1 space after "=>"; 0 found
(#123) Expected 1 space before "=>"; 0 found
(#123) Expected 1 space after "=>"; 0 found
(#123) Commas (,) must be followed by white space.
(#128) Expected 1 space before "=>"; 0 found
(#128) Expected 1 space after "=>"; 0 found
(#128) Expected 1 space before "=>"; 0 found
(#128) Expected 1 space after "=>"; 0 found
(#128) Commas (,) must be followed by white space.
(#131) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#138) Inline comments must start with a capital letter, digit or 3-dots sequence
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#142) Visibility must be declared on method "validation"
mod/groupselect/select_form.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#28) "require_once" must be immediately followed by an open parenthesis
(#29) "require_once" must be immediately followed by an open parenthesis
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Visibility must be declared on method "definition"
(#40) This comment is 51% valid code; is this commented out code?
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) Line indented incorrectly; expected at least 8 spaces, found 0
(#40) Expected 1 space before comment text but found 6; use block comment if you need indentation
(#41) Line exceeds 132 characters; contains 139 characters
(#41) Line indented incorrectly; expected at least 8 spaces, found 0
(#41) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#42) Line indented incorrectly; expected at least 8 spaces, found 0
(#42) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Line indented incorrectly; expected at least 8 spaces, found 0
(#43) Expected 1 space before comment text but found 6; use block comment if you need indentation
(#44) Line indented incorrectly; expected 8 spaces, found 16
(#45) Line exceeds 132 characters; contains 139 characters
(#47) Closing brace indented incorrectly; expected 16 spaces, found 8
(#62) Visibility must be declared on method "validation"
(#67) This comment is 53% valid code; is this commented out code?
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Line indented incorrectly; expected at least 8 spaces, found 4
(#67) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#68) This comment is 58% valid code; is this commented out code?
(#68) Line indented incorrectly; expected at least 8 spaces, found 4
(#68) Expected 1 space before comment text but found 6; use block comment if you need indentation
(#69) This comment is 50% valid code; is this commented out code?
(#69) Line indented incorrectly; expected at least 8 spaces, found 4
(#69) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#70) This comment is 50% valid code; is this commented out code?
(#70) Line indented incorrectly; expected at least 8 spaces, found 4
(#70) Expected 1 space before comment text but found 6; use block comment if you need indentation
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) This comment is 50% valid code; is this commented out code?
(#71) Line indented incorrectly; expected at least 8 spaces, found 4
(#71) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#72) Line indented incorrectly; expected 8 spaces, found 16
(#82) Line indented incorrectly; expected 4 spaces, found 12
(#84) Line indented incorrectly; expected 4 spaces, found 12
(#85) Closing brace indented incorrectly; expected 16 spaces, found 8
mod/groupselect/settings.php
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) No space found before comment text; expected "// --- modedit defaults -----------------------------------------------------------------------------------" but found "//--- modedit defaults -----------------------------------------------------------------------------------"
(#30) Line exceeds 132 characters; contains 162 characters
(#33) Whitespace found at end of line
(#37) Whitespace found at end of line
mod/groupselect/version.php
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
mod/groupselect/view.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#26) "require" must be immediately followed by an open parenthesis
(#27) "require_once" must be immediately followed by an open parenthesis
(#28) "require_once" must be immediately followed by an open parenthesis
(#29) "require_once" must be immediately followed by an open parenthesis
(#30) "require_once" must be immediately followed by an open parenthesis
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) This comment is 55% valid code; is this commented out code?
(#64) No space found before comment text; expected "// add_to_log ( $course->id, 'groupselect', 'view', 'view.php?id=' . $cm->id, $groupselect->id, $cm->id );" but found "//add_to_log ( $course->id, 'groupselect', 'view', 'view.php?id=' . $cm->id, $groupselect->id, $cm->id );"
(#90) Variable "ASSIGNROLE" must be all lower-case
(#90) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Line exceeds 132 characters; contains 157 characters
(#99) Variable "ASSIGNROLE" must be all lower-case
(#99) Line exceeds maximum limit of 180 characters; contains 221 characters
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Expected "if (...) {\n"; found "if(...) {\n"
(#133) Expected "if (...) {\n"; found "if(...) {\n"
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Expected "if (...) {\n"; found "if (...){\n"
(#169) Space found after opening bracket of FOREACH loop
(#169) Space found before closing bracket of FOREACH loop
(#175) Expected 1 space after "="; 2 found
(#177) Expected "} else {\n"; found "}\n else{\n"
(#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) This comment is 55% valid code; is this commented out code?
(#192) No space found before comment text; expected "// add_to_log ( $course->id, 'groupselect', 'select', 'view.php?id=' . $cm->id, $groupselect->id, $cm->id );" but found "//add_to_log ( $course->id, 'groupselect', 'select', 'view.php?id=' . $cm->id, $groupselect->id, $cm->id );"
(#205) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#243) Inline comments must start with a capital letter, digit or 3-dots sequence
(#243) Inline comments must end in full-stops, exclamation marks, or question marks
(#243) This comment is 55% valid code; is this commented out code?
(#243) No space found before comment text; expected "// add_to_log ( $course->id, 'groupselect', 'select', 'view.php?id=' . $cm->id, $groupselect->id, $cm->id );" but found "//add_to_log ( $course->id, 'groupselect', 'select', 'view.php?id=' . $cm->id, $groupselect->id, $cm->id );"
(#257) Inline comments must start with a capital letter, digit or 3-dots sequence
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#272) Inline comments must start with a capital letter, digit or 3-dots sequence
(#272) Inline comments must end in full-stops, exclamation marks, or question marks
(#272) This comment is 55% valid code; is this commented out code?
(#272) No space found before comment text; expected "// add_to_log ( $course->id, 'groupselect', 'unselect', 'view.php?id=' . $cm->id, $groupselect->id, $cm->id );" but found "//add_to_log ( $course->id, 'groupselect', 'unselect', 'view.php?id=' . $cm->id, $groupselect->id, $cm->id );"
(#294) Inline comments must end in full-stops, exclamation marks, or question marks
(#296) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) Variable "group_list" must not contain underscores.
(#314) Inline comments must end in full-stops, exclamation marks, or question marks
(#325) Inline comments must end in full-stops, exclamation marks, or question marks
(#338) Variable "max_group_size" must not contain underscores.
(#339) Variable "max_group_size" must not contain underscores.
(#339) Variable "max_group_size" must not contain underscores.
(#341) Line indented incorrectly; expected 4 spaces, found 5
(#343) Variable "group_list" must not contain underscores.
(#344) Expected "if (...) {\n"; found "if(...) {\n"
(#345) Expected "for (...) {\n"; found "for(...) {\n"
(#345) Expected 1 space before "="; 0 found
(#345) Expected 1 space after "="; 0 found
(#345) Variable "max_group_size" must not contain underscores.
(#346) Expected "if (...) {\n"; found "if(...) {\n"
(#353) Line indented incorrectly; expected 4 spaces, found 5
(#355) Inline comments must end in full-stops, exclamation marks, or question marks
(#356) Variable "QUOTE" must be all lower-case
(#357) Variable "CHARS_TO_ESCAPE" must be all lower-case
(#357) Variable "CHARS_TO_ESCAPE" must not contain underscores.
(#358) Variable "QUOTE" must be all lower-case
(#358) Variable "QUOTE" must be all lower-case
(#358) Variable "QUOTE" must be all lower-case
(#360) Variable "assigned_teacher" must not contain underscores.
(#361) Variable "group_member" must not contain underscores.
(#363) Inline comments must start with a capital letter, digit or 3-dots sequence
(#363) Line indented incorrectly; expected at least 4 spaces, found 0
(#363) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#364) Line indented incorrectly; expected at least 4 spaces, found 0
(#364) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#365) Line indented incorrectly; expected at least 4 spaces, found 0
(#365) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#366) Line indented incorrectly; expected at least 4 spaces, found 0
(#366) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#367) Line indented incorrectly; expected at least 4 spaces, found 0
(#367) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#368) Line indented incorrectly; expected at least 4 spaces, found 0
(#368) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#369) Inline comments must end in full-stops, exclamation marks, or question marks
(#369) Line indented incorrectly; expected at least 4 spaces, found 0
(#369) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#375) Variable "assigned_teacher" must not contain underscores.
(#376) Variable "assigned_teacher" must not contain underscores.
(#377) Variable "assigned_teacher" must not contain underscores.
(#378) Variable "assigned_teacher" must not contain underscores.
(#380) Space found before semicolon; expected ");" but found ") ;"
(#381) Expected "for (...) {\n"; found "for(...) {\n"
(#381) Expected 1 space before "="; 0 found
(#381) Expected 1 space after "="; 0 found
(#381) Variable "max_group_size" must not contain underscores.
(#382) This comment is 51% valid code; is this commented out code?
(#382) Inline comments must start with a capital letter, digit or 3-dots sequence
(#382) Line indented incorrectly; expected at least 8 spaces, found 0
(#382) Expected 1 space before comment text but found 6; use block comment if you need indentation
(#383) Line indented incorrectly; expected at least 8 spaces, found 0
(#383) Expected 1 space before comment text but found 6; use block comment if you need indentation
(#384) Line indented incorrectly; expected at least 8 spaces, found 0
(#384) Expected 1 space before comment text but found 6; use block comment if you need indentation
(#385) Line indented incorrectly; expected at least 8 spaces, found 0
(#385) Expected 1 space before comment text but found 6; use block comment if you need indentation
(#386) Inline comments must end in full-stops, exclamation marks, or question marks
(#386) Line indented incorrectly; expected at least 8 spaces, found 0
(#386) Expected 1 space before comment text but found 6; use block comment if you need indentation
(#388) Variable "group_member" must not contain underscores.
(#388) Expected 1 space before "+"; 0 found
(#388) Expected 1 space after "+"; 0 found
(#389) Variable "group_member" must not contain underscores.
(#389) Expected 1 space before "+"; 0 found
(#389) Expected 1 space after "+"; 0 found
(#390) Variable "group_member" must not contain underscores.
(#390) Expected 1 space before "+"; 0 found
(#390) Expected 1 space after "+"; 0 found
(#391) Variable "group_member" must not contain underscores.
(#391) Expected 1 space before "+"; 0 found
(#391) Expected 1 space after "+"; 0 found
(#392) Variable "group_member" must not contain underscores.
(#392) Expected 1 space before "+"; 0 found
(#392) Expected 1 space after "+"; 0 found
(#397) Inline comments must end in full-stops, exclamation marks, or question marks
(#400) Space found after opening bracket of FOREACH loop
(#400) Space found before closing bracket of FOREACH loop
(#400) Variable "group_list" must not contain underscores.
(#402) Variable "QUOTE" must be all lower-case
(#402) Variable "CHARS_TO_ESCAPE" must be all lower-case
(#402) Variable "CHARS_TO_ESCAPE" must not contain underscores.
(#402) Variable "QUOTE" must be all lower-case
(#403) Variable "QUOTE" must be all lower-case
(#403) Variable "CHARS_TO_ESCAPE" must be all lower-case
(#403) Variable "CHARS_TO_ESCAPE" must not contain underscores.
(#403) Variable "QUOTE" must be all lower-case
(#404) Variable "QUOTE" must be all lower-case
(#404) Variable "CHARS_TO_ESCAPE" must be all lower-case
(#404) Variable "CHARS_TO_ESCAPE" must not contain underscores.
(#404) Variable "QUOTE" must be all lower-case
(#405) Variable "QUOTE" must be all lower-case
(#405) Variable "CHARS_TO_ESCAPE" must be all lower-case
(#405) Variable "CHARS_TO_ESCAPE" must not contain underscores.
(#405) Variable "QUOTE" must be all lower-case
(#406) Variable "QUOTE" must be all lower-case
(#406) Variable "CHARS_TO_ESCAPE" must be all lower-case
(#406) Variable "CHARS_TO_ESCAPE" must not contain underscores.
(#406) Variable "QUOTE" must be all lower-case
(#407) Variable "QUOTE" must be all lower-case
(#407) Variable "CHARS_TO_ESCAPE" must be all lower-case
(#407) Variable "CHARS_TO_ESCAPE" must not contain underscores.
(#407) Variable "QUOTE" must be all lower-case
(#408) Variable "QUOTE" must be all lower-case
(#408) Variable "CHARS_TO_ESCAPE" must be all lower-case
(#408) Variable "CHARS_TO_ESCAPE" must not contain underscores.
(#408) Variable "QUOTE" must be all lower-case
(#411) Expected "for (...) {\n"; found "for(...) {\n"
(#411) Expected 1 space before "="; 0 found
(#411) Expected 1 space after "="; 0 found
(#411) Variable "max_group_size" must not contain underscores.
(#411) Expected 1 space after "+"; 0 found
(#412) Expected "if (...) {\n"; found "if(...) {\n"
(#413) Inline comments must end in full-stops, exclamation marks, or question marks
(#415) Variable "member_field" must not contain underscores.
(#416) Expected "if (...) {\n"; found "if(...) {\n"
(#420) Variable "QUOTE" must be all lower-case
(#420) Variable "member_field" must not contain underscores.
(#420) Variable "CHARS_TO_ESCAPE" must be all lower-case
(#420) Variable "CHARS_TO_ESCAPE" must not contain underscores.
(#420) Variable "QUOTE" must be all lower-case
(#426) Variable "QUOTE" must be all lower-case
(#426) Variable "QUOTE" must be all lower-case
(#430) Inline comments must end in full-stops, exclamation marks, or question marks
(#442) Inline comments must end in full-stops, exclamation marks, or question marks
(#444) Inline comments must start with a capital letter, digit or 3-dots sequence
(#444) Inline comments must end in full-stops, exclamation marks, or question marks
(#446) Inline comments must end in full-stops, exclamation marks, or question marks
(#447) Line exceeds 132 characters; contains 173 characters
(#449) Inline comments must end in full-stops, exclamation marks, or question marks
(#455) Inline comments must end in full-stops, exclamation marks, or question marks
(#456) Line exceeds maximum limit of 180 characters; contains 196 characters
(#458) Inline comments must start with a capital letter, digit or 3-dots sequence
(#458) Inline comments must end in full-stops, exclamation marks, or question marks
(#465) Inline comments must end in full-stops, exclamation marks, or question marks
(#468) Variable "already_assigned" must not contain underscores.
(#471) Variable "already_assigned" must not contain underscores.
(#477) Variable "course_context" must not contain underscores.
(#478) Variable "course_context" must not contain underscores.
(#478) Variable "ASSIGNROLE" must be all lower-case
(#482) Variable "teacher_count" must not contain underscores.
(#484) Space found after opening bracket of FOREACH loop
(#484) Space found before closing bracket of FOREACH loop
(#486) Variable "teacher_count" must not contain underscores.
(#491) Variable "new_group_teacher_relation" must not contain underscores.
(#497) Variable "new_group_teacher_relation" must not contain underscores.
(#498) Variable "new_group_teacher_relation" must not contain underscores.
(#500) Inline comments must start with a capital letter, digit or 3-dots sequence
(#500) Inline comments must end in full-stops, exclamation marks, or question marks
(#509) Variable "new_group_teacher_relation" must not contain underscores.
(#514) Line indented incorrectly; expected at least 8 spaces, found 4
(#514) Variable "teacher_count" must not contain underscores.
(#518) Inline comments must start with a capital letter, digit or 3-dots sequence
(#518) Inline comments must end in full-stops, exclamation marks, or question marks
(#530) Inline comments must end in full-stops, exclamation marks, or question marks
(#540) Inline comments must end in full-stops, exclamation marks, or question marks
(#542) Line exceeds 132 characters; contains 145 characters
(#545) Line exceeds 132 characters; contains 133 characters
(#548) Inline comments must end in full-stops, exclamation marks, or question marks
(#556) Inline comments must end in full-stops, exclamation marks, or question marks
(#558) Expected "if (...) {\n"; found "if(...) {\n"
(#559) Line indented incorrectly; expected at least 8 spaces, found 4
(#562) Line indented incorrectly; expected at least 8 spaces, found 4
(#564) Expected "} else {\n"; found "}\n else{\n"
(#567) Line indented incorrectly; expected at least 8 spaces, found 4
(#571) Inline comments must end in full-stops, exclamation marks, or question marks
(#572) Expected "if (...) {\n"; found "if (...) {\n"
(#586) Space found after opening bracket of FOREACH loop
(#586) Space found before closing bracket of FOREACH loop
(#594) Variable "assigned_relation" must not contain underscores.
(#599) Variable "assigned_teacher_ids" must not contain underscores.
(#600) Space found after opening bracket of FOREACH loop
(#600) Space found before closing bracket of FOREACH loop
(#600) Variable "assigned_relation" must not contain underscores.
(#601) Variable "assigned_teacher_ids" must not contain underscores.
(#603) Variable "assigned_teacher_ids" must not contain underscores.
(#603) Variable "assigned_teacher_ids" must not contain underscores.
(#605) Variable "assigned_teacher_ids" must not contain underscores.
(#609) Space found after opening bracket of FOREACH loop
(#609) Space found before closing bracket of FOREACH loop
(#609) Variable "assigned_teacher_ids" must not contain underscores.
(#613) Inline comments must start with a capital letter, digit or 3-dots sequence
(#613) Inline comments must end in full-stops, exclamation marks, or question marks
(#613) Line indented incorrectly; expected at least 8 spaces, found 4
(#613) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#614) Variable "assigned_teachers" must not contain underscores.
(#614) Variable "assigned_teacher_ids" must not contain underscores.
(#617) Inline comments must end in full-stops, exclamation marks, or question marks
(#618) Space found after opening bracket of FOREACH loop
(#618) Space found before closing bracket of FOREACH loop
(#625) Inline comments must end in full-stops, exclamation marks, or question marks
(#636) Inline comments must end in full-stops, exclamation marks, or question marks
(#644) Inline comments must end in full-stops, exclamation marks, or question marks
(#645) Expected "if (...) {\n"; found "if(...) {\n"
(#647) Inline comments must start with a capital letter, digit or 3-dots sequence
(#647) Inline comments must end in full-stops, exclamation marks, or question marks
(#647) This comment is 67% valid code; is this commented out code?
(#647) No space found before comment text; expected "// $group->description" but found "//$group->description"
(#654) Inline comments must end in full-stops, exclamation marks, or question marks
(#671) Inline comments must end in full-stops, exclamation marks, or question marks
(#675) Space found after opening bracket of FOREACH loop
(#675) Space found before closing bracket of FOREACH loop
(#682) Line exceeds maximum limit of 180 characters; contains 206 characters
(#685) Inline comments must end in full-stops, exclamation marks, or question marks
(#686) Expected "if (...) {\n"; found "if(...) {\n"
(#686) Variable "ASSIGNROLE" must be all lower-case
(#686) Line exceeds 132 characters; contains 153 characters
(#688) Space found after opening bracket of FOREACH loop
(#688) Space found before closing bracket of FOREACH loop
(#688) Variable "assigned_relation" must not contain underscores.
(#696) Space found after opening bracket of FOREACH loop
(#696) Space found before closing bracket of FOREACH loop
(#696) Variable "assigned_teachers" must not contain underscores.
(#706) Line exceeds maximum limit of 180 characters; contains 201 characters
(#708) Line exceeds maximum limit of 180 characters; contains 274 characters
(#711) Line indented incorrectly; expected 16 spaces, found 17
(#711) Closing brace indented incorrectly; expected 16 spaces, found 17
(#720) Inline comments must end in full-stops, exclamation marks, or question marks
(#723) Line exceeds 132 characters; contains 136 characters
(#734) Inline comments must end in full-stops, exclamation marks, or question marks
(#737) Inline comments must start with a capital letter, digit or 3-dots sequence
(#737) Inline comments must end in full-stops, exclamation marks, or question marks
(#756) Expected "if (...) {\n"; found "if(...) {\n"
(#759) Expected "} else {\n"; found "}\n else {\n"
(#778) Commas (,) must be followed by white space.
(#787) Inline comments must end in full-stops, exclamation marks, or question marks
(#788) Expected "if (...) {\n"; found "if(...) {\n"
(#789) Line indented incorrectly; expected at least 4 spaces, found 0
(#798) Closing brace must be on a line by itself

Javascript coding style problems

(259 errors, 312 warnings)

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

mod/groupselect/jquery/jeditable/jquery.jeditable.js
(#80) Missing space before value for key 'target'. (key-spacing)
(#83) Multiple spaces found before '='. (no-multi-spaces)
(#83) Unexpected empty function. (no-empty-function)
(#84) Multiple spaces found before '='. (no-multi-spaces)
(#84) Unexpected empty function. (no-empty-function)
(#85) Multiple spaces found before '='. (no-multi-spaces)
(#86) ["defaults"] is better written in dot notation. (dot-notation)
(#87) Multiple spaces found before '='. (no-multi-spaces)
(#88) ["defaults"] is better written in dot notation. (dot-notation)
(#89) Multiple spaces found before '='. (no-multi-spaces)
(#90) ["defaults"] is better written in dot notation. (dot-notation)
(#91) Multiple spaces found before '='. (no-multi-spaces)
(#92) ["defaults"] is better written in dot notation. (dot-notation)
(#93) Unexpected empty function. (no-empty-function)
(#94) Multiple spaces found before '='. (no-multi-spaces)
(#94) Multiple spaces found before '||'. (no-multi-spaces)
(#94) Unexpected empty function. (no-empty-function)
(#95) Unexpected empty function. (no-empty-function)
(#96) Multiple spaces found before '='. (no-multi-spaces)
(#96) Multiple spaces found before '||'. (no-multi-spaces)
(#96) Unexpected empty function. (no-empty-function)
(#97) Multiple spaces found before '='. (no-multi-spaces)
(#97) Multiple spaces found before '||'. (no-multi-spaces)
(#104) Multiple spaces found before '='. (no-multi-spaces)
(#107) Expected no return value. (consistent-return)
(#114) Multiple spaces found before '='. (no-multi-spaces)
(#125) Function 'anonymous' has a complexity of 23. (complexity)
(#154) Multiple spaces found before '='. (no-multi-spaces)
(#159) Multiple spaces found before ':'. (no-multi-spaces)
(#173) Multiple spaces found before '='. (no-multi-spaces)
(#174) Multiple spaces found before '='. (no-multi-spaces)
(#203) Identifier 'input_content' is not in camel case. (camelcase)
(#219) Extra space after key 'type'. (key-spacing)
(#220) Extra space after key 'url'. (key-spacing)
(#221) Extra space after key 'data'. (key-spacing)
(#222) Extra space after key 'async'. (key-spacing)
(#225) Identifier 'input_content' is not in camel case. (camelcase)
(#230) Identifier 'input_content' is not in camel case. (camelcase)
(#232) Identifier 'input_content' is not in camel case. (camelcase)
(#235) Identifier 'input_content' is not in camel case. (camelcase)
(#237) Identifier 'input_content' is not in camel case. (camelcase)
(#268) 't' is already defined. (no-redeclare)
(#270) 'e' is defined but never used. (no-unused-vars)
(#272) 't' used outside of binding context. (block-scoped-var)
(#277) 'e' is defined but never used. (no-unused-vars)
(#279) 't' used outside of binding context. (block-scoped-var)
(#284) 'e' is defined but never used. (no-unused-vars)
(#288) 'e' is defined but never used. (no-unused-vars)
(#295) 't' used outside of binding context. (block-scoped-var)
(#296) 't' used outside of binding context. (block-scoped-var)
(#333) ["_method"] is better written in dot notation. (dot-notation)
(#341) Extra space after key 'type'. (key-spacing)
(#342) Extra space after key 'data'. (key-spacing)
(#344) Extra space after key 'url'. (key-spacing)
(#345) Extra space after key 'success'. (key-spacing)
(#345) 'status' is defined but never used. (no-unused-vars)
(#355) Extra space after key 'error'. (key-spacing)
(#355) 'error' is defined but never used. (no-unused-vars)
(#382) Multiple spaces found before '='. (no-multi-spaces)
(#401) Extra space after key 'element'. (key-spacing)
(#401) 'original' is defined but never used. (no-unused-vars)
(#404) Expected space(s) after "return". (keyword-spacing)
(#406) Extra space after key 'content'. (key-spacing)
(#406) 'original' is defined but never used. (no-unused-vars)
(#409) Extra space after key 'reset'. (key-spacing)
(#412) Extra space after key 'buttons'. (key-spacing)
(#417) 'submit' used outside of binding context. (block-scoped-var)
(#418) 'submit' used outside of binding context. (block-scoped-var)
(#424) 'submit' is already defined. (no-redeclare)
(#424) 'submit' used outside of binding context. (block-scoped-var)
(#425) 'submit' used outside of binding context. (block-scoped-var)
(#427) 'submit' used outside of binding context. (block-scoped-var)
(#427) 'submit' used outside of binding context. (block-scoped-var)
(#432) 'cancel' used outside of binding context. (block-scoped-var)
(#435) 'cancel' used outside of binding context. (block-scoped-var)
(#435) 'cancel' is already defined. (no-redeclare)
(#436) 'cancel' used outside of binding context. (block-scoped-var)
(#438) 'cancel' used outside of binding context. (block-scoped-var)
(#438) 'cancel' used outside of binding context. (block-scoped-var)
(#440) 'cancel' used outside of binding context. (block-scoped-var)
(#440) 'cancel' used outside of binding context. (block-scoped-var)
(#440) 'event' is defined but never used. (no-unused-vars)
(#442) 'reset' used outside of binding context. (block-scoped-var)
(#444) 'reset' is already defined. (no-redeclare)
(#444) 'reset' used outside of binding context. (block-scoped-var)
(#444) ["defaults"] is better written in dot notation. (dot-notation)
(#446) 'reset' used outside of binding context. (block-scoped-var)
(#446) 'reset' used outside of binding context. (block-scoped-var)
(#453) Extra space after key 'element'. (key-spacing)
(#453) 'original' is defined but never used. (no-unused-vars)
(#455) Multiple spaces found before '!='. (no-multi-spaces)
(#455) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#455) Statement inside of curly braces should be on next line. (brace-style)
(#455) Multiple spaces found before '}'. (no-multi-spaces)
(#456) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#456) Statement inside of curly braces should be on next line. (brace-style)
(#458) Expected space or tab after '//' in comment. (spaced-comment)
(#459) A space is required after ','. (comma-spacing)
(#461) Expected space(s) after "return". (keyword-spacing)
(#465) Extra space after key 'element'. (key-spacing)
(#465) 'original' is defined but never used. (no-unused-vars)
(#478) Expected space(s) after "return". (keyword-spacing)
(#482) Extra space after key 'element'. (key-spacing)
(#482) 'original' is defined but never used. (no-unused-vars)
(#485) Expected space(s) after "return". (keyword-spacing)
(#487) Extra space after key 'content'. (key-spacing)
(#490) Unexpected space between function name and paren. (func-call-spacing)
(#490) eval can be harmful. (no-eval)
(#495) 'json' used outside of binding context. (block-scoped-var)
(#496) 'json' used outside of binding context. (block-scoped-var)
(#502) 'json' used outside of binding context. (block-scoped-var)
(#507) 'json' used outside of binding context. (block-scoped-var)
(#507) ["selected"] is better written in dot notation. (dot-notation)
(#531) Extra space after key 'name'. (key-spacing)
(#532) Extra space after key 'id'. (key-spacing)
(#533) Extra space after key 'type'. (key-spacing)
(#534) Extra space after key 'width'. (key-spacing)
(#535) Extra space after key 'height'. (key-spacing)
(#536) Extra space after key 'event'. (key-spacing)
(#537) Extra space after key 'onblur'. (key-spacing)
(#538) Extra space after key 'loadtype'. (key-spacing)
(#539) Extra space after key 'loadtext'. (key-spacing)
(#541) Extra space after key 'loaddata'. (key-spacing)
(#542) Extra space after key 'submitdata'. (key-spacing)
(#546) 'jQuery' is not defined. (no-undef)
mod/groupselect/lib/sorttable/sorttable.js
(#13) Expected space or tab after '/*' in comment. (spaced-comment)
(#15) 'sorttable' is not defined. (no-undef)
(#18) Expected { after 'if' condition. (curly)
(#18) Avoid arguments.callee. (no-caller)
(#20) Avoid arguments.callee. (no-caller)
(#22) Expected { after 'if' condition. (curly)
(#22) '_timer' used outside of binding context. (block-scoped-var)
(#22) '_timer' used outside of binding context. (block-scoped-var)
(#24) Expected { after 'if' condition. (curly)
(#26) 'sorttable' is not defined. (no-undef)
(#30) 'sorttable' is not defined. (no-undef)
(#40) 'the' is not defined. (no-undef)
(#41) 'the' is not defined. (no-undef)
(#42) 'the' is not defined. (no-undef)
(#42) A space is required after ','. (comma-spacing)
(#45) Expected { after 'if' condition. (curly)
(#45) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#47) Expected { after 'if' condition. (curly)
(#53) 'sortbottomrows' is not defined. (no-undef)
(#54) 'i' used outside of binding context. (block-scoped-var)
(#54) 'i' used outside of binding context. (block-scoped-var)
(#54) Infix operators must be spaced. (space-infix-ops)
(#54) 'i' used outside of binding context. (block-scoped-var)
(#54) 'i' used outside of binding context. (block-scoped-var)
(#54) Infix operators must be spaced. (space-infix-ops)
(#54) 'i' used outside of binding context. (block-scoped-var)
(#54) 'i' used outside of binding context. (block-scoped-var)
(#55) 'i' used outside of binding context. (block-scoped-var)
(#55) 'i' used outside of binding context. (block-scoped-var)
(#56) 'sortbottomrows' is not defined. (no-undef)
(#56) 'sortbottomrows' is not defined. (no-undef)
(#56) 'i' used outside of binding context. (block-scoped-var)
(#56) 'i' used outside of binding context. (block-scoped-var)
(#59) 'sortbottomrows' is not defined. (no-undef)
(#60) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#62) 'tfo' is not defined. (no-undef)
(#63) 'tfo' is not defined. (no-undef)
(#65) 'i' used outside of binding context. (block-scoped-var)
(#65) 'i' is already defined. (no-redeclare)
(#65) 'i' used outside of binding context. (block-scoped-var)
(#65) Infix operators must be spaced. (space-infix-ops)
(#65) 'i' used outside of binding context. (block-scoped-var)
(#65) 'i' used outside of binding context. (block-scoped-var)
(#65) Infix operators must be spaced. (space-infix-ops)
(#65) 'sortbottomrows' is not defined. (no-undef)
(#65) 'i' used outside of binding context. (block-scoped-var)
(#65) 'i' used outside of binding context. (block-scoped-var)
(#66) 'tfo' is not defined. (no-undef)
(#66) 'sortbottomrows' is not defined. (no-undef)
(#66) 'i' used outside of binding context. (block-scoped-var)
(#66) 'i' used outside of binding context. (block-scoped-var)
(#68) Variables should not be deleted. (no-delete-var)
(#68) 'sortbottomrows' is not defined. (no-undef)
(#72) 'headrow' is not defined. (no-undef)
(#73) 'i' used outside of binding context. (block-scoped-var)
(#73) 'i' used outside of binding context. (block-scoped-var)
(#73) 'i' is already defined. (no-redeclare)
(#73) Infix operators must be spaced. (space-infix-ops)
(#73) 'i' used outside of binding context. (block-scoped-var)
(#73) 'i' used outside of binding context. (block-scoped-var)
(#73) Infix operators must be spaced. (space-infix-ops)
(#73) 'headrow' is not defined. (no-undef)
(#73) 'i' used outside of binding context. (block-scoped-var)
(#73) 'i' used outside of binding context. (block-scoped-var)
(#75) 'headrow' is not defined. (no-undef)
(#75) 'i' used outside of binding context. (block-scoped-var)
(#75) 'i' used outside of binding context. (block-scoped-var)
(#76) 'mtch' is not defined. (no-undef)
(#76) 'headrow' is not defined. (no-undef)
(#76) 'i' used outside of binding context. (block-scoped-var)
(#76) 'i' used outside of binding context. (block-scoped-var)
(#77) 'mtch' is not defined. (no-undef)
(#77) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#77) 'override' is not defined. (no-undef)
(#77) Statement inside of curly braces should be on next line. (brace-style)
(#77) 'mtch' is not defined. (no-undef)
(#78) 'mtch' is not defined. (no-undef)
(#78) 'sorttable' is not defined. (no-undef)
(#78) Infix operators must be spaced. (space-infix-ops)
(#78) 'override' is not defined. (no-undef)
(#79) 'headrow' is not defined. (no-undef)
(#79) 'i' used outside of binding context. (block-scoped-var)
(#79) 'i' used outside of binding context. (block-scoped-var)
(#79) Identifier 'sorttable_sortfunction' is not in camel case. (camelcase)
(#79) 'sorttable' is not defined. (no-undef)
(#79) Infix operators must be spaced. (space-infix-ops)
(#79) 'override' is not defined. (no-undef)
(#81) 'headrow' is not defined. (no-undef)
(#81) 'i' used outside of binding context. (block-scoped-var)
(#81) 'i' used outside of binding context. (block-scoped-var)
(#81) Identifier 'sorttable_sortfunction' is not in camel case. (camelcase)
(#81) 'sorttable' is not defined. (no-undef)
(#81) A space is required after ','. (comma-spacing)
(#81) 'i' used outside of binding context. (block-scoped-var)
(#81) 'i' used outside of binding context. (block-scoped-var)
(#84) 'headrow' is not defined. (no-undef)
(#84) 'i' used outside of binding context. (block-scoped-var)
(#84) 'i' used outside of binding context. (block-scoped-var)
(#84) Identifier 'sorttable_columnindex' is not in camel case. (camelcase)
(#84) 'i' used outside of binding context. (block-scoped-var)
(#84) 'i' used outside of binding context. (block-scoped-var)
(#85) 'headrow' is not defined. (no-undef)
(#85) 'i' used outside of binding context. (block-scoped-var)
(#85) 'i' used outside of binding context. (block-scoped-var)
(#85) Identifier 'sorttable_tbody' is not in camel case. (camelcase)
(#86) 'headrow' is not defined. (no-undef)
(#86) 'i' used outside of binding context. (block-scoped-var)
(#86) 'i' used outside of binding context. (block-scoped-var)
(#86) A space is required after ','. (comma-spacing)
(#86) 'sorttable' is not defined. (no-undef)
(#86) Don't make functions within a loop. (no-loop-func)
(#86) 'e' is defined but never used. (no-unused-vars)
(#91) 'sorttable' is not defined. (no-undef)
(#95) 'sortrevind' is not defined. (no-undef)
(#96) 'sortrevind' is not defined. (no-undef)
(#97) 'sortrevind' is not defined. (no-undef)
(#98) 'sortrevind' is not defined. (no-undef)
(#104) 'sorttable' is not defined. (no-undef)
(#108) 'sortfwdind' is not defined. (no-undef)
(#109) 'sortfwdind' is not defined. (no-undef)
(#110) 'sortfwdind' is not defined. (no-undef)
(#111) 'sortfwdind' is not defined. (no-undef)
(#116) 'theadrow' is not defined. (no-undef)
(#117) 'theadrow' is not defined. (no-undef)
(#119) A space is required after ','. (comma-spacing)
(#120) A space is required after ','. (comma-spacing)
(#123) 'sortfwdind' is not defined. (no-undef)
(#124) 'sortfwdind' is not defined. (no-undef)
(#124) 'sortfwdind' is not defined. (no-undef)
(#124) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#124) Statement inside of curly braces should be on next line. (brace-style)
(#124) 'sortfwdind' is not defined. (no-undef)
(#125) 'sortrevind' is not defined. (no-undef)
(#126) 'sortrevind' is not defined. (no-undef)
(#126) 'sortrevind' is not defined. (no-undef)
(#126) Statement inside of curly braces should be on next line. (brace-style)
(#126) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#126) 'sortrevind' is not defined. (no-undef)
(#129) 'sortfwdind' is not defined. (no-undef)
(#130) 'sortfwdind' is not defined. (no-undef)
(#131) 'sortfwdind' is not defined. (no-undef)
(#132) 'sortfwdind' is not defined. (no-undef)
(#138) 'row_array' is not defined. (no-undef)
(#138) Identifier 'row_array' is not in camel case. (camelcase)
(#139) 'col' is not defined. (no-undef)
(#140) 'rows' is not defined. (no-undef)
(#141) 'j' used outside of binding context. (block-scoped-var)
(#141) Infix operators must be spaced. (space-infix-ops)
(#141) 'j' used outside of binding context. (block-scoped-var)
(#141) Infix operators must be spaced. (space-infix-ops)
(#141) 'rows' is not defined. (no-undef)
(#141) 'j' used outside of binding context. (block-scoped-var)
(#142) 'row_array' is not defined. (no-undef)
(#142) Identifier 'row_array' is not in camel case. (camelcase)
(#142) Identifier 'row_array' is not in camel case. (camelcase)
(#142) 'row_array' is not defined. (no-undef)
(#142) 'sorttable' is not defined. (no-undef)
(#142) 'rows' is not defined. (no-undef)
(#142) 'j' used outside of binding context. (block-scoped-var)
(#142) 'col' is not defined. (no-undef)
(#142) 'rows' is not defined. (no-undef)
(#142) 'j' used outside of binding context. (block-scoped-var)
(#145) Expected space or tab after '//' in comment. (spaced-comment)
(#147) Identifier 'row_array' is not in camel case. (camelcase)
(#147) 'row_array' is not defined. (no-undef)
(#149) 'tb' is not defined. (no-undef)
(#150) 'j' is already defined. (no-redeclare)
(#150) 'j' used outside of binding context. (block-scoped-var)
(#150) Infix operators must be spaced. (space-infix-ops)
(#150) 'j' used outside of binding context. (block-scoped-var)
(#150) Infix operators must be spaced. (space-infix-ops)
(#150) Identifier 'row_array' is not in camel case. (camelcase)
(#150) 'row_array' is not defined. (no-undef)
(#150) 'j' used outside of binding context. (block-scoped-var)
(#151) 'tb' is not defined. (no-undef)
(#151) Identifier 'row_array' is not in camel case. (camelcase)
(#151) 'row_array' is not defined. (no-undef)
(#151) 'j' used outside of binding context. (block-scoped-var)
(#154) Variables should not be deleted. (no-delete-var)
(#154) 'row_array' is not defined. (no-undef)
(#154) Identifier 'row_array' is not in camel case. (camelcase)
(#162) 'sortfn' is not defined. (no-undef)
(#162) 'sorttable' is not defined. (no-undef)
(#163) Infix operators must be spaced. (space-infix-ops)
(#163) Infix operators must be spaced. (space-infix-ops)
(#164) 'text' is not defined. (no-undef)
(#164) 'sorttable' is not defined. (no-undef)
(#165) 'text' is not defined. (no-undef)
(#166) 'text' is not defined. (no-undef)
(#167) 'sorttable' is not defined. (no-undef)
(#172) 'possdate' is not defined. (no-undef)
(#172) 'text' is not defined. (no-undef)
(#172) 'sorttable' is not defined. (no-undef)
(#172) Missing semicolon. (semi)
(#173) 'possdate' is not defined. (no-undef)
(#175) 'first' is not defined. (no-undef)
(#175) 'possdate' is not defined. (no-undef)
(#176) 'second' is not defined. (no-undef)
(#176) 'possdate' is not defined. (no-undef)
(#177) 'first' is not defined. (no-undef)
(#179) 'sorttable' is not defined. (no-undef)
(#180) 'second' is not defined. (no-undef)
(#181) 'sorttable' is not defined. (no-undef)
(#185) 'sortfn' is not defined. (no-undef)
(#185) 'sorttable' is not defined. (no-undef)
(#190) 'sortfn' is not defined. (no-undef)
(#200) Expected { after 'if' condition. (curly)
(#202) 'hasInputs' is not defined. (no-undef)
(#205) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#208) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#208) 'hasInputs' is not defined. (no-undef)
(#211) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#211) 'hasInputs' is not defined. (no-undef)
(#214) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#214) 'hasInputs' is not defined. (no-undef)
(#217) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#223) Expected a 'break' statement before 'case'. (no-fallthrough)
(#225) Unreachable code. (no-unreachable)
(#230) 'sorttable' is not defined. (no-undef)
(#233) Unreachable code. (no-unreachable)
(#242) 'newrows' is not defined. (no-undef)
(#243) 'i' used outside of binding context. (block-scoped-var)
(#243) Infix operators must be spaced. (space-infix-ops)
(#243) 'i' used outside of binding context. (block-scoped-var)
(#243) Infix operators must be spaced. (space-infix-ops)
(#243) 'i' used outside of binding context. (block-scoped-var)
(#244) 'newrows' is not defined. (no-undef)
(#244) 'newrows' is not defined. (no-undef)
(#244) 'i' used outside of binding context. (block-scoped-var)
(#246) 'i' used outside of binding context. (block-scoped-var)
(#246) 'i' is already defined. (no-redeclare)
(#246) Infix operators must be spaced. (space-infix-ops)
(#246) 'newrows' is not defined. (no-undef)
(#246) Infix operators must be spaced. (space-infix-ops)
(#246) 'i' used outside of binding context. (block-scoped-var)
(#246) Infix operators must be spaced. (space-infix-ops)
(#246) 'i' used outside of binding context. (block-scoped-var)
(#247) 'newrows' is not defined. (no-undef)
(#247) 'i' used outside of binding context. (block-scoped-var)
(#249) Variables should not be deleted. (no-delete-var)
(#249) 'newrows' is not defined. (no-undef)
(#255) Identifier 'sort_numeric' is not in camel case. (camelcase)
(#255) A space is required after ','. (comma-spacing)
(#256) 'aa' is not defined. (no-undef)
(#256) A space is required after ','. (comma-spacing)
(#257) Expected { after 'if' condition. (curly)
(#257) 'aa' is not defined. (no-undef)
(#257) 'aa' is not defined. (no-undef)
(#258) 'bb' is not defined. (no-undef)
(#258) A space is required after ','. (comma-spacing)
(#259) Expected { after 'if' condition. (curly)
(#259) 'bb' is not defined. (no-undef)
(#259) 'bb' is not defined. (no-undef)
(#260) 'aa' is not defined. (no-undef)
(#260) Infix operators must be spaced. (space-infix-ops)
(#260) 'bb' is not defined. (no-undef)
(#262) Identifier 'sort_alpha' is not in camel case. (camelcase)
(#262) A space is required after ','. (comma-spacing)
(#263) Expected { after 'if' condition. (curly)
(#263) Infix operators must be spaced. (space-infix-ops)
(#264) Expected { after 'if' condition. (curly)
(#264) Infix operators must be spaced. (space-infix-ops)
(#267) Identifier 'sort_ddmm' is not in camel case. (camelcase)
(#267) A space is required after ','. (comma-spacing)
(#268) 'mtch' is not defined. (no-undef)
(#268) 'sorttable' is not defined. (no-undef)
(#269) 'y' is not defined. (no-undef)
(#269) 'mtch' is not defined. (no-undef)
(#269) 'm' is not defined. (no-undef)
(#269) 'mtch' is not defined. (no-undef)
(#269) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#269) 'd' is not defined. (no-undef)
(#269) 'mtch' is not defined. (no-undef)
(#270) Expected { after 'if' condition. (curly)
(#270) 'm' is not defined. (no-undef)
(#270) 'm' is not defined. (no-undef)
(#270) Infix operators must be spaced. (space-infix-ops)
(#270) 'm' is not defined. (no-undef)
(#271) Expected { after 'if' condition. (curly)
(#271) 'd' is not defined. (no-undef)
(#271) 'd' is not defined. (no-undef)
(#271) Infix operators must be spaced. (space-infix-ops)
(#271) 'd' is not defined. (no-undef)
(#272) 'dt1' is not defined. (no-undef)
(#272) 'y' is not defined. (no-undef)
(#272) Infix operators must be spaced. (space-infix-ops)
(#272) 'm' is not defined. (no-undef)
(#272) Infix operators must be spaced. (space-infix-ops)
(#272) 'd' is not defined. (no-undef)
(#273) 'mtch' is not defined. (no-undef)
(#273) 'sorttable' is not defined. (no-undef)
(#274) 'y' is not defined. (no-undef)
(#274) 'mtch' is not defined. (no-undef)
(#274) 'm' is not defined. (no-undef)
(#274) 'mtch' is not defined. (no-undef)
(#274) 'd' is not defined. (no-undef)
(#274) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#274) 'mtch' is not defined. (no-undef)
(#275) Expected { after 'if' condition. (curly)
(#275) 'm' is not defined. (no-undef)
(#275) 'm' is not defined. (no-undef)
(#275) Infix operators must be spaced. (space-infix-ops)
(#275) 'm' is not defined. (no-undef)
(#276) Expected { after 'if' condition. (curly)
(#276) 'd' is not defined. (no-undef)
(#276) 'd' is not defined. (no-undef)
(#276) Infix operators must be spaced. (space-infix-ops)
(#276) 'd' is not defined. (no-undef)
(#277) 'dt2' is not defined. (no-undef)
(#277) 'y' is not defined. (no-undef)
(#277) Infix operators must be spaced. (space-infix-ops)
(#277) 'm' is not defined. (no-undef)
(#277) Infix operators must be spaced. (space-infix-ops)
(#277) 'd' is not defined. (no-undef)
(#278) Expected { after 'if' condition. (curly)
(#278) 'dt1' is not defined. (no-undef)
(#278) Infix operators must be spaced. (space-infix-ops)
(#278) 'dt2' is not defined. (no-undef)
(#279) Expected { after 'if' condition. (curly)
(#279) 'dt1' is not defined. (no-undef)
(#279) Infix operators must be spaced. (space-infix-ops)
(#279) 'dt2' is not defined. (no-undef)
(#282) Identifier 'sort_mmdd' is not in camel case. (camelcase)
(#282) A space is required after ','. (comma-spacing)
(#283) 'mtch' is not defined. (no-undef)
(#283) 'sorttable' is not defined. (no-undef)
(#284) 'y' is not defined. (no-undef)
(#284) 'mtch' is not defined. (no-undef)
(#284) 'd' is not defined. (no-undef)
(#284) 'mtch' is not defined. (no-undef)
(#284) 'm' is not defined. (no-undef)
(#284) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#284) 'mtch' is not defined. (no-undef)
(#285) Expected { after 'if' condition. (curly)
(#285) 'm' is not defined. (no-undef)
(#285) 'm' is not defined. (no-undef)
(#285) Infix operators must be spaced. (space-infix-ops)
(#285) 'm' is not defined. (no-undef)
(#286) Expected { after 'if' condition. (curly)
(#286) 'd' is not defined. (no-undef)
(#286) 'd' is not defined. (no-undef)
(#286) Infix operators must be spaced. (space-infix-ops)
(#286) 'd' is not defined. (no-undef)
(#287) 'dt1' is not defined. (no-undef)
(#287) 'y' is not defined. (no-undef)
(#287) Infix operators must be spaced. (space-infix-ops)
(#287) 'm' is not defined. (no-undef)
(#287) Infix operators must be spaced. (space-infix-ops)
(#287) 'd' is not defined. (no-undef)
(#288) 'mtch' is not defined. (no-undef)
(#288) 'sorttable' is not defined. (no-undef)
(#289) 'y' is not defined. (no-undef)
(#289) 'mtch' is not defined. (no-undef)
(#289) 'd' is not defined. (no-undef)
(#289) 'mtch' is not defined. (no-undef)
(#289) 'm' is not defined. (no-undef)
(#289) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#289) 'mtch' is not defined. (no-undef)
(#290) Expected { after 'if' condition. (curly)
(#290) 'm' is not defined. (no-undef)
(#290) 'm' is not defined. (no-undef)
(#290) Infix operators must be spaced. (space-infix-ops)
(#290) 'm' is not defined. (no-undef)
(#291) Expected { after 'if' condition. (curly)
(#291) 'd' is not defined. (no-undef)
(#291) 'd' is not defined. (no-undef)
(#291) Infix operators must be spaced. (space-infix-ops)
(#291) 'd' is not defined. (no-undef)
(#292) 'dt2' is not defined. (no-undef)
(#292) 'y' is not defined. (no-undef)
(#292) Infix operators must be spaced. (space-infix-ops)
(#292) 'm' is not defined. (no-undef)
(#292) Infix operators must be spaced. (space-infix-ops)
(#292) 'd' is not defined. (no-undef)
(#293) Expected { after 'if' condition. (curly)
(#293) 'dt1' is not defined. (no-undef)
(#293) Infix operators must be spaced. (space-infix-ops)
(#293) 'dt2' is not defined. (no-undef)
(#294) Expected { after 'if' condition. (curly)
(#294) 'dt1' is not defined. (no-undef)
(#294) Infix operators must be spaced. (space-infix-ops)
(#294) 'dt2' is not defined. (no-undef)
(#298) Identifier 'shaker_sort' is not in camel case. (camelcase)
(#298) Identifier 'comp_func' is not in camel case. (camelcase)
(#306) Expected space(s) after "while". (keyword-spacing)
(#308) Expected space(s) after "for". (keyword-spacing)
(#308) 'i' used outside of binding context. (block-scoped-var)
(#308) 'i' used outside of binding context. (block-scoped-var)
(#308) 'i' used outside of binding context. (block-scoped-var)
(#309) There should be no spaces inside this paren. (space-in-parens)
(#309) 'i' used outside of binding context. (block-scoped-var)
(#309) 'i' used outside of binding context. (block-scoped-var)
(#309) Infix operators must be spaced. (space-infix-ops)
(#309) There should be no spaces inside this paren. (space-in-parens)
(#310) 'q' used outside of binding context. (block-scoped-var)
(#310) 'i' used outside of binding context. (block-scoped-var)
(#310) 'i' used outside of binding context. (block-scoped-var)
(#310) 'i' used outside of binding context. (block-scoped-var)
(#310) Infix operators must be spaced. (space-infix-ops)
(#310) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#310) 'i' used outside of binding context. (block-scoped-var)
(#310) Infix operators must be spaced. (space-infix-ops)
(#310) 'q' used outside of binding context. (block-scoped-var)
(#316) Expected { after 'if' condition. (curly)
(#318) Expected space(s) after "for". (keyword-spacing)
(#318) 'i' is already defined. (no-redeclare)
(#318) 'i' used outside of binding context. (block-scoped-var)
(#318) 'i' used outside of binding context. (block-scoped-var)
(#318) 'i' used outside of binding context. (block-scoped-var)
(#319) There should be no spaces inside this paren. (space-in-parens)
(#319) 'i' used outside of binding context. (block-scoped-var)
(#319) 'i' used outside of binding context. (block-scoped-var)
(#319) Infix operators must be spaced. (space-infix-ops)
(#319) There should be no spaces inside this paren. (space-in-parens)
(#320) 'q' used outside of binding context. (block-scoped-var)
(#320) 'q' is already defined. (no-redeclare)
(#320) 'i' used outside of binding context. (block-scoped-var)
(#320) 'i' used outside of binding context. (block-scoped-var)
(#320) 'i' used outside of binding context. (block-scoped-var)
(#320) Infix operators must be spaced. (space-infix-ops)
(#320) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#320) 'i' used outside of binding context. (block-scoped-var)
(#320) Infix operators must be spaced. (space-infix-ops)
(#320) 'q' used outside of binding context. (block-scoped-var)
(#328) Missing semicolon. (semi)
(#338) 'sorttable' is not defined. (no-undef)
(#342) Expected space or tab after '/*' in comment. (spaced-comment)
(#343) Expected space or tab after '/*' in comment. (spaced-comment)
(#357) 'sorttable' is not defined. (no-undef)
(#363) 'sorttable' is not defined. (no-undef)
(#370) Missing JSDoc comment. (require-jsdoc)
(#370) Identifier 'dean_addEvent' is not in camel case. (camelcase)
(#375) Expected { after 'if' condition. (curly)
(#375) Identifier 'dean_addEvent' is not in camel case. (camelcase)
(#377) Expected { after 'if' condition. (curly)
(#392) Unnecessary semicolon. (no-extra-semi)
(#394) Identifier 'dean_addEvent' is not in camel case. (camelcase)
(#396) Missing JSDoc comment. (require-jsdoc)
(#396) 'removeEvent' is defined but never used. (no-unused-vars)
(#405) Unnecessary semicolon. (no-extra-semi)
(#407) Missing JSDoc comment. (require-jsdoc)
(#421) Unnecessary semicolon. (no-extra-semi)
(#423) Missing JSDoc comment. (require-jsdoc)
(#428) Unnecessary semicolon. (no-extra-semi)
(#434) Missing semicolon. (semi)
(#453) Function prototype is read only, properties should not be added. (no-extend-native)

CSS problems

(15 errors, 4 warnings)

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

mod/groupselect/styles.css
(#39) Expected single space before "{" (block-opening-brace-space-before)
(#62) Expected single space before "{" (block-opening-brace-space-before)
(#8) Expected "#AAAAAA" to be "#aaaaaa" (color-hex-case)
(#12) Expected "#AAAAAA" to be "#aaaaaa" (color-hex-case)
(#8) Expected "#AAAAAA" to be "#AAA" (color-hex-length)
(#12) Expected "#AAAAAA" to be "#AAA" (color-hex-length)
(#26) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#8) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#12) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#22) Unexpected !important (declaration-no-important)
(#4) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#20) Expected newline after "," (selector-list-comma-newline-after)
(#20) Expected newline after "," (selector-list-comma-newline-after)
(#50) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(85 errors, 5 warnings)

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

mod/groupselect/backup/moodle1/lib.php
(#28) Class moodle1_mod_groupselect_handler does not have @copyright tag
(#28) Class moodle1_mod_groupselect_handler does not have @license tag
(#20) Package mod is not valid
mod/groupselect/backup/moodle2/backup_groupselect_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class backup_groupselect_activity_task
(#49) Phpdocs for function backup_groupselect_activity_task::encode_content_links has incomplete parameters list
(#28) Class backup_groupselect_activity_task does not have @copyright tag
(#28) Class backup_groupselect_activity_task does not have @license tag
(#18) Package mod is not valid
mod/groupselect/backup/moodle2/backup_groupselect_stepslib.php
(#33) Function backup_groupselect_activity_structure_step::define_structure is not documented
(#28) Class backup_groupselect_activity_structure_step does not have @copyright tag
(#28) Class backup_groupselect_activity_structure_step does not have @license tag
(#20) Package mod is not valid
mod/groupselect/backup/moodle2/restore_groupselect_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class restore_groupselect_activity_task
(#28) Class restore_groupselect_activity_task does not have @copyright tag
(#28) Class restore_groupselect_activity_task does not have @license tag
(#18) Package mod is not valid
mod/groupselect/backup/moodle2/restore_groupselect_stepslib.php
(#31) Function restore_groupselect_activity_structure_step::define_structure is not documented
(#46) Function restore_groupselect_activity_structure_step::process_groupselect is not documented
(#71) Function restore_groupselect_activity_structure_step::process_groupselect_groups_teachers is not documented
(#88) Function restore_groupselect_activity_structure_step::process_groupselect_passwords is not documented
(#105) Function restore_groupselect_activity_structure_step::after_execute is not documented
(#26) Class restore_groupselect_activity_structure_step does not have @copyright tag
(#26) Class restore_groupselect_activity_structure_step does not have @license tag
(#20) Package mod is not valid
mod/groupselect/classes/event/course_module_instance_list_viewed.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#5) Class course_module_instance_list_viewed is not documented
(#5) Package is not specified for class course_module_instance_list_viewed. It is also not specified in file-level phpdocs
mod/groupselect/classes/event/course_module_viewed.php
(#2) Empty line found after PHP open tag
(#27) File-level phpdocs block is not found
(#30) Class course_module_viewed is not documented
(#32) Function course_module_viewed::init is not documented
(#20) Invalid inline phpdocs tag @package found
(#21) Invalid inline phpdocs tag @subpackage found
(#22) Invalid inline phpdocs tag @copyright found
(#23) Invalid inline phpdocs tag @license found
(#30) Package is not specified for class course_module_viewed. It is also not specified in file-level phpdocs
mod/groupselect/classes/event/export_link_created.php
(#36) Function export_link_created::init is not documented
(#41) Function export_link_created::get_name is not documented
(#45) Function export_link_created::get_description is not documented
(#50) Function export_link_created::get_url is not documented
(#20) Package mod is not valid
mod/groupselect/classes/event/group_teacher_added.php
(#41) Function group_teacher_added::init is not documented
(#47) Function group_teacher_added::get_name is not documented
(#51) Function group_teacher_added::get_description is not documented
(#56) Function group_teacher_added::get_url is not documented
(#61) Function group_teacher_added::get_objectid_mapping is not documented
(#65) Function group_teacher_added::get_other_mapping is not documented
(#20) Package mod is not valid
mod/groupselect/create_form.php
(#30) Class create_form is not documented
(#36) Function create_form::definition is not documented
(#75) Function create_form::validation is not documented
(#32) Constant create_form::DESCRIPTION_MAXLEN is not documented
(#33) Constant create_form::PASSWORD_MAXLEN is not documented
(#34) Constant create_form::GROUP_NAME_MAXLEN is not documented
(#20) Package mod is not valid
mod/groupselect/db/access.php
(#20) Package mod is not valid
mod/groupselect/db/log.php
(#20) Package mod is not valid
mod/groupselect/db/upgrade.php
(#29) Function xmldb_groupselect_upgrade is not documented
(#20) Package mod is not valid
mod/groupselect/index.php
(#20) Package mod is not valid
mod/groupselect/jquery/plugins.php
(#2) File-level phpdocs block is not found
mod/groupselect/lang/de/groupselect.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/groupselect/lang/en/groupselect.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/groupselect/lang/fi/groupselect.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/groupselect/lib.php
(#235) Phpdocs for function groupselect_reset_userdata has incomplete parameters list
(#246) Phpdocs for function groupselect_pluginfile has incomplete parameters list
(#20) Package mod is not valid
mod/groupselect/locallib.php
(#33) Function groupselect_get_group_info is not documented
(#61) Phpdocs for function groupselect_group_member_counts has incomplete parameters list
(#93) Phpdocs for function groupselect_get_password_protected_groups has incomplete parameters list
(#112) Phpdocs for function groupselect_get_context_members_by_role has incomplete parameters list
(#20) Package mod is not valid
mod/groupselect/mod_form.php
(#32) Class mod_groupselect_mod_form is not documented
(#34) Function mod_groupselect_mod_form::definition is not documented
(#142) Function mod_groupselect_mod_form::validation is not documented
(#20) Package mod is not valid
mod/groupselect/select_form.php
(#30) Class select_form is not documented
(#34) Function select_form::definition is not documented
(#62) Function select_form::validation is not documented
(#31) Variable select_form::$groupselect is not documented
(#20) Package mod is not valid
mod/groupselect/settings.php
(#20) Package mod is not valid
mod/groupselect/version.php
(#20) Package mod is not valid
mod/groupselect/view.php
(#20) Package mod is not valid

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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