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

(273 errors, 40 warnings)

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

theme/nimble/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
(#44) 53 slashes comments are not allowed; use "// Comment." instead
(#52) 52 slashes comments are not allowed; use "// Comment." instead
(#62) 52 slashes comments are not allowed; use "// Comment." instead
(#65) 52 slashes comments are not allowed; use "// Comment." instead
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#71) Expected 1 space before "=>"; 0 found
(#71) Expected 1 space after "=>"; 0 found
(#79) 52 slashes comments are not allowed; use "// Comment." instead
(#81) 52 slashes comments are not allowed; use "// Comment." instead
(#86) 52 slashes comments are not allowed; use "// Comment." instead
(#89) 52 slashes comments are not allowed; use "// Comment." instead
(#130) Expected 1 space before "=>"; 0 found
(#130) Expected 1 space after "=>"; 0 found
(#140) Expected 1 space before "=>"; 0 found
(#140) Expected 1 space after "=>"; 0 found
(#145) Expected 1 space before "=>"; 0 found
(#145) Expected 1 space after "=>"; 0 found
(#145) Expected 1 space before "=>"; 0 found
(#145) Expected 1 space after "=>"; 0 found
(#145) Expected 1 space before "=>"; 0 found
(#145) Expected 1 space after "=>"; 0 found
(#145) Expected 1 space before "=>"; 0 found
(#145) Expected 1 space after "=>"; 0 found
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#155) Expected 1 space before "=>"; 0 found
(#155) Expected 1 space after "=>"; 0 found
(#155) Expected 1 space before "=>"; 0 found
(#155) Expected 1 space after "=>"; 0 found
(#155) Expected 1 space before "=>"; 0 found
(#155) Expected 1 space after "=>"; 0 found
(#161) Expected 1 space before "=>"; 0 found
(#161) Expected 1 space after "=>"; 0 found
(#161) Expected 1 space before "=>"; 0 found
(#161) Expected 1 space after "=>"; 0 found
(#161) Expected 1 space before "=>"; 0 found
(#161) Expected 1 space after "=>"; 0 found
(#167) Expected 1 space before "=>"; 0 found
(#167) Expected 1 space after "=>"; 0 found
(#167) Expected 1 space before "=>"; 0 found
(#167) Expected 1 space after "=>"; 0 found
(#167) Expected 1 space before "=>"; 0 found
(#167) Expected 1 space after "=>"; 0 found
(#167) Expected 1 space before "=>"; 0 found
(#167) Expected 1 space after "=>"; 0 found
(#176) 63 slashes comments are not allowed; use "// Comment." instead
(#183) 63 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 45% valid code; is this commented out code?
(#187) 52 slashes comments are not allowed; use "// Comment." instead
(#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 50% valid code; is this commented out code?
(#195) 52 slashes comments are not allowed; use "// Comment." instead
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) 52 slashes comments are not allowed; use "// Comment." instead
(#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) This comment is 50% valid code; is this commented out code?
(#203) 52 slashes comments are not allowed; use "// Comment." instead
(#205) 52 slashes comments are not allowed; use "// Comment." instead
(#209) 52 slashes comments are not allowed; use "// Comment." instead
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) 52 slashes comments are not allowed; use "// Comment." instead
(#216) 52 slashes comments are not allowed; use "// Comment." instead
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) 52 slashes comments are not allowed; use "// Comment." instead
(#220) Inline comments must start with a capital letter, digit or 3-dots sequence
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#220) This comment is 50% valid code; is this commented out code?
(#222) 52 slashes comments are not allowed; use "// Comment." instead
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) 52 slashes comments are not allowed; use "// Comment." instead
(#226) Inline comments must start with a capital letter, digit or 3-dots sequence
(#226) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) This comment is 50% valid code; is this commented out code?
(#228) 52 slashes comments are not allowed; use "// Comment." instead
(#231) Inline comments must end in full-stops, exclamation marks, or question marks
(#231) 52 slashes comments are not allowed; use "// Comment." instead
(#233) Inline comments must start with a capital letter, digit or 3-dots sequence
(#233) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) This comment is 50% valid code; is this commented out code?
(#235) 52 slashes comments are not allowed; use "// Comment." instead
(#238) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) 52 slashes comments are not allowed; use "// Comment." instead
(#240) Inline comments must start with a capital letter, digit or 3-dots sequence
(#240) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) This comment is 50% valid code; is this commented out code?
(#242) 52 slashes comments are not allowed; use "// Comment." instead
(#245) 52 slashes comments are not allowed; use "// Comment." instead
(#247) Inline comments must start with a capital letter, digit or 3-dots sequence
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#247) This comment is 50% valid code; is this commented out code?
(#249) 52 slashes comments are not allowed; use "// Comment." instead
(#252) 52 slashes comments are not allowed; use "// Comment." instead
theme/nimble/layout/frontpage.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#74) 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
(#81) 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 12 spaces, found 11
(#84) Spaces must be used to indent lines; tabs are not allowed
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Line indented incorrectly; expected 8 spaces, found 5
(#86) Spaces must be used to indent lines; tabs are not allowed
(#87) Spaces must be used to indent lines; tabs are not allowed
(#87) Line indented incorrectly; expected 8 spaces, found 5
(#89) Spaces must be used to indent lines; tabs are not allowed
(#90) Spaces must be used to indent lines; tabs are not allowed
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Tab found within whitespace
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Tab found within whitespace
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Tab found within whitespace
(#95) Spaces must be used to indent lines; tabs are not allowed
(#97) 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
(#106) Spaces must be used to indent lines; tabs are not allowed
(#107) Spaces must be used to indent lines; tabs are not allowed
(#108) Spaces must be used to indent lines; tabs are not allowed
(#109) Spaces must be used to indent lines; tabs are not allowed
(#111) Spaces must be used to indent lines; tabs are not allowed
(#112) Spaces must be used to indent lines; tabs are not allowed
(#113) Spaces must be used to indent lines; tabs are not allowed
(#115) Spaces must be used to indent lines; tabs are not allowed
(#116) Spaces must be used to indent lines; tabs are not allowed
(#117) Spaces must be used to indent lines; tabs are not allowed
(#118) Spaces must be used to indent lines; tabs are not allowed
(#120) Spaces must be used to indent lines; tabs are not allowed
(#120) Line indented incorrectly; expected 32 spaces, found 30
(#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
(#126) Line indented incorrectly; expected 20 spaces, found 18
(#127) Spaces must be used to indent lines; tabs are not allowed
(#128) Spaces must be used to indent lines; tabs are not allowed
(#129) Spaces must be used to indent lines; tabs are not allowed
(#130) 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
(#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
(#136) Line indented incorrectly; expected 20 spaces, found 18
(#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
(#141) Spaces must be used to indent lines; tabs are not allowed
(#145) Spaces must be used to indent lines; tabs are not allowed
(#147) Spaces must be used to indent lines; tabs are not allowed
(#148) 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) Tab found within whitespace
(#156) Spaces must be used to indent lines; tabs are not allowed
(#156) Tab found within whitespace
(#157) Spaces must be used to indent lines; tabs are not allowed
(#157) Tab found within whitespace
(#158) Spaces must be used to indent lines; tabs are not allowed
(#158) Tab found within whitespace
(#159) Spaces must be used to indent lines; tabs are not allowed
theme/nimble/layout/general.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#46) Line indented incorrectly; expected 0 spaces, found 2
(#48) Closing brace indented incorrectly; expected 2 spaces, found 0
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Line indented incorrectly; expected 4 spaces, found 1
(#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
(#84) Spaces must be used to indent lines; tabs are not allowed
(#85) Spaces must be used to indent lines; tabs are not allowed
(#87) Spaces must be used to indent lines; tabs are not allowed
(#88) Spaces must be used to indent lines; tabs are not allowed
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Line indented incorrectly; expected 16 spaces, found 14
(#90) Spaces must be used to indent lines; tabs are not allowed
(#91) 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
(#95) Spaces must be used to indent lines; tabs are not allowed
(#96) Spaces must be used to indent lines; tabs are not allowed
(#96) Line indented incorrectly; expected 16 spaces, found 15
(#97) Spaces must be used to indent lines; tabs are not allowed
(#97) Tab found within whitespace
(#98) Spaces must be used to indent lines; tabs are not allowed
(#98) Tab found within whitespace
(#98) Line indented incorrectly; expected 0 spaces, found 18
(#98) Closing brace indented incorrectly; expected 0 spaces, found 18
(#99) Spaces must be used to indent lines; tabs are not allowed
(#99) Tab found within whitespace
(#100) Spaces must be used to indent lines; tabs are not allowed
(#100) Tab found within whitespace
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected 20 spaces, found 18
(#102) Spaces must be used to indent lines; tabs are not allowed
(#103) Spaces must be used to indent lines; tabs are not allowed
(#104) Spaces must be used to indent lines; tabs are not allowed
(#106) Spaces must be used to indent lines; tabs are not allowed
(#107) Spaces must be used to indent lines; tabs are not allowed
(#111) Spaces must be used to indent lines; tabs are not allowed
(#111) Line indented incorrectly; expected 4 spaces, found 1
(#116) Spaces must be used to indent lines; tabs are not allowed
(#117) Spaces must be used to indent lines; tabs are not allowed
(#118) Spaces must be used to indent lines; tabs are not allowed
(#119) Spaces must be used to indent lines; tabs are not allowed
(#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
(#125) 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
(#133) Spaces must be used to indent lines; tabs are not allowed
(#133) Line indented incorrectly; expected 16 spaces, found 15
(#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
(#137) Spaces must be used to indent lines; tabs are not allowed
(#137) Line indented incorrectly; expected 28 spaces, found 25
(#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 28 spaces, found 25
(#141) Spaces must be used to indent lines; tabs are not allowed
(#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
(#144) Line indented incorrectly; expected 16 spaces, found 15
(#146) Spaces must be used to indent lines; tabs are not allowed
(#146) Line indented incorrectly; expected 32 spaces, found 30
(#148) Spaces must be used to indent lines; tabs are not allowed
(#149) Spaces must be used to indent lines; tabs are not allowed
(#150) Spaces must be used to indent lines; tabs are not allowed
(#152) Spaces must be used to indent lines; tabs are not allowed
(#152) Line indented incorrectly; expected 20 spaces, found 18
(#153) Spaces must be used to indent lines; tabs are not allowed
(#154) Spaces must be used to indent lines; tabs are not allowed
(#155) Spaces must be used to indent lines; tabs are not allowed
(#156) Spaces must be used to indent lines; tabs are not allowed
(#157) Spaces must be used to indent lines; tabs are not allowed
(#158) Spaces must be used to indent lines; tabs are not allowed
(#159) Spaces must be used to indent lines; tabs are not allowed
(#160) Spaces must be used to indent lines; tabs are not allowed
(#161) Spaces must be used to indent lines; tabs are not allowed
(#162) Spaces must be used to indent lines; tabs are not allowed
(#162) Line indented incorrectly; expected 20 spaces, found 18
(#164) Spaces must be used to indent lines; tabs are not allowed
(#165) Spaces must be used to indent lines; tabs are not allowed
(#166) Spaces must be used to indent lines; tabs are not allowed
(#167) Spaces must be used to indent lines; tabs are not allowed
(#171) Spaces must be used to indent lines; tabs are not allowed
(#171) Line indented incorrectly; expected 4 spaces, found 1
(#172) Spaces must be used to indent lines; tabs are not allowed
(#174) Spaces must be used to indent lines; tabs are not allowed
(#175) Spaces must be used to indent lines; tabs are not allowed
(#178) Spaces must be used to indent lines; tabs are not allowed
(#178) Line indented incorrectly; expected 4 spaces, found 1
(#186) Spaces must be used to indent lines; tabs are not allowed
(#186) Line indented incorrectly; expected 8 spaces, found 5
(#187) Spaces must be used to indent lines; tabs are not allowed
(#188) Spaces must be used to indent lines; tabs are not allowed
(#189) Spaces must be used to indent lines; tabs are not allowed
(#190) Spaces must be used to indent lines; tabs are not allowed
(#190) Line indented incorrectly; expected 12 spaces, found 10
(#191) Spaces must be used to indent lines; tabs are not allowed
(#191) Tab found within whitespace
(#191) Line indented incorrectly; expected at least 12 spaces, found 11
(#192) Spaces must be used to indent lines; tabs are not allowed
(#192) Tab found within whitespace
(#192) Line indented incorrectly; expected at least 12 spaces, found 11
(#193) Spaces must be used to indent lines; tabs are not allowed
(#193) Tab found within whitespace
(#193) Line indented incorrectly; expected at least 12 spaces, found 11
(#194) Spaces must be used to indent lines; tabs are not allowed
(#194) Tab found within whitespace
(#194) Line indented incorrectly; expected 12 spaces, found 10
(#195) Spaces must be used to indent lines; tabs are not allowed
(#196) Spaces must be used to indent lines; tabs are not allowed
(#196) Line indented incorrectly; expected 8 spaces, found 5
theme/nimble/lib.php
(#30) Whitespace found at end of line
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
theme/nimble/settings.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Commas (,) must be followed by white space.
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Commas (,) must be followed by white space.
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Commas (,) must be followed by white space.
(#50) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Commas (,) must be followed by white space.
(#60) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Commas (,) must be followed by white space.
(#70) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
theme/nimble/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

(4 errors, 4 warnings)

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

theme/nimble/style/colors.css
(#1) Rule is empty.
(#2) Unexpected token '[' at line 2, col 17.
(#5) Rule is empty.
(#6) Unexpected token '[' at line 6, col 12.
(#18) Unexpected token '[' at line 18, col 23.
(#29) Rule is empty.
(#30) Unexpected token '[' at line 30, col 23.
theme/nimble/style/core.css
(#197) 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/nimble/config.php
(#33) Found comment starting with three or more slashes
(#36) Found comment starting with three or more slashes
(#44) Found comment starting with three or more slashes
(#52) Found comment starting with three or more slashes
(#62) Found comment starting with three or more slashes
(#65) Found comment starting with three or more slashes
(#79) Found comment starting with three or more slashes
(#81) Found comment starting with three or more slashes
(#86) Found comment starting with three or more slashes
(#89) Found comment starting with three or more slashes
(#176) 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
(#199) Found comment starting with three or more slashes
(#203) Found comment starting with three or more slashes
(#205) Found comment starting with three or more slashes
(#209) Found comment starting with three or more slashes
(#212) Found comment starting with three or more slashes
(#216) Found comment starting with three or more slashes
(#218) Found comment starting with three or more slashes
(#222) Found comment starting with three or more slashes
(#224) Found comment starting with three or more slashes
(#228) Found comment starting with three or more slashes
(#231) Found comment starting with three or more slashes
(#235) Found comment starting with three or more slashes
(#238) Found comment starting with three or more slashes
(#242) Found comment starting with three or more slashes
(#245) Found comment starting with three or more slashes
(#249) Found comment starting with three or more slashes
(#252) 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]