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

(79 errors, 398 warnings)

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

mod/dialogue/backup/moodle2/backup_dialogue_stepslib.php
(#42) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
mod/dialogue/backup/moodle2/restore_dialogue_activity_task.class.php
(#54) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
mod/dialogue/backup/moodle2/restore_dialogue_stepslib.php
(#41) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
(#291) Short array syntax must be used to define arrays
(#318) Short array syntax must be used to define arrays
(#369) Short array syntax must be used to define arrays
(#381) There should be a comma after the last array item in a multi-line array.
(#387) Short array syntax must be used to define arrays
(#401) Short array syntax must be used to define arrays
(#413) There should be a comma after the last array item in a multi-line array.
(#433) Short array syntax must be used to define arrays
(#438) Short array syntax must be used to define arrays
(#442) Short array syntax must be used to define arrays
mod/dialogue/bulkopenrules.php
(#41) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
mod/dialogue/classes/conversation.php
(#23) Missing @copyright tag
(#23) Missing @license tag
(#44) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#241) Short array syntax must be used to define arrays
(#264) Short array syntax must be used to define arrays
(#284) Short array syntax must be used to define arrays
(#286) Short array syntax must be used to define arrays
(#300) Short array syntax must be used to define arrays
(#303) Short array syntax must be used to define arrays
(#334) Short array syntax must be used to define arrays
(#335) Short array syntax must be used to define arrays
(#336) Short array syntax must be used to define arrays
(#337) Short array syntax must be used to define arrays
(#338) Short array syntax must be used to define arrays
(#340) Short array syntax must be used to define arrays
(#342) Short array syntax must be used to define arrays
(#354) Short array syntax must be used to define arrays
(#355) Short array syntax must be used to define arrays
(#356) Short array syntax must be used to define arrays
(#359) Short array syntax must be used to define arrays
(#365) Short array syntax must be used to define arrays
(#365) Short array syntax must be used to define arrays
(#373) Short array syntax must be used to define arrays
(#423) Short array syntax must be used to define arrays
(#466) Short array syntax must be used to define arrays
(#477) Short array syntax must be used to define arrays
(#553) Short array syntax must be used to define arrays
(#668) Short array syntax must be used to define arrays
(#698) Short array syntax must be used to define arrays
(#714) Short array syntax must be used to define arrays
mod/dialogue/classes/conversations_by_author.php
(#19) Missing @copyright tag
(#19) Missing @license tag
(#27) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#202) Short array syntax must be used to define arrays
(#202) Short array syntax must be used to define arrays
(#205) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#221) Short array syntax must be used to define arrays
mod/dialogue/classes/conversations_by_role.php
(#19) Missing @copyright tag
(#19) Missing @license tag
(#27) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#199) Short array syntax must be used to define arrays
(#202) Short array syntax must be used to define arrays
(#207) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
mod/dialogue/classes/dialogue.php
(#114) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
mod/dialogue/classes/event/conversation_closed.php
(#66) Short array syntax must be used to define arrays
mod/dialogue/classes/event/conversation_created.php
(#66) Short array syntax must be used to define arrays
mod/dialogue/classes/event/conversation_deleted.php
(#65) Short array syntax must be used to define arrays
mod/dialogue/classes/event/conversation_reopened.php
(#66) Short array syntax must be used to define arrays
mod/dialogue/classes/event/conversation_viewed.php
(#65) Short array syntax must be used to define arrays
mod/dialogue/classes/event/course_module_instance_list_viewed.php
(#35) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
mod/dialogue/classes/event/reply_created.php
(#65) Short array syntax must be used to define arrays
mod/dialogue/classes/external/search_users.php
(#89) There should be a comma after the last array item in a multi-line array.
mod/dialogue/classes/local/course_enrolment_manager.php
(#76) Line exceeds 132 characters; contains 150 characters
mod/dialogue/classes/message.php
(#69) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $dialogue.
(#69) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $conversation.
(#145) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#278) Short array syntax must be used to define arrays
(#444) Short array syntax must be used to define arrays
(#451) Short array syntax must be used to define arrays
(#452) Short array syntax must be used to define arrays
(#455) Short array syntax must be used to define arrays
(#458) Short array syntax must be used to define arrays
(#473) Short array syntax must be used to define arrays
(#519) Short array syntax must be used to define arrays
mod/dialogue/classes/privacy/provider.php
(#50) There must not be a space before the colon in a return type declaration
(#71) There should be a comma after the last array item in a multi-line array.
(#98) There must not be a space before the colon in a return type declaration
(#109) There should be a comma after the last array item in a multi-line array.
(#271) There should be a comma after the last array item in a multi-line array.
mod/dialogue/classes/reply.php
(#19) Missing @copyright tag
(#19) Missing @license tag
(#31) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $dialogue.
(#31) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $conversation.
(#49) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $record.
(#63) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#179) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
mod/dialogue/classes/search/conversations.php
(#45) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $context.
(#73) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#175) Short array syntax must be used to define arrays
mod/dialogue/classes/task/dialogue_cron_task.php
(#19) Missing @copyright tag
(#19) Missing @license tag
mod/dialogue/cli/cleanuporphans.php
(#39) Short array syntax must be used to define arrays
(#41) There should be a comma after the last array item in a multi-line array.
(#43) 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.
(#74) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
mod/dialogue/cli/processopenrules.php
(#40) Short array syntax must be used to define arrays
(#42) There should be a comma after the last array item in a multi-line array.
(#44) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#75) Short array syntax must be used to define arrays
mod/dialogue/conversation.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file conversation.php
(#42) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#80) There should be a comma after the last array item in a multi-line array.
(#113) Short array syntax must be used to define arrays
(#115) There should be a comma after the last array item in a multi-line array.
(#135) Short array syntax must be used to define arrays
(#137) There should be a comma after the last array item in a multi-line array.
(#157) Short array syntax must be used to define arrays
(#159) There should be a comma after the last array item in a multi-line array.
(#217) Short array syntax must be used to define arrays
(#219) There should be a comma after the last array item in a multi-line array.
mod/dialogue/conversation/close.php
(#30) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
mod/dialogue/conversation/create.php
(#32) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#71) There should be a comma after the last array item in a multi-line array.
mod/dialogue/conversation/delete.php
(#31) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#57) There should be a comma after the last array item in a multi-line array.
mod/dialogue/conversation/edit.php
(#31) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#60) There should be a comma after the last array item in a multi-line array.
mod/dialogue/db/access.php
(#30) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#39) There should be a comma after the last array item in a multi-line array.
(#41) There should be a comma after the last array item in a multi-line array.
(#44) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#53) There should be a comma after the last array item in a multi-line array.
(#54) There should be a comma after the last array item in a multi-line array.
(#57) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#66) There should be a comma after the last array item in a multi-line array.
(#67) There should be a comma after the last array item in a multi-line array.
(#70) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#78) There should be a comma after the last array item in a multi-line array.
(#79) There should be a comma after the last array item in a multi-line array.
(#82) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#90) There should be a comma after the last array item in a multi-line array.
(#91) There should be a comma after the last array item in a multi-line array.
(#94) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#102) There should be a comma after the last array item in a multi-line array.
(#103) There should be a comma after the last array item in a multi-line array.
(#106) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#114) There should be a comma after the last array item in a multi-line array.
(#115) There should be a comma after the last array item in a multi-line array.
(#118) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#126) There should be a comma after the last array item in a multi-line array.
(#127) There should be a comma after the last array item in a multi-line array.
(#130) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#138) There should be a comma after the last array item in a multi-line array.
(#139) There should be a comma after the last array item in a multi-line array.
(#142) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#150) There should be a comma after the last array item in a multi-line array.
(#151) There should be a comma after the last array item in a multi-line array.
(#154) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#162) There should be a comma after the last array item in a multi-line array.
(#163) There should be a comma after the last array item in a multi-line array.
(#166) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#174) There should be a comma after the last array item in a multi-line array.
(#175) There should be a comma after the last array item in a multi-line array.
(#178) Short array syntax must be used to define arrays
(#183) Short array syntax must be used to define arrays
(#187) There should be a comma after the last array item in a multi-line array.
(#188) There should be a comma after the last array item in a multi-line array.
(#191) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#200) There should be a comma after the last array item in a multi-line array.
(#201) There should be a comma after the last array item in a multi-line array.
(#204) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#212) There should be a comma after the last array item in a multi-line array.
(#213) There should be a comma after the last array item in a multi-line array.
mod/dialogue/db/caches.php
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
mod/dialogue/db/log.php
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#37) 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
(#44) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
mod/dialogue/db/messages.php
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#29) There should be a comma after the last array item in a multi-line array.
mod/dialogue/db/services.php
(#35) Short array syntax must be used to define arrays
mod/dialogue/db/tasks.php
(#27) Short array syntax must be used to define arrays
(#28) 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.
(#36) There should be a comma after the last array item in a multi-line array.
mod/dialogue/db/upgrade.php
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/dialogue/drafts.php
(#33) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#77) 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
(#88) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
mod/dialogue/formlib.php
(#78) Short array syntax must be used to define arrays
(#80) 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
(#87) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#154) There should be a comma after the last array item in a multi-line array.
(#167) Short array syntax must be used to define arrays
(#172) There should be a comma after the last array item in a multi-line array.
(#197) Short array syntax must be used to define arrays
(#268) There should be a comma after the last array item in a multi-line array.
(#274) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#347) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
mod/dialogue/index.php
(#31) Short array syntax must be used to define arrays
(#36) 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
(#67) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
mod/dialogue/lang/en/dialogue.php
(#39) The string key "cannotdeleteopenconversation" is not in the correct order, it should be before "cannotreopendraftconversation"
(#55) The string key "conversationdiscarded" is not in the correct order, it should be before "conversationreopened"
(#72) The string key "deletereply" is not in the correct order, it should be before "reopenconversation"
(#83) The string key "dialogue:receive" is not in the correct order, it should be before "dialogue:reopenany"
(#109) The string key "conversationreopen" is not in the correct order, it should be before "eventconversationviewed"
(#154) The string key "nopermissiontodelete" is not in the correct order, it should be before "nopermissiontoreopen"
(#220) The string key "incompleteconversation" is not in the correct order, it should be before "years"
mod/dialogue/lib.php
(#119) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#217) Short array syntax must be used to define arrays
(#241) Short array syntax must be used to define arrays
(#313) Short array syntax must be used to define arrays
(#360) Short array syntax must be used to define arrays
(#368) Short array syntax must be used to define arrays
(#376) Short array syntax must be used to define arrays
(#424) Short array syntax must be used to define arrays
(#433) Short array syntax must be used to define arrays
(#439) Short array syntax must be used to define arrays
(#443) Short array syntax must be used to define arrays
(#447) Short array syntax must be used to define arrays
(#486) Short array syntax must be used to define arrays
(#488) There should be a comma after the last array item in a multi-line array.
(#503) Short array syntax must be used to define arrays
(#504) Short array syntax must be used to define arrays
(#509) Short array syntax must be used to define arrays
(#520) Short array syntax must be used to define arrays
(#532) Short array syntax must be used to define arrays
(#545) Short array syntax must be used to define arrays
mod/dialogue/locallib.php
(#43) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#244) Short array syntax must be used to define arrays
(#254) Short array syntax must be used to define arrays
(#295) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#353) Short array syntax must be used to define arrays
(#355) Short array syntax must be used to define arrays
(#357) Short array syntax must be used to define arrays
(#363) Short array syntax must be used to define arrays
(#424) Short array syntax must be used to define arrays
(#429) Short array syntax must be used to define arrays
(#436) There should be a comma after the last array item in a multi-line array.
(#501) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $userviewedby.
(#501) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $cm.
mod/dialogue/mod_form.php
(#48) Short array syntax must be used to define arrays
mod/dialogue/renderer.php
(#44) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#156) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#182) Short array syntax must be used to define arrays
(#203) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#243) Short array syntax must be used to define arrays
(#253) Short array syntax must be used to define arrays
(#260) Short array syntax must be used to define arrays
(#277) Short array syntax must be used to define arrays
(#279) Short array syntax must be used to define arrays
(#297) Short array syntax must be used to define arrays
(#300) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#339) Short array syntax must be used to define arrays
(#341) Short array syntax must be used to define arrays
(#356) Short array syntax must be used to define arrays
(#407) Short array syntax must be used to define arrays
(#412) Short array syntax must be used to define arrays
(#425) Short array syntax must be used to define arrays
(#431) Short array syntax must be used to define arrays
(#463) Short array syntax must be used to define arrays
(#466) Short array syntax must be used to define arrays
(#474) Short array syntax must be used to define arrays
(#477) Short array syntax must be used to define arrays
(#500) Short array syntax must be used to define arrays
(#512) Short array syntax must be used to define arrays
(#517) Short array syntax must be used to define arrays
(#539) Short array syntax must be used to define arrays
(#567) Short array syntax must be used to define arrays
(#584) Short array syntax must be used to define arrays
(#588) Short array syntax must be used to define arrays
(#590) Short array syntax must be used to define arrays
(#629) Short array syntax must be used to define arrays
(#631) Short array syntax must be used to define arrays
(#631) Short array syntax must be used to define arrays
(#633) Short array syntax must be used to define arrays
(#638) Short array syntax must be used to define arrays
(#638) Short array syntax must be used to define arrays
(#640) Short array syntax must be used to define arrays
(#645) Short array syntax must be used to define arrays
(#645) Short array syntax must be used to define arrays
(#647) Short array syntax must be used to define arrays
(#651) Short array syntax must be used to define arrays
(#652) Short array syntax must be used to define arrays
(#652) Short array syntax must be used to define arrays
(#654) Short array syntax must be used to define arrays
(#660) Short array syntax must be used to define arrays
(#661) Short array syntax must be used to define arrays
mod/dialogue/reply.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file reply.php
(#43) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#82) There should be a comma after the last array item in a multi-line array.
(#83) There should be a comma after the last array item in a multi-line array.
mod/dialogue/settings.php
(#45) Short array syntax must be used to define arrays
mod/dialogue/tests/dialogue_test.php
(#26) Unit test dialogue_test should be declared as final.
(#30) Test method test_coursemodule_for_dialogue() is missing any coverage information, own or at class level
(#30) Test method test_coursemodule_for_dialogue() is missing a return type
(#34) Short array syntax must be used to define arrays
mod/dialogue/view.php
(#68) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#90) There should be a comma after the last array item in a multi-line array.
mod/dialogue/viewconversationsbyrole.php
(#47) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays

Javascript coding style problems

(1 errors, 11 warnings)

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

mod/dialogue/amd/src/form-user-selector.js
(#63) Avoid nesting promises. (promise/no-nesting)
mod/dialogue/yui/src/clickredirector/js/clickredirector.js
(#1) Identifier 'mod_dialogue' is not in camel case. (camelcase)
(#3) Comments should not begin with a lowercase character. (capitalized-comments)
(#4) Extra space after key 'cmid'. (key-spacing)
(#5) Extra space after key 'modroot'. (key-spacing)
(#7) Comments should not begin with a lowercase character. (capitalized-comments)
(#22) Comments should not begin with a lowercase character. (capitalized-comments)
(#26) Extra space after key 'name'. (key-spacing)
(#40) Comments should not begin with a lowercase character. (capitalized-comments)
(#45) Comments should not begin with a lowercase character. (capitalized-comments)
(#48) Comments should not begin with a lowercase character. (capitalized-comments)
(#54) Return statement should not contain assignment. (no-return-assign)

CSS problems

(1 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]

mod/dialogue/styles.css
(#135) Unknown at-rule descriptor `margin` (csstree/validator)

PHPDocs style problems

(3 errors, 0 warnings)

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

mod/dialogue/classes/search/conversations.php
(#112) Phpdocs for function conversations::check_access has incomplete parameters list
(#167) Phpdocs for function conversations::get_dialogue_conversations has incomplete parameters list
(#190) Phpdocs for function conversations::attach_files 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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "eslint:yui" failed. Use --force to continue.

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]