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

(169 errors, 95 warnings)

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

mod/confman/ajax.php
(#22) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
mod/confman/classes/comment_form.php
(#29) Member variable "accepted_types" must not contain underscores.
(#29) Scope modifier not specified for member variable "$accepted_types"
(#30) Scope modifier not specified for member variable "$areamaxbytes"
(#31) Scope modifier not specified for member variable "$maxbytes"
(#31) Expected 1 space before "*"; 0 found
(#31) Expected 1 space after "*"; 0 found
(#32) Scope modifier not specified for member variable "$maxfiles"
(#33) Scope modifier not specified for member variable "$subdirs"
(#35) Visibility must be declared on method "definition"
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#63) Visibility must be declared on method "validation"
mod/confman/classes/item_form.php
(#30) Member variable "accepted_types" must not contain underscores.
(#30) Scope modifier not specified for member variable "$accepted_types"
(#31) Scope modifier not specified for member variable "$areamaxbytes"
(#32) Scope modifier not specified for member variable "$maxbytes"
(#32) Expected 1 space before "*"; 0 found
(#32) Expected 1 space after "*"; 0 found
(#33) Scope modifier not specified for member variable "$maxfiles"
(#34) Scope modifier not specified for member variable "$subdirs"
(#36) Visibility must be declared on method "definition"
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#43) Expected 1 space before "=>"; 0 found
(#43) Expected 1 space after "=>"; 0 found
(#59) Variable "_event" must not contain underscores.
(#68) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#71) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#76) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#81) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#82) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#87) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#91) Line exceeds maximum limit of 180 characters; contains 182 characters
(#97) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#101) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#101) AS keyword must be lowercase; expected "as" but found "AS"
(#112) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#112) AS keyword must be lowercase; expected "as" but found "AS"
(#113) Line exceeds maximum limit of 180 characters; contains 237 characters
(#124) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#132) Inline comments must start with a capital letter, digit or 3-dots sequence
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) No space found before comment text; expected "// recaptcha is enabled" but found "//recaptcha is enabled"
(#141) The use of function eval() is forbidden
(#149) The use of function eval() is forbidden
(#155) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#156) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#157) Line exceeds 132 characters; contains 139 characters
(#173) Line exceeds maximum limit of 180 characters; contains 258 characters
(#180) Line exceeds 132 characters; contains 175 characters
mod/confman/db/access.php
(#63) File must end with a newline character
mod/confman/db/upgrade.php
(#37) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#37) AS keyword must be lowercase; expected "as" but found "AS"
(#48) Line exceeds 132 characters; contains 141 characters
(#49) Line exceeds 132 characters; contains 138 characters
(#50) Line exceeds 132 characters; contains 138 characters
(#51) Line exceeds 132 characters; contains 137 characters
(#52) Line exceeds 132 characters; contains 134 characters
(#54) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#54) AS keyword must be lowercase; expected "as" but found "AS"
(#59) Line exceeds 132 characters; contains 135 characters
(#84) AS keyword must be lowercase; expected "as" but found "AS"
(#90) Line exceeds 132 characters; contains 144 characters
(#91) AS keyword must be lowercase; expected "as" but found "AS"
mod/confman/export.php
(#36) Line exceeds 132 characters; contains 172 characters
(#39) AS keyword must be lowercase; expected "as" but found "AS"
(#75) Line indented incorrectly; expected at least 12 spaces, found 8
(#76) Line indented incorrectly; expected at least 12 spaces, found 8
(#77) Line indented incorrectly; expected at least 12 spaces, found 8
mod/confman/index.php
(#23) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) This comment is 59% valid code; is this commented out code?
(#63) No space found before comment text; expected "// ($USER->id == 0 || isguestuser($USER)) ? 'frametop' : 'incourse');" but found "//($USER->id == 0 || isguestuser($USER)) ? 'frametop' : 'incourse');"
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) Line exceeds maximum limit of 180 characters; contains 238 characters
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) This comment is 73% valid code; is this commented out code?
(#69) No space found before comment text; expected "// $PAGE->requires->js('/mod/confman/script/js.js');" but found "//$PAGE->requires->js('/mod/confman/script/js.js');"
(#70) No space found before comment text; expected "// $PAGE->requires->css('/mod/confman/style/main.css');" but found "//$PAGE->requires->css('/mod/confman/style/main.css');"
(#71) No space found before comment text; expected "// $PAGE->requires->css('/mod/confman/style/confman.min.css');" but found "//$PAGE->requires->css('/mod/confman/style/confman.min.css');"
(#75) Inline control structures are not allowed
(#81) Inline control structures are not allowed
(#94) Line exceeds maximum limit of 180 characters; contains 184 characters
(#98) Variable "OUPUT" must be all lower-case
(#108) Inline control structures are not allowed
(#111) Line exceeds 132 characters; contains 180 characters
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Line exceeds 132 characters; contains 149 characters
(#156) AS keyword must be lowercase; expected "as" but found "AS"
(#179) Inline control structures are not allowed
mod/confman/lib.php
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) This comment is 63% valid code; is this commented out code?
(#28) No space found before comment text; expected "// , '*', MUST_EXIST);" but found "//, '*', MUST_EXIST);"
(#30) AS keyword must be lowercase; expected "as" but found "AS"
(#38) Line exceeds 132 characters; contains 144 characters
(#38) Line exceeds 132 characters; contains 144 characters
(#38) Line exceeds 132 characters; contains 144 characters
(#38) Line exceeds 132 characters; contains 144 characters
(#38) Line exceeds 132 characters; contains 144 characters
(#38) Line exceeds 132 characters; contains 144 characters
(#38) Line exceeds 132 characters; contains 144 characters
(#38) Line exceeds 132 characters; contains 144 characters
(#38) Line exceeds 132 characters; contains 144 characters
(#38) Line exceeds 132 characters; contains 144 characters
(#38) Line exceeds 132 characters; contains 144 characters
(#38) Line exceeds 132 characters; contains 144 characters
(#38) Line exceeds 132 characters; contains 144 characters
(#100) Commas (,) must be followed by white space.
(#100) Line exceeds 132 characters; contains 163 characters
(#100) Line exceeds 132 characters; contains 163 characters
(#100) Line exceeds 132 characters; contains 163 characters
(#100) Line exceeds 132 characters; contains 163 characters
(#100) Line exceeds 132 characters; contains 163 characters
(#100) Line exceeds 132 characters; contains 163 characters
(#100) Line exceeds 132 characters; contains 163 characters
(#100) Line exceeds 132 characters; contains 163 characters
(#100) Line exceeds 132 characters; contains 163 characters
(#100) Line exceeds 132 characters; contains 163 characters
(#100) Line exceeds 132 characters; contains 163 characters
(#100) Line exceeds 132 characters; contains 163 characters
(#100) Line exceeds 132 characters; contains 163 characters
(#113) Line indented incorrectly; expected at least 24 spaces, found 20
(#120) Line indented incorrectly; expected at least 12 spaces, found 8
(#129) Member variable "packed_vars" must not contain underscores.
(#129) Scope modifier not specified for member variable "$packed_vars"
(#129) Line exceeds 132 characters; contains 147 characters
(#129) Line exceeds 132 characters; contains 147 characters
(#129) Line exceeds 132 characters; contains 147 characters
(#129) Line exceeds 132 characters; contains 147 characters
(#129) Line exceeds 132 characters; contains 147 characters
(#129) Line exceeds 132 characters; contains 147 characters
(#129) Line exceeds 132 characters; contains 147 characters
(#129) Line exceeds 132 characters; contains 147 characters
(#129) Line exceeds 132 characters; contains 147 characters
(#129) Line exceeds 132 characters; contains 147 characters
(#129) Line exceeds 132 characters; contains 147 characters
(#129) Line exceeds 132 characters; contains 147 characters
(#129) Line exceeds 132 characters; contains 147 characters
(#138) Inline control structures are not allowed
(#159) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch(...) {"
(#161) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#161) Variable "packed_vars" must not contain underscores.
(#161) AS keyword must be lowercase; expected "as" but found "AS"
(#168) Empty CATCH statement detected
(#168) Empty CATCH statement must have a comment to explain why the exception is not handled
(#168) Closing brace must be on a line by itself
(#189) AS keyword must be lowercase; expected "as" but found "AS"
(#190) Expected "if (...) {\n"; found "if (...){\n"
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#191) Line exceeds maximum limit of 180 characters; contains 193 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#224) Line exceeds 132 characters; contains 165 characters
(#243) Inline control structures are not allowed
(#245) AS keyword must be lowercase; expected "as" but found "AS"
(#319) Inline control structures are not allowed
(#333) Expected "for (...) {\n"; found "for(...) {\n"
(#341) Expected "for (...) {\n"; found "for(...) {\n"
(#351) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#351) Variable "packed_vars" must not contain underscores.
(#351) AS keyword must be lowercase; expected "as" but found "AS"
(#388) Inline control structures are not allowed
(#396) Inline comments must start with a capital letter, digit or 3-dots sequence
(#409) Inline comments must start with a capital letter, digit or 3-dots sequence
(#452) Line exceeds 132 characters; contains 158 characters
(#452) Line exceeds 132 characters; contains 158 characters
(#452) Line exceeds 132 characters; contains 158 characters
(#452) Line exceeds 132 characters; contains 158 characters
(#452) Line exceeds 132 characters; contains 158 characters
(#452) Line exceeds 132 characters; contains 158 characters
(#452) Line exceeds 132 characters; contains 158 characters
(#452) Line exceeds 132 characters; contains 158 characters
(#452) Line exceeds 132 characters; contains 158 characters
(#452) Line exceeds 132 characters; contains 158 characters
(#452) Line exceeds 132 characters; contains 158 characters
(#452) Line exceeds 132 characters; contains 158 characters
(#452) Line exceeds 132 characters; contains 158 characters
(#554) Inline control structures are not allowed
(#556) Inline control structures are not allowed
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#582) Line exceeds maximum limit of 180 characters; contains 200 characters
(#605) This comment is 61% valid code; is this commented out code?
(#605) Line indented incorrectly; expected at least 4 spaces, found 0
(#708) Line indented incorrectly; expected at least 4 spaces, found 0
(#773) Expected 1 space before "=>"; 0 found
(#773) Expected 1 space after "=>"; 0 found
(#792) Expected 1 space before "=>"; 0 found
(#792) Expected 1 space after "=>"; 0 found
(#822) Closing brace must be on a line by itself
(#823) Closing brace must be on a line by itself
(#824) Closing brace must be on a line by itself
(#825) Closing brace must be on a line by itself
(#826) Closing brace must be on a line by itself
(#827) Closing brace must be on a line by itself
(#828) Closing brace must be on a line by itself
(#829) Closing brace must be on a line by itself
(#830) Closing brace must be on a line by itself
(#831) Closing brace must be on a line by itself
(#832) Closing brace must be on a line by itself
(#833) Closing brace must be on a line by itself
(#835) Closing brace must be on a line by itself
mod/confman/mod_form.php
(#57) Line exceeds maximum limit of 180 characters; contains 192 characters
(#59) Line exceeds 132 characters; contains 133 characters
(#71) Line exceeds 132 characters; contains 137 characters
(#74) Line exceeds 132 characters; contains 133 characters
mod/confman/view.php
(#60) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#60) AS keyword must be lowercase; expected "as" but found "AS"
(#71) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#71) AS keyword must be lowercase; expected "as" but found "AS"

Javascript coding style problems

(62 errors, 139 warnings)

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

mod/confman/Gruntfile.js
(#3) 'module' is not defined. (no-undef)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#12) Comments should not begin with a lowercase character. (capitalized-comments)
(#12) Expected space or tab after '//' in comment. (spaced-comment)
(#35) Identifier 'my_target' is not in camel case. (camelcase)
(#41) Unexpected space before function parentheses. (space-before-function-paren)
(#45) Expected space or tab after '//' in comment. (spaced-comment)
mod/confman/amd/src/main.js
(#8) Missing JSDoc parameter type for 'sender'. (valid-jsdoc)
(#10) Identifier 'item_as_modal' is not in camel case. (camelcase)
(#11) Unexpected console statement. (no-console)
(#17) Comments should not begin with a lowercase character. (capitalized-comments)
(#17) Expected space or tab after '//' in comment. (spaced-comment)
(#18) Expected catch,fail() or return (promise/catch-or-return)
(#23) Each then() should return a value or throw (promise/always-return)
(#24) Comments should not begin with a lowercase character. (capitalized-comments)
(#24) Expected space or tab after '//' in comment. (spaced-comment)
(#33) Missing JSDoc parameter type for 'uniqid'. (valid-jsdoc)
(#35) Identifier 'item_as_modal_prepare' is not in camel case. (camelcase)
(#36) Unexpected console statement. (no-console)
(#37) This line has a length of 174. Maximum allowed is 132. (max-len)
(#39) Identifier 'item_file_mail' is not in camel case. (camelcase)
(#40) Unexpected console statement. (no-console)
(#43) There should be no space after '{'. (babel/object-curly-spacing)
(#43) There should be no space before '}'. (babel/object-curly-spacing)
(#44) Statement inside of curly braces should be on next line. (brace-style)
(#44) Unexpected console statement. (no-console)
(#44) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#48) Missing JSDoc for parameter 'a'. (valid-jsdoc)
(#51) Identifier 'item_remove_file' is not in camel case. (camelcase)
(#60) This line has a length of 134. Maximum allowed is 132. (max-len)
(#60) Unexpected console statement. (no-console)
(#63) There should be no space after '{'. (babel/object-curly-spacing)
(#63) There should be no space before '}'. (babel/object-curly-spacing)
(#65) Unexpected console statement. (no-console)
(#69) Unexpected console statement. (no-console)
(#73) Unexpected alert. (no-alert)
(#75) Expected space(s) after "catch". (keyword-spacing)
(#75) Statement inside of curly braces should be on next line. (brace-style)
(#75) Unexpected console statement. (no-console)
(#75) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#93) Missing JSDoc for parameter 'wwwroot'. (valid-jsdoc)
(#93) Missing JSDoc for parameter 'id'. (valid-jsdoc)
(#93) Missing JSDoc for parameter 'token'. (valid-jsdoc)
(#93) Missing JSDoc for parameter 'a'. (valid-jsdoc)
(#96) Identifier 'set_approved' is not in camel case. (camelcase)
(#97) Unexpected console statement. (no-console)
(#102) There should be no space after '{'. (babel/object-curly-spacing)
(#102) There should be no space before '}'. (babel/object-curly-spacing)
(#104) Unexpected console statement. (no-console)
(#108) Unexpected console statement. (no-console)
(#117) Expected space(s) after "catch". (keyword-spacing)
(#117) Statement inside of curly braces should be on next line. (brace-style)
(#117) Unexpected console statement. (no-console)
(#117) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#124) Missing JSDoc parameter type for 'inp'. (valid-jsdoc)
(#125) Missing JSDoc parameter type for 'wwwroot'. (valid-jsdoc)
(#126) Missing JSDoc parameter type for 'uniqid'. (valid-jsdoc)
(#127) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#128) Missing JSDoc parameter type for 'token'. (valid-jsdoc)
(#130) Identifier 'upload_file' is not in camel case. (camelcase)
(#131) Unexpected console statement. (no-console)
(#133) Comments should not begin with a lowercase character. (capitalized-comments)
(#133) Expected space or tab after '//' in comment. (spaced-comment)
(#141) Missing JSDoc @returns for function. (valid-jsdoc)
(#143) Missing JSDoc parameter type for 'uniqid'. (valid-jsdoc)
(#144) Missing JSDoc parameter type for 'wwwroot'. (valid-jsdoc)
(#145) Missing JSDoc parameter type for 'filename'. (valid-jsdoc)
(#147) Identifier 'upload_file_domo' is not in camel case. (camelcase)
(#148) 'domo' used outside of binding context. (block-scoped-var)
(#149) 'domo' used outside of binding context. (block-scoped-var)
(#150) 'domo' is already defined. (no-redeclare)
(#154) This line has a length of 154. Maximum allowed is 132. (max-len)
(#155) This line has a length of 195. Maximum allowed is 132. (max-len)
(#159) 'domo' used outside of binding context. (block-scoped-var)
(#160) 'domo' used outside of binding context. (block-scoped-var)
(#162) Missing JSDoc for parameter 'token'. (valid-jsdoc)
(#162) Missing JSDoc for parameter 'file'. (valid-jsdoc)
(#164) Missing JSDoc parameter type for 'domo'. (valid-jsdoc)
(#164) Expected JSDoc for 'uniqid' but found 'domo'. (valid-jsdoc)
(#165) Missing JSDoc parameter type for 'formData'. (valid-jsdoc)
(#165) Expected JSDoc for 'wwwroot' but found 'formData'. (valid-jsdoc)
(#166) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#166) Expected JSDoc for 'id' but found 'url'. (valid-jsdoc)
(#168) Identifier 'upload_file_item' is not in camel case. (camelcase)
(#170) Multiple spaces found before '='. (no-multi-spaces)
(#171) Unexpected space before function parentheses. (space-before-function-paren)
(#188) Unexpected console statement. (no-console)
(#192) Unexpected console statement. (no-console)
(#194) Unexpected console statement. (no-console)
(#198) Unexpected console statement. (no-console)
(#202) Unexpected console statement. (no-console)
(#206) Unary word operator 'delete' must be followed by whitespace. (space-unary-ops)
(#218) Expected space(s) after "catch". (keyword-spacing)
(#219) Unexpected console statement. (no-console)
(#219) Missing semicolon. (babel/semi)
(#223) Unexpected alert. (no-alert)
(#226) Unexpected alert. (no-alert)
(#240) Missing JSDoc parameter type for 'uniqid'. (valid-jsdoc)
(#241) Missing JSDoc parameter type for 'files'. (valid-jsdoc)
(#241) Expected JSDoc for 'wwwroot' but found 'files'. (valid-jsdoc)
(#243) Identifier 'upload_file_prepare' is not in camel case. (camelcase)
(#244) Unexpected console statement. (no-console)
(#252) Missing JSDoc for parameter 'domo'. (valid-jsdoc)
(#255) Identifier 'upload_file_prepare_uploaded' is not in camel case. (camelcase)
(#258) This line has a length of 166. Maximum allowed is 132. (max-len)
(#264) Missing JSDoc for parameter 'domo'. (valid-jsdoc)
(#267) Identifier 'upload_file_prepare_uploading' is not in camel case. (camelcase)
(#272) Missing semicolon. (babel/semi)
mod/confman/script/js.js
(#23) Identifier 'mod_confman' is not in camel case. (camelcase)
(#27) A space is required after ','. (comma-spacing)
(#27) Missing space before opening brace. (space-before-blocks)
(#28) Unexpected console statement. (no-console)
(#29) Identifier 'mod_confman' is not in camel case. (camelcase)
(#30) Identifier 'mod_confman' is not in camel case. (camelcase)
(#31) '$' is not defined. (no-undef)
(#31) A space is required after ','. (comma-spacing)
(#32) '$' is not defined. (no-undef)
(#33) Multiple spaces found before '='. (no-multi-spaces)
(#34) Unexpected space before function parentheses. (space-before-function-paren)
(#35) Identifier 'mod_confman' is not in camel case. (camelcase)
(#35) There should be no space after '{'. (object-curly-spacing)
(#35) There should be no space before '}'. (object-curly-spacing)
(#38) Expected space(s) after "if". (keyword-spacing)
(#42) '$' is not defined. (no-undef)
(#43) Expected space(s) after "if". (keyword-spacing)
(#44) '$' is not defined. (no-undef)
(#45) '$' is not defined. (no-undef)
(#45) A space is required after ','. (comma-spacing)
(#45) A space is required after ','. (comma-spacing)
(#46) '$' is not defined. (no-undef)
(#46) A space is required after ','. (comma-spacing)
(#48) '$' is not defined. (no-undef)
(#50) '$' is not defined. (no-undef)
(#52) '$' is not defined. (no-undef)
(#54) A space is required after ','. (comma-spacing)
(#54) A space is required after ','. (comma-spacing)
(#54) Missing space before opening brace. (space-before-blocks)
(#55) Identifier 'mod_confman' is not in camel case. (camelcase)
(#56) Identifier 'mod_confman' is not in camel case. (camelcase)
(#57) '$' is not defined. (no-undef)
(#60) Identifier 'mod_confman' is not in camel case. (camelcase)
(#60) There should be no space after '{'. (object-curly-spacing)
(#60) There should be no space before '}'. (object-curly-spacing)
(#62) Missing space before opening brace. (space-before-blocks)
(#63) Unexpected console statement. (no-console)
(#64) Unexpected console statement. (no-console)
(#66) '$' is not defined. (no-undef)
(#67) Identifier 'mod_confman' is not in camel case. (camelcase)
(#67) Identifier 'mod_confman' is not in camel case. (camelcase)
(#70) Missing space before opening brace. (space-before-blocks)
(#71) Unexpected console statement. (no-console)
(#72) Unexpected console statement. (no-console)
(#73) Statement inside of curly braces should be on next line. (brace-style)
(#73) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#73) Expected space(s) after "catch". (keyword-spacing)
(#73) Empty block statement. (no-empty)
(#73) Missing space before opening brace. (space-before-blocks)
(#74) Unexpected console statement. (no-console)
(#75) Unexpected console statement. (no-console)
(#76) Identifier 'mod_confman' is not in camel case. (camelcase)
(#77) Missing space before opening brace. (space-before-blocks)
(#78) Unexpected console statement. (no-console)
(#79) Unexpected console statement. (no-console)
(#80) Missing space before opening brace. (space-before-blocks)
(#81) Expected space(s) after "if". (keyword-spacing)
(#81) Statement inside of curly braces should be on next line. (brace-style)
(#81) '$' is not defined. (no-undef)
(#81) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#84) Missing space before opening brace. (space-before-blocks)
(#85) Unexpected console statement. (no-console)
(#86) Unexpected console statement. (no-console)
(#87) Unexpected console statement. (no-console)
(#89) Expected space(s) after "if". (keyword-spacing)
(#89) Missing space before opening brace. (space-before-blocks)
(#90) Expected space(s) after "if". (keyword-spacing)
(#90) Missing space before opening brace. (space-before-blocks)
(#91) '$' is not defined. (no-undef)
(#92) '$' is not defined. (no-undef)
(#94) '$' is not defined. (no-undef)
(#97) Expected space(s) after "if". (keyword-spacing)
(#97) Missing space before opening brace. (space-before-blocks)
(#98) Expected space(s) after "if". (keyword-spacing)
(#98) Missing space before opening brace. (space-before-blocks)
(#99) '$' is not defined. (no-undef)
(#100) '$' is not defined. (no-undef)
(#101) This line has a length of 231. Maximum allowed is 132. (max-len)
(#101) '$' is not defined. (no-undef)
(#101) A space is required after ','. (comma-spacing)
(#101) Identifier 'mod_confman' is not in camel case. (camelcase)
(#101) Identifier 'mod_confman' is not in camel case. (camelcase)
(#102) Statement inside of curly braces should be on next line. (brace-style)
(#102) '$' is not defined. (no-undef)
(#102) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#102) Expected space(s) after "catch". (keyword-spacing)
(#102) Statement inside of curly braces should be on next line. (brace-style)
(#102) Missing space before opening brace. (space-before-blocks)
(#102) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#102) Unexpected console statement. (no-console)
(#102) Requires a space before '}'. (block-spacing)
(#102) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#106) Missing semicolon. (semi)

CSS problems

(2 errors, 0 warnings)

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

mod/confman/less/main.less
(#2) Unexpected !important (declaration-no-important)
mod/confman/style/main.css
(#2) Unexpected !important (declaration-no-important)

PHPDocs style problems

(53 errors, 0 warnings)

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

mod/confman/ajax.php
(#17) No one-line description found in phpdocs for file
mod/confman/classes/comment_form.php
(#28) Class comment_form is not documented
(#35) Function comment_form::definition is not documented
(#63) Function comment_form::validation is not documented
(#29) Variable comment_form::$accepted_types is not documented
(#30) Variable comment_form::$areamaxbytes is not documented
(#31) Variable comment_form::$maxbytes is not documented
(#32) Variable comment_form::$maxfiles is not documented
(#33) Variable comment_form::$subdirs is not documented
(#17) No one-line description found in phpdocs for file
mod/confman/classes/item_form.php
(#29) Class item_form is not documented
(#36) Function item_form::definition is not documented
(#30) Variable item_form::$accepted_types is not documented
(#31) Variable item_form::$areamaxbytes is not documented
(#32) Variable item_form::$maxbytes is not documented
(#33) Variable item_form::$maxfiles is not documented
(#34) Variable item_form::$subdirs is not documented
(#17) No one-line description found in phpdocs for file
mod/confman/db/access.php
(#17) No one-line description found in phpdocs for file
mod/confman/db/caches.php
(#17) No one-line description found in phpdocs for file
mod/confman/db/upgrade.php
(#25) Function xmldb_confman_upgrade is not documented
(#17) No one-line description found in phpdocs for file
mod/confman/export.php
(#17) No one-line description found in phpdocs for file
mod/confman/index.php
(#17) No one-line description found in phpdocs for file
mod/confman/lang/en/confman.php
(#17) No one-line description found in phpdocs for file
mod/confman/lib.php
(#25) Class mod_confman_event is not documented
(#128) Class mod_confman_item is not documented
(#26) Function mod_confman_event::__construct is not documented
(#68) Function mod_confman_event::logo_url is not documented
(#95) Function mod_confman_event::list_items is not documented
(#217) Function mod_confman_item::get_table is not documented
(#257) Function mod_confman_item::get_title is not documented
(#325) Function mod_confman_item::store is not documented
(#383) Function mod_confman_item::manage_link is not documented
(#387) Function mod_confman_item::mail is not documented
(#709) Function mod_confman_item::asutf8 is not documented
(#718) Function mod_confman_pluginfile is not documented
(#759) Function confman_add_instance is not documented
(#780) Function confman_update_instance is not documented
(#798) Function confman_delete_instance is not documented
(#129) Variable mod_confman_item::$packed_vars is not documented
(#17) No one-line description found in phpdocs for file
(#85) Phpdocs for function mod_confman_event::html has incomplete parameters list
(#132) Phpdocs for function mod_confman_item::__construct has incomplete parameters list
(#236) Phpdocs for function mod_confman_item::get_files has incomplete parameters list
(#269) Phpdocs for function mod_confman_item::file_append has incomplete parameters list
(#305) Phpdocs for function mod_confman_item::file_delete has incomplete parameters list
(#590) Phpdocs for function mod_confman_item::set_form_data has incomplete parameters list
mod/confman/mod_form.php
(#30) Class mod_confman_mod_form is not documented
(#31) Function mod_confman_mod_form::definition is not documented
(#17) No one-line description found in phpdocs for file
mod/confman/version.php
(#17) No one-line description found in phpdocs for file
mod/confman/view.php
(#17) No one-line description found in phpdocs for file

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 "eslint:amd" 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, 38 warnings)

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

mod/confman/templates/alert.mustache
(#1) Example context missing (@template section not found.)
mod/confman/templates/comment.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 3: The “center” element is obsolete. Use CSS instead. (_comment"><center> <)
(#1) HTML Validation error, line 4: The “width” attribute on the “table” element is obsolete. Use CSS instead. (nter> <table width="80%" class="generaltable"> )
mod/confman/templates/event.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 4: Empty heading. (><body><h1></h1>)
mod/confman/templates/event_public.mustache
(#1) Example context missing (@template section not found.)
mod/confman/templates/export_html.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 2: Empty heading. (ad><body><h1></h1>)
mod/confman/templates/form_row.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. (> <label class="col-form-label d-inline " for="id_organization"> )
mod/confman/templates/item.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: The “width” attribute on the “table” element is obsolete. Use CSS instead. (tem"> <table border="1" width="80%"> )
(#1) HTML Validation error, line 5: The “border” attribute on the “table” element is obsolete. Use CSS instead. (tem"> <table border="1" width="80%"> )
(#1) HTML Validation error, line 7: The “width” attribute on the “th” element is obsolete. Use CSS instead. ( <tr> <th width="150">[[ ite)
mod/confman/templates/item_table_foot.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Stray end tag “tbody”. (body> </tbody></tab)
(#1) HTML Validation error, line 3: Stray end tag “table”. ( </tbody></table><br /)
(#1) HTML Validation error, line 8: Stray end tag “form”. (</button></form></bo)
mod/confman/templates/item_table_head.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 14: The “width” attribute on the “table” element is obsolete. Use CSS instead. (ved</a>]<table width="100%" id="mod_confman_item_table" class="generaltable"> <)
(#1) HTML Validation error, line 26: The “width” attribute on the “td” element is obsolete. Use CSS instead. (an ]]</td> <td width="50%">[[ ite)
(#1) HTML Validation error, line 31: Stray end tag “body”. (id-items"></body></html)
(#1) HTML Validation error, line 31: Stray end tag “html”. (></body></html>)
(#1) HTML Validation error, line 31: End of file seen and there were open elements. (></body></html>)
(#1) HTML Validation error, line 14: Unclosed element “table”. (ved</a>]<table width="100%" id="mod_confman_item_table" class="generaltable"> <)
(#1) HTML Validation error, line 4: Unclosed element “form”. (><body><form action="export.php?event=" method="POST"> <)
mod/confman/templates/item_table_row.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 3: Stray start tag “tr”. (d><body><tr> <)
(#1) HTML Validation error, line 4: Stray start tag “td”. (<tr> <td class="export"> )
(#1) HTML Validation error, line 6: Stray end tag “td”. ("" /> </td> <)
(#1) HTML Validation error, line 7: Stray start tag “td”. (</td> <td> )
(#1) HTML Validation error, line 9: Stray end tag “td”. ( </td> <)
(#1) HTML Validation error, line 10: Stray start tag “td”. (</td> <td class="contributor"></td>)
(#1) HTML Validation error, line 10: Stray end tag “td”. (tributor"></td> <)
(#1) HTML Validation error, line 11: Stray start tag “td”. (</td> <td class="title"></td>)
(#1) HTML Validation error, line 11: Stray end tag “td”. (s="title"></td></tr>)
(#1) HTML Validation error, line 12: Stray end tag “tr”. (le"></td></tr></bo)

Gherkin .feature problems

(0 errors, 0 warnings)

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