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

(255 errors, 38 warnings)

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

theme/brick/config.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#33) 52 slashes comments are not allowed; use "// Comment." instead
(#36) 52 slashes comments are not allowed; use "// Comment." instead
(#43) 53 slashes comments are not allowed; use "// Comment." instead
(#51) 52 slashes comments are not allowed; use "// Comment." instead
(#60) 52 slashes comments are not allowed; use "// Comment." instead
(#63) 52 slashes comments are not allowed; use "// Comment." instead
(#66) Expected 1 space before "=>"; 0 found
(#66) Expected 1 space after "=>"; 0 found
(#69) Expected 1 space before "=>"; 0 found
(#69) Expected 1 space after "=>"; 0 found
(#76) 52 slashes comments are not allowed; use "// Comment." instead
(#78) 52 slashes comments are not allowed; use "// Comment." instead
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) This comment is 50% valid code; is this commented out code?
(#82) 52 slashes comments are not allowed; use "// Comment." instead
(#85) 52 slashes comments are not allowed; use "// Comment." instead
(#127) Expected 1 space before "=>"; 0 found
(#127) Expected 1 space after "=>"; 0 found
(#137) Expected 1 space before "=>"; 0 found
(#137) Expected 1 space after "=>"; 0 found
(#142) Expected 1 space before "=>"; 0 found
(#142) Expected 1 space after "=>"; 0 found
(#142) Expected 1 space before "=>"; 0 found
(#142) Expected 1 space after "=>"; 0 found
(#142) Expected 1 space before "=>"; 0 found
(#142) Expected 1 space after "=>"; 0 found
(#142) Expected 1 space before "=>"; 0 found
(#142) Expected 1 space after "=>"; 0 found
(#147) Expected 1 space before "=>"; 0 found
(#147) Expected 1 space after "=>"; 0 found
(#147) Expected 1 space before "=>"; 0 found
(#147) Expected 1 space after "=>"; 0 found
(#152) Expected 1 space before "=>"; 0 found
(#152) Expected 1 space after "=>"; 0 found
(#152) Expected 1 space before "=>"; 0 found
(#152) Expected 1 space after "=>"; 0 found
(#152) Expected 1 space before "=>"; 0 found
(#152) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#168) 63 slashes comments are not allowed; use "// Comment." instead
(#175) 63 slashes comments are not allowed; use "// Comment." instead
(#179) 52 slashes comments are not allowed; use "// Comment." instead
(#183) 52 slashes comments are not allowed; use "// Comment." instead
(#185) Inline comments must start with a capital letter, digit or 3-dots sequence
(#185) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) This comment is 67% valid code; is this commented out code?
(#185) No space found before comment text; expected "// $THEME->javascripts" but found "//$THEME->javascripts"
(#187) 52 slashes comments are not allowed; use "// Comment." instead
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) 52 slashes comments are not allowed; use "// Comment." instead
(#193) Inline comments must start with a capital letter, digit or 3-dots sequence
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#193) This comment is 67% valid code; is this commented out code?
(#193) No space found before comment text; expected "// $THEME->javascripts_footer" but found "//$THEME->javascripts_footer"
(#195) 52 slashes comments are not allowed; use "// Comment." instead
(#197) 52 slashes comments are not allowed; use "// Comment." instead
(#199) Inline comments must start with a capital letter, digit or 3-dots sequence
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) This comment is 50% valid code; is this commented out code?
(#199) No space found before comment text; expected "// $THEME->larrow = '⟨';" but found "//$THEME->larrow = '⟨';"
(#201) 52 slashes comments are not allowed; use "// Comment." instead
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) 52 slashes comments are not allowed; use "// Comment." instead
(#206) Inline comments must start with a capital letter, digit or 3-dots sequence
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) This comment is 50% valid code; is this commented out code?
(#206) No space found before comment text; expected "// $THEME->rarrow = '⟩';" but found "//$THEME->rarrow = '⟩';"
(#208) 52 slashes comments are not allowed; use "// Comment." instead
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) 52 slashes comments are not allowed; use "// Comment." instead
(#212) Inline comments must start with a capital letter, digit or 3-dots sequence
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) This comment is 67% valid code; is this commented out code?
(#212) No space found before comment text; expected "// $THEME->layouts" but found "//$THEME->layouts"
(#214) 52 slashes comments are not allowed; use "// Comment." instead
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#216) 52 slashes comments are not allowed; use "// Comment." instead
(#218) Inline comments must start with a capital letter, digit or 3-dots sequence
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) This comment is 67% valid code; is this commented out code?
(#218) No space found before comment text; expected "// $THEME->parents_exclude_javascripts" but found "//$THEME->parents_exclude_javascripts"
(#220) 52 slashes comments are not allowed; use "// Comment." instead
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) 52 slashes comments are not allowed; use "// Comment." instead
(#225) Inline comments must start with a capital letter, digit or 3-dots sequence
(#225) Inline comments must end in full-stops, exclamation marks, or question marks
(#225) This comment is 67% valid code; is this commented out code?
(#225) No space found before comment text; expected "// $THEME->parents_exclude_sheets" but found "//$THEME->parents_exclude_sheets"
(#227) 52 slashes comments are not allowed; use "// Comment." instead
(#230) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) 52 slashes comments are not allowed; use "// Comment." instead
(#232) Inline comments must start with a capital letter, digit or 3-dots sequence
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
(#232) This comment is 67% valid code; is this commented out code?
(#232) No space found before comment text; expected "// $THEME->plugins_exclude_sheets" but found "//$THEME->plugins_exclude_sheets"
(#234) 52 slashes comments are not allowed; use "// Comment." instead
(#237) 52 slashes comments are not allowed; use "// Comment." instead
(#239) Inline comments must start with a capital letter, digit or 3-dots sequence
(#239) Inline comments must end in full-stops, exclamation marks, or question marks
(#239) This comment is 50% valid code; is this commented out code?
(#239) No space found before comment text; expected "// $THEME->rendererfactory = 'theme_overridden_renderer_factory';" but found "//$THEME->rendererfactory = 'theme_overridden_renderer_factory';"
(#241) 52 slashes comments are not allowed; use "// Comment." instead
(#244) 52 slashes comments are not allowed; use "// Comment." instead
theme/brick/layout/frontpage.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#56) Spaces must be used to indent lines; tabs are not allowed
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Line indented incorrectly; expected 4 spaces, found 2
(#59) Spaces must be used to indent lines; tabs are not allowed
(#60) Spaces must be used to indent lines; tabs are not allowed
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Line indented incorrectly; expected 4 spaces, found 2
(#62) Spaces must be used to indent lines; tabs are not allowed
(#63) Spaces must be used to indent lines; tabs are not allowed
(#64) Spaces must be used to indent lines; tabs are not allowed
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Line indented incorrectly; expected 4 spaces, found 2
(#67) Spaces must be used to indent lines; tabs are not allowed
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Line indented incorrectly; expected 4 spaces, found 3
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#72) Line indented incorrectly; expected 0 spaces, found 12
(#72) Closing brace indented incorrectly; expected 0 spaces, found 12
(#73) Spaces must be used to indent lines; tabs are not allowed
(#75) Spaces must be used to indent lines; tabs are not allowed
(#77) Spaces must be used to indent lines; tabs are not allowed
(#78) Spaces must be used to indent lines; tabs are not allowed
(#79) Spaces must be used to indent lines; tabs are not allowed
(#80) Spaces must be used to indent lines; tabs are not allowed
(#81) Spaces must be used to indent lines; tabs are not allowed
(#83) Spaces must be used to indent lines; tabs are not allowed
(#85) Spaces must be used to indent lines; tabs are not allowed
(#94) Spaces must be used to indent lines; tabs are not allowed
(#95) Spaces must be used to indent lines; tabs are not allowed
(#99) Spaces must be used to indent lines; tabs are not allowed
(#100) Spaces must be used to indent lines; tabs are not allowed
(#101) Spaces must be used to indent lines; tabs are not allowed
(#102) Spaces must be used to indent lines; tabs are not allowed
(#104) Spaces must be used to indent lines; tabs are not allowed
(#105) Spaces must be used to indent lines; tabs are not allowed
(#106) Spaces must be used to indent lines; tabs are not allowed
(#108) Spaces must be used to indent lines; tabs are not allowed
(#108) Line indented incorrectly; expected 32 spaces, found 31
(#109) Spaces must be used to indent lines; tabs are not allowed
(#110) Spaces must be used to indent lines; tabs are not allowed
(#111) Spaces must be used to indent lines; tabs are not allowed
(#113) Spaces must be used to indent lines; tabs are not allowed
(#113) Line indented incorrectly; expected 20 spaces, found 19
(#114) Spaces must be used to indent lines; tabs are not allowed
(#115) Spaces must be used to indent lines; tabs are not allowed
(#117) Spaces must be used to indent lines; tabs are not allowed
(#117) Line indented incorrectly; expected 28 spaces, found 27
(#119) Spaces must be used to indent lines; tabs are not allowed
(#120) Spaces must be used to indent lines; tabs are not allowed
(#121) Spaces must be used to indent lines; tabs are not allowed
(#121) Line indented incorrectly; expected 20 spaces, found 19
(#123) Spaces must be used to indent lines; tabs are not allowed
(#124) Spaces must be used to indent lines; tabs are not allowed
(#125) Spaces must be used to indent lines; tabs are not allowed
(#126) Spaces must be used to indent lines; tabs are not allowed
(#131) Spaces must be used to indent lines; tabs are not allowed
(#132) Spaces must be used to indent lines; tabs are not allowed
(#138) Spaces must be used to indent lines; tabs are not allowed
(#139) Spaces must be used to indent lines; tabs are not allowed
(#140) Spaces must be used to indent lines; tabs are not allowed
(#140) Line indented incorrectly; expected 4 spaces, found 2
(#142) Spaces must be used to indent lines; tabs are not allowed
(#142) Tab found within whitespace
(#142) Line indented incorrectly; expected at least 4 spaces, found 2
(#144) Spaces must be used to indent lines; tabs are not allowed
(#144) Tab found within whitespace
(#144) Line indented incorrectly; expected 4 spaces, found 2
(#145) Spaces must be used to indent lines; tabs are not allowed
theme/brick/layout/general.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#67) Spaces must be used to indent lines; tabs are not allowed
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Line indented incorrectly; expected 4 spaces, found 2
(#71) Spaces must be used to indent lines; tabs are not allowed
(#72) Spaces must be used to indent lines; tabs are not allowed
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Line indented incorrectly; expected 4 spaces, found 2
(#76) Spaces must be used to indent lines; tabs are not allowed
(#77) Spaces must be used to indent lines; tabs are not allowed
(#78) Spaces must be used to indent lines; tabs are not allowed
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Line indented incorrectly; expected 4 spaces, found 2
(#82) Spaces must be used to indent lines; tabs are not allowed
(#83) Spaces must be used to indent lines; tabs are not allowed
(#83) Line indented incorrectly; expected 4 spaces, found 3
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Tab found within whitespace
(#86) Spaces must be used to indent lines; tabs are not allowed
(#86) Tab found within whitespace
(#87) Line indented incorrectly; expected 0 spaces, found 12
(#87) Closing brace indented incorrectly; expected 0 spaces, found 12
(#88) Spaces must be used to indent lines; tabs are not allowed
(#90) Spaces must be used to indent lines; tabs are not allowed
(#92) Spaces must be used to indent lines; tabs are not allowed
(#93) Spaces must be used to indent lines; tabs are not allowed
(#94) Spaces must be used to indent lines; tabs are not allowed
(#95) Spaces must be used to indent lines; tabs are not allowed
(#96) Spaces must be used to indent lines; tabs are not allowed
(#97) Spaces must be used to indent lines; tabs are not allowed
(#97) Line indented incorrectly; expected 4 spaces, found 3
(#98) Spaces must be used to indent lines; tabs are not allowed
(#99) Spaces must be used to indent lines; tabs are not allowed
(#100) Spaces must be used to indent lines; tabs are not allowed
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Line indented incorrectly; expected 8 spaces, found 6
(#103) Spaces must be used to indent lines; tabs are not allowed
(#105) Spaces must be used to indent lines; tabs are not allowed
(#113) Spaces must be used to indent lines; tabs are not allowed
(#114) Spaces must be used to indent lines; tabs are not allowed
(#116) Line indented incorrectly; expected 12 spaces, found 10
(#118) Line indented incorrectly; expected 12 spaces, found 10
(#121) Spaces must be used to indent lines; tabs are not allowed
(#122) Spaces must be used to indent lines; tabs are not allowed
(#123) Spaces must be used to indent lines; tabs are not allowed
(#124) Spaces must be used to indent lines; tabs are not allowed
(#126) Spaces must be used to indent lines; tabs are not allowed
(#127) Spaces must be used to indent lines; tabs are not allowed
(#128) Spaces must be used to indent lines; tabs are not allowed
(#130) Spaces must be used to indent lines; tabs are not allowed
(#130) Line indented incorrectly; expected 36 spaces, found 35
(#131) Spaces must be used to indent lines; tabs are not allowed
(#132) Spaces must be used to indent lines; tabs are not allowed
(#133) Spaces must be used to indent lines; tabs are not allowed
(#134) Spaces must be used to indent lines; tabs are not allowed
(#135) Spaces must be used to indent lines; tabs are not allowed
(#136) Spaces must be used to indent lines; tabs are not allowed
(#139) Spaces must be used to indent lines; tabs are not allowed
(#139) Line indented incorrectly; expected 32 spaces, found 31
(#142) Spaces must be used to indent lines; tabs are not allowed
(#143) Spaces must be used to indent lines; tabs are not allowed
(#144) Spaces must be used to indent lines; tabs are not allowed
(#146) Spaces must be used to indent lines; tabs are not allowed
(#146) Line indented incorrectly; expected 20 spaces, found 19
(#148) Spaces must be used to indent lines; tabs are not allowed
(#149) Spaces must be used to indent lines; tabs are not allowed
(#151) Spaces must be used to indent lines; tabs are not allowed
(#151) Line indented incorrectly; expected 28 spaces, found 25
(#152) Spaces must be used to indent lines; tabs are not allowed
(#153) Spaces must be used to indent lines; tabs are not allowed
(#155) Spaces must be used to indent lines; tabs are not allowed
(#155) Line indented incorrectly; expected 28 spaces, found 27
(#157) Spaces must be used to indent lines; tabs are not allowed
(#158) Spaces must be used to indent lines; tabs are not allowed
(#160) Spaces must be used to indent lines; tabs are not allowed
(#160) Line indented incorrectly; expected 20 spaces, found 19
(#162) Spaces must be used to indent lines; tabs are not allowed
(#163) Spaces must be used to indent lines; tabs are not allowed
(#164) Spaces must be used to indent lines; tabs are not allowed
(#165) Spaces must be used to indent lines; tabs are not allowed
(#173) Spaces must be used to indent lines; tabs are not allowed
(#174) Spaces must be used to indent lines; tabs are not allowed
(#180) Spaces must be used to indent lines; tabs are not allowed
(#181) Spaces must be used to indent lines; tabs are not allowed
(#182) Spaces must be used to indent lines; tabs are not allowed
(#182) Line indented incorrectly; expected 4 spaces, found 2
(#184) Spaces must be used to indent lines; tabs are not allowed
(#184) Tab found within whitespace
(#184) Line indented incorrectly; expected at least 4 spaces, found 2
(#186) Spaces must be used to indent lines; tabs are not allowed
(#186) Tab found within whitespace
(#186) Line indented incorrectly; expected 4 spaces, found 2
(#187) Spaces must be used to indent lines; tabs are not allowed
theme/brick/lib.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#175) Whitespace found at end of line
theme/brick/settings.php
(#31) Commas (,) must be followed by white space.
(#39) Commas (,) must be followed by white space.
(#42) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#49) Commas (,) must be followed by white space.
(#52) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#59) Commas (,) must be followed by white space.
(#62) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#69) Commas (,) must be followed by white space.
(#72) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#79) Commas (,) must be followed by white space.
(#82) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
theme/brick/version.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(14 errors, 18 warnings)

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

theme/brick/style/colors.css
(#1) Rule is empty.
(#2) Unexpected token '[' at line 2, col 9.
(#5) Rule is empty.
(#6) Unexpected token '[' at line 6, col 9.
(#14) Unexpected token '[' at line 14, col 14.
(#15) Expected RBRACE at line 15, col 27.
(#18) Rule is empty.
(#19) Unexpected token '[' at line 19, col 9.
(#22) Rule is empty.
(#23) Unexpected token '[' at line 23, col 14.
(#27) Expected RBRACE at line 27, col 27.
(#30) Rule is empty.
(#32) Unexpected token '[' at line 32, col 9.
(#36) Expected RBRACE at line 36, col 28.
(#39) Rule is empty.
(#40) Unexpected token '[' at line 40, col 20.
(#43) Rule is empty.
(#44) Unexpected token '[' at line 44, col 20.
(#47) Rule is empty.
(#48) Unexpected token '[' at line 48, col 16.
(#51) Rule is empty.
(#52) Unexpected token '[' at line 52, col 14.
(#55) Rule is empty.
(#56) Unexpected token '[' at line 56, col 9.
theme/brick/style/core.css
(#117) Use of !important
(#132) Use of !important
(#260) Use of !important
(#264) Use of !important
(#268) Use of !important
(#343) Use of !important
(#450) Use of !important
(#461) Use of !important

PHPDocs style problems

(32 errors, 0 warnings)

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

theme/brick/config.php
(#33) Found comment starting with three or more slashes
(#36) Found comment starting with three or more slashes
(#43) Found comment starting with three or more slashes
(#51) Found comment starting with three or more slashes
(#60) Found comment starting with three or more slashes
(#63) Found comment starting with three or more slashes
(#76) Found comment starting with three or more slashes
(#78) Found comment starting with three or more slashes
(#82) Found comment starting with three or more slashes
(#85) Found comment starting with three or more slashes
(#168) Found comment starting with three or more slashes
(#175) Found comment starting with three or more slashes
(#179) Found comment starting with three or more slashes
(#183) Found comment starting with three or more slashes
(#187) Found comment starting with three or more slashes
(#191) Found comment starting with three or more slashes
(#195) Found comment starting with three or more slashes
(#197) Found comment starting with three or more slashes
(#201) Found comment starting with three or more slashes
(#204) Found comment starting with three or more slashes
(#208) Found comment starting with three or more slashes
(#210) Found comment starting with three or more slashes
(#214) Found comment starting with three or more slashes
(#216) Found comment starting with three or more slashes
(#220) Found comment starting with three or more slashes
(#223) Found comment starting with three or more slashes
(#227) Found comment starting with three or more slashes
(#230) Found comment starting with three or more slashes
(#234) Found comment starting with three or more slashes
(#237) Found comment starting with three or more slashes
(#241) Found comment starting with three or more slashes
(#244) Found comment starting with three or more slashes

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]


Mustache template problems

(0 errors, 0 warnings)

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