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

(84 errors, 300 warnings)

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

local/recompletion/backup/moodle2/backup_local_recompletion_plugin.class.php
(#47) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#54) There should be a comma after the last array item in a multi-line array.
(#60) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#61) There should be a comma after the last array item in a multi-line array.
(#66) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#102) 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
(#121) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#191) Short array syntax must be used to define arrays
(#199) Short array syntax must be used to define arrays
(#199) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#218) Short array syntax must be used to define arrays
(#223) Short array syntax must be used to define arrays
(#223) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#235) Short array syntax must be used to define arrays
(#235) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#247) Short array syntax must be used to define arrays
(#247) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#261) Short array syntax must be used to define arrays
(#261) Short array syntax must be used to define arrays
(#269) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#282) Short array syntax must be used to define arrays
local/recompletion/backup/moodle2/restore_local_recompletion_plugin.class.php
(#39) Short array syntax must be used to define arrays
(#358) Short array syntax must be used to define arrays
(#366) Short array syntax must be used to define arrays
(#374) Short array syntax must be used to define arrays
(#381) Short array syntax must be used to define arrays
(#390) Short array syntax must be used to define arrays
(#398) Short array syntax must be used to define arrays
(#406) Short array syntax must be used to define arrays
(#416) Short array syntax must be used to define arrays
(#420) Short array syntax must be used to define arrays
(#429) Short array syntax must be used to define arrays
(#437) Short array syntax must be used to define arrays
local/recompletion/classes/local/restrictions/base.php
(#23) Missing @copyright tag
local/recompletion/classes/local/restrictions/enrol.php
(#24) Missing @copyright tag
local/recompletion/classes/observer.php
(#42) 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.
(#113) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_assign.php
(#49) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
local/recompletion/classes/plugins/mod_certificate.php
(#31) Missing @copyright tag
(#95) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_choice.php
(#46) There must not be a space before the colon in a return type declaration
(#49) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
local/recompletion/classes/plugins/mod_coursecertificate.php
(#31) Missing @copyright tag
(#95) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_customcert.php
(#56) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
local/recompletion/classes/plugins/mod_h5pactivity.php
(#30) Missing @copyright tag
(#73) There should be a comma after the last array item in a multi-line array.
(#101) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_hotpot.php
(#30) Missing @copyright tag
(#81) There should be a comma after the last array item in a multi-line array.
(#113) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_hvp.php
(#30) Missing @copyright tag
(#81) There should be a comma after the last array item in a multi-line array.
(#113) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_lesson.php
(#30) Missing @copyright tag
(#73) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/plugins/mod_lti.php
(#46) There must not be a space before the colon in a return type declaration
(#88) There must not be a space before the colon in a return type declaration
local/recompletion/classes/plugins/mod_pulse.php
(#54) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
local/recompletion/classes/plugins/mod_questionnaire.php
(#46) There must not be a space before the colon in a return type declaration
(#52) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
local/recompletion/classes/plugins/mod_quiz.php
(#46) There must not be a space before the colon in a return type declaration
(#49) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#150) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#153) There should be a comma after the last array item in a multi-line array.
(#155) There should be a comma after the last array item in a multi-line array.
(#158) Short array syntax must be used to define arrays
(#175) Short array syntax must be used to define arrays
local/recompletion/classes/plugins/mod_scorm.php
(#46) There must not be a space before the colon in a return type declaration
(#49) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
local/recompletion/classes/privacy/provider.php
(#51) There must not be a space before the colon in a return type declaration
(#58) 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.
(#73) There should be a comma after the last array item in a multi-line array.
(#81) There should be a comma after the last array item in a multi-line array.
(#116) 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.
(#223) Short array syntax must be used to define arrays
(#308) Short array syntax must be used to define arrays
(#407) There must not be a space before the colon in a return type declaration
(#408) Short array syntax must be used to define arrays
(#432) Short array syntax must be used to define arrays
(#433) Short array syntax must be used to define arrays
(#469) Short array syntax must be used to define arrays
(#502) There must not be a space before the colon in a return type declaration
(#505) Short array syntax must be used to define arrays
(#612) Short array syntax must be used to define arrays
(#894) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $userid.
local/recompletion/classes/reportbuilder/datasource/archived_certificate_issues.php
(#25) Missing @copyright tag
local/recompletion/classes/reportbuilder/datasource/archived_course_completions.php
(#25) Missing @copyright tag
local/recompletion/classes/reportbuilder/datasource/archived_course_module_completions.php
(#25) Missing @copyright tag
local/recompletion/classes/reportbuilder/datasource/archived_customcert_issues.php
(#25) Missing @copyright tag
local/recompletion/classes/reportbuilder/datasource/archived_h5pactivities_atempts.php
(#25) Missing @copyright tag
(#102) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/datasource/archived_hotpot_atempts.php
(#25) Missing @copyright tag
local/recompletion/classes/reportbuilder/datasource/archived_lesson_grades.php
(#26) Missing @copyright tag
local/recompletion/classes/reportbuilder/datasource/archived_quiz_atempts.php
(#25) Missing @copyright tag
local/recompletion/classes/reportbuilder/datasource/archived_quiz_grades.php
(#25) Missing @copyright tag
local/recompletion/classes/reportbuilder/entities/certificate_issues.php
(#26) Missing @copyright tag
(#42) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/course_completions.php
(#27) Missing @copyright tag
(#43) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/course_modules_completion.php
(#29) Missing @copyright tag
(#45) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/customcert_issues.php
(#26) Missing @copyright tag
(#42) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/h5pactivity_attempts.php
(#28) Missing @copyright tag
(#44) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/hotpot_attempts.php
(#28) Missing @copyright tag
(#44) There should be a comma after the last array item in a multi-line array.
(#220) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/lesson_grades.php
(#26) Missing @copyright tag
(#42) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/quiz_attempts.php
(#26) Missing @copyright tag
(#42) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/reportbuilder/entities/quiz_grades.php
(#26) Missing @copyright tag
(#42) There should be a comma after the last array item in a multi-line array.
local/recompletion/classes/table/participants.php
(#97) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#184) Short array syntax must be used to define arrays
(#186) There should be a comma after the last array item in a multi-line array.
(#194) Short array syntax must be used to define arrays
(#198) Short array syntax must be used to define arrays
local/recompletion/db/access.php
(#36) There should be a comma after the last array item in a multi-line array.
(#47) There should be a comma after the last array item in a multi-line array.
local/recompletion/db/events.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#31) There should be a comma after the last array item in a multi-line array.
(#33) 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.
(#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.
local/recompletion/db/services.php
(#36) There should be a comma after the last array item in a multi-line array.
local/recompletion/db/tasks.php
(#28) Short array syntax must be used to define arrays
(#29) 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.
(#37) There should be a comma after the last array item in a multi-line array.
local/recompletion/db/upgrade.php
(#51) Short array syntax must be used to define arrays
(#54) 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
(#76) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#164) Short array syntax must be used to define arrays
(#184) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#190) Short array syntax must be used to define arrays
(#273) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
(#278) Short array syntax must be used to define arrays
(#281) Short array syntax must be used to define arrays
(#284) Short array syntax must be used to define arrays
(#287) Short array syntax must be used to define arrays
(#290) Short array syntax must be used to define arrays
(#293) Short array syntax must be used to define arrays
(#296) Short array syntax must be used to define arrays
(#299) Short array syntax must be used to define arrays
(#302) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
(#600) Short array syntax must be used to define arrays
(#608) Short array syntax must be used to define arrays
(#1004) Short array syntax must be used to define arrays
(#1004) Short array syntax must be used to define arrays
(#1005) Short array syntax must be used to define arrays
(#1005) Short array syntax must be used to define arrays
(#1006) Short array syntax must be used to define arrays
(#1006) Short array syntax must be used to define arrays
(#1027) Short array syntax must be used to define arrays
(#1027) Short array syntax must be used to define arrays
(#1028) Short array syntax must be used to define arrays
(#1028) Short array syntax must be used to define arrays
(#1029) Short array syntax must be used to define arrays
(#1029) Short array syntax must be used to define arrays
(#1030) Short array syntax must be used to define arrays
(#1030) Short array syntax must be used to define arrays
(#1087) There should be a comma after the last array item in a multi-line array.
local/recompletion/editcompletion.php
(#30) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#55) 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.
local/recompletion/externallib.php
(#49) There should be a comma after the last array item in a multi-line array.
(#63) There should be a comma after the last array item in a multi-line array.
local/recompletion/lang/en/local_recompletion.php
(#27) The string key "editrecompletion" is not in the correct order, it should be before "recompletion"
(#30) The string key "recompletiontype:ondemand" is not in the correct order, it should be before "recompletiontype:schedule"
(#31) The string key "recompletiontype:disabled" is not in the correct order, it should be before "recompletiontype:ondemand"
(#32) The string key "recompletiontype" is not in the correct order, it should be before "recompletiontype:disabled"
(#39) The string key "recompletionschedule" is not in the correct order, it should be before "recompletiontype_help"
(#43) The string key "recompletioncalculateddate" is not in the correct order, it should be before "recompletionschedulestart_help"
(#47) The string key "recompletion:manage" is not in the correct order, it should be before "recompletionsettingssaved"
(#48) The string key "recompletion:bulkoperations" is not in the correct order, it should be before "recompletion:manage"
(#51) The string key "recompletiontask" is not in the correct order, it should be before "resetmycompletion"
(#52) The string key "completionnotenabled" is not in the correct order, it should be before "recompletiontask"
(#57) The string key "recompletionnotify:activeenrolled" is not in the correct order, it should be before "recompletionnotify:enrolled"
(#58) The string key "recompletionnotify" is not in the correct order, it should be before "recompletionnotify:activeenrolled"
(#64) The string key "recompletionemailsubject" is not in the correct order, it should be before "recompletionnotify_help"
(#71) The string key "recompletionemaildefaultsubject" is not in the correct order, it should be before "recompletionemailsubject_help"
(#72) The string key "recompletionemailbody" is not in the correct order, it should be before "recompletionemaildefaultsubject"
(#83) The string key "advancedrecompletiontitle" is not in the correct order, it should be before "recompletionemaildefaultbody"
(#86) The string key "archivecompletiondata" is not in the correct order, it should be before "deletegradedata_help"
(#90) The string key "emailrecompletiontitle" is not in the correct order, it should be before "forcearchivecompletiondata_help"
(#92) The string key "assignattempts" is not in the correct order, it should be before "eventrecompletion"
(#99) The string key "questionnaireattempts" is not in the correct order, it should be before "quizattempts_help"
(#103) The string key "archive" is not in the correct order, it should be before "scormattempts_help"
(#107) The string key "privacy:metadata:local_recompletion_cc" is not in the correct order, it should be before "resetcompletionconfirm"
(#119) The string key "privacy:metadata:local_recompletion_ltia" is not in the correct order, it should be before "privacy:metadata:local_recompletion_ltia:toolid"
(#122) The string key "privacy:metadata:course" is not in the correct order, it should be before "privacy:metadata:userid"
(#127) The string key "privacy:metadata:coursesummary" is not in the correct order, it should be before "privacy:metadata:timestarted"
(#132) The string key "privacy:metadata:quiz_attempts" is not in the correct order, it should be before "privacy:metadata:unenroled"
(#150) The string key "privacy:metadata:coursemoduleid" is not in the correct order, it should be before "privacy:metadata:scoes_value:value"
(#151) The string key "privacy:metadata:completionstate" is not in the correct order, it should be before "privacy:metadata:coursemoduleid"
(#153) The string key "privacy:metadata:attempt" is not in the correct order, it should be before "privacy:metadata:viewed"
(#156) The string key "privacy:metadata:local_recompletion_qr:questionnaireid" is not in the correct order, it should be before "privacy:metadata:scorm_scoes_value"
(#158) The string key "privacy:metadata:local_recompletion_qr:complete" is not in the correct order, it should be before "privacy:metadata:local_recompletion_qr:submitted"
(#160) The string key "privacy:metadata:local_recompletion_qr" is not in the correct order, it should be before "privacy:metadata:local_recompletion_qr:grade"
(#161) The string key "privacy:metadata:local_recompletion_ccert_is:emailed" is not in the correct order, it should be before "privacy:metadata:local_recompletion_qr"
(#165) The string key "privacy:metadata:local_recompletion_hvp:data" is not in the correct order, it should be before "privacy:metadata:local_recompletion_hvp:hvp_id"
(#166) The string key "privacy:metadata:local_recompletion_h5p" is not in the correct order, it should be before "privacy:metadata:local_recompletion_hvp:data"
(#169) The string key "privacy:metadata:attempt" is duplicated
(#172) The string key "privacy:metadata:timemodified" is duplicated
(#173) The string key "privacy:metadata:local_recompletion_la" is not in the correct order, it should be before "privacy:metadata:timecreated"
(#174) The string key "privacy:metadata:correct" is not in the correct order, it should be before "privacy:metadata:local_recompletion_la"
(#176) The string key "privacy:metadata:local_recompletion_lg" is not in the correct order, it should be before "privacy:metadata:useranswer"
(#177) The string key "privacy:metadata:grade" is not in the correct order, it should be before "privacy:metadata:local_recompletion_lg"
(#180) The string key "privacy:metadata:endtime" is not in the correct order, it should be before "privacy:metadata:starttime"
(#183) The string key "privacy:metadata:flag" is not in the correct order, it should be before "privacy:metadata:local_recompletion_lb"
(#185) The string key "privacy:metadata:deadline" is not in the correct order, it should be before "privacy:metadata:local_recompletion_lo"
(#190) The string key "privacy:metadata:local_recompletion_cert" is not in the correct order, it should be before "privacy:metadata:scormid"
(#192) The string key "noassigngradepermission" is not in the correct order, it should be before "privacy:metadata:local_recompletion_cert:timecreated"
(#193) The string key "editcompletion" is not in the correct order, it should be before "noassigngradepermission"
(#195) The string key "coursecompletiondate" is not in the correct order, it should be before "editcompletion_desc"
(#196) The string key "completionupdated" is not in the correct order, it should be before "coursecompletiondate"
(#197) The string key "bulkchangedate" is not in the correct order, it should be before "completionupdated"
(#200) The string key "bulkresetallcompletion" is not in the correct order, it should be before "resetallcompletion"
(#202) The string key "completionresetuser" is not in the correct order, it should be before "resetcompletionfor"
(#203) The string key "completionreset" is not in the correct order, it should be before "completionresetuser"
(#205) The string key "assignevent" is not in the correct order, it should be before "modifycompletiondates"
(#207) The string key "archivequiz" is not in the correct order, it should be before "defaultsettings"
(#209) The string key "archivequestionnaire" is not in the correct order, it should be before "resetquizoverride"
(#216) The string key "pulsenotifications" is not in the correct order, it should be before "resetltis_help"
(#219) The string key "choiceattempts" is not in the correct order, it should be before "pulseresetnotifications"
(#220) The string key "archivechoice" is not in the correct order, it should be before "choiceattempts"
(#226) The string key "archivecustomcertcertificates" is not in the correct order, it should be before "customcertresetcertificatesverifywarn"
(#230) The string key "hvpattempts" is not in the correct order, it should be before "recompletionunenrolenable_help"
(#232) The string key "archivehvp" is not in the correct order, it should be before "hvpattempts_help"
(#235) The string key "archiveh5p" is not in the correct order, it should be before "h5pattempts_help"
(#238) The string key "restrictenrol" is not in the correct order, it should be before "restrictionsettings"
(#241) The string key "restricted" is not in the correct order, it should be before "restrictionsheader"
(#243) The string key "entity:local_recompletion_cc" is not in the correct order, it should be before "restrictedbyenrol"
(#244) The string key "datasource:local_recompletion_cc" is not in the correct order, it should be before "entity:local_recompletion_cc"
(#246) The string key "datasource:local_recompletion_cmc" is not in the correct order, it should be before "entity:local_recompletion_cmc"
(#249) The string key "status" is not in the correct order, it should be before "timemodified"
(#250) The string key "entity:local_recompletion_qg" is not in the correct order, it should be before "status"
(#251) The string key "datasource:local_recompletion_qg" is not in the correct order, it should be before "entity:local_recompletion_qg"
(#253) The string key "datasource:local_recompletion_qa" is not in the correct order, it should be before "entity:local_recompletion_qa"
(#255) The string key "datasource:local_recompletion_h5p" is not in the correct order, it should be before "entity:local_recompletion_h5p"
(#257) The string key "invalidscheduledate" is not in the correct order, it should be before "yearly"
(#261) The string key "archivelesson" is not in the correct order, it should be before "lessonattempts_help"
(#263) The string key "datasource:local_recompletion_lg" is not in the correct order, it should be before "entity:local_recompletion_lg"
(#266) The string key "archivehotpot" is not in the correct order, it should be before "hotpotattempts_help"
(#268) The string key "datasource:local_recompletion_hpa" is not in the correct order, it should be before "entity:local_recompletion_hpa"
(#270) The string key "endtime" is not in the correct order, it should be before "starttime"
(#272) The string key "penalties" is not in the correct order, it should be before "score"
(#273) The string key "inprogress" is not in the correct order, it should be before "penalties"
(#274) The string key "completed" is not in the correct order, it should be before "inprogress"
(#276) The string key "abandoned" is not in the correct order, it should be before "timedout"
(#280) The string key "coursecertificateverifywarn" is not in the correct order, it should be before "deletecoursecertificate"
(#281) The string key "archivecoursecertificate" is not in the correct order, it should be before "coursecertificateverifywarn"
(#286) The string key "certificateverifywarn" is not in the correct order, it should be before "deletecertificate"
(#287) The string key "archivecertificate" is not in the correct order, it should be before "certificateverifywarn"
(#290) The string key "datasource:local_recompletion_cert" is not in the correct order, it should be before "entity:local_recompletion_cert"
(#292) The string key "datasource:local_recompletion_ccert_is" is not in the correct order, it should be before "entity:local_recompletion_ccert_is"
local/recompletion/lib.php
(#42) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
local/recompletion/locallib.php
(#121) Short array syntax must be used to define arrays
(#167) There should be a comma after the last array item in a multi-line array.
(#171) Short array syntax must be used to define arrays
local/recompletion/participants.php
(#47) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
local/recompletion/resetcompletion.php
(#36) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
local/recompletion/tests/local/restrictions/enrol_test.php
(#29) Unit test enrol_test should be declared as final.
(#34) Test method test_set_form_data_does_not_add_attributes() is missing a return type
(#46) Data provider method "set_form_data_data_provider" will need to be converted to static in future.
(#65) Test method test_set_form_data() is missing a return type
(#76) Test method test_should_reset() is missing a return type
local/recompletion/tests/observer_test.php
(#28) Unit test observer_test should be declared as final.
(#63) Test method test_recompletion_rest_after_user_is_unenrolled_based_on_settings() is missing a return type
local/recompletion/tests/plugins/mod_h5pactivity_test.php
(#28) Unit test mod_h5pactivity_test should be declared as final.
(#33) Test method test_mod_h5pactivity() is missing a return type
(#142) Test method test_can_recomplete_few_times_in_a_row() is missing a return type
local/recompletion/tests/plugins/mod_lesson_test.php
(#28) Unit test mod_lesson_test should be declared as final.
(#50) Short array syntax must be used to define arrays
(#98) There should be a comma after the last array item in a multi-line array.
(#106) Test method test_mod_lesson() is missing a return type
local/recompletion/tests/schedule_test.php
(#27) Unit test schedule_test should be declared as final.
(#32) Test method test_local_recompletion() is missing any coverage information, own or at class level
(#32) Test method test_local_recompletion() is missing a return type
(#75) Test method test_recompletion_form_validation() is missing a return type

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]