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

(40 errors, 0 warnings)

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

public/local/cohortrole/classes/event/definition_created.php
(#30) Opening brace must not be followed by a blank line
public/local/cohortrole/classes/event/definition_deleted.php
(#30) Opening brace must not be followed by a blank line
public/local/cohortrole/classes/form/edit.php
(#32) Opening brace must not be followed by a blank line
(#67) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#67) Opening parenthesis of a multi-line function call must be the last content on the line
(#68) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#68) Closing parenthesis of a multi-line function call must be on a line by itself
(#68) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#68) Blank line found at start of control structure
public/local/cohortrole/classes/observers.php
(#30) Opening brace must not be followed by a blank line
public/local/cohortrole/classes/output/renderer.php
(#26) Opening brace must not be followed by a blank line
public/local/cohortrole/classes/output/summary_table.php
(#32) Opening brace must not be followed by a blank line
(#53) Expected at least 1 space after "."; 0 found
public/local/cohortrole/classes/persistent.php
(#30) Opening brace must not be followed by a blank line
public/local/cohortrole/classes/privacy/provider.php
(#35) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\core_userlist_provider, \core_privacy\local\request\plugin\provider; Found: \core_privacy\local\request\core_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider
(#38) Opening brace must not be followed by a blank line
(#130) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#140) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#150) Function closing brace must go on the next line following the body; found 1 blank lines before brace
public/local/cohortrole/edit.php
(#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 8 spaces but found 12
(#48) Closing parenthesis of a multi-line function call must be on a line by itself
(#72) Opening parenthesis of a multi-line function call must be the last content on the line
(#72) Only one argument is allowed per line in a multi-line function call
(#72) Only one argument is allowed per line in a multi-line function call
(#73) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#73) Closing parenthesis of a multi-line function call must be on a line by itself
public/local/cohortrole/settings.php
(#28) Opening parenthesis of a multi-line function call must be the last content on the line
(#29) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#30) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#30) Only one argument is allowed per line in a multi-line function call
(#30) Closing parenthesis of a multi-line function call must be on a line by itself
(#31) Expected 0 spaces before closing parenthesis; newline found
public/local/cohortrole/tests/behat/behat_local_cohortrole_data_generators.php
(#28) Opening brace must not be followed by a blank line
public/local/cohortrole/tests/generator/lib.php
(#26) Opening brace must not be followed by a blank line
public/local/cohortrole/tests/observers_test.php
(#31) Opening brace must not be followed by a blank line
public/local/cohortrole/tests/privacy/provider_test.php
(#34) Opening brace must not be followed by a blank line
(#72) Long list syntax is not allowed

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]