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

(2 errors, 2 warnings)

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

mod/customcert/classes/certificate.php
(#548) There should be a comma after the last array item in a multi-line array.
mod/customcert/lang/en/customcert.php
(#248) The string key "codegenerationmethod" is not in the correct order, it should be before "width_help"
(#251) The string key "codegenerationmethod_digitshyphens" is not in the correct order, it should be before "codegenerationmethod_upperlowerdigits"
mod/customcert/settings.php
(#91) There should be a comma after the last array item in a multi-line array.

Javascript coding style problems

(0 errors, 0 warnings)

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


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

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

mod/customcert/templates/mobile_view_activity_page_ionic5.mustache
(#1) HTML Validation info, line 4: Attribute “[files]” is not serializable as XML 1.0. (list> <ion-button expand="block" class="ion-margin" core-course-download-module-main-file moduleId="25" courseId="2" component="mod_customcert" [files]="[{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}]"> )
(#1) HTML Validation info, line 15: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-select [(ngModel)]="CONTENT_OTHERDATA.group" name="group" (ionChange)="updateContent({cmid: 25, courseid: 2, group: CONTENT_OTHERDATA.group})" interface="popover"> )
(#1) HTML Validation info, line 15: Attribute “(ionchange)” is not serializable as XML 1.0. ( <ion-select [(ngModel)]="CONTENT_OTHERDATA.group" name="group" (ionChange)="updateContent({cmid: 25, courseid: 2, group: CONTENT_OTHERDATA.group})" interface="popover"> )
(#1) HTML Validation info, line 16: Attribute “[value]” is not serializable as XML 1.0. ( <ion-select-option [value]="2">Group )
(#1) HTML Validation info, line 22: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <br /> )
(#1) HTML Validation info, line 26: Attribute “[core-download-file]” is not serializable as XML 1.0. ( <ion-button fill="clear" [core-download-file]="{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}" moduleId="25" courseId="2" component="mod_customcert" [attr.aria-label]="'core.download' | translate"> )
(#1) HTML Validation info, line 26: Attribute “[attr.aria-label]” is not serializable as XML 1.0. ( <ion-button fill="clear" [core-download-file]="{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}" moduleId="25" courseId="2" component="mod_customcert" [attr.aria-label]="'core.download' | translate"> )
(#1) HTML Validation info, line 33: Attribute “[params]” is not serializable as XML 1.0. ( <ion-button fill="clear" core-site-plugins-call-ws name="mod_customcert_delete_issue" [params]="{certificateid: 1, issueid: 3}" [preSets]="{getFromCache: 0, saveToCache: 0, typeExpected: 'boolean'}" confirmMessage="{{ 'plugin.mod_customcert.deleteissueconfirm' | translate }}" refreshOnSuccess="true" [attr.aria-label]="'core.delete' | translate"> )
(#1) HTML Validation info, line 33: Attribute “[presets]” is not serializable as XML 1.0. ( <ion-button fill="clear" core-site-plugins-call-ws name="mod_customcert_delete_issue" [params]="{certificateid: 1, issueid: 3}" [preSets]="{getFromCache: 0, saveToCache: 0, typeExpected: 'boolean'}" confirmMessage="{{ 'plugin.mod_customcert.deleteissueconfirm' | translate }}" refreshOnSuccess="true" [attr.aria-label]="'core.delete' | translate"> )
(#1) HTML Validation info, line 33: Attribute “[attr.aria-label]” is not serializable as XML 1.0. ( <ion-button fill="clear" core-site-plugins-call-ws name="mod_customcert_delete_issue" [params]="{certificateid: 1, issueid: 3}" [preSets]="{getFromCache: 0, saveToCache: 0, typeExpected: 'boolean'}" confirmMessage="{{ 'plugin.mod_customcert.deleteissueconfirm' | translate }}" refreshOnSuccess="true" [attr.aria-label]="'core.delete' | translate"> )
mod/customcert/templates/mobile_view_activity_page_latest.mustache
(#1) HTML Validation info, line 3: Attribute “[module]” is not serializable as XML 1.0. (ad><body><core-course-module-info [module]="module" description="A certificate" component="mod_customcert" componentId="25" [courseId]="courseId"></core)
(#1) HTML Validation info, line 3: Attribute “[courseid]” is not serializable as XML 1.0. (ad><body><core-course-module-info [module]="module" description="A certificate" component="mod_customcert" componentId="25" [courseId]="courseId"></core)
(#1) HTML Validation info, line 5: Attribute “[files]” is not serializable as XML 1.0. (list> <ion-button expand="block" class="ion-margin" core-course-download-module-main-file moduleId="25" courseId="2" component="mod_customcert" [files]="[{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}]"> )
(#1) HTML Validation info, line 15: Attribute “[(ngmodel)]” is not serializable as XML 1.0. ( <ion-select [(ngModel)]="CONTENT_OTHERDATA.group" name="group" (ionChange)="updateContent({cmid: 25, courseid: 2, group: CONTENT_OTHERDATA.group})" interface="popover"> )
(#1) HTML Validation info, line 15: Attribute “(ionchange)” is not serializable as XML 1.0. ( <ion-select [(ngModel)]="CONTENT_OTHERDATA.group" name="group" (ionChange)="updateContent({cmid: 25, courseid: 2, group: CONTENT_OTHERDATA.group})" interface="popover"> )
(#1) HTML Validation info, line 17: Attribute “[value]” is not serializable as XML 1.0. ( <ion-select-option [value]="2">Group )
(#1) HTML Validation info, line 23: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <br /> )
(#1) HTML Validation info, line 27: Attribute “[core-download-file]” is not serializable as XML 1.0. ( <ion-button fill="clear" [core-download-file]="{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}" moduleId="25" courseId="2" component="mod_customcert" [attr.aria-label]="'core.download' | translate"> )
(#1) HTML Validation info, line 27: Attribute “[attr.aria-label]” is not serializable as XML 1.0. ( <ion-button fill="clear" [core-download-file]="{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}" moduleId="25" courseId="2" component="mod_customcert" [attr.aria-label]="'core.download' | translate"> )
(#1) HTML Validation info, line 34: Attribute “[params]” is not serializable as XML 1.0. ( <ion-button fill="clear" core-site-plugins-call-ws name="mod_customcert_delete_issue" [params]="{certificateid: 1, issueid: 3}" [preSets]="{getFromCache: 0, saveToCache: 0, typeExpected: 'boolean'}" confirmMessage="{{ 'plugin.mod_customcert.deleteissueconfirm' | translate }}" refreshOnSuccess="true" [attr.aria-label]="'core.delete' | translate"> )
(#1) HTML Validation info, line 34: Attribute “[presets]” is not serializable as XML 1.0. ( <ion-button fill="clear" core-site-plugins-call-ws name="mod_customcert_delete_issue" [params]="{certificateid: 1, issueid: 3}" [preSets]="{getFromCache: 0, saveToCache: 0, typeExpected: 'boolean'}" confirmMessage="{{ 'plugin.mod_customcert.deleteissueconfirm' | translate }}" refreshOnSuccess="true" [attr.aria-label]="'core.delete' | translate"> )
(#1) HTML Validation info, line 34: Attribute “[attr.aria-label]” is not serializable as XML 1.0. ( <ion-button fill="clear" core-site-plugins-call-ws name="mod_customcert_delete_issue" [params]="{certificateid: 1, issueid: 3}" [preSets]="{getFromCache: 0, saveToCache: 0, typeExpected: 'boolean'}" confirmMessage="{{ 'plugin.mod_customcert.deleteissueconfirm' | translate }}" refreshOnSuccess="true" [attr.aria-label]="'core.delete' | translate"> )

Gherkin .feature problems

(0 errors, 0 warnings)

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