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

(4 errors, 0 warnings)

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

lib/editor/tiny/plugins/studietube/classes/plugininfo.php
(#30) Opening brace must not be followed by a blank line
lib/editor/tiny/plugins/studietube/classes/privacy/provider.php
(#27) Opening brace must not be followed by a blank line
lib/editor/tiny/plugins/studietube/version.php
(#29) Short array syntax must be used to define arrays
(#31) Expected 1 newline at end of file; 0 found

Javascript coding style problems

(2 errors, 8 warnings)

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

lib/editor/tiny/plugins/studietube/amd/src/commands.js
(#43) Unexpected space before function parentheses. (space-before-function-paren)
(#50) Expected to return a value at the end of function 'handler'. (consistent-return)
(#55) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#59) Unnecessary escape character: \/. (no-useless-escape)
(#60) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#115) Unexpected space before function parentheses. (space-before-function-paren)
(#118) This line has a length of 163. Maximum allowed is 132. (max-len)
(#119) Unexpected space before function parentheses. (space-before-function-paren)
(#120) Operator '+' must be spaced. (space-infix-ops)
lib/editor/tiny/plugins/studietube/amd/src/plugin.js
(#32) Promise executor functions should not be async. (no-async-promise-executor)

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

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