Prechecker results: error


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

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

mod/attendance/classes/import/marksessions.php
(#143) Declaring a required parameter after an optional one is deprecated since PHP 8.0. Parameter $text is optional, while parameter $att is required.
mod/attendance/tests/external/external_test.php
(#113) Test method test_get_courses_with_today_sessions() is missing any coverage information, own or at class level
(#132) Test method test_get_courses_with_today_sessions_multiple_instances() is missing any coverage information, own or at class level
(#158) Test method test_get_session() is missing any coverage information, own or at class level
(#179) Test method test_get_session_with_group() is missing any coverage information, own or at class level
(#226) Test method test_update_user_status() is missing any coverage information, own or at class level
(#259) Test method test_add_attendance() is missing any coverage information, own or at class level
(#308) Test method test_remove_attendance() is missing any coverage information, own or at class level
(#332) Test method test_add_session() is missing any coverage information, own or at class level
(#375) Test method test_add_session_group_in_no_group_exception() is missing any coverage information, own or at class level
(#403) Test method test_add_session_invalid_group_exception() is missing any coverage information, own or at class level
(#430) Test method test_remove_session() is missing any coverage information, own or at class level
(#458) Test method test_add_session_creates_calendar_event() is missing any coverage information, own or at class level
(#496) Test method test_get_sessions() is missing any coverage information, own or at class level

Javascript coding style problems

(7 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)
(#26) 'QRCode' is not defined. (no-undef)
(#30) Extra space after key 'colorDark'. (key-spacing)
(#31) Extra space after key 'colorLight'. (key-spacing)
(#32) Extra space after key 'correctLevel'. (key-spacing)
(#32) 'QRCode' is not defined. (no-undef)
(#37) This line has a length of 146. Maximum allowed is 132. (max-len)
(#37) A space is required after ','. (comma-spacing)
(#50) Array.prototype.find() expects a value to be returned at the end of function. (array-callback-return)
(#50) Expected to return a value at the end of function. (consistent-return)
(#72) Operator '+' must be spaced. (space-infix-ops)
(#72) Operator '+' must be spaced. (space-infix-ops)
(#78) Each then() should return a value or throw (promise/always-return)
(#81) Comments should not begin with a lowercase character. (capitalized-comments)
(#83) 'err' is defined but never used. (no-unused-vars)
(#84) 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

(1 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

mod/attendance/db/upgrade.php
'return true;' not found

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

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

mod/attendance/templates/mobile_teacher_form_ionic3.mustache
(#1) HTML Validation info, line 10: Attribute “[(ngmodel)]” is not serializable as XML 1.0. (item> <ion-list radio-group [(ngModel)]="CONTENT_OTHERDATA.statusall" (ionChange)=""> <)
(#1) HTML Validation info, line 10: Attribute “(ionchange)” is not serializable as XML 1.0. (item> <ion-list radio-group [(ngModel)]="CONTENT_OTHERDATA.statusall" (ionChange)=""> <)
(#1) HTML Validation info, line 14: Attribute “[args]” is not serializable as XML 1.0. (> <button ion-button core-site-plugins-new-content component="mod_attendance" method="mobile_view_activity" [args]="{cmid: 25, courseid: 4, sessid: 43}"> )
(#1) HTML Validation error, line 14: Attribute “ion-button” not allowed on element “button” at this point. (> <button ion-button core-site-plugins-new-content component="mod_attendance" method="mobile_view_activity" [args]="{cmid: 25, courseid: 4, sessid: 43}"> )
(#1) HTML Validation error, line 14: Attribute “core-site-plugins-new-content” not allowed on element “button” at this point. (> <button ion-button core-site-plugins-new-content component="mod_attendance" method="mobile_view_activity" [args]="{cmid: 25, courseid: 4, sessid: 43}"> )
(#1) HTML Validation error, line 14: Attribute “component” not allowed on element “button” at this point. (> <button ion-button core-site-plugins-new-content component="mod_attendance" method="mobile_view_activity" [args]="{cmid: 25, courseid: 4, sessid: 43}"> )
(#1) HTML Validation error, line 14: Attribute “method” not allowed on element “button” at this point. (> <button ion-button core-site-plugins-new-content component="mod_attendance" method="mobile_view_activity" [args]="{cmid: 25, courseid: 4, sessid: 43}"> )
(#1) HTML Validation error, line 14: Attribute “[args]” not allowed on element “button” at this point. (> <button ion-button 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 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}"> )

Gherkin .feature problems

(0 errors, 0 warnings)

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