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

(31 errors, 10 warnings)

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

lib/editor/atto/plugins/helixatto/db/access.php
(#33) Spaces must be used to indent lines; tabs are not allowed
(#33) Tab found within whitespace
(#34) Spaces must be used to indent lines; tabs are not allowed
(#34) Tab found within whitespace
lib/editor/atto/plugins/helixatto/lib.php
(#27) "require_once" must be immediately followed by an open parenthesis
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) No space found before comment text; expected "// coursecontext" but found "//coursecontext"
(#55) Expected 1 space before "="; 0 found
(#55) Expected 1 space after "="; 0 found
(#55) Spaces must be used for alignment; tabs are not allowed
(#55) Tab found within whitespace
(#55) Whitespace found at end of line
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) No space found before comment text; expected "// usercontextid" but found "//usercontextid"
(#58) Expected 1 space before "="; 0 found
(#58) Expected 1 space after "="; 0 found
(#59) Expected 1 space before "="; 0 found
(#59) Expected 1 space after "="; 0 found
(#61) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) No space found before comment text; expected "// config our array of data" but found "//config our array of data"
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) No space found before comment text; expected "// If they don't have permission don't show it" but found "//If they don't have permission don't show it"
(#66) Expected "if (...) {\n"; found "if(...){\n"
(#67) Expected 1 space before "="; 0 found
(#67) Expected 1 space after "="; 0 found
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) No space found before comment text; expected "// add our disabled param" but found "//add our disabled param"
(#80) Inline control structures are not allowed
(#82) Inline control structures are not allowed
lib/editor/atto/plugins/helixatto/settings.php
(#35) Variable "always_stream" must not contain underscores.
(#35) Expected 1 space before "="; 0 found
(#35) Expected 1 space after "="; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
lib/editor/atto/plugins/helixatto/version.php
(#31) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(16 errors, 127 warnings)

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

lib/editor/atto/plugins/helixatto/yui/src/button/js/button.js
(#35) Expected space or tab after '//' in comment. (spaced-comment)
(#40) Unnecessary escape character: \" (no-useless-escape)
(#40) Unnecessary escape character: \" (no-useless-escape)
(#40) Infix operators must be spaced. (space-infix-ops)
(#41) Line 41 exceeds the maximum line length of 132. (max-len)
(#41) Unnecessary escape character: \" (no-useless-escape)
(#41) Unnecessary escape character: \" (no-useless-escape)
(#41) Unnecessary escape character: \" (no-useless-escape)
(#41) Unnecessary escape character: \" (no-useless-escape)
(#41) Unnecessary escape character: \" (no-useless-escape)
(#41) Unnecessary escape character: \" (no-useless-escape)
(#48) Unnecessary escape character: \" (no-useless-escape)
(#48) Unnecessary escape character: \" (no-useless-escape)
(#48) Infix operators must be spaced. (space-infix-ops)
(#50) Line 50 exceeds the maximum line length of 132. (max-len)
(#50) Unnecessary escape character: \" (no-useless-escape)
(#50) Unnecessary escape character: \" (no-useless-escape)
(#50) Unnecessary escape character: \" (no-useless-escape)
(#50) Unnecessary escape character: \" (no-useless-escape)
(#50) Unnecessary escape character: \" (no-useless-escape)
(#50) Unnecessary escape character: \" (no-useless-escape)
(#64) 'interval' is defined but never used (no-unused-vars)
(#75) Trailing spaces not allowed. (no-trailing-spaces)
(#83) Missing space before opening brace. (space-before-blocks)
(#87) Infix operators must be spaced. (space-infix-ops)
(#99) Expected space or tab after '//' in comment. (spaced-comment)
(#100) Infix operators must be spaced. (space-infix-ops)
(#101) Expected space or tab after '//' in comment. (spaced-comment)
(#110) Infix operators must be spaced. (space-infix-ops)
(#111) Infix operators must be spaced. (space-infix-ops)
(#112) Infix operators must be spaced. (space-infix-ops)
(#125) Infix operators must be spaced. (space-infix-ops)
(#127) Expected { after 'if' condition. (curly)
(#127) There should be no spaces inside this paren. (space-in-parens)
(#128) 'ActiveXObject' is not defined. (no-undef)
(#129) Expected { after 'else'. (curly)
(#132) Infix operators must be spaced. (space-infix-ops)
(#132) Infix operators must be spaced. (space-infix-ops)
(#132) Infix operators must be spaced. (space-infix-ops)
(#132) Infix operators must be spaced. (space-infix-ops)
(#133) There should be no space before ','. (comma-spacing)
(#134) A space is required after ','. (comma-spacing)
(#137) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#137) Infix operators must be spaced. (space-infix-ops)
(#137) Infix operators must be spaced. (space-infix-ops)
(#138) Infix operators must be spaced. (space-infix-ops)
(#142) Expected space or tab after '//' in comment. (spaced-comment)
(#144) Expected { after 'if' condition. (curly)
(#144) Infix operators must be spaced. (space-infix-ops)
(#145) Infix operators must be spaced. (space-infix-ops)
(#147) Infix operators must be spaced. (space-infix-ops)
(#147) Infix operators must be spaced. (space-infix-ops)
(#149) Expected space or tab after '//' in comment. (spaced-comment)
(#150) Expected space or tab after '//' in comment. (spaced-comment)
(#152) Expected space or tab after '//' in comment. (spaced-comment)
(#153) Infix operators must be spaced. (space-infix-ops)
(#158) Trailing spaces not allowed. (no-trailing-spaces)
(#161) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#170) Infix operators must be spaced. (space-infix-ops)
(#171) Infix operators must be spaced. (space-infix-ops)
(#173) Expected space(s) after "if". (keyword-spacing)
(#173) There should be no spaces inside this paren. (space-in-parens)
(#173) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#173) There should be no spaces inside this paren. (space-in-parens)
(#173) There should be no spaces inside this paren. (space-in-parens)
(#173) There should be no spaces inside this paren. (space-in-parens)
(#174) Expected space or tab after '//' in comment. (spaced-comment)
(#175) Infix operators must be spaced. (space-infix-ops)
(#176) Infix operators must be spaced. (space-infix-ops)
(#178) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#178) Expected space(s) after "if". (keyword-spacing)
(#178) There should be no spaces inside this paren. (space-in-parens)
(#179) There should be no spaces inside this paren. (space-in-parens)
(#179) There should be no spaces inside this paren. (space-in-parens)
(#179) There should be no spaces inside this paren. (space-in-parens)
(#180) Expected space or tab after '//' in comment. (spaced-comment)
(#181) Infix operators must be spaced. (space-infix-ops)
(#182) Infix operators must be spaced. (space-infix-ops)
(#185) Infix operators must be spaced. (space-infix-ops)
(#186) Infix operators must be spaced. (space-infix-ops)
(#188) Infix operators must be spaced. (space-infix-ops)
(#189) Infix operators must be spaced. (space-infix-ops)
(#194) Trailing spaces not allowed. (no-trailing-spaces)
(#203) Trailing spaces not allowed. (no-trailing-spaces)
(#204) Expected space or tab after '//' in comment. (spaced-comment)
(#205) Expected space or tab after '//' in comment. (spaced-comment)
(#206) Expected space(s) after "if". (keyword-spacing)
(#206) Missing space before opening brace. (space-before-blocks)
(#207) A space is required after ','. (comma-spacing)
(#207) Infix operators must be spaced. (space-infix-ops)
(#210) Expected space or tab after '//' in comment. (spaced-comment)
(#213) Multiple spaces found before 'Y'. (no-multi-spaces)
(#216) Expected space or tab after '//' in comment. (spaced-comment)
(#222) Expected space(s) after "if". (keyword-spacing)
(#222) Expected { after 'if' condition. (curly)
(#222) Infix operators must be spaced. (space-infix-ops)
(#223) Infix operators must be spaced. (space-infix-ops)
(#237) Infix operators must be spaced. (space-infix-ops)
(#238) Trailing spaces not allowed. (no-trailing-spaces)
(#239) Infix operators must be spaced. (space-infix-ops)
(#241) 'template' used outside of binding context. (block-scoped-var)
(#242) 'content' used outside of binding context. (block-scoped-var)
(#242) 'template' used outside of binding context. (block-scoped-var)
(#246) Infix operators must be spaced. (space-infix-ops)
(#247) Missing space before value for key 'width'. (key-spacing)
(#248) Missing space before value for key 'height'. (key-spacing)
(#248) Infix operators must be spaced. (space-infix-ops)
(#249) Missing space before value for key 'outwidth'. (key-spacing)
(#249) Infix operators must be spaced. (space-infix-ops)
(#250) Missing space before value for key 'outheight'. (key-spacing)
(#250) Infix operators must be spaced. (space-infix-ops)
(#251) Missing space before value for key 'style'. (key-spacing)
(#254) 'template' used outside of binding context. (block-scoped-var)
(#254) 'template' is already defined (no-redeclare)
(#255) 'content' is already defined (no-redeclare)
(#255) 'content' used outside of binding context. (block-scoped-var)
(#255) 'template' used outside of binding context. (block-scoped-var)
(#259) Infix operators must be spaced. (space-infix-ops)
(#260) Missing space before value for key 'width'. (key-spacing)
(#260) Infix operators must be spaced. (space-infix-ops)
(#261) Missing space before value for key 'height'. (key-spacing)
(#261) Infix operators must be spaced. (space-infix-ops)
(#262) Missing space before value for key 'style'. (key-spacing)
(#265) 'content' used outside of binding context. (block-scoped-var)
(#265) 'content' used outside of binding context. (block-scoped-var)
(#268) 'content' used outside of binding context. (block-scoped-var)
(#268) 'content' used outside of binding context. (block-scoped-var)
(#277) Extra space after key '_doInsert'. (key-spacing)
(#277) Missing space before opening brace. (space-before-blocks)
(#279) Expected { after 'if' condition. (curly)
(#279) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#282) Expected { after 'if' condition. (curly)
(#292) Infix operators must be spaced. (space-infix-ops)
(#292) Infix operators must be spaced. (space-infix-ops)
(#292) Infix operators must be spaced. (space-infix-ops)
(#293) Infix operators must be spaced. (space-infix-ops)
(#293) Infix operators must be spaced. (space-infix-ops)
(#294) Infix operators must be spaced. (space-infix-ops)
(#294) Infix operators must be spaced. (space-infix-ops)
(#294) Infix operators must be spaced. (space-infix-ops)
(#294) Infix operators must be spaced. (space-infix-ops)
(#294) Infix operators must be spaced. (space-infix-ops)
(#301) There should be no space after '{' (object-curly-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(2 errors, 0 warnings)

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

lib/editor/atto/plugins/helixatto/lib.php
(#31) Phpdocs for function atto_helixatto_strings_for_js has incomplete parameters list
(#42) Phpdocs for function atto_helixatto_params_for_js 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

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