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

(3 errors, 0 warnings)

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

local/shopping_cart/babel.config.js
(#1) 'module' is not defined. (no-undef)
local/shopping_cart/jest.config.js
(#1) 'module' is not defined. (no-undef)
local/shopping_cart/tests/jest/checkout_manager.test.js
(#1) Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

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

(1 errors, 8 warnings)

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

local/shopping_cart/templates/cashier.mustache
(#1) HTML Validation error, line 44: No “p” element in scope but a “p” end tag seen. ( </p> )
(#1) HTML Validation error, line 156: Duplicate ID “item-mod_booking-main-3”. ( <div id="item-mod_booking-main-3" class="shopping-cart-item clearfix" data-price='133' data-name='Tenniscourse' data-component='mod_booking' data-area='main' data-itemid='3' data-item="shopping_cart_item" data-currency='EUR' data-userid='3588'> )
(#1) HTML Validation info, line 62: The first occurrence of ID “item-mod_booking-main-3” was here. ( <div id="item-mod_booking-main-3" class="shopping-cart-item clearfix" data-price='133' data-name='Tenniscourse' data-component='mod_booking' data-area='main' data-itemid='3' data-item="shopping_cart_item" data-currency='EUR' data-userid='3588'> )
(#1) HTML Validation error, line 201: No “p” element in scope but a “p” end tag seen. ( </p> )
(#1) HTML Validation error, line 231: Duplicate ID “item-mod_booking-main-3”. ( <div id="item-mod_booking-main-3" class="shopping-cart-item clearfix" data-price='133' data-name='Tenniscourse' data-component='mod_booking' data-area='main' data-itemid='3' data-item="shopping_cart_item" data-currency='EUR' data-userid='3588'> )
(#1) HTML Validation info, line 62: The first occurrence of ID “item-mod_booking-main-3” was here. ( <div id="item-mod_booking-main-3" class="shopping-cart-item clearfix" data-price='133' data-name='Tenniscourse' data-component='mod_booking' data-area='main' data-itemid='3' data-item="shopping_cart_item" data-currency='EUR' data-userid='3588'> )
(#1) HTML Validation error, line 301: Element “button” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) ( <button type="button" class="shopping_cart_history_creditsmanager btn btn-secondary m-1 btn-sm w-50" data-userid='3588'> )
local/shopping_cart/templates/form-user-selector-suggestion.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
local/shopping_cart/templates/history_item.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 class="list-group-item flex-column align-items-start text-dark"> <)
local/shopping_cart/templates/shopping_cart_popover.mustache
(#1) HTML Validation error, line 15: Attribute “aria-name” not allowed on element “i” at this point. ( <i class="fa fa-shopping-cart" title="Shopping cart menu" aria-name="Shopping cart menu"></i> )
(#1) HTML Validation info, line 17: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) (> <div id="itemcount" class="count-container " data-region="count-container" aria-label="Count: 1">1</div)
(#1) HTML Validation error, line 28: Attribute “aria-name” not allowed on element “i” at this point. ("> <i class="fa fa-3x fa-shopping-cart" aria-name="Shopping cart"></i> )

Gherkin .feature problems

(0 errors, 0 warnings)

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