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

(1 errors, 82 warnings)

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

theme/stream/classes/privacy/provider.php
(#43) There must not be a space before the colon in a return type declaration
theme/stream/lang/en/theme_stream.php
(#32) The string key "choosereadme" is not in the correct order, it should be before "pluginname"
(#34) The string key "frontendby" is not in the correct order, it should be before "hiddencourse"
(#35) The string key "configtitle" is not in the correct order, it should be before "frontendby"
(#37) The string key "courseheaderimg" is not in the correct order, it should be before "generalsettings"
(#41) The string key "facebookurl" is not in the correct order, it should be before "socialmedia"
(#48) The string key "linkedinurl" is not in the correct order, it should be before "youtubeurl"
(#50) The string key "region-topblock" is not in the correct order, it should be before "twitterurl"
(#51) The string key "colours" is not in the correct order, it should be before "region-topblock"
(#57) The string key "favicon" is not in the correct order, it should be before "secondarycolour_desc"
(#63) The string key "centercolumn" is not in the correct order, it should be before "leftcolumn_desc"
(#65) The string key "backtotopbutton" is not in the correct order, it should be before "centercolumn_desc"
(#69) The string key "managecourses" is not in the correct order, it should be before "searchcourses"
(#71) The string key "coursecompletion_desc" is not in the correct order, it should be before "searchusers"
(#73) The string key "catwidgetheading" is not in the correct order, it should be before "frontpagestream"
(#74) The string key "catwidget" is not in the correct order, it should be before "catwidgetheading"
(#81) The string key "maxcatnumber" is not in the correct order, it should be before "showcoursescount_desc"
(#83) The string key "catwidgetimage" is not in the correct order, it should be before "maxcatnumber_desc"
(#86) The string key "bunnyfonts" is not in the correct order, it should be before "catwidgetimage_desc"
(#91) The string key "choosencats" is not in the correct order, it should be before "fonts"
(#96) The string key "hideprimarynodes" is not in the correct order, it should be before "noresults"
(#100) The string key "herotitle" is not in the correct order, it should be before "stream:changesettings"
(#102) The string key "heromotto" is not in the correct order, it should be before "herotitle_desc"
(#104) The string key "herolink" is not in the correct order, it should be before "heromotto_desc"
(#108) The string key "homepageheroimage" is not in the correct order, it should be before "sliderbutton_desc"
(#114) The string key "homepagepromoboxtitle" is not in the correct order, it should be before "homepagepromoboxwidget_desc"
(#116) The string key "homepagepromoboxtext" is not in the correct order, it should be before "homepagepromoboxtitle_desc"
(#119) The string key "homepagepromoboxbutton" is not in the correct order, it should be before "homepagepromoboxtext_desc"
(#124) The string key "featuredcourseswidgetheading" is not in the correct order, it should be before "promoboxwidgetheading"
(#125) The string key "featuredcourses" is not in the correct order, it should be before "featuredcourseswidgetheading"
(#129) The string key "featuredcoursesshowcat" is not in the correct order, it should be before "featuredcourseswidget_desc"
(#133) The string key "featuredcourseshidden" is not in the correct order, it should be before "featuredcoursesshowcatmax_desc"
(#135) The string key "featuredcoursesfuture" is not in the correct order, it should be before "featuredcourseshidden_desc"
(#143) The string key "availablesoon" is not in the correct order, it should be before "featuredcoursesstartdate_desc"
(#149) The string key "coursecardimage" is not in the correct order, it should be before "usingstreamtheme"
(#152) The string key "nextactivity" is not in the correct order, it should be before "prevactivity"
(#156) The string key "prev" is not in the correct order, it should be before "slidestotal_desc"
(#157) The string key "next" is not in the correct order, it should be before "prev"
(#158) The string key "jumptoslide" is not in the correct order, it should be before "next"
(#159) Unexpected comment found. Auto-fixing will not work after this comment
(#161) The string key "featuredcategoriessubtitle" is not in the correct order, it should be before "privacy:metadata"
(#163) Unexpected comment found. Auto-fixing will not work after this comment
(#164) The string key "courseindexheading" is not in the correct order, it should be before "featuredcategoriessubtitle_desc"
theme/stream/lang/pt/theme_stream.php
(#29) The string key "footercolor" is not in the correct order, it should be before "pluginname"
(#32) The string key "choosereadme" is not in the correct order, it should be before "manageusers"
(#34) The string key "frontendby" is not in the correct order, it should be before "hiddencourse"
(#36) The string key "courseheaderimg" is not in the correct order, it should be before "generalsettings"
(#40) The string key "socialmedia" is not in the correct order, it should be before "themesettings"
(#41) The string key "facebookurl" is not in the correct order, it should be before "socialmedia"
(#45) The string key "linkedinurl" is not in the correct order, it should be before "youtubeurl"
(#47) The string key "region-topblock" is not in the correct order, it should be before "twitterurl"
(#48) The string key "colours" is not in the correct order, it should be before "region-topblock"
(#53) The string key "customstylessettings" is not in the correct order, it should be before "secondarycolour_desc"
(#60) The string key "centercolumn" is not in the correct order, it should be before "leftcolumn_desc"
(#62) The string key "backtotopbutton" is not in the correct order, it should be before "centercolumn_desc"
(#66) The string key "managecourses" is not in the correct order, it should be before "searchcourses"
(#68) The string key "coursecompletion_desc" is not in the correct order, it should be before "searchusers"
(#70) The string key "catwidgetheading" is not in the correct order, it should be before "frontpagestream"
(#71) The string key "catwidget" is not in the correct order, it should be before "catwidgetheading"
(#78) The string key "catwidgetimage" is not in the correct order, it should be before "maxcatnumber_desc"
(#82) The string key "bunnyfonts" is not in the correct order, it should be before "showcoursescount_desc"
(#87) The string key "choosencats" is not in the correct order, it should be before "fonts"
(#92) The string key "hideprimarynodes" is not in the correct order, it should be before "noresults"
(#95) The string key "herotitle" is not in the correct order, it should be before "stream:changesettings"
(#97) The string key "heromotto" is not in the correct order, it should be before "herotitle_desc"
(#99) The string key "herolink" is not in the correct order, it should be before "heromotto_desc"
(#104) The string key "homepageheroimage" is not in the correct order, it should be before "sliderbutton_desc"
(#110) The string key "homepagepromoboxtitle" is not in the correct order, it should be before "homepagepromoboxwidget_desc"
(#112) The string key "homepagepromoboxtext" is not in the correct order, it should be before "homepagepromoboxtitle_desc"
(#115) The string key "homepagepromoboxbutton" is not in the correct order, it should be before "homepagepromoboxtext_desc"
(#120) The string key "featuredcourseswidgetheading" is not in the correct order, it should be before "promoboxwidgetheading"
(#121) The string key "featuredcourses" is not in the correct order, it should be before "featuredcourseswidgetheading"
(#125) The string key "featuredcoursesshowcat" is not in the correct order, it should be before "featuredcourseswidget_desc"
(#129) The string key "featuredcoursesfuture" is not in the correct order, it should be before "featuredcoursesshowcatmax_desc"
(#137) The string key "availablesoon" is not in the correct order, it should be before "featuredcoursesstartdate_desc"
(#143) The string key "coursecardimage" is not in the correct order, it should be before "usingstreamtheme"
(#146) The string key "nextactivity" is not in the correct order, it should be before "prevactivity"
(#150) The string key "prev" is not in the correct order, it should be before "slidestotal_desc"
(#151) The string key "next" is not in the correct order, it should be before "prev"
(#152) The string key "jumptoslide" is not in the correct order, it should be before "next"
(#155) Unexpected comment found. Auto-fixing will not work after this comment
(#156) The string key "privacy:metadata" is not in the correct order, it should be before "stickynav_desc"
(#157) The string key "homepageheroopacity" is not in the correct order, it should be before "privacy:metadata"

Javascript coding style problems

(0 errors, 1 warnings)

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

theme/stream/amd/src/backtotop.js
(#36) Expected JSDoc block to be aligned. (jsdoc/check-alignment)

CSS problems

(8 errors, 0 warnings)

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

theme/stream/scss/_interface.scss
(#407) Expected newline before "}" (block-closing-brace-newline-before)
(#407) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#407) Expected newline after "{" (block-opening-brace-newline-after)
(#407) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#402) Expected single space before "{" (block-opening-brace-space-before)
(#392) Expected single space before "{" (block-opening-brace-space-before)
(#400) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
theme/stream/scss/_typography.scss
(#21) Invalid prelude for `@-moz-document` (csstree/validator)

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/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 118: 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 82: 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]