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

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

mod/kalmediares/access_logs.php
(#58) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
mod/kalmediares/backup/moodle2/backup_kalmediares_stepslib.php
(#50) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#57) 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/kalmediares/backup/moodle2/restore_kalmediares_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
(#109) Short array syntax must be used to define arrays
mod/kalmediares/backup/moodle2/restore_kalmediares_stepslib.php
(#47) Short array syntax must be used to define arrays
mod/kalmediares/classes/event/media_resource_played.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/kalmediares/classes/event/media_resource_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/kalmediares/classes/output/mobile.php
(#62) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#76) 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
(#128) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
mod/kalmediares/classes/privacy/provider.php
(#95) 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
(#142) Short array syntax must be used to define arrays
mod/kalmediares/cli/log_migration_1.2to1.3.php
(#31) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
mod/kalmediares/db/access.php
(#49) 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
(#62) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
mod/kalmediares/db/log.php
(#29) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
mod/kalmediares/db/services.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
mod/kalmediares/db/upgrade.php
(#119) Short array syntax must be used to define arrays
mod/kalmediares/export_excel.php
(#56) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
mod/kalmediares/index.php
(#36) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
mod/kalmediares/lang/en/kalmediares.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"
(#31) The string key "name" is not in the correct order, it should be before "pluginadministration"
(#32) The string key "description" is not in the correct order, it should be before "name"
(#34) The string key "add_media" is not in the correct order, it should be before "media_hdr"
(#36) The string key "media_converting" is not in the correct order, it should be before "upload_successful"
(#38) The string key "media_preview" is not in the correct order, it should be before "normal"
(#40) The string key "media_preview_header" is not in the correct order, it should be before "widescreen"
(#41) The string key "invalidid" is not in the correct order, it should be before "media_preview_header"
(#42) The string key "invalid_module" is not in the correct order, it should be before "invalidid"
(#44) The string key "cannot_view" is not in the correct order, it should be before "invalidaccess"
(#46) The string key "custom_player" is not in the correct order, it should be before "replace_media"
(#51) The string key "access_control_hdr" is not in the correct order, it should be before "scr_loading"
(#54) The string key "publish_access_log" is not in the correct order, it should be before "publish_access_log_hdr"
(#56) The string key "exclusion_time" is not in the correct order, it should be before "publish_access_log_help"
(#59) The string key "event_media_resource_viewed" is not in the correct order, it should be before "previewmedia"
(#60) The string key "event_media_resource_played" is not in the correct order, it should be before "event_media_resource_viewed"
(#61) The string key "access_logs" is not in the correct order, it should be before "event_media_resource_played"
(#63) The string key "invalid_ipaddress" is not in the correct order, it should be before "view_access_logs"
(#65) The string key "plays" is not in the correct order, it should be before "your_ipaddress"
(#67) The string key "totalplays" is not in the correct order, it should be before "views"
(#69) The string key "no_student" is not in the correct order, it should be before "totalviews"
(#71) The string key "no_media" is not in the correct order, it should be before "not_viewed"
(#73) The string key "your_plays" is not in the correct order, it should be before "your_views"
(#74) The string key "delay_stats_desc" is not in the correct order, it should be before "your_plays"
(#75) The string key "app_stats_warning" is not in the correct order, it should be before "delay_stats_desc"
(#77) The string key "log_get_error" is not in the correct order, it should be before "log_update_error"
(#79) Unexpected comment found. Auto-fixing will not work after this comment
(#83) The string key "privacy:metadata:kalmediares_log:plays" is not in the correct order, it should be before "privacy:metadata:kalmediares_log:userid"
(#85) The string key "privacy:metadata:kalmediares_log:first" is not in the correct order, it should be before "privacy:metadata:kalmediares_log:views"
mod/kalmediares/lib.php
(#32) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#87) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#239) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
mod/kalmediares/locallib.php
(#47) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#74) 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
mod/kalmediares/mod_form.php
(#81) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#175) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#191) Short array syntax must be used to define arrays
(#192) Short array syntax must be used to define arrays
(#200) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#214) Short array syntax must be used to define arrays
(#233) Short array syntax must be used to define arrays
(#236) Short array syntax must be used to define arrays
(#241) Short array syntax must be used to define arrays
(#244) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#251) Short array syntax must be used to define arrays
(#260) Short array syntax must be used to define arrays
(#263) Short array syntax must be used to define arrays
(#267) Short array syntax must be used to define arrays
(#282) Short array syntax must be used to define arrays
(#285) Short array syntax must be used to define arrays
(#288) Short array syntax must be used to define arrays
(#297) Short array syntax must be used to define arrays
(#300) Short array syntax must be used to define arrays
(#303) Short array syntax must be used to define arrays
(#327) Short array syntax must be used to define arrays
(#346) Short array syntax must be used to define arrays
(#373) Short array syntax must be used to define arrays
(#389) Short array syntax must be used to define arrays
(#394) Short array syntax must be used to define arrays
(#394) Short array syntax must be used to define arrays
(#399) Short array syntax must be used to define arrays
(#411) Short array syntax must be used to define arrays
(#415) Short array syntax must be used to define arrays
(#425) Short array syntax must be used to define arrays
(#431) Short array syntax must be used to define arrays
(#438) Short array syntax must be used to define arrays
(#442) Short array syntax must be used to define arrays
(#446) Short array syntax must be used to define arrays
(#447) Short array syntax must be used to define arrays
(#448) Short array syntax must be used to define arrays
(#454) Short array syntax must be used to define arrays
(#458) Short array syntax must be used to define arrays
(#463) Short array syntax must be used to define arrays
(#464) Short array syntax must be used to define arrays
(#466) Short array syntax must be used to define arrays
(#471) Short array syntax must be used to define arrays
(#482) Short array syntax must be used to define arrays
(#499) Short array syntax must be used to define arrays
mod/kalmediares/renderable.php
(#39) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
mod/kalmediares/renderer.php
(#81) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#215) Short array syntax must be used to define arrays
(#225) Short array syntax must be used to define arrays
(#228) Short array syntax must be used to define arrays
(#236) Short array syntax must be used to define arrays
(#238) Short array syntax must be used to define arrays
(#258) Short array syntax must be used to define arrays
(#263) Short array syntax must be used to define arrays
(#302) Short array syntax must be used to define arrays
(#310) Short array syntax must be used to define arrays
(#329) Short array syntax must be used to define arrays
(#374) Short array syntax must be used to define arrays
(#380) Short array syntax must be used to define arrays
(#385) Short array syntax must be used to define arrays
(#390) Short array syntax must be used to define arrays
(#423) Short array syntax must be used to define arrays
(#442) Short array syntax must be used to define arrays
(#461) Short array syntax must be used to define arrays
(#488) Short array syntax must be used to define arrays
(#495) Short array syntax must be used to define arrays
(#504) Short array syntax must be used to define arrays
(#509) Short array syntax must be used to define arrays
(#518) Short array syntax must be used to define arrays
(#523) Short array syntax must be used to define arrays
(#528) Short array syntax must be used to define arrays
(#618) Short array syntax must be used to define arrays
(#622) Short array syntax must be used to define arrays
(#691) Short array syntax must be used to define arrays
(#692) Short array syntax must be used to define arrays
(#694) Short array syntax must be used to define arrays
(#695) Short array syntax must be used to define arrays
(#697) Short array syntax must be used to define arrays
(#701) Short array syntax must be used to define arrays
(#718) Short array syntax must be used to define arrays
(#720) Short array syntax must be used to define arrays
mod/kalmediares/trigger.php
(#56) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
mod/kalmediares/version.php
(#37) Short array syntax must be used to define arrays
mod/kalmediares/view.php
(#48) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#136) 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]