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

(94 errors, 0 warnings)

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

blocks/groups/block_groups.php
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#39) Opening brace must not be followed by a blank line
(#67) Parentheses must be used when instantiating a new class
(#110) Opening parenthesis of a multi-line function call must be the last content on the line
(#111) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#111) Closing parenthesis of a multi-line function call must be on a line by itself
(#147) Expected 1 space after comma in argument list; 2 found
(#147) Expected 1 space between the comma and "context_course". Found: 2 spaces
blocks/groups/changeallgroups.php
(#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 4 spaces but found 8
(#45) 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
(#78) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#78) Only one argument is allowed per line in a multi-line function call
(#78) Closing parenthesis of a multi-line function call must be on a line by itself
(#81) Expected at least 1 space before "."; 0 found
(#81) Expected at least 1 space after "."; 0 found
(#86) 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 0 spaces but found 4
(#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
blocks/groups/changevisibility.php
(#43) Opening parenthesis of a multi-line function call must be the last content on the line
(#44) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#44) Closing parenthesis of a multi-line function call must be on a line by itself
(#47) Expected at least 1 space before "."; 0 found
(#47) Expected at least 1 space after "."; 0 found
blocks/groups/classes/privacy/provider.php
(#33) Opening brace must not be followed by a blank line
blocks/groups/externallib.php
(#37) Opening brace must not be followed by a blank line
(#47) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#51) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#81) Expected at least 1 space before "."; 0 found
(#81) Expected at least 1 space after "."; 0 found
(#109) Each class must be in a file by itself
(#156) Expected at least 1 space before "."; 0 found
(#156) Expected at least 1 space after "."; 0 found
(#165) Opening parenthesis of a multi-line function call must be the last content on the line
(#166) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#166) Closing parenthesis of a multi-line function call must be on a line by itself
(#211) Opening parenthesis of a multi-line function call must be the last content on the line
(#212) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#212) Closing parenthesis of a multi-line function call must be on a line by itself
(#219) Blank line found at end of control structure
blocks/groups/locallib.php
(#51) Expected "function abc(...)"; found "function abc (...)"
(#51) Expected 0 spaces before opening parenthesis; 1 found
(#62) Expected 1 blank line at end of file; 2 found
blocks/groups/renderer.php
(#59) Space found before comma in argument list
(#59) Expected no space between "$href" and the comma. Found: 1 space
(#82) Opening parenthesis of a multi-line function call must be the last content on the line
(#82) Only one argument is allowed per line in a multi-line function call
(#82) Only one argument is allowed per line in a multi-line function call
(#83) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#83) Expected at least 1 space before "."; 0 found
(#83) Closing parenthesis of a multi-line function call must be on a line by itself
(#86) Expected at least 1 space after "."; 0 found
(#89) Expected at least 1 space before "."; 0 found
(#153) Opening parenthesis of a multi-line function call must be the last content on the line
(#154) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#154) Closing parenthesis of a multi-line function call must be on a line by itself
(#156) Opening parenthesis of a multi-line function call must be the last content on the line
(#156) Only one argument is allowed per line in a multi-line function call
(#157) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#157) Only one argument is allowed per line in a multi-line function call
(#157) Closing parenthesis of a multi-line function call must be on a line by itself
blocks/groups/tests/behat/behat_block_groups.php
(#47) Space found before comma in argument list
(#47) Expected no space between "'xpath'" and the comma. Found: 1 space
(#48) Expected at least 1 space after "."; 0 found
(#48) Expected at least 1 space before "."; 0 found
(#60) Space found before comma in argument list
(#60) Expected 1 space after comma in argument list; 2 found
(#60) Expected no space between "'xpath'" and the comma. Found: 1 space
(#60) Expected 1 space between the comma and ""//div[@class='wrapperblockgroupsandgroupingcheckbox'][2]". Found: 2 spaces
(#61) Expected at least 1 space before "."; 0 found
(#72) Space found before comma in argument list
(#72) Expected 1 space after comma in argument list; 2 found
(#72) Expected no space between "'xpath'" and the comma. Found: 1 space
(#72) Expected 1 space between the comma and ""//div[@class='wrapperblockgroupsandgroupingcheckbox'][2]". Found: 2 spaces
(#73) Expected at least 1 space before "."; 0 found
(#85) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Space found before comma in argument list
(#85) Expected no space between "'xpath'" and the comma. Found: 1 space
(#86) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#86) Closing parenthesis of a multi-line function call must be on a line by itself
(#89) Opening parenthesis of a multi-line function call must be the last content on the line
(#89) Space found before comma in argument list
(#89) Expected no space between "'xpath'" and the comma. Found: 1 space
(#90) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#90) Closing parenthesis of a multi-line function call must be on a line by itself
(#95) The closing brace for the class must go on the next line after the body
blocks/groups/tests/block_groups_test.php
(#35) Opening brace must not be followed by a blank line
(#55) Expected at least 1 space before "."; 0 found
(#55) Expected at least 1 space after "."; 0 found
(#77) Function closing brace must go on the next line following the body; found 1 blank lines before brace
blocks/groups/tests/generator_test.php
(#35) Opening brace must not be followed by a blank line

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]