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

(1 errors, 9 warnings)

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

mod/checkmark/classes/submission.php
(#80) This comment is 50% valid code; is this commented out code?
mod/checkmark/classes/submissionstable.php
(#1049) Expected 1 space after asterisk; 0 found
(#1251) This comment is 50% valid code; is this commented out code?
(#1685) This comment is 50% valid code; is this commented out code?
mod/checkmark/export.php
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
mod/checkmark/submissions.php
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 70 warnings)

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

mod/checkmark/amd/src/grading.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#3) A space is required after ','. (comma-spacing)
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#14) Expected space(s) after "if". (keyword-spacing)
(#20) Unexpected space before function parentheses. (space-before-function-paren)
(#22) Unexpected space before function parentheses. (space-before-function-paren)
(#23) Expected space(s) after "if". (keyword-spacing)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#35) Unexpected space before function parentheses. (space-before-function-paren)
(#43) Expected catch,fail() or return (promise/catch-or-return)
(#43) Each then() should return a value or throw (promise/always-return)
(#43) Unexpected space before function parentheses. (space-before-function-paren)
(#48) Unexpected space before function parentheses. (space-before-function-paren)
(#52) Unexpected space before function parentheses. (space-before-function-paren)
(#55) A space is required after ','. (comma-spacing)
(#58) Unexpected space before function parentheses. (space-before-function-paren)
(#59) Unexpected space before function parentheses. (space-before-function-paren)
mod/checkmark/amd/src/overrides.js
(#43) Missing JSDoc for parameter 'config'. (valid-jsdoc)
mod/checkmark/amd/src/quickgrade.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#3) A space is required after ','. (comma-spacing)
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#8) Unexpected empty function. (no-empty-function)
(#11) Unexpected space before function parentheses. (space-before-function-paren)
(#12) Expected space(s) after "if". (keyword-spacing)
(#20) Unexpected space before function parentheses. (space-before-function-paren)
(#22) Unexpected space before function parentheses. (space-before-function-paren)
(#23) Expected space(s) after "if". (keyword-spacing)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#35) Unexpected space before function parentheses. (space-before-function-paren)
(#35) A space is required after ','. (comma-spacing)
(#44) Expected catch,fail() or return (promise/catch-or-return)
(#44) Each then() should return a value or throw (promise/always-return)
(#44) Unexpected space before function parentheses. (space-before-function-paren)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#54) Unexpected space before function parentheses. (space-before-function-paren)
(#57) A space is required after ','. (comma-spacing)
(#61) Unexpected space before function parentheses. (space-before-function-paren)
(#62) Unexpected space before function parentheses. (space-before-function-paren)
(#63) ["value"] is better written in dot notation. (dot-notation)
(#64) A space is required after ','. (comma-spacing)
mod/checkmark/amd/src/submission.js
(#34) Unexpected empty function. (no-empty-function)
(#63) Expected JSDoc for 'event' but found 'e'. (valid-jsdoc)
mod/checkmark/amd/src/utils.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#16) Unexpected space before function parentheses. (space-before-function-paren)
(#25) Unquoted number literal '200' used as key. (quote-props)
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#38) Unexpected space before function parentheses. (space-before-function-paren)
(#41) Unexpected space before function parentheses. (space-before-function-paren)
(#44) Identifier 'classes_arr' is not in camel case. (camelcase)
(#45) Identifier 'classes_arr' is not in camel case. (camelcase)
(#45) Unexpected space before function parentheses. (space-before-function-paren)
(#53) Unexpected space before function parentheses. (space-before-function-paren)
(#56) Unexpected space before function parentheses. (space-before-function-paren)
(#59) Unexpected space before function parentheses. (space-before-function-paren)
(#60) A space is required after ','. (comma-spacing)
(#63) Unexpected space before function parentheses. (space-before-function-paren)
(#88) There should be no space after '['. (array-bracket-spacing)
(#91) A space is required after ','. (comma-spacing)
(#94) A space is required after ','. (comma-spacing)
(#100) Expected catch,fail() or return (promise/catch-or-return)
(#100) Each then() should return a value or throw (promise/always-return)
(#100) Unexpected space before function parentheses. (space-before-function-paren)
(#116) Unexpected space before function parentheses. (space-before-function-paren)
(#117) Unexpected space before function parentheses. (space-before-function-paren)
(#120) Unexpected space before function parentheses. (space-before-function-paren)

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]