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

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

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


CSS problems

(3 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]

course/format/cards/styles.css
(#240) Invalid value for "font-size" (csstree/validator)
(#117) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#112) Unexpected !important (declaration-no-important)

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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 18 warnings)

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

course/format/cards/templates/local/content.mustache
(#1) HTML Validation error, line 41: Bad value “” for attribute “id” on element “li”: An ID must not be the empty string. ( <li class="activity forum modtype_forum newmessages " id="" data-for="cmitem" data-id="3" > )
(#1) HTML Validation error, line 138: 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-35-title" data-for="section_title" data-id="35" data-number="1"> )
(#1) HTML Validation error, line 159: Duplicate ID “”. ( <li class="activity forum modtype_forum newmessages " id="" data-for="cmitem" data-id="3" > )
(#1) HTML Validation info, line 41: The first occurrence of ID “” was here. ( <li class="activity forum modtype_forum newmessages " id="" data-for="cmitem" data-id="3" > )
(#1) HTML Validation error, line 159: Bad value “” for attribute “id” on element “li”: An ID must not be the empty string. ( <li class="activity forum modtype_forum newmessages " id="" data-for="cmitem" data-id="3" > )
(#1) HTML Validation error, line 231: 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-36-title" data-for="section_title" data-id="36" data-number="4"> )
(#1) HTML Validation error, line 252: Duplicate ID “”. ( <li class="activity forum modtype_forum newmessages " id="" data-for="cmitem" data-id="5" > )
(#1) HTML Validation info, line 41: The first occurrence of ID “” was here. ( <li class="activity forum modtype_forum newmessages " id="" data-for="cmitem" data-id="3" > )
(#1) HTML Validation error, line 252: Bad value “” for attribute “id” on element “li”: An ID must not be the empty string. ( <li class="activity forum modtype_forum newmessages " id="" data-for="cmitem" data-id="5" > )
(#1) HTML Validation error, line 321: Duplicate ID “section-1”. ( <li id="section-1" class="section course-section main clearfix current " data-sectionid="1" data-sectionreturnnum="" data-for="section" data-id="35" data-number="1" data-sectionname="" > )
(#1) HTML Validation info, line 78: The first occurrence of ID “section-1” was here. ( <li id="section-1" class="section course-section main clearfix current " data-sectionid="1" data-sectionreturnid="" data-sectionreturnnum="" data-for="section" data-id="35" data-number="1" data-sectionname="" > )
(#1) HTML Validation error, line 338: Duplicate ID “collapsesectionid35”. ( <a role="button" data-bs-toggle="collapse" data-for="sectiontoggler" href="#coursecontentcollapseid35" id="collapsesectionid35" aria-expanded="true" aria-controls="coursecontentcollapseid35" class="btn btn-icon me-3 icons-collapse-expand " aria-label="Single Section Example"> )
(#1) HTML Validation info, line 126: The first occurrence of ID “collapsesectionid35” was here. ( <a role="button" data-bs-toggle="collapse" data-for="sectiontoggler" href="#coursecontentcollapseid35" id="collapsesectionid35" aria-expanded="true" aria-controls="coursecontentcollapseid35" class="btn btn-icon me-3 icons-collapse-expand " aria-label="Section title"> )
(#1) HTML Validation error, line 350: Duplicate ID “sectionid-35-title”. ( <h class="h4 sectionname course-content-item d-flex align-self-stretch align-items-center mb-0" id="sectionid-35-title" data-for="section_title" data-id="35" data-number="1"> )
(#1) HTML Validation info, line 138: The first occurrence of ID “sectionid-35-title” was here. ( <h class="h4 sectionname course-content-item d-flex align-self-stretch align-items-center mb-0" id="sectionid-35-title" data-for="section_title" data-id="35" data-number="1"> )
(#1) HTML Validation error, line 350: 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-35-title" data-for="section_title" data-id="35" data-number="1"> )
(#1) HTML Validation error, line 359: Duplicate ID “coursecontentcollapseid35”. ( <div id="coursecontentcollapseid35" class="content course-content-item-content collapse show"> )
(#1) HTML Validation info, line 147: The first occurrence of ID “coursecontentcollapseid35” was here. ( <div id="coursecontentcollapseid35" class="content course-content-item-content collapse show"> )
(#1) HTML Validation error, line 371: Duplicate ID “”. ( <li class="activity assign modtype_assign " id="" data-for="cmitem" data-id="4" > )
(#1) HTML Validation info, line 41: The first occurrence of ID “” was here. ( <li class="activity forum modtype_forum newmessages " id="" data-for="cmitem" data-id="3" > )
(#1) HTML Validation error, line 371: Bad value “” for attribute “id” on element “li”: An ID must not be the empty string. ( <li class="activity assign modtype_assign " id="" data-for="cmitem" data-id="4" > )
course/format/cards/templates/local/content/availability.mustache
(#1) Template produced no content
course/format/cards/templates/local/content/delegatedsection.mustache
(#1) HTML Validation error, line 14: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (> <li id="section-1" class="section course-section main clearfix " data-sectionid="1" data-sectionreturnid="0" data-sectionreturnnum="" data-for="section" data-id="1234" data-number="1" data-sectionname="" > )
course/format/cards/templates/local/content/section.mustache
(#1) HTML Validation error, line 14: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (body> <li id="section-3" class="section course-section main clearfix current " data-sectionid="3" data-sectionreturnid="0" data-sectionreturnnum="0" data-for="section" data-id="35" data-number="3" data-sectionname="" > )
course/format/cards/templates/local/content/section/card.mustache
(#1) HTML Validation error, line 9: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li class="card dashboard-card extra css classes" role="listitem" aria-labelledby="section-1-title" data-sectionid="1" data-sectionreturnid="0" data-for="section" data-id="1234" data-number="1"> )
(#1) HTML Validation info, line 9: The “listitem” role is unnecessary for element “li”. (ad><body><li class="card dashboard-card extra css classes" role="listitem" aria-labelledby="section-1-title" data-sectionid="1" data-sectionreturnid="0" data-for="section" data-id="1234" data-number="1"> )
(#1) HTML Validation error, line 9: An element with “role=listitem” must be contained in, or owned by, an element with “role=list” or “role=group”. (ad><body><li class="card dashboard-card extra css classes" role="listitem" aria-labelledby="section-1-title" data-sectionid="1" data-sectionreturnid="0" data-for="section" data-id="1234" data-number="1"> )

Gherkin .feature problems

(0 errors, 0 warnings)

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