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

(0 errors, 0 warnings)

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


Javascript coding style problems

(2 errors, 33 warnings)

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

mod/checklist/mobileapp/mobile.js
(#6) Avoid nesting promises. (promise/no-nesting)
(#6) Avoid nesting promises. (promise/no-nesting)
(#11) Comments should not begin with a lowercase character. (capitalized-comments)
(#12) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#12) Each then() should return a value or throw (promise/always-return)
mod/checklist/yui/buttons/buttons.js
(#1) Expected space or tab after '/*' in comment. (spaced-comment)
(#1) 'M' is already defined as a built-in global variable. (no-redeclare)
(#2) 'YUI' is not defined. (no-undef)
(#2) Unexpected space before function parentheses. (space-before-function-paren)
(#4) Identifier 'toggle_values' is not in camel case. (camelcase)
(#4) Identifier 'col_clicked' is not in camel case. (camelcase)
(#4) Identifier 'row_clicked' is not in camel case. (camelcase)
(#6) Identifier 'toggle_values' is not in camel case. (camelcase)
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#14) Identifier 'toggle_values' is not in camel case. (camelcase)
(#17) Identifier 'toggle_values' is not in camel case. (camelcase)
(#20) Identifier 'col_clicked' is not in camel case. (camelcase)
(#20) Unexpected space before function parentheses. (space-before-function-paren)
(#22) Comments should not begin with a lowercase character. (capitalized-comments)
(#24) Comments should not begin with a lowercase character. (capitalized-comments)
(#27) Comments should not begin with a lowercase character. (capitalized-comments)
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#35) Comments should not begin with a lowercase character. (capitalized-comments)
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#44) Identifier 'row_clicked' is not in camel case. (camelcase)
(#44) Unexpected space before function parentheses. (space-before-function-paren)
(#46) Comments should not begin with a lowercase character. (capitalized-comments)
(#48) Comments should not begin with a lowercase character. (capitalized-comments)
(#51) Comments should not begin with a lowercase character. (capitalized-comments)
(#52) Unexpected space before function parentheses. (space-before-function-paren)
(#59) Comments should not begin with a lowercase character. (capitalized-comments)
(#60) Unexpected space before function parentheses. (space-before-function-paren)
(#68) Comments should not begin with a lowercase character. (capitalized-comments)
(#70) Identifier 'mod_checklist' is not in camel case. (camelcase)
(#72) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(19 errors, 1 warnings)

This section shows CSS problems detected by stylelint [More info]

mod/checklist/styles_app.css
(#84) Unexpected unit (length-zero-no-unit)
(#34) Unexpected unknown type selector "ion-label" (selector-type-no-unknown)
(#35) Unexpected unknown type selector "ion-checkbox" (selector-type-no-unknown)
(#38) Unexpected unknown type selector "ion-label" (selector-type-no-unknown)
(#39) Unexpected unknown type selector "ion-checkbox" (selector-type-no-unknown)
(#42) Unexpected unknown type selector "ion-label" (selector-type-no-unknown)
(#43) Unexpected unknown type selector "ion-checkbox" (selector-type-no-unknown)
(#46) Unexpected unknown type selector "ion-label" (selector-type-no-unknown)
(#47) Unexpected unknown type selector "ion-checkbox" (selector-type-no-unknown)
(#50) Unexpected unknown type selector "ion-label" (selector-type-no-unknown)
(#51) Unexpected unknown type selector "ion-checkbox" (selector-type-no-unknown)
(#54) Unexpected unknown type selector "ion-label" (selector-type-no-unknown)
(#55) Unexpected unknown type selector "ion-checkbox" (selector-type-no-unknown)
(#58) Unexpected unknown type selector "ion-label" (selector-type-no-unknown)
(#59) Unexpected unknown type selector "ion-checkbox" (selector-type-no-unknown)
(#62) Unexpected unknown type selector "ion-label" (selector-type-no-unknown)
(#63) Unexpected unknown type selector "ion-checkbox" (selector-type-no-unknown)
(#69) Unexpected unknown type selector "ion-label" (selector-type-no-unknown)
(#70) Unexpected unknown type selector "ion-checkbox" (selector-type-no-unknown)
(#77) Unexpected unknown type selector "ion-icon" (selector-type-no-unknown)

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

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

mod/checklist/templates/mobile_view_checklist_ionic5.mustache
(#1) HTML Validation error, line 23: Attribute “core-external-content” not allowed on element “img” at this point. ( <img class="checklist-teachermark" src="SITEURL/theme/image.php..." alt="Teacher states that you have completed this" core-external-content> )
(#1) HTML Validation info, line 26: Attribute “[showbrowserwarning]” is not serializable as XML 1.0. ( <ion-button fill="clear" href="https://moodle.org/" core-link class="checklist-url-button" [showBrowserWarning]="false" [attr.aria-label]="'plugin.mod_checklist.linktourl' | translate" > )
(#1) HTML Validation info, line 26: Attribute “[attr.aria-label]” is not serializable as XML 1.0. ( <ion-button fill="clear" href="https://moodle.org/" core-link class="checklist-url-button" [showBrowserWarning]="false" [attr.aria-label]="'plugin.mod_checklist.linktourl' | translate" > )
(#1) HTML Validation info, line 34: Attribute “[capture]” is not serializable as XML 1.0. ( <a href="SITEURL/user/view.php..." core-link [capture]="true">Jeffer)
(#1) HTML Validation error, line 34: Attribute “core-link” not allowed on element “a” at this point. ( <a href="SITEURL/user/view.php..." core-link [capture]="true">Jeffer)
(#1) HTML Validation error, line 34: Attribute “[capture]” not allowed on element “a” at this point. ( <a href="SITEURL/user/view.php..." core-link [capture]="true">Jeffer)
(#1) HTML Validation info, line 38: Attribute “[capture]” is not serializable as XML 1.0. ( <a href="SITEURL/user/view.php..." core-link [capture]="true">Barbar)
(#1) HTML Validation error, line 38: Attribute “core-link” not allowed on element “a” at this point. ( <a href="SITEURL/user/view.php..." core-link [capture]="true">Barbar)
(#1) HTML Validation error, line 38: Attribute “[capture]” not allowed on element “a” at this point. ( <a href="SITEURL/user/view.php..." core-link [capture]="true">Barbar)
(#1) HTML Validation info, line 44: Attribute “(ionchange)” is not serializable as XML 1.0. ( <ion-checkbox checked="true" disabled="false" (ionChange)="saveChanges(1, 1, $event)"></ion-)
mod/checklist/templates/mobile_view_checklist_latest.mustache
(#1) HTML Validation info, line 4: Attribute “[module]” is not serializable as XML 1.0. (dth"> <core-course-module-info [module]="module" description="Description" component="mod_checklist" componentId="1" [courseId]="courseId"> <)
(#1) HTML Validation info, line 4: Attribute “[courseid]” is not serializable as XML 1.0. (dth"> <core-course-module-info [module]="module" description="Description" component="mod_checklist" componentId="1" [courseId]="courseId"> <)
(#1) HTML Validation info, line 23: Attribute “#itemtemplate1” is not serializable as XML 1.0. ( <ng-template #itemTemplate1> )
(#1) HTML Validation error, line 25: Attribute “core-external-content” not allowed on element “img” at this point. ( <img class="checklist-teachermark" src="SITEURL/theme/image.php..." alt="Teacher states that you have completed this" core-external-content> )
(#1) HTML Validation info, line 28: Attribute “[showbrowserwarning]” is not serializable as XML 1.0. ( <ion-button fill="clear" href="https://moodle.org/" core-link class="checklist-url-button" [showBrowserWarning]="false" [attr.aria-label]="'plugin.mod_checklist.linktourl' | translate" > )
(#1) HTML Validation info, line 28: Attribute “[attr.aria-label]” is not serializable as XML 1.0. ( <ion-button fill="clear" href="https://moodle.org/" core-link class="checklist-url-button" [showBrowserWarning]="false" [attr.aria-label]="'plugin.mod_checklist.linktourl' | translate" > )
(#1) HTML Validation info, line 36: Attribute “[capture]” is not serializable as XML 1.0. ( <a href="SITEURL/user/view.php..." core-link [capture]="true">Jeffer)
(#1) HTML Validation error, line 36: Attribute “core-link” not allowed on element “a” at this point. ( <a href="SITEURL/user/view.php..." core-link [capture]="true">Jeffer)
(#1) HTML Validation error, line 36: Attribute “[capture]” not allowed on element “a” at this point. ( <a href="SITEURL/user/view.php..." core-link [capture]="true">Jeffer)
(#1) HTML Validation info, line 40: Attribute “[capture]” is not serializable as XML 1.0. ( <a href="SITEURL/user/view.php..." core-link [capture]="true">Barbar)
(#1) HTML Validation error, line 40: Attribute “core-link” not allowed on element “a” at this point. ( <a href="SITEURL/user/view.php..." core-link [capture]="true">Barbar)
(#1) HTML Validation error, line 40: Attribute “[capture]” not allowed on element “a” at this point. ( <a href="SITEURL/user/view.php..." core-link [capture]="true">Barbar)
(#1) HTML Validation info, line 48: Attribute “(ionchange)” is not serializable as XML 1.0. ( <ion-checkbox checked="true" disabled="false" (ionChange)="saveChanges(1, 1, $event)"> )
(#1) HTML Validation info, line 50: Attribute “*ngtemplateoutlet” is not serializable as XML 1.0. ( <ng-container *ngTemplateOutlet="itemTemplate1" /> )
(#1) HTML Validation error, line 50: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. ( <ng-container *ngTemplateOutlet="itemTemplate1" /> )
(#1) HTML Validation error, line 52: End tag “ion-checkbox” seen, but there were open elements. ( </ion-checkbox> )
(#1) HTML Validation error, line 50: Unclosed element “ng-container”. ( <ng-container *ngTemplateOutlet="itemTemplate1" /> )

Gherkin .feature problems

(0 errors, 0 warnings)

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