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

(25 errors, 87 warnings)

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

mod/rumbletalkchat/backup/moodle2/backup_rumbletalkchat_activity_task.class.php
(#59) The static declaration must come after the visibility declaration
mod/rumbletalkchat/backup/moodle2/backup_rumbletalkchat_settingslib.php
(#1) No one-line description found in phpdocs for docblock of file backup_rumbletalkchat_settingslib.php
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) File must end with a newline character
mod/rumbletalkchat/backup/moodle2/backup_rumbletalkchat_stepslib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#49) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#49) Line exceeds maximum limit of 180 characters; contains 181 characters
(#54) Short array syntax must be used to define arrays
mod/rumbletalkchat/backup/moodle2/restore_rumbletalkchat_activity_task.class.php
(#61) The static declaration must come after the visibility declaration
(#62) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#73) The static declaration must come after the visibility declaration
(#74) Short array syntax must be used to define arrays
(#89) The static declaration must come after the visibility declaration
(#90) Short array syntax must be used to define arrays
(#109) The static declaration must come after the visibility declaration
(#110) Short array syntax must be used to define arrays
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
mod/rumbletalkchat/backup/moodle2/restore_rumbletalkchat_stepslib.php
(#24) Whitespace found at end of line
(#44) Short array syntax must be used to define arrays
mod/rumbletalkchat/classes/output/view.php
(#31) Missing docblock for class view
(#33) Missing member variable doc comment
(#34) Missing member variable doc comment
(#36) Missing docblock for function __construct
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
mod/rumbletalkchat/classes/privacy/provider.php
(#28) Missing docblock for class provider
(#32) Missing docblock for function get_metadata
(#32) There must not be a space before the colon in a return type declaration
mod/rumbletalkchat/db/access.php
(#1) No one-line description found in phpdocs for docblock of file access.php
(#26) Short array syntax must be used to define arrays
(#27) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#33) There should be a comma after the last array item in a multi-line array.
(#35) There should be a comma after the last array item in a multi-line array.
(#38) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
(#45) There should be a comma after the last array item in a multi-line array.
mod/rumbletalkchat/db/upgrade.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/rumbletalkchat/index.php
(#30) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
mod/rumbletalkchat/lang/en/rumbletalkchat.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#33) The string key "modulename_help" is not in the correct order, it should be before "modulenameplural"
(#38) The string key "rumbletalkchat" is not in the correct order, it should be before "rumbletalkchatfieldset"
(#39) The string key "pluginadministration" is not in the correct order, it should be before "rumbletalkchat"
(#41) The string key "norumbletalkchats" is not in the correct order, it should be before "pluginname"
(#43) Unexpected comment found. Auto-fixing will not work after this comment
(#44) The string key "generalchatname" is not in the correct order, it should be before "norumbletalkchats"
(#46) Unexpected comment found. Auto-fixing will not work after this comment
(#49) Unexpected comment found. Auto-fixing will not work after this comment
(#50) The string key "embed_width" is not in the correct order, it should be before "welcome_message"
(#51) The string key "embed_height" is not in the correct order, it should be before "embed_width"
(#52) The string key "embed_code" is not in the correct order, it should be before "embed_height"
(#53) The string key "code" is not in the correct order, it should be before "embed_code"
(#58) The string key "height" is not in the correct order, it should be before "width"
(#60) The string key "height_help" is not in the correct order, it should be before "width_help"
(#64) The string key "login_type" is not in the correct order, it should be before "members_help"
(#67) Unexpected comment found. Auto-fixing will not work after this comment
(#68) The string key "default_chat_name" is not in the correct order, it should be before "members_only"
(#70) The string key "default_height" is not in the correct order, it should be before "default_width"
(#72) Unexpected comment found. Auto-fixing will not work after this comment
(#74) The string key "error_email_regex" is not in the correct order, it should be before "error_email_required"
(#76) The string key "error_password_regex" is not in the correct order, it should be before "error_password_required"
(#77) The string key "error_numbers_only" is not in the correct order, it should be before "error_password_regex"
(#78) The string key "error_code_required" is not in the correct order, it should be before "error_numbers_only"
(#79) The string key "error_code_chars" is not in the correct order, it should be before "error_code_required"
(#81) The string key "error_height_range" is not in the correct order, it should be before "error_height_required"
(#83) The string key "error_width_range" is not in the correct order, it should be before "error_width_required"
(#85) Unexpected comment found. Auto-fixing will not work after this comment
(#88) Unexpected comment found. Auto-fixing will not work after this comment
(#89) The string key "privacy:metadata:rumbletalk_client" is not in the correct order, it should be before "title"
mod/rumbletalkchat/lib.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#72) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $mform.
(#92) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $mform.
(#121) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#256) Short array syntax must be used to define arrays
(#272) Logical operator "and" is prohibited; use "&&" instead
(#272) Short array syntax must be used to define arrays
(#288) Logical operator "and" is prohibited; use "&&" instead
(#288) Short array syntax must be used to define arrays
(#306) Short array syntax must be used to define arrays
(#335) Short array syntax must be used to define arrays
(#349) Short array syntax must be used to define arrays
(#367) Short array syntax must be used to define arrays
(#405) Short array syntax must be used to define arrays
(#442) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $rumbletalkchatnode.
mod/rumbletalkchat/mod_form.php
(#56) Short array syntax must be used to define arrays
(#79) Line exceeds 132 characters; contains 136 characters
(#89) Line exceeds 132 characters; contains 137 characters
(#95) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#95) Line exceeds 132 characters; contains 177 characters
mod/rumbletalkchat/view.php
(#38) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#64) Inline comments must end in full-stops, exclamation marks, or question marks

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

(12 errors, 0 warnings)

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

mod/rumbletalkchat/backup/moodle2/restore_rumbletalkchat_activity_task.class.php
(#85) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#87) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#101) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#103) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/rumbletalkchat/backup/moodle2/restore_rumbletalkchat_stepslib.php
(#40) Inline phpdocs tag {@link restore_path_element} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/rumbletalkchat/lib.php
(#39) Inline phpdocs tag {@link plugin_supports()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#206) Inline phpdocs tag {@link rumbletalkchat_print_recent_mod_activity()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#222) Inline phpdocs tag {@link rumbletalkchat_get_recent_mod_activity()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#227) Inline phpdocs tag {@link get_module_types_names()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#297) Inline phpdocs tag {@link grade_update_mod_grades()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#340) Inline phpdocs tag {@link grade_update_mod_grades()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#359) Inline phpdocs tag {@link file_browser::get_file_info_context_module()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}

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, 1 warnings)

This section shows problems detected in mustache templates [More info]

mod/rumbletalkchat/templates/view.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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