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

(2 errors, 1 warnings)

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

theme/trema/classes/output/core/course_renderer.php
(#261) Functions must not contain multiple empty lines in a row; found 2 empty lines
theme/trema/lang/de/theme_trema.php
(#49) The string key "defaultfooter" is not in the correct order, it should be before "defaultfooter_desc"
theme/trema/lang/en/theme_trema.php
(#167) The string key "link" is duplicated

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

(44 errors, 12 warnings)

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

theme/trema/scss/defaultvariables.scss
(#3) Expected "#ffffff" to be "#fff" (color-hex-length)
(#13) Expected "#000000" to be "#000" (color-hex-length)
theme/trema/scss/fonts/Roboto.scss
(#65) Expected empty line before at-rule (at-rule-empty-line-before)
theme/trema/scss/trema/admin.scss
(#82) Expected "#ffffff" to be "#fff" (color-hex-length)
theme/trema/scss/trema/courselist.scss
(#86) Expected single space before "!" (declaration-bang-space-before)
(#86) Unexpected !important (declaration-no-important)
(#51) Unexpected unit (length-zero-no-unit)
(#49) Expected newline after "," (selector-list-comma-newline-after)
(#52) Expected indentation of 8 spaces (indentation)
theme/trema/scss/trema/elements.scss
(#269) Unexpected whitespace before ";" (declaration-block-semicolon-space-before)
(#214) Unexpected !important (declaration-no-important)
(#518) Unexpected !important (declaration-no-important)
(#519) Unexpected !important (declaration-no-important)
(#523) Unexpected !important (declaration-no-important)
(#524) Unexpected !important (declaration-no-important)
(#527) Unexpected !important (declaration-no-important)
(#528) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/footer.scss
(#121) Expected "#ffffff" to be "#fff" (color-hex-length)
(#138) Expected "#000000" to be "#000" (color-hex-length)
(#120) Unexpected !important (declaration-no-important)
(#121) Unexpected !important (declaration-no-important)
(#141) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/frontpage.scss
(#239) Unexpected !important (declaration-no-important)
(#306) Expected indentation of 4 spaces (indentation)
theme/trema/scss/trema/header.scss
(#148) Expected single space before "!" (declaration-bang-space-before)
(#148) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#29) Unexpected !important (declaration-no-important)
(#33) Unexpected !important (declaration-no-important)
(#148) Unexpected !important (declaration-no-important)
(#291) Unexpected !important (declaration-no-important)
(#292) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/incourse.scss
(#188) Expected single space before "!" (declaration-bang-space-before)
(#188) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/login.scss
(#10) Expected "#ffffff" to be "#fff" (color-hex-length)
(#91) Expected "#aaaaaa" to be "#aaa" (color-hex-length)
(#25) Unexpected !important (declaration-no-important)
(#82) Unexpected !important (declaration-no-important)
(#90) Unexpected !important (declaration-no-important)
(#91) Unexpected !important (declaration-no-important)
(#92) Unexpected !important (declaration-no-important)
(#93) Unexpected !important (declaration-no-important)
(#176) Unexpected !important (declaration-no-important)
(#203) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/main.scss
(#347) Expected "#ffffff" to be "#fff" (color-hex-length)
(#88) Unexpected !important (declaration-no-important)
(#50) Unexpected unknown type selector "selection" (selector-type-no-unknown)
theme/trema/scss/trema/message.scss
(#54) Expected "#ffffff" to be "#fff" (color-hex-length)
(#59) Expected "#ffffff" to be "#fff" (color-hex-length)
(#7) Unexpected !important (declaration-no-important)
(#56) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/modules.scss
(#78) Unexpected !important (declaration-no-important)
(#158) Unexpected !important (declaration-no-important)
(#178) Unexpected !important (declaration-no-important)
(#212) Unexpected !important (declaration-no-important)
(#213) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/user.scss
(#5) Expected "#ffffff" to be "#fff" (color-hex-length)

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

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

theme/trema/templates/admin_setting_styleguide.mustache
(#1) HTML Validation info, line 358: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections, or else use a “div” element instead for any cases where no heading is needed. (tion> <section> )
theme/trema/templates/columns2.mustache
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (itle> <link rel="shortcut icon" href="favicon.ico" /> )
(#1) HTML Validation info, line 89: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections, or else use a “div” element instead for any cases where no heading is needed. ( <section class="col-12 footer-info"> )
(#1) HTML Validation info, line 93: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections, or else use a “div” element instead for any cases where no heading is needed. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info"> )
(#1) HTML Validation info, line 96: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections, or else use a “div” element instead for any cases where no heading is needed. ( <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.
(#1) HTML Validation info, line 15: Empty heading. ( <h3 class="modal-title" id="modal-title-would-be-a-uniqid"></h3>)
theme/trema/templates/drawers.mustache
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (itle> <link rel="shortcut icon" href="favicon.ico" /> )
(#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/footer.mustache
(#1) Example context missing.
(#1) HTML Validation info, line 5: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections, or else use a “div” element instead for any cases where no heading is needed. ( <section class="col-12 footer-info"> )
(#1) HTML Validation info, line 9: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections, or else use a “div” element instead for any cases where no heading is needed. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info"> )
(#1) HTML Validation info, line 12: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections, or else use a “div” element instead for any cases where no heading is needed. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info smalltext d-none"> )
theme/trema/templates/frontpage.mustache
(#1) HTML Validation info, line 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (itle> <link rel="shortcut icon" href="favicon.ico" /> )
(#1) HTML Validation info, line 114: Consider using the “h1” element as a top-level heading only (all “h1” elements are treated as top-level headings by many screen readers and other tools). ( <h1>Headin)
(#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/frontpage_cards.mustache
(#1) Example context missing.
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 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (itle> <link rel="shortcut icon" href="favicon.ico" /> )
(#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 5: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (itle> <link rel="shortcut icon" href="favicon.ico" /> )
(#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.
theme/trema/templates/navbar.mustache
(#1) Example context missing.
theme/trema/templates/navbar_login.mustache
(#1) Example context missing.
(#1) Template produced no content

Gherkin .feature problems

(0 errors, 0 warnings)

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