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

(6 errors, 2 warnings)

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

mod/customcert/backup/moodle2/backup_customcert_activity_task.class.php
(#59) The static declaration must come after the visibility declaration
mod/customcert/backup/moodle2/restore_customcert_activity_task.class.php
(#56) The static declaration must come after the visibility declaration
(#67) The static declaration must come after the visibility declaration
(#83) The static declaration must come after the visibility declaration
mod/customcert/classes/element.php
(#380) The abstract declaration must precede the visibility declaration
(#392) The abstract declaration must precede the visibility declaration
mod/customcert/tests/behat/behat_mod_customcert.php
(#44) Line exceeds 132 characters; contains 163 characters
mod/customcert/tests/email_certificate_task_test.php
(#58) Inline comments must end in full-stops, exclamation marks, or question marks

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

(5 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

mod/customcert/backup/moodle2/restore_customcert_activity_task.class.php
(#78) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#79) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/customcert/classes/event/course_module_viewed.php
(#46) Function course_module_viewed::get_objectid_mapping is not documented
(#50) Function course_module_viewed::get_other_mapping is not documented
mod/customcert/element/coursefield/classes/element.php
(#126) Phpdocs for function element::get_course_field_value has incomplete parameters list

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

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

mod/customcert/templates/mobile_view_activity_page.mustache
(#1) HTML Validation info, line 5: Attribute “[files]” is not serializable as XML 1.0. ( <button ion-button block 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 error, line 5: Attribute “ion-button” not allowed on element “button” at this point. ( <button ion-button block 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 error, line 5: Attribute “block” not allowed on element “button” at this point. ( <button ion-button block 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 error, line 5: Attribute “core-course-download-module-main-file” not allowed on element “button” at this point. ( <button ion-button block 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 error, line 5: Attribute “moduleid” not allowed on element “button” at this point. ( <button ion-button block 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 error, line 5: Attribute “courseid” not allowed on element “button” at this point. ( <button ion-button block 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 error, line 5: Attribute “component” not allowed on element “button” at this point. ( <button ion-button block 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 error, line 5: Attribute “[files]” not allowed on element “button” at this point. ( <button ion-button block 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 “(ionchange)” is not serializable as XML 1.0. ( <ion-select (ionChange)="updateContent({cmid: 25, courseid: 2, group: $event})" interface="popover"> )
(#1) HTML Validation info, line 29: Attribute “[core-download-file]” is not serializable as XML 1.0. ( <button ion-button icon-only clear [core-download-file]="{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}" moduleId="25" courseId="2" component="mod_customcert"> )
(#1) HTML Validation error, line 29: Attribute “ion-button” not allowed on element “button” at this point. ( <button ion-button icon-only clear [core-download-file]="{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}" moduleId="25" courseId="2" component="mod_customcert"> )
(#1) HTML Validation error, line 29: Attribute “icon-only” not allowed on element “button” at this point. ( <button ion-button icon-only clear [core-download-file]="{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}" moduleId="25" courseId="2" component="mod_customcert"> )
(#1) HTML Validation error, line 29: Attribute “clear” not allowed on element “button” at this point. ( <button ion-button icon-only clear [core-download-file]="{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}" moduleId="25" courseId="2" component="mod_customcert"> )
(#1) HTML Validation error, line 29: Attribute “[core-download-file]” not allowed on element “button” at this point. ( <button ion-button icon-only clear [core-download-file]="{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}" moduleId="25" courseId="2" component="mod_customcert"> )
(#1) HTML Validation error, line 29: Attribute “moduleid” not allowed on element “button” at this point. ( <button ion-button icon-only clear [core-download-file]="{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}" moduleId="25" courseId="2" component="mod_customcert"> )
(#1) HTML Validation error, line 29: Attribute “courseid” not allowed on element “button” at this point. ( <button ion-button icon-only clear [core-download-file]="{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}" moduleId="25" courseId="2" component="mod_customcert"> )
(#1) HTML Validation error, line 29: Attribute “component” not allowed on element “button” at this point. ( <button ion-button icon-only clear [core-download-file]="{fileurl: 'http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4', timemodified: '1528370177'}" moduleId="25" courseId="2" component="mod_customcert"> )
(#1) HTML Validation info, line 36: Attribute “[params]” is not serializable as XML 1.0. ( <button ion-button icon-only 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"> )
(#1) HTML Validation info, line 36: Attribute “[presets]” is not serializable as XML 1.0. ( <button ion-button icon-only 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"> )
(#1) HTML Validation error, line 36: Attribute “ion-button” not allowed on element “button” at this point. ( <button ion-button icon-only 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"> )
(#1) HTML Validation error, line 36: Attribute “icon-only” not allowed on element “button” at this point. ( <button ion-button icon-only 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"> )
(#1) HTML Validation error, line 36: Attribute “clear” not allowed on element “button” at this point. ( <button ion-button icon-only 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"> )
(#1) HTML Validation error, line 36: Attribute “core-site-plugins-call-ws” not allowed on element “button” at this point. ( <button ion-button icon-only 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"> )
(#1) HTML Validation error, line 36: Attribute “[params]” not allowed on element “button” at this point. ( <button ion-button icon-only 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"> )
(#1) HTML Validation error, line 36: Attribute “[presets]” not allowed on element “button” at this point. ( <button ion-button icon-only 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"> )
(#1) HTML Validation error, line 36: Attribute “confirmmessage” not allowed on element “button” at this point. ( <button ion-button icon-only 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"> )
(#1) HTML Validation error, line 36: Attribute “refreshonsuccess” not allowed on element “button” at this point. ( <button ion-button icon-only 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"> )

Gherkin .feature problems

(0 errors, 0 warnings)

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