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

(8 errors, 0 warnings)

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

theme/trema/classes/output/core/course_renderer.php
(#58) global $PAGE cannot be used in renderers. Use $this->page.
(#123) global $PAGE cannot be used in renderers. Use $this->page.
(#161) global $PAGE cannot be used in renderers. Use $this->page.
(#187) global $PAGE cannot be used in renderers. Use $this->page.
(#187) global $PAGE cannot be used in renderers. Use $this->page.
(#216) global $PAGE cannot be used in renderers. Use $this->page.
(#219) global $PAGE cannot be used in renderers. Use $this->page.
(#228) Line exceeds maximum limit of 180 characters; contains 181 characters

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

(247 errors, 1 warnings)

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

theme/trema/scss/trema/admin.scss
(#104) Unexpected !important (declaration-no-important)
(#108) Unexpected !important (declaration-no-important)
(#2) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 8 spaces (indentation)
(#4) Expected indentation of 8 spaces (indentation)
(#5) Expected indentation of 8 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#9) Expected indentation of 8 spaces (indentation)
(#10) Expected indentation of 8 spaces (indentation)
(#11) Expected indentation of 8 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#19) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 8 spaces (indentation)
(#16) Expected indentation of 8 spaces (indentation)
(#17) Expected indentation of 8 spaces (indentation)
(#18) Expected indentation of 8 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 8 spaces (indentation)
(#24) Expected indentation of 8 spaces (indentation)
(#23) Expected indentation of 12 spaces (indentation)
(#27) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 8 spaces (indentation)
(#29) Expected indentation of 8 spaces (indentation)
(#34) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#47) Expected indentation of 4 spaces (indentation)
(#39) Expected indentation of 8 spaces (indentation)
(#40) Expected indentation of 8 spaces (indentation)
(#43) Expected indentation of 8 spaces (indentation)
(#41) Expected indentation of 12 spaces (indentation)
(#42) Expected indentation of 12 spaces (indentation)
(#44) Expected indentation of 8 spaces (indentation)
(#46) Expected indentation of 8 spaces (indentation)
(#45) Expected indentation of 12 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#60) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 8 spaces (indentation)
(#53) Expected indentation of 8 spaces (indentation)
(#54) Expected indentation of 8 spaces (indentation)
(#56) Expected indentation of 8 spaces (indentation)
(#55) Expected indentation of 12 spaces (indentation)
(#57) Expected indentation of 8 spaces (indentation)
(#59) Expected indentation of 8 spaces (indentation)
(#58) Expected indentation of 12 spaces (indentation)
(#64) Expected indentation of 4 spaces (indentation)
(#74) Expected indentation of 4 spaces (indentation)
(#65) Expected indentation of 8 spaces (indentation)
(#66) Expected indentation of 8 spaces (indentation)
(#67) Expected indentation of 8 spaces (indentation)
(#70) Expected indentation of 8 spaces (indentation)
(#68) Expected indentation of 12 spaces (indentation)
(#69) Expected indentation of 12 spaces (indentation)
(#71) Expected indentation of 8 spaces (indentation)
(#73) Expected indentation of 8 spaces (indentation)
(#72) Expected indentation of 12 spaces (indentation)
(#78) Expected indentation of 4 spaces (indentation)
(#85) Expected indentation of 4 spaces (indentation)
(#79) Expected indentation of 8 spaces (indentation)
(#81) Expected indentation of 8 spaces (indentation)
(#80) Expected indentation of 12 spaces (indentation)
(#82) Expected indentation of 8 spaces (indentation)
(#84) Expected indentation of 8 spaces (indentation)
(#83) Expected indentation of 12 spaces (indentation)
(#89) Expected indentation of 4 spaces (indentation)
(#96) Expected indentation of 4 spaces (indentation)
(#90) Expected indentation of 8 spaces (indentation)
(#92) Expected indentation of 8 spaces (indentation)
(#91) Expected indentation of 12 spaces (indentation)
(#93) Expected indentation of 8 spaces (indentation)
(#95) Expected indentation of 8 spaces (indentation)
(#94) Expected indentation of 12 spaces (indentation)
(#98) Expected indentation of 4 spaces (indentation)
(#110) Expected indentation of 4 spaces (indentation)
(#99) Expected indentation of 8 spaces (indentation)
(#100) Expected indentation of 8 spaces (indentation)
(#101) Expected indentation of 8 spaces (indentation)
(#103) Expected indentation of 8 spaces (indentation)
(#105) Expected indentation of 8 spaces (indentation)
(#104) Expected indentation of 12 spaces (indentation)
(#107) Expected indentation of 8 spaces (indentation)
(#109) Expected indentation of 8 spaces (indentation)
(#108) Expected indentation of 12 spaces (indentation)
(#112) Expected indentation of 4 spaces (indentation)
(#118) Expected indentation of 4 spaces (indentation)
(#113) Expected indentation of 8 spaces (indentation)
(#122) Expected indentation of 4 spaces (indentation)
(#127) Expected indentation of 4 spaces (indentation)
(#123) Expected indentation of 8 spaces (indentation)
(#126) Expected indentation of 8 spaces (indentation)
(#124) Expected indentation of 12 spaces (indentation)
(#125) Expected indentation of 12 spaces (indentation)
theme/trema/scss/trema/courselist.scss
(#52) Expected single space after ">" (selector-combinator-space-after)
(#52) Expected single space before ">" (selector-combinator-space-before)
theme/trema/scss/trema/drawer.scss
(#93) Expected single space before "{" (block-opening-brace-space-before)
theme/trema/scss/trema/footer.scss
(#28) Unexpected !important (declaration-no-important)
(#33) Unexpected !important (declaration-no-important)
(#105) Unexpected !important (declaration-no-important)
(#106) Unexpected !important (declaration-no-important)
(#107) Unexpected !important (declaration-no-important)
(#108) Unexpected !important (declaration-no-important)
theme/trema/scss/trema/incourse.scss
(#135) Expected indentation of 8 spaces (indentation)
(#133) Expected indentation of 12 spaces (indentation)
(#134) Expected indentation of 12 spaces (indentation)
(#136) Expected indentation of 8 spaces (indentation)
(#138) Expected indentation of 8 spaces (indentation)
(#137) Expected indentation of 12 spaces (indentation)
theme/trema/scss/trema/main.scss
(#288) Expected newline after "}" (block-closing-brace-newline-after)
(#303) Expected line length to be no more than 132 characters (max-line-length)
(#208) Expected indentation of 4 spaces (indentation)
(#204) Expected indentation of 8 spaces (indentation)
(#205) Expected indentation of 8 spaces (indentation)
(#206) Expected indentation of 8 spaces (indentation)
(#207) Expected indentation of 8 spaces (indentation)
(#228) Expected indentation of 4 spaces (indentation)
theme/trema/scss/trema/message.scss
(#7) Unexpected !important (declaration-no-important)
(#16) Unexpected !important (declaration-no-important)
(#17) Unexpected !important (declaration-no-important)
(#24) Unexpected !important (declaration-no-important)
(#80) Unexpected !important (declaration-no-important)
(#145) Unexpected !important (declaration-no-important)
(#170) Unexpected !important (declaration-no-important)
(#2) Expected indentation of 4 spaces (indentation)
(#49) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 8 spaces (indentation)
(#5) Expected indentation of 8 spaces (indentation)
(#48) Expected indentation of 8 spaces (indentation)
(#6) Expected indentation of 12 spaces (indentation)
(#7) Expected indentation of 12 spaces (indentation)
(#8) Expected indentation of 12 spaces (indentation)
(#9) Expected indentation of 12 spaces (indentation)
(#11) Expected indentation of 12 spaces (indentation)
(#13) Expected indentation of 12 spaces (indentation)
(#12) Expected indentation of 16 spaces (indentation)
(#15) Expected indentation of 12 spaces (indentation)
(#31) Expected indentation of 12 spaces (indentation)
(#16) Expected indentation of 16 spaces (indentation)
(#17) Expected indentation of 16 spaces (indentation)
(#18) Expected indentation of 16 spaces (indentation)
(#21) Expected indentation of 16 spaces (indentation)
(#19) Expected indentation of 20 spaces (indentation)
(#20) Expected indentation of 20 spaces (indentation)
(#23) Expected indentation of 16 spaces (indentation)
(#25) Expected indentation of 16 spaces (indentation)
(#24) Expected indentation of 20 spaces (indentation)
(#27) Expected indentation of 16 spaces (indentation)
(#30) Expected indentation of 16 spaces (indentation)
(#28) Expected indentation of 16 spaces (indentation)
(#29) Expected indentation of 20 spaces (indentation)
(#33) Expected indentation of 12 spaces (indentation)
(#47) Expected indentation of 12 spaces (indentation)
(#34) Expected indentation of 16 spaces (indentation)
(#43) Expected indentation of 16 spaces (indentation)
(#35) Expected indentation of 20 spaces (indentation)
(#36) Expected indentation of 20 spaces (indentation)
(#37) Expected indentation of 20 spaces (indentation)
(#38) Expected indentation of 20 spaces (indentation)
(#40) Expected indentation of 20 spaces (indentation)
(#42) Expected indentation of 20 spaces (indentation)
(#41) Expected indentation of 24 spaces (indentation)
(#44) Expected indentation of 16 spaces (indentation)
(#46) Expected indentation of 16 spaces (indentation)
(#45) Expected indentation of 20 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#64) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 8 spaces (indentation)
(#54) Expected indentation of 8 spaces (indentation)
(#53) Expected indentation of 12 spaces (indentation)
(#56) Expected indentation of 8 spaces (indentation)
(#63) Expected indentation of 8 spaces (indentation)
(#57) Expected indentation of 12 spaces (indentation)
(#69) Expected indentation of 4 spaces (indentation)
(#159) Expected indentation of 4 spaces (indentation)
(#70) Expected indentation of 8 spaces (indentation)
(#71) Expected indentation of 8 spaces (indentation)
(#73) Expected indentation of 8 spaces (indentation)
(#77) Expected indentation of 8 spaces (indentation)
(#74) Expected indentation of 12 spaces (indentation)
(#76) Expected indentation of 12 spaces (indentation)
(#75) Expected indentation of 16 spaces (indentation)
(#79) Expected indentation of 8 spaces (indentation)
(#81) Expected indentation of 8 spaces (indentation)
(#80) Expected indentation of 12 spaces (indentation)
(#83) Expected indentation of 8 spaces (indentation)
(#89) Expected indentation of 8 spaces (indentation)
(#84) Expected indentation of 12 spaces (indentation)
(#85) Expected indentation of 12 spaces (indentation)
(#86) Expected indentation of 12 spaces (indentation)
(#88) Expected indentation of 12 spaces (indentation)
(#87) Expected indentation of 16 spaces (indentation)
(#91) Expected indentation of 8 spaces (indentation)
(#97) Expected indentation of 8 spaces (indentation)
(#92) Expected indentation of 12 spaces (indentation)
(#96) Expected indentation of 12 spaces (indentation)
(#93) Expected indentation of 12 spaces (indentation)
(#94) Expected indentation of 16 spaces (indentation)
(#95) Expected indentation of 16 spaces (indentation)
(#114) Expected indentation of 8 spaces (indentation)
(#116) Expected indentation of 8 spaces (indentation)
(#115) Expected indentation of 12 spaces (indentation)
(#118) Expected indentation of 8 spaces (indentation)
(#123) Expected indentation of 8 spaces (indentation)
(#119) Expected indentation of 12 spaces (indentation)
(#120) Expected indentation of 12 spaces (indentation)
(#121) Expected indentation of 12 spaces (indentation)
(#122) Expected indentation of 12 spaces (indentation)
(#125) Expected indentation of 8 spaces (indentation)
(#133) Expected indentation of 8 spaces (indentation)
(#126) Expected indentation of 8 spaces (indentation)
(#127) Expected indentation of 12 spaces (indentation)
(#128) Expected indentation of 12 spaces (indentation)
(#129) Expected indentation of 12 spaces (indentation)
(#132) Expected indentation of 12 spaces (indentation)
(#130) Expected indentation of 16 spaces (indentation)
(#131) Expected indentation of 16 spaces (indentation)
(#135) Expected indentation of 8 spaces (indentation)
(#137) Expected indentation of 8 spaces (indentation)
(#136) Expected indentation of 12 spaces (indentation)
(#139) Expected indentation of 8 spaces (indentation)
(#142) Expected indentation of 8 spaces (indentation)
(#140) Expected indentation of 12 spaces (indentation)
(#141) Expected indentation of 12 spaces (indentation)
(#144) Expected indentation of 8 spaces (indentation)
(#146) Expected indentation of 8 spaces (indentation)
(#145) Expected indentation of 12 spaces (indentation)
(#148) Expected indentation of 8 spaces (indentation)
(#158) Expected indentation of 8 spaces (indentation)
(#149) Expected indentation of 12 spaces (indentation)
(#150) Expected indentation of 12 spaces (indentation)
(#152) Expected indentation of 12 spaces (indentation)
(#157) Expected indentation of 12 spaces (indentation)
(#153) Expected indentation of 16 spaces (indentation)
(#156) Expected indentation of 16 spaces (indentation)
(#154) Expected indentation of 20 spaces (indentation)
(#155) Expected indentation of 20 spaces (indentation)
(#163) Expected indentation of 4 spaces (indentation)
(#165) Expected indentation of 4 spaces (indentation)
(#164) Expected indentation of 8 spaces (indentation)
(#167) Expected indentation of 4 spaces (indentation)
(#179) Expected indentation of 4 spaces (indentation)
(#168) Expected indentation of 8 spaces (indentation)
(#170) Expected indentation of 8 spaces (indentation)
theme/trema/scss/trema/modules.scss
(#78) Unexpected !important (declaration-no-important)
(#158) Unexpected !important (declaration-no-important)
(#178) Unexpected !important (declaration-no-important)

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

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

theme/trema/templates/columns2.mustache
(#1) HTML Validation info, line 84: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info"> )
(#1) HTML Validation info, line 90: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 footer-info"> )
(#1) HTML Validation info, line 94: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <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)
(#1) ESLint warning [new-cap]: A constructor name should not start with a lowercase letter. ( (new scroll()).init();
theme/trema/templates/course_summary_modal.mustache
(#1) Example context missing (@template section not found.)
(#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 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. ( <section class="col-12 text-center col-12-medium col-12-xsmall footer-info"> )
(#1) HTML Validation info, line 11: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section class="col-12 footer-info"> )
(#1) HTML Validation info, line 15: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <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 106: 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 (@template section not found.)
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 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 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.
(#1) HTML Validation info, line 7: Empty heading. ( <h4></h4>)
theme/trema/templates/navbar.mustache
(#1) Example context missing (@template section not found.)
theme/trema/templates/navbar_login.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content

Gherkin .feature problems

(0 errors, 0 warnings)

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