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

(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

(5 errors, 0 warnings)

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

course/format/cards/styles.css
(#126) Invalid value for `font-size` (csstree/validator)
(#57) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#52) Unexpected !important (declaration-no-important)
(#2) Unexpected unknown property "aspect-ratio" (property-no-unknown)
(#8) Unexpected unknown property "aspect-ratio" (property-no-unknown)

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

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

course/format/cards/templates/local/content.mustache
(#1) HTML Validation error, line 42: Bad value “” for attribute “id” on element “li”: An ID must not be the empty string. ( <li class="activity activity-wrapper forum modtype_forum newmessages " id="" data-for="cmitem" data-id="3" > )
(#1) HTML Validation error, line 73: Element “li” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.) ( <li id="section-1" class="section course-section main clearfix current " data-sectionid="1" data-sectionreturnid="" data-for="section" data-id="35" data-number="1" > )
(#1) HTML Validation error, line 124: Duplicate ID “”. ( <li class="activity activity-wrapper forum modtype_forum newmessages " id="" data-for="cmitem" data-id="3" > )
(#1) HTML Validation info, line 42: The first occurrence of ID “” was here. ( <li class="activity activity-wrapper forum modtype_forum newmessages " id="" data-for="cmitem" data-id="3" > )
(#1) HTML Validation error, line 151: Element “li” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.) ( <li id="section-4" class="section course-section main clearfix current " data-sectionid="4" data-sectionreturnid="" data-for="section" data-id="36" data-number="4" > )
(#1) HTML Validation error, line 202: Duplicate ID “”. ( <li class="activity activity-wrapper forum modtype_forum newmessages " id="" data-for="cmitem" data-id="5" > )
(#1) HTML Validation info, line 42: The first occurrence of ID “” was here. ( <li class="activity activity-wrapper forum modtype_forum newmessages " id="" data-for="cmitem" data-id="3" > )
(#1) HTML Validation error, line 244: Duplicate ID “section-1”. ( <li id="section-1" class="section course-section main clearfix current " data-sectionid="1" data-sectionreturnid="" data-for="section" data-id="35" data-number="1" > )
(#1) HTML Validation info, line 73: 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-for="section" data-id="35" data-number="1" > )
(#1) HTML Validation error, line 260: Duplicate ID “collapssesection1”. ( <a role="button" data-toggle="collapse" href="#coursecontentcollapse1" id="collapssesection1" aria-expanded="true" aria-controls="coursecontentcollapse1" class="btn btn-icon mr-1 icons-collapse-expand justify-content-center stretched-link " aria-label="Single Section Example"> )
(#1) HTML Validation info, line 89: The first occurrence of ID “collapssesection1” was here. ( <a role="button" data-toggle="collapse" href="#coursecontentcollapse1" id="collapssesection1" aria-expanded="true" aria-controls="coursecontentcollapse1" class="btn btn-icon mr-1 icons-collapse-expand justify-content-center stretched-link " aria-label="Section title"> )
(#1) HTML Validation error, line 270: Duplicate ID “coursecontentsection1”. ( <h3 class="sectionid-35-title sectionname course-content-item d-flex align-self-stretch align-items-center mb-0" id="coursecontentsection1" data-for="section_title" data-id="35" data-number="1"> )
(#1) HTML Validation info, line 99: The first occurrence of ID “coursecontentsection1” was here. ( <h3 class="sectionid-35-title sectionname course-content-item d-flex align-self-stretch align-items-center mb-0" id="coursecontentsection1" data-for="section_title" data-id="35" data-number="1"> )
(#1) HTML Validation error, line 281: Duplicate ID “coursecontentcollapse1”. ( <div id="coursecontentcollapse1" class="content course-content-item-content collapse show "> )
(#1) HTML Validation info, line 110: The first occurrence of ID “coursecontentcollapse1” was here. ( <div id="coursecontentcollapse1" class="content course-content-item-content collapse show "> )
(#1) HTML Validation error, line 295: Duplicate ID “”. ( <li class="activity activity-wrapper assign modtype_assign " id="" data-for="cmitem" data-id="4" > )
(#1) HTML Validation info, line 42: The first occurrence of ID “” was here. ( <li class="activity activity-wrapper forum modtype_forum newmessages " id="" data-for="cmitem" data-id="3" > )
(#1) HTML Validation error, line 295: Bad value “” for attribute “id” on element “li”: An ID must not be the empty string. ( <li class="activity activity-wrapper assign modtype_assign " id="" data-for="cmitem" data-id="4" > )
course/format/cards/templates/local/content/section-card.mustache
(#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><div 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]