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

(32 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
(#70) Expected 1 space before "!=="; 0 found
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) No space found before comment text; expected "// add our disabled param" but found "//add our disabled param"
(#86) Inline control structures are not allowed
(#88) 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

(42 errors, 97 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)
(#35) Comments should not begin with a lowercase character (capitalized-comments)
(#39) Unnecessary escape character: \". (no-useless-escape)
(#39) Unnecessary escape character: \". (no-useless-escape)
(#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)
(#41) Unnecessary escape character: \". (no-useless-escape)
(#41) Unnecessary escape character: \". (no-useless-escape)
(#42) Unnecessary escape character: \". (no-useless-escape)
(#42) Unnecessary escape character: \". (no-useless-escape)
(#42) Unnecessary escape character: \". (no-useless-escape)
(#42) Unnecessary escape character: \". (no-useless-escape)
(#69) Trailing spaces not allowed. (no-trailing-spaces)
(#70) Unexpected tab character. (no-tabs)
(#77) Missing space before opening brace. (space-before-blocks)
(#81) Infix operators must be spaced. (space-infix-ops)
(#93) Expected space or tab after '//' in comment. (spaced-comment)
(#93) Comments should not begin with a lowercase character (capitalized-comments)
(#94) Infix operators must be spaced. (space-infix-ops)
(#96) Expected space or tab after '//' in comment. (spaced-comment)
(#105) Infix operators must be spaced. (space-infix-ops)
(#106) Infix operators must be spaced. (space-infix-ops)
(#107) Infix operators must be spaced. (space-infix-ops)
(#120) Infix operators must be spaced. (space-infix-ops)
(#122) Expected { after 'if' condition. (curly)
(#122) There should be no spaces inside this paren. (space-in-parens)
(#124) Expected { after 'else'. (curly)
(#127) Line 127 exceeds the maximum line length of 132. (max-len)
(#127) Infix operators must be spaced. (space-infix-ops)
(#127) Infix operators must be spaced. (space-infix-ops)
(#127) Infix operators must be spaced. (space-infix-ops)
(#127) Infix operators must be spaced. (space-infix-ops)
(#127) Infix operators must be spaced. (space-infix-ops)
(#127) Infix operators must be spaced. (space-infix-ops)
(#128) There should be no space before ','. (comma-spacing)
(#129) A space is required after ','. (comma-spacing)
(#132) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#132) Infix operators must be spaced. (space-infix-ops)
(#132) Infix operators must be spaced. (space-infix-ops)
(#133) Infix operators must be spaced. (space-infix-ops)
(#137) Expected { after 'if' condition. (curly)
(#137) Infix operators must be spaced. (space-infix-ops)
(#138) Infix operators must be spaced. (space-infix-ops)
(#140) Infix operators must be spaced. (space-infix-ops)
(#140) Infix operators must be spaced. (space-infix-ops)
(#142) Expected space or tab after '//' in comment. (spaced-comment)
(#143) Expected space or tab after '//' in comment. (spaced-comment)
(#145) Expected space or tab after '//' in comment. (spaced-comment)
(#146) Infix operators must be spaced. (space-infix-ops)
(#151) Trailing spaces not allowed. (no-trailing-spaces)
(#154) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#163) Infix operators must be spaced. (space-infix-ops)
(#164) Infix operators must be spaced. (space-infix-ops)
(#166) Infix operators must be spaced. (space-infix-ops)
(#167) Infix operators must be spaced. (space-infix-ops)
(#169) Infix operators must be spaced. (space-infix-ops)
(#170) Infix operators must be spaced. (space-infix-ops)
(#184) Unexpected tab character. (no-tabs)
(#184) Expected space or tab after '//' in comment. (spaced-comment)
(#184) Comments should not begin with a lowercase character (capitalized-comments)
(#185) Unexpected tab character. (no-tabs)
(#185) Expected space or tab after '//' in comment. (spaced-comment)
(#186) Expected space(s) after "if". (keyword-spacing)
(#186) Missing space before opening brace. (space-before-blocks)
(#187) A space is required after ','. (comma-spacing)
(#187) Infix operators must be spaced. (space-infix-ops)
(#190) Comments should not begin with a lowercase character (capitalized-comments)
(#190) Expected space or tab after '//' in comment. (spaced-comment)
(#193) Multiple spaces found before 'Y'. (no-multi-spaces)
(#196) Expected space or tab after '//' in comment. (spaced-comment)
(#196) Comments should not begin with a lowercase character (capitalized-comments)
(#201) Expected space(s) after "if". (keyword-spacing)
(#201) Infix operators must be spaced. (space-infix-ops)
(#202) Infix operators must be spaced. (space-infix-ops)
(#204) Infix operators must be spaced. (space-infix-ops)
(#204) Infix operators must be spaced. (space-infix-ops)
(#204) Infix operators must be spaced. (space-infix-ops)
(#225) Infix operators must be spaced. (space-infix-ops)
(#226) Infix operators must be spaced. (space-infix-ops)
(#226) Infix operators must be spaced. (space-infix-ops)
(#226) Infix operators must be spaced. (space-infix-ops)
(#227) Missing space before value for key 'width'. (key-spacing)
(#227) Infix operators must be spaced. (space-infix-ops)
(#228) Missing space before value for key 'height'. (key-spacing)
(#228) Infix operators must be spaced. (space-infix-ops)
(#229) Missing space before value for key 'style'. (key-spacing)
(#244) Extra space after key '_doInsert'. (key-spacing)
(#244) Missing space before opening brace. (space-before-blocks)
(#246) Expected { after 'if' condition. (curly)
(#246) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#249) Expected { after 'if' condition. (curly)
(#259) Infix operators must be spaced. (space-infix-ops)
(#259) Infix operators must be spaced. (space-infix-ops)
(#259) Infix operators must be spaced. (space-infix-ops)
(#260) Infix operators must be spaced. (space-infix-ops)
(#260) Infix operators must be spaced. (space-infix-ops)
(#261) Line 261 exceeds the maximum line length of 132. (max-len)
(#261) Infix operators must be spaced. (space-infix-ops)
(#261) Infix operators must be spaced. (space-infix-ops)
(#261) Infix operators must be spaced. (space-infix-ops)
(#261) Infix operators must be spaced. (space-infix-ops)
(#261) Infix operators must be spaced. (space-infix-ops)
(#268) There should be no space after '{'. (object-curly-spacing)
(#269) Unexpected tab character. (no-tabs)
(#270) Unexpected tab character. (no-tabs)
(#271) Unexpected tab character. (no-tabs)
(#273) Unexpected tab character. (no-tabs)
(#274) Unexpected tab character. (no-tabs)
(#275) Unexpected tab character. (no-tabs)
(#277) Unexpected tab character. (no-tabs)
(#278) Unexpected tab character. (no-tabs)
(#279) Unexpected tab character. (no-tabs)
(#281) Unexpected tab character. (no-tabs)
(#282) Unexpected tab character. (no-tabs)
(#283) Unexpected tab character. (no-tabs)
(#285) Unexpected tab character. (no-tabs)
(#286) Unexpected tab character. (no-tabs)
(#287) Unexpected tab character. (no-tabs)
(#289) Unexpected tab character. (no-tabs)
(#290) Unexpected tab character. (no-tabs)
(#291) Unexpected tab character. (no-tabs)
(#293) Unexpected tab character. (no-tabs)
(#294) Unexpected tab character. (no-tabs)
(#295) Unexpected tab character. (no-tabs)
(#297) Unexpected tab character. (no-tabs)
(#298) Unexpected tab character. (no-tabs)
(#299) Unexpected tab character. (no-tabs)
(#301) Unexpected tab character. (no-tabs)
(#302) Unexpected tab character. (no-tabs)
(#303) Unexpected tab character. (no-tabs)
(#304) Unexpected tab character. (no-tabs)

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by stylelint [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, 1 warnings)

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

Problems running grunt
Task "eslint:yui" 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]