Prechecker results: warning


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

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

theme/moove/amd/src/themesettings.js
(#46) Expected catch,fail() or return (promise/catch-or-return)
(#49) Each then() should return a value or throw (promise/always-return)
theme/moove/amd/src/themesettings_modal.js
(#77) The function binding is unnecessary. (no-extra-bind)
(#77) Missing space before opening brace. (space-before-blocks)

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

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

theme/moove/templates/columns2.mustache
(#1) HTML Validation error, line 56: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) (> <div class="d-none d-lg-block"> )
(#1) HTML Validation error, line 100: Element “i” is missing one or more of the following attributes: “role”. ( <i id="sidepreopen-control" aria-expanded="false" aria-controls="sidepre-blocks" data-action="toggle-drawer" data-side="right" data-preference="sidepre-open" title="[[ showhideblocks, theme_moove ]]"> )
(#1) HTML Validation info, line 116: Empty heading. ( <h4></h4>)
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html> <html > <)
(#1) ESLint error [semi]: Missing semicolon. ( ), Line: 21 Column: 10
theme/moove/templates/core/custom_menu_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="nav-item"><a cla)
theme/moove/templates/core/loginform.mustache
(#1) HTML Validation error, line 19: The “align” attribute on the “hr” element is obsolete. Use CSS instead. ( <hr align="left" /> )
theme/moove/templates/core_calendar/month_detailed.mustache
(#1) HTML Validation info, line 11: Empty heading. ( <h2 class="current"></h2>)
(#1) HTML Validation error, line 26: Row 1 of a row group established by a “thead” element has no cells beginning on it. ( <tr> </tr> )
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail() or return ( ), Line: 29 Column: 5
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail() or return ( ), Line: 33 Column: 5
(#1) ESLint warning [promise/catch-or-return]: Expected catch,fail() or return ( ), Line: 38 Column: 5
theme/moove/templates/core_course/activity_navigation.mustache
(#1) HTML Validation error, line 14: Bad value “” for attribute “id” on element “form”: An ID must not be the empty string. (s=""> <form method="post" action="#" class="form-inline" id=""> )
(#1) ESLint warning [consistent-return]: Expected to return a value at the end of function. ( ), Line: 4 Column: 76
(#1) ESLint error [no-trailing-spaces]: Trailing spaces not allowed. ( ), Line: 11 Column: 1
theme/moove/templates/course_cover.mustache
(#1) HTML Validation error, line 56: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) (> <div class="d-none d-lg-block"> )
(#1) HTML Validation error, line 104: Element “i” is missing one or more of the following attributes: “role”. ( <i id="sidepreopen-control" aria-expanded="false" aria-controls="sidepre-blocks" data-action="toggle-drawer" data-side="right" data-preference="sidepre-open" title="[[ showhideblocks, theme_moove ]]"> )
(#1) HTML Validation info, line 120: Empty heading. ( <h4></h4>)
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html> <html > <)
(#1) ESLint error [semi]: Missing semicolon. ( ), Line: 21 Column: 10
theme/moove/templates/custom_menu_footer.mustache
(#1) Template produced no content
theme/moove/templates/footer.mustache
(#1) HTML Validation info, line 7: Empty heading. ( <h4></h4>)
theme/moove/templates/frontpage.mustache
(#1) HTML Validation error, line 56: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) (> <div class="d-none d-lg-block"> )
(#1) HTML Validation error, line 99: Element “i” is missing one or more of the following attributes: “role”. ( <i id="sidepreopen-control" aria-expanded="false" aria-controls="sidepre-blocks" data-action="toggle-drawer" data-side="right" data-preference="sidepre-open" title="[[ showhideblocks, theme_moove ]]"> )
(#1) HTML Validation info, line 115: Empty heading. ( <h4></h4>)
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html> <html > <)
(#1) ESLint error [semi]: Missing semicolon. ( ), Line: 21 Column: 10
theme/moove/templates/frontpage_guest.mustache
(#1) HTML Validation error, line 56: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) (> <div class="d-none d-lg-block"> )
(#1) HTML Validation info, line 85: The “form” role is unnecessary for element “form”. ( <form class="signup-form" action="/login/index.php" method="POST" role="form"> )
(#1) HTML Validation error, line 121: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img src="" /> )
(#1) HTML Validation error, line 121: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img src="" /> )
(#1) HTML Validation info, line 122: Empty heading. ( <h2></h2>)
(#1) HTML Validation info, line 123: Empty heading. ( <h3></h3>)
(#1) HTML Validation error, line 130: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img src="" /> )
(#1) HTML Validation error, line 130: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img src="" /> )
(#1) HTML Validation info, line 131: Empty heading. ( <h2></h2>)
(#1) HTML Validation info, line 132: Empty heading. ( <h3></h3>)
(#1) HTML Validation error, line 139: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img src="" /> )
(#1) HTML Validation error, line 139: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img src="" /> )
(#1) HTML Validation info, line 140: Empty heading. ( <h2></h2>)
(#1) HTML Validation info, line 141: Empty heading. ( <h3></h3>)
(#1) HTML Validation error, line 148: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img src="" /> )
(#1) HTML Validation error, line 148: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img src="" /> )
(#1) HTML Validation info, line 149: Empty heading. ( <h2></h2>)
(#1) HTML Validation info, line 150: Empty heading. ( <h3></h3>)
(#1) HTML Validation info, line 176: Empty heading. ( <h4></h4>)
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html> <html > <)
(#1) ESLint error [semi]: Missing semicolon. ( ), Line: 21 Column: 10
theme/moove/templates/frontpage_guest_loginbtn.mustache
(#1) HTML Validation error, line 3: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (d><body><li class="usermenu d-none d-lg-block"> <)
(#1) HTML Validation info, line 13: The “form” role is unnecessary for element “form”. ( <form class="signup-form" action="/login/index.php" method="POST" role="form"> )
(#1) HTML Validation error, line 43: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (iv></li><li class="usermenu d-lg-none"> <)
theme/moove/templates/frontpage_login.mustache
(#1) HTML Validation info, line 4: The “form” role is unnecessary for element “form”. (</h3> <form class="signup-form" action="/login/index.php" method="POST" role="form"> )
theme/moove/templates/frontpage_marketing.mustache
(#1) HTML Validation error, line 7: Bad value “https://iconurl...” for attribute “src” on element “img”: Invalid host: A non-final domain name label (or the whole domain name) is empty.. ( <img src="https://iconurl..." /> )
(#1) HTML Validation error, line 7: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img src="https://iconurl..." /> )
(#1) HTML Validation error, line 11: Bad value “https://marketingurl...” for attribute “href” on element “a”: Invalid host: A non-final domain name label (or the whole domain name) is empty.. ( <a class="btn btn-primary" href="https://marketingurl...">[[read)
(#1) HTML Validation error, line 16: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img src="" /> )
(#1) HTML Validation error, line 16: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img src="" /> )
(#1) HTML Validation info, line 17: Empty heading. ( <h2></h2>)
(#1) HTML Validation info, line 18: Empty heading. ( <h3></h3>)
(#1) HTML Validation error, line 25: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img src="" /> )
(#1) HTML Validation error, line 25: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img src="" /> )
(#1) HTML Validation info, line 26: Empty heading. ( <h2></h2>)
(#1) HTML Validation info, line 27: Empty heading. ( <h3></h3>)
(#1) HTML Validation error, line 34: Bad value “” for attribute “src” on element “img”: Must be non-empty. ( <img src="" /> )
(#1) HTML Validation error, line 34: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img src="" /> )
(#1) HTML Validation info, line 35: Empty heading. ( <h2></h2>)
(#1) HTML Validation info, line 36: Empty heading. ( <h3></h3>)
theme/moove/templates/frontpage_numbers.mustache
(#1) HTML Validation error, line 5: Element “p” not allowed as child of element “h2” in this context. (Suppressing further errors from this subtree.) ( <h2><p>[[ fro)
theme/moove/templates/frontpage_sponsorsclients.mustache
(#1) HTML Validation error, line 7: Bad value “https://sponsorurl...” for attribute “href” on element “a”: Invalid host: A non-final domain name label (or the whole domain name) is empty.. ( <a href="https://sponsorurl..."> )
(#1) HTML Validation error, line 8: Bad value “https://sponsorurl...” for attribute “src” on element “img”: Invalid host: A non-final domain name label (or the whole domain name) is empty.. ( <img src="https://sponsorurl..." title="https://sponsorurl..."/> )
(#1) HTML Validation error, line 18: Bad value “https://clientrurl...” for attribute “href” on element “a”: Invalid host: A non-final domain name label (or the whole domain name) is empty.. ( <a href="https://clientrurl..."> )
(#1) HTML Validation error, line 19: Bad value “https://clientrurl...” for attribute “src” on element “img”: Invalid host: A non-final domain name label (or the whole domain name) is empty.. ( <img src="https://clientrurl..." title="https://clientrurl..."/> )
theme/moove/templates/header.mustache
(#1) HTML Validation error, line 41: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) (> <div class="d-none d-lg-block"> )
theme/moove/templates/inc_end.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: Stray end tag “div”. (y> </div><!-- E)
(#1) HTML Validation info, line 12: Empty heading. ( <h4></h4>)
(#1) HTML Validation error, line 50: Stray end tag “body”. (</html></body></html)
(#1) ESLint error [semi]: Missing semicolon. ( ), Line: 21 Column: 10
theme/moove/templates/inc_start.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Start tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”. (<html ><head)
(#1) HTML Validation error, line 4: Element “title” must not be empty. ( <title></title> <)
(#1) HTML Validation error, line 5: Bad value “” for attribute “href” on element “link”: Must be non-empty. (itle> <link rel="shortcut icon" href="" /> )
(#1) HTML Validation error, line 56: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) (> <div class="d-none d-lg-block"> )
(#1) HTML Validation error, line 72: End of file seen and there were open elements. (per"> )
(#1) HTML Validation error, line 70: Unclosed element “div”. (></nav><div id="page-wrapper"> )
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (<html ><head)
theme/moove/templates/incourse.mustache
(#1) HTML Validation error, line 60: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) ( <div class="d-none d-lg-block"> )
(#1) HTML Validation info, line 117: Empty heading. ( <h4></h4>)
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
theme/moove/templates/login.mustache
(#1) HTML Validation info, line 3: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
theme/moove/templates/maintenance.mustache
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
theme/moove/templates/message_popup/notification_popover.mustache
(#1) HTML Validation error, line 32: Attribute “alt” not allowed on element “i” at this point. (mal-icon"><i class="slicon-check" alt="[[ markallread ]]"></i></)
(#1) HTML Validation error, line 43: Attribute “alt” not allowed on element “i” at this point. ( <i class="slicon-settings" alt="[[ notificationpreferences, message ]]"></i> )
(#1) ESLint warning [no-redeclare]: 'controller' is already defined. ( ), Line: 4 Column: 9
(#1) ESLint warning [new-cap]: A constructor name should not start with a lowercase letter. ( ), Line: 4 Column: 26
theme/moove/templates/mod_forum/forum_post_email_htmlemail.mustache
(#1) HTML Validation error, line 4: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (dy> <style> )
(#1) HTML Validation error, line 16: The “width” attribute on the “table” element is obsolete. Use CSS instead. (yle> <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f6f6f6" style="font-family: Arial, sans-serif;"> )
(#1) HTML Validation error, line 16: The “cellpadding” attribute on the “table” element is obsolete. Use CSS instead. (yle> <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f6f6f6" style="font-family: Arial, sans-serif;"> )
(#1) HTML Validation error, line 16: The “cellspacing” attribute on the “table” element is obsolete. Use CSS instead. (yle> <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f6f6f6" style="font-family: Arial, sans-serif;"> )
(#1) HTML Validation error, line 16: The “bgcolor” attribute on the “table” element is obsolete. Use CSS instead. (yle> <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f6f6f6" style="font-family: Arial, sans-serif;"> )
(#1) HTML Validation error, line 16: The “border” attribute on the “table” element is obsolete. Use CSS instead. (yle> <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f6f6f6" style="font-family: Arial, sans-serif;"> )
(#1) HTML Validation error, line 20: The “width” attribute on the “td” element is obsolete. Use CSS instead. ( <td></td> <td style="display: block !important;max-width: 600px !important;margin: 0 auto !important;clear: both !important;" width="600"> )
(#1) HTML Validation error, line 22: The “width” attribute on the “table” element is obsolete. Use CSS instead. ( <table class="main" width="100%" cellpadding="0" cellspacing="0" style="background: #fff;border: 1px solid #e9e9e9;border-radius: 3px;"> )
(#1) HTML Validation error, line 22: The “cellpadding” attribute on the “table” element is obsolete. Use CSS instead. ( <table class="main" width="100%" cellpadding="0" cellspacing="0" style="background: #fff;border: 1px solid #e9e9e9;border-radius: 3px;"> )
(#1) HTML Validation error, line 22: The “cellspacing” attribute on the “table” element is obsolete. Use CSS instead. ( <table class="main" width="100%" cellpadding="0" cellspacing="0" style="background: #fff;border: 1px solid #e9e9e9;border-radius: 3px;"> )
(#1) HTML Validation error, line 63: The “width” attribute on the “table” element is obsolete. Use CSS instead. ( <table width="100%"> )
theme/moove/templates/mod_forum/forum_post_email_htmlemail_body.mustache
(#1) HTML Validation error, line 3: Element “style” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ody> <style> )
(#1) HTML Validation error, line 15: The “width” attribute on the “table” element is obsolete. Use CSS instead. (yle> <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f6f6f6" style="font-family: Arial, sans-serif;"> )
(#1) HTML Validation error, line 15: The “cellpadding” attribute on the “table” element is obsolete. Use CSS instead. (yle> <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f6f6f6" style="font-family: Arial, sans-serif;"> )
(#1) HTML Validation error, line 15: The “cellspacing” attribute on the “table” element is obsolete. Use CSS instead. (yle> <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f6f6f6" style="font-family: Arial, sans-serif;"> )
(#1) HTML Validation error, line 15: The “bgcolor” attribute on the “table” element is obsolete. Use CSS instead. (yle> <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f6f6f6" style="font-family: Arial, sans-serif;"> )
(#1) HTML Validation error, line 15: The “border” attribute on the “table” element is obsolete. Use CSS instead. (yle> <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f6f6f6" style="font-family: Arial, sans-serif;"> )
(#1) HTML Validation error, line 19: The “width” attribute on the “td” element is obsolete. Use CSS instead. ( <td></td> <td style="display: block !important;max-width: 600px !important;margin: 0 auto !important;clear: both !important;" width="600"> )
(#1) HTML Validation error, line 21: The “width” attribute on the “table” element is obsolete. Use CSS instead. ( <table class="main" width="100%" cellpadding="0" cellspacing="0" style="background: #fff;border: 1px solid #e9e9e9;border-radius: 3px;"> )
(#1) HTML Validation error, line 21: The “cellpadding” attribute on the “table” element is obsolete. Use CSS instead. ( <table class="main" width="100%" cellpadding="0" cellspacing="0" style="background: #fff;border: 1px solid #e9e9e9;border-radius: 3px;"> )
(#1) HTML Validation error, line 21: The “cellspacing” attribute on the “table” element is obsolete. Use CSS instead. ( <table class="main" width="100%" cellpadding="0" cellspacing="0" style="background: #fff;border: 1px solid #e9e9e9;border-radius: 3px;"> )
(#1) HTML Validation error, line 62: The “width” attribute on the “table” element is obsolete. Use CSS instead. ( <table width="100%"> )
theme/moove/templates/mydashboard.mustache
(#1) HTML Validation error, line 56: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) (> <div class="d-none d-lg-block"> )
(#1) HTML Validation error, line 97: Element “i” is missing one or more of the following attributes: “role”. ( <i id="sidepreopen-control" aria-expanded="false" aria-controls="sidepre-blocks" data-action="toggle-drawer" data-side="right" data-preference="sidepre-open" title="[[ showhideblocks, theme_moove ]]"> )
(#1) HTML Validation info, line 113: Empty heading. ( <h4></h4>)
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html> <html > <)
(#1) ESLint error [semi]: Missing semicolon. ( ), Line: 21 Column: 10
theme/moove/templates/mydashboard_admin.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 10: Empty heading. ( <h3></h3>)
(#1) HTML Validation info, line 38: Empty heading. ( <h3></h3>)
(#1) HTML Validation info, line 52: Empty heading. ( <h3></h3>)
theme/moove/templates/mypublic.mustache
(#1) HTML Validation error, line 56: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) (> <div class="d-none d-lg-block"> )
(#1) HTML Validation error, line 125: Element “i” is missing one or more of the following attributes: “role”. ( <i id="sidepreopen-control" aria-expanded="false" aria-controls="sidepre-blocks" data-action="toggle-drawer" data-side="right" data-preference="sidepre-open" title="[[ showhideblocks, theme_moove ]]"> )
(#1) HTML Validation info, line 141: Empty heading. ( <h4></h4>)
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
(#1) ESLint error [semi]: Missing semicolon. ( ), Line: 21 Column: 10
theme/moove/templates/slideshow.mustache
(#1) HTML Validation error, line 8: Bad value “https://slideurl...” for attribute “src” on element “img”: Invalid host: A non-final domain name label (or the whole domain name) is empty.. ( <img class="d-block w-100 animated fadeIn" src="https://slideurl..."> )
(#1) HTML Validation error, line 8: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. ( <img class="d-block w-100 animated fadeIn" src="https://slideurl..."> )
(#1) ESLint error [no-unused-vars]: 'carousel' is defined but never used. ( ), Line: 2 Column: 75
(#1) ESLint error [semi]: Missing semicolon. ( ), Line: 7 Column: 11
(#1) ESLint error [no-trailing-spaces]: Trailing spaces not allowed. ( ), Line: 8 Column: 1
theme/moove/templates/themesettings_modal.mustache
(#1) HTML Validation error, line 18: The first child “option” element of a “select” element with a “required” attribute, and without a “multiple” attribute, and without a “size” attribute whose value is greater than “1”, must have either an empty “value” attribute, or must have no text content. Consider either adding a placeholder option label, or adding a “size” attribute with a value equal to the number of “option” elements. ( <option value="default">[[them)

Gherkin .feature problems

(0 errors, 0 warnings)

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