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

(4 errors, 0 warnings)

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

mod/hotquestion/locallib.php
(#332) Whitespace found at end of line
mod/hotquestion/renderer.php
(#109) Line indented incorrectly; expected 8 spaces, found 12
(#109) Closing brace indented incorrectly; expected 8 spaces, found 12
(#111) Line indented incorrectly; expected 8 spaces, found 12

Javascript coding style problems

(9 errors, 2 warnings)

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

mod/hotquestion/module.js
(#66) Avoid arguments.caller. (no-caller)
(#77) 'transactionid' is defined but never used. (no-unused-vars)
(#77) 'response' is defined but never used. (no-unused-vars)
(#77) 'arguments' is defined but never used. (no-unused-vars)
(#80) Unexpected alert. (no-alert)
(#80) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#96) 'request' is assigned a value but never used. (no-unused-vars)
(#104) 'e' is defined but never used. (no-unused-vars)
(#131) 'index' is defined but never used. (no-unused-vars)
(#131) 'nodelist' is defined but never used. (no-unused-vars)
(#148) 'request' is assigned a value but never used. (no-unused-vars)

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]

mod/hotquestion/backup/moodle2/restore_hotquestion_activity_task.class.php
(#98) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#100) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/hotquestion/classes/event/xxxcomment_created.php
(#31) Package mod_data is not valid

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

(1 errors, 0 warnings)

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

mod/hotquestion/tests/behat/add_hot_question_activity.feature
(#2) Feature name is already used in: mod/hotquestion/tests/behat/Add Hot Question Activity.feature