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

(9 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/header.scss
(#134) Expected newline after "," (selector-list-comma-newline-after)
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, 32 warnings)

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

theme/trema/templates/columns2.mustache
(#1) HTML Validation info, line 85: 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 91: 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 95: 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 info, line 69: Empty heading. ( <h2 class="pb-4 pl-3 mb-3"></h2>)
(#1) HTML Validation info, line 70: Empty heading. ( <h3 class="mb-3"></h3>)
(#1) HTML Validation info, line 79: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section id="region-main" > )
(#1) HTML Validation info, line 108: 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 114: 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 118: 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 info, line 87: 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 93: 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 97: 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 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)
theme/trema/templates/navbar_login.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content

Gherkin .feature problems

(0 errors, 0 warnings)

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