Prechecker results: error


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

(30 errors, 17 warnings)

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

public/question/type/mtf/js/attempt.js
(#1) '$' is not defined. (no-undef)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#2) Missing space before opening brace. (space-before-blocks)
(#4) Identifier 'qtypemtf_whichid' is not in camel case. (camelcase)
(#5) Identifier 'qtypemtf_whichid' is not in camel case. (camelcase)
(#9) There should be no space after this paren. (space-in-parens)
(#9) There should be no space before this paren. (space-in-parens)
public/question/type/mtf/js/clear.js
(#1) '$' is not defined. (no-undef)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#2) Missing space before opening brace. (space-before-blocks)
public/question/type/mtf/mobile/mtf.js
(#62) 'i' is defined but never used. (no-unused-vars)
(#71) Do not nest ternary expressions. (no-nested-ternary)
(#73) Missing semicolon. (semi)
(#95) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
public/question/type/mtf/yui/form/form.js
(#9) Unexpected space before function parentheses. (space-before-function-paren)
(#18) Unexpected space before function parentheses. (space-before-function-paren)
(#22) 'mtftypechanged' is not defined. (no-undef)
(#22) A space is required after ','. (comma-spacing)
(#27) 'mtfnumberchanged' is not defined. (no-undef)
(#27) A space is required after ','. (comma-spacing)
(#32) Expected space(s) after "if". (keyword-spacing)
(#32) There should be no space after this paren. (space-in-parens)
(#39) 'mtftypechanged' is not defined. (no-undef)
(#59) 'mtfnumberchanged' is not defined. (no-undef)
(#59) 'loadorchanged' is defined but never used. (no-unused-vars)
(#66) 'remainingmtfoptions' is assigned a value but never used. (no-unused-vars)
(#70) Unexpected confirm. (no-alert)
(#77) Unexpected alert. (no-alert)
(#77) Missing semicolon. (semi)
(#90) 'i' is not defined. (no-undef)
(#90) 'i' is not defined. (no-undef)
(#90) 'numberofrows' is not modified in this loop. (no-unmodified-loop-condition)
(#90) 'i' is not defined. (no-undef)
(#91) 'i' is not defined. (no-undef)
(#94) 'i' is not defined. (no-undef)
(#94) 'i' is not defined. (no-undef)
(#94) 'numberofrows' is not modified in this loop. (no-unmodified-loop-condition)
(#94) 'i' is not defined. (no-undef)
(#95) 'i' is not defined. (no-undef)
(#99) 'i' is not defined. (no-undef)
(#99) 'i' is not defined. (no-undef)
(#99) 'maxmtfoptions' is not modified in this loop. (no-unmodified-loop-condition)
(#99) 'i' is not defined. (no-undef)
(#100) 'i' is not defined. (no-undef)
(#118) 'mtftypechanged' is not defined. (no-undef)
(#121) 'mtfnumberchanged' is not defined. (no-undef)
(#130) 'jQuery' is not defined. (no-undef)

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

(1 errors, 1 warnings)

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

Problems running grunt
Task "gherkinlint" failed. Use --force to continue.

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

(6 errors, 0 warnings)

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

public/question/type/mtf/tests/behat/02.feature
(#87) Multiple empty lines are not allowed
public/question/type/mtf/tests/behat/01.feature
(#617) Multiple empty lines are not allowed
(#863) Multiple empty lines are not allowed
public/question/type/mtf/tests/behat/03.feature
(#89) Multiple empty lines are not allowed
public/question/type/mtf/tests/behat/05.feature
(#94) Multiple empty lines are not allowed
(#231) Multiple empty lines are not allowed