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

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

local/aiquestions/classes/task/questions.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/aiquestions/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.

Javascript coding style problems

(1 errors, 26 warnings)

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

local/aiquestions/amd/src/state.js
(#25) 'str' is defined but never used. (no-unused-vars)
(#48) Expected catch,fail() or return (promise/catch-or-return)
(#53) 'single' used outside of binding context. (block-scoped-var)
(#55) 'single' is already defined. (no-redeclare)
(#55) 'single' used outside of binding context. (block-scoped-var)
(#57) Expected space or tab after '//' in comment. (spaced-comment)
(#58) 'error' used outside of binding context. (block-scoped-var)
(#60) 'error' is already defined. (no-redeclare)
(#60) 'error' used outside of binding context. (block-scoped-var)
(#62) Expected catch,fail() or return (promise/catch-or-return)
(#62) There should be no space after '{'. (babel/object-curly-spacing)
(#64) 'error' used outside of binding context. (block-scoped-var)
(#64) 'error' used outside of binding context. (block-scoped-var)
(#65) 'single' used outside of binding context. (block-scoped-var)
(#65) 'single' used outside of binding context. (block-scoped-var)
(#65) There should be no space before '}'. (babel/object-curly-spacing)
(#65) Each then() should return a value or throw (promise/always-return)
(#72) Each then() should return a value or throw (promise/always-return)
(#75) 'percent' used outside of binding context. (block-scoped-var)
(#77) 'percent' is already defined. (no-redeclare)
(#77) 'percent' used outside of binding context. (block-scoped-var)
(#79) Expected catch,fail() or return (promise/catch-or-return)
(#79) There should be no space after '{'. (babel/object-curly-spacing)
(#81) 'percent' used outside of binding context. (block-scoped-var)
(#81) 'percent' used outside of binding context. (block-scoped-var)
(#81) There should be no space before '}'. (babel/object-curly-spacing)
(#81) Each then() should return a value or throw (promise/always-return)

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 "eslint:amd" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(1 errors, 0 warnings)

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

local/aiquestions/templates/success.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error

Gherkin .feature problems

(0 errors, 0 warnings)

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