Prechecker results: warning


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

(0 errors, 190 warnings)

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

admin/tool/usersuspension/classes/logtable.php
(#98) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $params.
admin/tool/usersuspension/classes/statustable.php
(#157) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $params.
admin/tool/usersuspension/classes/statustable_filtering.php
(#206) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $params.
admin/tool/usersuspension/lang/en/tool_usersuspension.php
(#35) The string key "link:upload" is not in the correct order, it should be before "promodesc"
(#37) The string key "link:exclude:overview" is not in the correct order, it should be before "link:viewstatus"
(#39) The string key "link:currentstatus:overview" is not in the correct order, it should be before "link:log:overview"
(#43) The string key "setting:enabled" is not in the correct order, it should be before "suspensionsettingsdesc"
(#44) The string key "setting:desc:enabled" is not in the correct order, it should be before "setting:enabled"
(#46) The string key "setting:desc:enablecleanlogs" is not in the correct order, it should be before "setting:enablecleanlogs"
(#47) The string key "setting:cleanlogsafter" is not in the correct order, it should be before "setting:desc:enablecleanlogs"
(#49) The string key "config:cleanlogs:disabled" is not in the correct order, it should be before "setting:desc:cleanlogsafter"
(#55) The string key "setting:enablefromfolder" is not in the correct order, it should be before "suspensionsettingsfolderdesc"
(#56) The string key "setting:desc:enablefromfolder" is not in the correct order, it should be before "setting:enablefromfolder"
(#58) The string key "setting:desc:uploadfolder" is not in the correct order, it should be before "setting:uploadfolder"
(#60) The string key "setting:desc:uploadfilename" is not in the correct order, it should be before "setting:uploadfilename"
(#62) The string key "setting:desc:uploaddetect_interval" is not in the correct order, it should be before "setting:uploaddetect_interval"
(#65) The string key "setting:enablefromupload" is not in the correct order, it should be before "suspensionsettingsuploaddesc"
(#66) The string key "setting:desc:enablefromupload" is not in the correct order, it should be before "setting:enablefromupload"
(#72) The string key "setting:enablesmartdetect" is not in the correct order, it should be before "suspensionsettingssmartdetectdesc"
(#73) The string key "setting:desc:enablesmartdetect" is not in the correct order, it should be before "setting:enablesmartdetect"
(#75) The string key "setting:desc:smartdetect_interval" is not in the correct order, it should be before "setting:smartdetect_interval"
(#77) The string key "setting:desc:smartdetect_suspendafter" is not in the correct order, it should be before "setting:smartdetect_suspendafter"
(#79) The string key "setting:desc:enablesmartdetectwarning" is not in the correct order, it should be before "setting:enablesmartdetectwarning"
(#81) The string key "setting:desc:smartdetect_warninginterval" is not in the correct order, it should be before "setting:smartdetect_warninginterval"
(#87) The string key "setting:enablecleanup" is not in the correct order, it should be before "suspensionsettingscleanupdesc"
(#88) The string key "setting:desc:enablecleanup" is not in the correct order, it should be before "setting:enablecleanup"
(#89) The string key "setting:cleanup_interval" is not in the correct order, it should be before "setting:desc:enablecleanup"
(#91) The string key "setting:cleanup_deleteafter" is not in the correct order, it should be before "setting:desc:cleanup_interval"
(#94) The string key "setting:desc:sendsuspendemail" is not in the correct order, it should be before "setting:sendsuspendemail"
(#96) The string key "setting:desc:domainstoexclude" is not in the correct order, it should be before "setting:domainstoexclude"
(#98) The string key "setting:desc:senddeleteemail" is not in the correct order, it should be before "setting:senddeleteemail"
(#99) The string key "csv:delimiter" is not in the correct order, it should be before "setting:desc:senddeleteemail"
(#107) The string key "page:view:statuslist.php:introduction:delete" is not in the correct order, it should be before "page:view:statuslist.php:introduction:status"
(#112) The string key "page:view:log.php:introduction" is not in the correct order, it should be before "page:view:statuslist.php:introduction:tosuspend"
(#115) The string key "page:view:exclude.php:introduction" is not in the correct order, it should be before "page:view:log.php:introduction"
(#119) The string key "config:tool:disabled" is not in the correct order, it should be before "page:view:exclude.php:introduction"
(#120) The string key "config:smartdetect:disabled" is not in the correct order, it should be before "config:tool:disabled"
(#121) The string key "config:fromfolder:disabled" is not in the correct order, it should be before "config:smartdetect:disabled"
(#122) The string key "config:cleanup:disabled" is not in the correct order, it should be before "config:fromfolder:disabled"
(#131) The string key "action:delete-exclusion" is not in the correct order, it should be before "notify:unknown-suspend-type"
(#132) The string key "action:confirm-delete-exclusion" is not in the correct order, it should be before "action:delete-exclusion"
(#134) The string key "button:continue" is not in the correct order, it should be before "info:no-exclusion-cohorts"
(#135) The string key "action:exclude:add:cohort" is not in the correct order, it should be before "button:continue"
(#141) The string key "status:deleted" is not in the correct order, it should be before "status:unsuspended"
(#145) The string key "table:status:delete" is not in the correct order, it should be before "table:status:tosuspend"
(#146) The string key "excludeuser" is not in the correct order, it should be before "table:status:delete"
(#148) The string key "email:user:suspend:subject" is not in the correct order, it should be before "excludeuser"
(#149) The string key "email:user:suspend:auto:body" is not in the correct order, it should be before "email:user:suspend:subject"
(#160) The string key "email:user:unsuspend:body" is not in the correct order, it should be before "email:user:unsuspend:subject"
(#165) The string key "email:user:delete:subject" is not in the correct order, it should be before "email:user:unsuspend:body"
(#166) The string key "email:user:delete:body" is not in the correct order, it should be before "email:user:delete:subject"
(#170) The string key "email:user:warning:body" is not in the correct order, it should be before "email:user:warning:subject"
(#187) The string key "msg:exclusion:record:user:inserted" is not in the correct order, it should be before "msg:exclusion:records:user:deleted"
(#188) The string key "msg:exclusion:record:user:deleted" is not in the correct order, it should be before "msg:exclusion:record:user:inserted"
(#190) The string key "msg:exclusion:record:cohort:inserted" is not in the correct order, it should be before "msg:exclusion:records:cohort:deleted"
(#192) The string key "msg:exclusion:record:inserted" is not in the correct order, it should be before "msg:exclusion:records:deleted"
(#193) The string key "msg:exclusion:record:exists" is not in the correct order, it should be before "msg:exclusion:record:inserted"
(#196) The string key "msg:user:suspend:failed" is not in the correct order, it should be before "msg:user:suspend:success"
(#199) The string key "msg:user:unsuspend:failed" is not in the correct order, it should be before "msg:user:unsuspend:success"
(#201) The string key "msg:user:not-found" is not in the correct order, it should be before "msg:user:unsuspend:nounsuspendmode"
(#202) The string key "msg:file-not-readable" is not in the correct order, it should be before "msg:user:not-found"
(#204) The string key "button:backtocourse" is not in the correct order, it should be before "msg:file-not-writeable"
(#206) The string key "button:backtoexclusions" is not in the correct order, it should be before "button:backtouploadform"
(#209) The string key "table:log:all" is not in the correct order, it should be before "table:logs"
(#212) The string key "task:fromfolder" is not in the correct order, it should be before "task:mark"
(#213) The string key "task:delete" is not in the correct order, it should be before "task:fromfolder"
(#216) The string key "thead:name" is not in the correct order, it should be before "thead:type"
(#218) The string key "thead:action" is not in the correct order, it should be before "thead:timecreated"
(#220) The string key "thead:status" is not in the correct order, it should be before "thead:userid"
(#221) The string key "thead:mailsent" is not in the correct order, it should be before "thead:status"
(#222) The string key "thead:mailedto" is not in the correct order, it should be before "thead:mailsent"
(#224) The string key "thead:email" is not in the correct order, it should be before "thead:username"
(#227) The string key "thead:deletein" is not in the correct order, it should be before "thead:timemodified"
(#230) The string key "deleteon" is not in the correct order, it should be before "thead:timedetect"
(#233) The string key "privacy:metadata:tool_usersuspension:type" is not in the correct order, it should be before "suspendon"
(#235) The string key "privacy:metadata:tool_usersuspension:status" is not in the correct order, it should be before "privacy:metadata:tool_usersuspension:userid"
(#236) The string key "privacy:metadata:tool_usersuspension:mailsent" is not in the correct order, it should be before "privacy:metadata:tool_usersuspension:status"
(#237) The string key "privacy:metadata:tool_usersuspension:mailedto" is not in the correct order, it should be before "privacy:metadata:tool_usersuspension:mailsent"
(#241) The string key "privacy:metadata:tool_usersuspension_log" is not in the correct order, it should be before "privacy:metadata:tool_usersuspension_status"
(#243) The string key "csvdelimiter" is not in the correct order, it should be before "privacy:metadata:tool_usersuspension_log"
(#246) The string key "suspendmode" is not in the correct order, it should be before "task:unsuspendfromfolder"
(#247) The string key "suspend" is not in the correct order, it should be before "suspendmode"
(#249) The string key "download-sample-csv" is not in the correct order, it should be before "unsuspend"
(#250) The string key "config:unsuspendfromfolder:disabled" is not in the correct order, it should be before "download-sample-csv"
(#252) The string key "setting:desc:enableunsuspendfromfolder" is not in the correct order, it should be before "setting:enableunsuspendfromfolder"
(#254) The string key "setting:desc:unsuspenduploadfilename" is not in the correct order, it should be before "setting:unsuspenduploadfilename"
(#255) The string key "page:view:notifications.php:introduction" is not in the correct order, it should be before "setting:desc:unsuspenduploadfilename"
(#257) The string key "notifications:allok" is not in the correct order, it should be before "tab:notifications"
(#261) The string key "config:tool:enabled" is not in the correct order, it should be before "testfromfolder:unsuspend"
(#262) The string key "config:fromfolder:enabled" is not in the correct order, it should be before "config:tool:enabled"
(#265) The string key "config:uploadfolder:exists" is not in the correct order, it should be before "config:uploadfolder:not-exists"
(#266) The string key "config:uploadfile:not-exists" is not in the correct order, it should be before "config:uploadfolder:exists"
(#267) The string key "config:uploadfile:exists" is not in the correct order, it should be before "config:uploadfile:not-exists"
(#272) Unexpected comment found. Auto-fixing will not work after this comment
(#276) Unexpected comment found. Auto-fixing will not work after this comment
(#277) The string key "setting:dep:uploaddetect_interval" is not in the correct order, it should be before "usersuspension:viewstatus"
(#278) The string key "setting:dep:desc:uploaddetect_interval" is not in the correct order, it should be before "setting:dep:uploaddetect_interval"
(#281) The string key "event:user:suspended" is not in the correct order, it should be before "setting:dep:desc:uploaddetect_interval"
admin/tool/usersuspension/lang/nl/tool_usersuspension.php
(#35) The string key "link:upload" is not in the correct order, it should be before "promodesc"
(#37) The string key "link:exclude:overview" is not in the correct order, it should be before "link:viewstatus"
(#39) The string key "link:currentstatus:overview" is not in the correct order, it should be before "link:log:overview"
(#43) The string key "setting:enabled" is not in the correct order, it should be before "suspensionsettingsdesc"
(#44) The string key "setting:desc:enabled" is not in the correct order, it should be before "setting:enabled"
(#46) The string key "setting:desc:enablecleanlogs" is not in the correct order, it should be before "setting:enablecleanlogs"
(#47) The string key "setting:cleanlogsafter" is not in the correct order, it should be before "setting:desc:enablecleanlogs"
(#49) The string key "config:cleanlogs:disabled" is not in the correct order, it should be before "setting:desc:cleanlogsafter"
(#55) The string key "setting:enablefromfolder" is not in the correct order, it should be before "suspensionsettingsfolderdesc"
(#56) The string key "setting:desc:enablefromfolder" is not in the correct order, it should be before "setting:enablefromfolder"
(#58) The string key "setting:desc:uploadfolder" is not in the correct order, it should be before "setting:uploadfolder"
(#60) The string key "setting:desc:uploadfilename" is not in the correct order, it should be before "setting:uploadfilename"
(#62) The string key "setting:desc:uploaddetect_interval" is not in the correct order, it should be before "setting:uploaddetect_interval"
(#65) The string key "setting:enablefromupload" is not in the correct order, it should be before "suspensionsettingsuploaddesc"
(#66) The string key "setting:desc:enablefromupload" is not in the correct order, it should be before "setting:enablefromupload"
(#72) The string key "setting:enablesmartdetect" is not in the correct order, it should be before "suspensionsettingssmartdetectdesc"
(#73) The string key "setting:desc:enablesmartdetect" is not in the correct order, it should be before "setting:enablesmartdetect"
(#75) The string key "setting:desc:smartdetect_interval" is not in the correct order, it should be before "setting:smartdetect_interval"
(#77) The string key "setting:desc:smartdetect_suspendafter" is not in the correct order, it should be before "setting:smartdetect_suspendafter"
(#79) The string key "setting:desc:enablesmartdetectwarning" is not in the correct order, it should be before "setting:enablesmartdetectwarning"
(#81) The string key "setting:desc:smartdetect_warninginterval" is not in the correct order, it should be before "setting:smartdetect_warninginterval"
(#87) The string key "setting:enablecleanup" is not in the correct order, it should be before "suspensionsettingscleanupdesc"
(#88) The string key "setting:desc:enablecleanup" is not in the correct order, it should be before "setting:enablecleanup"
(#89) The string key "setting:cleanup_interval" is not in the correct order, it should be before "setting:desc:enablecleanup"
(#91) The string key "setting:cleanup_deleteafter" is not in the correct order, it should be before "setting:desc:cleanup_interval"
(#94) The string key "setting:desc:sendsuspendemail" is not in the correct order, it should be before "setting:sendsuspendemail"
(#96) The string key "setting:desc:senddeleteemail" is not in the correct order, it should be before "setting:senddeleteemail"
(#97) The string key "csv:delimiter" is not in the correct order, it should be before "setting:desc:senddeleteemail"
(#105) The string key "page:view:statuslist.php:introduction:delete" is not in the correct order, it should be before "page:view:statuslist.php:introduction:status"
(#110) The string key "page:view:log.php:introduction" is not in the correct order, it should be before "page:view:statuslist.php:introduction:tosuspend"
(#113) The string key "page:view:exclude.php:introduction" is not in the correct order, it should be before "page:view:log.php:introduction"
(#117) The string key "config:tool:disabled" is not in the correct order, it should be before "page:view:exclude.php:introduction"
(#118) The string key "config:smartdetect:disabled" is not in the correct order, it should be before "config:tool:disabled"
(#119) The string key "config:fromfolder:disabled" is not in the correct order, it should be before "config:smartdetect:disabled"
(#120) The string key "config:cleanup:disabled" is not in the correct order, it should be before "config:fromfolder:disabled"
(#129) The string key "action:delete-exclusion" is not in the correct order, it should be before "notify:unknown-suspend-type"
(#130) The string key "action:confirm-delete-exclusion" is not in the correct order, it should be before "action:delete-exclusion"
(#132) The string key "button:continue" is not in the correct order, it should be before "info:no-exclusion-cohorts"
(#133) The string key "action:exclude:add:cohort" is not in the correct order, it should be before "button:continue"
(#139) The string key "status:deleted" is not in the correct order, it should be before "status:unsuspended"
(#143) The string key "table:status:delete" is not in the correct order, it should be before "table:status:tosuspend"
(#144) The string key "excludeuser" is not in the correct order, it should be before "table:status:delete"
(#146) The string key "email:user:suspend:subject" is not in the correct order, it should be before "excludeuser"
(#147) The string key "email:user:suspend:auto:body" is not in the correct order, it should be before "email:user:suspend:subject"
(#158) The string key "email:user:unsuspend:body" is not in the correct order, it should be before "email:user:unsuspend:subject"
(#163) The string key "email:user:delete:subject" is not in the correct order, it should be before "email:user:unsuspend:body"
(#164) The string key "email:user:delete:body" is not in the correct order, it should be before "email:user:delete:subject"
(#179) The string key "msg:exclusion:record:user:inserted" is not in the correct order, it should be before "msg:exclusion:records:user:deleted"
(#180) The string key "msg:exclusion:record:user:deleted" is not in the correct order, it should be before "msg:exclusion:record:user:inserted"
(#182) The string key "msg:exclusion:record:cohort:inserted" is not in the correct order, it should be before "msg:exclusion:records:cohort:deleted"
(#184) The string key "msg:exclusion:record:inserted" is not in the correct order, it should be before "msg:exclusion:records:deleted"
(#185) The string key "msg:exclusion:record:exists" is not in the correct order, it should be before "msg:exclusion:record:inserted"
(#188) The string key "msg:user:suspend:failed" is not in the correct order, it should be before "msg:user:suspend:success"
(#190) The string key "msg:user:unsuspend:failed" is not in the correct order, it should be before "msg:user:unsuspend:success"
(#191) The string key "msg:user:not-found" is not in the correct order, it should be before "msg:user:unsuspend:failed"
(#192) The string key "msg:file-not-readable" is not in the correct order, it should be before "msg:user:not-found"
(#194) The string key "button:backtocourse" is not in the correct order, it should be before "msg:file-not-writeable"
(#196) The string key "button:backtoexclusions" is not in the correct order, it should be before "button:backtouploadform"
(#199) The string key "table:log:all" is not in the correct order, it should be before "table:logs"
(#202) The string key "task:fromfolder" is not in the correct order, it should be before "task:mark"
(#203) The string key "task:delete" is not in the correct order, it should be before "task:fromfolder"
(#206) The string key "thead:name" is not in the correct order, it should be before "thead:type"
(#208) The string key "thead:action" is not in the correct order, it should be before "thead:timecreated"
(#210) The string key "thead:status" is not in the correct order, it should be before "thead:userid"
(#211) The string key "thead:mailsent" is not in the correct order, it should be before "thead:status"
(#212) The string key "thead:mailedto" is not in the correct order, it should be before "thead:mailsent"
(#214) The string key "thead:lastlogin" is not in the correct order, it should be before "thead:username"
(#216) The string key "thead:deletein" is not in the correct order, it should be before "thead:timemodified"
(#219) The string key "deleteon" is not in the correct order, it should be before "thead:timedetect"
(#222) The string key "privacy:metadata:tool_usersuspension:type" is not in the correct order, it should be before "suspendon"
(#224) The string key "privacy:metadata:tool_usersuspension:status" is not in the correct order, it should be before "privacy:metadata:tool_usersuspension:userid"
(#225) The string key "privacy:metadata:tool_usersuspension:mailsent" is not in the correct order, it should be before "privacy:metadata:tool_usersuspension:status"
(#226) The string key "privacy:metadata:tool_usersuspension:mailedto" is not in the correct order, it should be before "privacy:metadata:tool_usersuspension:mailsent"
(#230) The string key "privacy:metadata:tool_usersuspension_log" is not in the correct order, it should be before "privacy:metadata:tool_usersuspension_status"
(#232) The string key "csvdelimiter" is not in the correct order, it should be before "privacy:metadata:tool_usersuspension_log"
(#235) The string key "suspendmode" is not in the correct order, it should be before "task:unsuspendfromfolder"
(#236) The string key "suspend" is not in the correct order, it should be before "suspendmode"
(#238) The string key "download-sample-csv" is not in the correct order, it should be before "unsuspend"
(#239) The string key "config:unsuspendfromfolder:disabled" is not in the correct order, it should be before "download-sample-csv"
(#241) The string key "setting:desc:enableunsuspendfromfolder" is not in the correct order, it should be before "setting:enableunsuspendfromfolder"
(#243) The string key "setting:desc:unsuspenduploadfilename" is not in the correct order, it should be before "setting:unsuspenduploadfilename"
(#244) The string key "page:view:notifications.php:introduction" is not in the correct order, it should be before "setting:desc:unsuspenduploadfilename"
(#246) The string key "notifications:allok" is not in the correct order, it should be before "tab:notifications"
(#250) The string key "config:tool:enabled" is not in the correct order, it should be before "testfromfolder:unsuspend"
(#251) The string key "config:fromfolder:enabled" is not in the correct order, it should be before "config:tool:enabled"
(#254) The string key "config:uploadfolder:exists" is not in the correct order, it should be before "config:uploadfolder:not-exists"
(#255) The string key "config:uploadfile:not-exists" is not in the correct order, it should be before "config:uploadfolder:exists"
(#256) The string key "config:uploadfile:exists" is not in the correct order, it should be before "config:uploadfile:not-exists"
(#261) Unexpected comment found. Auto-fixing will not work after this comment
(#262) The string key "setting:dep:uploaddetect_interval" is not in the correct order, it should be before "testing:unsuspendfromfolder"
(#263) The string key "setting:dep:desc:uploaddetect_interval" is not in the correct order, it should be before "setting:dep:uploaddetect_interval"
(#266) The string key "event:user:suspended" is not in the correct order, it should be before "setting:dep:desc:uploaddetect_interval"

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]