Prechecker results: warning


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

(0 errors, 2 warnings)

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

course/format/tiles/amd/src/completion.js
(#77) Do not nest ternary expressions. (no-nested-ternary)
course/format/tiles/amd/src/course.js
(#724) Function has a complexity of 21. Maximum allowed is 20. (complexity)

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

This section shows problems detected with the handling of upgrade savepoints [More info]

course/format/tiles/db/upgrade.php
Detected fewer 'if' blocks (6) than 'savepoint' calls (7). Repeated savepoints?

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

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

course/format/tiles/templates/above_tiles_buttons.mustache
(#1) Example context missing (@template section not found.)
course/format/tiles/templates/course_module.mustache
(#1) HTML Validation error, line 12: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (y> <li class="activity fullwidth label modtype_label cursorpointer " id="module-123456" data-modtype="label" data-cmid="123456" data-completion="" data-modinstance="" data-contextid="" data-title="" data-modal="pdf" data-completion-state="1" > )
course/format/tiles/templates/course_module_subtile_inner.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 12: Empty heading. ( <h5></h5>)
course/format/tiles/templates/course_modules.mustache
(#1) HTML Validation error, line 13: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) ( <li class="activity fullwidth label modtype_label cursorpointer " id="module-123456" data-modtype="label" data-cmid="123456" data-completion="" data-modinstance="" data-contextid="" data-title="" data-modal="pdf" data-completion-state="1" > )
course/format/tiles/templates/course_modules_subsection.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 25: Element “h” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.) (> <h class="h4 sectionname course-content-item d-flex align-self-stretch align-items-center mb-0" id="sectionid--title" data-for="section_title" data-id="" data-number=""> )
course/format/tiles/templates/local/content/section.mustache
(#1) HTML Validation error, line 12: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li id="section-3" class="section course-section main clearfix current tilestyle- " data-sectionid="3" data-sectionreturnid="0" data-for="section" data-id="35" data-number="3"> <)
(#1) HTML Validation error, line 143: Duplicate ID “cmCheckbox”. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
(#1) HTML Validation info, line 94: The first occurrence of ID “cmCheckbox” was here. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
course/format/tiles/templates/local/content/section/cmitem.mustache
(#1) HTML Validation error, line 15: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li class="activity activity-wrapper forum modtype_forum unclickable mod_ newmessages " id="module-3" data-for="cmitem" data-id="3" data-cmid="" data-contextid="" data-modinstance="" data-modtype="" data-title="" data-completion=""> )
course/format/tiles/templates/local/content/section/cmlist.mustache
(#1) HTML Validation error, line 74: Duplicate ID “cmCheckbox”. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
(#1) HTML Validation info, line 29: The first occurrence of ID “cmCheckbox” was here. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
course/format/tiles/templates/local/content/section/content.mustache
(#1) HTML Validation error, line 42: Stray end tag “div”. ( </div></div><div )
(#1) HTML Validation error, line 127: Duplicate ID “cmCheckbox”. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
(#1) HTML Validation info, line 78: The first occurrence of ID “cmCheckbox” was here. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
(#1) HTML Validation error, line 157: End tag for “body” seen, but there were unclosed elements. (esource]</body></html)
(#1) HTML Validation error, line 44: Unclosed element “div”. (></div><div id="coursecontentcollapse3" class="content "> <)
course/format/tiles/templates/multi_section_tile.mustache
(#1) HTML Validation error, line 4: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (d><body><li class="tile current " id="tile-3" data-section="3" data-true-sectionid="" > <)
course/format/tiles/templates/single_section.mustache
(#1) HTML Validation error, line 2: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li id="section-1" data-section="1" data-sectionid="101" class="section course-section main clearfix"> <)
course/format/tiles/templates/tilenumber.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 2: Empty heading. (ad><body><h2 class="tile-number" data-number=""></h2>)

Gherkin .feature problems

(0 errors, 0 warnings)

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