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

(23 errors, 2 warnings)

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

mod/videotime/classes/privacy/provider.php
(#41) There must not be a space before the colon in a return type declaration
mod/videotime/classes/search/texttrack.php
(#49) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $context.
mod/videotime/classes/videotime_instance.php
(#130) There must not be a space before the colon in a return type declaration
(#205) There must not be a space before the colon in a return type declaration
(#230) There must not be a space before the colon in a return type declaration
mod/videotime/plugin/live/classes/janus_room.php
(#58) Expected 0 spaces after "__construct"; 1 found
mod/videotime/plugin/live/classes/privacy/provider.php
(#58) There must not be a space before the colon in a return type declaration
(#80) There must not be a space before the colon in a return type declaration
mod/videotime/plugin/live/db/services.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
mod/videotime/plugin/videojs/classes/privacy/provider.php
(#41) There must not be a space before the colon in a return type declaration
mod/videotime/plugin/videojs/tests/force_settings_test.php
(#55) There must not be a space before the colon in a return type declaration
(#70) There must not be a space before the colon in a return type declaration
mod/videotime/plugin/vimeo/classes/privacy/provider.php
(#41) There must not be a space before the colon in a return type declaration
mod/videotime/plugin/vimeo/tests/force_settings_test.php
(#55) There must not be a space before the colon in a return type declaration
(#70) There must not be a space before the colon in a return type declaration
mod/videotime/tab/block/classes/privacy/provider.php
(#41) There must not be a space before the colon in a return type declaration
mod/videotime/tab/chapter/classes/privacy/provider.php
(#41) There must not be a space before the colon in a return type declaration
mod/videotime/tab/chat/classes/privacy/provider.php
(#54) There must not be a space before the colon in a return type declaration
(#69) There must not be a space before the colon in a return type declaration
mod/videotime/tab/information/classes/privacy/provider.php
(#41) There must not be a space before the colon in a return type declaration
mod/videotime/tab/related/classes/privacy/provider.php
(#41) There must not be a space before the colon in a return type declaration
mod/videotime/tab/texttrack/classes/privacy/provider.php
(#41) There must not be a space before the colon in a return type declaration
mod/videotime/tab/watch/classes/privacy/provider.php
(#41) There must not be a space before the colon in a return type declaration
mod/videotime/tests/external_test.php
(#68) There must not be a space before the colon in a return type declaration
mod/videotime/tests/generator/lib.php
(#41) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $options.

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

(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

(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]