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

(44 errors, 13 warnings)

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

admin/tool/deletemessage/classes/privacy/provider.php
(#35) Opening brace must not be followed by a blank line
admin/tool/deletemessage/classes/task/delete.php
(#54) Expected at least 1 space before "."; 0 found
(#54) Expected at least 1 space after "."; 0 found
(#63) Expected at least 1 space before "."; 0 found
(#63) Expected at least 1 space after "."; 0 found
(#66) Expected at least 1 space before "."; 0 found
(#66) Expected at least 1 space after "."; 0 found
(#85) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#88) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#112) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#113) The closing parenthesis of a multi-line control structure must be on the line after the last expression
admin/tool/deletemessage/lang/en/tool_deletemessage.php
(#28) The string key "settingspage" is not in the correct order, it should be before "taskname"
(#29) The string key "deleteread" is not in the correct order, it should be before "settingspage"
(#31) The string key "deleteall" is not in the correct order, it should be before "deleteread_desc"
(#34) The string key "harddelete" is not in the correct order, it should be before "privacy:metadata"
(#36) The string key "cleanmessage" is not in the correct order, it should be before "harddelete_desc"
admin/tool/deletemessage/lang/pt_br/tool_deletemessage.php
(#28) The string key "settingspage" is not in the correct order, it should be before "taskname"
(#29) The string key "deleteread" is not in the correct order, it should be before "settingspage"
(#31) The string key "deleteall" is not in the correct order, it should be before "deleteread_desc"
(#34) The string key "harddelete" is not in the correct order, it should be before "privacy:metadata"
(#36) The string key "cleanmessage" is not in the correct order, it should be before "harddelete_desc"
admin/tool/deletemessage/settings.php
(#45) 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 8 spaces but found 12
(#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
(#47) Closing parenthesis of a multi-line function call must be on a line by itself
(#48) 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 8 spaces but found 12
(#50) Only one argument is allowed per line in a multi-line function call
(#50) Only one argument is allowed per line in a multi-line function call
(#50) Closing parenthesis of a multi-line function call must be on a line by itself
(#52) Opening parenthesis of a multi-line function call must be the last content on the line
(#54) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#54) Only one argument is allowed per line in a multi-line function call
(#54) 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
(#58) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#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
(#60) Opening parenthesis of a multi-line function call must be the last content on the line
(#62) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#62) Only one argument is allowed per line in a multi-line function call
(#62) Closing parenthesis of a multi-line function call must be on a line by itself
(#64) Opening parenthesis of a multi-line function call must be the last content on the line
(#66) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#66) Only one argument is allowed per line in a multi-line function call
(#66) Closing parenthesis of a multi-line function call must be on a line by itself
(#69) Blank line found at end of control structure
admin/tool/deletemessage/tests/tool_deletemessage_test.php
(#37) Unit test tool_deletemessage_test should be declared as final.
(#37) Opening brace must not be followed by a blank line
(#47) The setUp() method in unit tests must always call to parent::setUp().
(#109) Test method test_deleting() is missing a return type
(#111) Expected at least 1 space before "."; 0 found
(#111) Expected at least 1 space after "."; 0 found
(#124) Test method test_taks_isnotdeleting() is missing a return type
(#126) Expected at least 1 space before "."; 0 found
(#126) Expected at least 1 space after "."; 0 found

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]