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

(170 errors, 913 warnings)

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

mod/attendance/absentee.php
(#39) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#59) 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
(#88) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
mod/attendance/attendance.php
(#35) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#125) Line exceeds 132 characters; contains 154 characters
(#127) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#168) Short array syntax must be used to define arrays
(#183) Short array syntax must be used to define arrays
(#187) Short array syntax must be used to define arrays
(#193) Short array syntax must be used to define arrays
(#199) Line exceeds 132 characters; contains 150 characters
(#203) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#221) Short array syntax must be used to define arrays
mod/attendance/automark.php
(#33) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
mod/attendance/backup/moodle2/backup_attendance_stepslib.php
(#44) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#49) Line exceeds 132 characters; contains 147 characters
(#52) Short array syntax must be used to define arrays
(#52) 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
(#69) Short array syntax must be used to define arrays
(#69) 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
(#95) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
mod/attendance/backup/moodle2/restore_attendance_activity_task.class.php
(#55) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
mod/attendance/backup/moodle2/restore_attendance_stepslib.php
(#40) Short array syntax must be used to define arrays
mod/attendance/classes/analytics/indicator/activity_base.php
(#44) Short array syntax must be used to define arrays
mod/attendance/classes/analytics/indicator/cognitive_depth.php
(#45) There must not be a space before the colon in a return type declaration
mod/attendance/classes/analytics/indicator/social_breadth.php
(#45) There must not be a space before the colon in a return type declaration
mod/attendance/classes/attendance_webservices_handler.php
(#48) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#118) 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
(#171) Short array syntax must be used to define arrays
(#173) Short array syntax must be used to define arrays
mod/attendance/classes/calendar_helpers.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#46) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
mod/attendance/classes/customfield/session_handler.php
(#55) There must not be a space before the colon in a return type declaration
(#78) There must not be a space before the colon in a return type declaration
(#89) There must not be a space before the colon in a return type declaration
(#109) There must not be a space before the colon in a return type declaration
(#125) There must not be a space before the colon in a return type declaration
(#134) There must not be a space before the colon in a return type declaration
(#144) There must not be a space before the colon in a return type declaration
(#230) There must not be a space before the colon in a return type declaration
mod/attendance/classes/event/attendance_taken.php
(#76) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
mod/attendance/classes/event/attendance_taken_by_student.php
(#76) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
mod/attendance/classes/event/course_module_instance_list_viewed.php
(#42) Short array syntax must be used to define arrays
(#43) There should be a comma after the last array item in a multi-line array.
mod/attendance/classes/event/report_viewed.php
(#76) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
mod/attendance/classes/event/session_added.php
(#76) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
mod/attendance/classes/event/session_deleted.php
(#76) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
mod/attendance/classes/event/session_duration_updated.php
(#76) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
mod/attendance/classes/event/session_ip_shared.php
(#85) Short array syntax must be used to define arrays
(#87) There should be a comma after the last array item in a multi-line array.
mod/attendance/classes/event/session_report_viewed.php
(#80) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
mod/attendance/classes/event/session_updated.php
(#76) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
mod/attendance/classes/event/sessions_imported.php
(#85) Short array syntax must be used to define arrays
(#87) There should be a comma after the last array item in a multi-line array.
mod/attendance/classes/event/status_added.php
(#76) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
mod/attendance/classes/event/status_removed.php
(#78) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
mod/attendance/classes/event/status_updated.php
(#76) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
mod/attendance/classes/form/addsession.php
(#75) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#177) Short array syntax must be used to define arrays
(#179) Short array syntax must be used to define arrays
(#182) Short array syntax must be used to define arrays
(#237) Short array syntax must be used to define arrays
(#244) Short array syntax must be used to define arrays
(#286) Short array syntax must be used to define arrays
(#298) Short array syntax must be used to define arrays
(#303) Short array syntax must be used to define arrays
(#309) Short array syntax must be used to define arrays
(#356) Short array syntax must be used to define arrays
(#383) Short array syntax must be used to define arrays
(#408) Short array syntax must be used to define arrays
mod/attendance/classes/form/addwarning.php
(#48) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
mod/attendance/classes/form/duration.php
(#60) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
mod/attendance/classes/form/export.php
(#65) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#150) Short array syntax must be used to define arrays
mod/attendance/classes/form/import/marksessions.php
(#55) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
mod/attendance/classes/form/import/marksessions_confirm.php
(#59) Short array syntax must be used to define arrays
(#63) There should be a comma after the last array item in a multi-line array.
mod/attendance/classes/form/studentattendance.php
(#69) Line exceeds 132 characters; contains 138 characters
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Line exceeds 132 characters; contains 139 characters
(#90) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
mod/attendance/classes/form/tempmerge.php
(#48) Short array syntax must be used to define arrays
mod/attendance/classes/form/tempuseredit.php
(#57) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
mod/attendance/classes/form/updatesession.php
(#48) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#83) There should be a comma after the last array item in a multi-line array.
(#96) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#190) Short array syntax must be used to define arrays
(#197) Short array syntax must be used to define arrays
(#205) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
mod/attendance/classes/import/marksessions.php
(#46) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#107) There should be a comma after the last array item in a multi-line array.
(#110) Short array syntax must be used to define arrays
(#113) There should be a comma after the last array item in a multi-line array.
(#143) Declaring an optional parameter before a required parameter is deprecated since PHP 8.0. Parameter $text is optional, while parameter $att is required. The $text parameter is implicitly treated as a required parameter.
(#183) Short array syntax must be used to define arrays
(#186) Short array syntax must be used to define arrays
(#200) Short array syntax must be used to define arrays
mod/attendance/classes/import/sessions.php
(#47) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#488) Short array syntax must be used to define arrays
(#490) Short array syntax must be used to define arrays
(#491) There should be a comma after the last array item in a multi-line array.
(#494) Short array syntax must be used to define arrays
(#495) There should be a comma after the last array item in a multi-line array.
(#499) Short array syntax must be used to define arrays
(#500) There should be a comma after the last array item in a multi-line array.
(#536) Short array syntax must be used to define arrays
(#539) There should be a comma after the last array item in a multi-line array.
(#568) Short array syntax must be used to define arrays
(#571) Short array syntax must be used to define arrays
(#572) There should be a comma after the last array item in a multi-line array.
(#573) There should be a comma after the last array item in a multi-line array.
mod/attendance/classes/local/automark.php
(#110) Short array syntax must be used to define arrays
(#173) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#253) Short array syntax must be used to define arrays
mod/attendance/classes/local/url_helpers.php
(#44) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
mod/attendance/classes/manage_page_params.php
(#35) Expected 1 space after "function"; 2 found
(#44) Short array syntax must be used to define arrays
mod/attendance/classes/notifyqueue.php
(#84) Short array syntax must be used to define arrays
mod/attendance/classes/observer.php
(#42) Short array syntax must be used to define arrays
mod/attendance/classes/output/filter_controls.php
(#50) Expected "bool" but found "boolean" for @var tag in member variable comment
(#117) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
mod/attendance/classes/output/mobile.php
(#70) 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
(#93) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#246) Short array syntax must be used to define arrays
(#258) There should be a comma after the last array item in a multi-line array.
(#287) Short array syntax must be used to define arrays
(#288) Short array syntax must be used to define arrays
(#289) Short array syntax must be used to define arrays
(#295) Short array syntax must be used to define arrays
(#300) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#334) Short array syntax must be used to define arrays
(#343) Short array syntax must be used to define arrays
(#356) There should be a comma after the last array item in a multi-line array.
(#360) There should be a comma after the last array item in a multi-line array.
(#389) Short array syntax must be used to define arrays
(#390) Short array syntax must be used to define arrays
(#396) Short array syntax must be used to define arrays
(#401) Short array syntax must be used to define arrays
(#403) Short array syntax must be used to define arrays
(#407) Short array syntax must be used to define arrays
(#409) Short array syntax must be used to define arrays
(#417) Short array syntax must be used to define arrays
(#421) Short array syntax must be used to define arrays
(#428) Short array syntax must be used to define arrays
(#443) There should be a comma after the last array item in a multi-line array.
(#447) There should be a comma after the last array item in a multi-line array.
mod/attendance/classes/output/preferences_data.php
(#66) Short array syntax must be used to define arrays
mod/attendance/classes/output/renderer.php
(#105) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#149) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#180) Short array syntax must be used to define arrays
(#182) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#189) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#199) There should be a comma after the last array item in a multi-line array.
(#205) Short array syntax must be used to define arrays
(#220) Short array syntax must be used to define arrays
(#223) There should be a comma after the last array item in a multi-line array.
(#228) Short array syntax must be used to define arrays
(#229) Short array syntax must be used to define arrays
(#231) Short array syntax must be used to define arrays
(#247) Short array syntax must be used to define arrays
(#249) There should be a comma after the last array item in a multi-line array.
(#254) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#257) Short array syntax must be used to define arrays
(#287) Short array syntax must be used to define arrays
(#288) Short array syntax must be used to define arrays
(#290) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
(#323) Short array syntax must be used to define arrays
(#327) There should be a comma after the last array item in a multi-line array.
(#355) Short array syntax must be used to define arrays
(#427) Short array syntax must be used to define arrays
(#428) Short array syntax must be used to define arrays
(#453) Short array syntax must be used to define arrays
(#466) Short array syntax must be used to define arrays
(#473) Short array syntax must be used to define arrays
(#481) Short array syntax must be used to define arrays
(#485) Short array syntax must be used to define arrays
(#515) Short array syntax must be used to define arrays
(#519) Short array syntax must be used to define arrays
(#524) Short array syntax must be used to define arrays
(#531) Short array syntax must be used to define arrays
(#556) Short array syntax must be used to define arrays
(#643) Short array syntax must be used to define arrays
(#651) Short array syntax must be used to define arrays
(#653) Short array syntax must be used to define arrays
(#666) Short array syntax must be used to define arrays
(#675) Short array syntax must be used to define arrays
(#684) Short array syntax must be used to define arrays
(#698) Short array syntax must be used to define arrays
(#704) Short array syntax must be used to define arrays
(#704) Short array syntax must be used to define arrays
(#723) Short array syntax must be used to define arrays
(#742) Short array syntax must be used to define arrays
(#743) There should be a comma after the last array item in a multi-line array.
(#745) Short array syntax must be used to define arrays
(#746) Short array syntax must be used to define arrays
(#749) Short array syntax must be used to define arrays
(#758) Short array syntax must be used to define arrays
(#795) Short array syntax must be used to define arrays
(#825) Short array syntax must be used to define arrays
(#871) Short array syntax must be used to define arrays
(#874) Short array syntax must be used to define arrays
(#897) Short array syntax must be used to define arrays
(#899) Short array syntax must be used to define arrays
(#900) Short array syntax must be used to define arrays
(#947) Short array syntax must be used to define arrays
(#948) Short array syntax must be used to define arrays
(#968) Short array syntax must be used to define arrays
(#983) Short array syntax must be used to define arrays
(#985) Short array syntax must be used to define arrays
(#1002) Short array syntax must be used to define arrays
(#1029) Short array syntax must be used to define arrays
(#1045) Short array syntax must be used to define arrays
(#1047) Short array syntax must be used to define arrays
(#1064) Short array syntax must be used to define arrays
(#1108) Short array syntax must be used to define arrays
(#1110) Short array syntax must be used to define arrays
(#1126) Short array syntax must be used to define arrays
(#1129) Short array syntax must be used to define arrays
(#1135) Short array syntax must be used to define arrays
(#1138) Short array syntax must be used to define arrays
(#1142) Short array syntax must be used to define arrays
(#1172) Short array syntax must be used to define arrays
(#1185) Short array syntax must be used to define arrays
(#1190) Short array syntax must be used to define arrays
(#1191) Short array syntax must be used to define arrays
(#1199) Short array syntax must be used to define arrays
(#1201) Short array syntax must be used to define arrays
(#1241) Short array syntax must be used to define arrays
(#1281) Short array syntax must be used to define arrays
(#1282) Short array syntax must be used to define arrays
(#1283) Short array syntax must be used to define arrays
(#1284) Short array syntax must be used to define arrays
(#1294) Short array syntax must be used to define arrays
(#1295) Short array syntax must be used to define arrays
(#1296) Short array syntax must be used to define arrays
(#1319) Short array syntax must be used to define arrays
(#1320) Short array syntax must be used to define arrays
(#1321) Short array syntax must be used to define arrays
(#1362) Short array syntax must be used to define arrays
(#1385) Short array syntax must be used to define arrays
(#1414) Short array syntax must be used to define arrays
(#1449) Short array syntax must be used to define arrays
(#1450) Short array syntax must be used to define arrays
(#1451) Short array syntax must be used to define arrays
(#1452) Short array syntax must be used to define arrays
(#1558) Short array syntax must be used to define arrays
(#1563) Short array syntax must be used to define arrays
(#1564) Short array syntax must be used to define arrays
(#1565) Short array syntax must be used to define arrays
(#1566) Short array syntax must be used to define arrays
(#1567) Short array syntax must be used to define arrays
(#1568) Short array syntax must be used to define arrays
(#1569) Short array syntax must be used to define arrays
(#1575) Short array syntax must be used to define arrays
(#1575) There should be a comma after the last array item in a multi-line array.
(#1576) There should be a comma after the last array item in a multi-line array.
(#1587) Short array syntax must be used to define arrays
(#1591) Short array syntax must be used to define arrays
(#1597) Short array syntax must be used to define arrays
(#1597) There should be a comma after the last array item in a multi-line array.
(#1610) Short array syntax must be used to define arrays
(#1614) Short array syntax must be used to define arrays
(#1639) Short array syntax must be used to define arrays
(#1644) Short array syntax must be used to define arrays
(#1650) Short array syntax must be used to define arrays
(#1650) There should be a comma after the last array item in a multi-line array.
(#1663) Short array syntax must be used to define arrays
(#1667) Short array syntax must be used to define arrays
(#1685) Short array syntax must be used to define arrays
(#1691) Short array syntax must be used to define arrays
(#1691) There should be a comma after the last array item in a multi-line array.
(#1704) Short array syntax must be used to define arrays
(#1708) Short array syntax must be used to define arrays
(#1759) Short array syntax must be used to define arrays
(#1800) Short array syntax must be used to define arrays
(#1823) Short array syntax must be used to define arrays
(#1846) Short array syntax must be used to define arrays
(#1864) Short array syntax must be used to define arrays
(#1889) Short array syntax must be used to define arrays
(#1915) Short array syntax must be used to define arrays
(#1921) Short array syntax must be used to define arrays
(#1935) Short array syntax must be used to define arrays
(#1979) Short array syntax must be used to define arrays
(#2033) Short array syntax must be used to define arrays
(#2037) Line exceeds 132 characters; contains 137 characters
(#2055) Short array syntax must be used to define arrays
(#2070) Short array syntax must be used to define arrays
(#2074) Short array syntax must be used to define arrays
(#2112) Short array syntax must be used to define arrays
(#2136) Short array syntax must be used to define arrays
(#2137) Short array syntax must be used to define arrays
(#2148) Short array syntax must be used to define arrays
(#2149) Short array syntax must be used to define arrays
(#2150) Short array syntax must be used to define arrays
(#2155) Short array syntax must be used to define arrays
(#2158) Short array syntax must be used to define arrays
(#2160) Short array syntax must be used to define arrays
(#2174) Short array syntax must be used to define arrays
(#2192) Short array syntax must be used to define arrays
(#2209) Short array syntax must be used to define arrays
(#2226) Short array syntax must be used to define arrays
(#2228) Short array syntax must be used to define arrays
(#2261) Short array syntax must be used to define arrays
(#2263) Short array syntax must be used to define arrays
(#2322) Short array syntax must be used to define arrays
(#2325) Short array syntax must be used to define arrays
(#2409) Short array syntax must be used to define arrays
(#2456) Short array syntax must be used to define arrays
(#2458) There should be a comma after the last array item in a multi-line array.
(#2462) Short array syntax must be used to define arrays
(#2464) Short array syntax must be used to define arrays
(#2468) Short array syntax must be used to define arrays
(#2473) Short array syntax must be used to define arrays
(#2476) Short array syntax must be used to define arrays
(#2481) Short array syntax must be used to define arrays
(#2512) Short array syntax must be used to define arrays
(#2555) Short array syntax must be used to define arrays
(#2583) Short array syntax must be used to define arrays
(#2645) Short array syntax must be used to define arrays
(#2674) Short array syntax must be used to define arrays
(#2678) Short array syntax must be used to define arrays
(#2706) Short array syntax must be used to define arrays
(#2743) Short array syntax must be used to define arrays
(#2745) Short array syntax must be used to define arrays
(#2749) Short array syntax must be used to define arrays
(#2750) Short array syntax must be used to define arrays
(#2787) Short array syntax must be used to define arrays
(#2805) Short array syntax must be used to define arrays
(#2838) Short array syntax must be used to define arrays
(#2854) Short array syntax must be used to define arrays
(#2875) Short array syntax must be used to define arrays
(#2878) Short array syntax must be used to define arrays
(#2891) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $opts.
(#2893) Short array syntax must be used to define arrays
mod/attendance/classes/output/report_data.php
(#52) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#64) Expected 1 space after "function"; 2 found
(#123) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
mod/attendance/classes/output/set_selector.php
(#58) Short array syntax must be used to define arrays
mod/attendance/classes/output/take_data.php
(#68) Expected 1 space after "function"; 2 found
(#90) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
mod/attendance/classes/output/user_data.php
(#70) Expected 1 space after "function"; 2 found
(#79) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#179) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#182) Short array syntax must be used to define arrays
(#224) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#256) Short array syntax must be used to define arrays
mod/attendance/classes/page_with_filter_controls.php
(#174) Short array syntax must be used to define arrays
(#224) Short array syntax must be used to define arrays
mod/attendance/classes/preferences_page_params.php
(#58) Short array syntax must be used to define arrays
mod/attendance/classes/privacy/provider.php
(#50) There must not be a space before the colon in a return type declaration
(#61) There should be a comma after the last array item in a multi-line array.
(#74) There should be a comma after the last array item in a multi-line array.
(#84) There should be a comma after the last array item in a multi-line array.
(#101) There must not be a space before the colon in a return type declaration
(#114) There should be a comma after the last array item in a multi-line array.
(#180) There should be a comma after the last array item in a multi-line array.
(#251) Short array syntax must be used to define arrays
(#286) There should be a comma after the last array item in a multi-line array.
(#313) There must not be a space before the colon in a return type declaration
(#323) There must not be a space before the colon in a return type declaration
(#461) There must not be a space before the colon in a return type declaration
(#464) There must not be a space before the colon in a return type declaration
(#481) There must not be a space before the colon in a return type declaration
(#492) There should be a comma after the last array item in a multi-line array.
(#505) There must not be a space before the colon in a return type declaration
(#510) There should be a comma after the last array item in a multi-line array.
mod/attendance/classes/report_page_params.php
(#46) Expected 1 space after "function"; 2 found
(#71) Short array syntax must be used to define arrays
mod/attendance/classes/sessions_page_params.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
mod/attendance/classes/structure.php
(#81) Expected "bool" but found "boolean" for @var tag in member variable comment
(#102) Short array syntax must be used to define arrays
(#120) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $context.
(#144) Short array syntax must be used to define arrays
(#147) Short array syntax must be used to define arrays
(#150) Short array syntax must be used to define arrays
(#159) There must not be a space before the colon in a return type declaration
(#173) There must not be a space before the colon in a return type declaration
(#182) Short array syntax must be used to define arrays
(#196) There must not be a space before the colon in a return type declaration
(#206) Short array syntax must be used to define arrays
(#221) There must not be a space before the colon in a return type declaration
(#231) Short array syntax must be used to define arrays
(#247) There must not be a space before the colon in a return type declaration
(#251) Short array syntax must be used to define arrays
(#265) There must not be a space before the colon in a return type declaration
(#269) Short array syntax must be used to define arrays
(#281) There must not be a space before the colon in a return type declaration
(#295) Short array syntax must be used to define arrays
(#321) Short array syntax must be used to define arrays
(#321) There must not be a space before the colon in a return type declaration
(#322) Short array syntax must be used to define arrays
(#331) Short array syntax must be used to define arrays
(#331) There must not be a space before the colon in a return type declaration
(#332) Short array syntax must be used to define arrays
(#342) Short array syntax must be used to define arrays
(#342) There must not be a space before the colon in a return type declaration
(#343) Short array syntax must be used to define arrays
(#353) Short array syntax must be used to define arrays
(#353) There must not be a space before the colon in a return type declaration
(#354) Short array syntax must be used to define arrays
(#364) Short array syntax must be used to define arrays
(#364) There must not be a space before the colon in a return type declaration
(#365) Short array syntax must be used to define arrays
(#374) Short array syntax must be used to define arrays
(#374) There must not be a space before the colon in a return type declaration
(#375) Short array syntax must be used to define arrays
(#384) Short array syntax must be used to define arrays
(#384) There must not be a space before the colon in a return type declaration
(#385) Short array syntax must be used to define arrays
(#394) Short array syntax must be used to define arrays
(#394) There must not be a space before the colon in a return type declaration
(#395) Short array syntax must be used to define arrays
(#404) There must not be a space before the colon in a return type declaration
(#414) There must not be a space before the colon in a return type declaration
(#415) Short array syntax must be used to define arrays
(#424) Short array syntax must be used to define arrays
(#424) There must not be a space before the colon in a return type declaration
(#429) Short array syntax must be used to define arrays
(#438) Short array syntax must be used to define arrays
(#438) There must not be a space before the colon in a return type declaration
(#443) Short array syntax must be used to define arrays
(#452) Short array syntax must be used to define arrays
(#452) There must not be a space before the colon in a return type declaration
(#453) Short array syntax must be used to define arrays
(#462) Short array syntax must be used to define arrays
(#462) There must not be a space before the colon in a return type declaration
(#463) Short array syntax must be used to define arrays
(#497) There must not be a space before the colon in a return type declaration
(#513) Short array syntax must be used to define arrays
(#515) Short array syntax must be used to define arrays
(#520) Short array syntax must be used to define arrays
(#524) Short array syntax must be used to define arrays
(#527) Short array syntax must be used to define arrays
(#527) There should be a comma after the last array item in a multi-line array.
(#584) Short array syntax must be used to define arrays
(#596) Short array syntax must be used to define arrays
(#672) Short array syntax must be used to define arrays
(#675) Short array syntax must be used to define arrays
(#688) There must not be a space before the colon in a return type declaration
(#705) Short array syntax must be used to define arrays
(#727) Short array syntax must be used to define arrays
(#733) Short array syntax must be used to define arrays
(#738) Short array syntax must be used to define arrays
(#761) Short array syntax must be used to define arrays
(#829) Short array syntax must be used to define arrays
(#832) Short array syntax must be used to define arrays
(#848) There must not be a space before the colon in a return type declaration
(#852) Short array syntax must be used to define arrays
(#919) Short array syntax must be used to define arrays
(#932) Short array syntax must be used to define arrays
(#954) Short array syntax must be used to define arrays
(#988) Short array syntax must be used to define arrays
(#992) Short array syntax must be used to define arrays
(#1011) Short array syntax must be used to define arrays
(#1033) There must not be a space before the colon in a return type declaration
(#1095) Short array syntax must be used to define arrays
(#1112) There must not be a space before the colon in a return type declaration
(#1136) There must not be a space before the colon in a return type declaration
(#1139) Short array syntax must be used to define arrays
(#1155) There must not be a space before the colon in a return type declaration
(#1173) Short array syntax must be used to define arrays
(#1189) Short array syntax must be used to define arrays
(#1206) There must not be a space before the colon in a return type declaration
(#1245) Short array syntax must be used to define arrays
(#1304) Short array syntax must be used to define arrays
(#1307) Short array syntax must be used to define arrays
(#1330) Short array syntax must be used to define arrays
(#1333) Short array syntax must be used to define arrays
(#1355) Short array syntax must be used to define arrays
(#1360) Short array syntax must be used to define arrays
(#1420) Short array syntax must be used to define arrays
mod/attendance/classes/summary.php
(#63) 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
(#207) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#271) Short array syntax must be used to define arrays
(#277) Short array syntax must be used to define arrays
(#318) Short array syntax must be used to define arrays
(#334) Short array syntax must be used to define arrays
mod/attendance/classes/take_page_params.php
(#104) Short array syntax must be used to define arrays
mod/attendance/classes/task/auto_mark.php
(#55) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
mod/attendance/classes/task/clear_temporary_passwords.php
(#50) Short array syntax must be used to define arrays
mod/attendance/classes/task/notify.php
(#64) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
mod/attendance/classes/view_page_params.php
(#56) Expected 1 space after "function"; 2 found
(#66) Short array syntax must be used to define arrays
mod/attendance/coursesummary.php
(#46) 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
(#76) 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
(#92) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
mod/attendance/db/access.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#31) 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.
(#36) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#45) 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.
(#50) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#57) There should be a comma after the last array item in a multi-line array.
(#58) There should be a comma after the last array item in a multi-line array.
(#61) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#68) 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.
(#72) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#79) There should be a comma after the last array item in a multi-line array.
(#80) There should be a comma after the last array item in a multi-line array.
(#83) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#89) There should be a comma after the last array item in a multi-line array.
(#90) There should be a comma after the last array item in a multi-line array.
(#93) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#99) There should be a comma after the last array item in a multi-line array.
(#100) There should be a comma after the last array item in a multi-line array.
(#103) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#109) There should be a comma after the last array item in a multi-line array.
(#110) There should be a comma after the last array item in a multi-line array.
(#113) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#119) There should be a comma after the last array item in a multi-line array.
(#120) There should be a comma after the last array item in a multi-line array.
(#124) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#129) There should be a comma after the last array item in a multi-line array.
(#130) There should be a comma after the last array item in a multi-line array.
(#134) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#142) 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.
(#146) Short array syntax must be used to define arrays
(#150) Short array syntax must be used to define arrays
(#151) There should be a comma after the last array item in a multi-line array.
(#152) There should be a comma after the last array item in a multi-line array.
(#155) Short array syntax must be used to define arrays
(#160) Short array syntax must be used to define arrays
(#163) There should be a comma after the last array item in a multi-line array.
(#164) There should be a comma after the last array item in a multi-line array.
(#166) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#172) There should be a comma after the last array item in a multi-line array.
(#174) There should be a comma after the last array item in a multi-line array.
mod/attendance/db/events.php
(#29) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
mod/attendance/db/install.php
(#32) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
mod/attendance/db/mobile.php
(#39) There should be a comma after the last array item in a multi-line array.
(#40) There should be a comma after the last array item in a multi-line array.
(#41) 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.
(#69) There should be a comma after the last array item in a multi-line array.
mod/attendance/db/services.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#83) There should be a comma after the last array item in a multi-line array.
(#88) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#90) 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.
(#102) There should be a comma after the last array item in a multi-line array.
(#103) There should be a comma after the last array item in a multi-line array.
mod/attendance/db/tasks.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#51) There should be a comma after the last array item in a multi-line array.
mod/attendance/db/upgrade.php
(#70) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#84) 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
(#116) Short array syntax must be used to define arrays
(#277) Short array syntax must be used to define arrays
(#354) Short array syntax must be used to define arrays
(#357) Short array syntax must be used to define arrays
(#386) Short array syntax must be used to define arrays
(#387) Short array syntax must be used to define arrays
(#402) Short array syntax must be used to define arrays
(#426) Short array syntax must be used to define arrays
(#431) Short array syntax must be used to define arrays
(#633) Short array syntax must be used to define arrays
(#800) Inline comments must end in full-stops, exclamation marks, or question marks
mod/attendance/db/upgradelib.php
(#33) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
mod/attendance/defaultstatus.php
(#34) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#125) Line exceeds 132 characters; contains 134 characters
mod/attendance/export.php
(#35) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
mod/attendance/externallib.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#44) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#198) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#209) Short array syntax must be used to define arrays
(#263) Short array syntax must be used to define arrays
(#272) Short array syntax must be used to define arrays
(#284) Short array syntax must be used to define arrays
(#300) Short array syntax must be used to define arrays
(#302) Short array syntax must be used to define arrays
(#303) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#337) Short array syntax must be used to define arrays
(#348) Short array syntax must be used to define arrays
(#353) Short array syntax must be used to define arrays
(#366) Short array syntax must be used to define arrays
(#395) Short array syntax must be used to define arrays
(#399) Short array syntax must be used to define arrays
(#414) Short array syntax must be used to define arrays
(#426) Short array syntax must be used to define arrays
(#430) Short array syntax must be used to define arrays
(#431) Short array syntax must be used to define arrays
(#437) Short array syntax must be used to define arrays
(#440) There should be a comma after the last array item in a multi-line array.
(#455) Short array syntax must be used to define arrays
(#464) Short array syntax must be used to define arrays
(#468) Short array syntax must be used to define arrays
(#489) 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
(#533) Short array syntax must be used to define arrays
(#534) Short array syntax must be used to define arrays
(#557) Short array syntax must be used to define arrays
(#578) Short array syntax must be used to define arrays
(#587) Short array syntax must be used to define arrays
(#590) There should be a comma after the last array item in a multi-line array.
mod/attendance/import.php
(#36) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
mod/attendance/import/marksessions.php
(#41) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
mod/attendance/index.php
(#29) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#75) 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
mod/attendance/lib.php
(#67) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#165) Short array syntax must be used to define arrays
(#167) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#202) Short array syntax must be used to define arrays
(#214) Short array syntax must be used to define arrays
(#216) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#233) There should be a comma after the last array item in a multi-line array.
(#244) Short array syntax must be used to define arrays
(#247) There should be a comma after the last array item in a multi-line array.
(#258) Short array syntax must be used to define arrays
(#261) There should be a comma after the last array item in a multi-line array.
(#352) Short array syntax must be used to define arrays
(#357) Short array syntax must be used to define arrays
(#360) Short array syntax must be used to define arrays
(#398) Short array syntax must be used to define arrays
(#447) Short array syntax must be used to define arrays
(#452) Short array syntax must be used to define arrays
(#458) Short array syntax must be used to define arrays
(#479) Short array syntax must be used to define arrays
(#509) Short array syntax must be used to define arrays
(#527) There must not be a space before the colon in a return type declaration
(#533) There must not be a space before the colon in a return type declaration
mod/attendance/locallib.php
(#67) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#132) 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
(#177) Short array syntax must be used to define arrays
(#222) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
(#268) Short array syntax must be used to define arrays
(#284) Short array syntax must be used to define arrays
(#297) Short array syntax must be used to define arrays
(#311) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#343) Short array syntax must be used to define arrays
(#351) Short array syntax must be used to define arrays
(#391) Short array syntax must be used to define arrays
(#399) Short array syntax must be used to define arrays
(#436) Short array syntax must be used to define arrays
(#439) Short array syntax must be used to define arrays
(#465) Short array syntax must be used to define arrays
(#466) Short array syntax must be used to define arrays
(#469) Short array syntax must be used to define arrays
(#471) There should be a comma after the last array item in a multi-line array.
(#508) Short array syntax must be used to define arrays
(#511) Short array syntax must be used to define arrays
(#547) Short array syntax must be used to define arrays
(#550) Short array syntax must be used to define arrays
(#614) Short array syntax must be used to define arrays
(#662) Short array syntax must be used to define arrays
(#667) Short array syntax must be used to define arrays
(#676) Short array syntax must be used to define arrays
(#678) Short array syntax must be used to define arrays
(#681) Short array syntax must be used to define arrays
(#683) There should be a comma after the last array item in a multi-line array.
(#684) There should be a comma after the last array item in a multi-line array.
(#691) Short array syntax must be used to define arrays
(#809) Short array syntax must be used to define arrays
(#828) Short array syntax must be used to define arrays
(#1038) Short array syntax must be used to define arrays
(#1042) Short array syntax must be used to define arrays
(#1088) Short array syntax must be used to define arrays
(#1094) Short array syntax must be used to define arrays
(#1174) Short array syntax must be used to define arrays
(#1195) Short array syntax must be used to define arrays
(#1251) Short array syntax must be used to define arrays
(#1294) Short array syntax must be used to define arrays
(#1407) Short array syntax must be used to define arrays
(#1410) Short array syntax must be used to define arrays
(#1427) There should be a comma after the last array item in a multi-line array.
(#1433) There should be a comma after the last array item in a multi-line array.
(#1444) Line exceeds 132 characters; contains 138 characters
mod/attendance/manage.php
(#37) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#46) There should be a comma after the last array item in a multi-line array.
(#49) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
mod/attendance/messageselect.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file messageselect.php
(#35) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#179) Short array syntax must be used to define arrays
(#179) Short array syntax must be used to define arrays
(#180) There should be a comma after the last array item in a multi-line array.
mod/attendance/mod_form.php
(#50) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
mod/attendance/password.php
(#33) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
mod/attendance/password_ajax.php
(#31) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
mod/attendance/preferences.php
(#36) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#160) Line exceeds 132 characters; contains 154 characters
mod/attendance/renderhelpers.php
(#34) Short array syntax must be used to define arrays
(#47) Expected 1 space after "function"; 2 found
mod/attendance/report.php
(#40) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#83) There should be a comma after the last array item in a multi-line array.
mod/attendance/resetcalendar.php
(#52) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#64) 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
mod/attendance/sessions.php
(#41) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#184) Short array syntax must be used to define arrays
(#217) Short array syntax must be used to define arrays
mod/attendance/settings.php
(#39) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#85) There should be a comma after the last array item in a multi-line array.
(#116) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#202) Short array syntax must be used to define arrays
mod/attendance/take.php
(#41) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
mod/attendance/tempedit.php
(#34) 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
(#40) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
mod/attendance/tempmerge.php
(#33) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
mod/attendance/tempusers.php
(#32) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
mod/attendance/tests/behat/behat_mod_attendance.php
(#73) Short array syntax must be used to define arrays
mod/attendance/tests/external/external_test.php
(#74) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#103) No one-line description found in phpdocs for docblock of function create_and_enrol_users
(#104) Short array syntax must be used to define arrays
(#113) Test method test_get_courses_with_today_sessions() is missing any coverage information, own or at class level
(#113) No one-line description found in phpdocs for docblock of function test_get_courses_with_today_sessions
(#132) Test method test_get_courses_with_today_sessions_multiple_instances() is missing any coverage information, own or at class level
(#132) No one-line description found in phpdocs for docblock of function test_get_courses_with_today_sessions_multiple_instances
(#137) 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
(#158) Test method test_get_session() is missing any coverage information, own or at class level
(#158) No one-line description found in phpdocs for docblock of function test_get_session
(#179) Test method test_get_session_with_group() is missing any coverage information, own or at class level
(#179) No one-line description found in phpdocs for docblock of function test_get_session_with_group
(#226) Test method test_update_user_status() is missing any coverage information, own or at class level
(#226) No one-line description found in phpdocs for docblock of function test_update_user_status
(#259) Test method test_add_attendance() is missing any coverage information, own or at class level
(#259) No one-line description found in phpdocs for docblock of function test_add_attendance
(#267) Short array syntax must be used to define arrays
(#308) Test method test_remove_attendance() is missing any coverage information, own or at class level
(#308) No one-line description found in phpdocs for docblock of function test_remove_attendance
(#314) Short array syntax must be used to define arrays
(#332) Test method test_add_session() is missing any coverage information, own or at class level
(#332) No one-line description found in phpdocs for docblock of function test_add_session
(#337) Short array syntax must be used to define arrays
(#341) Short array syntax must be used to define arrays
(#375) Test method test_add_session_group_in_no_group_exception() is missing any coverage information, own or at class level
(#375) No one-line description found in phpdocs for docblock of function test_add_session_group_in_no_group_exception
(#380) Short array syntax must be used to define arrays
(#384) Short array syntax must be used to define arrays
(#403) Test method test_add_session_invalid_group_exception() is missing any coverage information, own or at class level
(#403) No one-line description found in phpdocs for docblock of function test_add_session_invalid_group_exception
(#408) Short array syntax must be used to define arrays
(#412) Short array syntax must be used to define arrays
(#430) Test method test_remove_session() is missing any coverage information, own or at class level
(#430) No one-line description found in phpdocs for docblock of function test_remove_session
(#458) Test method test_add_session_creates_calendar_event() is missing any coverage information, own or at class level
(#458) No one-line description found in phpdocs for docblock of function test_add_session_creates_calendar_event
(#496) Test method test_get_sessions() is missing any coverage information, own or at class level
(#496) No one-line description found in phpdocs for docblock of function test_get_sessions
mod/attendance/tests/generator/lib.php
(#43) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $options.
mod/attendance/view.php
(#41) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#57) There should be a comma after the last array item in a multi-line array.
(#79) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#112) There should be a comma after the last array item in a multi-line array.
(#127) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
mod/attendance/warnings.php
(#51) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#173) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#183) 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
(#194) Short array syntax must be used to define arrays

Javascript coding style problems

(9 errors, 12 warnings)

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

mod/attendance/calendar.js
(#20) 'resetHandler' is defined but never used. (no-unused-vars)
mod/attendance/js/password/attendance_QRCodeRotate.js
(#9) Identifier 'attendance_QRCodeRotate' is not in camel case. (camelcase)
(#9) 'attendance_QRCodeRotate' is defined but never used. (no-unused-vars)
(#24) This line has a length of 185. Maximum allowed is 132. (max-len)
(#24) Unexpected console statement. (no-console)
(#29) 'QRCode' is not defined. (no-undef)
(#33) Extra space after key 'colorDark'. (key-spacing)
(#34) Extra space after key 'colorLight'. (key-spacing)
(#35) Extra space after key 'correctLevel'. (key-spacing)
(#35) 'QRCode' is not defined. (no-undef)
(#40) This line has a length of 146. Maximum allowed is 132. (max-len)
(#40) A space is required after ','. (comma-spacing)
(#57) Array.prototype.find() expects a value to be returned at the end of function. (array-callback-return)
(#57) Expected to return a value at the end of function. (consistent-return)
(#79) Operator '+' must be spaced. (space-infix-ops)
(#79) Operator '+' must be spaced. (space-infix-ops)
(#85) Each then() should return a value or throw (promise/always-return)
(#88) Comments should not begin with a lowercase character. (capitalized-comments)
(#90) 'err' is defined but never used. (no-unused-vars)
(#91) Unexpected console statement. (no-console)
mod/attendance/yui/src/groupfilter/js/groupfilter.js
(#1) 'M' is already defined as a built-in global variable. (no-redeclare)

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

This section shows problems detected in mustache templates [More info]

mod/attendance/templates/attendance_password_icon.mustache
(#1) HTML Validation info, line 3: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (="_blank"><img class="icon " src="../pix/key.svg" alt="Password icon" /></a><)
mod/attendance/templates/mobile_teacher_form_ionic5.mustache
(#1) HTML Validation info, line 10: Attribute “[(ngmodel)]” is not serializable as XML 1.0. (> <ion-radio-group [(ngModel)]="CONTENT_OTHERDATA.statusall" (ionChange)=""> )
(#1) HTML Validation info, line 10: Attribute “(ionchange)” is not serializable as XML 1.0. (> <ion-radio-group [(ngModel)]="CONTENT_OTHERDATA.statusall" (ionChange)=""> )
(#1) HTML Validation info, line 13: Attribute “[args]” is not serializable as XML 1.0. (span> <ion-button class="ion-margin" expand="block" core-site-plugins-new-content component="mod_attendance" method="mobile_view_activity" [args]="{cmid: 25, courseid: 4, sessid: 43}"> )
mod/attendance/templates/mobile_teacher_form_latest.mustache
(#1) HTML Validation error, line 7: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. ( <core-format-text text="Intro" component="mod_attendance" componentId="25" collapsible-item /> )
(#1) HTML Validation error, line 8: End tag “ion-label” seen, but there were open elements. ( </ion-label> )
(#1) HTML Validation error, line 7: Unclosed element “core-format-text”. ( <core-format-text text="Intro" component="mod_attendance" componentId="25" collapsible-item /> )
(#1) HTML Validation info, line 16: Attribute “[(ngmodel)]” is not serializable as XML 1.0. (> <ion-radio-group [(ngModel)]="CONTENT_OTHERDATA.statusall" (ionChange)=""> )
(#1) HTML Validation info, line 16: Attribute “(ionchange)” is not serializable as XML 1.0. (> <ion-radio-group [(ngModel)]="CONTENT_OTHERDATA.statusall" (ionChange)=""> )
(#1) HTML Validation info, line 19: Attribute “[args]” is not serializable as XML 1.0. (span> <ion-button class="ion-margin" expand="block" core-site-plugins-new-content component="mod_attendance" method="mobile_view_activity" [args]="{cmid: 25, courseid: 4, sessid: 43}"> )
mod/attendance/templates/mobile_user_form_latest.mustache
(#1) HTML Validation error, line 6: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. ( <core-format-text text="Intro" component="mod_attendance" componentId="25" collapsible-item /> )
(#1) HTML Validation error, line 7: End tag “ion-label” seen, but there were open elements. ( </ion-label> )
(#1) HTML Validation error, line 6: Unclosed element “core-format-text”. ( <core-format-text text="Intro" component="mod_attendance" componentId="25" collapsible-item /> )
mod/attendance/templates/mobile_view_page_latest.mustache
(#1) HTML Validation info, line 4: Attribute “[module]” is not serializable as XML 1.0. (age"> <core-course-module-info [module]="module" description="Intro" component="mod_attendance" componentId="25" [courseId]="courseId"> <)
(#1) HTML Validation info, line 4: Attribute “[courseid]” is not serializable as XML 1.0. (age"> <core-course-module-info [module]="module" description="Intro" component="mod_attendance" componentId="25" [courseId]="courseId"> <)

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]