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, 302 warnings)

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

mod/kalmediaassign/backup/moodle2/backup_kalmediaassign_stepslib.php
(#50) Short array syntax must be used to define arrays
(#50) 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
(#65) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
mod/kalmediaassign/backup/moodle2/restore_kalmediaassign_activity_task.class.php
(#62) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
mod/kalmediaassign/backup/moodle2/restore_kalmediaassign_stepslib.php
(#47) Short array syntax must be used to define arrays
mod/kalmediaassign/classes/event/grades_updated.php
(#70) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
mod/kalmediaassign/classes/event/media_submitted.php
(#70) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
mod/kalmediaassign/classes/event/submission_detail_viewed.php
(#68) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
mod/kalmediaassign/classes/event/submission_page_viewed.php
(#67) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
mod/kalmediaassign/classes/privacy/provider.php
(#97) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
mod/kalmediaassign/db/access.php
(#28) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
mod/kalmediaassign/db/log.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
mod/kalmediaassign/db/messages.php
(#28) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
mod/kalmediaassign/grade_preferences_form.php
(#64) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
mod/kalmediaassign/grade_submissions.php
(#58) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#165) Short array syntax must be used to define arrays
(#203) Short array syntax must be used to define arrays
(#257) Short array syntax must be used to define arrays
mod/kalmediaassign/index.php
(#39) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
mod/kalmediaassign/lang/en/kalmediaassign.php
(#27) The string key "modulenameplural" is not in the correct order, it should be before "pluginname"
(#28) The string key "modulename" is not in the correct order, it should be before "modulenameplural"
(#30) The string key "gradingsummary" is not in the correct order, it should be before "modulename_help"
(#32) The string key "gradingstatus" is not in the correct order, it should be before "submissionstatus"
(#34) The string key "description" is not in the correct order, it should be before "name"
(#35) The string key "availabledate" is not in the correct order, it should be before "description"
(#37) The string key "alwaysshowdescription" is not in the correct order, it should be before "duedate"
(#40) The string key "preventlate" is not in the correct order, it should be before "submissionsettings_hdr"
(#41) The string key "allowdeleting" is not in the correct order, it should be before "preventlate"
(#47) The string key "add_media" is not in the correct order, it should be before "pluginadministration"
(#49) The string key "replace_media" is not in the correct order, it should be before "submit_media"
(#50) The string key "previewmedia" is not in the correct order, it should be before "replace_media"
(#51) The string key "gradesubmission" is not in the correct order, it should be before "previewmedia"
(#54) The string key "numberofrequiregrading" is not in the correct order, it should be before "numberofsubmissions"
(#55) The string key "assignmentexpired" is not in the correct order, it should be before "numberofrequiregrading"
(#58) The string key "deleteallsubmissions" is not in the correct order, it should be before "emptyentryid"
(#63) The string key "feedbackcomment" is not in the correct order, it should be before "gradedon"
(#64) The string key "currentgrade" is not in the correct order, it should be before "feedbackcomment"
(#67) The string key "grademodified" is not in the correct order, it should be before "timemodified"
(#68) The string key "finalgrade" is not in the correct order, it should be before "grademodified"
(#70) The string key "optionalsettings" is not in the correct order, it should be before "status"
(#72) The string key "all" is not in the correct order, it should be before "savepref"
(#75) The string key "notsubmittedyet" is not in the correct order, it should be before "submitted"
(#80) The string key "quickgrade" is not in the correct order, it should be before "show_help"
(#82) The string key "invalidperpage" is not in the correct order, it should be before "quickgrade_help"
(#85) The string key "grades" is not in the correct order, it should be before "submission"
(#86) The string key "feedback" is not in the correct order, it should be before "grades"
(#88) The string key "singlegrade" is not in the correct order, it should be before "singlesubmissionheader"
(#90) The string key "late" is not in the correct order, it should be before "singlegrade_help"
(#91) The string key "early" is not in the correct order, it should be before "late"
(#94) The string key "save" is not in the correct order, it should be before "savedchanges"
(#95) The string key "cancel" is not in the correct order, it should be before "save"
(#98) The string key "emailteachermail" is not in the correct order, it should be before "media_converting"
(#108) The string key "media_preview_header" is not in the correct order, it should be before "messageprovider:kalmediaassign_updates"
(#109) The string key "kalmediaassign:gradesubmission" is not in the correct order, it should be before "media_preview_header"
(#110) The string key "kalmediaassign:addinstance" is not in the correct order, it should be before "kalmediaassign:gradesubmission"
(#112) The string key "grade_media_not_cache" is not in the correct order, it should be before "kalmediaassign:submit"
(#114) The string key "group_filter" is not in the correct order, it should be before "noenrolledstudents"
(#116) The string key "reviewmedia" is not in the correct order, it should be before "scr_loading"
(#117) The string key "kalmediaassign:screenrecorder" is not in the correct order, it should be before "reviewmedia"
(#118) The string key "cannotdisplaythumbnail" is not in the correct order, it should be before "kalmediaassign:screenrecorder"
(#121) The string key "nosubmission" is not in the correct order, it should be before "table_failed"
(#125) The string key "status_marked" is not in the correct order, it should be before "status_submitted"
(#129) The string key "submissionexpired" is not in the correct order, it should be before "submissionnotopened"
(#130) The string key "latesubmission" is not in the correct order, it should be before "submissionexpired"
(#132) The string key "remainingtime" is not in the correct order, it should be before "submissionclosed"
(#133) The string key "not_insert" is not in the correct order, it should be before "remainingtime"
(#135) The string key "event_submission_page_viewed" is not in the correct order, it should be before "not_update"
(#136) The string key "event_submission_detail_viewed" is not in the correct order, it should be before "event_submission_page_viewed"
(#137) The string key "event_grades_updated" is not in the correct order, it should be before "event_submission_detail_viewed"
(#140) The string key "outlinegrade" is not in the correct order, it should be before "reset_userdata"
(#142) Unexpected comment found. Auto-fixing will not work after this comment
(#146) The string key "privacy:metadata:kalmediaassign_submission:grade" is not in the correct order, it should be before "privacy:metadata:kalmediaassign_submission:userid"
(#150) The string key "privacy:metadata:kalmediaassign_submission:timecreated" is not in the correct order, it should be before "privacy:metadata:kalmediaassign_submission:timemarked"
mod/kalmediaassign/lib.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#100) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#161) 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
(#191) Short array syntax must be used to define arrays
(#193) Short array syntax must be used to define arrays
(#197) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#224) Short array syntax must be used to define arrays
(#236) Short array syntax must be used to define arrays
(#377) Short array syntax must be used to define arrays
(#436) Short array syntax must be used to define arrays
(#476) Short array syntax must be used to define arrays
(#501) Short array syntax must be used to define arrays
(#508) Short array syntax must be used to define arrays
(#516) Short array syntax must be used to define arrays
(#524) Short array syntax must be used to define arrays
(#526) Short array syntax must be used to define arrays
(#551) Short array syntax must be used to define arrays
(#567) Short array syntax must be used to define arrays
(#596) Short array syntax must be used to define arrays
mod/kalmediaassign/locallib.php
(#207) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#260) Short array syntax must be used to define arrays
(#336) Short array syntax must be used to define arrays
(#340) Short array syntax must be used to define arrays
(#344) Short array syntax must be used to define arrays
(#362) Short array syntax must be used to define arrays
(#365) Short array syntax must be used to define arrays
(#376) Short array syntax must be used to define arrays
(#398) Short array syntax must be used to define arrays
(#450) Short array syntax must be used to define arrays
(#494) Short array syntax must be used to define arrays
(#519) Short array syntax must be used to define arrays
(#562) Short array syntax must be used to define arrays
(#583) Short array syntax must be used to define arrays
(#600) Short array syntax must be used to define arrays
(#616) Short array syntax must be used to define arrays
(#621) Short array syntax must be used to define arrays
(#651) Short array syntax must be used to define arrays
mod/kalmediaassign/mod_form.php
(#58) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
mod/kalmediaassign/renderable.php
(#43) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
mod/kalmediaassign/renderer.php
(#81) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#182) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
(#263) Short array syntax must be used to define arrays
(#281) Short array syntax must be used to define arrays
(#315) Short array syntax must be used to define arrays
(#357) Short array syntax must be used to define arrays
(#385) Short array syntax must be used to define arrays
(#402) Short array syntax must be used to define arrays
(#423) Short array syntax must be used to define arrays
(#448) Short array syntax must be used to define arrays
(#468) Short array syntax must be used to define arrays
(#481) Short array syntax must be used to define arrays
(#526) Short array syntax must be used to define arrays
(#541) Short array syntax must be used to define arrays
(#584) Short array syntax must be used to define arrays
(#607) Short array syntax must be used to define arrays
(#612) Short array syntax must be used to define arrays
(#641) Short array syntax must be used to define arrays
(#647) Short array syntax must be used to define arrays
(#657) Short array syntax must be used to define arrays
(#664) Short array syntax must be used to define arrays
(#673) Short array syntax must be used to define arrays
(#679) Short array syntax must be used to define arrays
(#696) Short array syntax must be used to define arrays
(#713) Short array syntax must be used to define arrays
(#725) Short array syntax must be used to define arrays
(#734) Short array syntax must be used to define arrays
(#746) Short array syntax must be used to define arrays
(#755) Short array syntax must be used to define arrays
(#770) Short array syntax must be used to define arrays
(#777) Short array syntax must be used to define arrays
(#813) Short array syntax must be used to define arrays
(#817) Short array syntax must be used to define arrays
(#835) Short array syntax must be used to define arrays
(#844) Short array syntax must be used to define arrays
(#855) Short array syntax must be used to define arrays
(#866) Short array syntax must be used to define arrays
(#877) Short array syntax must be used to define arrays
(#888) Short array syntax must be used to define arrays
(#904) Short array syntax must be used to define arrays
(#915) Short array syntax must be used to define arrays
(#926) Short array syntax must be used to define arrays
(#933) Short array syntax must be used to define arrays
(#950) Short array syntax must be used to define arrays
(#954) Short array syntax must be used to define arrays
(#960) Short array syntax must be used to define arrays
(#965) Short array syntax must be used to define arrays
(#970) Short array syntax must be used to define arrays
(#983) Short array syntax must be used to define arrays
(#1012) Short array syntax must be used to define arrays
(#1017) Short array syntax must be used to define arrays
(#1021) Short array syntax must be used to define arrays
(#1026) Short array syntax must be used to define arrays
(#1032) Short array syntax must be used to define arrays
(#1038) Short array syntax must be used to define arrays
(#1051) Short array syntax must be used to define arrays
(#1086) Short array syntax must be used to define arrays
(#1098) Short array syntax must be used to define arrays
(#1120) Short array syntax must be used to define arrays
(#1126) Short array syntax must be used to define arrays
(#1131) Short array syntax must be used to define arrays
(#1136) Short array syntax must be used to define arrays
(#1179) Short array syntax must be used to define arrays
(#1183) Short array syntax must be used to define arrays
(#1186) Short array syntax must be used to define arrays
(#1187) Short array syntax must be used to define arrays
(#1209) Short array syntax must be used to define arrays
(#1230) Short array syntax must be used to define arrays
(#1234) Short array syntax must be used to define arrays
(#1312) Short array syntax must be used to define arrays
(#1333) Short array syntax must be used to define arrays
(#1336) Short array syntax must be used to define arrays
(#1353) Short array syntax must be used to define arrays
(#1368) Short array syntax must be used to define arrays
(#1372) Short array syntax must be used to define arrays
(#1377) Short array syntax must be used to define arrays
(#1402) Short array syntax must be used to define arrays
(#1419) Short array syntax must be used to define arrays
(#1422) Short array syntax must be used to define arrays
(#1425) Short array syntax must be used to define arrays
(#1428) Short array syntax must be used to define arrays
(#1431) Short array syntax must be used to define arrays
(#1434) Short array syntax must be used to define arrays
(#1437) Short array syntax must be used to define arrays
(#1488) Short array syntax must be used to define arrays
(#1491) Short array syntax must be used to define arrays
(#1561) Short array syntax must be used to define arrays
(#1580) Short array syntax must be used to define arrays
(#1589) Short array syntax must be used to define arrays
(#1598) Short array syntax must be used to define arrays
(#1607) Short array syntax must be used to define arrays
(#1614) Short array syntax must be used to define arrays
(#1635) Short array syntax must be used to define arrays
(#1636) Short array syntax must be used to define arrays
(#1638) Short array syntax must be used to define arrays
(#1639) Short array syntax must be used to define arrays
(#1641) Short array syntax must be used to define arrays
(#1646) Short array syntax must be used to define arrays
(#1664) Short array syntax must be used to define arrays
(#1666) Short array syntax must be used to define arrays
(#1693) Short array syntax must be used to define arrays
(#1699) Short array syntax must be used to define arrays
(#1705) Short array syntax must be used to define arrays
(#1711) Short array syntax must be used to define arrays
(#1717) Short array syntax must be used to define arrays
(#1723) Short array syntax must be used to define arrays
mod/kalmediaassign/single_submission.php
(#54) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#75) 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
(#109) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#207) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
mod/kalmediaassign/single_submission_form.php
(#102) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#183) Short array syntax must be used to define arrays
(#275) Short array syntax must be used to define arrays
mod/kalmediaassign/submission.php
(#46) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
mod/kalmediaassign/version.php
(#33) Short array syntax must be used to define arrays
mod/kalmediaassign/view.php
(#45) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#150) Short array syntax must be used to define arrays

Javascript coding style problems

(0 errors, 1 warnings)

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

mod/kalmediaassign/amd/src/preview.js
(#220) Unexpected alert. (no-alert)

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]