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

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

theme/trema/lang/de/theme_trema.php
(#47) The string key "defaultfooter" is not in the correct order, it should be before "defaultfooter_default"

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

(59 errors, 14 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)
(#16) Expected "#330099" to be "#309" (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
(#284) Unexpected whitespace before ";" (declaration-block-semicolon-space-before)
(#101) Unexpected !important (declaration-no-important)
(#176) Unexpected !important (declaration-no-important)
(#229) Unexpected !important (declaration-no-important)
(#536) Unexpected !important (declaration-no-important)
(#537) Unexpected !important (declaration-no-important)
(#541) Unexpected !important (declaration-no-important)
(#542) Unexpected !important (declaration-no-important)
(#545) Unexpected !important (declaration-no-important)
(#546) Unexpected !important (declaration-no-important)
(#176) Expected indentation of 8 spaces (indentation)
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
(#83) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#237) Unexpected !important (declaration-no-important)
(#299) Expected indentation of 4 spaces (indentation)
(#300) Expected indentation of 4 spaces (indentation)
theme/trema/scss/trema/header.scss
(#238) Unknown property `text-wrap` (csstree/validator)
(#253) Invalid value for "width" (csstree/validator)
(#257) Unknown property `text-wrap` (csstree/validator)
(#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)
(#309) Unexpected !important (declaration-no-important)
(#310) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/incourse.scss
(#188) Expected single space before "!" (declaration-bang-space-before)
(#194) Expected single space before "!" (declaration-bang-space-before)
(#197) Expected single space before "!" (declaration-bang-space-before)
(#188) Unexpected !important (declaration-no-important)
(#194) Unexpected !important (declaration-no-important)
(#197) Unexpected !important (declaration-no-important)
(#197) Expected indentation of 4 spaces (indentation)
theme/trema/scss/trema/login.scss
(#10) Expected "#ffffff" to be "#fff" (color-hex-length)
(#93) Expected "#aaaaaa" to be "#aaa" (color-hex-length)
(#25) Unexpected !important (declaration-no-important)
(#84) Unexpected !important (declaration-no-important)
(#92) Unexpected !important (declaration-no-important)
(#93) Unexpected !important (declaration-no-important)
(#94) Unexpected !important (declaration-no-important)
(#95) Unexpected !important (declaration-no-important)
(#178) Unexpected !important (declaration-no-important)
(#205) Unexpected !important (declaration-no-important)
(#46) Unexpected whitespace at end of line (no-eol-whitespace)
theme/trema/scss/trema/main.scss
(#267) Expected "#000000" to be "#000" (color-hex-length)
(#357) Expected "#ffffff" to be "#fff" (color-hex-length)
(#88) Unexpected !important (declaration-no-important)
(#266) Unexpected whitespace before "*=" (selector-attribute-operator-space-before)
(#270) Unexpected whitespace before "*=" (selector-attribute-operator-space-before)
(#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
(#153) Unexpected !important (declaration-no-important)
(#173) Unexpected !important (declaration-no-important)
(#207) Unexpected !important (declaration-no-important)
(#208) 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]