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

(3 errors, 0 warnings)

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

theme/trema/lib.php
(#372) File must end with a newline character
theme/trema/settings/styleguide_settings.php
(#41) File must end with a newline character
theme/trema/trema_admin_settings_styleguide.php
(#68) File must end with a newline character

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

(8 errors, 1 warnings)

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

theme/trema/scss/trema/courselist.scss
(#38) Expected empty line before at-rule (at-rule-empty-line-before)
theme/trema/scss/trema/drawer.scss
(#63) Expected single space before "{" (block-opening-brace-space-before)
theme/trema/scss/trema/main.scss
(#195) Expected newline after "}" (block-closing-brace-newline-after)
(#210) Expected line length to be no more than 132 characters (max-line-length)
theme/trema/scss/trema/modules.scss
(#78) Unexpected !important (declaration-no-important)
(#158) Unexpected !important (declaration-no-important)
(#178) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/topics.scss
(#8) Invalid value for `float` (csstree/validator)
(#109) Expected no more than 2 empty lines (max-empty-lines)

PHPDocs style problems

(1 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

theme/trema/lib.php
(#303) Phpdocs for function theme_trema_setting_file_url has incomplete parameters list

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:scss" 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, 35 warnings)

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

theme/trema/templates/columns2.mustache
(#1) HTML Validation error, line 33: 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 86: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info"> )
(#1) HTML Validation info, line 92: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 footer-info"> )
(#1) HTML Validation info, line 96: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info smalltext d-none"> )
(#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/trema/templates/course_summary_modal.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 15: Empty heading. (> <h5 class="modal-title" id="modal-title-would-be-a-uniqid"></h5>)
theme/trema/templates/footer.mustache
(#1) Example context missing.
(#1) HTML Validation info, line 10: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info"> )
(#1) HTML Validation info, line 16: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 footer-info"> )
(#1) HTML Validation info, line 20: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info smalltext d-none"> )
theme/trema/templates/frontpage.mustache
(#1) Example context missing.
(#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 32: 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 70: Empty heading. ( <h2 class="pb-4 pl-3 mb-3"></h2>)
(#1) HTML Validation info, line 71: Empty heading. ( <h3 class="mb-3"></h3>)
(#1) HTML Validation info, line 80: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section id="region-main" > )
(#1) HTML Validation info, line 109: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info"> )
(#1) HTML Validation info, line 115: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 footer-info"> )
(#1) HTML Validation info, line 119: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info smalltext d-none"> )
(#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/trema/templates/frontpage_settings_menu.mustache
(#1) Example context missing.
(#1) Template produced no content
theme/trema/templates/login.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/trema/templates/mydashboard.mustache
(#1) HTML Validation error, line 32: 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 88: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info"> )
(#1) HTML Validation info, line 94: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 footer-info"> )
(#1) HTML Validation info, line 98: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info smalltext d-none"> )
(#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/trema/templates/mydashboard_admin.mustache
(#1) Example context missing.
(#1) HTML Validation info, line 7: Empty heading. ( <h4></h4>)
theme/trema/templates/navbar.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 19: 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 5: The “aria-controls” attribute must point to an element in the same document. ( <button aria-expanded="false" aria-controls="nav-drawer" type="button" class="btn nav-link float-sm-left mr-1 btn-secondary" data-action="toggle-drawer" data-side="left" data-preference="drawer-open-nav"><img s)

Gherkin .feature problems

(0 errors, 0 warnings)

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