Prechecker results: warning


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

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

course/format/designer/amd/src/designer_section.js
(#134) 'li' declared on line 145 column 17 is used outside of binding context. (block-scoped-var)
(#135) 'li' declared on line 145 column 17 is used outside of binding context. (block-scoped-var)
(#141) Operator '+' must be spaced. (space-infix-ops)
(#145) 'li' is already defined. (no-redeclare)
(#145) 'li' declared on line 134 column 25 is used outside of binding context. (block-scoped-var)
(#146) 'li' declared on line 134 column 25 is used outside of binding context. (block-scoped-var)
(#162) Multiple spaces found before '"_self"'. (no-multi-spaces)
(#240) Operator '+' must be spaced. (space-infix-ops)
(#249) Unexpected space before function parentheses. (space-before-function-paren)
(#256) Extra space after key 'cmid'. (key-spacing)
(#262) Expected catch,fail,always() or return (promise/catch-or-return)
(#264) Each then() should return a value or throw (promise/always-return)
(#265) 'uniqueid' declared on line 267 column 25 is used outside of binding context. (block-scoped-var)
(#265) Multiple spaces found before '$'. (no-multi-spaces)
(#267) 'uniqueid' is already defined. (no-redeclare)
(#267) 'uniqueid' declared on line 265 column 25 is used outside of binding context. (block-scoped-var)
(#267) Multiple spaces found before '$'. (no-multi-spaces)
(#269) 'uniqueid' declared on line 265 column 25 is used outside of binding context. (block-scoped-var)
(#269) 'uniqueid' declared on line 267 column 25 is used outside of binding context. (block-scoped-var)
(#270) Avoid nesting promises. (promise/no-nesting)
(#320) Promise.catch() requires 1 argument, but received 0 (promise/valid-params)
(#320) Each then() should return a value or throw (promise/always-return)
(#325) Promise.catch() requires 1 argument, but received 0 (promise/valid-params)
course/format/designer/format.js
(#19) Identifier 'get_config' is not in camel case. (camelcase)
(#21) Identifier 'container_node' is not in camel case. (camelcase)
(#22) Identifier 'container_class' is not in camel case. (camelcase)
(#23) Identifier 'section_node' is not in camel case. (camelcase)
(#24) Identifier 'section_class' is not in camel case. (camelcase)
(#35) Identifier 'swap_sections' is not in camel case. (camelcase)
(#57) Identifier 'process_sections' is not in camel case. (camelcase)

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

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

course/format/designer/templates/cm/module_layout_cards.mustache
(#1) HTML Validation error, line 6: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (d><body><li class=" card" style="" id="" data-for="cmitem" data-id=""> )
course/format/designer/templates/cm/module_layout_default.mustache
(#1) HTML Validation error, line 6: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (d><body><li class=" " style="" id="" data-for="cmitem" data-id=""><di)
course/format/designer/templates/cm/module_layout_list.mustache
(#1) HTML Validation error, line 7: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (d><body><li class=" position-relative" style="" id="" data-for="cmitem" data-id=""> )
course/format/designer/templates/courseformat/content/section.mustache
(#1) ESLint warning [space-in-parens]: There should be no space before this paren. ( component.init('would-be-a-uniqid-course-format', {}, );

Gherkin .feature problems

(0 errors, 0 warnings)

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