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

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

course/format/tiles/classes/output/course_output.php
(#145) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $courserenderer.

Javascript coding style problems

(0 errors, 8 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
(#663) Function has a complexity of 21. Maximum allowed is 20. (complexity)
course/format/tiles/format.js
(#24) Identifier 'get_config' is not in camel case. (camelcase)
(#26) Identifier 'container_node' is not in camel case. (camelcase)
(#27) Identifier 'container_class' is not in camel case. (camelcase)
(#28) Identifier 'section_node' is not in camel case. (camelcase)
(#29) Identifier 'section_class' is not in camel case. (camelcase)
(#45) Identifier 'process_sections' is not in camel case. (camelcase)

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, 15 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 purpose_ " 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 11: 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 purpose_ " 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/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 139: Duplicate ID “cmCheckbox”. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
(#1) HTML Validation info, line 90: 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 38: Stray end tag “div”. ( </div></div><div )
(#1) HTML Validation error, line 123: Duplicate ID “cmCheckbox”. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
(#1) HTML Validation info, line 74: 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 153: End tag for “body” seen, but there were unclosed elements. (esource]</body></html)
(#1) HTML Validation error, line 40: Unclosed element “div”. (v></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/single_section_page.mustache
(#1) HTML Validation info, line 37: Empty heading. ( <h2></h2>)
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]