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

(431 errors, 85 warnings)

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

theme/schoollege/classes/output/core_renderer.php
(#49) global $PAGE cannot be used in renderers. Use $this->page.
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) This comment is 64% valid code; is this commented out code?
(#50) No space found before comment text; expected "// $theme = theme_config::load('schoollege');" but found "//$theme = theme_config::load('schoollege');"
(#51) Whitespace found at end of line
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) This comment is 67% valid code; is this commented out code?
(#64) No space found before comment text; expected "// $header->pageheadingbutton = $this->page_heading_button();" but found "//$header->pageheadingbutton = $this->page_heading_button();"
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) This comment is 67% valid code; is this commented out code?
(#67) No space found before comment text; expected "// $header->settingsmenu = $this->context_header_settings_menu();" but found "//$header->settingsmenu = $this->context_header_settings_menu();"
(#68) global $PAGE cannot be used in renderers. Use $this->page.
(#68) Line exceeds 132 characters; contains 147 characters
(#71) Expected 1 space after "<="; 0 found
(#71) global $PAGE cannot be used in renderers. Use $this->page.
(#71) global $PAGE cannot be used in renderers. Use $this->page.
(#71) Line exceeds 132 characters; contains 149 characters
(#73) Expected 1 space after "<="; 0 found
(#73) global $PAGE cannot be used in renderers. Use $this->page.
(#74) global $PAGE cannot be used in renderers. Use $this->page.
(#76) Expected "if (...) {\n"; found "if(...){\n"
(#76) Expected 1 space after "<="; 0 found
(#76) global $PAGE cannot be used in renderers. Use $this->page.
(#76) global $PAGE cannot be used in renderers. Use $this->page.
(#78) global $PAGE cannot be used in renderers. Use $this->page.
(#78) global $PAGE cannot be used in renderers. Use $this->page.
(#87) global $PAGE cannot be used in renderers. Use $this->page.
(#88) global $PAGE cannot be used in renderers. Use $this->page.
(#91) global $PAGE cannot be used in renderers. Use $this->page.
(#91) global $PAGE cannot be used in renderers. Use $this->page.
(#92) global $PAGE cannot be used in renderers. Use $this->page.
(#94) global $PAGE cannot be used in renderers. Use $this->page.
(#100) Expected "} else {\n"; found "}\n else {\n"
(#124) No space found before comment text; expected "// Show on Course Category Page." but found "//Show on Course Category Page."
(#126) global $PAGE cannot be used in renderers. Use $this->page.
(#131) global $PAGE cannot be used in renderers. Use $this->page.
(#131) global $PAGE cannot be used in renderers. Use $this->page.
(#141) PUBLIC keyword must be lowercase; expected "public" but found "Public"
(#142) global $PAGE cannot be used in renderers. Use $this->page.
(#142) global $OUTPUT cannot be used in renderers. Use $this->output.
(#147) Whitespace found at end of line
(#147) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#152) global $PAGE cannot be used in renderers. Use $this->page.
(#155) global $PAGE cannot be used in renderers. Use $this->page.
(#155) global $PAGE cannot be used in renderers. Use $this->page.
(#165) global $PAGE cannot be used in renderers. Use $this->page.
(#166) Whitespace found at end of line
(#169) global $PAGE cannot be used in renderers. Use $this->page.
(#169) Line exceeds 132 characters; contains 137 characters
(#178) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#181) global $PAGE cannot be used in renderers. Use $this->page.
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#189) Whitespace found at end of line
(#190) Whitespace found at end of line
(#191) Whitespace found at end of line
(#193) Whitespace found at end of line
(#194) Whitespace found at end of line
(#195) Whitespace found at end of line
(#196) Whitespace found at end of line
(#197) Whitespace found at end of line
(#198) Whitespace found at end of line
(#199) Whitespace found at end of line
(#200) Whitespace found at end of line
(#201) Whitespace found at end of line
(#202) Whitespace found at end of line
(#203) Whitespace found at end of line
(#204) Whitespace found at end of line
(#255) Inline comments must start with a capital letter, digit or 3-dots sequence
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#268) Expected 1 space before "=>"; 0 found
(#268) Expected 1 space after "=>"; 0 found
(#280) Inline comments must end in full-stops, exclamation marks, or question marks
(#282) Expected 1 space before "=>"; 0 found
(#282) Expected 1 space after "=>"; 0 found
(#287) Expected 1 space before "=>"; 0 found
(#287) Expected 1 space after "=>"; 0 found
(#287) Commas (,) must be followed by white space.
(#287) Expected 1 space before "=>"; 0 found
(#287) Expected 1 space after "=>"; 0 found
(#287) Expected 1 space before "=>"; 0 found
(#287) Expected 1 space after "=>"; 0 found
(#287) Expected 1 space before "=>"; 0 found
(#287) Expected 1 space after "=>"; 0 found
(#287) Line exceeds maximum limit of 180 characters; contains 188 characters
(#293) Line exceeds 132 characters; contains 134 characters
(#316) Line exceeds 132 characters; contains 146 characters
(#329) Inline comments must end in full-stops, exclamation marks, or question marks
(#331) global $PAGE cannot be used in renderers. Use $this->page.
(#338) global $PAGE cannot be used in renderers. Use $this->page.
(#339) Line indented incorrectly; expected at least 12 spaces, found 11
(#339) global $PAGE cannot be used in renderers. Use $this->page.
(#341) global $PAGE cannot be used in renderers. Use $this->page.
(#342) Line indented incorrectly; expected at least 12 spaces, found 11
(#342) global $PAGE cannot be used in renderers. Use $this->page.
(#344) global $PAGE cannot be used in renderers. Use $this->page.
(#345) Line indented incorrectly; expected at least 12 spaces, found 11
(#345) global $PAGE cannot be used in renderers. Use $this->page.
(#347) global $PAGE cannot be used in renderers. Use $this->page.
(#348) Line indented incorrectly; expected at least 12 spaces, found 11
(#348) global $PAGE cannot be used in renderers. Use $this->page.
(#350) global $PAGE cannot be used in renderers. Use $this->page.
(#351) Line indented incorrectly; expected at least 12 spaces, found 11
(#351) global $PAGE cannot be used in renderers. Use $this->page.
(#353) Expected 1 space after "!=="; 0 found
(#353) global $PAGE cannot be used in renderers. Use $this->page.
(#354) Line indented incorrectly; expected at least 12 spaces, found 11
(#354) global $PAGE cannot be used in renderers. Use $this->page.
(#356) global $PAGE cannot be used in renderers. Use $this->page.
(#357) Line indented incorrectly; expected at least 12 spaces, found 11
(#357) global $PAGE cannot be used in renderers. Use $this->page.
(#359) global $PAGE cannot be used in renderers. Use $this->page.
(#360) Line indented incorrectly; expected at least 12 spaces, found 11
(#360) global $PAGE cannot be used in renderers. Use $this->page.
(#367) Line exceeds 132 characters; contains 135 characters
(#371) Line indented incorrectly; expected at least 4 spaces, found 0
(#379) Line indented incorrectly; expected 8 spaces, found 12
(#381) Line indented incorrectly; expected 12 spaces, found 16
(#383) Line indented incorrectly; expected 12 spaces, found 16
(#385) Line indented incorrectly; expected 8 spaces, found 12
(#386) Line indented incorrectly; expected 8 spaces, found 12
(#386) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#388) Line indented incorrectly; expected 12 spaces, found 16
(#390) Line indented incorrectly; expected 12 spaces, found 16
(#392) Line indented incorrectly; expected 8 spaces, found 12
(#395) Line indented incorrectly; expected 8 spaces, found 12
(#396) Inline comments must start with a capital letter, digit or 3-dots sequence
(#398) Line indented incorrectly; expected 8 spaces, found 12
(#399) Inline comments must start with a capital letter, digit or 3-dots sequence
(#401) Line indented incorrectly; expected 4 spaces, found 8
(#401) Closing brace indented incorrectly; expected 4 spaces, found 8
(#404) global $PAGE cannot be used in renderers. Use $this->page.
(#404) global $OUTPUT cannot be used in renderers. Use $this->output.
(#407) Whitespace found at end of line
(#417) Whitespace found at end of line
(#419) Line exceeds 132 characters; contains 135 characters
(#420) Line indented incorrectly; expected 8 spaces, found 16
(#424) Line indented incorrectly; expected 12 spaces, found 20
(#425) Line indented incorrectly; expected 16 spaces, found 24
(#426) Line indented incorrectly; expected 20 spaces, found 28
(#428) Line indented incorrectly; expected 20 spaces, found 28
(#429) Line indented incorrectly; expected 16 spaces, found 24
(#430) Line indented incorrectly; expected 12 spaces, found 20
(#433) Line indented incorrectly; expected 12 spaces, found 20
(#434) Line indented incorrectly; expected 16 spaces, found 24
(#437) Line indented incorrectly; expected 16 spaces, found 24
(#438) Line indented incorrectly; expected 12 spaces, found 20
(#439) Line indented incorrectly; expected 12 spaces, found 20
(#448) Line indented incorrectly; expected 16 spaces, found 24
(#451) Line indented incorrectly; expected 20 spaces, found 28
(#452) Line indented incorrectly; expected 24 spaces, found 32
(#453) Line indented incorrectly; expected 28 spaces, found 36
(#456) Line indented incorrectly; expected 28 spaces, found 36
(#457) Line indented incorrectly; expected 24 spaces, found 32
(#458) Line indented incorrectly; expected 24 spaces, found 32
(#458) Expected "} else {\n"; found "}\n else {\n"
(#460) Line indented incorrectly; expected 24 spaces, found 32
(#461) Line indented incorrectly; expected 20 spaces, found 28
(#463) Line indented incorrectly; expected 20 spaces, found 28
(#464) Line indented incorrectly; expected 24 spaces, found 32
(#466) Line indented incorrectly; expected 24 spaces, found 32
(#467) Line indented incorrectly; expected 20 spaces, found 28
(#468) Line indented incorrectly; expected 16 spaces, found 24
(#469) Line indented incorrectly; expected 12 spaces, found 20
(#470) Commas (,) must be followed by white space.
(#471) Line indented incorrectly; expected 8 spaces, found 16
(#472) Line indented incorrectly; expected 8 spaces, found 16
(#472) Expected "} else {\n"; found "}\n else {\n"
(#474) Line indented incorrectly; expected 8 spaces, found 16
(#476) Whitespace found at end of line
(#477) Line indented incorrectly; expected 8 spaces, found 16
(#478) Line indented incorrectly; expected 12 spaces, found 20
(#479) Line exceeds 132 characters; contains 162 characters
(#480) Line indented incorrectly; expected 12 spaces, found 20
(#481) Line indented incorrectly; expected 8 spaces, found 16
(#482) Whitespace found at end of line
(#482) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#483) Whitespace found at end of line
(#494) global $PAGE cannot be used in renderers. Use $this->page.
(#494) global $OUTPUT cannot be used in renderers. Use $this->output.
(#495) "require_once" must be immediately followed by an open parenthesis
(#509) Expected "} else {\n"; found "}\n else {\n"
(#515) global $PAGE cannot be used in renderers. Use $this->page.
(#515) global $PAGE cannot be used in renderers. Use $this->page.
(#515) Line exceeds 132 characters; contains 163 characters
(#547) global $PAGE cannot be used in renderers. Use $this->page.
(#554) global $PAGE cannot be used in renderers. Use $this->page.
(#558) global $PAGE cannot be used in renderers. Use $this->page.
(#562) global $PAGE cannot be used in renderers. Use $this->page.
(#567) global $PAGE cannot be used in renderers. Use $this->page.
(#571) global $PAGE cannot be used in renderers. Use $this->page.
(#575) global $PAGE cannot be used in renderers. Use $this->page.
(#580) global $PAGE cannot be used in renderers. Use $this->page.
(#584) global $PAGE cannot be used in renderers. Use $this->page.
(#588) global $PAGE cannot be used in renderers. Use $this->page.
(#592) global $PAGE cannot be used in renderers. Use $this->page.
(#596) global $PAGE cannot be used in renderers. Use $this->page.
(#601) global $PAGE cannot be used in renderers. Use $this->page.
(#605) global $PAGE cannot be used in renderers. Use $this->page.
(#609) global $PAGE cannot be used in renderers. Use $this->page.
(#613) global $PAGE cannot be used in renderers. Use $this->page.
(#623) global $PAGE cannot be used in renderers. Use $this->page.
(#627) global $PAGE cannot be used in renderers. Use $this->page.
(#631) global $PAGE cannot be used in renderers. Use $this->page.
(#635) global $PAGE cannot be used in renderers. Use $this->page.
(#639) global $PAGE cannot be used in renderers. Use $this->page.
(#643) global $PAGE cannot be used in renderers. Use $this->page.
(#647) global $PAGE cannot be used in renderers. Use $this->page.
(#651) global $PAGE cannot be used in renderers. Use $this->page.
(#655) global $PAGE cannot be used in renderers. Use $this->page.
(#659) global $PAGE cannot be used in renderers. Use $this->page.
(#663) global $PAGE cannot be used in renderers. Use $this->page.
(#667) global $PAGE cannot be used in renderers. Use $this->page.
(#671) global $PAGE cannot be used in renderers. Use $this->page.
(#675) global $PAGE cannot be used in renderers. Use $this->page.
(#678) Inline comments must end in full-stops, exclamation marks, or question marks
(#679) global $PAGE cannot be used in renderers. Use $this->page.
(#680) global $PAGE cannot be used in renderers. Use $this->page.
(#683) Expected "} else {\n"; found "}\n else {\n"
(#691) global $PAGE cannot be used in renderers. Use $this->page.
(#724) global $PAGE cannot be used in renderers. Use $this->page.
(#742) global $OUTPUT cannot be used in renderers. Use $this->output.
(#760) Line exceeds 132 characters; contains 135 characters
(#765) global $PAGE cannot be used in renderers. Use $this->page.
(#783) global $OUTPUT cannot be used in renderers. Use $this->output.
(#801) Variable "cmnotetitle_desc" must not contain underscores.
(#813) Expected 1 space after "="; 2 found
(#813) global $PAGE cannot be used in renderers. Use $this->page.
(#816) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#818) global $PAGE cannot be used in renderers. Use $this->page.
(#818) global $PAGE cannot be used in renderers. Use $this->page.
(#818) Line exceeds 132 characters; contains 133 characters
(#819) global $PAGE cannot be used in renderers. Use $this->page.
(#819) global $PAGE cannot be used in renderers. Use $this->page.
(#819) Line exceeds 132 characters; contains 133 characters
(#825) Whitespace found at end of line
(#826) Whitespace found at end of line
(#828) Whitespace found at end of line
(#829) Whitespace found at end of line
(#830) Whitespace found at end of line
(#831) Whitespace found at end of line
(#832) Whitespace found at end of line
(#833) Variable "cmnotetitle_desc" must not contain underscores.
(#833) Whitespace found at end of line
(#834) Whitespace found at end of line
(#836) Whitespace found at end of line
(#837) Whitespace found at end of line
(#838) Whitespace found at end of line
(#839) Whitespace found at end of line
(#840) Whitespace found at end of line
(#841) Whitespace found at end of line
(#842) Whitespace found at end of line
(#843) Whitespace found at end of line
(#844) Whitespace found at end of line
(#845) Whitespace found at end of line
(#846) Whitespace found at end of line
(#847) Whitespace found at end of line
(#848) Whitespace found at end of line
(#849) Whitespace found at end of line
(#850) Whitespace found at end of line
(#851) Expected 1 space before "=>"; 0 found
(#851) Whitespace found at end of line
(#858) Whitespace found at end of line
(#859) Whitespace found at end of line
(#860) Whitespace found at end of line
(#861) Whitespace found at end of line
(#862) Whitespace found at end of line
(#863) Whitespace found at end of line
(#864) Whitespace found at end of line
(#865) Whitespace found at end of line
(#866) Whitespace found at end of line
(#867) Whitespace found at end of line
(#1033) global $PAGE cannot be used in renderers. Use $this->page.
(#1033) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1038) "require_once" must be immediately followed by an open parenthesis
(#1039) "require_once" must be immediately followed by an open parenthesis
(#1049) "require_once" must be immediately followed by an open parenthesis
(#1067) Line exceeds maximum limit of 180 characters; contains 230 characters
(#1070) Whitespace found at end of line
(#1071) global $PAGE cannot be used in renderers. Use $this->page.
(#1072) global $PAGE cannot be used in renderers. Use $this->page.
(#1073) global $PAGE cannot be used in renderers. Use $this->page.
(#1074) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1075) global $PAGE cannot be used in renderers. Use $this->page.
(#1076) global $PAGE cannot be used in renderers. Use $this->page.
(#1083) Line exceeds maximum limit of 180 characters; contains 183 characters
(#1089) Line exceeds maximum limit of 180 characters; contains 187 characters
(#1095) Line exceeds maximum limit of 180 characters; contains 185 characters
(#1105) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1105) global $PAGE cannot be used in renderers. Use $this->page.
(#1106) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1106) No space found before comment text; expected "// see if user uploaded a custom header background to the theme" but found "//see if user uploaded a custom header background to the theme"
(#1108) Inline comments must end in full-stops, exclamation marks, or question marks
(#1108) No space found before comment text; expected "// use the default theme image when no course image is detected" but found "//use the default theme image when no course image is detected"
(#1109) global $OUTPUT cannot be used in renderers. Use $this->output.
(#1110) No space found before comment text; expected "// See if custom course tile image is used." but found "//See if custom course tile image is used."
(#1111) global $PAGE cannot be used in renderers. Use $this->page.
(#1123) global $PAGE cannot be used in renderers. Use $this->page.
(#1125) global $PAGE cannot be used in renderers. Use $this->page.
(#1125) global $PAGE cannot be used in renderers. Use $this->page.
(#1161) global $PAGE cannot be used in renderers. Use $this->page.
(#1164) global $PAGE cannot be used in renderers. Use $this->page.
(#1164) global $PAGE cannot be used in renderers. Use $this->page.
(#1164) Line exceeds 132 characters; contains 145 characters
(#1166) global $PAGE cannot be used in renderers. Use $this->page.
(#1166) global $PAGE cannot be used in renderers. Use $this->page.
(#1166) Line exceeds 132 characters; contains 153 characters
(#1167) global $PAGE cannot be used in renderers. Use $this->page.
(#1167) global $PAGE cannot be used in renderers. Use $this->page.
(#1167) Line exceeds 132 characters; contains 142 characters
(#1168) global $PAGE cannot be used in renderers. Use $this->page.
(#1168) global $PAGE cannot be used in renderers. Use $this->page.
(#1168) Line exceeds 132 characters; contains 142 characters
(#1169) global $PAGE cannot be used in renderers. Use $this->page.
(#1169) global $PAGE cannot be used in renderers. Use $this->page.
(#1169) Line exceeds 132 characters; contains 142 characters
(#1170) global $PAGE cannot be used in renderers. Use $this->page.
(#1170) global $PAGE cannot be used in renderers. Use $this->page.
(#1170) Line exceeds 132 characters; contains 142 characters
(#1171) global $PAGE cannot be used in renderers. Use $this->page.
(#1171) global $PAGE cannot be used in renderers. Use $this->page.
(#1171) Line exceeds 132 characters; contains 142 characters
(#1172) global $PAGE cannot be used in renderers. Use $this->page.
(#1172) global $PAGE cannot be used in renderers. Use $this->page.
(#1172) Line exceeds 132 characters; contains 142 characters
(#1173) global $PAGE cannot be used in renderers. Use $this->page.
(#1173) global $PAGE cannot be used in renderers. Use $this->page.
(#1173) Line exceeds 132 characters; contains 142 characters
(#1174) global $PAGE cannot be used in renderers. Use $this->page.
(#1174) global $PAGE cannot be used in renderers. Use $this->page.
(#1174) Line exceeds 132 characters; contains 142 characters
(#1175) global $PAGE cannot be used in renderers. Use $this->page.
(#1175) global $PAGE cannot be used in renderers. Use $this->page.
(#1176) global $PAGE cannot be used in renderers. Use $this->page.
(#1176) global $PAGE cannot be used in renderers. Use $this->page.
(#1177) global $PAGE cannot be used in renderers. Use $this->page.
(#1177) global $PAGE cannot be used in renderers. Use $this->page.
(#1178) global $PAGE cannot be used in renderers. Use $this->page.
(#1178) global $PAGE cannot be used in renderers. Use $this->page.
(#1179) global $PAGE cannot be used in renderers. Use $this->page.
(#1179) global $PAGE cannot be used in renderers. Use $this->page.
(#1180) global $PAGE cannot be used in renderers. Use $this->page.
(#1180) global $PAGE cannot be used in renderers. Use $this->page.
(#1181) global $PAGE cannot be used in renderers. Use $this->page.
(#1181) global $PAGE cannot be used in renderers. Use $this->page.
(#1182) global $PAGE cannot be used in renderers. Use $this->page.
(#1182) global $PAGE cannot be used in renderers. Use $this->page.
(#1183) global $PAGE cannot be used in renderers. Use $this->page.
(#1183) global $PAGE cannot be used in renderers. Use $this->page.
(#1183) Line exceeds 132 characters; contains 138 characters
(#1184) global $PAGE cannot be used in renderers. Use $this->page.
(#1184) global $PAGE cannot be used in renderers. Use $this->page.
(#1184) Line exceeds 132 characters; contains 138 characters
(#1185) global $PAGE cannot be used in renderers. Use $this->page.
(#1185) global $PAGE cannot be used in renderers. Use $this->page.
(#1185) Line exceeds 132 characters; contains 138 characters
(#1186) global $PAGE cannot be used in renderers. Use $this->page.
(#1186) global $PAGE cannot be used in renderers. Use $this->page.
(#1186) Line exceeds 132 characters; contains 138 characters
(#1187) global $PAGE cannot be used in renderers. Use $this->page.
(#1187) global $PAGE cannot be used in renderers. Use $this->page.
(#1187) Line exceeds 132 characters; contains 138 characters
(#1188) global $PAGE cannot be used in renderers. Use $this->page.
(#1188) global $PAGE cannot be used in renderers. Use $this->page.
(#1188) Line exceeds 132 characters; contains 138 characters
(#1189) global $PAGE cannot be used in renderers. Use $this->page.
(#1189) global $PAGE cannot be used in renderers. Use $this->page.
(#1189) Line exceeds 132 characters; contains 138 characters
(#1190) global $PAGE cannot be used in renderers. Use $this->page.
(#1190) global $PAGE cannot be used in renderers. Use $this->page.
(#1190) Line exceeds 132 characters; contains 138 characters
(#1191) global $PAGE cannot be used in renderers. Use $this->page.
(#1191) global $PAGE cannot be used in renderers. Use $this->page.
(#1192) global $PAGE cannot be used in renderers. Use $this->page.
(#1192) global $PAGE cannot be used in renderers. Use $this->page.
(#1193) global $PAGE cannot be used in renderers. Use $this->page.
(#1193) global $PAGE cannot be used in renderers. Use $this->page.
(#1194) global $PAGE cannot be used in renderers. Use $this->page.
(#1194) global $PAGE cannot be used in renderers. Use $this->page.
(#1195) global $PAGE cannot be used in renderers. Use $this->page.
(#1195) global $PAGE cannot be used in renderers. Use $this->page.
(#1196) global $PAGE cannot be used in renderers. Use $this->page.
(#1196) global $PAGE cannot be used in renderers. Use $this->page.
(#1197) global $PAGE cannot be used in renderers. Use $this->page.
(#1197) global $PAGE cannot be used in renderers. Use $this->page.
(#1198) global $PAGE cannot be used in renderers. Use $this->page.
(#1198) global $PAGE cannot be used in renderers. Use $this->page.
(#1199) global $PAGE cannot be used in renderers. Use $this->page.
(#1199) global $PAGE cannot be used in renderers. Use $this->page.
(#1199) Line exceeds 132 characters; contains 165 characters
(#1203) Variable "fp_icons" must not contain underscores.
(#1204) global $PAGE cannot be used in renderers. Use $this->page.
(#1204) Whitespace found at end of line
(#1206) Line exceeds maximum limit of 180 characters; contains 190 characters
(#1206) Whitespace found at end of line
(#1272) Whitespace found at end of line
(#1275) Variable "fp_icons" must not contain underscores.
theme/schoollege/classes/privacy/provider.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#4) Whitespace found at end of line
(#5) Whitespace found at end of line
theme/schoollege/config.php
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
theme/schoollege/lang/en/theme_schoollege.php
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) No space found before comment text; expected "// Edit Button Text" but found "//Edit Button Text"
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Inline comments must start with a capital letter, digit or 3-dots sequence
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) No space found before comment text; expected "// teacher and student dashboard slider" but found "//teacher and student dashboard slider"
(#264) Inline comments must end in full-stops, exclamation marks, or question marks
(#264) No space found before comment text; expected "// FP Icon Nav" but found "//FP Icon Nav"
theme/schoollege/layout/login.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
theme/schoollege/lib.php
(#35) Space found before semicolon; expected "$CFG;" but found "$CFG ;"
(#58) Whitespace found at end of line
(#59) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Line exceeds 132 characters; contains 153 characters
theme/schoollege/settings/branding.php
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Whitespace found at end of line
theme/schoollege/settings/colors.php
(#84) Whitespace found at end of line
theme/schoollege/settings/fpicons.php
(#18) Expected 1 space(s) before asterisk; 0 found
(#19) Expected 1 space(s) before asterisk; 0 found
(#20) Expected 1 space(s) before asterisk; 0 found
(#21) Expected 1 space(s) before asterisk; 0 found
(#22) Expected 1 space(s) before asterisk; 0 found
(#22) Whitespace found at end of line
(#23) Expected 1 space(s) before asterisk; 0 found
(#24) Expected 1 space(s) before asterisk; 0 found
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Expected 1 space before "=>"; 0 found
(#143) Expected 1 space after "=>"; 0 found
(#143) Expected 1 space before "=>"; 0 found
(#143) Expected 1 space after "=>"; 0 found
(#143) Expected 1 space before "=>"; 0 found
(#143) Expected 1 space after "=>"; 0 found
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) Expected 1 space before "=>"; 0 found
(#186) Expected 1 space after "=>"; 0 found
(#186) Expected 1 space before "=>"; 0 found
(#186) Expected 1 space after "=>"; 0 found
(#186) Expected 1 space before "=>"; 0 found
(#186) Expected 1 space after "=>"; 0 found
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#229) Expected 1 space before "=>"; 0 found
(#229) Expected 1 space after "=>"; 0 found
(#229) Expected 1 space before "=>"; 0 found
(#229) Expected 1 space after "=>"; 0 found
(#229) Expected 1 space before "=>"; 0 found
(#229) Expected 1 space after "=>"; 0 found
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#260) Expected 1 space after "="; 2 found
(#272) Expected 1 space before "=>"; 0 found
(#272) Expected 1 space after "=>"; 0 found
(#272) Expected 1 space before "=>"; 0 found
(#272) Expected 1 space after "=>"; 0 found
(#272) Expected 1 space before "=>"; 0 found
(#272) Expected 1 space after "=>"; 0 found
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#315) Expected 1 space before "=>"; 0 found
(#315) Expected 1 space after "=>"; 0 found
(#315) Expected 1 space before "=>"; 0 found
(#315) Expected 1 space after "=>"; 0 found
(#315) Expected 1 space before "=>"; 0 found
(#315) Expected 1 space after "=>"; 0 found
(#320) Inline comments must end in full-stops, exclamation marks, or question marks
(#358) Expected 1 space before "=>"; 0 found
(#358) Expected 1 space after "=>"; 0 found
(#358) Expected 1 space before "=>"; 0 found
(#358) Expected 1 space after "=>"; 0 found
(#358) Expected 1 space before "=>"; 0 found
(#358) Expected 1 space after "=>"; 0 found
(#363) Inline comments must end in full-stops, exclamation marks, or question marks
(#401) Expected 1 space before "=>"; 0 found
(#401) Expected 1 space after "=>"; 0 found
(#401) Expected 1 space before "=>"; 0 found
(#401) Expected 1 space after "=>"; 0 found
(#401) Expected 1 space before "=>"; 0 found
(#401) Expected 1 space after "=>"; 0 found
(#406) Inline comments must end in full-stops, exclamation marks, or question marks
(#444) Expected 1 space before "=>"; 0 found
(#444) Expected 1 space after "=>"; 0 found
(#444) Expected 1 space before "=>"; 0 found
(#444) Expected 1 space after "=>"; 0 found
(#444) Expected 1 space before "=>"; 0 found
(#444) Expected 1 space after "=>"; 0 found
theme/schoollege/settings/general.php
(#43) Line indented incorrectly; expected 0 spaces, found 4
(#45) Line indented incorrectly; expected 0 spaces, found 4
(#56) Commas (,) must be followed by white space.
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) This comment is 63% valid code; is this commented out code?
(#139) Expected 1 space before "=>"; 0 found
(#139) Expected 1 space after "=>"; 0 found
(#139) Expected 1 space before "=>"; 0 found
(#139) Expected 1 space after "=>"; 0 found
(#139) Expected 1 space before "=>"; 0 found
(#139) Expected 1 space after "=>"; 0 found
(#139) Expected 1 space before "=>"; 0 found
(#139) Expected 1 space after "=>"; 0 found
(#139) This comment is 84% valid code; is this commented out code?
(#139) Line exceeds maximum limit of 180 characters; contains 201 characters
theme/schoollege/settings/login.php
(#100) Whitespace found at end of line

Javascript coding style problems

(14 errors, 21 warnings)

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

theme/schoollege/javascript/scrollspy.js
(#1) '$' is not defined. (no-undef)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#3) '$' is not defined. (no-undef)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#7) Identifier 'viewport_top' is not in camel case. (camelcase)
(#7) '$' is not defined. (no-undef)
(#9) Identifier 'closest_offset' is not in camel case. (camelcase)
(#11) '$' is not defined. (no-undef)
(#11) Unexpected space before function parentheses. (space-before-function-paren)
(#12) Identifier 'this_offset' is not in camel case. (camelcase)
(#12) '$' is not defined. (no-undef)
(#14) '$' is not defined. (no-undef)
(#15) Identifier 'closest_offset' is not in camel case. (camelcase)
(#15) '$' is not defined. (no-undef)
(#17) Use '===' to compare with null. (no-eq-null)
(#17) Identifier 'this_offset' is not in camel case. (camelcase)
(#17) Identifier 'viewport_top' is not in camel case. (camelcase)
(#17) Identifier 'closest_offset' is not in camel case. (camelcase)
(#17) Identifier 'viewport_top' is not in camel case. (camelcase)
(#23) Identifier 'viewport_top' is not in camel case. (camelcase)
(#23) '$' is not defined. (no-undef)
(#27) Identifier 'edit_toggled' is not in camel case. (camelcase)
(#29) Identifier 'edit_toggled' is not in camel case. (camelcase)
(#31) Identifier 'closest_id' is not in camel case. (camelcase)
(#32) Identifier 'closest_delta' is not in camel case. (camelcase)
(#34) Identifier 'closest_id' is not in camel case. (camelcase)
(#34) Identifier 'closest_delta' is not in camel case. (camelcase)
(#35) '$' is not defined. (no-undef)
(#35) Identifier 'closest_id' is not in camel case. (camelcase)
(#36) '$' is not defined. (no-undef)
theme/schoollege/javascript/tooltipfix.js
(#1) '$' is not defined. (no-undef)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#3) '$' is not defined. (no-undef)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#4) '$' is not defined. (no-undef)

CSS problems

(348 errors, 9 warnings)

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

theme/schoollege/scss/headerimage.scss
(#1) Expected newline after "," (selector-list-comma-newline-after)
theme/schoollege/scss/rebelstylevariables-listing.scss
(#41) Expected "#1968BE" to be "#1968be" (color-hex-case)
(#39) Expected single space before "!" (declaration-bang-space-before)
(#39) Expected whitespace after ")" (function-whitespace-after)
(#2) Expected line length to be no more than 132 characters (max-line-length)
(#1) Unexpected whitespace at end of line (no-eol-whitespace)
theme/schoollege/scss/theme.scss
(#241) Invalid value for `box-shadow` (csstree/validator)
(#404) Expected empty line before at-rule (at-rule-empty-line-before)
(#10) Expected newline before "}" (block-closing-brace-newline-before)
(#13) Expected newline before "}" (block-closing-brace-newline-before)
(#220) Expected newline before "}" (block-closing-brace-newline-before)
(#227) Expected newline before "}" (block-closing-brace-newline-before)
(#260) Expected newline before "}" (block-closing-brace-newline-before)
(#315) Expected newline after "{" (block-opening-brace-newline-after)
(#263) Expected single space before "{" (block-opening-brace-space-before)
(#268) Expected single space before "{" (block-opening-brace-space-before)
(#272) Expected single space before "{" (block-opening-brace-space-before)
(#274) Expected single space before "{" (block-opening-brace-space-before)
(#286) Expected single space before "{" (block-opening-brace-space-before)
(#287) Expected single space before "{" (block-opening-brace-space-before)
(#291) Expected single space before "{" (block-opening-brace-space-before)
(#296) Expected single space before "{" (block-opening-brace-space-before)
(#297) Expected single space before "{" (block-opening-brace-space-before)
(#302) Expected single space before "{" (block-opening-brace-space-before)
(#305) Expected single space before "{" (block-opening-brace-space-before)
(#309) Expected single space before "{" (block-opening-brace-space-before)
(#315) Expected single space before "{" (block-opening-brace-space-before)
(#317) Expected single space before "{" (block-opening-brace-space-before)
(#326) Expected single space before "{" (block-opening-brace-space-before)
(#330) Expected single space before "{" (block-opening-brace-space-before)
(#336) Expected single space before "{" (block-opening-brace-space-before)
(#340) Expected single space before "{" (block-opening-brace-space-before)
(#344) Expected single space before "{" (block-opening-brace-space-before)
(#348) Expected single space before "{" (block-opening-brace-space-before)
(#351) Expected single space before "{" (block-opening-brace-space-before)
(#355) Expected single space before "{" (block-opening-brace-space-before)
(#359) Expected single space before "{" (block-opening-brace-space-before)
(#362) Expected single space before "{" (block-opening-brace-space-before)
(#366) Expected single space before "{" (block-opening-brace-space-before)
(#372) Expected single space before "{" (block-opening-brace-space-before)
(#376) Expected single space before "{" (block-opening-brace-space-before)
(#380) Expected single space before "{" (block-opening-brace-space-before)
(#385) Expected single space before "{" (block-opening-brace-space-before)
(#386) Expected single space before "{" (block-opening-brace-space-before)
(#390) Expected single space before "{" (block-opening-brace-space-before)
(#393) Expected single space before "{" (block-opening-brace-space-before)
(#397) Expected single space before "{" (block-opening-brace-space-before)
(#405) Expected single space before "{" (block-opening-brace-space-before)
(#406) Expected single space before "{" (block-opening-brace-space-before)
(#408) Expected single space before "{" (block-opening-brace-space-before)
(#411) Expected single space before "{" (block-opening-brace-space-before)
(#615) Expected single space before "{" (block-opening-brace-space-before)
(#173) Expected "#CCCCCC" to be "#cccccc" (color-hex-case)
(#190) Expected "#CCCCCC" to be "#cccccc" (color-hex-case)
(#173) Expected "#CCCCCC" to be "#CCC" (color-hex-length)
(#190) Expected "#CCCCCC" to be "#CCC" (color-hex-length)
(#509) Expected single space before "!" (declaration-bang-space-before)
(#515) Expected single space before "!" (declaration-bang-space-before)
(#653) Expected single space before "!" (declaration-bang-space-before)
(#661) Expected single space before "!" (declaration-bang-space-before)
(#670) Expected single space before "!" (declaration-bang-space-before)
(#674) Expected single space before "!" (declaration-bang-space-before)
(#682) Expected single space before "!" (declaration-bang-space-before)
(#701) Expected single space before "!" (declaration-bang-space-before)
(#707) Expected single space before "!" (declaration-bang-space-before)
(#711) Expected single space before "!" (declaration-bang-space-before)
(#257) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#258) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#264) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#273) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#275) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#276) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#279) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#281) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#288) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#292) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#299) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#303) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#306) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#307) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#310) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#319) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#321) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#322) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#327) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#328) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#331) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#332) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#333) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#341) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#342) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#345) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#352) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#353) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#356) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#363) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#364) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#367) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#388) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#391) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#759) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#509) Unexpected !important (declaration-no-important)
(#515) Unexpected !important (declaration-no-important)
(#653) Unexpected !important (declaration-no-important)
(#661) Unexpected !important (declaration-no-important)
(#670) Unexpected !important (declaration-no-important)
(#674) Unexpected !important (declaration-no-important)
(#682) Unexpected !important (declaration-no-important)
(#701) Unexpected !important (declaration-no-important)
(#707) Unexpected !important (declaration-no-important)
(#711) Unexpected !important (declaration-no-important)
(#35) Expected no more than 2 empty lines (max-empty-lines)
(#647) Expected line length to be no more than 132 characters (max-line-length)
(#656) Expected line length to be no more than 132 characters (max-line-length)
(#404) Unexpected whitespace after "(" (media-feature-parentheses-space-inside)
(#404) Unexpected whitespace before ")" (media-feature-parentheses-space-inside)
(#793) Unexpected whitespace after "(" (media-feature-parentheses-space-inside)
(#793) Unexpected whitespace before ")" (media-feature-parentheses-space-inside)
(#10) Unexpected whitespace at end of line (no-eol-whitespace)
(#13) Unexpected whitespace at end of line (no-eol-whitespace)
(#257) Unexpected whitespace at end of line (no-eol-whitespace)
(#258) Unexpected whitespace at end of line (no-eol-whitespace)
(#259) Unexpected whitespace at end of line (no-eol-whitespace)
(#271) Unexpected whitespace at end of line (no-eol-whitespace)
(#314) Unexpected whitespace at end of line (no-eol-whitespace)
(#315) Unexpected whitespace at end of line (no-eol-whitespace)
(#339) Unexpected whitespace at end of line (no-eol-whitespace)
(#350) Unexpected whitespace at end of line (no-eol-whitespace)
(#361) Unexpected whitespace at end of line (no-eol-whitespace)
(#384) Unexpected whitespace at end of line (no-eol-whitespace)
(#647) Expected single space after "~" (selector-combinator-space-after)
(#647) Expected single space before "~" (selector-combinator-space-before)
(#37) Expected newline after "," (selector-list-comma-newline-after)
(#37) Expected newline after "," (selector-list-comma-newline-after)
(#208) Expected newline after "," (selector-list-comma-newline-after)
(#555) Expected newline after "," (selector-list-comma-newline-after)
(#555) Expected newline after "," (selector-list-comma-newline-after)
(#559) Expected newline after "," (selector-list-comma-newline-after)
(#600) Expected newline after "," (selector-list-comma-newline-after)
(#600) Expected newline after "," (selector-list-comma-newline-after)
(#600) Expected newline after "," (selector-list-comma-newline-after)
(#647) Expected newline after "," (selector-list-comma-newline-after)
(#656) Expected newline after "," (selector-list-comma-newline-after)
(#746) Expected newline after "," (selector-list-comma-newline-after)
(#753) Expected newline after "," (selector-list-comma-newline-after)
(#10) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#53) Expected indentation of 4 spaces (indentation)
(#54) Expected indentation of 4 spaces (indentation)
(#78) Expected indentation of 4 spaces (indentation)
(#79) Expected indentation of 4 spaces (indentation)
(#80) Expected indentation of 4 spaces (indentation)
(#81) Expected indentation of 4 spaces (indentation)
(#82) Expected indentation of 4 spaces (indentation)
(#86) Expected indentation of 4 spaces (indentation)
(#87) Expected indentation of 4 spaces (indentation)
(#88) Expected indentation of 4 spaces (indentation)
(#89) Expected indentation of 4 spaces (indentation)
(#93) Expected indentation of 4 spaces (indentation)
(#97) Expected indentation of 4 spaces (indentation)
(#98) Expected indentation of 4 spaces (indentation)
(#103) Expected indentation of 4 spaces (indentation)
(#107) Expected indentation of 4 spaces (indentation)
(#155) Expected indentation of 4 spaces (indentation)
(#157) Expected indentation of 4 spaces (indentation)
(#156) Expected indentation of 8 spaces (indentation)
(#158) Expected indentation of 4 spaces (indentation)
(#160) Expected indentation of 4 spaces (indentation)
(#159) Expected indentation of 8 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)
(#227) Expected indentation of 4 spaces (indentation)
(#251) Expected indentation of 4 spaces (indentation)
(#255) Expected indentation of 4 spaces (indentation)
(#260) Expected indentation of 4 spaces (indentation)
(#256) Expected indentation of 8 spaces (indentation)
(#257) Expected indentation of 8 spaces (indentation)
(#258) Expected indentation of 8 spaces (indentation)
(#259) Expected indentation of 8 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)
(#270) Expected indentation of 4 spaces (indentation)
(#269) Expected indentation of 8 spaces (indentation)
(#272) Expected indentation of 4 spaces (indentation)
(#371) Expected indentation of 4 spaces (indentation)
(#273) Expected indentation of 8 spaces (indentation)
(#274) Expected indentation of 8 spaces (indentation)
(#285) Expected indentation of 8 spaces (indentation)
(#275) Expected indentation of 12 spaces (indentation)
(#276) Expected indentation of 12 spaces (indentation)
(#277) Expected indentation of 12 spaces (indentation)
(#278) Expected indentation of 12 spaces (indentation)
(#279) Expected indentation of 12 spaces (indentation)
(#280) Expected indentation of 12 spaces (indentation)
(#281) Expected indentation of 12 spaces (indentation)
(#282) Expected indentation of 12 spaces (indentation)
(#283) Expected indentation of 12 spaces (indentation)
(#284) Expected indentation of 12 spaces (indentation)
(#286) Expected indentation of 8 spaces (indentation)
(#295) Expected indentation of 8 spaces (indentation)
(#287) Expected indentation of 12 spaces (indentation)
(#294) Expected indentation of 12 spaces (indentation)
(#288) Expected indentation of 16 spaces (indentation)
(#289) Expected indentation of 16 spaces (indentation)
(#290) Expected indentation of 16 spaces (indentation)
(#291) Expected indentation of 16 spaces (indentation)
(#293) Expected indentation of 16 spaces (indentation)
(#292) Expected indentation of 20 spaces (indentation)
(#296) Expected indentation of 8 spaces (indentation)
(#313) Expected indentation of 8 spaces (indentation)
(#297) Expected indentation of 12 spaces (indentation)
(#312) Expected indentation of 12 spaces (indentation)
(#298) Expected indentation of 16 spaces (indentation)
(#299) Expected indentation of 16 spaces (indentation)
(#300) Expected indentation of 16 spaces (indentation)
(#301) Expected indentation of 16 spaces (indentation)
(#302) Expected indentation of 16 spaces (indentation)
(#304) Expected indentation of 16 spaces (indentation)
(#303) Expected indentation of 20 spaces (indentation)
(#305) Expected indentation of 16 spaces (indentation)
(#308) Expected indentation of 16 spaces (indentation)
(#306) Expected indentation of 20 spaces (indentation)
(#307) Expected indentation of 20 spaces (indentation)
(#309) Expected indentation of 16 spaces (indentation)
(#311) Expected indentation of 16 spaces (indentation)
(#310) Expected indentation of 20 spaces (indentation)
(#315) Expected indentation of 8 spaces (indentation)
(#370) Expected indentation of 8 spaces (indentation)
(#316) Expected indentation of 12 spaces (indentation)
(#325) Expected indentation of 12 spaces (indentation)
(#317) Expected indentation of 12 spaces (indentation)
(#318) Expected indentation of 16 spaces (indentation)
(#319) Expected indentation of 16 spaces (indentation)
(#320) Expected indentation of 16 spaces (indentation)
(#321) Expected indentation of 16 spaces (indentation)
(#322) Expected indentation of 16 spaces (indentation)
(#323) Expected indentation of 16 spaces (indentation)
(#324) Expected indentation of 16 spaces (indentation)
(#326) Expected indentation of 12 spaces (indentation)
(#329) Expected indentation of 12 spaces (indentation)
(#327) Expected indentation of 16 spaces (indentation)
(#328) Expected indentation of 16 spaces (indentation)
(#330) Expected indentation of 12 spaces (indentation)
(#335) Expected indentation of 12 spaces (indentation)
(#331) Expected indentation of 16 spaces (indentation)
(#332) Expected indentation of 16 spaces (indentation)
(#333) Expected indentation of 16 spaces (indentation)
(#334) Expected indentation of 16 spaces (indentation)
(#336) Expected indentation of 12 spaces (indentation)
(#347) Expected indentation of 12 spaces (indentation)
(#337) Expected indentation of 16 spaces (indentation)
(#338) Expected indentation of 16 spaces (indentation)
(#340) Expected indentation of 16 spaces (indentation)
(#343) Expected indentation of 16 spaces (indentation)
(#341) Expected indentation of 20 spaces (indentation)
(#342) Expected indentation of 20 spaces (indentation)
(#344) Expected indentation of 16 spaces (indentation)
(#346) Expected indentation of 16 spaces (indentation)
(#345) Expected indentation of 20 spaces (indentation)
(#348) Expected indentation of 12 spaces (indentation)
(#358) Expected indentation of 12 spaces (indentation)
(#349) Expected indentation of 16 spaces (indentation)
(#351) Expected indentation of 16 spaces (indentation)
(#354) Expected indentation of 16 spaces (indentation)
(#352) Expected indentation of 20 spaces (indentation)
(#353) Expected indentation of 20 spaces (indentation)
(#355) Expected indentation of 16 spaces (indentation)
(#357) Expected indentation of 16 spaces (indentation)
(#356) Expected indentation of 20 spaces (indentation)
(#359) Expected indentation of 12 spaces (indentation)
(#369) Expected indentation of 12 spaces (indentation)
(#360) Expected indentation of 16 spaces (indentation)
(#362) Expected indentation of 16 spaces (indentation)
(#365) Expected indentation of 16 spaces (indentation)
(#363) Expected indentation of 20 spaces (indentation)
(#364) Expected indentation of 20 spaces (indentation)
(#366) Expected indentation of 16 spaces (indentation)
(#368) Expected indentation of 16 spaces (indentation)
(#367) Expected indentation of 20 spaces (indentation)
(#372) Expected indentation of 4 spaces (indentation)
(#402) Expected indentation of 4 spaces (indentation)
(#373) Expected indentation of 8 spaces (indentation)
(#383) Expected indentation of 8 spaces (indentation)
(#374) Expected indentation of 12 spaces (indentation)
(#375) Expected indentation of 12 spaces (indentation)
(#376) Expected indentation of 12 spaces (indentation)
(#379) Expected indentation of 12 spaces (indentation)
(#377) Expected indentation of 16 spaces (indentation)
(#378) Expected indentation of 16 spaces (indentation)
(#380) Expected indentation of 12 spaces (indentation)
(#382) Expected indentation of 12 spaces (indentation)
(#381) Expected indentation of 16 spaces (indentation)
(#385) Expected indentation of 8 spaces (indentation)
(#401) Expected indentation of 8 spaces (indentation)
(#386) Expected indentation of 12 spaces (indentation)
(#400) Expected indentation of 12 spaces (indentation)
(#387) Expected indentation of 16 spaces (indentation)
(#388) Expected indentation of 16 spaces (indentation)
(#389) Expected indentation of 16 spaces (indentation)
(#390) Expected indentation of 16 spaces (indentation)
(#392) Expected indentation of 16 spaces (indentation)
(#391) Expected indentation of 20 spaces (indentation)
(#393) Expected indentation of 16 spaces (indentation)
(#396) Expected indentation of 16 spaces (indentation)
(#394) Expected indentation of 20 spaces (indentation)
(#395) Expected indentation of 20 spaces (indentation)
(#397) Expected indentation of 16 spaces (indentation)
(#399) Expected indentation of 16 spaces (indentation)
(#398) Expected indentation of 20 spaces (indentation)
(#405) Expected indentation of 4 spaces (indentation)
(#415) Expected indentation of 4 spaces (indentation)
(#406) Expected indentation of 8 spaces (indentation)
(#414) Expected indentation of 8 spaces (indentation)
(#407) Expected indentation of 12 spaces (indentation)
(#408) Expected indentation of 12 spaces (indentation)
(#410) Expected indentation of 12 spaces (indentation)
(#409) Expected indentation of 16 spaces (indentation)
(#411) Expected indentation of 12 spaces (indentation)
(#413) Expected indentation of 12 spaces (indentation)
(#412) Expected indentation of 16 spaces (indentation)
(#473) Expected indentation of 4 spaces (indentation)
(#477) Expected indentation of 4 spaces (indentation)
(#552) Expected indentation of 4 spaces (indentation)
(#560) Expected indentation of 4 spaces (indentation)
(#587) Expected indentation of 4 spaces (indentation)
(#588) Expected indentation of 4 spaces (indentation)
(#589) Expected indentation of 4 spaces (indentation)
(#590) Expected indentation of 4 spaces (indentation)
(#591) Expected indentation of 4 spaces (indentation)
(#592) Expected indentation of 4 spaces (indentation)
(#593) Expected indentation of 4 spaces (indentation)
(#597) Expected indentation of 4 spaces (indentation)
(#794) Expected indentation of 4 spaces (indentation)
(#796) Expected indentation of 4 spaces (indentation)
(#795) Expected indentation of 8 spaces (indentation)
(#797) Expected indentation of 4 spaces (indentation)
(#799) Expected indentation of 4 spaces (indentation)
(#798) Expected indentation of 8 spaces (indentation)
theme/schoollege/scss/preset/schoollege.scss
(#25) Expected "#1968BE" to be "#1968be" (color-hex-case)
(#41) Expected single space before "!" (declaration-bang-space-before)
(#68) Expected single space after "," in a single-line function (function-comma-space-after)
(#68) Expected single space after "," in a single-line function (function-comma-space-after)
(#68) Expected single space after "," in a single-line function (function-comma-space-after)
(#41) Expected whitespace after ")" (function-whitespace-after)
theme/schoollege/scss/sectionstyles/section1.scss
(#9) Expected newline after "," (selector-list-comma-newline-after)
theme/schoollege/scss/sectionstyles/section2.scss
(#3) Expected newline after "," (selector-list-comma-newline-after)
(#9) Expected newline after "," (selector-list-comma-newline-after)
(#21) Expected newline after "," (selector-list-comma-newline-after)
theme/schoollege/scss/sectionstyles/section3.scss
(#12) Expected newline after "," (selector-list-comma-newline-after)
theme/schoollege/scss/sectionstyles/section4.scss
(#20) Expected "Border" to be "border" (property-case)
(#3) Expected newline after "," (selector-list-comma-newline-after)
(#23) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(37 errors, 1 warnings)

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

theme/schoollege/classes/output/core_renderer.php
(#17) File-level phpdocs block is not found
(#46) Class core_renderer is not documented
(#48) Function core_renderer::full_header is not documented
(#86) Function core_renderer::edit_button_schoollege is not documented
(#119) Function core_renderer::edit_button is not documented
(#125) Function core_renderer::enrolformcoursepage is not documented
(#141) Function core_renderer::iconsidebarmenu is not documented
(#330) Function core_renderer::render_login is not documented
(#377) Function core_renderer::timeaccesscompare is not documented
(#403) Function core_renderer::schoollege_mycourses is not documented
(#493) Function core_renderer::teacherdash is not documented
(#1032) Function core_renderer::headerimage is not documented
(#1104) Function core_renderer::get_generated_image_for_id is not documented
(#1122) Function core_renderer::footnote is not documented
(#1129) Function core_renderer::brandorganization_footer is not documented
(#1134) Function core_renderer::brandwebsite_footer is not documented
(#1139) Function core_renderer::brandphone_footer is not documented
(#1144) Function core_renderer::brandemail_footer is not documented
(#1149) Function core_renderer::brandlogo is not documented
(#1154) Function core_renderer::dashboardtextbox is not documented
(#1160) Function core_renderer::fpicons is not documented
(#46) Package is not specified for class core_renderer. It is also not specified in file-level phpdocs
theme/schoollege/classes/privacy/provider.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#5) Class provider is not documented
(#7) Function provider::get_reason is not documented
(#5) Package is not specified for class provider. It is also not specified in file-level phpdocs
theme/schoollege/layout/columns2.php
(#20) Package theme_boost is not valid
theme/schoollege/layout/login.php
(#17) File-level phpdocs block is not found
(#22) Package theme_boost is not valid
theme/schoollege/layout/mydashboard.php
(#20) Package theme_boost is not valid
theme/schoollege/lib.php
(#106) Function theme_schoollege_get_pre_scss is not documented
(#140) Function theme_schoollege_pluginfile is not documented
theme/schoollege/settings.php
(#16) No one-line description found in phpdocs for file
theme/schoollege/settings/branding.php
(#17) No one-line description found in phpdocs for file
theme/schoollege/settings/colors.php
(#17) No one-line description found in phpdocs for file
theme/schoollege/settings/general.php
(#17) No one-line description found in phpdocs for file
theme/schoollege/settings/login.php
(#17) No one-line description found in phpdocs for file

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

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

theme/schoollege/templates/columns2.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)
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( ), Line: 2 Column: 18
(#1) ESLint warning [block-spacing]: Requires a space after '{'. ( ), Line: 2 Column: 64
(#1) ESLint warning [brace-style]: Statement inside of curly braces should be on next line. ( ), Line: 2 Column: 64
(#1) ESLint warning [space-before-blocks]: Missing space before opening brace. ( ), Line: 2 Column: 64
(#1) ESLint warning [block-spacing]: Requires a space before '}'. ( ), Line: 2 Column: 104
(#1) ESLint warning [brace-style]: Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. ( ), Line: 2 Column: 104
(#1) ESLint error [semi]: Missing semicolon. ( ), Line: 2 Column: 104
theme/schoollege/templates/core/navbar.mustache
(#1) HTML Validation info, line 2: The “navigation” role is unnecessary for element “nav”. (ad><body><nav role="navigation" aria-label="[[breadcrumb, access]]"> <)
theme/schoollege/templates/customlogin.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/schoollege/templates/footer.mustache
(#1) Example context missing (@template section not found.)
theme/schoollege/templates/fpicons.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
theme/schoollege/templates/iconsidebar.mustache
(#1) Example context missing.
theme/schoollege/templates/incourse.mustache
(#1) HTML Validation error, line 21: 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)
(#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 [comma-spacing]: A space is required after ','. ( ), Line: 2 Column: 18
(#1) ESLint warning [block-spacing]: Requires a space after '{'. ( ), Line: 2 Column: 64
(#1) ESLint warning [brace-style]: Statement inside of curly braces should be on next line. ( ), Line: 2 Column: 64
(#1) ESLint warning [space-before-blocks]: Missing space before opening brace. ( ), Line: 2 Column: 64
(#1) ESLint warning [block-spacing]: Requires a space before '}'. ( ), Line: 2 Column: 104
(#1) ESLint warning [brace-style]: Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. ( ), Line: 2 Column: 104
(#1) ESLint error [semi]: Missing semicolon. ( ), Line: 2 Column: 104
theme/schoollege/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/schoollege/templates/loginpopup.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 16: The “form” role is unnecessary for element “form”. ( <form class="m-t-1" action="/login/index.php" method="POST" role="form"> )
theme/schoollege/templates/mycourses.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: The “aria-labelledby” attribute must point to an element in the same document. (ad><body><div class="list-group" aria-labelledby="list-group-would-be-a-uniqid"> </di)
theme/schoollege/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)
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( ), Line: 2 Column: 18
(#1) ESLint warning [block-spacing]: Requires a space after '{'. ( ), Line: 2 Column: 64
(#1) ESLint warning [brace-style]: Statement inside of curly braces should be on next line. ( ), Line: 2 Column: 64
(#1) ESLint warning [space-before-blocks]: Missing space before opening brace. ( ), Line: 2 Column: 64
(#1) ESLint warning [block-spacing]: Requires a space before '}'. ( ), Line: 2 Column: 104
(#1) ESLint warning [brace-style]: Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. ( ), Line: 2 Column: 104
(#1) ESLint error [semi]: Missing semicolon. ( ), Line: 2 Column: 104
theme/schoollege/templates/navbar.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 6: 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/schoollege/templates/progress-bar.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 3: Bad value “” for attribute “aria-valuenow” on element “div”: The empty string is not a valid floating point number. (100"> <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="" style= "width: %" aria-valuemin="0" aria-valuemax="100"> )
(#1) HTML Validation error, line 3: CSS: “width”: Parse Error. (100"> <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="" style= "width: %" aria-valuemin="0" aria-valuemax="100"> )
theme/schoollege/templates/teacherdash.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]