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

(1 errors, 2 warnings)

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

mod/attendance/classes/output/renderer.php
(#2890) 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.
mod/attendance/lang/en/attendance.php
(#684) The string key "nousers" is not in the correct order, it should be before "youcantdo"
mod/attendance/tests/external/external_test.php
(#71) The setUp() method in unit tests must always call to parent::setUp().

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_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 /> )
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]