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

(10 errors, 33 warnings)

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

theme/stream/classes/output/core/course_renderer.php
(#55) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#57) There should be a comma after the last array item in a multi-line array.
(#71) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#73) There should be a comma after the last array item in a multi-line array.
theme/stream/classes/output/core_renderer.php
(#61) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
theme/stream/config.php
(#31) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#63) There should be a comma after the last array item in a multi-line array.
(#72) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
theme/stream/layout/login.php
(#43) There should be a comma after the last array item in a multi-line array.
theme/stream/lib.php
(#37) Short array syntax must be used to define arrays
(#40) There should be a comma after the last array item in a multi-line array.
(#97) Space found before square bracket; expected "$configurable[" but found "$configurable ["
theme/stream/settings.php
(#88) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
theme/stream/settings/coursesettings.php
(#51) There should be a comma after the last array item in a multi-line array.
(#65) Short array syntax must be used to define arrays
theme/stream/settings/frontpagesettings.php
(#34) Short array syntax must be used to define arrays
(#39) There should be a comma after the last array item in a multi-line array.
(#91) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#188) Short array syntax must be used to define arrays
(#251) Short array syntax must be used to define arrays
(#291) Short array syntax must be used to define arrays
(#305) There should be a comma after the last array item in a multi-line array.
theme/stream/version.php
(#33) There should be a comma after the last array item in a multi-line array.

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

(0 errors, 1 warnings)

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

theme/stream/scss/_interface.scss
(#130) Expected "#000000" to be "#000" (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

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


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/stream/templates/core/full_header.mustache
(#1) HTML Validation error, line 19: Bad value “meter” for attribute “role” on element “div”. ( <div class="wrap-circles completion-meter" role="meter" aria-label="((coursecompletion%2C+completion))" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"> )
theme/stream/templates/course.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 108: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) ( <div class="top-block-region container-fluid d-print-none" aria-label="((blocks))"> )
(#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/stream/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/stream/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 76: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) ( <div class="top-block-region container d-print-none" aria-label="((blocks))"> )
(#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/stream/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/stream/templates/partials/drawer.mustache
(#1) HTML Validation error, line 2: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. (ad><body><div class=" d-print-none not-initialized" data-region="fixed-drawer" id="" data-preference="" data-state="" data-forceopen="0" data-close-on-resize="0"> <)
theme/stream/templates/partials/head.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/stream/templates/partials/widget_promobox.mustache
(#1) HTML Validation info, line 10: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <img class="img-fluid" src="image.jpg" alt="" /> )

Gherkin .feature problems

(0 errors, 0 warnings)

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