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, 1 warnings)

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

mod/checkmark/locallib.php
(#879) 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

(2 errors, 0 warnings)

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

mod/checkmark/styles.css
(#230) Unexpected duplicate "width" (declaration-block-no-duplicate-properties)
(#231) Unexpected duplicate "height" (declaration-block-no-duplicate-properties)

PHPDocs style problems

(4 errors, 0 warnings)

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

mod/checkmark/backup/moodle2/restore_checkmark_activity_task.class.php
(#87) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#89) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#114) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#116) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}

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 "stylelint:css" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(3 errors, 1 warnings)

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

mod/checkmark/templates/example.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
mod/checkmark/templates/examplestate.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
mod/checkmark/templates/overwriteinfo.mustache
(#1) Example context missing (@template section not found.)
mod/checkmark/templates/submission.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error

Gherkin .feature problems

(7 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]

mod/checkmark/tests/behat/checkmark_add_submission.feature
(#38) New line at EOF(end of file) is required
mod/checkmark/tests/behat/checkmark_allow_submission_from.feature
(#28) New line at EOF(end of file) is required
mod/checkmark/tests/behat/checkmark_deactivate_timeavailable.feature
(#44) New line at EOF(end of file) is required
mod/checkmark/tests/behat/checkmark_display_grade.feature
(#32) New line at EOF(end of file) is required
mod/checkmark/tests/behat/checkmark_special_characters_naming.feature
(#27) New line at EOF(end of file) is required
mod/checkmark/tests/behat/checkmark_timeavailable_date.feature
(#29) New line at EOF(end of file) is required
mod/checkmark/tests/behat/checkmark_View_1_submitted.feature
(#40) New line at EOF(end of file) is required