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

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

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

(2 errors, 1 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) Parsing error: The keyword 'class' is reserved
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]