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

(3 errors, 1 warnings)

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

theme/trema/classes/output/core/course_renderer.php
(#196) global $OUTPUT cannot be used in renderers. Use $this->output.
(#279) global $OUTPUT cannot be used in renderers. Use $this->output.
theme/trema/layout/frontpage.php
(#64) Expected 1 space after "="; 2 found
theme/trema/settings/content_settings.php
(#33) Line exceeds 132 characters; contains 136 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

(268 errors, 0 warnings)

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

theme/trema/scss/trema/courseformats.scss
(#32) Invalid value for `float` (csstree/validator)
theme/trema/scss/trema/drawer.scss
(#63) Expected single space before "{" (block-opening-brace-space-before)
theme/trema/scss/trema/frontpage.scss
(#215) Expected single space after "," in a single-line function (function-comma-space-after)
(#218) Expected single space after "," in a single-line function (function-comma-space-after)
(#218) Expected single space after "," in a single-line function (function-comma-space-after)
(#218) Expected single space after "," in a single-line function (function-comma-space-after)
(#233) Expected newline after "," (selector-list-comma-newline-after)
(#84) Expected indentation of 8 spaces (indentation)
theme/trema/scss/trema/main.scss
(#175) Expected indentation of 4 spaces (indentation)
(#176) Expected indentation of 4 spaces (indentation)
(#177) Expected indentation of 4 spaces (indentation)
(#178) Expected indentation of 4 spaces (indentation)
(#179) Expected indentation of 4 spaces (indentation)
(#180) Expected indentation of 4 spaces (indentation)
(#181) Expected indentation of 4 spaces (indentation)
(#182) Expected indentation of 4 spaces (indentation)
(#183) Expected indentation of 4 spaces (indentation)
(#184) Expected indentation of 4 spaces (indentation)
(#185) Expected indentation of 4 spaces (indentation)
(#186) Expected indentation of 4 spaces (indentation)
(#187) Expected indentation of 4 spaces (indentation)
(#188) Expected indentation of 4 spaces (indentation)
(#189) Expected indentation of 4 spaces (indentation)
(#190) Expected indentation of 4 spaces (indentation)
(#191) Expected indentation of 4 spaces (indentation)
(#192) Expected indentation of 4 spaces (indentation)
(#193) Expected indentation of 4 spaces (indentation)
(#194) Expected indentation of 4 spaces (indentation)
(#195) Expected indentation of 4 spaces (indentation)
(#196) Expected indentation of 4 spaces (indentation)
(#197) Expected indentation of 4 spaces (indentation)
(#198) Expected indentation of 4 spaces (indentation)
(#199) Expected indentation of 4 spaces (indentation)
(#200) Expected indentation of 4 spaces (indentation)
(#201) Expected indentation of 4 spaces (indentation)
(#202) Expected indentation of 4 spaces (indentation)
(#203) Expected indentation of 4 spaces (indentation)
(#204) Expected indentation of 4 spaces (indentation)
(#205) Expected indentation of 4 spaces (indentation)
(#206) Expected indentation of 4 spaces (indentation)
(#207) Expected indentation of 4 spaces (indentation)
(#208) Expected indentation of 4 spaces (indentation)
(#209) Expected indentation of 4 spaces (indentation)
(#210) Expected indentation of 4 spaces (indentation)
(#211) Expected indentation of 4 spaces (indentation)
(#212) Expected indentation of 4 spaces (indentation)
(#213) Expected indentation of 4 spaces (indentation)
(#214) Expected indentation of 4 spaces (indentation)
(#215) Expected indentation of 4 spaces (indentation)
(#216) Expected indentation of 4 spaces (indentation)
(#217) Expected indentation of 4 spaces (indentation)
(#218) Expected indentation of 4 spaces (indentation)
(#219) Expected indentation of 4 spaces (indentation)
(#220) Expected indentation of 4 spaces (indentation)
(#221) Expected indentation of 4 spaces (indentation)
(#222) Expected indentation of 4 spaces (indentation)
(#223) Expected indentation of 4 spaces (indentation)
(#224) Expected indentation of 4 spaces (indentation)
(#225) Expected indentation of 4 spaces (indentation)
(#226) Expected indentation of 4 spaces (indentation)
(#227) Expected indentation of 4 spaces (indentation)
(#228) Expected indentation of 4 spaces (indentation)
(#229) Expected indentation of 4 spaces (indentation)
(#230) Expected indentation of 4 spaces (indentation)
(#231) Expected indentation of 4 spaces (indentation)
(#232) Expected indentation of 4 spaces (indentation)
(#233) Expected indentation of 4 spaces (indentation)
(#234) Expected indentation of 4 spaces (indentation)
(#235) Expected indentation of 4 spaces (indentation)
(#236) Expected indentation of 4 spaces (indentation)
(#237) Expected indentation of 4 spaces (indentation)
(#238) Expected indentation of 4 spaces (indentation)
(#239) Expected indentation of 4 spaces (indentation)
(#240) Expected indentation of 4 spaces (indentation)
(#241) Expected indentation of 4 spaces (indentation)
(#242) Expected indentation of 4 spaces (indentation)
(#243) Expected indentation of 4 spaces (indentation)
(#244) Expected indentation of 4 spaces (indentation)
(#245) Expected indentation of 4 spaces (indentation)
(#246) Expected indentation of 4 spaces (indentation)
(#247) Expected indentation of 4 spaces (indentation)
(#248) Expected indentation of 4 spaces (indentation)
(#249) Expected indentation of 4 spaces (indentation)
(#250) Expected indentation of 4 spaces (indentation)
(#251) Expected indentation of 4 spaces (indentation)
(#252) Expected indentation of 4 spaces (indentation)
(#253) Expected indentation of 4 spaces (indentation)
(#254) Expected indentation of 4 spaces (indentation)
(#255) Expected indentation of 4 spaces (indentation)
(#256) Expected indentation of 4 spaces (indentation)
(#257) Expected indentation of 4 spaces (indentation)
(#258) Expected indentation of 4 spaces (indentation)
(#259) Expected indentation of 4 spaces (indentation)
(#260) Expected indentation of 4 spaces (indentation)
(#261) Expected indentation of 4 spaces (indentation)
(#262) Expected indentation of 4 spaces (indentation)
(#263) Expected indentation of 4 spaces (indentation)
(#264) Expected indentation of 4 spaces (indentation)
(#265) Expected indentation of 4 spaces (indentation)
(#266) Expected indentation of 4 spaces (indentation)
(#267) Expected indentation of 4 spaces (indentation)
(#268) Expected indentation of 4 spaces (indentation)
(#269) Expected indentation of 4 spaces (indentation)
(#270) Expected indentation of 4 spaces (indentation)
(#271) Expected indentation of 4 spaces (indentation)
(#272) Expected indentation of 4 spaces (indentation)
(#273) Expected indentation of 4 spaces (indentation)
(#274) Expected indentation of 4 spaces (indentation)
(#275) Expected indentation of 4 spaces (indentation)
(#276) Expected indentation of 4 spaces (indentation)
(#277) Expected indentation of 4 spaces (indentation)
(#278) Expected indentation of 4 spaces (indentation)
(#279) Expected indentation of 4 spaces (indentation)
(#280) Expected indentation of 4 spaces (indentation)
(#281) Expected indentation of 4 spaces (indentation)
(#282) Expected indentation of 4 spaces (indentation)
(#283) Expected indentation of 4 spaces (indentation)
(#284) Expected indentation of 4 spaces (indentation)
(#285) Expected indentation of 4 spaces (indentation)
(#286) Expected indentation of 4 spaces (indentation)
(#287) Expected indentation of 4 spaces (indentation)
(#288) Expected indentation of 4 spaces (indentation)
(#289) Expected indentation of 4 spaces (indentation)
(#290) Expected indentation of 4 spaces (indentation)
(#291) Expected indentation of 4 spaces (indentation)
(#292) Expected indentation of 4 spaces (indentation)
(#293) Expected indentation of 4 spaces (indentation)
(#294) Expected indentation of 4 spaces (indentation)
(#295) Expected indentation of 4 spaces (indentation)
(#296) Expected indentation of 4 spaces (indentation)
(#297) Expected indentation of 4 spaces (indentation)
(#298) Expected indentation of 4 spaces (indentation)
(#299) Expected indentation of 4 spaces (indentation)
(#300) Expected indentation of 4 spaces (indentation)
(#301) Expected indentation of 4 spaces (indentation)
(#302) Expected indentation of 4 spaces (indentation)
(#303) Expected indentation of 4 spaces (indentation)
(#304) Expected indentation of 4 spaces (indentation)
(#305) Expected indentation of 4 spaces (indentation)
(#306) Expected indentation of 4 spaces (indentation)
(#307) Expected indentation of 4 spaces (indentation)
(#308) Expected indentation of 4 spaces (indentation)
(#309) Expected indentation of 4 spaces (indentation)
(#310) Expected indentation of 4 spaces (indentation)
(#311) Expected indentation of 4 spaces (indentation)
(#312) Expected indentation of 4 spaces (indentation)
(#313) Expected indentation of 4 spaces (indentation)
(#314) Expected indentation of 4 spaces (indentation)
(#315) Expected indentation of 4 spaces (indentation)
(#316) Expected indentation of 4 spaces (indentation)
(#317) Expected indentation of 4 spaces (indentation)
(#318) Expected indentation of 4 spaces (indentation)
(#319) Expected indentation of 4 spaces (indentation)
(#320) Expected indentation of 4 spaces (indentation)
(#321) Expected indentation of 4 spaces (indentation)
(#322) Expected indentation of 4 spaces (indentation)
(#323) Expected indentation of 4 spaces (indentation)
(#324) Expected indentation of 4 spaces (indentation)
(#325) Expected indentation of 4 spaces (indentation)
(#326) Expected indentation of 4 spaces (indentation)
(#327) Expected indentation of 4 spaces (indentation)
(#328) Expected indentation of 4 spaces (indentation)
(#329) Expected indentation of 4 spaces (indentation)
(#330) Expected indentation of 4 spaces (indentation)
(#331) Expected indentation of 4 spaces (indentation)
(#332) Expected indentation of 4 spaces (indentation)
(#333) Expected indentation of 4 spaces (indentation)
(#334) Expected indentation of 4 spaces (indentation)
(#335) Expected indentation of 4 spaces (indentation)
(#336) Expected indentation of 4 spaces (indentation)
(#337) Expected indentation of 4 spaces (indentation)
(#338) Expected indentation of 4 spaces (indentation)
(#339) Expected indentation of 4 spaces (indentation)
(#340) Expected indentation of 4 spaces (indentation)
(#341) Expected indentation of 4 spaces (indentation)
(#342) Expected indentation of 4 spaces (indentation)
(#343) Expected indentation of 4 spaces (indentation)
(#344) Expected indentation of 4 spaces (indentation)
(#345) Expected indentation of 4 spaces (indentation)
(#346) Expected indentation of 4 spaces (indentation)
(#347) Expected indentation of 4 spaces (indentation)
(#348) Expected indentation of 4 spaces (indentation)
(#349) Expected indentation of 4 spaces (indentation)
(#350) Expected indentation of 4 spaces (indentation)
(#351) Expected indentation of 4 spaces (indentation)
(#352) Expected indentation of 4 spaces (indentation)
(#353) Expected indentation of 4 spaces (indentation)
(#354) Expected indentation of 4 spaces (indentation)
(#355) Expected indentation of 4 spaces (indentation)
(#356) Expected indentation of 4 spaces (indentation)
(#357) Expected indentation of 4 spaces (indentation)
(#358) Expected indentation of 4 spaces (indentation)
(#359) Expected indentation of 4 spaces (indentation)
(#360) Expected indentation of 4 spaces (indentation)
(#361) Expected indentation of 4 spaces (indentation)
(#362) Expected indentation of 4 spaces (indentation)
(#363) Expected indentation of 4 spaces (indentation)
(#364) Expected indentation of 4 spaces (indentation)
(#365) Expected indentation of 4 spaces (indentation)
(#366) Expected indentation of 4 spaces (indentation)
(#367) Expected indentation of 4 spaces (indentation)
(#368) Expected indentation of 4 spaces (indentation)
(#369) Expected indentation of 4 spaces (indentation)
(#370) Expected indentation of 4 spaces (indentation)
(#371) Expected indentation of 4 spaces (indentation)
(#372) Expected indentation of 4 spaces (indentation)
(#373) Expected indentation of 4 spaces (indentation)
(#374) Expected indentation of 4 spaces (indentation)
(#375) Expected indentation of 4 spaces (indentation)
(#376) Expected indentation of 4 spaces (indentation)
(#377) Expected indentation of 4 spaces (indentation)
(#378) Expected indentation of 4 spaces (indentation)
(#379) Expected indentation of 4 spaces (indentation)
(#380) Expected indentation of 4 spaces (indentation)
(#381) Expected indentation of 4 spaces (indentation)
(#382) Expected indentation of 4 spaces (indentation)
(#383) Expected indentation of 4 spaces (indentation)
(#384) Expected indentation of 4 spaces (indentation)
(#385) Expected indentation of 4 spaces (indentation)
(#386) Expected indentation of 4 spaces (indentation)
(#387) Expected indentation of 4 spaces (indentation)
(#388) Expected indentation of 4 spaces (indentation)
(#389) Expected indentation of 4 spaces (indentation)
(#390) Expected indentation of 4 spaces (indentation)
(#391) Expected indentation of 4 spaces (indentation)
(#392) Expected indentation of 4 spaces (indentation)
(#393) Expected indentation of 4 spaces (indentation)
(#394) Expected indentation of 4 spaces (indentation)
(#395) Expected indentation of 4 spaces (indentation)
(#396) Expected indentation of 4 spaces (indentation)
(#397) Expected indentation of 4 spaces (indentation)
(#398) Expected indentation of 4 spaces (indentation)
(#399) Expected indentation of 4 spaces (indentation)
(#400) Expected indentation of 4 spaces (indentation)
(#401) Expected indentation of 4 spaces (indentation)
(#402) Expected indentation of 4 spaces (indentation)
(#403) Expected indentation of 4 spaces (indentation)
(#404) Expected indentation of 4 spaces (indentation)
(#405) Expected indentation of 4 spaces (indentation)
(#406) Expected indentation of 4 spaces (indentation)
(#407) Expected indentation of 4 spaces (indentation)
(#408) Expected indentation of 4 spaces (indentation)
(#409) Expected indentation of 4 spaces (indentation)
(#410) Expected indentation of 4 spaces (indentation)
(#411) Expected indentation of 4 spaces (indentation)
(#412) Expected indentation of 4 spaces (indentation)
(#413) Expected indentation of 4 spaces (indentation)
(#414) Expected indentation of 4 spaces (indentation)
(#415) Expected indentation of 4 spaces (indentation)
(#416) Expected indentation of 4 spaces (indentation)
(#417) Expected indentation of 4 spaces (indentation)
(#418) Expected indentation of 4 spaces (indentation)
(#419) Expected indentation of 4 spaces (indentation)
(#420) Expected indentation of 4 spaces (indentation)
(#421) Expected indentation of 4 spaces (indentation)
(#422) Expected indentation of 4 spaces (indentation)
(#423) Expected indentation of 4 spaces (indentation)
(#424) Expected indentation of 4 spaces (indentation)
(#425) Expected indentation of 4 spaces (indentation)
(#426) Expected indentation of 4 spaces (indentation)
(#427) Expected indentation of 4 spaces (indentation)
(#428) Expected indentation of 4 spaces (indentation)
(#429) Expected indentation of 4 spaces (indentation)
(#430) Expected indentation of 4 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)
(#78) Expected indentation of 16 spaces (indentation)

PHPDocs style problems

(2 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

theme/trema/classes/output/core/course_renderer.php
(#145) Inline phpdocs tag {@link core_course_renderer::course_info_box()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
theme/trema/lib.php
(#299) Phpdocs for function theme_trema_setting_file_url has incomplete parameters list

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

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

theme/trema/templates/columns2.mustache
(#1) HTML Validation info, line 79: 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 85: 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 89: 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)
theme/trema/templates/course_summary_modal.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 15: Empty heading. (> <h5 class="modal-title" id="modal-title-would-be-a-uniqid"></h5>)
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) Example context missing.
(#1) HTML Validation error, line 2: Start tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”. (<html ><head)
(#1) HTML Validation error, line 4: Element “title” must not be empty. ( <title></title> <)
(#1) HTML Validation error, line 5: Bad value “” for attribute “href” on element “link”: Must be non-empty. (itle> <link rel="shortcut icon" href="" /> )
(#1) HTML Validation error, line 32: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) ( <div class="d-none d-lg-block"> )
(#1) HTML Validation info, line 70: Empty heading. ( <h2 class="pb-4 pl-3 mb-3"></h2>)
(#1) HTML Validation info, line 71: Empty heading. ( <h3 class="mb-3"></h3>)
(#1) HTML Validation info, line 80: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. ( <section id="region-main" > )
(#1) HTML Validation info, line 104: 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 110: 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 114: 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. (<html ><head)
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 error, line 32: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) ( <div class="d-none d-lg-block"> )
(#1) HTML Validation info, line 83: 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 89: 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 93: 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)
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.)
(#1) HTML Validation error, line 19: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) ( <div class="d-none d-lg-block"> )
(#1) HTML Validation error, line 5: The “aria-controls” attribute must point to an element in the same document. ( <button aria-expanded="false" aria-controls="nav-drawer" type="button" class="btn nav-link float-sm-left mr-1 btn-secondary" data-action="toggle-drawer" data-side="left" data-preference="drawer-open-nav"><img s)

Gherkin .feature problems

(0 errors, 0 warnings)

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