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

(552 errors, 282 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"
(#651) Whitespace found at end of line
(#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
(#787) Short array syntax must be used to define arrays
(#806) Commas (,) must be followed by white space.
(#841) Short array syntax must be used to define arrays
(#856) Short array syntax must be used to define arrays
(#857) Inline comments must start with a capital letter, digit or 3-dots sequence
(#857) Inline comments must end in full-stops, exclamation marks, or question marks
(#862) Short array syntax must be used to define arrays
(#863) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#866) Inline comments must start with a capital letter, digit or 3-dots sequence
(#866) Inline comments must end in full-stops, exclamation marks, or question marks
(#871) Inline comments must start with a capital letter, digit or 3-dots sequence
(#871) Inline comments must end in full-stops, exclamation marks, or question marks
(#874) Short array syntax must be used to define arrays
(#888) Short array syntax must be used to define arrays
(#891) Logical operator "or" is prohibited; use "||" instead
(#892) Logical operator "or" is prohibited; use "||" instead
(#892) Logical operator "or" is prohibited; use "||" instead
(#895) Short array syntax must be used to define arrays
(#902) Missing docblock for function get_cohort_members
(#915) Missing docblock for function cohort_is_member
(#917) Short array syntax must be used to define arrays
(#919) There should be a comma after the last array item in a multi-line array.
(#924) Missing docblock for function has_teachers_as_members
(#928) Commas (,) must be followed by white space.
(#1016) Variable "cat_obj" must not contain underscores.
(#1016) Short array syntax must be used to define arrays
(#1016) Commas (,) must be followed by white space.
(#1016) Commas (,) must be followed by white space.
(#1016) Line exceeds 132 characters; contains 143 characters
(#1017) Variable "cat_obj" must not contain underscores.
(#1018) Variable "cat_obj" must not contain underscores.
(#1018) Commas (,) must be followed by white space.
(#1020) Variable "cat_obj" must not contain underscores.
(#1021) Variable "cat_obj" must not contain underscores.
(#1025) Variable "cat_obj" must not contain underscores.
(#1035) Short array syntax must be used to define arrays
(#1035) Commas (,) must be followed by white space.
(#1035) Commas (,) must be followed by white space.
(#1035) Line exceeds 132 characters; contains 148 characters
(#1038) Commas (,) must be followed by white space.
(#1038) Commas (,) must be followed by white space.
(#1038) Commas (,) must be followed by white space.
(#1039) Variable "cat_obj" must not contain underscores.
(#1059) Variable "cat_obj" must not contain underscores.
(#1059) Short array syntax must be used to define arrays
(#1060) Variable "idnumber_class_cat" must not contain underscores.
(#1061) There should be a comma after the last array item in a multi-line array.
(#1063) Variable "cat_obj" must not contain underscores.
(#1065) Variable "cat_obj" must not contain underscores.
(#1065) Variable "idnumber_class_cat" must not contain underscores.
(#1065) Line exceeds 132 characters; contains 161 characters
(#1066) Variable "cat_obj" must not contain underscores.
(#1067) Variable "cat_obj" must not contain underscores.
(#1073) Variable "cat_obj" must not contain underscores.
(#1073) Variable "cat_obj" must not contain underscores.
(#1075) Variable "cat_obj" must not contain underscores.
(#1076) Variable "idnumber_class_cat" must not contain underscores.
(#1078) Variable "cat_obj" must not contain underscores.
(#1090) Short array syntax must be used to define arrays
(#1112) Space found before square bracket; expected "$ret[" but found "$ret ["
(#1127) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1127) Inline comments must end in full-stops, exclamation marks, or question marks
(#1131) Space found before square bracket; expected "$pattern[" but found "$pattern ["
(#1145) Short array syntax must be used to define arrays
(#1154) Short array syntax must be used to define arrays
(#1154) Commas (,) must be followed by white space.
(#1172) Short array syntax must be used to define arrays
(#1181) Short array syntax must be used to define arrays
(#1183) Short array syntax must be used to define arrays
(#1185) Commas (,) must be followed by white space.
(#1195) Missing docblock for function get_localname
(#1199) Usage of ELSEIF not allowed; use ELSE IF instead
(#1202) Commas (,) must be followed by white space.
(#1204) Commas (,) must be followed by white space.
(#1207) Spaces must be used to indent lines; tabs are not allowed
(#1207) Tab found within whitespace
(#1207) Line indented incorrectly; expected at least 8 spaces, found 2
(#1220) "require_once" must be immediately followed by an open parenthesis
(#1221) "require_once" must be immediately followed by an open parenthesis
(#1224) Line exceeds 132 characters; contains 146 characters
(#1243) Line exceeds 132 characters; contains 136 characters
(#1256) "require_once" must be immediately followed by an open parenthesis
(#1266) Visibility must be declared on method "sync_classes"
(#1273) Variable "ldap_classes" must not contain underscores.
(#1274) Variable "mdl_classes" must not contain underscores.
(#1276) Variable "to_add" must not contain underscores.
(#1276) Variable "ldap_classes" must not contain underscores.
(#1276) Commas (,) must be followed by white space.
(#1276) Variable "mdl_classes" must not contain underscores.
(#1277) Variable "to_add" must not contain underscores.
(#1278) Variable "to_add" must not contain underscores.
(#1282) Variable "to_remove" must not contain underscores.
(#1282) Variable "mdl_classes" must not contain underscores.
(#1282) Commas (,) must be followed by white space.
(#1282) Variable "ldap_classes" must not contain underscores.
(#1283) Variable "to_remove" must not contain underscores.
(#1284) Variable "to_remove" must not contain underscores.
(#1288) Commas (,) must be followed by white space.
(#1296) Missing docblock for function sync_classes_enrolments_user
(#1296) Visibility must be declared on method "sync_classes_enrolments_user"
(#1303) Expected "} else {\n"; found "} else {\n"
(#1306) Variable "ldap_classes" must not contain underscores.
(#1307) Variable "mdl_classes" must not contain underscores.
(#1308) Variable "to_enrol" must not contain underscores.
(#1308) Variable "ldap_classes" must not contain underscores.
(#1308) Commas (,) must be followed by white space.
(#1308) Variable "mdl_classes" must not contain underscores.
(#1309) Variable "to_unenrol" must not contain underscores.
(#1309) Variable "mdl_classes" must not contain underscores.
(#1309) Variable "ldap_classes" must not contain underscores.
(#1310) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1310) Variable "to_enrol" must not contain underscores.
(#1311) Variable "mdl_classes" must not contain underscores.
(#1313) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1313) Variable "to_unenrol" must not contain underscores.
(#1314) Variable "mdl_classes" must not contain underscores.
(#1321) Missing docblock for function get_enrol_instance
(#1323) Variable "enrol_instance" must not contain underscores.
(#1323) Short array syntax must be used to define arrays
(#1324) Variable "enrol_instance" must not contain underscores.
(#1329) Variable "enrol_instance" must not contain underscores.
(#1329) Short array syntax must be used to define arrays
(#1331) Variable "enrol_instance" must not contain underscores.
(#1334) Missing docblock for function class_enrolunenrol
(#1334) Expected 0 spaces after "class_enrolunenrol"; 1 found
(#1334) Variable "enrol_instance" must not contain underscores.
(#1335) Variable "to_enrol" must not contain underscores.
(#1336) Variable "to_unenrol" must not contain underscores.
(#1337) Variable "to_enrol_teachers" must not contain underscores.
(#1337) Short array syntax must be used to define arrays
(#1338) Variable "to_enrol_students" must not contain underscores.
(#1338) Short array syntax must be used to define arrays
(#1339) Variable "to_enrol_parents" must not contain underscores.
(#1339) Short array syntax must be used to define arrays
(#1340) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1340) Variable "to_enrol" must not contain underscores.
(#1344) Variable "to_enrol_teachers" must not contain underscores.
(#1347) Variable "to_enrol_students" must not contain underscores.
(#1350) Variable "to_enrol_parents" must not contain underscores.
(#1355) Variable "to_enrol" must not contain underscores.
(#1355) Variable "to_unenrol" must not contain underscores.
(#1357) Variable "to_enrol" must not contain underscores.
(#1358) Variable "to_unenrol" must not contain underscores.
(#1360) Variable "to_enrol_teachers" must not contain underscores.
(#1361) Variable "enrol_instance" must not contain underscores.
(#1361) Variable "to_enrol_teachers" must not contain underscores.
(#1363) Variable "to_enrol_students" must not contain underscores.
(#1364) Variable "enrol_instance" must not contain underscores.
(#1364) Variable "to_enrol_students" must not contain underscores.
(#1366) Variable "to_enrol_parents" must not contain underscores.
(#1367) Variable "enrol_instance" must not contain underscores.
(#1367) Variable "to_enrol_parents" must not contain underscores.
(#1369) Variable "to_unenrol" must not contain underscores.
(#1370) Variable "enrol_instance" must not contain underscores.
(#1370) Variable "to_unenrol" must not contain underscores.
(#1377) Missing docblock for function sync_classes_enrolments
(#1377) Visibility must be declared on method "sync_classes_enrolments"
(#1378) Variable "class_obj" must not contain underscores.
(#1379) Variable "class_obj" must not contain underscores.
(#1382) Variable "mdl_classes" must not contain underscores.
(#1383) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1383) Variable "mdl_classes" must not contain underscores.
(#1384) Variable "ldap_members" must not contain underscores.
(#1385) Variable "ldap_members" must not contain underscores.
(#1385) Variable "ldap_members" must not contain underscores.
(#1387) Variable "enrol_instance" must not contain underscores.
(#1388) Variable "enrol_instance" must not contain underscores.
(#1392) Variable "mdl_members" must not contain underscores.
(#1393) Variable "enrol_instance" must not contain underscores.
(#1393) Variable "mdl_members" must not contain underscores.
(#1393) Variable "ldap_members" must not contain underscores.
(#1397) Missing docblock for function get_class_parents
(#1397) Visibility must be declared on method "get_class_parents"
(#1400) Expected "if (...) {\n"; found "if(...){\n"
(#1402) Short array syntax must be used to define arrays
(#1411) Short array syntax must be used to define arrays
(#1412) Short array syntax must be used to define arrays
(#1413) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1419) Missing docblock for function is_ldap_or_manual
(#1419) Visibility must be declared on method "is_ldap_or_manual"
(#1421) Expected "if (...) {\n"; found "if(...){\n"
(#1428) Missing docblock for function class_enrol
(#1428) Visibility must be declared on method "class_enrol"
(#1428) Variable "enrol_instance" must not contain underscores.
(#1431) Short array syntax must be used to define arrays
(#1434) Short array syntax must be used to define arrays
(#1436) There should be a comma after the last array item in a multi-line array.
(#1439) Line exceeds 132 characters; contains 138 characters
(#1442) Variable "enrol_instance" must not contain underscores.
(#1448) Missing docblock for function class_unenrol
(#1448) Visibility must be declared on method "class_unenrol"
(#1448) Variable "enrol_instance" must not contain underscores.
(#1451) Short array syntax must be used to define arrays
(#1454) Short array syntax must be used to define arrays
(#1456) There should be a comma after the last array item in a multi-line array.
(#1459) Line exceeds 132 characters; contains 142 characters
(#1462) Variable "enrol_instance" must not contain underscores.
(#1463) Line exceeds 132 characters; contains 158 characters
(#1474) Missing docblock for function sync_user_groups
(#1476) "require_once" must be immediately followed by an open parenthesis
(#1478) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1490) Missing docblock for function sync_class_groups
(#1492) "require_once" must be immediately followed by an open parenthesis
(#1496) Short array syntax must be used to define arrays
(#1497) Short array syntax must be used to define arrays
(#1498) Short array syntax must be used to define arrays
(#1509) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1510) Expected "if (...) {\n"; found "if(...) {\n"
(#1524) Missing docblock for function get_groupid
(#1527) Short array syntax must be used to define arrays
(#1532) Expected "if (...) {\n"; found "if(...) {\n"
(#1535) Short array syntax must be used to define arrays
(#1546) Missing docblock for function get_group
(#1552) Short array syntax must be used to define arrays
(#1552) Commas (,) must be followed by white space.
(#1555) Short array syntax must be used to define arrays
(#1561) Missing docblock for function class_create_group
(#1562) Commas (,) must be followed by white space.
(#1563) "require_once" must be immediately followed by an open parenthesis
(#1568) Short array syntax must be used to define arrays
(#1581) Missing docblock for function class_delete_group
(#1582) "require_once" must be immediately followed by an open parenthesis
(#1592) Missing docblock for function class_group_is_member
(#1594) "require_once" must be immediately followed by an open parenthesis
(#1602) Missing docblock for function class_group_add_member
(#1604) "require_once" must be immediately followed by an open parenthesis
(#1614) Missing docblock for function class_group_remove_member
(#1616) "require_once" must be immediately followed by an open parenthesis
(#1634) Variable "mdl_user_objects" must not contain underscores.
(#1635) Short array syntax must be used to define arrays
(#1636) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1636) Variable "mdl_user_objects" must not contain underscores.
(#1648) Short array syntax must be used to define arrays
(#1668) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1668) Inline comments must end in full-stops, exclamation marks, or question marks
(#1682) Line exceeds 132 characters; contains 148 characters
(#1692) Visibility must be declared on method "sync_collections_enrolments"
(#1692) Expected 1 space before opening brace; found 0
(#1695) Variable "course_allstds" must not contain underscores.
(#1695) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#1704) Short array syntax must be used to define arrays
(#1704) Commas (,) must be followed by white space.
(#1710) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1710) Inline comments must end in full-stops, exclamation marks, or question marks
(#1712) Variable "course_allstds" must not contain underscores.
(#1712) Commas (,) must be followed by white space.
(#1712) Line exceeds 132 characters; contains 134 characters
(#1713) Variable "course_allstds" must not contain underscores.
(#1714) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1714) Inline comments must end in full-stops, exclamation marks, or question marks
(#1715) Variable "course_allstds" must not contain underscores.
(#1716) Variable "members_ist" 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
(#1720) Variable "members_soll" must not contain underscores.
(#1721) Variable "enrol_instance" must not contain underscores.
(#1721) Variable "course_allstds" must not contain underscores.
(#1722) Variable "enrol_instance" must not contain underscores.
(#1723) Commas (,) must be followed by white space.
(#1723) Line exceeds maximum limit of 180 characters; contains 182 characters
(#1725) Variable "course_allstds" must not contain underscores.
(#1725) Variable "enrol_instance" must not contain underscores.
(#1725) Variable "members_ist" must not contain underscores.
(#1725) Variable "members_soll" must not contain underscores.
(#1730) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1730) Inline comments must end in full-stops, exclamation marks, or question marks
(#1734) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1734) Inline comments must end in full-stops, exclamation marks, or question marks
(#1735) Commas (,) must be followed by white space.
(#1738) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1738) Inline comments must end in full-stops, exclamation marks, or question marks
(#1740) Variable "members_ist" must not contain underscores.
(#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_soll" 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
(#1745) Variable "enrol_instance" must not contain underscores.
(#1746) Variable "enrol_instance" must not contain underscores.
(#1747) Line exceeds 132 characters; contains 137 characters
(#1749) Variable "enrol_instance" must not contain underscores.
(#1749) Variable "members_ist" must not contain underscores.
(#1749) Variable "members_soll" must not contain underscores.
(#1771) Variable "ldap_students" must not contain underscores.
(#1774) Variable "mdl_students" must not contain underscores.
(#1774) Short array syntax must be used to define arrays
(#1775) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1776) Variable "mdl_students" must not contain underscores.
(#1778) Short array syntax must be used to define arrays
(#1779) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1779) Variable "ldap_students" must not contain underscores.
(#1780) Variable "mdl_students" must not contain underscores.
(#1793) Expected "if (...) {\n"; found "if(...) {\n"
(#1793) Logical operator "or" is prohibited; use "||" instead
(#1793) Logical operator "or" is prohibited; use "||" instead
(#1793) Logical operator "or" is prohibited; use "||" instead
(#1810) Expected "if (...) {\n"; found "if(...) {\n"
(#1810) Logical operator "or" is prohibited; use "||" instead
(#1810) Logical operator "or" is prohibited; use "||" instead
(#1810) Logical operator "or" is prohibited; use "||" instead
(#1829) Short array syntax must be used to define arrays
(#1831) Short array syntax must be used to define arrays
(#1832) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1839) Expected "if (...) {\n"; found "if(...) {\n"
(#1839) Empty IF statement detected
(#1840) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1840) Inline comments must end in full-stops, exclamation marks, or question marks
(#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) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1845) Inline comments must end in full-stops, exclamation marks, or question marks
(#1846) Variable "relation_to_be" must not contain underscores.
(#1852) Short array syntax must be used to define arrays
(#1853) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1856) Variable "to_create" must not contain underscores.
(#1857) Variable "to_delete" must not contain underscores.
(#1858) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1858) Variable "to_create" must not contain underscores.
(#1859) Expected "if (...) {\n"; found "if(...) {\n"
(#1865) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#1865) Variable "to_delete" must not contain underscores.
(#1866) Expected "if (...) {\n"; found "if(...) {\n"
(#1886) Variable "attic_obj" must not contain underscores.
(#1887) Variable "attic_obj" must not contain underscores.
(#1896) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1896) Inline comments must end in full-stops, exclamation marks, or question marks
(#1920) Expected "} else {\n"; found "}\n else {\n"
(#1933) Commas (,) must be followed by white space.
(#1935) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1935) Inline comments must end in full-stops, exclamation marks, or question marks
(#1950) Short array syntax must be used to define arrays
(#1973) Variable "ignored_teachers" must not contain underscores.
(#1974) Variable "ignored_teachers" must not contain underscores.
(#1977) Variable "ignored_teachers" must not contain underscores.
(#2000) Variable "cat_obj" must not contain underscores.
(#2000) Short array syntax must be used to define arrays
(#2001) Commas (,) must be followed by white space.
(#2002) Variable "cat_obj" must not contain underscores.
(#2003) Variable "cat_obj" must not contain underscores.
(#2003) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2003) Inline comments must end in full-stops, exclamation marks, or question marks
(#2005) Variable "cat_obj" must not contain underscores.
(#2009) Variable "cat_obj" must not contain underscores.
(#2011) Variable "cat_obj" must not contain underscores.
(#2015) Variable "cat_obj" must not contain underscores.
(#2015) Line exceeds 132 characters; contains 163 characters
(#2017) Variable "cat_obj" must not contain underscores.
(#2030) Commas (,) must be followed by white space.
(#2032) Expected "if (...) {\n"; found "if (...){\n"
(#2041) Variable "teacher_coursecreator" must not contain underscores.
(#2041) Short array syntax must be used to define arrays
(#2043) Variable "teacher_editingteacher" must not contain underscores.
(#2043) Short array syntax must be used to define arrays
(#2043) Line exceeds 132 characters; contains 135 characters
(#2045) Variable "teacher_coursecreator" must not contain underscores.
(#2045) Variable "teacher_editingteacher" must not contain underscores.
(#2059) Expected "if (...) {\n"; found "if (...){\n"
(#2074) Line exceeds 132 characters; contains 133 characters
(#2094) Expected "if (...) {\n"; found "if (...){\n"
(#2119) Expected 0 spaces after "create_category"; 1 found
(#2120) Commas (,) must be followed by white space.
(#2138) Short array syntax must be used to define arrays
(#2145) Missing docblock for function userid_from_dn
(#2150) Logical operator "or" is prohibited; use "||" instead
(#2151) Logical operator "or" is prohibited; use "||" instead
(#2154) Variable "field_map_idnumber" must not contain underscores.
(#2154) Expected 1 space before "?"; 0 found
(#2155) Variable "field_map_idnumber" must not contain underscores.
(#2156) Commas (,) must be followed by white space.
(#2156) Commas (,) must be followed by white space.
(#2166) Missing docblock for function test_sync_user_enrolments
(#2168) 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.
(#198) Commas (,) must be followed by white space.
(#203) Commas (,) must be followed by white space.
(#204) 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
(#881) Phpdocs for function enrol_oss_plugin::get_coursecohortlist has incomplete parameters list
(#972) Phpdocs for function enrol_oss_plugin::is_teacher has incomplete parameters list
(#1051) Phpdocs for function enrol_oss_plugin::get_class_category has incomplete parameters list
(#1119) Phpdocs for function enrol_oss_plugin::get_classes_ldap has incomplete parameters list
(#1643) Phpdocs for function enrol_oss_plugin::classes_get_enrolled has incomplete parameters list
(#1663) Phpdocs for function enrol_oss_plugin::classes_get_course has incomplete parameters list
(#1788) Phpdocs for function enrol_oss_plugin::parents_add_relationship has incomplete parameters list
(#1805) Phpdocs for function enrol_oss_plugin::parents_remove_relationship has incomplete parameters list
(#1878) Phpdocs for function enrol_oss_plugin::delete_move_teacher_to_attic has incomplete parameters list
(#1928) Phpdocs for function enrol_oss_plugin::resort_categories has incomplete parameters list
(#1961) Phpdocs for function enrol_oss_plugin::is_ignored_teacher has incomplete parameters list
(#1980) Phpdocs for function enrol_oss_plugin::teacher_add_category has incomplete parameters list
(#2109) 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]