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

(0 errors, 0 warnings)

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


Javascript coding style problems

(63 errors, 84 warnings)

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

local/o365/classes/adminsetting/moodlesetup.js
(#23) '$' is not defined. (no-undef)
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#25) '$' is not defined. (no-undef)
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#38) '$' is not defined. (no-undef)
(#49) Unexpected space before function parentheses. (space-before-function-paren)
(#50) '$' is not defined. (no-undef)
(#54) Missing semicolon. (semi)
(#62) Unexpected space before function parentheses. (space-before-function-paren)
(#63) '$' is not defined. (no-undef)
(#67) Missing semicolon. (semi)
(#75) Unexpected space before function parentheses. (space-before-function-paren)
(#76) '$' is not defined. (no-undef)
(#80) Missing semicolon. (semi)
(#87) Unexpected space before function parentheses. (space-before-function-paren)
(#89) Missing semicolon. (semi)
(#96) Unexpected space before function parentheses. (space-before-function-paren)
(#97) '$' is not defined. (no-undef)
(#129) Missing semicolon. (semi)
(#131) Unexpected space before function parentheses. (space-before-function-paren)
(#133) '$' is not defined. (no-undef)
(#140) Unexpected space before function parentheses. (space-before-function-paren)
(#144) Unexpected space before function parentheses. (space-before-function-paren)
(#150) Missing semicolon. (semi)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#156) Unexpected space before function parentheses. (space-before-function-paren)
(#161) Missing semicolon. (semi)
(#163) Missing semicolon. (semi)
local/o365/classes/adminsetting/serviceresource.js
(#23) '$' is not defined. (no-undef)
(#25) '$' is not defined. (no-undef)
(#38) '$' is not defined. (no-undef)
(#47) Use '===' to compare with null. (no-eq-null)
(#50) Statement inside of curly braces should be on next line. (brace-style)
(#50) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#52) Missing semicolon. (semi)
(#58) Missing semicolon. (semi)
(#62) '$' is not defined. (no-undef)
(#72) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#73) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#73) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#82) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#91) 'data' is defined but never used. (no-unused-vars)
(#95) Missing semicolon. (semi)
(#99) '$' is not defined. (no-undef)
(#109) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#110) This line has a length of 133. Maximum allowed is 132. (max-len)
(#110) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#110) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#116) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#125) 'data' is defined but never used. (no-unused-vars)
(#130) Missing semicolon. (semi)
(#133) This line has a length of 137. Maximum allowed is 132. (max-len)
(#136) Missing semicolon. (semi)
(#139) This line has a length of 137. Maximum allowed is 132. (max-len)
(#142) Missing semicolon. (semi)
(#144) 'e' is defined but never used. (no-unused-vars)
(#145) '$' is not defined. (no-undef)
(#153) Missing semicolon. (semi)
local/o365/classes/adminsetting/verifysetup.js
(#23) '$' is not defined. (no-undef)
(#25) '$' is not defined. (no-undef)
(#55) This line has a length of 148. Maximum allowed is 132. (max-len)
(#63) '$' is not defined. (no-undef)
(#70) '$' is not defined. (no-undef)
(#76) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#87) 'data' is defined but never used. (no-unused-vars)
(#91) Missing semicolon. (semi)
(#100) '$' is not defined. (no-undef)
(#104) Missing semicolon. (semi)
(#113) '$' is not defined. (no-undef)
(#117) Missing semicolon. (semi)
(#126) '$' is not defined. (no-undef)
(#130) Missing semicolon. (semi)
(#139) Missing semicolon. (semi)
(#147) Identifier 'rendersection_unifiedapi' is not in camel case. (camelcase)
(#148) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#152) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#154) '$' is not defined. (no-undef)
(#158) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#160) 'missingpermsbox' declared on line 175 column 29 is used outside of binding context. (block-scoped-var)
(#161) 'perm' declared on line 176 column 34 is used outside of binding context. (block-scoped-var)
(#162) 'missingpermsbox' declared on line 175 column 29 is used outside of binding context. (block-scoped-var)
(#162) 'perm' declared on line 176 column 34 is used outside of binding context. (block-scoped-var)
(#162) 'perm' declared on line 176 column 34 is used outside of binding context. (block-scoped-var)
(#164) 'missingpermsbox' declared on line 175 column 29 is used outside of binding context. (block-scoped-var)
(#165) 'missingpermsbox' declared on line 175 column 29 is used outside of binding context. (block-scoped-var)
(#173) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#175) 'missingpermsbox' is already defined. (no-redeclare)
(#175) 'missingpermsbox' declared on line 160 column 29 is used outside of binding context. (block-scoped-var)
(#176) 'perm' is already defined. (no-redeclare)
(#176) 'perm' declared on line 161 column 34 is used outside of binding context. (block-scoped-var)
(#177) 'missingpermsbox' declared on line 160 column 29 is used outside of binding context. (block-scoped-var)
(#177) 'perm' declared on line 161 column 34 is used outside of binding context. (block-scoped-var)
(#177) 'perm' declared on line 161 column 34 is used outside of binding context. (block-scoped-var)
(#179) 'missingpermsbox' declared on line 160 column 29 is used outside of binding context. (block-scoped-var)
(#180) 'missingpermsbox' declared on line 160 column 29 is used outside of binding context. (block-scoped-var)
(#191) Missing semicolon. (semi)
(#199) '$' is not defined. (no-undef)
(#205) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#206) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#208) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#209) '$' is not defined. (no-undef)
(#210) Operator '+' must be spaced. (space-infix-ops)
(#210) Operator '+' must be spaced. (space-infix-ops)
(#211) Operator '+' must be spaced. (space-infix-ops)
(#211) Operator '+' must be spaced. (space-infix-ops)
(#213) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#214) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#214) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#215) Blocks are nested too deeply (6). Maximum allowed is 4. (max-depth)
(#218) 'errstr' declared on line 231 column 41 is used outside of binding context. (block-scoped-var)
(#218) Operator '+' must be spaced. (space-infix-ops)
(#219) 'errstr' declared on line 231 column 41 is used outside of binding context. (block-scoped-var)
(#219) Operator '+' must be spaced. (space-infix-ops)
(#219) Operator '+' must be spaced. (space-infix-ops)
(#219) Operator '+' must be spaced. (space-infix-ops)
(#220) 'errstr' declared on line 231 column 41 is used outside of binding context. (block-scoped-var)
(#220) Operator '+' must be spaced. (space-infix-ops)
(#220) Operator '+' must be spaced. (space-infix-ops)
(#220) Operator '+' must be spaced. (space-infix-ops)
(#221) 'errstr' declared on line 231 column 41 is used outside of binding context. (block-scoped-var)
(#227) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#227) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#228) Blocks are nested too deeply (6). Maximum allowed is 4. (max-depth)
(#231) 'errstr' is already defined. (no-redeclare)
(#231) 'errstr' declared on line 218 column 41 is used outside of binding context. (block-scoped-var)
(#231) Operator '+' must be spaced. (space-infix-ops)
(#232) 'errstr' declared on line 218 column 41 is used outside of binding context. (block-scoped-var)
(#232) Operator '+' must be spaced. (space-infix-ops)
(#232) Operator '+' must be spaced. (space-infix-ops)
(#232) Operator '+' must be spaced. (space-infix-ops)
(#233) 'errstr' declared on line 218 column 41 is used outside of binding context. (block-scoped-var)
(#233) Operator '+' must be spaced. (space-infix-ops)
(#233) Operator '+' must be spaced. (space-infix-ops)
(#233) Operator '+' must be spaced. (space-infix-ops)
(#234) 'errstr' declared on line 218 column 41 is used outside of binding context. (block-scoped-var)
(#244) '$' is not defined. (no-undef)
(#247) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#258) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#268) Missing semicolon. (semi)
(#272) '$' is not defined. (no-undef)
(#279) '$' is not defined. (no-undef)
(#284) '$' is not defined. (no-undef)
(#285) '$' is not defined. (no-undef)
(#298) Missing semicolon. (semi)
(#301) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#309) Missing semicolon. (semi)
(#311) Missing semicolon. (semi)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


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]