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

(147 errors, 0 warnings)

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

local/bulkenrol/classes/bulkenrol_form.php
(#33) Expected at least 1 space before "."; 0 found
(#33) Expected at least 1 space after "."; 0 found
(#41) Opening brace must not be followed by a blank line
(#49) Expected at least 1 space before "."; 0 found
(#49) Expected at least 1 space after "."; 0 found
(#55) Expected at least 1 space before "."; 0 found
(#55) Expected at least 1 space after "."; 0 found
(#55) Expected at least 1 space before "."; 0 found
(#55) Expected at least 1 space after "."; 0 found
(#58) Opening parenthesis of a multi-line function call must be the last content on the line
(#58) Only one argument is allowed per line in a multi-line function call
(#59) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#59) Only one argument is allowed per line in a multi-line function call
(#59) Closing parenthesis of a multi-line function call must be on a line by itself
(#66) Expected at least 1 space before "."; 0 found
(#66) Expected at least 1 space after "."; 0 found
(#67) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#68) The closing parenthesis of a multi-line control structure must be on the line after the last expression
local/bulkenrol/classes/confirm_form.php
(#33) Expected at least 1 space before "."; 0 found
(#33) Expected at least 1 space after "."; 0 found
(#41) Opening brace must not be followed by a blank line
local/bulkenrol/classes/privacy/provider.php
(#34) Opening brace must not be followed by a blank line
local/bulkenrol/index.php
(#30) Expected at least 1 space before "."; 0 found
(#30) Expected at least 1 space after "."; 0 found
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#46) Expected at least 1 space before "."; 0 found
(#46) Expected at least 1 space after "."; 0 found
(#72) Expected at least 1 space before "."; 0 found
(#72) Expected at least 1 space after "."; 0 found
(#72) Expected at least 1 space before "."; 0 found
(#72) 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
(#83) Expected at least 1 space after "."; 0 found
(#83) Expected at least 1 space before "."; 0 found
(#83) Expected at least 1 space after "."; 0 found
(#99) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#100) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#106) Expected at least 1 space after "."; 0 found
(#106) Expected at least 1 space before "."; 0 found
(#106) Expected at least 1 space after "."; 0 found
(#108) Expected at least 1 space after "."; 0 found
(#108) Expected at least 1 space before "."; 0 found
(#108) Expected at least 1 space after "."; 0 found
(#110) Blank line found at end of control structure
(#112) Expected at least 1 space after "."; 0 found
(#112) Expected at least 1 space before "."; 0 found
(#112) Expected at least 1 space after "."; 0 found
(#115) Expected at least 1 space after "."; 0 found
(#115) Expected at least 1 space before "."; 0 found
(#115) Expected at least 1 space after "."; 0 found
(#121) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#122) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#134) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#135) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#140) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#141) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#141) Closing parenthesis of a multi-line function call must be on a line by itself
local/bulkenrol/lib.php
(#40) Opening parenthesis of a multi-line function call must be the last content on the line
(#40) Only one argument is allowed per line in a multi-line function call
(#41) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#41) Only one argument is allowed per line in a multi-line function call
(#41) Only one argument is allowed per line in a multi-line function call
(#41) Only one argument is allowed per line in a multi-line function call
(#41) Closing parenthesis of a multi-line function call must be on a line by itself
local/bulkenrol/locallib.php
(#54) Blank line found at start of control structure
(#77) Space found before comma in argument list
(#77) Expected no space between "$emailline" and the comma. Found: 1 space
(#84) Space found before comma in argument list
(#84) Expected no space between "$emailline" and the comma. Found: 1 space
(#85) Blank line found at start of control structure
(#94) Space found before comma in argument list
(#94) Expected no space between "$emailline" and the comma. Found: 1 space
(#97) Blank line found at start of control structure
(#112) Opening parenthesis of a multi-line function call must be the last content on the line
(#112) Only one argument is allowed per line in a multi-line function call
(#112) Only one argument is allowed per line in a multi-line function call
(#112) Only one argument is allowed per line in a multi-line function call
(#113) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#113) Only one argument is allowed per line in a multi-line function call
(#113) Only one argument is allowed per line in a multi-line function call
(#113) Closing parenthesis of a multi-line function call must be on a line by itself
(#133) Opening parenthesis of a multi-line function call must be the last content on the line
(#133) Only one argument is allowed per line in a multi-line function call
(#133) Only one argument is allowed per line in a multi-line function call
(#133) Only one argument is allowed per line in a multi-line function call
(#134) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#134) Only one argument is allowed per line in a multi-line function call
(#134) Only one argument is allowed per line in a multi-line function call
(#134) Closing parenthesis of a multi-line function call must be on a line by itself
(#169) Expected at least 1 space before "."; 0 found
(#169) Expected at least 1 space after "."; 0 found
(#243) Opening parenthesis of a multi-line function call must be the last content on the line
(#245) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#245) Closing parenthesis of a multi-line function call must be on a line by itself
(#246) 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 16 spaces but found 20
(#248) Closing parenthesis of a multi-line function call must be on a line by itself
(#251) Opening parenthesis of a multi-line function call must be the last content on the line
(#253) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#253) Closing parenthesis of a multi-line function call must be on a line by itself
(#254) Opening parenthesis of a multi-line function call must be the last content on the line
(#256) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#256) Closing parenthesis of a multi-line function call must be on a line by itself
(#258) Expected at least 1 space after "."; 0 found
(#258) Expected at least 1 space before "."; 0 found
(#300) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#301) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#333) Blank line found at end of control structure
(#416) Blank line found at start of control structure
(#556) Blank line found at start of control structure
(#559) The CASE body must start on the line following the statement
(#617) Opening parenthesis of a multi-line function call must be the last content on the line
(#685) Opening parenthesis of a multi-line function call must be the last content on the line
(#687) Multi-line function call not indented correctly; expected 28 spaces but found 32
(#687) Closing parenthesis of a multi-line function call must be on a line by itself
(#689) Opening parenthesis of a multi-line function call must be the last content on the line
(#691) Multi-line function call not indented correctly; expected 28 spaces but found 32
(#691) Closing parenthesis of a multi-line function call must be on a line by itself
(#716) Terminating statement must be indented to the same level as the CASE body
local/bulkenrol/settings.php
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#33) Blank line found at start of control structure
(#38) Expected at least 1 space before "."; 0 found
(#38) Expected at least 1 space after "."; 0 found
(#41) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#42) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#43) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#44) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#45) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#46) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#46) Closing parenthesis of a multi-line function call must be on a line by itself
(#72) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#73) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#74) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#75) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#76) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#77) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#77) Closing parenthesis of a multi-line function call must be on a line by itself
(#86) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#87) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#88) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#89) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#90) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#91) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#91) 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]