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

(0 errors, 0 warnings)

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


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

(168 errors, 10 warnings)

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

theme/handlebar/scss/preset/default.scss
(#12) Expected "#ADAFAE" to be "#adafae" (color-hex-case)
(#20) Expected "#2A9FD6" to be "#2a9fd6" (color-hex-case)
(#24) Expected "#CC0000" to be "#cc0000" (color-hex-case)
(#26) Expected "#FF8800" to be "#ff8800" (color-hex-case)
(#27) Expected "#77B300" to be "#77b300" (color-hex-case)
(#29) Expected "#9933CC" to be "#9933cc" (color-hex-case)
(#24) Expected "#CC0000" to be "#C00" (color-hex-length)
(#26) Expected "#FF8800" to be "#F80" (color-hex-length)
(#29) Expected "#9933CC" to be "#93C" (color-hex-length)
(#200) Unexpected !important (declaration-no-important)
(#205) Unexpected !important (declaration-no-important)
(#62) Expected single space after "," in a single-line function (function-comma-space-after)
(#63) Expected single space after "," in a single-line function (function-comma-space-after)
(#195) Expected indentation of 4 spaces (indentation)
(#197) Expected indentation of 4 spaces (indentation)
(#196) Expected indentation of 8 spaces (indentation)
(#199) Expected indentation of 4 spaces (indentation)
(#202) Expected indentation of 4 spaces (indentation)
(#200) Expected indentation of 8 spaces (indentation)
(#201) Expected indentation of 8 spaces (indentation)
(#204) Expected indentation of 4 spaces (indentation)
(#206) Expected indentation of 4 spaces (indentation)
(#205) Expected indentation of 8 spaces (indentation)
(#208) Expected indentation of 4 spaces (indentation)
(#210) Expected indentation of 4 spaces (indentation)
(#209) Expected indentation of 8 spaces (indentation)
(#212) Expected indentation of 4 spaces (indentation)
(#214) Expected indentation of 4 spaces (indentation)
(#213) Expected indentation of 8 spaces (indentation)
(#222) Expected indentation of 4 spaces (indentation)
(#225) Expected indentation of 4 spaces (indentation)
(#223) Expected indentation of 4 spaces (indentation)
(#224) Expected indentation of 8 spaces (indentation)
(#233) Expected indentation of 4 spaces (indentation)
(#238) Expected indentation of 4 spaces (indentation)
(#240) Expected indentation of 4 spaces (indentation)
(#239) Expected indentation of 8 spaces (indentation)
(#242) Expected indentation of 4 spaces (indentation)
(#246) Expected indentation of 4 spaces (indentation)
(#243) Expected indentation of 8 spaces (indentation)
(#245) Expected indentation of 8 spaces (indentation)
(#244) Expected indentation of 12 spaces (indentation)
(#248) Expected indentation of 4 spaces (indentation)
(#252) Expected indentation of 4 spaces (indentation)
(#249) Expected indentation of 8 spaces (indentation)
(#251) Expected indentation of 8 spaces (indentation)
(#250) Expected indentation of 12 spaces (indentation)
(#254) Expected indentation of 4 spaces (indentation)
(#258) Expected indentation of 4 spaces (indentation)
(#255) Expected indentation of 8 spaces (indentation)
(#257) Expected indentation of 8 spaces (indentation)
(#256) Expected indentation of 12 spaces (indentation)
(#260) Expected indentation of 4 spaces (indentation)
(#264) Expected indentation of 4 spaces (indentation)
(#261) Expected indentation of 8 spaces (indentation)
(#263) Expected indentation of 8 spaces (indentation)
(#262) Expected indentation of 12 spaces (indentation)
(#266) Expected indentation of 4 spaces (indentation)
(#292) Expected indentation of 4 spaces (indentation)
(#268) Expected indentation of 8 spaces (indentation)
(#272) Expected indentation of 8 spaces (indentation)
(#269) Expected indentation of 12 spaces (indentation)
(#271) Expected indentation of 12 spaces (indentation)
(#270) Expected indentation of 16 spaces (indentation)
(#274) Expected indentation of 8 spaces (indentation)
(#278) Expected indentation of 8 spaces (indentation)
(#275) Expected indentation of 12 spaces (indentation)
(#277) Expected indentation of 12 spaces (indentation)
(#276) Expected indentation of 16 spaces (indentation)
(#280) Expected indentation of 8 spaces (indentation)
(#284) Expected indentation of 8 spaces (indentation)
(#281) Expected indentation of 12 spaces (indentation)
(#283) Expected indentation of 12 spaces (indentation)
(#282) Expected indentation of 16 spaces (indentation)
(#286) Expected indentation of 8 spaces (indentation)
(#290) Expected indentation of 8 spaces (indentation)
(#287) Expected indentation of 12 spaces (indentation)
(#289) Expected indentation of 12 spaces (indentation)
(#288) Expected indentation of 16 spaces (indentation)
(#299) Expected indentation of 4 spaces (indentation)
(#306) Expected indentation of 4 spaces (indentation)
(#322) Expected indentation of 4 spaces (indentation)
(#307) Expected indentation of 8 spaces (indentation)
(#309) Expected indentation of 8 spaces (indentation)
(#311) Expected indentation of 8 spaces (indentation)
(#310) Expected indentation of 12 spaces (indentation)
(#313) Expected indentation of 8 spaces (indentation)
(#317) Expected indentation of 8 spaces (indentation)
(#314) Expected indentation of 8 spaces (indentation)
(#315) Expected indentation of 12 spaces (indentation)
(#316) Expected indentation of 12 spaces (indentation)
(#319) Expected indentation of 8 spaces (indentation)
(#321) Expected indentation of 8 spaces (indentation)
(#320) Expected indentation of 12 spaces (indentation)
(#326) Expected indentation of 4 spaces (indentation)
(#328) Expected indentation of 4 spaces (indentation)
(#327) Expected indentation of 8 spaces (indentation)
(#332) Expected indentation of 4 spaces (indentation)
(#334) Expected indentation of 4 spaces (indentation)
(#333) Expected indentation of 8 spaces (indentation)
(#340) Expected indentation of 4 spaces (indentation)
(#341) Expected indentation of 4 spaces (indentation)
(#343) Expected indentation of 4 spaces (indentation)
(#347) Expected indentation of 4 spaces (indentation)
(#344) Expected indentation of 4 spaces (indentation)
(#345) Expected indentation of 8 spaces (indentation)
(#346) Expected indentation of 8 spaces (indentation)
(#349) Expected indentation of 4 spaces (indentation)
(#353) Expected indentation of 4 spaces (indentation)
(#350) Expected indentation of 8 spaces (indentation)
(#352) Expected indentation of 8 spaces (indentation)
(#351) Expected indentation of 12 spaces (indentation)
(#355) Expected indentation of 4 spaces (indentation)
(#361) Expected indentation of 4 spaces (indentation)
(#356) Expected indentation of 8 spaces (indentation)
(#360) Expected indentation of 8 spaces (indentation)
(#357) Expected indentation of 8 spaces (indentation)
(#358) Expected indentation of 8 spaces (indentation)
(#359) Expected indentation of 12 spaces (indentation)
(#365) Expected indentation of 4 spaces (indentation)
(#367) Expected indentation of 4 spaces (indentation)
(#366) Expected indentation of 8 spaces (indentation)
(#371) Expected indentation of 4 spaces (indentation)
(#373) Expected indentation of 4 spaces (indentation)
(#375) Expected indentation of 4 spaces (indentation)
(#374) Expected indentation of 8 spaces (indentation)
(#383) Expected indentation of 4 spaces (indentation)
(#386) Expected indentation of 4 spaces (indentation)
(#384) Expected indentation of 8 spaces (indentation)
(#385) Expected indentation of 8 spaces (indentation)
(#388) Expected indentation of 4 spaces (indentation)
(#394) Expected indentation of 4 spaces (indentation)
(#389) Expected indentation of 8 spaces (indentation)
(#391) Expected indentation of 8 spaces (indentation)
(#393) Expected indentation of 8 spaces (indentation)
(#392) Expected indentation of 12 spaces (indentation)
(#396) Expected indentation of 4 spaces (indentation)
(#398) Expected indentation of 4 spaces (indentation)
(#397) Expected indentation of 8 spaces (indentation)
(#403) Expected indentation of 4 spaces (indentation)
(#405) Expected indentation of 4 spaces (indentation)
(#404) Expected indentation of 8 spaces (indentation)
(#409) Expected indentation of 4 spaces (indentation)
(#411) Expected indentation of 4 spaces (indentation)
(#410) Expected indentation of 8 spaces (indentation)
(#48) Expected line length to be no more than 132 characters (max-line-length)
(#243) Expected newline after "," (selector-list-comma-newline-after)
(#243) Expected newline after "," (selector-list-comma-newline-after)
(#249) Expected newline after "," (selector-list-comma-newline-after)
(#249) Expected newline after "," (selector-list-comma-newline-after)
(#255) Expected newline after "," (selector-list-comma-newline-after)
(#255) Expected newline after "," (selector-list-comma-newline-after)
(#261) Expected newline after "," (selector-list-comma-newline-after)
(#261) Expected newline after "," (selector-list-comma-newline-after)
(#269) Expected newline after "," (selector-list-comma-newline-after)
(#269) Expected newline after "," (selector-list-comma-newline-after)
(#275) Expected newline after "," (selector-list-comma-newline-after)
(#275) Expected newline after "," (selector-list-comma-newline-after)
(#281) Expected newline after "," (selector-list-comma-newline-after)
(#281) Expected newline after "," (selector-list-comma-newline-after)
(#287) Expected newline after "," (selector-list-comma-newline-after)
(#287) Expected newline after "," (selector-list-comma-newline-after)
(#403) Expected newline after "," (selector-list-comma-newline-after)
(#403) Expected newline after "," (selector-list-comma-newline-after)
(#403) Expected newline after "," (selector-list-comma-newline-after)
(#403) Expected newline after "," (selector-list-comma-newline-after)
(#403) Expected newline after "," (selector-list-comma-newline-after)
theme/handlebar/scss/styles.scss
(#148) Expected single space before "{" (block-opening-brace-space-before)
(#97) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#138) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#140) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#144) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#149) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#152) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#166) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#140) Unexpected !important (declaration-no-important)
(#147) Expected single space after "," in a single-line function (function-comma-space-after)
(#127) Expected indentation of 8 spaces (indentation)

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

(2 errors, 26 warnings)

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

theme/handlebar/templates/blocksmodal.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
theme/handlebar/templates/columns2.mustache
(#1) HTML Validation error, line 36: 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 76: The “aria-labelledby” attribute must point to an element in the same document. ( <section data-region="blocks-column" class="d-print-none hidden-print modal fade" id="slider1_blocksmodal" aria-labelledby="blockslider1modal"> )
(#1) HTML Validation error, line 79: The “aria-labelledby” attribute must point to an element in the same document. ( <section data-region="blocks-column" class="d-print-none hidden-print modal fade" id="slider2_blocksmodal" aria-labelledby="blockslider2modal"> )
(#1) HTML Validation error, line 82: The “aria-labelledby” attribute must point to an element in the same document. ( <section data-region="blocks-column" class="d-print-none hidden-print modal fade" id="slider3_blocksmodal" aria-labelledby="blockslider3modal"> )
(#1) HTML Validation error, line 85: The “aria-labelledby” attribute must point to an element in the same document. ( <section data-region="blocks-column" class="d-print-none hidden-print modal fade" id="slider4_blocksmodal" aria-labelledby="blockslider4modal"> )
theme/handlebar/templates/courses.mustache
(#1) HTML Validation error, line 36: 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 75: The “aria-labelledby” attribute must point to an element in the same document. ( <section data-region="blocks-column" class="d-print-none hidden-print modal fade" id="slider1_blocksmodal" aria-labelledby="blockslider1modal"> )
(#1) HTML Validation error, line 78: The “aria-labelledby” attribute must point to an element in the same document. ( <section data-region="blocks-column" class="d-print-none hidden-print modal fade" id="slider2_blocksmodal" aria-labelledby="blockslider2modal"> )
(#1) HTML Validation error, line 81: The “aria-labelledby” attribute must point to an element in the same document. ( <section data-region="blocks-column" class="d-print-none hidden-print modal fade" id="slider3_blocksmodal" aria-labelledby="blockslider3modal"> )
(#1) HTML Validation error, line 84: The “aria-labelledby” attribute must point to an element in the same document. ( <section data-region="blocks-column" class="d-print-none hidden-print modal fade" id="slider4_blocksmodal" aria-labelledby="blockslider4modal"> )
theme/handlebar/templates/head.mustache
(#1) Example context missing (@template section not found.)
(#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="" /> )
theme/handlebar/templates/header.mustache
(#1) Example context missing (@template section not found.)
theme/handlebar/templates/maintenance.mustache
(#1) HTML Validation error, line 7: Bad value for attribute “href” on element “link”: Illegal character in query: “|” is not allowed. (" /> <link href="https://fonts.googleapis.com/css?family=Cabin+Sketch:400,700|Lato:300,400,400i,700|Montserrat|Neucha|News+Cycle:400,700|Nunito+Sans:400,600|Open+Sans:300,300i,400,400i,700,700i|Raleway:400,700|Roboto|Source+Sans+Pro:300,400,400i,700|Ubuntu:400,700" rel="stylesheet"> )
theme/handlebar/templates/mydash.mustache
(#1) HTML Validation error, line 7: Bad value for attribute “href” on element “link”: Illegal character in query: “|” is not allowed. (" /> <link href="https://fonts.googleapis.com/css?family=Cabin+Sketch:400,700|Lato:300,400,400i,700|Montserrat|Neucha|News+Cycle:400,700|Nunito+Sans:400,600|Open+Sans:300,300i,400,400i,700,700i|Raleway:400,700|Roboto|Source+Sans+Pro:300,400,400i,700|Ubuntu:400,700" rel="stylesheet"> )
(#1) HTML Validation error, line 41: 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 80: The “aria-labelledby” attribute must point to an element in the same document. ( <section data-region="blocks-column" class="d-print-none hidden-print modal fade" id="slider1_blocksmodal" aria-labelledby="blockslider1modal"> )
(#1) HTML Validation error, line 83: The “aria-labelledby” attribute must point to an element in the same document. ( <section data-region="blocks-column" class="d-print-none hidden-print modal fade" id="slider2_blocksmodal" aria-labelledby="blockslider2modal"> )
(#1) HTML Validation error, line 86: The “aria-labelledby” attribute must point to an element in the same document. ( <section data-region="blocks-column" class="d-print-none hidden-print modal fade" id="slider3_blocksmodal" aria-labelledby="blockslider3modal"> )
(#1) HTML Validation error, line 89: The “aria-labelledby” attribute must point to an element in the same document. ( <section data-region="blocks-column" class="d-print-none hidden-print modal fade" id="slider4_blocksmodal" aria-labelledby="blockslider4modal"> )
theme/handlebar/templates/navbar.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 21: 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-light bg-gray" data-action="toggle-drawer" data-side="left" data-preference="drawer-open-nav"><img s)
theme/handlebar/templates/socialicons.mustache
(#1) Example context missing.
theme/handlebar/templates/studentmodal.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error