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

(0 errors, 10 warnings)

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

blocks/todo/amd/src/control.js
(#31) Missing JSDoc for parameter 'instanceid'. (valid-jsdoc)
(#37) Infix operators must be spaced. (space-infix-ops)
(#63) Unexpected space before function parentheses. (space-before-function-paren)
(#80) Unexpected space before function parentheses. (space-before-function-paren)
(#98) Unexpected space before function parentheses. (space-before-function-paren)
(#122) Unexpected space before function parentheses. (space-before-function-paren)
(#162) Missing JSDoc for parameter 'id'. (valid-jsdoc)
(#168) Unexpected space before function parentheses. (space-before-function-paren)
(#197) Missing JSDoc for parameter 'id'. (valid-jsdoc)
(#203) 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

(6 errors, 0 warnings)

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

blocks/todo/classes/external/item_exporter.php
(#32) Class item_exporter does not have @copyright tag
(#32) Class item_exporter does not have @license tag
blocks/todo/classes/external/list_exporter.php
(#32) Class list_exporter does not have @copyright tag
(#32) Class list_exporter does not have @license tag
blocks/todo/classes/item.php
(#31) Class item does not have @copyright tag
(#31) Class item does not have @license tag

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

(1 errors, 2 warnings)

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

blocks/todo/templates/content.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
blocks/todo/templates/item.mustache
(#1) Example context missing.
(#1) HTML Validation error, line 3: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (d><body><li data-item="" class="list-group-item " style="clear:both"> )