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

(31 errors, 21 warnings)

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

message/output/appcrue/classes/privacy/provider.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) There must not be a space before the colon in a return type declaration
message/output/appcrue/classes/task/sendbuffered.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#84) Line exceeds 132 characters; contains 133 characters
(#108) Line exceeds 132 characters; contains 156 characters
message/output/appcrue/db/install.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
message/output/appcrue/db/tasks.php
(#43) There should be a comma after the last array item in a multi-line array.
message/output/appcrue/db/upgrade.php
(#42) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Missing docblock for function xmldb_message_appcrue_upgrade
(#55) Whitespace found at end of line
(#66) Whitespace found at end of line
(#76) Expected 1 space before "=>"; 0 found
(#76) Expected 1 space after "=>"; 0 found
(#77) Whitespace found at end of line
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
message/output/appcrue/lang/en/message_appcrue.php
(#30) The string key "api_key" is not in the correct order, it should be before "pluginname"
(#40) The string key "match_user_by" is not in the correct order, it should be before "only_news_forum_help"
(#43) The string key "enable_push" is not in the correct order, it should be before "privacy:metadata"
(#45) The string key "url_pattern" is not in the correct order, it should be before "url_pattern_help"
(#46) The string key "sendbufferedtask" is not in the correct order, it should be before "url_pattern"
(#47) Unexpected string end, it should be a line feed after a semicolon
(#47) File must end with a newline character
message/output/appcrue/message_output_appcrue.php
(#2) Moodle boilerplate not found at first line
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#36) Missing docblock for class message_output_appcrue
(#50) Logical operator "or" is prohibited; use "||" instead
(#51) Logical operator "or" is prohibited; use "||" instead
(#52) Logical operator "or" is prohibited; use "||" instead
(#146) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#168) Whitespace found at end of line
(#184) Expected 1 space before "="; 0 found
(#184) Closing brace must be on a line by itself
(#185) Whitespace found at end of line
(#198) Whitespace found at end of line
(#203) Whitespace found at end of line
(#216) Whitespace found at end of line
(#237) Short array syntax must be used to define arrays
(#240) There should be a comma after the last array item in a multi-line array.
(#264) No one-line description found in phpdocs for docblock of function trim_alert_text
(#310) Missing docblock for function is_user_configured
(#334) Short array syntax must be used to define arrays
(#335) Short array syntax must be used to define arrays
(#343) Missing docblock for function log_no_ajax
message/output/appcrue/settings.php
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) This comment is 67% valid code; is this commented out code?
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) This comment is 65% valid code; is this commented out code?
(#49) Inline doc block comments are not allowed; use "// Comment." instead
(#57) Whitespace found at end of line
message/output/appcrue/version.php
(#36) There should be a comma after the last array item in a multi-line array.

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

(4 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

message/output/appcrue/message_output_appcrue.php
(#119) Phpdocs for function message_output_appcrue::get_target_url has incomplete parameters list
(#137) Phpdocs for function message_output_appcrue::buffer_message has incomplete parameters list
(#263) Phpdocs for function message_output_appcrue::trim_alert_text has incomplete parameters list
(#271) Phpdocs for function message_output_appcrue::get_nick_name has incomplete parameters list

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]