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

(480 errors, 143 warnings)

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

local/autogroup/classes/domain.php
(#58) Opening brace should be on the same line as the declaration
(#59) Expected "if (...) {\n"; found "if(...) {\n"
(#63) Expected "if (...) {\n"; found "if(...){\n"
(#66) Expected "} else {\n"; found "}\n else {\n"
(#76) Commas (,) must be followed by white space.
(#77) Opening brace should be on the same line as the declaration
(#78) Expected "if (...) {\n"; found "if(...) {\n"
(#82) Expected "if (...) {\n"; found "if(...){\n"
(#85) Expected "} else {\n"; found "}\n else {\n"
(#89) Inline comments must start with a capital letter, digit or 3-dots sequence
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) No space found before comment text; expected "// timemodified will always reflect the last change" but found "//timemodified will always reflect the last change"
(#97) Expected 1 space before opening brace; found 0
(#105) Opening brace should be on the same line as the declaration
(#106) Expected "if (...) {\n"; found "if(...){\n"
(#145) File must end with a newline character
local/autogroup/classes/domain/autogroup_set.php
(#47) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#54) Opening brace should be on the same line as the declaration for class autogroup_set
(#62) Opening brace should be on the same line as the declaration
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) No space found before comment text; expected "// set the sortconfig as empty" but found "//set the sortconfig as empty"
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) No space found before comment text; expected "// get the id for this course" but found "//get the id for this course"
(#67) Expected "if (...) {\n"; found "if(...){\n"
(#73) Expected "if (...) {\n"; found "if(...) {\n"
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) No space found before comment text; expected "// load autogroup groups for this autogroup set" but found "//load autogroup groups for this autogroup set"
(#86) Opening brace should be on the same line as the declaration
(#95) Opening brace should be on the same line as the declaration
(#96) Expected "if (...) {\n"; found "if(...){\n"
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// this has to be done first to prevent event handler getting in the way" but found "//this has to be done first to prevent event handler getting in the way"
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#102) Expected 1 space before "=>"; 0 found
(#102) Expected 1 space after "=>"; 0 found
(#103) Expected 1 space before "=>"; 0 found
(#103) Expected 1 space after "=>"; 0 found
(#105) Expected "if (...) {\n"; found "if(...){\n"
(#106) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#111) Expected "} else {\n"; found "}\n else {\n"
(#122) Opening brace should be on the same line as the declaration
(#123) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#134) Opening brace should be on the same line as the declaration
(#136) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#150) Opening brace should be on the same line as the declaration
(#155) Inline comments must start with a capital letter, digit or 3-dots sequence
(#155) No space found before comment text; expected "// detect changes and report back true or false." but found "//detect changes and report back true or false."
(#156) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#157) Expected "if (...) {\n"; found "if (...){\n"
(#158) Inline comments must start with a capital letter, digit or 3-dots sequence
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) No space found before comment text; expected "// this will remain unchanged" but found "//this will remain unchanged"
(#161) Expected "} else {\n"; found "}\n else {\n"
(#166) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) No space found before comment text; expected "// will return true if a role has been removed" but found "//will return true if a role has been removed"
(#178) Opening brace should be on the same line as the declaration
(#186) Opening brace should be on the same line as the declaration
(#194) Opening brace should be on the same line as the declaration
(#196) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#209) Opening brace should be on the same line as the declaration
(#219) Opening brace should be on the same line as the declaration
(#224) Expected "if (...) {\n"; found "if(...){\n"
(#227) Expected "} else {\n"; found "}\n else{\n"
(#233) Inline comments must start with a capital letter, digit or 3-dots sequence
(#233) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) No space found before comment text; expected "// if the user wants to preserve old groups we will need to detatch them now" but found "//if the user wants to preserve old groups we will need to detatch them now"
(#234) Expected "if (...) {\n"; found "if(...){\n"
(#243) Opening brace should be on the same line as the declaration
(#244) Expected "if (...) {\n"; found "if(...){\n"
(#255) Opening brace should be on the same line as the declaration
(#256) Expected "if (...) {\n"; found "if(...){\n"
(#259) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#272) Expected 1 space before opening brace; found 0
(#273) Expected "if (...) {\n"; found "if(...){\n"
(#276) Inline comments must start with a capital letter, digit or 3-dots sequence
(#276) Inline comments must end in full-stops, exclamation marks, or question marks
(#276) No space found before comment text; expected "// reinit since the old sortmodule may be out of date" but found "//reinit since the old sortmodule may be out of date"
(#288) Opening brace should be on the same line as the declaration
(#291) Inline comments must start with a capital letter, digit or 3-dots sequence
(#291) Inline comments must end in full-stops, exclamation marks, or question marks
(#291) No space found before comment text; expected "// we only want to check with the sorting module if this user has the correct role assignment" but found "//we only want to check with the sorting module if this user has the correct role assignment"
(#292) Expected "if (...) {\n"; found "if(...) {\n"
(#293) Inline comments must start with a capital letter, digit or 3-dots sequence
(#293) Inline comments must end in full-stops, exclamation marks, or question marks
(#293) No space found before comment text; expected "// an array of strings from the sort module" but found "//an array of strings from the sort module"
(#297) Inline comments must start with a capital letter, digit or 3-dots sequence
(#297) Inline comments must end in full-stops, exclamation marks, or question marks
(#297) No space found before comment text; expected "// an array of groupids which will be populated as we ensure membership" but found "//an array of groupids which will be populated as we ensure membership"
(#299) Variable "new_group" must not contain underscores.
(#301) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#302) Variable "group_created" must not contain underscores.
(#303) Expected "if (...) {\n"; found "if(...) {\n"
(#306) Expected "if (...) {\n"; found "if (...){\n"
(#307) Expected "if (...) {\n"; found "if (...){\n"
(#307) Variable "new_group" must not contain underscores.
(#307) Variable "group_created" must not contain underscores.
(#308) Variable "new_group" must not contain underscores.
(#314) Inline comments must start with a capital letter, digit or 3-dots sequence
(#314) Inline comments must end in full-stops, exclamation marks, or question marks
(#314) No space found before comment text; expected "// now run through other groups and ensure user is not a member" but found "//now run through other groups and ensure user is not a member"
(#315) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#316) Expected "if (...) {\n"; found "if(...){\n"
(#316) Commas (,) must be followed by white space.
(#317) Expected "if (...) {\n"; found "if(...){\n"
(#317) Variable "new_group" must not contain underscores.
(#318) Variable "new_group" must not contain underscores.
(#330) Opening brace should be on the same line as the declaration
(#332) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#336) Inline comments must start with a capital letter, digit or 3-dots sequence
(#337) Inline comments must end in full-stops, exclamation marks, or question marks
(#347) Opening brace should be on the same line as the declaration
(#357) Commas (,) must be followed by white space.
(#359) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#360) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch (...){\n"
(#374) Opening brace should be on the same line as the declaration
(#375) Expected "if (...) {\n"; found "if(...){\n"
(#379) Expected "} else {\n"; found "}\n else {\n"
(#386) Inline comments must start with a capital letter, digit or 3-dots sequence
(#386) Inline comments must end in full-stops, exclamation marks, or question marks
(#386) No space found before comment text; expected "// firstly run through existing groups and check for matches" but found "//firstly run through existing groups and check for matches"
(#387) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#388) Expected "if (...) {\n"; found "if(...){\n"
(#390) Expected "if (...) {\n"; found "if(...){\n"
(#399) Inline comments must start with a capital letter, digit or 3-dots sequence
(#399) No space found before comment text; expected "// if we don't find a match, create a new group." but found "//if we don't find a match, create a new group."
(#411) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch (...){\n"
(#427) Opening brace should be on the same line as the declaration
(#428) Inline comments must start with a capital letter, digit or 3-dots sequence
(#428) Inline comments must end in full-stops, exclamation marks, or question marks
(#428) No space found before comment text; expected "// generate the idnumber for this group" but found "//generate the idnumber for this group"
(#442) Expected 1 space before opening brace; found 0
(#450) Opening brace should be on the same line as the declaration
(#455) Expected "if (...) {\n"; found "if(...) {\n"
(#457) Expected "if (...) {\n"; found "if (...){\n"
(#463) Expected "if (...) {\n"; found "if(...) {\n"
(#465) Expected "if (...) {\n"; found "if(...) {\n"
(#470) Expected "if (...) {\n"; found "if(...){\n"
(#473) Expected "if (...) {\n"; found "if(...){\n"
(#483) Opening brace should be on the same line as the declaration
(#484) Expected 1 space before "=>"; 0 found
(#484) Expected 1 space after "=>"; 0 found
(#486) Expected "if (...) {\n"; found "if (...){\n"
(#497) Opening brace should be on the same line as the declaration
(#524) Opening brace should be on the same line as the declaration
(#525) Expected "if (...) {\n"; found "if(...){\n"
(#531) Expected 1 space before "=>"; 0 found
(#531) Expected 1 space after "=>"; 0 found
(#537) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#538) Expected "if (...) {\n"; found "if (...){\n"
(#539) Inline comments must start with a capital letter, digit or 3-dots sequence
(#539) Inline comments must end in full-stops, exclamation marks, or question marks
(#539) No space found before comment text; expected "// we don't want to remove this from the db" but found "//we don't want to remove this from the db"
(#542) Expected "} else {\n"; found "}\n else {\n"
(#543) Inline comments must start with a capital letter, digit or 3-dots sequence
(#543) Inline comments must end in full-stops, exclamation marks, or question marks
(#543) No space found before comment text; expected "// we want to add this to the db" but found "//we want to add this to the db"
(#554) Inline comments must start with a capital letter, digit or 3-dots sequence
(#554) Inline comments must end in full-stops, exclamation marks, or question marks
(#554) No space found before comment text; expected "// if there are changes to make do them and return true" but found "//if there are changes to make do them and return true"
(#558) Inline comments must start with a capital letter, digit or 3-dots sequence
(#558) Inline comments must end in full-stops, exclamation marks, or question marks
(#558) No space found before comment text; expected "// if there are changes to make do them and return true" but found "//if there are changes to make do them and return true"
(#568) Expected "if (...) {\n"; found "if(...){\n"
(#573) Expected "if (...) {\n"; found "if(...){\n"
(#590) Opening brace should be on the same line as the declaration
(#591) Commas (,) must be followed by white space.
(#593) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#594) Expected "if (...) {\n"; found "if(...){\n"
(#606) Opening brace should be on the same line as the declaration
(#621) Variable "user_id" must not contain underscores.
(#621) Variable "old_group_id" must not contain underscores.
(#621) Variable "new_group_id" must not contain underscores.
(#621) Expected 1 space before opening brace; found 0
(#622) Variable "user_id" must not contain underscores.
(#622) Variable "old_group_id" must not contain underscores.
(#623) Variable "new_group_id" must not contain underscores.
(#633) Commas (,) must be followed by white space.
(#633) Commas (,) must be followed by white space.
(#633) Commas (,) must be followed by white space.
(#633) Commas (,) must be followed by white space.
local/autogroup/classes/domain/course.php
(#49) Opening brace should be on the same line as the declaration for class course
(#56) Opening brace should be on the same line as the declaration
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) No space found before comment text; expected "// get the id for this course" but found "//get the id for this course"
(#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
(#62) No space found before comment text; expected "// load autogroup groups for this course" but found "//load autogroup groups for this course"
(#69) Expected 1 space before opening brace; found 0
(#71) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#82) Opening brace should be on the same line as the declaration
(#85) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#97) Opening brace should be on the same line as the declaration
(#99) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#111) Opening brace should be on the same line as the declaration
(#112) Expected "if (...) {\n"; found "if(...){\n"
(#117) Expected "if (...) {\n"; found "if(...){\n"
(#128) Expected 1 space before opening brace; found 0
(#132) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#133) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch (...){\n"
local/autogroup/classes/domain/group.php
(#37) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#51) Opening brace should be on the same line as the declaration for class group
(#58) Opening brace should be on the same line as the declaration
(#59) Expected "if (...) {\n"; found "if(...){\n"
(#60) Commas (,) must be followed by white space.
(#63) Expected "} else if (...) {\n"; found "}\n\n else if(...){\n"
(#63) Expected "if (...) {\n"; found "if(...){\n"
(#67) Expected "} else {\n"; found "}\n\n else {\n"
(#79) Expected 1 space before opening brace; found 0
(#80) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) No space found before comment text; expected "// user was not found as a member so will now make member a user" but found "//user was not found as a member so will now make member a user"
(#96) Expected 1 space before opening brace; found 0
(#100) Expected "if (...) {\n"; found "if(...) {\n"
(#102) Expected "if (...) {\n"; found "if(...) {\n"
(#107) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#119) Expected 1 space before opening brace; found 0
(#129) Expected 1 space before opening brace; found 0
(#130) Expected "if (...) {\n"; found "if(...){\n"
(#139) Expected 1 space before opening brace; found 0
(#140) Expected "if (...) {\n"; found "if(...) {\n"
(#145) Expected "if (...) {\n"; found "if(...) {\n"
(#150) Expected "if (...) {\n"; found "if(...) {\n"
(#154) Expected 1 space before "=>"; 0 found
(#154) Expected 1 space after "=>"; 0 found
(#154) Expected 1 space before "=>"; 0 found
(#154) Expected 1 space after "=>"; 0 found
(#161) Expected 1 space before opening brace; found 0
(#162) Expected "if (...) {\n"; found "if(...) {\n"
(#165) Expected "} else {\n"; found "}\n else{\n"
(#171) Expected "if (...) {\n"; found "if(...){\n"
(#180) Expected 1 space before opening brace; found 0
(#181) Expected 1 space after "="; 2 found
(#181) Commas (,) must be followed by white space.
(#181) Commas (,) must be followed by white space.
(#187) Expected 1 space before opening brace; found 0
(#188) Commas (,) must be followed by white space.
(#196) Opening brace should be on the same line as the declaration
(#197) Commas (,) must be followed by white space.
(#197) Expected 1 space before "=>"; 0 found
(#197) Expected 1 space after "=>"; 0 found
(#198) Expected "if (...) {\n"; found "if(...) {\n"
(#206) Expected 1 space before opening brace; found 0
(#207) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#215) Expected 1 space before opening brace; found 0
(#217) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#229) Opening brace should be on the same line as the declaration
(#230) Expected "if (...) {\n"; found "if(...){\n"
(#233) Expected "if (...) {\n"; found "if(...){\n"
(#236) Expected "if (...) {\n"; found "if(...){\n"
(#242) Commas (,) must be followed by white space.
(#252) Commas (,) must be followed by white space.
(#252) Commas (,) must be followed by white space.
(#252) Commas (,) must be followed by white space.
(#253) Commas (,) must be followed by white space.
(#253) Commas (,) must be followed by white space.
(#253) Commas (,) must be followed by white space.
(#293) Whitespace found at end of line
local/autogroup/classes/domain/user.php
(#51) Opening brace should be on the same line as the declaration for class user
(#59) Opening brace should be on the same line as the declaration
(#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
(#60) No space found before comment text; expected "// get the data for this user" but found "//get the data for this user"
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) No space found before comment text; expected "// register which autogroup groups this user is a member of currently" but found "//register which autogroup groups this user is a member of currently"
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) No space found before comment text; expected "// if applicable, load courses this user is on and their autogroup groups" but found "//if applicable, load courses this user is on and their autogroup groups"
(#77) Opening brace should be on the same line as the declaration
(#79) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#94) Opening brace should be on the same line as the declaration
(#95) Expected "if (...) {\n"; found "if(...) {\n"
(#109) Expected "} else {\n"; found "}\n\n else {\n"
(#113) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#114) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch (...){\n"
(#127) Opening brace should be on the same line as the declaration
(#139) Commas (,) must be followed by white space.
(#148) Opening brace should be on the same line as the declaration
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) No space found before comment text; expected "// TODO: restructure to allow usage of custom profile fields" but found "//TODO: restructure to allow usage of custom profile fields"
(#151) Expected "if (...) {\n"; found "if(...){\n"
(#153) Commas (,) must be followed by white space.
(#153) Expected 1 space before "=>"; 0 found
(#153) Expected 1 space after "=>"; 0 found
(#157) Expected "if (...) {\n"; found "if(...){\n"
(#180) File must end with a newline character
local/autogroup/classes/event_handler.php
(#48) Opening brace should be on the same line as the declaration for class event_handler
(#55) Expected "if (...) {\n"; found "if(...){\n"
(#75) Expected "if (...) {\n"; found "if(...){\n"
(#86) Expected "if (...) {\n"; found "if(...) {\n"
(#91) Expected "if (...) {\n"; found "if(...){\n"
(#109) Expected "if (...) {\n"; found "if(...){\n"
(#120) Expected "if (...) {\n"; found "if(...) {\n"
(#128) Expected "if (...) {\n"; found "if(...) {\n"
(#132) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#145) Expected "if (...) {\n"; found "if(...){\n"
(#164) Expected "if (...) {\n"; found "if(...){\n"
(#169) Expected "if (...) {\n"; found "if(...){\n"
(#188) Expected "if (...) {\n"; found "if(...){\n"
(#203) Expected "if (...) {\n"; found "if(...){\n"
(#207) Expected "if (...) {\n"; found "if(...) {\n"
(#207) Expected 1 space before "=>"; 0 found
(#207) Expected 1 space after "=>"; 0 found
(#222) Expected "if (...) {\n"; found "if(...){\n"
(#253) Expected "if (...) {\n"; found "if(...){\n"
(#270) Expected "if (...) {\n"; found "if(...){\n"
(#287) Expected "if (...) {\n"; found "if(...){\n"
(#294) Whitespace found at end of line
(#308) Expected "if (...) {\n"; found "if(...) {\n"
(#313) Commas (,) must be followed by white space.
local/autogroup/classes/exception.php
(#56) File must end with a newline character
local/autogroup/classes/exception/invalid_argument.php
(#36) File must end with a newline character
local/autogroup/classes/exception/invalid_autogroup_set_argument.php
(#38) File must end with a newline character
local/autogroup/classes/exception/invalid_course_argument.php
(#38) File must end with a newline character
local/autogroup/classes/exception/invalid_group_argument.php
(#38) File must end with a newline character
local/autogroup/classes/exception/invalid_user_argument.php
(#38) File must end with a newline character
local/autogroup/classes/form.php
(#35) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#48) Opening brace should be on the same line as the declaration for class form
(#49) File must end with a newline character
local/autogroup/classes/form/autogroup_set_delete.php
(#66) Possible useless method overriding detected
(#73) Possible useless method overriding detected
(#77) Expected 1 space before opening brace; found 0
(#83) Commas (,) must be followed by white space.
(#85) Expected "if (...) {\n"; found "if(...) {\n"
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) No space found before comment text; expected "// offer to preserve existing groups" but found "//offer to preserve existing groups"
(#87) Commas (,) must be followed by white space.
(#97) File must end with a newline character
local/autogroup/classes/form/autogroup_set_settings.php
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) This comment is 84% valid code; is this commented out code?
(#69) Possible useless method overriding detected
(#76) Possible useless method overriding detected
(#83) Expected 1 space before opening brace; found 0
(#88) Commas (,) must be followed by white space.
(#91) Expected "if (...) {\n"; found "if(...) {\n"
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) No space found before comment text; expected "// offer to preserve existing groups" but found "//offer to preserve existing groups"
(#93) Commas (,) must be followed by white space.
(#101) Expected 1 space before opening brace; found 0
(#113) Expected "if (...) {\n"; found "if(...){\n"
(#124) File must end with a newline character
local/autogroup/classes/sort_module.php
(#51) The abstract declaration must precede the visibility declaration
(#65) The abstract declaration must precede the visibility declaration
(#73) The abstract declaration must precede the visibility declaration
(#80) Opening brace should be on the same line as the declaration
(#81) Expected "if (...) {\n"; found "if(...){\n"
(#92) Commas (,) must be followed by white space.
(#93) Opening brace should be on the same line as the declaration
(#102) The abstract declaration must precede the visibility declaration
(#119) File must end with a newline character
local/autogroup/classes/sort_module/primary_position.php
(#37) Expected "if (...) {\n"; found "if(...) {\n"
(#44) Opening brace should be on the same line as the declaration for class primary_position
(#50) Opening brace should be on the same line as the declaration
(#62) Opening brace should be on the same line as the declaration
(#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
(#80) Opening brace should be on the same line as the declaration
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) This comment is 50% valid code; is this commented out code?
(#114) Opening brace should be on the same line as the declaration
(#127) Opening brace should be on the same line as the declaration
(#139) Opening brace should be on the same line as the declaration
(#149) Opening brace should be on the same line as the declaration
(#150) Inline comments must start with a capital letter, digit or 3-dots sequence
(#150) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Opening brace should be on the same line as the declaration
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#173) File must end with a newline character
local/autogroup/classes/sort_module/profile_field.php
(#42) Opening brace should be on the same line as the declaration for class profile_field
(#48) Opening brace should be on the same line as the declaration
(#49) Expected "if (...) {\n"; found "if(...){\n"
(#60) Opening brace should be on the same line as the declaration
(#61) Expected "if (...) {\n"; found "if(...){\n"
(#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
(#65) No space found before comment text; expected "// ensure that the stored option is valid" but found "//ensure that the stored option is valid"
(#66) Expected "if (...) {\n"; found "if(...){\n"
(#78) Opening brace should be on the same line as the declaration
(#80) Expected "if (...) {\n"; found "if (...){\n"
(#83) Expected "} else {\n"; found "}\n else {\n"
(#94) Expected 1 space before opening brace; found 0
(#108) Expected 1 space before opening brace; found 0
(#109) Expected "if (...) {\n"; found "if(...){\n"
(#120) File must end with a newline character
local/autogroup/classes/sort_module/user_info_field.php
(#42) Opening brace should be on the same line as the declaration for class user_info_field
(#48) Opening brace should be on the same line as the declaration
(#49) Expected "if (...) {\n"; found "if(...){\n"
(#60) Opening brace should be on the same line as the declaration
(#61) Expected "if (...) {\n"; found "if(...){\n"
(#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
(#65) No space found before comment text; expected "// ensure that the stored option is valid" but found "//ensure that the stored option is valid"
(#66) Expected "if (...) {\n"; found "if(...){\n"
(#78) Opening brace should be on the same line as the declaration
(#83) Expected "if (...) {\n"; found "if (...){\n"
(#86) Expected "} else {\n"; found "}\n else {\n"
(#97) Expected 1 space before opening brace; found 0
(#112) Expected 1 space before opening brace; found 0
(#114) Expected "if (...) {\n"; found "if(...){\n"
local/autogroup/classes/usecase.php
(#54) The abstract declaration must precede the visibility declaration
(#54) method name "usecase::__invoke" is invalid; only PHP magic methods should be prefixed with a double underscore
(#68) Expected 1 space before opening brace; found 0
(#77) Expected 1 space before opening brace; found 0
(#80) File must end with a newline character
local/autogroup/classes/usecase/add_default_to_course.php
(#38) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#45) Opening brace should be on the same line as the declaration for class add_default_to_course
(#51) Opening brace should be on the same line as the declaration
(#59) Expected "if (...) {\n"; found "if(...){\n"
(#59) Expected 1 space before "=>"; 0 found
(#59) Expected 1 space after "=>"; 0 found
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) No space found before comment text; expected "// this shouldn't happen, but we want to ensure we avoid duplicates." but found "//this shouldn't happen, but we want to ensure we avoid duplicates."
(#68) method name "add_default_to_course::__invoke" is invalid; only PHP magic methods should be prefixed with a double underscore
(#69) Opening brace should be on the same line as the declaration
(#70) Expected "if (...) {\n"; found "if(...){\n"
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Variable "autogroup_set" must not contain underscores.
(#74) Variable "autogroup_set" must not contain underscores.
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Expected "if (...) {\n"; found "if(...){\n"
(#80) Variable "autogroup_set" must not contain underscores.
(#83) Variable "autogroup_set" must not contain underscores.
(#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
(#89) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#92) Expected "if (...) {\n"; found "if (...){\n"
(#100) Variable "autogroup_set" must not contain underscores.
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Variable "autogroup_set" must not contain underscores.
(#130) File must end with a newline character
local/autogroup/classes/usecase/verify_course_group_membership.php
(#36) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#43) Opening brace should be on the same line as the declaration for class verify_course_group_membership
(#50) Opening brace should be on the same line as the declaration
(#58) method name "verify_course_group_membership::__invoke" is invalid; only PHP magic methods should be prefixed with a double underscore
(#59) Opening brace should be on the same line as the declaration
(#60) Expected "if (...) {\n"; found "if(...){\n"
(#77) File must end with a newline character
local/autogroup/classes/usecase/verify_group_idnumber.php
(#36) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#43) Opening brace should be on the same line as the declaration for class verify_group_idnumber
(#49) Opening brace should be on the same line as the declaration
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) No space found before comment text; expected "// if we are viewing the group members we should redirect to safety" but found "//if we are viewing the group members we should redirect to safety"
(#54) Expected "if (...) {\n"; found "if(...) {\n"
(#62) method name "verify_group_idnumber::__invoke" is invalid; only PHP magic methods should be prefixed with a double underscore
(#63) Opening brace should be on the same line as the declaration
(#65) Expected "if (...) {\n"; found "if(...){\n"
(#70) Expected "if (...) {\n"; found "if(...){\n"
(#70) Commas (,) must be followed by white space.
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Expected "if (...) {\n"; found "if(...) {\n"
(#74) Expected "if (...) {\n"; found "if(...){\n"
(#77) Expected "} else {\n"; found "}\n else {\n"
(#78) Expected 1 space after "="; 2 found
(#84) Expected "if (...) {\n"; found "if(...){\n"
(#85) Commas (,) must be followed by white space.
(#85) Expected 1 space before "=>"; 0 found
(#85) Expected 1 space after "=>"; 0 found
(#93) Expected 1 space before "=>"; 0 found
(#93) Expected 1 space after "=>"; 0 found
(#111) File must end with a newline character
local/autogroup/classes/usecase/verify_group_population.php
(#36) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#43) Opening brace should be on the same line as the declaration for class verify_group_population
(#49) Opening brace should be on the same line as the declaration
(#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 "// if we are viewing the group members we should redirect to safety" but found "//if we are viewing the group members we should redirect to safety"
(#53) Expected "if (...) {\n"; found "if(...) {\n"
(#61) method name "verify_group_population::__invoke" is invalid; only PHP magic methods should be prefixed with a double underscore
(#62) Opening brace should be on the same line as the declaration
(#63) Expected "if (...) {\n"; found "if(...){\n"
(#68) Expected "if (...) {\n"; found "if(...){\n"
(#72) Expected "if (...) {\n"; found "if(...){\n"
(#73) Commas (,) must be followed by white space.
(#73) Expected 1 space before "=>"; 0 found
(#73) Expected 1 space after "=>"; 0 found
(#87) File must end with a newline character
local/autogroup/classes/usecase/verify_user_group_membership.php
(#36) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#43) Opening brace should be on the same line as the declaration for class verify_user_group_membership
(#51) Opening brace should be on the same line as the declaration
(#59) method name "verify_user_group_membership::__invoke" is invalid; only PHP magic methods should be prefixed with a double underscore
(#60) Opening brace should be on the same line as the declaration
(#61) Expected "if (...) {\n"; found "if(...){\n"
(#76) File must end with a newline character
local/autogroup/db/events.php
(#129) Whitespace found at end of line
local/autogroup/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#11) Inline comments must end in full-stops, exclamation marks, or question marks
(#13) Expected "if (...) {\n"; found "if(...){\n"
(#18) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Expected "if (...) {\n"; found "if (...) {\n"
local/autogroup/edit.php
(#41) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#52) Expected "if (...) {\n"; found "if(...){\n"
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) No space found before comment text; expected "// do not allow editing for front page." but found "//do not allow editing for front page."
(#67) Expected "if (...) {\n"; found "if(...){\n"
(#70) Expected 1 space before "=>"; 0 found
(#70) Expected 1 space after "=>"; 0 found
(#72) Commas (,) must be followed by white space.
(#75) Expected "if (...) {\n"; found "if(...) {\n"
(#78) Expected "if (...) {\n"; found "if(...){\n"
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#89) Expected "if (...) {\n"; found "if(...){\n"
(#104) Expected 1 space before "=>"; 0 found
(#104) Expected 1 space after "=>"; 0 found
(#113) Expected "if (...) {\n"; found "if(...){\n"
(#116) Expected "} else {\n"; found "}\nelse {\n"
(#123) Expected "if (...) {\n"; found "if(...){\n"
(#126) Expected "} else {\n"; found "}\nelse {\n"
(#135) Inline comments must start with a capital letter, digit or 3-dots sequence
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Expected "if (...) {\n"; found "if(...) {\n"
(#140) Inline comments must start with a capital letter, digit or 3-dots sequence
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Expected "} else {\n"; found "}\n else {\n"
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#193) File must end with a newline character
local/autogroup/lang/en/local_autogroup.php
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) 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
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
local/autogroup/lib.php
(#39) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#39) File is being unconditionally included; use "require_once" instead
(#41) Expected "if (...) {\n"; found "if(...) {\n"
(#51) Opening brace should be on the same line as the declaration
(#62) Expected "} else {\n"; found "}\n\nelse {\n"
(#72) Opening brace should be on the same line as the declaration
(#81) File must end with a newline character
local/autogroup/locallib.php
(#56) Expected 1 space before opening brace; found 0
(#66) Expected 1 space before opening brace; found 0
(#73) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#74) Expected "if (...) {\n"; found "if(...){\n"
(#77) Commas (,) must be followed by white space.
(#77) Commas (,) must be followed by white space.
(#80) Expected "if (...) {\n"; found "if(...){\n"
(#89) Expected 1 space before opening brace; found 0
(#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
(#92) Commas (,) must be followed by white space.
(#103) Opening brace should be on the same line as the declaration
(#127) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#128) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
local/autogroup/manage.php
(#38) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#55) Expected "if (...) {\n"; found "if(...){\n"
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) No space found before comment text; expected "// do not allow editing for front page." but found "//do not allow editing for front page."
(#61) Expected 1 space before "=>"; 0 found
(#61) Expected 1 space after "=>"; 0 found
(#63) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#72) Expected 1 space before "=>"; 0 found
(#72) Expected 1 space after "=>"; 0 found
(#89) File must end with a newline character
local/autogroup/pageinit.php
(#31) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#33) File must end with a newline character
local/autogroup/renderer.php
(#37) Opening brace should be on the same line as the declaration for class local_autogroup_renderer
(#44) Expected 1 space before "=>"; 0 found
(#44) Expected 1 space after "=>"; 0 found
(#44) Expected 1 space before "=>"; 0 found
(#50) Commas (,) must be followed by white space.
(#64) Expected "} else {\n"; found "}\n else {\n"
(#75) Expected "if (...) {\n"; found "if(...){\n"
(#81) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Space found before square bracket; expected "$row[" but found "$row ["
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Space found before square bracket; expected "$row[" but found "$row ["
(#107) Inline comments must start with a capital letter, digit or 3-dots sequence
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Space found before square bracket; expected "$row[" but found "$row ["
(#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
(#113) Commas (,) must be followed by white space.
(#114) Space found before square bracket; expected "$row[" but found "$row ["
(#116) Inline comments must start with a capital letter, digit or 3-dots sequence
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Expected 1 space before "=>"; 0 found
(#117) Expected 1 space after "=>"; 0 found
(#118) Expected 1 space before "=>"; 0 found
(#118) Expected 1 space after "=>"; 0 found
(#126) File must end with a newline character
local/autogroup/settings.php
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) No space found before comment text; expected "// TODO: group by sort module using optgroup when MDL-61248 is fixed." but found "//TODO: group by sort module using optgroup when MDL-61248 is fixed."
(#116) Inline comments must start with a capital letter, digit or 3-dots sequence
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) No space found before comment text; expected "// default should be true for students" but found "//default should be true for students"
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Expected "if (...) {\n"; found "if(...) // Only for Totara\n {\n"
(#167) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(268 errors, 1 warnings)

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

local/autogroup/classes/domain.php
(#24) Package local is not valid
(#53) There is no description in phpdocs for function __get
(#71) There is no description in phpdocs for function __set
(#94) There is no description in phpdocs for function exists
(#112) There is no description in phpdocs for function get_id
(#119) There is no description in phpdocs for function set_id
(#54) Phpdocs for function domain::__get has incomplete parameters list
(#72) Phpdocs for function domain::__set has incomplete parameters list
(#141) Phpdocs for variable domain::$id does not contain @var or incorrect
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
(#142) Invalid phpdocs tag @type used
local/autogroup/classes/domain/autogroup_set.php
(#31) Package local is not valid
(#51) Package local_autogroup\domain is not valid
(#55) There is no description in phpdocs for function __construct
(#81) There is no description in phpdocs for function create
(#90) There is no description in phpdocs for function delete
(#130) There is no description in phpdocs for function get_eligible_roles
(#182) There is no description in phpdocs for function get_group_count
(#190) There is no description in phpdocs for function get_membership_counts
(#239) There is no description in phpdocs for function set_course
(#269) There is no description in phpdocs for function set_options
(#281) There is no description in phpdocs for function verify_user_group_membership
(#326) There is no description in phpdocs for function as_object
(#343) There is no description in phpdocs for function get_autogroups
(#368) There is no description in phpdocs for function get_or_create_group_by_idnumber
(#422) There is no description in phpdocs for function generate_group_idnumber
(#439) There is no description in phpdocs for function initialise
(#446) There is no description in phpdocs for function load_from_object
(#478) There is no description in phpdocs for function retrieve_applicable_roles
(#493) There is no description in phpdocs for function retrieve_default_roles
(#601) There is no description in phpdocs for function validate_object
(#56) Phpdocs for function autogroup_set::__construct has incomplete parameters list
(#91) Phpdocs for function autogroup_set::delete has incomplete parameters list
(#146) Phpdocs for function autogroup_set::set_eligible_roles has incomplete parameters list
(#216) Phpdocs for function autogroup_set::save has incomplete parameters list
(#252) Phpdocs for function autogroup_set::set_sort_module has incomplete parameters list
(#270) Phpdocs for function autogroup_set::set_options has incomplete parameters list
(#369) Phpdocs for function autogroup_set::get_or_create_group_by_idnumber has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#34) Invalid phpdocs tag @date used
local/autogroup/classes/domain/course.php
(#24) Package local is not valid
(#46) Package local_autogroup\domain is not valid
(#50) There is no description in phpdocs for function __construct
(#66) There is no description in phpdocs for function get_membership_counts
(#77) There is no description in phpdocs for function verify_all_group_membership
(#91) There is no description in phpdocs for function verify_user_group_membership
(#105) There is no description in phpdocs for function parse_course_id
(#125) There is no description in phpdocs for function get_autogroups
(#51) Phpdocs for function course::__construct has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/domain/group.php
(#23) Package local is not valid
(#48) Package local_autogroup\domain is not valid
(#170) Function group::update is not documented
(#52) There is no description in phpdocs for function __construct
(#116) There is no description in phpdocs for function membership_count
(#135) There is no description in phpdocs for function is_valid_autogroup
(#177) There is no description in phpdocs for function get_members
(#184) There is no description in phpdocs for function is_autogroup
(#191) There is no description in phpdocs for function load_from_database
(#203) There is no description in phpdocs for function load_from_object
(#212) There is no description in phpdocs for function as_object
(#224) There is no description in phpdocs for function validate_object
(#192) Phpdocs for function group::load_from_database has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#26) Invalid phpdocs tag @date used
local/autogroup/classes/domain/user.php
(#28) Package local is not valid
(#48) Package local_autogroup\domain is not valid
(#52) There is no description in phpdocs for function __construct
(#72) There is no description in phpdocs for function verify_user_group_membership
(#123) There is no description in phpdocs for function get_group_membership
(#142) There is no description in phpdocs for function parse_user_data
(#91) Phpdocs for function user::get_courses has incomplete parameters list
(#143) Phpdocs for function user::parse_user_data has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#31) Invalid phpdocs tag @date used
local/autogroup/classes/event_handler.php
(#24) Package local is not valid
(#49) There is no description in phpdocs for function user_enrolment_created
(#68) There is no description in phpdocs for function group_member_added
(#102) There is no description in phpdocs for function group_member_removed
(#139) There is no description in phpdocs for function user_updated
(#157) There is no description in phpdocs for function group_created
(#181) There is no description in phpdocs for function group_change
(#216) There is no description in phpdocs for function role_change
(#234) There is no description in phpdocs for function role_deleted
(#247) There is no description in phpdocs for function course_created
(#264) There is no description in phpdocs for function course_restored
(#281) There is no description in phpdocs for function position_updated
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/exception.php
(#24) Package local is not valid
(#35) No one-line description found in phpdocs for class exception
(#46) There is no description in phpdocs for function __construct
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/exception/invalid_argument.php
(#24) Package local is not valid
(#35) Class invalid_argument is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/exception/invalid_autogroup_set_argument.php
(#24) Package local is not valid
(#33) Class invalid_autogroup_set_argument is not documented
(#34) Function invalid_autogroup_set_argument::__construct is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/exception/invalid_course_argument.php
(#24) Package local is not valid
(#33) Class invalid_course_argument is not documented
(#34) Function invalid_course_argument::__construct is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/exception/invalid_group_argument.php
(#24) Package local is not valid
(#33) Class invalid_group_argument is not documented
(#34) Function invalid_group_argument::__construct is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/exception/invalid_user_argument.php
(#24) Package local is not valid
(#33) Class invalid_user_argument is not documented
(#34) Function invalid_user_argument::__construct is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/form.php
(#24) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/form/autogroup_set_delete.php
(#24) Package local is not valid
(#39) Package local_autogroup\form is not valid
(#77) Function autogroup_set_delete::add_dialogue is not documented
(#42) There is no description in phpdocs for function definition
(#53) There is no description in phpdocs for function extract_data
(#61) There is no description in phpdocs for function validation
(#70) There is no description in phpdocs for function get_data
(#93) Phpdocs for variable autogroup_set_delete::$_customdata does not contain @var or incorrect
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
(#94) Invalid phpdocs tag @type used
local/autogroup/classes/form/autogroup_set_settings.php
(#24) Package local is not valid
(#39) Package local_autogroup\form is not valid
(#42) There is no description in phpdocs for function definition
(#56) There is no description in phpdocs for function extract_data
(#64) There is no description in phpdocs for function validation
(#73) There is no description in phpdocs for function get_data
(#80) There is no description in phpdocs for function add_group_by_options
(#98) There is no description in phpdocs for function add_role_options
(#120) Phpdocs for variable autogroup_set_settings::$_customdata does not contain @var or incorrect
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
(#121) Invalid phpdocs tag @type used
local/autogroup/classes/sort_module.php
(#24) Package local is not valid
(#35) No one-line description found in phpdocs for class sort_module
(#47) There is no description in phpdocs for function __construct
(#61) There is no description in phpdocs for function eligible_groups_for_user
(#75) There is no description in phpdocs for function __get
(#87) There is no description in phpdocs for function __set
(#88) Phpdocs for function sort_module::__set has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/sort_module/primary_position.php
(#24) Package local is not valid
(#41) Package local_autogroup\domain is not valid
(#45) There is no description in phpdocs for function __construct
(#57) There is no description in phpdocs for function config_is_valid
(#75) There is no description in phpdocs for function eligible_groups_for_user
(#123) There is no description in phpdocs for function grouping_by
(#134) There is no description in phpdocs for function parse_name_manager
(#144) There is no description in phpdocs for function parse_name_organisation
(#155) There is no description in phpdocs for function parse_name_position
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/sort_module/profile_field.php
(#24) Package local is not valid
(#39) Package local_autogroup\domain is not valid
(#43) There is no description in phpdocs for function __construct
(#55) There is no description in phpdocs for function config_is_valid
(#73) There is no description in phpdocs for function eligible_groups_for_user
(#105) There is no description in phpdocs for function grouping_by
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/sort_module/user_info_field.php
(#24) Package local is not valid
(#39) Package local_autogroup\domain is not valid
(#43) There is no description in phpdocs for function __construct
(#55) There is no description in phpdocs for function config_is_valid
(#73) There is no description in phpdocs for function eligible_groups_for_user
(#109) There is no description in phpdocs for function grouping_by
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/usecase.php
(#24) Package local is not valid
(#51) There is no description in phpdocs for function __invoke
(#64) There is no description in phpdocs for function __get
(#72) There is no description in phpdocs for function __set
(#65) Phpdocs for function usecase::__get has incomplete parameters list
(#73) Phpdocs for function usecase::__set has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/usecase/add_default_to_course.php
(#24) Package local is not valid
(#42) Package local_autogroup\usecase is not valid
(#46) There is no description in phpdocs for function __construct
(#65) There is no description in phpdocs for function __invoke
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/usecase/verify_course_group_membership.php
(#24) Package local is not valid
(#40) Package local_autogroup\usecase is not valid
(#45) There is no description in phpdocs for function __construct
(#55) There is no description in phpdocs for function __invoke
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/usecase/verify_group_idnumber.php
(#24) Package local is not valid
(#40) Package local_autogroup\usecase is not valid
(#90) Function verify_group_idnumber::group_has_members is not documented
(#44) There is no description in phpdocs for function __construct
(#59) There is no description in phpdocs for function __invoke
(#45) Phpdocs for function verify_group_idnumber::__construct has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/usecase/verify_group_population.php
(#24) Package local is not valid
(#40) Package local_autogroup\usecase is not valid
(#44) There is no description in phpdocs for function __construct
(#58) There is no description in phpdocs for function __invoke
(#45) Phpdocs for function verify_group_population::__construct has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/classes/usecase/verify_user_group_membership.php
(#24) Package local is not valid
(#40) Package local_autogroup\usecase is not valid
(#45) There is no description in phpdocs for function __construct
(#56) There is no description in phpdocs for function __invoke
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/db/access.php
(#24) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/db/events.php
(#24) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/db/upgrade.php
(#5) Package is not specified for function xmldb_local_autogroup_upgrade. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#5) Function xmldb_local_autogroup_upgrade is not documented
local/autogroup/edit.php
(#24) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/lang/en/local_autogroup.php
(#24) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/lib.php
(#24) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/locallib.php
(#24) Package local is not valid
(#89) Function sanitise_sort_module_name is not documented
(#102) Function amend_settings_structure is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/manage.php
(#24) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/pageinit.php
(#24) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/renderer.php
(#24) Package local is not valid
(#36) Class local_autogroup_renderer is not documented
(#41) Function local_autogroup_renderer::add_new_groupset is not documented
(#56) Function local_autogroup_renderer::intro_text is not documented
(#74) Function local_autogroup_renderer::groupsets_table is not documented
(#98) Function local_autogroup_renderer::groupsets_table_group is not documented
(#38) Constant local_autogroup_renderer::URL_COURSE_SETTINGS is not documented
(#39) Constant local_autogroup_renderer::URL_COURSE_MANAGE is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/settings.php
(#24) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used
local/autogroup/version.php
(#24) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#27) Invalid phpdocs tag @date used

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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 3 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]

local/autogroup/db/upgrade.php
Database modifications (new tables or columns) detected in the patch without any change to some important areas.
No changes detected to external functions, that may affect apps and other web service integrations, please verify!
No changes detected to backup and restore, that may affect storage and transportability, please verify!

grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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