Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(110 errors, 61 warnings)

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

enrol/attributes/classes/task/processenrolments_task.php
(#42) "require_once" must be immediately followed by an open parenthesis
enrol/attributes/db/events.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
enrol/attributes/edit.php
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Expected "} else {\n"; found "}\nelse {\n"
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#83) Expected "} else {\n"; found "}\n else {\n"
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) The use of function print_r() is forbidden
(#112) Variable "debug_fieldsandrules" must not contain underscores.
(#113) The use of function print_r() is forbidden
(#113) Variable "debug_fieldsandrules" must not contain underscores.
(#114) Variable "debug_arraysql" must not contain underscores.
(#114) Variable "debug_fieldsandrules" must not contain underscores.
(#115) The use of function print_r() is forbidden
(#115) Variable "debug_arraysql" must not contain underscores.
(#116) Variable "debug_sqlquery" must not contain underscores.
(#117) Variable "debug_arraysql" must not contain underscores.
(#117) Variable "debug_arraysql" must not contain underscores.
(#118) The use of function print_r() is forbidden
(#118) Variable "debug_sqlquery" must not contain underscores.
(#119) Variable "debug_users" must not contain underscores.
(#119) Variable "debug_sqlquery" must not contain underscores.
(#119) Variable "debug_arraysql" must not contain underscores.
(#120) The use of function print_r() is forbidden
(#120) Variable "debug_users" must not contain underscores.
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) This comment is 55% valid code; is this commented out code?
(#121) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#122) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
enrol/attributes/edit_form.php
(#27) "require_once" must be immediately followed by an open parenthesis
(#31) Visibility must be declared on method "definition"
(#44) Expected "} else {\n"; found "}\n else {\n"
(#75) Visibility must be declared on method "add_action_buttons"
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) No space found before comment text; expected "// when two elements we need a group" but found "//when two elements we need a group"
enrol/attributes/force.php
(#52) Expected "} else {\n"; found "}\nelse {\n"
enrol/attributes/jsparams.php
(#24) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
enrol/attributes/lib.php
(#25) "require_once" must be immediately followed by an open parenthesis
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Line exceeds 132 characters; contains 133 characters
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Line exceeds 132 characters; contains 143 characters
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Variable "mappings_str" must not contain underscores.
(#52) Variable "mappings_str" must not contain underscores.
(#52) Variable "mapping_str" must not contain underscores.
(#53) Variable "mapping_str" must not contain underscores.
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Variable "possible_unenrolments" must not contain underscores.
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Variable "enrol_attributes_records" must not contain underscores.
(#95) Expected "} else {\n"; found "}\n else {\n"
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Variable "enrol_attributes_records" must not contain underscores.
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Variable "possible_unenrolments" must not contain underscores.
(#112) Line exceeds maximum limit of 180 characters; contains 203 characters
(#115) Expected "} else {\n"; found "}\n else {\n"
(#116) Variable "possible_unenrolments" must not contain underscores.
(#117) Line exceeds maximum limit of 180 characters; contains 188 characters
(#122) Inline comments must start with a capital letter, digit or 3-dots sequence
(#123) Variable "possible_unenrolments" must not contain underscores.
(#123) Variable "user_enrolment" must not contain underscores.
(#126) Inline comments must start with a capital letter, digit or 3-dots sequence
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Variable "unenrol_attributes_record" must not contain underscores.
(#135) Variable "user_enrolment" must not contain underscores.
(#137) Variable "unenrol_attributes_record" must not contain underscores.
(#141) Variable "unenrol_attributes_record" must not contain underscores.
(#145) Variable "user_enrolment" must not contain underscores.
(#149) Variable "unenrol_attributes_record" must not contain underscores.
(#152) Variable "users_cache" must not contain underscores.
(#153) Variable "users_cache" must not contain underscores.
(#154) Variable "users_cache" must not contain underscores.
(#157) Expected "} else {\n"; found "}\n else {\n"
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Variable "enrol_attributes_instance" must not contain underscores.
(#167) Variable "unenrol_attributes_record" must not contain underscores.
(#168) Variable "enrol_attributes_instance" must not contain underscores.
(#168) Variable "unenrol_attributes_record" must not contain underscores.
(#170) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#170) Variable "unenrol_attributes_record" must not contain underscores.
(#171) Variable "enrol_attributes_instance" must not contain underscores.
(#171) Variable "unenrol_attributes_record" must not contain underscores.
(#178) Inline comments must start with a capital letter, digit or 3-dots sequence
(#179) Variable "enrol_attributes_records" must not contain underscores.
(#179) Variable "enrol_attributes_record" must not contain underscores.
(#182) Inline comments must start with a capital letter, digit or 3-dots sequence
(#182) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) Variable "enrol_attributes_record" must not contain underscores.
(#190) Expected "} else {\n"; found "}\n else {\n"
(#191) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Variable "configured_profilefields" must not contain underscores.
(#199) Variable "configured_profilefields" must not contain underscores.
(#203) Variable "enrol_attributes_instance" must not contain underscores.
(#204) Variable "enrol_attributes_instance" must not contain underscores.
(#204) Variable "enrol_attributes_record" must not contain underscores.
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#211) Expected "} else {\n"; found "}\n else { // called by scheduled task or by construct\n"
(#211) Inline comments must start with a capital letter, digit or 3-dots sequence
(#211) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) Variable "enrol_attributes_record" must not contain underscores.
(#218) Variable "users_cache" must not contain underscores.
(#219) Variable "users_cache" must not contain underscores.
(#220) Variable "users_cache" must not contain underscores.
(#223) Expected "} else {\n"; found "}\n else {\n"
(#231) Variable "enrol_attributes_record" must not contain underscores.
(#232) Inline comments must start with a capital letter, digit or 3-dots sequence
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) Variable "enrol_attributes_instance" must not contain underscores.
(#234) Variable "enrol_attributes_record" must not contain underscores.
(#235) Variable "enrol_attributes_record" must not contain underscores.
(#241) Inline comments must start with a capital letter, digit or 3-dots sequence
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#253) Opening brace must be the last content on the line
(#253) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) Variable "attrsyntax_object" must not contain underscores.
(#257) Variable "attrsyntax_object" must not contain underscores.
(#270) Variable "join_id" must not contain underscores.
(#281) Expected "} else {\n"; found "}\n else {\n"
(#284) Inline comments must start with a capital letter, digit or 3-dots sequence
(#284) Inline comments must end in full-stops, exclamation marks, or question marks
(#290) Variable "sub_arraysyntax" must not contain underscores.
(#294) Variable "sub_sql" must not contain underscores.
(#294) Variable "sub_arraysyntax" must not contain underscores.
(#294) Variable "join_id" must not contain underscores.
(#295) Variable "sub_sql" must not contain underscores.
(#296) Variable "sub_sql" must not contain underscores.
(#297) Variable "sub_sql" must not contain underscores.
(#299) Expected "} else {\n"; found "}\n else {\n"
(#301) Inline comments must start with a capital letter, digit or 3-dots sequence
(#301) Inline comments must end in full-stops, exclamation marks, or question marks
(#302) Variable "join_id" must not contain underscores.
(#303) Variable "join_id" must not contain underscores.
(#304) Variable "join_id" must not contain underscores.
(#304) Variable "join_id" must not contain underscores.
(#304) Variable "join_id" must not contain underscores.
(#304) Line exceeds 132 characters; contains 161 characters
(#305) Line exceeds 132 characters; contains 157 characters
(#369) Variable "configured_profilefields" must not contain underscores.
(#370) Variable "configured_profilefields" must not contain underscores.
(#371) Inline comments must start with a capital letter, digit or 3-dots sequence
(#371) Inline comments must end in full-stops, exclamation marks, or question marks
(#375) Inline comments must start with a capital letter, digit or 3-dots sequence
(#375) Inline comments must end in full-stops, exclamation marks, or question marks
enrol/attributes/purge.php
(#43) Expected "} else {\n"; found "}\nelse {\n"
enrol/attributes/settings.php
(#26) "require_once" must be immediately followed by an open parenthesis
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Variable "student_role" must not contain underscores.
(#38) Variable "student_role" must not contain underscores.
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Line exceeds maximum limit of 180 characters; contains 193 characters
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
enrol/attributes/version.php
(#27) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(56 errors, 129 warnings)

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

enrol/attributes/js/javascript.js
(#23) Identifier 'enrol_attributes_purge' is not in camel case. (camelcase)
(#23) 'enrol_attributes_purge' is assigned a value but never used. (no-unused-vars)
(#23) Identifier 'enrol_attributes_force' is not in camel case. (camelcase)
(#23) 'enrol_attributes_force' is not defined. (no-undef)
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#24) Unexpected alert. (no-alert)
(#27) Unexpected space before function parentheses. (space-before-function-paren)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#31) Identifier '$shib_rules' is not in camel case. (camelcase)
(#35) Identifier 'shib_boolconfig' is not in camel case. (camelcase)
(#35) 'shib_boolconfig' used outside of binding context. (block-scoped-var)
(#35) eval can be harmful. (no-eval)
(#36) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#38) 'shib_boolconfig' is already defined. (no-redeclare)
(#38) 'shib_boolconfig' used outside of binding context. (block-scoped-var)
(#38) Identifier 'shib_boolconfig' is not in camel case. (camelcase)
(#45) Identifier '$shib_rules' is not in camel case. (camelcase)
(#46) 'shib_boolconfig' used outside of binding context. (block-scoped-var)
(#46) 'shib_boolconfig' used outside of binding context. (block-scoped-var)
(#46) Identifier 'shib_boolconfig' is not in camel case. (camelcase)
(#47) Identifier 'enrol_attributes_updateExpr' is not in camel case. (camelcase)
(#52) Identifier 'enrol_attributes_purge' is not in camel case. (camelcase)
(#52) Unexpected space before function parentheses. (space-before-function-paren)
(#53) Unexpected confirm. (no-alert)
(#54) This line has a length of 156. Maximum allowed is 132. (max-len)
(#55) Unexpected space before function parentheses. (space-before-function-paren)
(#56) Unexpected alert. (no-alert)
(#59) Missing semicolon. (semi)
(#61) Identifier 'enrol_attributes_force' is not in camel case. (camelcase)
(#61) 'enrol_attributes_force' is not defined. (no-undef)
(#61) Unexpected space before function parentheses. (space-before-function-paren)
(#62) Unexpected confirm. (no-alert)
(#63) This line has a length of 156. Maximum allowed is 132. (max-len)
(#64) Unexpected space before function parentheses. (space-before-function-paren)
(#65) Unexpected alert. (no-alert)
(#68) Missing semicolon. (semi)
(#69) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#77) Missing JSDoc comment. (require-jsdoc)
(#77) Identifier 'enrol_attributes_updateExpr' is not in camel case. (camelcase)
(#78) 'expressionStr' is assigned a value but never used. (no-unused-vars)
(#79) 'serializedObj' is assigned a value but never used. (no-unused-vars)
(#85) 'jQuery' is not defined. (no-undef)
(#85) Missing semicolon. (semi)
enrol/attributes/js/jquery.booleanEditor.js
(#23) Unnecessary semicolon. (no-extra-semi)
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#41) Unexpected space before function parentheses. (space-before-function-paren)
(#42) Comments should not begin with a lowercase character. (capitalized-comments)
(#46) Expected { after 'if' condition. (curly)
(#48) There should be no space after this paren. (space-in-parens)
(#48) There should be no space before this paren. (space-in-parens)
(#49) Identifier 'ser_obj' is not in camel case. (camelcase)
(#54) Unreachable code. (no-unreachable)
(#58) Identifier 'ser_obj' is not in camel case. (camelcase)
(#60) Unreachable code. (no-unreachable)
(#63) Unreachable code. (no-unreachable)
(#65) Method 'booleanEditor' expected a return value. (consistent-return)
(#68) 'settings' is not defined. (no-undef)
(#70) Unexpected space before function parentheses. (space-before-function-paren)
(#71) 'settings' is not defined. (no-undef)
(#72) 'settings' is not defined. (no-undef)
(#72) Missing semicolon. (semi)
(#76) 'settings' is not defined. (no-undef)
(#84) Missing JSDoc comment. (require-jsdoc)
(#84) Identifier 'root_elem' is not in camel case. (camelcase)
(#85) Identifier 'ser_obj' is not in camel case. (camelcase)
(#86) Identifier 'group_c_op' is not in camel case. (camelcase)
(#87) Expected { after 'if' condition. (curly)
(#87) Identifier 'group_c_op' is not in camel case. (camelcase)
(#88) Identifier 'ser_obj' is not in camel case. (camelcase)
(#88) Identifier 'cond_op' is not in camel case. (camelcase)
(#88) Identifier 'group_c_op' is not in camel case. (camelcase)
(#90) Unexpected space before function parentheses. (space-before-function-paren)
(#91) 'r' is not defined. (no-undef)
(#92) 'r' is not defined. (no-undef)
(#93) Identifier 'ser_obj' is not in camel case. (camelcase)
(#93) ["rules"] is better written in dot notation. (dot-notation)
(#94) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#96) Identifier 'cond_obj' is not in camel case. (camelcase)
(#97) 'r' is not defined. (no-undef)
(#98) Identifier 'comp_op' is not in camel case. (camelcase)
(#98) 'r' is not defined. (no-undef)
(#99) 'r' is not defined. (no-undef)
(#101) Identifier 'cond_op' is not in camel case. (camelcase)
(#101) 'r' is not defined. (no-undef)
(#102) Expected { after 'if' condition. (curly)
(#102) Identifier 'cond_op' is not in camel case. (camelcase)
(#103) Identifier 'cond_obj' is not in camel case. (camelcase)
(#103) Identifier 'cond_op' is not in camel case. (camelcase)
(#103) Identifier 'cond_op' is not in camel case. (camelcase)
(#104) Identifier 'ser_obj' is not in camel case. (camelcase)
(#104) ["rules"] is better written in dot notation. (dot-notation)
(#107) Identifier 'ser_obj' is not in camel case. (camelcase)
(#111) Missing JSDoc comment. (require-jsdoc)
(#113) Unexpected space before function parentheses. (space-before-function-paren)
(#114) 'r' is not defined. (no-undef)
(#115) Identifier 'c_op' is not in camel case. (camelcase)
(#115) 'r' is not defined. (no-undef)
(#116) Expected { after 'if' condition. (curly)
(#116) Identifier 'c_op' is not in camel case. (camelcase)
(#116) Identifier 'c_op' is not in camel case. (camelcase)
(#116) Identifier 'c_op' is not in camel case. (camelcase)
(#118) 'r' is not defined. (no-undef)
(#119) This line has a length of 160. Maximum allowed is 132. (max-len)
(#119) Identifier 'c_op' is not in camel case. (camelcase)
(#120) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#123) Identifier 'c_op' is not in camel case. (camelcase)
(#125) 'r' is not defined. (no-undef)
(#126) 'r' is not defined. (no-undef)
(#127) 'r' is not defined. (no-undef)
(#136) Missing JSDoc comment. (require-jsdoc)
(#137) '$o' is not defined. (no-undef)
(#138) '$o' is not defined. (no-undef)
(#139) '$o' is not defined. (no-undef)
(#139) '$o' is not defined. (no-undef)
(#141) '$o' is not defined. (no-undef)
(#142) '$o' is not defined. (no-undef)
(#142) '$o' is not defined. (no-undef)
(#147) Missing JSDoc comment. (require-jsdoc)
(#147) Identifier 'list_elem' is not in camel case. (camelcase)
(#148) Comments should not begin with a lowercase character. (capitalized-comments)
(#148) Expected space or tab after '//' in comment. (spaced-comment)
(#150) Identifier 'list_elem' is not in camel case. (camelcase)
(#151) Unexpected console statement. (no-console)
(#157) Identifier 'list_elem' is not in camel case. (camelcase)
(#161) Identifier 'r_idx' is not in camel case. (camelcase)
(#161) Identifier 'r_idx' is not in camel case. (camelcase)
(#161) Identifier 'r_idx' is not in camel case. (camelcase)
(#163) ["first"] is better written in dot notation. (dot-notation)
(#163) Identifier 'r_idx' is not in camel case. (camelcase)
(#169) Identifier 'list_elem' is not in camel case. (camelcase)
(#171) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#173) Identifier 'list_elem' is not in camel case. (camelcase)
(#178) Function 'createRuleList' expected no return value. (consistent-return)
(#178) Identifier 'list_elem' is not in camel case. (camelcase)
(#179) Unnecessary semicolon. (no-extra-semi)
(#182) Missing JSDoc @returns for function. (valid-jsdoc)
(#182) Missing JSDoc for parameter 'config'. (valid-jsdoc)
(#191) Identifier 'cond_op' is not in camel case. (camelcase)
(#193) Identifier 'comp_op' is not in camel case. (camelcase)
(#202) Identifier 'cond_block_content' is not in camel case. (camelcase)
(#204) Identifier 'cond_block_content' is not in camel case. (camelcase)
(#206) Identifier 'cond_block_content' is not in camel case. (camelcase)
(#207) Multiple spaces found before '// The list of...'. (no-multi-spaces)
(#210) Identifier 'selected_value' is not in camel case. (camelcase)
(#219) Unexpected space before function parentheses. (space-before-function-paren)
(#220) Missing semicolon. (semi)
(#222) Multiple spaces found before '// The value o...'. (no-multi-spaces)
(#229) Missing semicolon. (semi)
(#233) Unnecessary semicolon. (no-extra-semi)
(#236) Missing JSDoc comment. (require-jsdoc)
(#244) Identifier 'selected_value' is not in camel case. (camelcase)
(#249) Missing JSDoc comment. (require-jsdoc)
(#251) This line has a length of 139. Maximum allowed is 132. (max-len)
(#251) Operator '+' must be spaced. (space-infix-ops)
(#251) Operator '+' must be spaced. (space-infix-ops)
(#252) Unexpected space before function parentheses. (space-before-function-paren)
(#256) This line has a length of 136. Maximum allowed is 132. (max-len)
(#256) Operator '+' must be spaced. (space-infix-ops)
(#256) Operator '+' must be spaced. (space-infix-ops)
(#257) Unexpected space before function parentheses. (space-before-function-paren)
(#261) This line has a length of 142. Maximum allowed is 132. (max-len)
(#261) Operator '+' must be spaced. (space-infix-ops)
(#261) Operator '+' must be spaced. (space-infix-ops)
(#262) Unexpected space before function parentheses. (space-before-function-paren)
(#266) Unexpected space before function parentheses. (space-before-function-paren)
(#268) Unexpected space before function parentheses. (space-before-function-paren)
(#269) Missing semicolon. (semi)
(#278) Missing JSDoc comment. (require-jsdoc)
(#283) Identifier 'selected_value' is not in camel case. (camelcase)
(#288) Unexpected space before function parentheses. (space-before-function-paren)
(#291) Unexpected space before function parentheses. (space-before-function-paren)
(#292) Identifier 'p_obj' is not in camel case. (camelcase)
(#296) Identifier 'p_obj' is not in camel case. (camelcase)
(#298) Identifier 'p_obj' is not in camel case. (camelcase)
(#308) Missing JSDoc comment. (require-jsdoc)
(#312) Unexpected space before function parentheses. (space-before-function-paren)
(#313) Missing semicolon. (semi)
(#318) Missing JSDoc comment. (require-jsdoc)
(#325) Unexpected space before function parentheses. (space-before-function-paren)
(#326) Missing semicolon. (semi)
(#336) Missing JSDoc comment. (require-jsdoc)
(#350) 'p' is not defined. (no-undef)
(#351) Unexpected space before function parentheses. (space-before-function-paren)
(#354) 'p' is not defined. (no-undef)
(#359) 'jQuery' is not defined. (no-undef)

CSS problems

(4 errors, 14 warnings)

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

enrol/attributes/styles.css
(#19) Expected "#EEE" to be "#eee" (color-hex-case)
(#57) Expected "#EEE" to be "#eee" (color-hex-case)
(#81) Expected "#CCC" to be "#ccc" (color-hex-case)
(#89) Expected "#BBB" to be "#bbb" (color-hex-case)
(#93) Expected "#C00" to be "#c00" (color-hex-case)
(#122) Expected "#EEEEEE" to be "#eeeeee" (color-hex-case)
(#130) Expected "#C00" to be "#c00" (color-hex-case)
(#148) Expected "#0A0" to be "#0a0" (color-hex-case)
(#122) Expected "#EEEEEE" to be "#EEE" (color-hex-length)
(#23) Unexpected unit (length-zero-no-unit)
(#81) Unexpected unit (length-zero-no-unit)
(#81) Unexpected unit (length-zero-no-unit)
(#97) Unexpected unit (length-zero-no-unit)
(#44) Expected line length to be no more than 132 characters (max-line-length)
(#119) Unexpected unit "pt" (unit-blacklist)
(#120) Unexpected unit "pt" (unit-blacklist)
(#135) Unexpected unit "pt" (unit-blacklist)
(#139) Unexpected unit "pt" (unit-blacklist)

PHPDocs style problems

(47 errors, 0 warnings)

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

enrol/attributes/classes/privacy/provider.php
(#29) Class provider is not documented
enrol/attributes/classes/task/invalidatecache_task.php
(#26) Class invalidatecache_task is not documented
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/classes/task/processenrolments_task.php
(#26) Class processenrolments_task is not documented
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/cli/sync.php
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/db/access.php
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/db/caches.php
(#17) No one-line description found in phpdocs for file
enrol/attributes/db/events.php
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/db/install.php
(#26) Function xmldb_enrol_attributes_install is not documented
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/db/tasks.php
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/edit.php
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/edit_form.php
(#29) Class enrol_attributes_edit_form is not documented
(#31) Function enrol_attributes_edit_form::definition is not documented
(#75) Function enrol_attributes_edit_form::add_action_buttons is not documented
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/force.php
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/jsparams.php
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/lang/en/enrol_attributes.php
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/lib.php
(#34) Function enrol_attributes_plugin::process_login is not documented
(#75) Function enrol_attributes_plugin::process_enrolments is not documented
(#253) Function enrol_attributes_plugin::attrsyntax_toarray is not documented
(#270) Function enrol_attributes_plugin::arraysyntax_tosql is not documented
(#325) Function enrol_attributes_plugin::purge_instance is not documented
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/locallib.php
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/purge.php
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/settings.php
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found
enrol/attributes/version.php
(#17) No one-line description found in phpdocs for file
(#17) Inline phpdocs tag not enclosed with curly brackets @link found

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

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