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, 303 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
(#348) Short array syntax must be used to define arrays
(#356) Short array syntax must be used to define arrays
(#364) Short array syntax must be used to define arrays
(#371) Short array syntax must be used to define arrays
(#380) Short array syntax must be used to define arrays
(#388) Short array syntax must be used to define arrays
(#396) Short array syntax must be used to define arrays
(#406) Short array syntax must be used to define arrays
(#410) Short array syntax must be used to define arrays
(#419) Short array syntax must be used to define arrays
(#427) Short array syntax must be used to define arrays
local/recompletion/classes/admin_setting_configstrtotime.php
(#106) Line exceeds 132 characters; contains 135 characters
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
(#501) There must not be a space before the colon in a return type declaration
(#504) Short array syntax must be used to define arrays
(#611) Short array syntax must be used to define arrays
(#893) 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/recompletion_form.php
(#96) Line exceeds 132 characters; contains 135 characters
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/classes/task/check_recompletion.php
(#217) Line exceeds 132 characters; contains 139 characters
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"
(#41) The string key "recompletioncalculateddate" is not in the correct order, it should be before "recompletionschedule_help"
(#45) The string key "recompletion:manage" is not in the correct order, it should be before "recompletionsettingssaved"
(#46) The string key "recompletion:bulkoperations" is not in the correct order, it should be before "recompletion:manage"
(#49) The string key "recompletiontask" is not in the correct order, it should be before "resetmycompletion"
(#50) The string key "completionnotenabled" is not in the correct order, it should be before "recompletiontask"
(#52) The string key "recompletionemailenable" is not in the correct order, it should be before "recompletionnotenabledincourse"
(#61) The string key "recompletionemaildefaultsubject" is not in the correct order, it should be before "recompletionemailsubject_help"
(#62) The string key "recompletionemailbody" is not in the correct order, it should be before "recompletionemaildefaultsubject"
(#73) The string key "advancedrecompletiontitle" is not in the correct order, it should be before "recompletionemaildefaultbody"
(#76) The string key "archivecompletiondata" is not in the correct order, it should be before "deletegradedata_help"
(#80) The string key "emailrecompletiontitle" is not in the correct order, it should be before "forcearchivecompletiondata_help"
(#82) The string key "assignattempts" is not in the correct order, it should be before "eventrecompletion"
(#89) The string key "questionnaireattempts" is not in the correct order, it should be before "quizattempts_help"
(#93) The string key "archive" is not in the correct order, it should be before "scormattempts_help"
(#97) The string key "privacy:metadata:local_recompletion_cc" is not in the correct order, it should be before "resetcompletionconfirm"
(#109) The string key "privacy:metadata:local_recompletion_ltia" is not in the correct order, it should be before "privacy:metadata:local_recompletion_ltia:toolid"
(#112) The string key "privacy:metadata:course" is not in the correct order, it should be before "privacy:metadata:userid"
(#117) The string key "privacy:metadata:coursesummary" is not in the correct order, it should be before "privacy:metadata:timestarted"
(#122) The string key "privacy:metadata:quiz_attempts" is not in the correct order, it should be before "privacy:metadata:unenroled"
(#140) The string key "privacy:metadata:coursemoduleid" is not in the correct order, it should be before "privacy:metadata:scoes_value:value"
(#141) The string key "privacy:metadata:completionstate" is not in the correct order, it should be before "privacy:metadata:coursemoduleid"
(#143) The string key "privacy:metadata:attempt" is not in the correct order, it should be before "privacy:metadata:viewed"
(#146) The string key "privacy:metadata:local_recompletion_qr:questionnaireid" is not in the correct order, it should be before "privacy:metadata:scorm_scoes_value"
(#148) 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"
(#150) The string key "privacy:metadata:local_recompletion_qr" is not in the correct order, it should be before "privacy:metadata:local_recompletion_qr:grade"
(#151) 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"
(#155) 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"
(#156) The string key "privacy:metadata:local_recompletion_h5p" is not in the correct order, it should be before "privacy:metadata:local_recompletion_hvp:data"
(#159) The string key "privacy:metadata:attempt" is duplicated
(#162) The string key "privacy:metadata:timemodified" is duplicated
(#163) The string key "privacy:metadata:local_recompletion_la" is not in the correct order, it should be before "privacy:metadata:timecreated"
(#164) The string key "privacy:metadata:correct" is not in the correct order, it should be before "privacy:metadata:local_recompletion_la"
(#166) The string key "privacy:metadata:local_recompletion_lg" is not in the correct order, it should be before "privacy:metadata:useranswer"
(#167) The string key "privacy:metadata:grade" is not in the correct order, it should be before "privacy:metadata:local_recompletion_lg"
(#170) The string key "privacy:metadata:endtime" is not in the correct order, it should be before "privacy:metadata:starttime"
(#173) The string key "privacy:metadata:flag" is not in the correct order, it should be before "privacy:metadata:local_recompletion_lb"
(#175) The string key "privacy:metadata:deadline" is not in the correct order, it should be before "privacy:metadata:local_recompletion_lo"
(#180) The string key "privacy:metadata:local_recompletion_cert" is not in the correct order, it should be before "privacy:metadata:scormid"
(#182) The string key "noassigngradepermission" is not in the correct order, it should be before "privacy:metadata:local_recompletion_cert:timecreated"
(#183) The string key "editcompletion" is not in the correct order, it should be before "noassigngradepermission"
(#185) The string key "coursecompletiondate" is not in the correct order, it should be before "editcompletion_desc"
(#186) The string key "completionupdated" is not in the correct order, it should be before "coursecompletiondate"
(#187) The string key "bulkchangedate" is not in the correct order, it should be before "completionupdated"
(#190) The string key "bulkresetallcompletion" is not in the correct order, it should be before "resetallcompletion"
(#192) The string key "completionresetuser" is not in the correct order, it should be before "resetcompletionfor"
(#193) The string key "completionreset" is not in the correct order, it should be before "completionresetuser"
(#195) The string key "assignevent" is not in the correct order, it should be before "modifycompletiondates"
(#197) The string key "archivequiz" is not in the correct order, it should be before "defaultsettings"
(#199) The string key "archivequestionnaire" is not in the correct order, it should be before "resetquizoverride"
(#206) The string key "pulsenotifications" is not in the correct order, it should be before "resetltis_help"
(#209) The string key "choiceattempts" is not in the correct order, it should be before "pulseresetnotifications"
(#210) The string key "archivechoice" is not in the correct order, it should be before "choiceattempts"
(#216) The string key "archivecustomcertcertificates" is not in the correct order, it should be before "customcertresetcertificatesverifywarn"
(#220) The string key "hvpattempts" is not in the correct order, it should be before "recompletionunenrolenable_help"
(#222) The string key "archivehvp" is not in the correct order, it should be before "hvpattempts_help"
(#225) The string key "archiveh5p" is not in the correct order, it should be before "h5pattempts_help"
(#228) The string key "restrictenrol" is not in the correct order, it should be before "restrictionsettings"
(#231) The string key "restricted" is not in the correct order, it should be before "restrictionsheader"
(#233) The string key "entity:local_recompletion_cc" is not in the correct order, it should be before "restrictedbyenrol"
(#234) The string key "datasource:local_recompletion_cc" is not in the correct order, it should be before "entity:local_recompletion_cc"
(#236) The string key "datasource:local_recompletion_cmc" is not in the correct order, it should be before "entity:local_recompletion_cmc"
(#239) The string key "status" is not in the correct order, it should be before "timemodified"
(#240) The string key "entity:local_recompletion_qg" is not in the correct order, it should be before "status"
(#241) The string key "datasource:local_recompletion_qg" is not in the correct order, it should be before "entity:local_recompletion_qg"
(#243) The string key "datasource:local_recompletion_qa" is not in the correct order, it should be before "entity:local_recompletion_qa"
(#245) The string key "datasource:local_recompletion_h5p" is not in the correct order, it should be before "entity:local_recompletion_h5p"
(#247) The string key "invalidscheduledate" is not in the correct order, it should be before "yearly"
(#250) The string key "archivelesson" is not in the correct order, it should be before "lessonattempts_help"
(#252) The string key "datasource:local_recompletion_lg" is not in the correct order, it should be before "entity:local_recompletion_lg"
(#255) The string key "archivehotpot" is not in the correct order, it should be before "hotpotattempts_help"
(#257) The string key "datasource:local_recompletion_hpa" is not in the correct order, it should be before "entity:local_recompletion_hpa"
(#259) The string key "endtime" is not in the correct order, it should be before "starttime"
(#261) The string key "penalties" is not in the correct order, it should be before "score"
(#262) The string key "inprogress" is not in the correct order, it should be before "penalties"
(#263) The string key "completed" is not in the correct order, it should be before "inprogress"
(#265) The string key "abandoned" is not in the correct order, it should be before "timedout"
(#269) The string key "coursecertificateverifywarn" is not in the correct order, it should be before "deletecoursecertificate"
(#270) The string key "archivecoursecertificate" is not in the correct order, it should be before "coursecertificateverifywarn"
(#275) The string key "certificateverifywarn" is not in the correct order, it should be before "deletecertificate"
(#276) The string key "archivecertificate" is not in the correct order, it should be before "certificateverifywarn"
(#279) The string key "datasource:local_recompletion_cert" is not in the correct order, it should be before "entity:local_recompletion_cert"
(#281) 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
(#122) Short array syntax must be used to define arrays
(#168) There should be a comma after the last array item in a multi-line array.
(#172) 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/recompletion_test.php
(#26) Unit test recompletion_test should be declared as final.
(#31) Test method test_local_recompletion() is missing any coverage information, own or at class level
(#31) Test method test_local_recompletion() 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

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]