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

(6 errors, 0 warnings)

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

course/format/cards/styles.css
(#202) Invalid value for `font-size` (csstree/validator)
(#74) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#69) Unexpected !important (declaration-no-important)
(#10) Unexpected unknown property "aspect-ratio" (property-no-unknown)
(#16) Unexpected unknown property "aspect-ratio" (property-no-unknown)
(#21) 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, 36 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 info, line 51: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" /> )
(#1) HTML Validation error, line 160: 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 160: 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 169: Duplicate ID “cmCheckbox”. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" /> )
(#1) HTML Validation info, line 51: The first occurrence of ID “cmCheckbox” was here. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" /> )
(#1) HTML Validation info, line 169: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" /> )
(#1) HTML Validation error, line 256: 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 256: 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="5" > )
(#1) HTML Validation error, line 265: Duplicate ID “cmCheckbox”. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" /> )
(#1) HTML Validation info, line 51: The first occurrence of ID “cmCheckbox” was here. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" /> )
(#1) HTML Validation info, line 265: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" /> )
(#1) HTML Validation error, line 310: 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 84: 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 327: Duplicate ID “collapssesection1”. ( <a role="button" data-toggle="collapse" data-for="sectiontoggler" 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 125: The first occurrence of ID “collapssesection1” was here. ( <a role="button" data-toggle="collapse" data-for="sectiontoggler" 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 337: Duplicate ID “sectionid-35-title”. ( <h3 class="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 135: The first occurrence of ID “sectionid-35-title” was here. ( <h3 class="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 348: Duplicate ID “coursecontentcollapse1”. ( <div id="coursecontentcollapse1" class="content course-content-item-content collapse show "> )
(#1) HTML Validation info, line 146: The first occurrence of ID “coursecontentcollapse1” was here. ( <div id="coursecontentcollapse1" class="content course-content-item-content collapse show "> )
(#1) HTML Validation error, line 362: 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 362: 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" > )
(#1) HTML Validation error, line 371: Duplicate ID “cmCheckbox”. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" /> )
(#1) HTML Validation info, line 51: The first occurrence of ID “cmCheckbox” was here. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" /> )
(#1) HTML Validation info, line 371: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" /> )
course/format/cards/templates/local/content/availability.mustache
(#1) Template produced no content
course/format/cards/templates/local/content/section.mustache
(#1) HTML Validation error, line 11: 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-for="section" data-id="35" data-number="3" > )
(#1) HTML Validation info, line 78: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" /> )
(#1) HTML Validation error, line 116: 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 info, line 116: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" /> )
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]