Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(551 errors, 281 warnings)

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

enrol/oss/classes/parents/action_form.php
(#20) Incorrect @package tag for file action_form.php. Expected enrol_oss, found enrol.
(#34) Missing docblock for class action_form
(#35) Missing docblock for function definition
(#35) Visibility must be declared on method "definition"
(#41) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#69) Line exceeds 132 characters; contains 168 characters
(#71) Commas (,) must be followed by white space.
enrol/oss/classes/parents/filter_cohort.php
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <https://www.gnu.org/licenses/>.".
(#33) Invalid @category tag value "user".
(#71) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
enrol/oss/classes/parents/filter_userrole.php
(#21) Invalid @category tag value "user".
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#43) Possible useless method overriding detected
(#54) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#71) Public method name "filter_userrole::setupForm" must be in lower-case letters only
(#72) Short array syntax must be used to define arrays
(#91) Logical operator "and" is prohibited; use "&&" instead
(#92) Expected "if (...) {\n"; found "if(...) {\n"
(#93) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#110) Expected "if (...) {\n"; found "if(...){\n"
(#121) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#133) Expected "if (...) {\n"; found "if(...){\n"
enrol/oss/classes/parents/parent_filtering.php
(#21) Invalid @category tag value "user".
(#35) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#37) Missing docblock for class parent_filtering
(#46) Expected "if (...) {\n"; found "if(...) {\n"
(#47) Short array syntax must be used to define arrays
(#47) Line exceeds 132 characters; contains 143 characters
(#48) Line exceeds 132 characters; contains 138 characters
(#81) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $params.
(#84) Variable "parents_prefix" must not contain underscores.
(#84) Commas (,) must be followed by white space.
(#85) Variable "parents_prefix" must not contain underscores.
(#86) Variable "parents_prefix" must not contain underscores.
(#88) Short array syntax must be used to define arrays
(#94) Variable "parents_prefix" must not contain underscores.
(#111) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
enrol/oss/classes/parents/parents_form.php
(#20) Incorrect @package tag for file parents_form.php. Expected enrol_oss, found enrol.
(#34) Missing docblock for class parents_form
(#35) Missing docblock for function definition
(#35) Visibility must be declared on method "definition"
(#44) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
enrol/oss/classes/task/sync_classes_task.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
enrol/oss/classes/task/sync_enrolments_task.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
enrol/oss/classes/task/sync_parents_task.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
enrol/oss/cli/repair_teachers_contexts.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file repair_teachers_contexts.php
(#23) Short array syntax must be used to define arrays
(#23) Short array syntax must be used to define arrays
enrol/oss/cli/sync.php
(#36) Incorrect @package tag for file sync.php. Expected enrol_oss, found enrol.
(#49) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
enrol/oss/cli/test.php
(#36) Incorrect @package tag for file test.php. Expected enrol_oss, found enrol.
(#49) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
enrol/oss/db/install.php
(#20) Incorrect @package tag for file install.php. Expected enrol_oss, found enrol.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Missing docblock for function xmldb_enrol_oss_install
(#35) Short array syntax must be used to define arrays
(#37) Expected "if (...) {\n"; found "if(...) {\n"
(#47) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
enrol/oss/db/tasks.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
(#37) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
(#46) Short array syntax must be used to define arrays
(#53) There should be a comma after the last array item in a multi-line array.
(#54) There should be a comma after the last array item in a multi-line array.
enrol/oss/db/upgrade.php
(#2) Moodle boilerplate not found at first line
(#23) Incorrect @package tag for file upgrade.php. Expected enrol_oss, found enrol.
(#30) Missing docblock for function xmldb_enrol_oss_upgrade
(#36) Short array syntax must be used to define arrays
(#44) Commas (,) must be followed by white space.
(#44) Commas (,) must be followed by white space.
(#49) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#56) Commas (,) must be followed by white space.
(#56) Commas (,) must be followed by white space.
enrol/oss/lang/de/enrol_oss.php
(#2) Moodle boilerplate not found at first line
(#36) The string key "class_age_groups_localname" is not in the correct order, it should be before "class_age_groups_shortname"
(#39) Variable "$stirng" is not expected in a lang file
(#49) The string key "class_category_description" is not in the correct order, it should be before "classes_enabled_desc"
(#50) The string key "class_category" is not in the correct order, it should be before "class_category_description"
(#52) The string key "class_category_autocreate" is not in the correct order, it should be before "class_category_desc"
(#54) The string key "class_autocreate" is not in the correct order, it should be before "class_category_autocreate_desc"
(#60) The string key "class_template" is not in the correct order, it should be before "class_template_none"
(#64) The string key "class_prefixes" is not in the correct order, it should be before "class_use_prefixes_desc"
(#71) The string key "class_students_group" is not in the correct order, it should be before "class_teachers_role_desc"
(#76) The string key "class_parents_group" is not in the correct order, it should be before "class_students_role_desc"
(#83) The string key "common_settings" is not in the correct order, it should be before "groups_enabled_desc"
(#107) The string key "ossclasssync" is not in the correct order, it should be before "osssync"
(#115) The string key "parents_not_enabled" is not in the correct order, it should be before "parents_setup"
(#116) The string key "parents_list" is not in the correct order, it should be before "parents_not_enabled"
(#117) The string key "parents_childless_list" is not in the correct order, it should be before "parents_list"
(#121) The string key "parents_enabled" is not in the correct order, it should be before "parents_settings_desc"
(#125) The string key "parents_child_attribute" is not in the correct order, it should be before "parents_prefix_desc"
(#145) The string key "student_groups" is not in the correct order, it should be before "students_group_name_desc"
(#166) The string key "teacher_settings" is not in the correct order, it should be before "teachers_editingteacher_role_key"
(#177) The string key "userrole_inverted" is not in the correct order, it should be before "userrolelabel"
(#179) The string key "eventcohort_created" is duplicated
(#180) The string key "eventcohort_removed" is duplicated
(#181) The string key "eventcohort_enroled" is duplicated
(#182) The string key "eventcohort_unenroled" is duplicated
(#183) The string key "eventcohort_member_added" is duplicated
(#184) The string key "eventcohort_member_removed" is duplicated
(#185) The string key "eventcohort_members_removed" is duplicated
(#186) The string key "eventteacher_role_assigned" is duplicated
(#187) The string key "eventteacher_role_unassigned" is duplicated
(#188) The string key "eventteacher_category_created" is duplicated
(#189) The string key "eventteacher_category_removed" is duplicated
(#190) The string key "eventteacher_category_moved" is duplicated
(#191) The string key "eventteachers_category_created" is duplicated
(#192) The string key "eventattic_category_created" is duplicated
(#193) The string key "member_attribute_isdn" is not in the correct order, it should be before "userrole_inverted_label"
enrol/oss/lang/en/enrol_oss.php
(#20) Incorrect @package tag for file enrol_oss.php. Expected enrol_oss, found enrol.
(#34) The string key "class_age_groups_localname" is not in the correct order, it should be before "class_age_groups_shortname"
(#38) The string key "class_all_students_localname" is not in the correct order, it should be before "class_all_students_shortname"
(#47) The string key "class_category_description" is not in the correct order, it should be before "classes_enabled_desc"
(#48) The string key "class_category" is not in the correct order, it should be before "class_category_description"
(#50) The string key "class_category_autocreate" is not in the correct order, it should be before "class_category_desc"
(#52) The string key "class_autocreate" is not in the correct order, it should be before "class_category_autocreate_desc"
(#58) The string key "class_template" is not in the correct order, it should be before "class_template_none"
(#62) The string key "class_prefixes" is not in the correct order, it should be before "class_use_prefixes_desc"
(#69) The string key "class_students_group" is not in the correct order, it should be before "class_teachers_role_desc"
(#74) The string key "class_parents_group" is not in the correct order, it should be before "class_students_role_desc"
(#81) The string key "common_settings" is not in the correct order, it should be before "groups_enabled_desc"
(#92) The string key "ossclasssync" is not in the correct order, it should be before "osssync"
(#100) The string key "parents_not_enabled" is not in the correct order, it should be before "parents_setup"
(#101) The string key "parents_list" is not in the correct order, it should be before "parents_not_enabled"
(#102) The string key "parents_childless_list" is not in the correct order, it should be before "parents_list"
(#106) The string key "parents_enabled" is not in the correct order, it should be before "parents_settings_desc"
(#110) The string key "parents_child_attribute" is not in the correct order, it should be before "parents_prefix_desc"
(#130) The string key "student_groups" is not in the correct order, it should be before "students_group_name_desc"
(#152) The string key "teacher_settings" is not in the correct order, it should be before "teachers_editingteacher_role_key"
(#164) The string key "userrole_inverted" is not in the correct order, it should be before "userrolelabel"
(#166) The string key "eventcohort_created" is not in the correct order, it should be before "userrole_inverted_label"
(#168) The string key "eventcohort_enroled" is not in the correct order, it should be before "eventcohort_removed"
(#170) The string key "eventcohort_member_added" is not in the correct order, it should be before "eventcohort_unenroled"
(#175) The string key "eventteacher_category_created" is not in the correct order, it should be before "eventteacher_role_unassigned"
(#177) The string key "eventteacher_category_moved" is not in the correct order, it should be before "eventteacher_category_removed"
(#179) The string key "eventattic_category_created" is not in the correct order, it should be before "eventteachers_category_created"
enrol/oss/lib.php
(#22) Incorrect @package tag for file lib.php. Expected enrol_oss, found enrol.
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) Missing docblock for class enrol_oss_plugin
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#36) Member variable "idnumber_teachers_cat" must not contain underscores.
(#37) Missing member variable doc comment
(#37) Member variable "idnumber_attic_cat" must not contain underscores.
(#38) Missing member variable doc comment
(#38) Member variable "idnumber_class_cat" must not contain underscores.
(#39) Missing member variable doc comment
(#39) Short array syntax must be used to define arrays
(#40) Missing member variable doc comment
(#40) Member variable "teacher_array" must not contain underscores.
(#40) Short array syntax must be used to define arrays
(#41) Missing member variable doc comment
(#42) Missing member variable doc comment
(#42) Member variable "teacher_obj" must not contain underscores.
(#43) Missing member variable doc comment
(#43) Member variable "attic_obj" must not contain underscores.
(#44) Missing member variable doc comment
(#44) Member variable "class_obj" must not contain underscores.
(#45) Missing member variable doc comment
(#45) Member variable "userid_regex" must not contain underscores.
(#91) Commas (,) must be followed by white space.
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) Variable "ldap_groups" must not contain underscores.
(#100) Expected "if (...) {\n"; found "if(...){\n"
(#100) Variable "ldap_groups" must not contain underscores.
(#105) Variable "ldap_groups" must not contain underscores.
(#114) Variable "ldap_groups" must not contain underscores.
(#117) Short array syntax must be used to define arrays
(#125) Logical operator "or" is prohibited; use "||" instead
(#137) Logical operator "and" is prohibited; use "&&" instead
(#138) Logical operator "or" is prohibited; use "||" instead
(#139) Short array syntax must be used to define arrays
(#140) Commas (,) must be followed by white space.
(#140) Commas (,) must be followed by white space.
(#141) Short array syntax must be used to define arrays
(#145) Commas (,) must be followed by white space.
(#154) Logical operator "and" is prohibited; use "&&" instead
(#155) Logical operator "and" is prohibited; use "&&" instead
(#156) Short array syntax must be used to define arrays
(#157) Commas (,) must be followed by white space.
(#157) Commas (,) must be followed by white space.
(#166) Short array syntax must be used to define arrays
(#171) Logical operator "and" is prohibited; use "&&" instead
(#171) Commas (,) must be followed by white space.
(#172) Commas (,) must be followed by white space.
(#196) Variable "ldap_groups" must not contain underscores.
(#197) Variable "ldap_groups" must not contain underscores.
(#201) Variable "ldap_groups" must not contain underscores.
(#203) Variable "ldap_members" must not contain underscores.
(#204) Variable "cohort_members" must not contain underscores.
(#206) Variable "cohort_members" must not contain underscores.
(#207) Variable "ldap_members" must not contain underscores.
(#213) Variable "ldap_members" must not contain underscores.
(#223) Short array syntax must be used to define arrays
(#226) Variable "ldap_groups" must not contain underscores.
(#237) Logical operator "or" is prohibited; use "||" instead
(#267) Logical operator "or" is prohibited; use "||" instead
(#269) Line exceeds 132 characters; contains 136 characters
(#281) Logical operator "or" is prohibited; use "||" instead
(#284) Short array syntax must be used to define arrays
(#285) Variable "cat_obj" must not contain underscores.
(#286) Short array syntax must be used to define arrays
(#286) Commas (,) must be followed by white space.
(#286) Commas (,) must be followed by white space.
(#289) Variable "cat_obj" must not contain underscores.
(#290) Variable "cat_obj" must not contain underscores.
(#291) Variable "cat_obj" must not contain underscores.
(#297) Short array syntax must be used to define arrays
(#302) Commas (,) must be followed by white space.
(#302) Variable "cat_obj" must not contain underscores.
(#303) Commas (,) must be followed by white space.
(#303) Variable "cat_obj" must not contain underscores.
(#322) Docblock tag "@global" is not recommended.
(#326) No one-line description found in phpdocs for docblock of function category_get_all_children
(#329) Short array syntax must be used to define arrays
(#333) Short array syntax must be used to define arrays
(#333) Commas (,) must be followed by white space.
(#346) No one-line description found in phpdocs for docblock of function repair_teachers_contexts
(#361) Commas (,) must be followed by white space.
(#361) Line exceeds 132 characters; contains 146 characters
(#373) Short array syntax must be used to define arrays
(#374) Commas (,) must be followed by white space.
(#375) Commas (,) must be followed by white space.
(#375) Line exceeds 132 characters; contains 161 characters
(#376) Commas (,) must be followed by white space.
(#388) Incorrect docblock tag "@returns". Should be "@return".
(#391) Commas (,) must be followed by white space.
(#394) Short array syntax must be used to define arrays
(#400) Short array syntax must be used to define arrays
(#413) Incorrect docblock tag "@returns". Should be "@return".
(#422) Inline comments must start with a capital letter, digit or 3-dots sequence
(#422) Inline comments must end in full-stops, exclamation marks, or question marks
(#425) Commas (,) must be followed by white space.
(#425) Commas (,) must be followed by white space.
(#428) Logical operator "and" is prohibited; use "&&" instead
(#431) Short array syntax must be used to define arrays
(#436) Short array syntax must be used to define arrays
(#446) Inline comments must start with a capital letter, digit or 3-dots sequence
(#446) Inline comments must end in full-stops, exclamation marks, or question marks
(#471) Missing docblock for function enrol_oss_sync
(#477) Invalid docblock tag "@parameters".
(#482) Missing docblock for function get_idnumber_cohorts
(#484) Short array syntax must be used to define arrays
(#485) Logical operator "or" is prohibited; use "||" instead
(#486) Logical operator "or" is prohibited; use "||" instead
(#486) Logical operator "or" is prohibited; use "||" instead
(#487) Logical operator "or" is prohibited; use "||" instead
(#487) Logical operator "or" is prohibited; use "||" instead
(#493) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#496) Short array syntax must be used to define arrays
(#498) Expected "} else {\n"; found "}\n else {\n"
(#500) Short array syntax must be used to define arrays
(#504) Expected "for (...) {\n"; found "for(...) {\n"
(#505) Expected "if (...) {\n"; found "if(...) {\n"
(#512) Short array syntax must be used to define arrays
(#532) Logical operator "or" is prohibited; use "||" instead
(#536) Short array syntax must be used to define arrays
(#540) Commas (,) must be followed by white space.
(#543) Expected 1 space before "?"; 0 found
(#551) Variable "search_sub" must not contain underscores.
(#551) Expected 1 space before "?"; 0 found
(#551) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#552) Variable "search_sub" must not contain underscores.
(#554) Variable "ldap_result" must not contain underscores.
(#554) Short array syntax must be used to define arrays
(#555) There should be a comma after the last array item in a multi-line array.
(#559) Variable "ldap_result" must not contain underscores.
(#559) Short array syntax must be used to define arrays
(#560) There should be a comma after the last array item in a multi-line array.
(#564) Variable "ldap_result" must not contain underscores.
(#567) Expected "if (...) {\n"; found "if(...) {\n"
(#571) Line exceeds 132 characters; contains 173 characters
(#595) Variable "group_pattern" must not contain underscores.
(#595) Variable "all_teachers" must not contain underscores.
(#601) Logical operator "or" is prohibited; use "||" instead
(#609) Short array syntax must be used to define arrays
(#618) Variable "group_pattern" must not contain underscores.
(#619) Variable "group_pattern" must not contain underscores.
(#621) Variable "group_pattern" must not contain underscores.
(#629) Variable "search_sub" must not contain underscores.
(#629) Expected 1 space before "?"; 0 found
(#629) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#630) Variable "search_sub" must not contain underscores.
(#632) Variable "ldap_result" must not contain underscores.
(#632) Short array syntax must be used to define arrays
(#633) There should be a comma after the last array item in a multi-line array.
(#637) Variable "ldap_result" must not contain underscores.
(#637) Short array syntax must be used to define arrays
(#638) There should be a comma after the last array item in a multi-line array.
(#642) Variable "ldap_result" must not contain underscores.
(#643) Variable "ldap_result" must not contain underscores.
(#650) Expected "} else {\n"; found "}\n else {\n"
(#661) Logical operator "and" is prohibited; use "&&" instead
(#675) Variable "teachers_ok" must not contain underscores.
(#680) Short array syntax must be used to define arrays
(#681) Short array syntax must be used to define arrays
(#683) Logical operator "or" is prohibited; use "||" instead
(#686) Expected 1 space before "?"; 0 found
(#715) Logical operator "and" is prohibited; use "&&" instead
(#728) Line exceeds 132 characters; contains 135 characters
(#733) Logical operator "and" is prohibited; use "&&" instead
(#733) Variable "teachers_ok" must not contain underscores.
(#733) Logical operator "or" is prohibited; use "||" instead
(#756) Expected "} else {\n"; found "}\n else {\n"
(#762) Commas (,) must be followed by white space.
(#762) Commas (,) must be followed by white space.
(#762) Commas (,) must be followed by white space.
(#762) Commas (,) must be followed by white space.
(#768) The use of function error_log() is forbidden; use debugging() instead
(#808) Commas (,) must be followed by white space.
(#843) Short array syntax must be used to define arrays
(#858) Short array syntax must be used to define arrays
(#859) Inline comments must start with a capital letter, digit or 3-dots sequence
(#859) Inline comments must end in full-stops, exclamation marks, or question marks
(#864) Short array syntax must be used to define arrays
(#865) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#868) Inline comments must start with a capital letter, digit or 3-dots sequence
(#868) Inline comments must end in full-stops, exclamation marks, or question marks
(#873) Inline comments must start with a capital letter, digit or 3-dots sequence
(#873) Inline comments must end in full-stops, exclamation marks, or question marks
(#876) Short array syntax must be used to define arrays
(#891) Short array syntax must be used to define arrays
(#894) Logical operator "or" is prohibited; use "||" instead
(#895) Logical operator "or" is prohibited; use "||" instead
(#895) Logical operator "or" is prohibited; use "||" instead
(#898) Short array syntax must be used to define arrays
(#905) Missing docblock for function get_cohort_members
(#918) Missing docblock for function cohort_is_member
(#920) Short array syntax must be used to define arrays
(#922) There should be a comma after the last array item in a multi-line array.
(#927) Missing docblock for function has_teachers_as_members
(#931) Commas (,) must be followed by white space.
(#1019) Variable "cat_obj" must not contain underscores.
(#1019) Short array syntax must be used to define arrays
(#1019) Commas (,) must be followed by white space.
(#1019) Commas (,) must be followed by white space.
(#1019) Line exceeds 132 characters; contains 143 characters
(#1020) Variable "cat_obj" must not contain underscores.
(#1021) Variable "cat_obj" must not contain underscores.
(#1021) Commas (,) must be followed by white space.
(#1023) Variable "cat_obj" must not contain underscores.
(#1024) Variable "cat_obj" must not contain underscores.
(#1028) Variable "cat_obj" must not contain underscores.
(#1038) Short array syntax must be used to define arrays
(#1038) Commas (,) must be followed by white space.
(#1038) Commas (,) must be followed by white space.
(#1038) Line exceeds 132 characters; contains 148 characters
(#1041) Commas (,) must be followed by white space.
(#1041) Commas (,) must be followed by white space.
(#1041) Commas (,) must be followed by white space.
(#1042) Variable "cat_obj" must not contain underscores.
(#1062) Variable "cat_obj" must not contain underscores.
(#1062) Short array syntax must be used to define arrays
(#1063) Variable "idnumber_class_cat" must not contain underscores.
(#1064) There should be a comma after the last array item in a multi-line array.
(#1066) Variable "cat_obj" must not contain underscores.
(#1068) Variable "cat_obj" must not contain underscores.
(#1068) Variable "idnumber_class_cat" must not contain underscores.
(#1068) Line exceeds 132 characters; contains 161 characters
(#1069) Variable "cat_obj" must not contain underscores.
(#1070) Variable "cat_obj" must not contain underscores.
(#1076) Variable "cat_obj" must not contain underscores.
(#1076) Variable "cat_obj" must not contain underscores.
(#1078) Variable "cat_obj" must not contain underscores.
(#1079) Variable "idnumber_class_cat" must not contain underscores.
(#1081) Variable "cat_obj" must not contain underscores.
(#1093) Short array syntax must be used to define arrays
(#1115) Space found before square bracket; expected "$ret[" but found "$ret ["
(#1130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1130) Inline comments must end in full-stops, exclamation marks, or question marks
(#1134) Space found before square bracket; expected "$pattern[" but found "$pattern ["
(#1148) Short array syntax must be used to define arrays
(#1157) Short array syntax must be used to define arrays
(#1157) Commas (,) must be followed by white space.
(#1175) Short array syntax must be used to define arrays
(#1184) Short array syntax must be used to define arrays
(#1186) Short array syntax must be used to define arrays
(#1188) Commas (,) must be followed by white space.
(#1198) Missing docblock for function get_localname
(#1202) Usage of ELSEIF not allowed; use ELSE IF instead
(#1205) Commas (,) must be followed by white space.
(#1207) Commas (,) must be followed by white space.
(#1210) Spaces must be used to indent lines; tabs are not allowed
(#1210) Tab found within whitespace
(#1210) Line indented incorrectly; expected at least 8 spaces, found 2
(#1223) "require_once" must be immediately followed by an open parenthesis
(#1224) "require_once" must be immediately followed by an open parenthesis
(#1227) Line exceeds 132 characters; contains 146 characters
(#1246) Line exceeds 132 characters; contains 136 characters
(#1259) "require_once" must be immediately followed by an open parenthesis
(#1269) Visibility must be declared on method "sync_classes"
(#1276) Variable "ldap_classes" must not contain underscores.
(#1277) Variable "mdl_classes" must not contain underscores.
(#1279) Variable "to_add" must not contain underscores.
(#1279) Variable "ldap_classes" must not contain underscores.
(#1279) Commas (,) must be followed by white space.
(#1279) Variable "mdl_classes" must not contain underscores.
(#1280) Variable "to_add" must not contain underscores.
(#1281) Variable "to_add" must not contain underscores.
(#1285) Variable "to_remove" must not contain underscores.
(#1285) Variable "mdl_classes" must not contain underscores.
(#1285) Commas (,) must be followed by white space.
(#1285) Variable "ldap_classes" must not contain underscores.
(#1286) Variable "to_remove" must not contain underscores.
(#1287) Variable "to_remove" must not contain underscores.
(#1291) Commas (,) must be followed by white space.
(#1299) Missing docblock for function sync_classes_enrolments_user
(#1299) Visibility must be declared on method "sync_classes_enrolments_user"
(#1306) Expected "} else {\n"; found "} else {\n"
(#1309) Variable "ldap_classes" must not contain underscores.
(#1310) Variable "mdl_classes" must not contain underscores.
(#1311) Variable "to_enrol" must not contain underscores.
(#1311) Variable "ldap_classes" must not contain underscores.
(#1311) Commas (,) must be followed by white space.
(#1311) Variable "mdl_classes" must not contain underscores.
(#1312) Variable "to_unenrol" must not contain underscores.
(#1312) Variable "mdl_classes" must not contain underscores.
(#1312) Variable "ldap_classes" must not contain underscores.
(#1313) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1313) Variable "to_enrol" must not contain underscores.
(#1314) Variable "mdl_classes" must not contain underscores.
(#1316) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1316) Variable "to_unenrol" must not contain underscores.
(#1317) Variable "mdl_classes" must not contain underscores.
(#1324) Missing docblock for function get_enrol_instance
(#1326) Variable "enrol_instance" must not contain underscores.
(#1326) Short array syntax must be used to define arrays
(#1327) Variable "enrol_instance" must not contain underscores.
(#1332) Variable "enrol_instance" must not contain underscores.
(#1332) Short array syntax must be used to define arrays
(#1334) Variable "enrol_instance" must not contain underscores.
(#1337) Missing docblock for function class_enrolunenrol
(#1337) Expected 0 spaces after "class_enrolunenrol"; 1 found
(#1337) Variable "enrol_instance" must not contain underscores.
(#1338) Variable "to_enrol" must not contain underscores.
(#1339) Variable "to_unenrol" must not contain underscores.
(#1340) Variable "to_enrol_teachers" must not contain underscores.
(#1340) Short array syntax must be used to define arrays
(#1341) Variable "to_enrol_students" must not contain underscores.
(#1341) Short array syntax must be used to define arrays
(#1342) Variable "to_enrol_parents" must not contain underscores.
(#1342) Short array syntax must be used to define arrays
(#1343) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1343) Variable "to_enrol" must not contain underscores.
(#1347) Variable "to_enrol_teachers" must not contain underscores.
(#1350) Variable "to_enrol_students" must not contain underscores.
(#1353) Variable "to_enrol_parents" must not contain underscores.
(#1358) Variable "to_enrol" must not contain underscores.
(#1358) Variable "to_unenrol" must not contain underscores.
(#1360) Variable "to_enrol" must not contain underscores.
(#1361) Variable "to_unenrol" must not contain underscores.
(#1363) Variable "to_enrol_teachers" must not contain underscores.
(#1364) Variable "enrol_instance" must not contain underscores.
(#1364) Variable "to_enrol_teachers" must not contain underscores.
(#1366) Variable "to_enrol_students" must not contain underscores.
(#1367) Variable "enrol_instance" must not contain underscores.
(#1367) Variable "to_enrol_students" must not contain underscores.
(#1369) Variable "to_enrol_parents" must not contain underscores.
(#1370) Variable "enrol_instance" must not contain underscores.
(#1370) Variable "to_enrol_parents" must not contain underscores.
(#1372) Variable "to_unenrol" must not contain underscores.
(#1373) Variable "enrol_instance" must not contain underscores.
(#1373) Variable "to_unenrol" must not contain underscores.
(#1380) Missing docblock for function sync_classes_enrolments
(#1380) Visibility must be declared on method "sync_classes_enrolments"
(#1381) Variable "class_obj" must not contain underscores.
(#1382) Variable "class_obj" must not contain underscores.
(#1385) Variable "mdl_classes" must not contain underscores.
(#1386) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1386) Variable "mdl_classes" must not contain underscores.
(#1387) Variable "ldap_members" must not contain underscores.
(#1388) Variable "ldap_members" must not contain underscores.
(#1388) Variable "ldap_members" must not contain underscores.
(#1390) Variable "enrol_instance" must not contain underscores.
(#1391) Variable "enrol_instance" must not contain underscores.
(#1395) Variable "mdl_members" must not contain underscores.
(#1396) Variable "enrol_instance" must not contain underscores.
(#1396) Variable "mdl_members" must not contain underscores.
(#1396) Variable "ldap_members" must not contain underscores.
(#1400) Missing docblock for function get_class_parents
(#1400) Visibility must be declared on method "get_class_parents"
(#1403) Expected "if (...) {\n"; found "if(...){\n"
(#1405) Short array syntax must be used to define arrays
(#1414) Short array syntax must be used to define arrays
(#1415) Short array syntax must be used to define arrays
(#1416) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1422) Missing docblock for function is_ldap_or_manual
(#1422) Visibility must be declared on method "is_ldap_or_manual"
(#1424) Expected "if (...) {\n"; found "if(...){\n"
(#1431) Missing docblock for function class_enrol
(#1431) Visibility must be declared on method "class_enrol"
(#1431) Variable "enrol_instance" must not contain underscores.
(#1434) Short array syntax must be used to define arrays
(#1437) Short array syntax must be used to define arrays
(#1439) There should be a comma after the last array item in a multi-line array.
(#1442) Line exceeds 132 characters; contains 138 characters
(#1445) Variable "enrol_instance" must not contain underscores.
(#1451) Missing docblock for function class_unenrol
(#1451) Visibility must be declared on method "class_unenrol"
(#1451) Variable "enrol_instance" must not contain underscores.
(#1454) Short array syntax must be used to define arrays
(#1457) Short array syntax must be used to define arrays
(#1459) There should be a comma after the last array item in a multi-line array.
(#1462) Line exceeds 132 characters; contains 142 characters
(#1465) Variable "enrol_instance" must not contain underscores.
(#1466) Line exceeds 132 characters; contains 158 characters
(#1477) Missing docblock for function sync_user_groups
(#1479) "require_once" must be immediately followed by an open parenthesis
(#1481) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1493) Missing docblock for function sync_class_groups
(#1495) "require_once" must be immediately followed by an open parenthesis
(#1499) Short array syntax must be used to define arrays
(#1500) Short array syntax must be used to define arrays
(#1501) Short array syntax must be used to define arrays
(#1512) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1513) Expected "if (...) {\n"; found "if(...) {\n"
(#1527) Missing docblock for function get_groupid
(#1530) Short array syntax must be used to define arrays
(#1535) Expected "if (...) {\n"; found "if(...) {\n"
(#1538) Short array syntax must be used to define arrays
(#1549) Missing docblock for function get_group
(#1555) Short array syntax must be used to define arrays
(#1555) Commas (,) must be followed by white space.
(#1558) Short array syntax must be used to define arrays
(#1564) Missing docblock for function class_create_group
(#1565) Commas (,) must be followed by white space.
(#1566) "require_once" must be immediately followed by an open parenthesis
(#1571) Short array syntax must be used to define arrays
(#1584) Missing docblock for function class_delete_group
(#1585) "require_once" must be immediately followed by an open parenthesis
(#1595) Missing docblock for function class_group_is_member
(#1597) "require_once" must be immediately followed by an open parenthesis
(#1605) Missing docblock for function class_group_add_member
(#1607) "require_once" must be immediately followed by an open parenthesis
(#1617) Missing docblock for function class_group_remove_member
(#1619) "require_once" must be immediately followed by an open parenthesis
(#1637) Variable "mdl_user_objects" must not contain underscores.
(#1638) Short array syntax must be used to define arrays
(#1639) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1639) Variable "mdl_user_objects" must not contain underscores.
(#1651) Short array syntax must be used to define arrays
(#1671) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1671) Inline comments must end in full-stops, exclamation marks, or question marks
(#1685) Line exceeds 132 characters; contains 148 characters
(#1695) Visibility must be declared on method "sync_collections_enrolments"
(#1695) Expected 1 space before opening brace; found 0
(#1698) Variable "course_allstds" must not contain underscores.
(#1698) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#1707) Short array syntax must be used to define arrays
(#1707) Commas (,) must be followed by white space.
(#1713) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1713) Inline comments must end in full-stops, exclamation marks, or question marks
(#1715) Variable "course_allstds" must not contain underscores.
(#1715) Commas (,) must be followed by white space.
(#1715) Line exceeds 132 characters; contains 134 characters
(#1716) Variable "course_allstds" must not contain underscores.
(#1717) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1717) Inline comments must end in full-stops, exclamation marks, or question marks
(#1718) Variable "course_allstds" must not contain underscores.
(#1719) Variable "members_ist" must not contain underscores.
(#1720) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1720) Inline comments must end in full-stops, exclamation marks, or question marks
(#1723) Variable "members_soll" must not contain underscores.
(#1724) Variable "enrol_instance" must not contain underscores.
(#1724) Variable "course_allstds" must not contain underscores.
(#1725) Variable "enrol_instance" must not contain underscores.
(#1726) Commas (,) must be followed by white space.
(#1726) Line exceeds maximum limit of 180 characters; contains 182 characters
(#1728) Variable "course_allstds" must not contain underscores.
(#1728) Variable "enrol_instance" must not contain underscores.
(#1728) Variable "members_ist" must not contain underscores.
(#1728) Variable "members_soll" must not contain underscores.
(#1733) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1733) Inline comments must end in full-stops, exclamation marks, or question marks
(#1737) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1737) Inline comments must end in full-stops, exclamation marks, or question marks
(#1738) Commas (,) must be followed by white space.
(#1741) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1741) Inline comments must end in full-stops, exclamation marks, or question marks
(#1743) Variable "members_ist" must not contain underscores.
(#1744) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1744) Inline comments must end in full-stops, exclamation marks, or question marks
(#1746) Variable "members_soll" must not contain underscores.
(#1747) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1747) Inline comments must end in full-stops, exclamation marks, or question marks
(#1748) Variable "enrol_instance" must not contain underscores.
(#1749) Variable "enrol_instance" must not contain underscores.
(#1750) Line exceeds 132 characters; contains 137 characters
(#1752) Variable "enrol_instance" must not contain underscores.
(#1752) Variable "members_ist" must not contain underscores.
(#1752) Variable "members_soll" must not contain underscores.
(#1774) Variable "ldap_students" must not contain underscores.
(#1777) Variable "mdl_students" must not contain underscores.
(#1777) Short array syntax must be used to define arrays
(#1778) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1779) Variable "mdl_students" must not contain underscores.
(#1781) Short array syntax must be used to define arrays
(#1782) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1782) Variable "ldap_students" must not contain underscores.
(#1783) Variable "mdl_students" must not contain underscores.
(#1796) Expected "if (...) {\n"; found "if(...) {\n"
(#1796) Logical operator "or" is prohibited; use "||" instead
(#1796) Logical operator "or" is prohibited; use "||" instead
(#1796) Logical operator "or" is prohibited; use "||" instead
(#1813) Expected "if (...) {\n"; found "if(...) {\n"
(#1813) Logical operator "or" is prohibited; use "||" instead
(#1813) Logical operator "or" is prohibited; use "||" instead
(#1813) Logical operator "or" is prohibited; use "||" instead
(#1832) Short array syntax must be used to define arrays
(#1834) Short array syntax must be used to define arrays
(#1835) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1842) Expected "if (...) {\n"; found "if(...) {\n"
(#1842) Empty IF statement detected
(#1843) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1843) Inline comments must end in full-stops, exclamation marks, or question marks
(#1845) Expected "if (...) {\n"; found "if(...) {\n"
(#1845) Empty IF statement detected
(#1846) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1846) Inline comments must end in full-stops, exclamation marks, or question marks
(#1848) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1848) Inline comments must end in full-stops, exclamation marks, or question marks
(#1849) Variable "relation_to_be" must not contain underscores.
(#1855) Short array syntax must be used to define arrays
(#1856) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1859) Variable "to_create" must not contain underscores.
(#1860) Variable "to_delete" must not contain underscores.
(#1861) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1861) Variable "to_create" must not contain underscores.
(#1862) Expected "if (...) {\n"; found "if(...) {\n"
(#1868) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1868) Variable "to_delete" must not contain underscores.
(#1869) Expected "if (...) {\n"; found "if(...) {\n"
(#1889) Variable "attic_obj" must not contain underscores.
(#1890) Variable "attic_obj" must not contain underscores.
(#1899) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1899) Inline comments must end in full-stops, exclamation marks, or question marks
(#1923) Expected "} else {\n"; found "}\n else {\n"
(#1936) Commas (,) must be followed by white space.
(#1938) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1938) Inline comments must end in full-stops, exclamation marks, or question marks
(#1953) Short array syntax must be used to define arrays
(#1976) Variable "ignored_teachers" must not contain underscores.
(#1977) Variable "ignored_teachers" must not contain underscores.
(#1980) Variable "ignored_teachers" must not contain underscores.
(#2003) Variable "cat_obj" must not contain underscores.
(#2003) Short array syntax must be used to define arrays
(#2004) Commas (,) must be followed by white space.
(#2005) Variable "cat_obj" must not contain underscores.
(#2006) Variable "cat_obj" must not contain underscores.
(#2006) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2006) Inline comments must end in full-stops, exclamation marks, or question marks
(#2008) Variable "cat_obj" must not contain underscores.
(#2012) Variable "cat_obj" must not contain underscores.
(#2014) Variable "cat_obj" must not contain underscores.
(#2018) Variable "cat_obj" must not contain underscores.
(#2018) Line exceeds 132 characters; contains 163 characters
(#2020) Variable "cat_obj" must not contain underscores.
(#2033) Commas (,) must be followed by white space.
(#2035) Expected "if (...) {\n"; found "if (...){\n"
(#2044) Variable "teacher_coursecreator" must not contain underscores.
(#2044) Short array syntax must be used to define arrays
(#2046) Variable "teacher_editingteacher" must not contain underscores.
(#2046) Short array syntax must be used to define arrays
(#2046) Line exceeds 132 characters; contains 135 characters
(#2048) Variable "teacher_coursecreator" must not contain underscores.
(#2048) Variable "teacher_editingteacher" must not contain underscores.
(#2062) Expected "if (...) {\n"; found "if (...){\n"
(#2077) Line exceeds 132 characters; contains 133 characters
(#2097) Expected "if (...) {\n"; found "if (...){\n"
(#2122) Expected 0 spaces after "create_category"; 1 found
(#2123) Commas (,) must be followed by white space.
(#2141) Short array syntax must be used to define arrays
(#2148) Missing docblock for function userid_from_dn
(#2153) Logical operator "or" is prohibited; use "||" instead
(#2154) Logical operator "or" is prohibited; use "||" instead
(#2157) Variable "field_map_idnumber" must not contain underscores.
(#2157) Expected 1 space before "?"; 0 found
(#2158) Variable "field_map_idnumber" must not contain underscores.
(#2159) Commas (,) must be followed by white space.
(#2159) Commas (,) must be followed by white space.
(#2169) Missing docblock for function test_sync_user_enrolments
(#2171) Short array syntax must be used to define arrays
enrol/oss/parents/parents.php
(#20) Incorrect @package tag for file parents.php. Expected enrol_oss, found enrol.
(#33) Variable "parents_enabled" must not contain underscores.
(#35) Expected "if (...) {\n"; found "if(...) {\n"
(#35) Variable "parents_enabled" must not contain underscores.
(#37) Short array syntax must be used to define arrays
(#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
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Variable "action_form" must not contain underscores.
(#45) Variable "action_form" must not contain underscores.
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Short array syntax must be used to define arrays
(#51) Line exceeds 132 characters; contains 143 characters
(#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
(#65) Variable "user_bulk_form" must not contain underscores.
(#67) Variable "user_bulk_form" must not contain underscores.
(#76) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#88) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#95) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#105) Inline comments must start with a capital letter, digit or 3-dots sequence
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Variable "user_bulk_form" must not contain underscores.
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Variable "user_bulk_form" must not contain underscores.
(#117) Variable "action_form" must not contain underscores.
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) Commas (,) must be followed by white space.
enrol/oss/parents/parents_set_passwords.php
(#20) Incorrect @package tag for file parents_set_passwords.php. Expected enrol_oss, found enrol.
(#55) Logical operator "and" is prohibited; use "&&" instead
(#72) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
enrol/oss/parents/parentslib.php
(#20) Incorrect @package tag for file parentslib.php. Expected enrol_oss, found enrol.
(#35) Missing docblock for function enrol_oss_add_selection_all
(#38) Short array syntax must be used to define arrays
(#49) Missing docblock for function enrol_oss_format_parents_select_menu
(#51) Short array syntax must be used to define arrays
(#79) Missing docblock for function enrol_oss_get_selection_data
(#83) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#100) Line exceeds 132 characters; contains 136 characters
(#107) Missing docblock for function enrol_oss_parents_update_parents
enrol/oss/settings.php
(#1) Moodle boilerplate not found
(#19) Incorrect @package tag for file settings.php. Expected enrol_oss, found enrol.
(#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
(#43) Short array syntax must be used to define arrays
(#47) Commas (,) must be followed by white space.
(#71) Commas (,) must be followed by white space.
(#90) Commas (,) must be followed by white space.
(#138) Commas (,) must be followed by white space.
(#159) Commas (,) must be followed by white space.
(#160) Commas (,) must be followed by white space.
(#164) Variable "settings_class_category" must not contain underscores.
(#167) Variable "settings_class_category" must not contain underscores.
(#168) Variable "settings_class_category" must not contain underscores.
(#170) Commas (,) must be followed by white space.
(#171) Commas (,) must be followed by white space.
(#171) Commas (,) must be followed by white space.
(#173) Commas (,) must be followed by white space.
(#174) Commas (,) must be followed by white space.
(#174) Commas (,) must be followed by white space.
(#176) Commas (,) must be followed by white space.
(#177) Commas (,) must be followed by white space.
(#177) Commas (,) must be followed by white space.
(#179) Commas (,) must be followed by white space.
(#180) Commas (,) must be followed by white space.
(#182) Commas (,) must be followed by white space.
(#183) Commas (,) must be followed by white space.
(#183) Commas (,) must be followed by white space.
(#184) Variable "enrol_oss_courses" must not contain underscores.
(#184) Short array syntax must be used to define arrays
(#185) Variable "enrol_oss_coursenames" must not contain underscores.
(#186) Variable "enrol_oss_coursenames" must not contain underscores.
(#187) Variable "enrol_oss_courses" must not contain underscores.
(#189) Variable "enrol_oss_courses" must not contain underscores.
(#189) Commas (,) must be followed by white space.
(#192) Variable "enrol_oss_courses" must not contain underscores.
(#194) Commas (,) must be followed by white space.
(#195) Commas (,) must be followed by white space.
(#197) Commas (,) must be followed by white space.
(#198) Commas (,) must be followed by white space.
(#200) Commas (,) must be followed by white space.
(#201) Commas (,) must be followed by white space.
(#201) Commas (,) must be followed by white space.
(#229) Inline comments must start with a capital letter, digit or 3-dots sequence
(#229) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) Variable "settings_class_teachers_group_description" must not contain underscores.
(#237) Variable "settings_class_teachers_group_description" must not contain underscores.
(#238) Variable "settings_class_teachers_group_description" must not contain underscores.
(#239) Variable "settings_class_students_group_description" must not contain underscores.
(#243) Variable "settings_class_students_group_description" must not contain underscores.
(#244) Variable "settings_class_students_group_description" must not contain underscores.
(#245) Variable "settings_class_parents_group_description" must not contain underscores.
(#249) Variable "settings_class_parents_group_description" must not contain underscores.
(#250) Variable "settings_class_parents_group_description" must not contain underscores.
(#252) Inline comments must start with a capital letter, digit or 3-dots sequence
(#252) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) Commas (,) must be followed by white space.
(#255) Commas (,) must be followed by white space.
enrol/oss/settings_callbacks.php
(#22) Incorrect @package tag for file settings_callbacks.php. Expected enrol_oss, found enrol.
(#32) Missing docblock for function enrol_oss_settings_class_category_updated
(#32) Variable "full_name" must not contain underscores.
(#35) "require_once" must be immediately followed by an open parenthesis
(#40) Short array syntax must be used to define arrays
(#44) Missing docblock for function enrol_oss_description_updated
(#48) Short array syntax must be used to define arrays
(#48) Line exceeds 132 characters; contains 166 characters
(#49) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#56) Missing docblock for function enrol_oss_settings_class_teachers_group_description_updated
(#56) Variable "full_name" must not contain underscores.
(#61) Missing docblock for function enrol_oss_settings_class_students_group_description_updated
(#61) Variable "full_name" must not contain underscores.
(#66) Missing docblock for function enrol_oss_settings_class_parents_group_description_updated
(#66) Variable "full_name" must not contain underscores.
enrol/oss/version.php
(#20) Incorrect @package tag for file version.php. Expected enrol_oss, found enrol.
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Short array syntax must be used to define arrays

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

(16 errors, 0 warnings)

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

enrol/oss/lib.php
(#384) Phpdocs for function enrol_oss_plugin::update_city has incomplete parameters list
(#581) Phpdocs for function enrol_oss_plugin::ldap_get_grouplist has incomplete parameters list
(#671) Phpdocs for function enrol_oss_plugin::ldap_get_group_members has incomplete parameters list
(#883) Phpdocs for function enrol_oss_plugin::get_coursecohortlist has incomplete parameters list
(#975) Phpdocs for function enrol_oss_plugin::is_teacher has incomplete parameters list
(#1054) Phpdocs for function enrol_oss_plugin::get_class_category has incomplete parameters list
(#1122) Phpdocs for function enrol_oss_plugin::get_classes_ldap has incomplete parameters list
(#1646) Phpdocs for function enrol_oss_plugin::classes_get_enrolled has incomplete parameters list
(#1666) Phpdocs for function enrol_oss_plugin::classes_get_course has incomplete parameters list
(#1791) Phpdocs for function enrol_oss_plugin::parents_add_relationship has incomplete parameters list
(#1808) Phpdocs for function enrol_oss_plugin::parents_remove_relationship has incomplete parameters list
(#1881) Phpdocs for function enrol_oss_plugin::delete_move_teacher_to_attic has incomplete parameters list
(#1931) Phpdocs for function enrol_oss_plugin::resort_categories has incomplete parameters list
(#1964) Phpdocs for function enrol_oss_plugin::is_ignored_teacher has incomplete parameters list
(#1983) Phpdocs for function enrol_oss_plugin::teacher_add_category has incomplete parameters list
(#2112) Phpdocs for function enrol_oss_plugin::create_category has incomplete parameters list

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

(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]