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

(216 errors, 0 warnings)

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

public/admin/tool/moodlebox/classes/form/changepassword_form.php
(#40) Opening brace must not be followed by a blank line
(#52) Expected at least 1 space before "."; 0 found
(#52) Expected at least 1 space after "."; 0 found
(#52) Expected at least 1 space before "."; 0 found
(#52) Expected at least 1 space after "."; 0 found
(#52) Expected at least 1 space before "."; 0 found
(#52) Expected at least 1 space after "."; 0 found
public/admin/tool/moodlebox/classes/form/datetimeset_form.php
(#40) Opening brace must not be followed by a blank line
(#47) Opening parenthesis of a multi-line function call must be the last content on the line
(#47) Only one argument is allowed per line in a multi-line function call
(#47) Only one argument is allowed per line in a multi-line function call
(#48) Multi-line function call not indented correctly; expected 12 spaces but found 28
(#54) Multi-line function call not indented correctly; expected 8 spaces but found 28
(#54) Closing parenthesis of a multi-line function call must be on a line by itself
public/admin/tool/moodlebox/classes/form/resizepartition_form.php
(#40) Opening brace must not be followed by a blank line
(#48) Opening parenthesis of a multi-line function call must be the last content on the line
(#48) Only one argument is allowed per line in a multi-line function call
(#49) Multi-line function call not indented correctly; expected 8 spaces but found 50
(#49) Closing parenthesis of a multi-line function call must be on a line by itself
public/admin/tool/moodlebox/classes/form/restartshutdown_form.php
(#40) Opening brace must not be followed by a blank line
(#48) Opening parenthesis of a multi-line function call must be the last content on the line
(#48) Only one argument is allowed per line in a multi-line function call
(#49) Multi-line function call not indented correctly; expected 8 spaces but found 50
(#49) Closing parenthesis of a multi-line function call must be on a line by itself
(#50) Opening parenthesis of a multi-line function call must be the last content on the line
(#50) Only one argument is allowed per line in a multi-line function call
(#51) Multi-line function call not indented correctly; expected 8 spaces but found 50
(#51) Closing parenthesis of a multi-line function call must be on a line by itself
public/admin/tool/moodlebox/classes/form/wifisettings_form.php
(#40) Opening brace must not be followed by a blank line
(#64) Opening parenthesis of a multi-line function call must be the last content on the line
(#64) Only one argument is allowed per line in a multi-line function call
(#64) Only one argument is allowed per line in a multi-line function call
(#65) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#65) Closing parenthesis of a multi-line function call must be on a line by itself
(#76) Opening parenthesis of a multi-line function call must be the last content on the line
(#76) Only one argument is allowed per line in a multi-line function call
(#76) Only one argument is allowed per line in a multi-line function call
(#77) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#77) Closing parenthesis of a multi-line function call must be on a line by itself
(#84) Opening parenthesis of a multi-line function call must be the last content on the line
(#84) Only one argument is allowed per line in a multi-line function call
(#84) Only one argument is allowed per line in a multi-line function call
(#85) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#85) Closing parenthesis of a multi-line function call must be on a line by itself
(#92) Opening parenthesis of a multi-line function call must be the last content on the line
(#92) Only one argument is allowed per line in a multi-line function call
(#92) Only one argument is allowed per line in a multi-line function call
(#93) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#93) Closing parenthesis of a multi-line function call must be on a line by itself
(#132) Expected 0 spaces before closing bracket; 1 found
public/admin/tool/moodlebox/classes/hook_callbacks.php
(#50) Expected 0 spaces after opening bracket; 1 found
(#50) Expected 0 spaces before closing bracket; 1 found
(#51) Expected 0 spaces after opening bracket; 1 found
(#51) Expected 0 spaces before closing bracket; 1 found
(#53) Expected 0 spaces after opening bracket; 1 found
(#53) Expected 0 spaces before closing bracket; 1 found
(#62) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#63) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#63) Blank line found at start of control structure
(#81) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#82) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#82) Blank line found at start of control structure
(#108) Blank line found at end of control structure
public/admin/tool/moodlebox/classes/local/utils.php
(#33) Opening brace must not be followed by a blank line
(#88) Expected 0 spaces after opening bracket; 1 found
(#88) Expected 0 spaces before closing bracket; 1 found
(#89) Expected 0 spaces after opening bracket; 1 found
(#89) Expected 0 spaces before closing bracket; 1 found
(#145) Expected 0 spaces after opening bracket; 1 found
(#145) Expected 0 spaces before closing bracket; 1 found
(#147) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#147) Opening parenthesis of a multi-line function call must be the last content on the line
(#148) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#148) Only one argument is allowed per line in a multi-line function call
(#148) Closing parenthesis of a multi-line function call must be on a line by itself
(#148) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#184) Expected 0 spaces after opening bracket; 1 found
(#184) Expected 0 spaces before closing bracket; 1 found
(#190) Expected 0 spaces after opening bracket; 1 found
(#190) Expected 0 spaces before closing bracket; 1 found
(#226) Expected 0 spaces after opening bracket; 1 found
(#226) Expected 0 spaces before closing bracket; 1 found
(#245) Expected 1 space after FUNCTION keyword; 0 found
(#303) Expected 0 spaces after opening bracket; 1 found
(#303) Expected 0 spaces before closing bracket; 1 found
(#366) Expected 0 spaces after opening bracket; 1 found
(#366) Expected 0 spaces before closing bracket; 1 found
(#367) Expected 0 spaces after opening bracket; 1 found
(#367) Expected 0 spaces before closing bracket; 1 found
(#383) Expected 0 spaces after opening bracket; 1 found
(#405) Expected at least 1 space before "."; 0 found
(#405) Expected at least 1 space after "."; 0 found
(#408) Expected 0 spaces after opening bracket; 1 found
(#408) Expected 0 spaces before closing bracket; 1 found
(#409) Expected 0 spaces after opening bracket; 1 found
(#409) Expected 0 spaces before closing bracket; 1 found
(#421) Expected 0 spaces after opening bracket; 1 found
(#421) Expected 0 spaces before closing bracket; 1 found
(#423) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#423) Opening parenthesis of a multi-line function call must be the last content on the line
(#424) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#424) Only one argument is allowed per line in a multi-line function call
(#424) Closing parenthesis of a multi-line function call must be on a line by itself
(#424) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#443) The closing brace for the class must go on the next line after the body
public/admin/tool/moodlebox/classes/privacy/provider.php
(#35) Opening brace must not be followed by a blank line
(#47) The closing brace for the class must go on the next line after the body
public/admin/tool/moodlebox/index.php
(#35) Expected at least 1 space before "."; 0 found
(#35) Expected at least 1 space after "."; 0 found
(#36) Expected at least 1 space before "."; 0 found
(#36) Expected at least 1 space after "."; 0 found
(#37) Expected at least 1 space before "."; 0 found
(#37) Expected at least 1 space after "."; 0 found
(#38) Expected at least 1 space before "."; 0 found
(#38) Expected at least 1 space after "."; 0 found
(#39) Expected at least 1 space before "."; 0 found
(#39) Expected at least 1 space after "."; 0 found
(#53) Expected 0 spaces after opening bracket; 1 found
(#53) Expected 0 spaces before closing bracket; 1 found
(#54) Expected 0 spaces after opening bracket; 1 found
(#54) Expected 0 spaces before closing bracket; 1 found
(#120) Expected 0 spaces after opening bracket; 1 found
(#120) Expected 0 spaces before closing bracket; 1 found
(#120) Blank line found at start of control structure
(#129) Expected 0 spaces after opening bracket; 1 found
(#129) Expected 0 spaces before closing bracket; 1 found
(#134) Expected 0 spaces after opening bracket; 1 found
(#134) Expected 0 spaces before closing bracket; 1 found
(#153) Expected 0 spaces after opening bracket; 1 found
(#153) Expected 0 spaces before closing bracket; 1 found
(#158) Expected 0 spaces after opening bracket; 1 found
(#158) Expected 0 spaces before closing bracket; 1 found
(#163) Expected 0 spaces after opening bracket; 1 found
(#163) Expected 0 spaces before closing bracket; 1 found
(#185) Expected 0 spaces after opening bracket; 1 found
(#185) Expected 0 spaces before closing bracket; 1 found
(#207) Expected 0 spaces after opening bracket; 1 found
(#207) Expected 0 spaces before closing bracket; 1 found
(#213) Opening parenthesis of a multi-line function call must be the last content on the line
(#213) Only one argument is allowed per line in a multi-line function call
(#215) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#215) Only one argument is allowed per line in a multi-line function call
(#215) Closing parenthesis of a multi-line function call must be on a line by itself
(#283) Expected 0 spaces after opening bracket; 1 found
(#283) Expected 0 spaces before closing bracket; 1 found
(#295) Expected 0 spaces after opening bracket; 1 found
(#295) Expected 0 spaces before closing bracket; 1 found
(#310) Opening parenthesis of a multi-line function call must be the last content on the line
(#310) Only one argument is allowed per line in a multi-line function call
(#311) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#311) Only one argument is allowed per line in a multi-line function call
(#311) Closing parenthesis of a multi-line function call must be on a line by itself
(#335) Opening parenthesis of a multi-line function call must be the last content on the line
(#335) Only one argument is allowed per line in a multi-line function call
(#337) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#337) Only one argument is allowed per line in a multi-line function call
(#337) Closing parenthesis of a multi-line function call must be on a line by itself
(#360) Opening parenthesis of a multi-line function call must be the last content on the line
(#360) Only one argument is allowed per line in a multi-line function call
(#361) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#361) Only one argument is allowed per line in a multi-line function call
(#361) Closing parenthesis of a multi-line function call must be on a line by itself
(#385) Opening parenthesis of a multi-line function call must be the last content on the line
(#386) Multi-line function call not indented correctly; expected 20 spaces but found 34
(#392) Multi-line function call not indented correctly; expected 16 spaces but found 34
(#392) Closing parenthesis of a multi-line function call must be on a line by itself
(#409) Opening parenthesis of a multi-line function call must be the last content on the line
(#409) Only one argument is allowed per line in a multi-line function call
(#411) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#411) Only one argument is allowed per line in a multi-line function call
(#411) Closing parenthesis of a multi-line function call must be on a line by itself
(#441) Opening parenthesis of a multi-line function call must be the last content on the line
(#441) Only one argument is allowed per line in a multi-line function call
(#443) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#443) Only one argument is allowed per line in a multi-line function call
(#443) Closing parenthesis of a multi-line function call must be on a line by itself
public/admin/tool/moodlebox/settings.php
(#27) Blank line found at start of control structure
(#33) Opening parenthesis of a multi-line function call must be the last content on the line
(#34) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#35) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#35) Closing parenthesis of a multi-line function call must be on a line by itself
(#39) Opening parenthesis of a multi-line function call must be the last content on the line
(#40) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#40) Closing parenthesis of a multi-line function call must be on a line by itself
(#44) Opening parenthesis of a multi-line function call must be the last content on the line
(#45) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#45) Only one argument is allowed per line in a multi-line function call
(#45) Closing parenthesis of a multi-line function call must be on a line by itself
(#46) Opening parenthesis of a multi-line function call must be the last content on the line
(#47) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#48) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#48) Closing parenthesis of a multi-line function call must be on a line by itself
(#49) Opening parenthesis of a multi-line function call must be the last content on the line
(#50) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#51) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#51) Closing parenthesis of a multi-line function call must be on a line by itself
(#54) Opening parenthesis of a multi-line function call must be the last content on the line
(#55) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#55) Only one argument is allowed per line in a multi-line function call
(#55) Closing parenthesis of a multi-line function call must be on a line by itself
(#56) Opening parenthesis of a multi-line function call must be the last content on the line
(#57) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#58) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#58) Only one argument is allowed per line in a multi-line function call
(#58) Closing parenthesis of a multi-line function call must be on a line by itself
(#59) Opening parenthesis of a multi-line function call must be the last content on the line
(#60) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#61) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#61) Only one argument is allowed per line in a multi-line function call
(#61) Closing parenthesis of a multi-line function call must be on a line by itself
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#63) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#64) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#64) Only one argument is allowed per line in a multi-line function call
(#64) Closing parenthesis of a multi-line function call must be on a line by itself
(#73) Blank line found at end of control structure

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

(1 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]

public/admin/tool/moodlebox/amd/build/timediff.min.js
Uncommitted change detected.

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]