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

(2 errors, 40 warnings)

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

question/type/wordselect/amd/src/selection.js
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#26) Missing JSDoc comment. (require-jsdoc)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#27) Unexpected space between function name and paren. (func-call-spacing)
(#27) Unexpected space between function name and paren. (func-call-spacing)
(#27) Unexpected space before function parentheses. (space-before-function-paren)
(#30) Unexpected space between function name and paren. (func-call-spacing)
(#30) Unexpected space between function name and paren. (func-call-spacing)
(#39) Unexpected space between function name and paren. (func-call-spacing)
(#39) Unexpected space between function name and paren. (func-call-spacing)
(#39) Unexpected space before function parentheses. (space-before-function-paren)
(#40) Unexpected space between function name and paren. (func-call-spacing)
(#40) Unexpected space between function name and paren. (func-call-spacing)
(#44) Missing JSDoc comment. (require-jsdoc)
(#44) Unexpected space before function parentheses. (space-before-function-paren)
(#45) Unexpected space between function name and paren. (func-call-spacing)
(#45) Unexpected space between function name and paren. (func-call-spacing)
(#46) Unexpected space between function name and paren. (func-call-spacing)
(#47) Unexpected space between function name and paren. (func-call-spacing)
(#52) Unexpected space between function name and paren. (func-call-spacing)
(#53) Unexpected space between function name and paren. (func-call-spacing)
(#54) Unexpected space between function name and paren. (func-call-spacing)
(#64) Unexpected space between function name and paren. (func-call-spacing)
(#65) Unexpected space between function name and paren. (func-call-spacing)
(#66) Unexpected space between function name and paren. (func-call-spacing)
(#74) Unexpected space before function parentheses. (space-before-function-paren)
(#75) Unexpected space between function name and paren. (func-call-spacing)
question/type/wordselect/mobile/mobile.js
(#29) Missing JSDoc comment. (require-jsdoc)
(#63) 'i' used outside of binding context. (block-scoped-var)
(#63) 'i' used outside of binding context. (block-scoped-var)
(#63) 'i' used outside of binding context. (block-scoped-var)
(#64) 'i' used outside of binding context. (block-scoped-var)
(#65) 'i' used outside of binding context. (block-scoped-var)
(#66) 'i' used outside of binding context. (block-scoped-var)
(#70) 'i' is already defined. (no-redeclare)
(#70) 'i' used outside of binding context. (block-scoped-var)
(#70) 'i' used outside of binding context. (block-scoped-var)
(#70) 'i' used outside of binding context. (block-scoped-var)
(#71) 'i' used outside of binding context. (block-scoped-var)
(#72) 'i' used outside of binding context. (block-scoped-var)
(#80) Unexpected console statement. (no-console)
(#109) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(3 errors, 0 warnings)

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

question/type/wordselect/renderer.php
(#179) Phpdocs for function qtype_wordselect_renderer::get_input_name has incomplete parameters list
(#193) Phpdocs for function qtype_wordselect_renderer::get_input_id has incomplete parameters list
question/type/wordselect/tests/helper.php
(#61) There is no description in phpdocs for function get_wordselect_question_form_data_catmat

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

(2 errors, 0 warnings)

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

question/type/wordselect/amd/build/navigation.min.js
Uncommitted change detected.
question/type/wordselect/amd/build/selection.min.js
Uncommitted change detected.

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]