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

(0 errors, 15 warnings)

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

mod/videotime/appjs/view_init.js
(#58) Promise.catch() requires 1 argument, but received 0 (promise/valid-params)
(#65) Promise.catch() requires 1 argument, but received 0 (promise/valid-params)
(#72) Promise.catch() requires 1 argument, but received 0 (promise/valid-params)
(#174) Promise.catch() requires 1 argument, but received 0 (promise/valid-params)
(#180) Avoid nesting promises. (promise/no-nesting)
(#180) Promise.catch() requires 1 argument, but received 0 (promise/valid-params)
(#180) Avoid nesting promises. (promise/no-nesting)
mod/videotime/plugin/live/amd/src/videotime.js
(#240) Avoid nesting promises. (promise/no-nesting)
(#244) Avoid nesting promises. (promise/no-nesting)
(#244) Avoid nesting promises. (promise/no-nesting)
(#285) Avoid nesting promises. (promise/no-nesting)
(#285) Avoid nesting promises. (promise/no-nesting)
(#439) Avoid nesting promises. (promise/no-nesting)
(#439) Avoid nesting promises. (promise/no-nesting)
(#610) Method 'subscribeTo' has a complexity of 22. Maximum allowed is 20. (complexity)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(2 errors, 0 warnings)

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

mod/videotime/tests/generator/lib.php
(#37) Phpdocs for function mod_videotime_generator::create_instance has incomplete parameters list
(#94) Phpdocs for function mod_videotime_generator::create_session has incomplete parameters list

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]

mod/videotime/plugin/live/templates/controls.mustache
(#1) Template produced no content
mod/videotime/templates/videotime_instance.mustache
(#1) Template produced no content

Gherkin .feature problems

(0 errors, 0 warnings)

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