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

(29 errors, 0 warnings)

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

public/blocks/rate/block_rate.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
public/blocks/rate/classes/output/rateform.php
(#38) Opening brace must not be followed by a blank line
(#68) Opening parenthesis of a multi-line function call must be the last content on the line
(#69) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#69) Closing parenthesis of a multi-line function call must be on a line by itself
public/blocks/rate/classes/output/rating.php
(#38) Opening brace must not be followed by a blank line
public/blocks/rate/classes/output/renderer.php
(#36) Opening brace must not be followed by a blank line
(#62) The closing brace for the class must go on the next line after the body
public/blocks/rate/classes/privacy/provider.php
(#49) Missing docblock for class provider
(#52) Opening brace must not be followed by a blank line
(#137) Expected 1 space after FUNCTION keyword; 0 found
(#154) Expected 1 space after FUNCTION keyword; 0 found
(#163) Expected 1 space after FUNCTION keyword; 0 found
(#200) Expected 1 space after FUNCTION keyword; 0 found
(#276) Multi-line function declarations must define one parameter per line
(#276) Multi-line function declarations must define one parameter per line
(#277) Multi-line function declarations must define one parameter per line
public/blocks/rate/externallib.php
(#66) Opening parenthesis of a multi-line function call must be the last content on the line
(#67) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#67) Closing parenthesis of a multi-line function call must be on a line by itself
(#72) Opening parenthesis of a multi-line function call must be the last content on the line
(#73) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#73) Closing parenthesis of a multi-line function call must be on a line by itself
public/blocks/rate/settings.php
(#28) Opening parenthesis of a multi-line function call must be the last content on the line
(#30) Only one argument is allowed per line in a multi-line function call
(#30) Only one argument is allowed per line in a multi-line function call
(#34) Opening parenthesis of a multi-line function call must be the last content on the line
(#36) Only one argument is allowed per line in a multi-line function call
(#36) Only one argument is allowed per line in a multi-line function call

Javascript coding style problems

(1 errors, 1 warnings)

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

public/blocks/rate/amd/src/rate.js
(#19) @package should be empty. (jsdoc/empty-tags)
(#62) The function binding is unnecessary. (no-extra-bind)

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]

public/blocks/rate/templates/rate-form.mustache
(#1) ESLint did not run

Gherkin .feature problems

(0 errors, 0 warnings)

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