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

(0 errors, 0 warnings)

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


Javascript coding style problems

(14 errors, 41 warnings)

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

lib/editor/atto/plugins/cincopa/yui/src/button/js/button.js
(#35) Unexpected space before function parentheses. (space-before-function-paren)
(#36) 'firstbutton' is defined but never used (no-unused-vars)
(#49) Missing space before value for key 'icon'. (key-spacing)
(#54) Unexpected space before function parentheses. (space-before-function-paren)
(#54) 'e' is defined but never used (no-unused-vars)
(#55) Unexpected space before function parentheses. (space-before-function-paren)
(#56) 'YUI' is not defined. (no-undef)
(#56) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#56) Unexpected space before function parentheses. (space-before-function-paren)
(#64) Unexpected space before function parentheses. (space-before-function-paren)
(#64) 'response' is defined but never used (no-unused-vars)
(#65) Line 65 exceeds the maximum line length of 132. (max-len)
(#66) Line 66 exceeds the maximum line length of 132. (max-len)
(#69) 'li' used outside of binding context. (block-scoped-var)
(#70) 'a' used outside of binding context. (block-scoped-var)
(#71) 'a' used outside of binding context. (block-scoped-var)
(#72) 'a' used outside of binding context. (block-scoped-var)
(#73) 'a' used outside of binding context. (block-scoped-var)
(#74) 'li' used outside of binding context. (block-scoped-var)
(#75) 'a' used outside of binding context. (block-scoped-var)
(#76) 'li' used outside of binding context. (block-scoped-var)
(#76) 'a' used outside of binding context. (block-scoped-var)
(#85) 'li' used outside of binding context. (block-scoped-var)
(#89) Trailing spaces not allowed. (no-trailing-spaces)
(#91) 'did' is defined but never used (no-unused-vars)
(#92) 'li' is already defined (no-redeclare)
(#92) 'li' used outside of binding context. (block-scoped-var)
(#93) 'a' is already defined (no-redeclare)
(#93) 'a' used outside of binding context. (block-scoped-var)
(#94) 'a' used outside of binding context. (block-scoped-var)
(#95) 'a' used outside of binding context. (block-scoped-var)
(#96) 'a' used outside of binding context. (block-scoped-var)
(#97) 'a' used outside of binding context. (block-scoped-var)
(#98) 'a' used outside of binding context. (block-scoped-var)
(#100) Line 100 exceeds the maximum line length of 132. (max-len)
(#100) Infix operators must be spaced. (space-infix-ops)
(#100) Infix operators must be spaced. (space-infix-ops)
(#103) 'li' used outside of binding context. (block-scoped-var)
(#104) 'li' used outside of binding context. (block-scoped-var)
(#105) Line 105 exceeds the maximum line length of 132. (max-len)
(#105) 'a' used outside of binding context. (block-scoped-var)
(#106) 'li' used outside of binding context. (block-scoped-var)
(#106) 'a' used outside of binding context. (block-scoped-var)
(#107) Line 107 exceeds the maximum line length of 132. (max-len)
(#107) 'li' used outside of binding context. (block-scoped-var)
(#111) Expected space(s) after "else". (keyword-spacing)
(#111) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#121) Expected space(s) after "if". (keyword-spacing)
(#121) Missing space before opening brace. (space-before-blocks)
(#123) Line 123 exceeds the maximum line length of 132. (max-len)
(#129) Unexpected space before function parentheses. (space-before-function-paren)
(#134) Line 134 exceeds the maximum line length of 132. (max-len)
(#140) Unexpected space before function parentheses. (space-before-function-paren)
(#140) 'e' is defined but never used (no-unused-vars)
(#140) Unexpected empty function. (no-empty-function)

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [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

(1 errors, 0 warnings)

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

Problems running grunt shifter

shifter problems

(1 errors, 0 warnings)

This section shows problems detected by shifter [More info]

lib/editor/atto/plugins/cincopa/yui/src/button/js/button.js
contains 19 lint errors

Mustache template problems

(0 errors, 0 warnings)

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