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

(125 errors, 0 warnings)

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

public/admin/tool/datewatch/classes/manager.php
(#30) The static declaration must come after the visibility declaration
(#32) The static declaration must come after the visibility declaration
(#86) Expected at least 1 space before "."; 0 found
(#86) Expected at least 1 space after "."; 0 found
(#86) Expected at least 1 space before "."; 0 found
(#86) Expected at least 1 space after "."; 0 found
(#91) Expected at least 1 space before "."; 0 found
(#91) Expected at least 1 space after "."; 0 found
(#91) Expected at least 1 space before "."; 0 found
(#91) Expected at least 1 space after "."; 0 found
(#91) Expected at least 1 space before "."; 0 found
(#91) Expected at least 1 space after "."; 0 found
(#160) Expected at least 1 space before "."; 0 found
(#160) Expected at least 1 space after "."; 0 found
(#160) Expected at least 1 space before "."; 0 found
(#160) Expected at least 1 space after "."; 0 found
(#161) Expected at least 1 space before "."; 0 found
(#161) Expected at least 1 space after "."; 0 found
(#161) Expected at least 1 space before "."; 0 found
(#161) Expected at least 1 space after "."; 0 found
(#162) Expected at least 1 space before "."; 0 found
(#162) Expected at least 1 space after "."; 0 found
(#162) Expected at least 1 space before "."; 0 found
(#162) Expected at least 1 space after "."; 0 found
(#167) Opening parenthesis of a multi-line function call must be the last content on the line
(#169) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#169) Closing parenthesis of a multi-line function call must be on a line by itself
(#217) Long list syntax is not allowed
(#243) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#244) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#291) Expected 1 space after FUNCTION keyword; 0 found
(#323) Expected 1 space after FUNCTION keyword; 0 found
(#328) Expected 1 space after FUNCTION keyword; 0 found
(#353) Opening parenthesis of a multi-line function call must be the last content on the line
(#354) Expected at least 1 space before "."; 0 found
(#354) Expected at least 1 space after "."; 0 found
(#355) Multi-line function call not indented correctly; expected 32 spaces but found 36
(#355) Closing parenthesis of a multi-line function call must be on a line by itself
public/admin/tool/datewatch/classes/observer.php
(#40) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#42) The closing parenthesis of a multi-line control structure must be on the line after the last expression
public/admin/tool/datewatch/classes/privacy/provider.php
(#26) Opening brace must not be followed by a blank line
public/admin/tool/datewatch/classes/task/watch.php
(#33) Opening brace must not be followed by a blank line
public/admin/tool/datewatch/classes/watcher.php
(#79) Expected at least 1 space before "."; 0 found
(#79) Expected at least 1 space after "."; 0 found
(#79) Expected at least 1 space before "."; 0 found
(#79) Expected at least 1 space after "."; 0 found
(#94) Expected at least 1 space before "."; 0 found
(#94) Expected at least 1 space after "."; 0 found
(#94) Expected at least 1 space before "."; 0 found
(#94) Expected at least 1 space after "."; 0 found
public/admin/tool/datewatch/db/upgrade.php
(#36) Blank line found at start of control structure
public/admin/tool/datewatch/tests/generator/lib.php
(#37) Expected 1 space after FUNCTION keyword; 0 found
(#67) Expected 1 space after FUNCTION keyword; 0 found
(#81) Expected 1 space after FUNCTION keyword; 0 found
(#119) Opening parenthesis of a multi-line function call must be the last content on the line
(#120) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#120) Closing parenthesis of a multi-line function call must be on a line by itself
(#122) Expected at least 1 space before "."; 0 found
(#122) Expected at least 1 space after "."; 0 found
(#122) Expected at least 1 space before "."; 0 found
(#122) Expected at least 1 space after "."; 0 found
(#123) Opening parenthesis of a multi-line function call must be the last content on the line
(#124) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#124) Closing parenthesis of a multi-line function call must be on a line by itself
(#140) Expected at least 1 space before "."; 0 found
(#140) Expected at least 1 space after "."; 0 found
(#140) Expected at least 1 space before "."; 0 found
(#140) Expected at least 1 space after "."; 0 found
public/admin/tool/datewatch/tests/generator_test.php
(#30) Opening brace must not be followed by a blank line
public/admin/tool/datewatch/tests/manager_test.php
(#33) Opening brace must not be followed by a blank line
(#95) Opening parenthesis of a multi-line function call must be the last content on the line
(#96) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#96) Closing parenthesis of a multi-line function call must be on a line by itself
(#97) Opening parenthesis of a multi-line function call must be the last content on the line
(#98) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#98) Closing parenthesis of a multi-line function call must be on a line by itself
(#115) Opening parenthesis of a multi-line function call must be the last content on the line
(#116) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#116) Closing parenthesis of a multi-line function call must be on a line by itself
(#168) Opening parenthesis of a multi-line function call must be the last content on the line
(#169) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#169) Closing parenthesis of a multi-line function call must be on a line by itself
(#184) Opening parenthesis of a multi-line function call must be the last content on the line
(#185) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#185) Only one argument is allowed per line in a multi-line function call
(#185) Closing parenthesis of a multi-line function call must be on a line by itself
(#187) Opening parenthesis of a multi-line function call must be the last content on the line
(#188) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#188) Only one argument is allowed per line in a multi-line function call
(#188) Closing parenthesis of a multi-line function call must be on a line by itself
(#230) Opening parenthesis of a multi-line function call must be the last content on the line
(#231) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#231) Closing parenthesis of a multi-line function call must be on a line by itself
(#240) Opening parenthesis of a multi-line function call must be the last content on the line
(#241) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#241) Only one argument is allowed per line in a multi-line function call
(#241) Closing parenthesis of a multi-line function call must be on a line by itself
(#243) Opening parenthesis of a multi-line function call must be the last content on the line
(#244) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#244) Only one argument is allowed per line in a multi-line function call
(#244) Closing parenthesis of a multi-line function call must be on a line by itself
(#247) Opening parenthesis of a multi-line function call must be the last content on the line
(#248) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#248) Only one argument is allowed per line in a multi-line function call
(#248) Closing parenthesis of a multi-line function call must be on a line by itself
(#315) Opening parenthesis of a multi-line function call must be the last content on the line
(#316) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#316) Only one argument is allowed per line in a multi-line function call
(#316) Closing parenthesis of a multi-line function call must be on a line by itself
(#327) Expected at least 1 space before "."; 0 found
(#411) Opening parenthesis of a multi-line function call must be the last content on the line
(#412) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#412) Closing parenthesis of a multi-line function call must be on a line by itself
(#422) Opening parenthesis of a multi-line function call must be the last content on the line
(#423) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#423) Only one argument is allowed per line in a multi-line function call
(#423) Closing parenthesis of a multi-line function call must be on a line by itself
(#426) Opening parenthesis of a multi-line function call must be the last content on the line
(#427) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#427) Only one argument is allowed per line in a multi-line function call
(#427) Closing parenthesis of a multi-line function call must be on a line by itself
(#430) Opening parenthesis of a multi-line function call must be the last content on the line
(#431) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#431) Only one argument is allowed per line in a multi-line function call
(#431) Closing parenthesis of a multi-line function call must be on a line by itself

Javascript coding style problems

(0 errors, 0 warnings)

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


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]


Gherkin .feature problems

(0 errors, 0 warnings)

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