Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(25 errors, 127 warnings)

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

mod/reengagement/backup/moodle2/backup_reengagement_stepslib.php
(#46) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
mod/reengagement/backup/moodle2/restore_reengagement_activity_task.class.php
(#60) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
mod/reengagement/backup/moodle2/restore_reengagement_stepslib.php
(#41) Short array syntax must be used to define arrays
mod/reengagement/bulkchange.php
(#31) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#182) Short array syntax must be used to define arrays
mod/reengagement/classes/completion/custom_completion.php
(#66) There should be a comma after the last array item in a multi-line array.
mod/reengagement/classes/privacy/provider.php
(#55) There must not be a space before the colon in a return type declaration
(#63) There should be a comma after the last array item in a multi-line array.
(#77) There must not be a space before the colon in a return type declaration
(#89) There should be a comma after the last array item in a multi-line array.
(#115) There should be a comma after the last array item in a multi-line array.
(#143) There should be a comma after the last array item in a multi-line array.
(#160) There should be a comma after the last array item in a multi-line array.
(#198) There must not be a space before the colon in a return type declaration
(#201) There must not be a space before the colon in a return type declaration
(#218) There must not be a space before the colon in a return type declaration
(#225) There should be a comma after the last array item in a multi-line array.
mod/reengagement/classes/table/reengagement_participants.php
(#188) Short array syntax must be used to define arrays
(#211) Short array syntax must be used to define arrays
(#336) Short array syntax must be used to define arrays
mod/reengagement/db/access.php
(#28) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#39) There should be a comma after the last array item in a multi-line array.
(#42) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#47) There should be a comma after the last array item in a multi-line array.
(#50) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
(#57) 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
(#65) Short array syntax must be used to define arrays
(#67) There should be a comma after the last array item in a multi-line array.
(#69) There should be a comma after the last array item in a multi-line array.
mod/reengagement/db/messages.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
mod/reengagement/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.
mod/reengagement/db/upgrade.php
(#141) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
mod/reengagement/index.php
(#31) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#52) There should be a comma after the last array item in a multi-line array.
(#80) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
mod/reengagement/lang/en/reengagement.php
(#28) The string key "pluginadministration" is not in the correct order, it should be before "reengagement"
(#29) The string key "modulename" is not in the correct order, it should be before "pluginadministration"
(#31) The string key "modulename_help" is not in the correct order, it should be before "modulenameplural"
(#47) Unexpected comment found. Auto-fixing will not work after this comment
(#48) The string key "activitycompleted" is not in the correct order, it should be before "modulename_help"
(#53) The string key "completeattimex" is not in the correct order, it should be before "completionwillturnon"
(#55) The string key "completiondatesupdated" is not in the correct order, it should be before "completiontime"
(#67) The string key "emailcontent" is not in the correct order, it should be before "thirdpartyemails_help"
(#71) The string key "emailcontentmanager" is not in the correct order, it should be before "emailcontentthirdparty_help"
(#74) The string key "emailcontentdefaultvalue" is not in the correct order, it should be before "emailcontentthirdpartydefaultvalue"
(#98) The string key "hours" is not in the correct order, it should be before "periodtoolow"
(#114) The string key "reengagement:editreengagementduration" is not in the correct order, it should be before "reengagement:startreengagement"
(#115) The string key "reengagement:bulkactions" is not in the correct order, it should be before "reengagement:editreengagementduration"
(#128) The string key "resetbyenrolment" is not in the correct order, it should be before "resetbyfirstaccess"
(#142) The string key "seconds" is not in the correct order, it should be before "withselectedusers_help"
(#144) The string key "privacy:metadata:reengagement" is not in the correct order, it should be before "seconds"
(#146) The string key "privacy:metadata:completiontime" is not in the correct order, it should be before "privacy:metadata:userid"
(#148) The string key "privacy:metadata:emailsent" is not in the correct order, it should be before "privacy:metadata:emailtime"
mod/reengagement/lib.php
(#62) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#253) Short array syntax must be used to define arrays
(#266) Short array syntax must be used to define arrays
(#271) Short array syntax must be used to define arrays
(#295) Short array syntax must be used to define arrays
(#299) Short array syntax must be used to define arrays
(#300) There should be a comma after the last array item in a multi-line array.
(#301) There should be a comma after the last array item in a multi-line array.
(#314) Short array syntax must be used to define arrays
(#352) 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
(#412) Short array syntax must be used to define arrays
(#458) Short array syntax must be used to define arrays
(#567) Short array syntax must be used to define arrays
(#584) Short array syntax must be used to define arrays
(#595) Short array syntax must be used to define arrays
(#620) Short array syntax must be used to define arrays
(#623) Short array syntax must be used to define arrays
(#630) Short array syntax must be used to define arrays
(#633) There should be a comma after the last array item in a multi-line array.
(#635) Short array syntax must be used to define arrays
(#639) Short array syntax must be used to define arrays
(#715) Short array syntax must be used to define arrays
(#729) Short array syntax must be used to define arrays
(#736) Short array syntax must be used to define arrays
(#737) Short array syntax must be used to define arrays
(#835) Short array syntax must be used to define arrays
(#857) Short array syntax must be used to define arrays
(#870) Short array syntax must be used to define arrays
(#875) Short array syntax must be used to define arrays
(#899) Short array syntax must be used to define arrays
(#921) Short array syntax must be used to define arrays
(#933) Short array syntax must be used to define arrays
mod/reengagement/mod_form.php
(#69) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#236) Short array syntax must be used to define arrays
(#244) Short array syntax must be used to define arrays
(#254) Short array syntax must be used to define arrays
(#336) Short array syntax must be used to define arrays
(#342) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#349) Short array syntax must be used to define arrays
mod/reengagement/view.php
(#41) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#224) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays

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]