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

(11 errors, 5 warnings)

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

question/type/shortanssimilarity/javascript/mobile.js
(#18) Trailing spaces not allowed. (no-trailing-spaces)
(#30) Unexpected console statement. (no-console)
(#36) 'questiontext' is assigned a value but never used. (no-unused-vars)
(#45) Trailing spaces not allowed. (no-trailing-spaces)
(#53) Trailing spaces not allowed. (no-trailing-spaces)
(#62) Unexpected empty arrow function. (no-empty-function)
(#63) Trailing spaces not allowed. (no-trailing-spaces)
(#68) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
question/type/shortanssimilarity/mobile/mobile.js
(#31) Unexpected console statement. (no-console)
(#37) 'questiontext' is assigned a value but never used. (no-unused-vars)
(#66) Comments should not begin with a lowercase character. (capitalized-comments)
(#66) Expected space or tab after '//' in comment. (spaced-comment)
(#67) Missing semicolon. (semi)
(#71) Comments should not begin with a lowercase character. (capitalized-comments)
(#71) Expected space or tab after '//' in comment. (spaced-comment)
(#76) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)

CSS problems

(1 errors, 0 warnings)

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

question/type/shortanssimilarity/mobile/styles_app.css
(#2) Unexpected empty block (block-no-empty)

PHPDocs style problems

(5 errors, 0 warnings)

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

question/type/shortanssimilarity/lib.php
(#49) Phpdocs for function qtype_shortanssimilarity_call_bridge has incomplete parameters list
question/type/shortanssimilarity/question.php
(#87) Inline phpdocs tag {@link question_attempt} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#90) Inline phpdocs tag {@link get_num_variants()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#306) Inline phpdocs tag {@link question_attempt_step::get_qt_data()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#396) Inline phpdocs tag {@link question_attempt_step::get_qt_data()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}

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

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


Gherkin .feature problems

(0 errors, 0 warnings)

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