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

(80 errors, 0 warnings)

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

public/blocks/definitions/block_definitions.php
(#32) Opening brace must not be followed by a blank line
(#92) The closing brace for the class must go on the next line after the body
public/blocks/definitions/classes/output/renderer.php
(#38) Opening brace must not be followed by a blank line
(#50) The closing brace for the class must go on the next line after the body
public/blocks/definitions/classes/output/search_form.php
(#40) Opening brace must not be followed by a blank line
(#75) The closing brace for the class must go on the next line after the body
public/blocks/definitions/classes/privacy/provider.php
(#34) Opening brace must not be followed by a blank line
public/blocks/definitions/externallib.php
(#36) Opening brace must not be followed by a blank line
(#46) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#62) Multi-line function call not indented correctly; expected 12 spaces but found 24
(#63) Multi-line function call not indented correctly; expected 12 spaces but found 24
(#87) Opening parenthesis of a multi-line function call must be the last content on the line
(#88) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#88) Only one argument is allowed per line in a multi-line function call
(#88) Closing parenthesis of a multi-line function call must be on a line by itself
(#99) Space found before comma in argument list
(#99) Expected no space between ")" and the comma. Found: a new line
(#99) Only one argument is allowed per line in a multi-line function call
(#99) Only one argument is allowed per line in a multi-line function call
(#99) Closing parenthesis of a multi-line function call must be on a line by itself
(#109) Opening parenthesis of a multi-line function call must be the last content on the line
(#109) Only one argument is allowed per line in a multi-line function call
(#110) Multi-line function call not indented correctly; expected 28 spaces but found 36
(#110) Closing parenthesis of a multi-line function call must be on a line by itself
(#112) Multi-line function call not indented correctly; expected 32 spaces but found 36
(#113) Multi-line function call not indented correctly; expected 40 spaces but found 44
(#115) There should be a comma after the last array item in a multi-line array.
(#117) Only one argument is allowed per line in a multi-line function call
(#117) Only one argument is allowed per line in a multi-line function call
(#118) Whitespace found at end of line
(#120) Multi-line function call not indented correctly; expected 32 spaces but found 36
(#121) Multi-line function call not indented correctly; expected 40 spaces but found 44
(#124) Opening parenthesis of a multi-line function call must be the last content on the line
(#125) Multi-line function call not indented correctly; expected 48 spaces but found 56
(#125) Only one argument is allowed per line in a multi-line function call
(#125) Closing parenthesis of a multi-line function call must be on a line by itself
(#126) Opening parenthesis of a multi-line function call must be the last content on the line
(#127) Multi-line function call not indented correctly; expected 48 spaces but found 56
(#127) Only one argument is allowed per line in a multi-line function call
(#127) Closing parenthesis of a multi-line function call must be on a line by itself
(#128) Opening parenthesis of a multi-line function call must be the last content on the line
(#129) Multi-line function call not indented correctly; expected 48 spaces but found 56
(#129) Only one argument is allowed per line in a multi-line function call
(#129) Closing parenthesis of a multi-line function call must be on a line by itself
(#130) Opening parenthesis of a multi-line function call must be the last content on the line
(#131) Multi-line function call not indented correctly; expected 48 spaces but found 56
(#131) Only one argument is allowed per line in a multi-line function call
(#131) Closing parenthesis of a multi-line function call must be on a line by itself
(#132) Opening parenthesis of a multi-line function call must be the last content on the line
(#133) Multi-line function call not indented correctly; expected 48 spaces but found 56
(#133) Only one argument is allowed per line in a multi-line function call
(#133) Closing parenthesis of a multi-line function call must be on a line by itself
(#134) Opening parenthesis of a multi-line function call must be the last content on the line
(#135) Multi-line function call not indented correctly; expected 48 spaces but found 56
(#135) Only one argument is allowed per line in a multi-line function call
(#135) Closing parenthesis of a multi-line function call must be on a line by itself
(#136) Opening parenthesis of a multi-line function call must be the last content on the line
(#137) Multi-line function call not indented correctly; expected 48 spaces but found 56
(#137) Only one argument is allowed per line in a multi-line function call
(#137) Closing parenthesis of a multi-line function call must be on a line by itself
(#138) Opening parenthesis of a multi-line function call must be the last content on the line
(#139) Multi-line function call not indented correctly; expected 48 spaces but found 56
(#139) Only one argument is allowed per line in a multi-line function call
(#139) Closing parenthesis of a multi-line function call must be on a line by itself
(#141) Multi-line function call not indented correctly; expected 36 spaces but found 40
(#142) Multi-line function call not indented correctly; expected 28 spaces but found 32
(#145) Multi-line function call not indented correctly; expected 32 spaces but found 36
(#146) Multi-line function call not indented correctly; expected 40 spaces but found 44
(#152) Only one argument is allowed per line in a multi-line function call
(#152) Only one argument is allowed per line in a multi-line function call
(#155) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#159) Only one argument is allowed per line in a multi-line function call
(#159) Only one argument is allowed per line in a multi-line function call
(#161) Opening parenthesis of a multi-line function call must be the last content on the line
(#162) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#162) Only one argument is allowed per line in a multi-line function call
(#162) Closing parenthesis of a multi-line function call must be on a line by itself
(#167) The closing brace for the class must go on the next line after the body
public/blocks/definitions/locallib.php
(#171) Usage of ELSEIF not allowed; use ELSE IF instead
public/blocks/definitions/settings.php
(#49) Whitespace found at end of line

Javascript coding style problems

(0 errors, 2 warnings)

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

public/blocks/definitions/amd/src/definitions.js
(#35) Each then() should return a value or throw (promise/always-return)
(#67) 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

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

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

public/blocks/definitions/templates/dictionary.mustache
(#1) ESLint did not run
public/blocks/definitions/templates/errormessage.mustache
(#1) HTML Validation info, line 3: Empty heading. (d><body><h1></h1>)
public/blocks/definitions/templates/search_form.mustache
(#1) HTML Validation error, line 25: Bad value “” for attribute “src” on element “img”: Must be non-empty. (="_blank"><img src="" alt="Merriam-Webster"></a><)
(#1) HTML Validation error, line 12: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label class="sr-only" for="selectdictionary">((sele)

Gherkin .feature problems

(0 errors, 0 warnings)

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