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

(2 errors, 116 warnings)

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

theme/trema/classes/privacy/provider.php
(#31) Import statements must not begin with a leading backslash
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#46) Opening brace should be on the same line as the declaration for class provider
theme/trema/lang/de/theme_trema.php
(#38) The string key "cardicon" is not in the correct order, it should be before "cardicon_desc"
(#49) The string key "defaultfooter" is not in the correct order, it should be before "defaultfooter_desc"
(#51) The string key "defaultfrontpagebody" is not in the correct order, it should be before "defaultfrontpagebody_desc"
(#54) The string key "enableadmindashboard" is not in the correct order, it should be before "enableadmindashboard_desc"
(#56) The string key "favicon" is not in the correct order, it should be before "favicon_desc"
(#59) The string key "frontpagebanner" is not in the correct order, it should be before "frontpagebanner_desc"
(#61) The string key "frontpagebuttonclass" is not in the correct order, it should be before "frontpagebuttonclass_desc"
(#63) The string key "frontpagebuttonhref" is not in the correct order, it should be before "frontpagebuttonhref_desc"
(#68) The string key "frontpageenablecards" is not in the correct order, it should be before "frontpageenablecards_desc"
(#78) The string key "primarycolor" is not in the correct order, it should be before "primarycolor_desc"
(#83) The string key "secondarycolor" is not in the correct order, it should be before "secondarycolor_desc"
(#90) The string key "summarytype" is not in the correct order, it should be before "summarytype_desc"
theme/trema/lang/en/theme_trema.php
(#38) Unexpected comment found. Auto-fixing will not work after this comment
(#41) Unexpected comment found. Auto-fixing will not work after this comment
(#42) The string key "footertitle" is not in the correct order, it should be before "rememberusername"
(#49) Unexpected comment found. Auto-fixing will not work after this comment
(#50) The string key "adminarea" is not in the correct order, it should be before "totop"
(#61) Unexpected comment found. Auto-fixing will not work after this comment
(#62) Unexpected comment found. Auto-fixing will not work after this comment
(#63) Unexpected comment found. Auto-fixing will not work after this comment
(#65) The string key "custommenualignment_desc" is not in the correct order, it should be before "total"
(#66) The string key "custommenualignment" is not in the correct order, it should be before "custommenualignment_desc"
(#68) The string key "enableadmindashboard" is not in the correct order, it should be before "enableadmindashboard_desc"
(#70) The string key "enabletremalines" is not in the correct order, it should be before "enabletremalines_desc"
(#72) The string key "enabletrematopics" is not in the correct order, it should be before "enabletrematopics_desc"
(#74) The string key "favicon" is not in the correct order, it should be before "favicon_desc"
(#76) The string key "hideprimarynavigationitems" is not in the correct order, it should be before "hideprimarynavigationitems_desc"
(#78) The string key "linkdecoration" is not in the correct order, it should be before "linkdecoration_desc"
(#80) The string key "showumlogoutlink" is not in the correct order, it should be before "showumlogoutlink_desc"
(#82) The string key "softness" is not in the correct order, it should be before "softness_desc"
(#84) Unexpected comment found. Auto-fixing will not work after this comment
(#85) Unexpected comment found. Auto-fixing will not work after this comment
(#86) Unexpected comment found. Auto-fixing will not work after this comment
(#88) Unexpected comment found. Auto-fixing will not work after this comment
(#90) Unexpected comment found. Auto-fixing will not work after this comment
(#91) Unexpected comment found. Auto-fixing will not work after this comment
(#92) Unexpected comment found. Auto-fixing will not work after this comment
(#94) The string key "bannertitlespacing_desc" is not in the correct order, it should be before "softness"
(#95) The string key "bannertitlespacing" is not in the correct order, it should be before "bannertitlespacing_desc"
(#97) The string key "bannertitletransform" is not in the correct order, it should be before "bannertitletransform_desc"
(#100) The string key "bodybackgroundcolor" is not in the correct order, it should be before "bodybackgroundcolor_desc"
(#104) The string key "drawerbgcolor" is not in the correct order, it should be before "drawerbgcolor_desc"
(#108) The string key "footerbgcolor" is not in the correct order, it should be before "footerbgcolor_desc"
(#110) The string key "h1font" is not in the correct order, it should be before "h1font_desc"
(#112) The string key "headerbgcolor" is not in the correct order, it should be before "headerbgcolor_desc"
(#114) The string key "hxfont" is not in the correct order, it should be before "hxfont_desc"
(#117) The string key "loginbtnbgcolor" is not in the correct order, it should be before "loginbtnbgcolor_desc"
(#119) The string key "primarycolor" is not in the correct order, it should be before "primarycolor_desc"
(#124) The string key "secondarycolor" is not in the correct order, it should be before "secondarycolor_desc"
(#126) The string key "sitefont" is not in the correct order, it should be before "sitefont_desc"
(#132) The string key "texttransform" is not in the correct order, it should be before "texttransform_uppercase"
(#135) Unexpected comment found. Auto-fixing will not work after this comment
(#136) Unexpected comment found. Auto-fixing will not work after this comment
(#137) Unexpected comment found. Auto-fixing will not work after this comment
(#139) The string key "card" is not in the correct order, it should be before "white"
(#141) The string key "cardicon" is not in the correct order, it should be before "cardicon_desc"
(#145) The string key "cardsubtitle" is not in the correct order, it should be before "cardsubtitle_default"
(#147) The string key "cardtitle" is not in the correct order, it should be before "cardtitle_default"
(#149) The string key "carrouselbtnclass" is not in the correct order, it should be before "carrouselbtnclass_desc"
(#151) The string key "carrouselbtnhref" is not in the correct order, it should be before "carrouselbtnhref_desc"
(#153) The string key "carrouselbtntext" is not in the correct order, it should be before "carrouselbtntext_desc"
(#155) The string key "defaultfrontpagebody" is not in the correct order, it should be before "defaultfrontpagebody_desc"
(#158) The string key "frontpagebanner" is not in the correct order, it should be before "frontpagebanner_desc"
(#160) The string key "frontpagebuttonclass" is not in the correct order, it should be before "frontpagebuttonclass_desc"
(#162) The string key "frontpagebuttonhref" is not in the correct order, it should be before "frontpagebuttonhref_desc"
(#164) The string key "frontpagebuttontext" is not in the correct order, it should be before "frontpagebuttontext_default"
(#170) The string key "frontpageenablecards" is not in the correct order, it should be before "frontpageenablecards_desc"
(#172) The string key "frontpageenabledarkoverlay" is not in the correct order, it should be before "frontpageenabledarkoverlay_desc"
(#174) The string key "frontpageimage" is not in the correct order, it should be before "frontpageimage_desc"
(#177) The string key "frontpagesubtitle" is not in the correct order, it should be before "frontpagesubtitle_default"
(#179) The string key "frontpagetitle" is not in the correct order, it should be before "frontpagetitle_default"
(#182) The string key "imagelink" is not in the correct order, it should be before "imagelink_desc"
(#185) The string key "numberofimages" is not in the correct order, it should be before "numberofimages_desc"
(#187) The string key "showfrontpagelinkstopages" is not in the correct order, it should be before "showfrontpagelinkstopages_desc"
(#190) The string key "subtitle" is not in the correct order, it should be before "subtitle_desc"
(#193) Unexpected comment found. Auto-fixing will not work after this comment
(#194) Unexpected comment found. Auto-fixing will not work after this comment
(#195) Unexpected comment found. Auto-fixing will not work after this comment
(#196) The string key "courseenrolmentpageformat_desc" is not in the correct order, it should be before "title_desc"
(#197) The string key "courseenrolmentpageformat" is not in the correct order, it should be before "courseenrolmentpageformat_desc"
(#199) The string key "showactivityicons" is not in the correct order, it should be before "showactivityicons_desc"
(#201) The string key "shownactivitynavigation" is not in the correct order, it should be before "shownactivitynavigation_desc"
(#203) Unexpected comment found. Auto-fixing will not work after this comment
(#204) Unexpected comment found. Auto-fixing will not work after this comment
(#205) Unexpected comment found. Auto-fixing will not work after this comment
(#206) The string key "cardcontacts_desc" is not in the correct order, it should be before "shownactivitynavigation"
(#207) The string key "cardcontacts" is not in the correct order, it should be before "cardcontacts_desc"
(#209) The string key "courselistsettings" is not in the correct order, it should be before "courselistsettings_desc"
(#212) The string key "showcategories" is not in the correct order, it should be before "showcategories_desc"
(#214) The string key "showehiddencategorycourses" is not in the correct order, it should be before "showehiddencategorycourses_desc"
(#216) The string key "summarytype" is not in the correct order, it should be before "summarytype_desc"
(#218) Unexpected comment found. Auto-fixing will not work after this comment
(#219) Unexpected comment found. Auto-fixing will not work after this comment
(#220) Unexpected comment found. Auto-fixing will not work after this comment
(#221) The string key "defaultfooter_desc" is not in the correct order, it should be before "summarytype"
(#222) The string key "defaultfooter_default" is not in the correct order, it should be before "defaultfooter_desc"
(#251) The string key "defaultfooter" is not in the correct order, it should be before "defaultfooter_default"
(#253) The string key "enabletremafooter" is not in the correct order, it should be before "enabletremafooter_desc"
(#255) The string key "footeropacity" is not in the correct order, it should be before "footeropacity_desc"
(#256) The string key "enablefooterinfo_desc" is not in the correct order, it should be before "footeropacity"
(#257) The string key "enablefooterinfo" is not in the correct order, it should be before "enablefooterinfo_desc"
(#259) The string key "showbranding" is not in the correct order, it should be before "showbranding_desc"
(#261) Unexpected comment found. Auto-fixing will not work after this comment
(#262) Unexpected comment found. Auto-fixing will not work after this comment
(#263) Unexpected comment found. Auto-fixing will not work after this comment
(#265) The string key "link" is not in the correct order, it should be before "showbranding"
(#269) The string key "loginpagecreatefirst" is not in the correct order, it should be before "loginpagecreatefirst_desc"
(#272) The string key "loginshowloginform" is not in the correct order, it should be before "loginshowloginform_desc"
(#276) Unexpected comment found. Auto-fixing will not work after this comment
(#277) Unexpected comment found. Auto-fixing will not work after this comment
(#278) Unexpected comment found. Auto-fixing will not work after this comment
(#282) Unexpected comment found. Auto-fixing will not work after this comment
(#283) Unexpected comment found. Auto-fixing will not work after this comment
(#284) Unexpected comment found. Auto-fixing will not work after this comment
theme/trema/tests/privacy/provider_test.php
(#39) Data provider method "export_user_preference_provider" will need to be converted to static in future.

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

(33 errors, 11 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/trema/admin.scss
(#82) Expected "#ffffff" to be "#fff" (color-hex-length)
theme/trema/scss/trema/elements.scss
(#264) Unexpected whitespace before ";" (declaration-block-semicolon-space-before)
(#210) Unexpected !important (declaration-no-important)
(#513) Unexpected !important (declaration-no-important)
(#514) Unexpected !important (declaration-no-important)
(#518) Unexpected !important (declaration-no-important)
(#519) Unexpected !important (declaration-no-important)
(#522) Unexpected !important (declaration-no-important)
(#523) 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
(#230) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/header.scss
(#29) Unexpected !important (declaration-no-important)
(#33) Unexpected !important (declaration-no-important)
(#288) Unexpected !important (declaration-no-important)
(#289) 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)
(#172) Unexpected !important (declaration-no-important)
(#199) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/main.scss
(#344) Expected "#ffffff" to be "#fff" (color-hex-length)
(#89) Unexpected !important (declaration-no-important)
(#51) 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/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 115: 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]