Prechecker results: error


Overview

(1 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]

The patchset contains changes to upgrade.txt or UPGRADING.md files.

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

(117 errors, 0 warnings)

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

public/mod/threesixo/backup/moodle2/backup_threesixo_activity_task.class.php
(#37) Opening brace must not be followed by a blank line
public/mod/threesixo/backup/moodle2/backup_threesixo_stepslib.php
(#24) Opening brace must not be followed by a blank line
public/mod/threesixo/backup/moodle2/restore_threesixo_activity_task.class.php
(#36) Opening brace must not be followed by a blank line
(#75) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#109) Opening parenthesis of a multi-line function call must be the last content on the line
(#109) Only one argument is allowed per line in a multi-line function call
(#109) Only one argument is allowed per line in a multi-line function call
(#109) Only one argument is allowed per line in a multi-line function call
(#110) Multi-line function call not indented correctly; expected 8 spaces but found 40
(#110) Only one argument is allowed per line in a multi-line function call
(#110) Only one argument is allowed per line in a multi-line function call
(#110) Closing parenthesis of a multi-line function call must be on a line by itself
public/mod/threesixo/backup/moodle2/restore_threesixo_stepslib.php
(#24) Opening brace must not be followed by a blank line
public/mod/threesixo/classes/api.php
(#35) Opening brace must not be followed by a blank line
(#568) Expected 1 space after FUNCTION keyword; 0 found
(#570) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#570) Only one argument is allowed per line in a multi-line function call
(#570) Closing parenthesis of a multi-line function call must be on a line by itself
(#572) Long list syntax is not allowed
(#685) Long list syntax is not allowed
(#694) Expected 1 space after FUNCTION keyword; 0 found
(#696) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#696) Only one argument is allowed per line in a multi-line function call
(#696) Closing parenthesis of a multi-line function call must be on a line by itself
(#697) Long list syntax is not allowed
(#1099) Blank line found at end of control structure
(#1237) Long list syntax is not allowed
public/mod/threesixo/classes/external.php
(#53) Opening brace must not be followed by a blank line
(#219) Expected 0 spaces before closing parenthesis; newline found
(#931) Opening parenthesis of a multi-line function call must be the last content on the line
(#931) Only one argument is allowed per line in a multi-line function call
(#931) Only one argument is allowed per line in a multi-line function call
(#932) Multi-line function call not indented correctly; expected 28 spaces but found 32
(#932) Closing parenthesis of a multi-line function call must be on a line by itself
(#956) Only one argument is allowed per line in a multi-line function call
public/mod/threesixo/classes/helper.php
(#30) Opening brace must not be followed by a blank line
(#96) Expected at least 1 space before "."; 0 found
(#96) Expected at least 1 space after "."; 0 found
(#115) Opening parenthesis of a multi-line function call must be the last content on the line
(#115) Only one argument is allowed per line in a multi-line function call
(#115) Only one argument is allowed per line in a multi-line function call
(#115) Only one argument is allowed per line in a multi-line function call
(#115) Only one argument is allowed per line in a multi-line function call
(#115) Only one argument is allowed per line in a multi-line function call
(#116) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#116) Only one argument is allowed per line in a multi-line function call
(#116) Closing parenthesis of a multi-line function call must be on a line by itself
(#122) Opening parenthesis of a multi-line function call must be the last content on the line
(#122) Only one argument is allowed per line in a multi-line function call
(#122) Only one argument is allowed per line in a multi-line function call
(#122) Only one argument is allowed per line in a multi-line function call
(#122) Only one argument is allowed per line in a multi-line function call
(#122) Only one argument is allowed per line in a multi-line function call
(#123) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#123) Only one argument is allowed per line in a multi-line function call
(#123) Closing parenthesis of a multi-line function call must be on a line by itself
(#141) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#141) Multi-line function declarations must define one parameter per line
(#141) Multi-line function declarations must define one parameter per line
(#141) Multi-line function declarations must define one parameter per line
(#141) Multi-line function declarations must define one parameter per line
(#141) Multi-line function declarations must define one parameter per line
(#141) Multi-line function declarations must define one parameter per line
(#142) Multi-line function declaration not indented correctly; expected 8 spaces but found 40
(#142) The closing parenthesis of a multi-line function declaration must be on a new line
public/mod/threesixo/classes/output/list_360_items.php
(#38) Opening brace must not be followed by a blank line
public/mod/threesixo/classes/output/list_participants.php
(#40) Opening brace must not be followed by a blank line
public/mod/threesixo/classes/output/questionnaire.php
(#42) Opening brace must not be followed by a blank line
public/mod/threesixo/classes/output/renderer.php
(#35) Opening brace must not be followed by a blank line
public/mod/threesixo/classes/output/report.php
(#42) Opening brace must not be followed by a blank line
public/mod/threesixo/classes/privacy/provider.php
(#44) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider, \core_privacy\local\request\core_userlist_provider; Found: \core_privacy\local\request\core_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider
(#46) Expected 4 spaces before interface name; 8 found
(#49) Expected 4 spaces before interface name; 8 found
(#52) Expected 4 spaces before interface name; 8 found
(#154) Long list syntax is not allowed
(#232) Long list syntax is not allowed
(#353) Blank line found at start of control structure
(#456) Long list syntax is not allowed
public/mod/threesixo/classes/task/fix_responses.php
(#35) Opening brace must not be followed by a blank line
public/mod/threesixo/db/upgrade.php
(#65) Blank line found at start of control structure
(#80) Blank line found at start of control structure
(#93) Blank line found at start of control structure
(#115) Blank line found at start of control structure
(#130) Blank line found at start of control structure
(#153) Blank line found at start of control structure
(#176) Blank line found at start of control structure
public/mod/threesixo/lib.php
(#38) Expected at least 1 space before "."; 0 found
(#38) Expected at least 1 space after "."; 0 found
public/mod/threesixo/mod_form.php
(#37) Opening brace must not be followed by a blank line
public/mod/threesixo/questionnaire.php
(#32) Long list syntax is not allowed
(#104) Blank line found at end of control structure
(#113) Expected 1 space after comma in argument list; 2 found
(#113) Expected 1 space between the comma and "get_string". Found: 2 spaces
public/mod/threesixo/report.php
(#30) Long list syntax is not allowed
public/mod/threesixo/report_download.php
(#31) Long list syntax is not allowed
public/mod/threesixo/tests/api_test.php
(#31) Opening brace must not be followed by a blank line
(#155) Blank line found at end of control structure
(#159) Blank line found at end of control structure
public/mod/threesixo/tests/external_test.php
(#32) Opening brace must not be followed by a blank line
public/mod/threesixo/tests/fix_responses_test.php
(#30) Opening brace must not be followed by a blank line
public/mod/threesixo/tests/generator/lib.php
(#27) Opening brace must not be followed by a blank line
public/mod/threesixo/tests/provider_test.php
(#38) Opening brace must not be followed by a blank line
(#262) Opening parenthesis of a multi-line function call must be the last content on the line
(#262) Only one argument is allowed per line in a multi-line function call
(#263) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#263) Closing parenthesis of a multi-line function call must be on a line by itself
(#366) Long list syntax is not allowed
(#367) Long list syntax is not allowed
(#378) Long list syntax is not allowed
(#379) Long list syntax is not allowed
public/mod/threesixo/view.php
(#31) Long list syntax is not allowed
(#100) Blank line found at start of control structure
(#115) Opening parenthesis of a multi-line function call must be the last content on the line
(#115) Only one argument is allowed per line in a multi-line function call
(#116) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#116) Closing parenthesis of a multi-line function call must be on a line by itself
(#140) 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

(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]

public/mod/threesixo/templates/list_360_items.mustache
(#1) ESLint did not run
public/mod/threesixo/templates/list_participants.mustache
(#1) ESLint did not run
public/mod/threesixo/templates/questionnaire.mustache
(#1) ESLint did not run

Gherkin .feature problems

(0 errors, 0 warnings)

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