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

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


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

(62 errors, 13 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
(#87) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/elements.scss
(#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)
(#570) 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
(#236) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/header.scss
(#242) Unknown property `text-wrap` (csstree/validator)
(#258) Invalid value for "width" (csstree/validator)
(#262) Unknown property `text-wrap` (csstree/validator)
(#33) Unexpected !important (declaration-no-important)
(#37) Unexpected !important (declaration-no-important)
(#152) Unexpected !important (declaration-no-important)
(#314) Unexpected !important (declaration-no-important)
(#315) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/incourse.scss
(#188) Unexpected !important (declaration-no-important)
(#194) Unexpected !important (declaration-no-important)
(#197) Unexpected !important (declaration-no-important)
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)
(#184) Unexpected !important (declaration-no-important)
(#193) Unexpected !important (declaration-no-important)
(#214) Unexpected !important (declaration-no-important)
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)
(#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)
(#63) 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
(#95) Expected single space before "!" (declaration-bang-space-before)
(#95) Unexpected !important (declaration-no-important)
(#164) Unexpected !important (declaration-no-important)
(#184) Unexpected !important (declaration-no-important)
(#218) Unexpected !important (declaration-no-important)
(#219) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/noprint.scss
(#4) Expected single space before "!" (declaration-bang-space-before)
(#10) Expected single space before "!" (declaration-bang-space-before)
(#14) Expected single space before "!" (declaration-bang-space-before)
(#39) Expected single space before "!" (declaration-bang-space-before)
(#20) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#4) Unexpected !important (declaration-no-important)
(#10) Unexpected !important (declaration-no-important)
(#14) Unexpected !important (declaration-no-important)
(#39) Unexpected !important (declaration-no-important)
(#4) Expected indentation of 8 spaces (indentation)
(#14) Expected indentation of 8 spaces (indentation)
(#19) Expected indentation of 8 spaces (indentation)
(#20) Expected indentation of 8 spaces (indentation)
(#21) Expected indentation of 8 spaces (indentation)
(#40) Expected indentation of 4 spaces (indentation)
theme/trema/scss/trema/report.scss
(#2) Expected indentation of 4 spaces (indentation)
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, 2 warnings)

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

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 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/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/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/lang_menu.mustache
(#1) HTML Validation error, line 9: Bad value “Language” for attribute “lang” on element “a”: The language subtag “language” is not a valid IANA language part of a language tag. ( <a class="dropdown-item" role="menuitem" href="http://example.com" lang="Language">Englis)
(#1) HTML Validation error, line 11: Bad value “Language” for attribute “lang” on element “a”: The language subtag “language” is not a valid IANA language part of a language tag. ( <a class="dropdown-item" role="menuitem" href="http://example.com" lang="Language">French)
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)

Gherkin .feature problems

(0 errors, 0 warnings)

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