Prechecker results: warning


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

(0 errors, 9 warnings)

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

admin/tool/pluginskel/amd/src/addmore.js
(#48) 'i' used outside of binding context. (block-scoped-var)
(#49) 'i' used outside of binding context. (block-scoped-var)
(#125) 'i' used outside of binding context. (block-scoped-var)
(#126) 'i' used outside of binding context. (block-scoped-var)
(#256) 'i' used outside of binding context. (block-scoped-var)
(#258) 'i' used outside of binding context. (block-scoped-var)
(#327) Missing JSDoc @returns for function. (valid-jsdoc)
admin/tool/pluginskel/amd/src/showtypeprefix.js
(#32) Missing JSDoc comment. (require-jsdoc)
(#36) Multiple spaces found before '{'. (no-multi-spaces)

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

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

admin/tool/pluginskel/skel/common/backup_php.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/common/boilerplate_php.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Saw “<?”. Probable cause: Attempt to use an XML processing instruction in HTML. (XML processing instructions are not supported in HTML.) (ad><body><?php//)
(#1) HTML Validation info, line 22: Element name “your.email@example.com” cannot be represented as XML 1.0. (Your Name <your.email@example.com> * @l)
(#1) HTML Validation error, line 22: Element “your.email@example.com” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (Your Name <your.email@example.com> * @l)
(#1) HTML Validation error, line 32: End tag for “body” seen, but there were unclosed elements. (*/</body></html)
(#1) HTML Validation error, line 22: Unclosed element “your.email@example.com”. (Your Name <your.email@example.com> * @l)
admin/tool/pluginskel/skel/common/db_install_xml.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Saw “<?”. Probable cause: Attempt to use an XML processing instruction in HTML. (XML processing instructions are not supported in HTML.) (ad><body><?xml ve)
(#1) HTML Validation error, line 6: Attribute “xmlns:xsi” not allowed here. (UTF-8" ?><XMLDB PATH="" VERSION="" COMMENT="XMLDB file for Moodle " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"> <TA)
(#1) HTML Validation info, line 6: Attribute with the local name “xmlns:xsi” is not serializable as XML 1.0. (UTF-8" ?><XMLDB PATH="" VERSION="" COMMENT="XMLDB file for Moodle " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"> <TA)
(#1) HTML Validation info, line 6: Attribute “xsi:nonamespaceschemalocation” is not serializable as XML 1.0. (UTF-8" ?><XMLDB PATH="" VERSION="" COMMENT="XMLDB file for Moodle " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"> <TA)
(#1) HTML Validation error, line 6: Element “xmldb” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (UTF-8" ?><XMLDB PATH="" VERSION="" COMMENT="XMLDB file for Moodle " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"> <TA)
admin/tool/pluginskel/skel/common/lib.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
admin/tool/pluginskel/skel/common/restore_php.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/atto/build.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/atto/button_js.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/atto/button_json.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/atto/lib.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
admin/tool/pluginskel/skel/file/auth/auth.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/block/backup/moodle2/backup_block_task_class.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/block/backup/moodle2/backup_settingslib.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
admin/tool/pluginskel/skel/file/block/backup/moodle2/backup_stepslib.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/block/backup/moodle2/restore_block_task_class.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/block/backup/moodle2/restore_stepslib.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/block/block.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/block/edit_form.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/classes_event_event.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/classes_observer.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/classes_privacy_provider.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/cli.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/contenttype/classes/content.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/contenttype/classes/contenttype.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/contenttype/classes/form/editor.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/db_access.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/db_events.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/db_install.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/db_messages.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/db_mobile.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/db_uninstall.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/db_upgrade.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/db_upgradelib.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/enrol/lib.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/lang.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/license.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 7: A slash was not immediately followed by “>”. ( Inc. &lt;<http://fsf.or)
(#1) HTML Validation error, line 7: A slash was not immediately followed by “>”. (t;<http://fsf.org)
(#1) HTML Validation info, line 7: Element name “http:” cannot be represented as XML 1.0. (;<http://fsf.org/>&gt;)
(#1) HTML Validation error, line 7: Element “http:” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (;<http://fsf.org/>&gt;)
(#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. (;<http://fsf.org/>&gt;)
(#1) HTML Validation error, line 557: Quote “'” in attribute name. Probable cause: Matching quote missing somewhere earlier. (und. <one line to give the program's name)
(#1) HTML Validation info, line 557: Attribute “program's” is not serializable as XML 1.0. (e program's name and a brief idea of what it does.> C)
(#1) HTML Validation error, line 571: A slash was not immediately followed by “>”. ( not, see <http://www.gn)
(#1) HTML Validation error, line 571: A slash was not immediately followed by “>”. (e <http://www.gnu)
(#1) HTML Validation error, line 571: A slash was not immediately followed by “>”. ( <http://www.gnu.org/license)
(#1) HTML Validation info, line 571: Element name “http:” cannot be represented as XML 1.0. (.gnu.org/licenses/>.Als)
(#1) HTML Validation error, line 571: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. (.gnu.org/licenses/>.Als)
(#1) HTML Validation error, line 590: A slash was not immediately followed by “>”. (, see&lt;<http://www.gn)
(#1) HTML Validation error, line 590: A slash was not immediately followed by “>”. (t;<http://www.gnu)
(#1) HTML Validation error, line 590: A slash was not immediately followed by “>”. (;<http://www.gnu.org/license)
(#1) HTML Validation info, line 590: Element name “http:” cannot be represented as XML 1.0. (.gnu.org/licenses/>&gt;.)
(#1) HTML Validation error, line 590: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. (.gnu.org/licenses/>&gt;.)
(#1) HTML Validation error, line 597: A slash was not immediately followed by “>”. ( read&lt;<http://www.gn)
(#1) HTML Validation error, line 597: A slash was not immediately followed by “>”. (t;<http://www.gnu)
(#1) HTML Validation error, line 597: A slash was not immediately followed by “>”. (;<http://www.gnu.org/philoso)
(#1) HTML Validation error, line 597: A slash was not immediately followed by “>”. (.gnu.org/philosophy/why-not)
(#1) HTML Validation info, line 597: Element name “http:” cannot be represented as XML 1.0. (ilosophy/why-not-lgpl.html>&gt;.)
(#1) HTML Validation error, line 598: End tag for “body” seen, but there were unclosed elements. (tml>&gt;.</body></html)
(#1) HTML Validation error, line 597: Unclosed element “http:”. (ilosophy/why-not-lgpl.html>&gt;.)
(#1) HTML Validation error, line 590: Unclosed element “http:”. (.gnu.org/licenses/>&gt;.)
(#1) HTML Validation error, line 578: Unclosed element “name”. () <year> <name of author> T)
(#1) HTML Validation error, line 578: Unclosed element “year”. (right (C) <year> <nam)
(#1) HTML Validation error, line 578: Unclosed element “program”. (ode: <program> Copy)
(#1) HTML Validation error, line 571: Unclosed element “http:”. (.gnu.org/licenses/>.Als)
(#1) HTML Validation error, line 558: Unclosed element “name”. () <year> <name of author> )
(#1) HTML Validation error, line 558: Unclosed element “year”. (right (C) <year> <nam)
(#1) HTML Validation error, line 557: Unclosed element “one”. (e program's name and a brief idea of what it does.> C)
(#1) HTML Validation error, line 7: Unclosed element “http:”. (;<http://fsf.org/>&gt;)
admin/tool/pluginskel/skel/file/locallib.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
admin/tool/pluginskel/skel/file/mod/backup/moodle2/backup_activity_task_class.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/mod/backup/moodle2/backup_settingslib.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
admin/tool/pluginskel/skel/file/mod/backup/moodle2/backup_stepslib.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/mod/backup/moodle2/restore_activity_task_class.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/mod/backup/moodle2/restore_stepslib.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/mod/db_install_xml.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
admin/tool/pluginskel/skel/file/mod/grade.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/mod/index.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/mod/lib.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/mod/mod_form.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/mod/view.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/phpunit.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/qtype/edit_form.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/qtype/question.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/qtype/questiontype.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/qtype/renderer.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/readme.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 22: A slash was not immediately followed by “>”. ( not, see <http://www.gn)
(#1) HTML Validation error, line 22: A slash was not immediately followed by “>”. (e <http://www.gnu)
(#1) HTML Validation error, line 22: A slash was not immediately followed by “>”. ( <http://www.gnu.org/license)
(#1) HTML Validation info, line 22: Element name “http:” cannot be represented as XML 1.0. (.gnu.org/licenses/>.</b)
(#1) HTML Validation error, line 22: Element “http:” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (.gnu.org/licenses/>.</b)
(#1) HTML Validation error, line 22: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag. (.gnu.org/licenses/>.</b)
(#1) HTML Validation error, line 24: End tag for “body” seen, but there were unclosed elements. (enses/>.</body></html)
(#1) HTML Validation error, line 22: Unclosed element “http:”. (.gnu.org/licenses/>.</b)
admin/tool/pluginskel/skel/file/settings.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/theme/config.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/theme/layout.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Non-space characters found without seeing a doctype first. Expected “<!DOCTYPE html>”. (echo $OUTPUT->doctype(); ?><html )
(#1) HTML Validation error, line 2: Element “head” is missing a required instance of child element “title”. (echo $OUTPUT->doctype(); ?><html )
(#1) HTML Validation error, line 3: Saw “<” when expecting an attribute name. Probable cause: Missing “>” immediately before. (ype(); ?><html <?php e)
(#1) HTML Validation error, line 3: Stray start tag “html”. (?><html <?php echo $OUTPUT->htmlat)
(#1) HTML Validation info, line 3: Attribute “<?php” is not serializable as XML 1.0. (?><html <?php echo $OUTPUT->htmlat)
(#1) HTML Validation info, line 3: Attribute “$output-” is not serializable as XML 1.0. (?><html <?php echo $OUTPUT->htmlat)
(#1) HTML Validation error, line 3: Cannot recover after last error. Any further errors will be ignored. (?><html <?php echo $OUTPUT->htmlat)
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (echo $OUTPUT->doctype(); ?><html )
admin/tool/pluginskel/skel/file/theme/stylesheet.mustache
(#1) Example context missing (@template section not found.)
admin/tool/pluginskel/skel/file/version.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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