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

(100 errors, 32 warnings)

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

theme/canvas/config.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#35) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#37) 52 slashes comments are not allowed; use "// Comment." instead
(#40) 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
(#67) 52 slashes comments are not allowed; use "// Comment." instead
(#70) 52 slashes comments are not allowed; use "// Comment." instead
(#74) 52 slashes comments are not allowed; use "// Comment." instead
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) 52 slashes comments are not allowed; use "// Comment." instead
(#119) Expected 1 space before "=>"; 0 found
(#119) Expected 1 space after "=>"; 0 found
(#129) Expected 1 space before "=>"; 0 found
(#129) Expected 1 space after "=>"; 0 found
(#134) Expected 1 space before "=>"; 0 found
(#134) Expected 1 space after "=>"; 0 found
(#134) Expected 1 space before "=>"; 0 found
(#134) Expected 1 space after "=>"; 0 found
(#134) Expected 1 space before "=>"; 0 found
(#134) Expected 1 space after "=>"; 0 found
(#134) Expected 1 space before "=>"; 0 found
(#134) 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
(#144) Expected 1 space before "=>"; 0 found
(#144) Expected 1 space after "=>"; 0 found
(#144) Expected 1 space before "=>"; 0 found
(#144) Expected 1 space after "=>"; 0 found
(#144) Expected 1 space before "=>"; 0 found
(#144) Expected 1 space after "=>"; 0 found
(#149) Expected 1 space before "=>"; 0 found
(#149) Expected 1 space after "=>"; 0 found
(#149) Expected 1 space before "=>"; 0 found
(#149) Expected 1 space after "=>"; 0 found
(#149) Expected 1 space before "=>"; 0 found
(#149) 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
(#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
(#173) Expected 1 space before "=>"; 0 found
(#173) Expected 1 space after "=>"; 0 found
(#173) Expected 1 space before "=>"; 0 found
(#173) Expected 1 space after "=>"; 0 found
(#173) Expected 1 space before "=>"; 0 found
(#173) Expected 1 space after "=>"; 0 found
(#173) Expected 1 space before "=>"; 0 found
(#173) Expected 1 space after "=>"; 0 found
(#173) Expected 1 space before "=>"; 0 found
(#173) Expected 1 space after "=>"; 0 found
(#173) Line exceeds 132 characters; contains 137 characters
(#177) 57 slashes comments are not allowed; use "// Comment." instead
(#184) 57 slashes comments are not allowed; use "// Comment." instead
(#188) 53 slashes comments are not allowed; use "// Comment." instead
(#193) 53 slashes comments are not allowed; use "// Comment." instead
(#197) 52 slashes comments are not allowed; use "// Comment." instead
(#199) 52 slashes comments are not allowed; use "// Comment." instead
(#203) 52 slashes comments are not allowed; use "// Comment." instead
(#206) 52 slashes comments are not allowed; use "// Comment." instead
(#208) Inline comments must start with a capital letter, digit or 3-dots sequence
(#208) Inline comments must end in full-stops, exclamation marks, or question marks
(#208) This comment is 50% valid code; is this commented out code?
(#210) 52 slashes comments are not allowed; use "// Comment." instead
(#214) 52 slashes comments are not allowed; use "// Comment." instead
(#216) Inline comments must start with a capital letter, digit or 3-dots sequence
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#216) This comment is 50% valid code; is this commented out code?
(#218) 52 slashes comments are not allowed; use "// Comment." instead
(#222) Inline comments must end in full-stops, exclamation marks, or question marks
(#222) 52 slashes comments are not allowed; use "// Comment." instead
(#224) Inline comments must start with a capital letter, digit or 3-dots sequence
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) This comment is 50% valid code; is this commented out code?
(#226) 52 slashes comments are not allowed; use "// Comment." instead
(#228) 52 slashes comments are not allowed; use "// Comment." instead
(#230) Inline comments must start with a capital letter, digit or 3-dots sequence
(#230) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) This comment is 50% valid code; is this commented out code?
(#232) 52 slashes comments are not allowed; use "// Comment." instead
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#235) 52 slashes comments are not allowed; use "// Comment." instead
(#237) Inline comments must start with a capital letter, digit or 3-dots sequence
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) This comment is 50% valid code; is this commented out code?
(#239) 52 slashes comments are not allowed; use "// Comment." instead
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#241) 52 slashes comments are not allowed; use "// Comment." instead
(#243) Inline comments must start with a capital letter, digit or 3-dots sequence
(#243) Inline comments must end in full-stops, exclamation marks, or question marks
(#243) This comment is 50% valid code; is this commented out code?
(#245) 52 slashes comments are not allowed; use "// Comment." instead
(#248) Inline comments must end in full-stops, exclamation marks, or question marks
(#248) 52 slashes comments are not allowed; use "// Comment." instead
(#250) Inline comments must start with a capital letter, digit or 3-dots sequence
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) This comment is 50% valid code; is this commented out code?
(#252) 52 slashes comments are not allowed; use "// Comment." instead
(#255) 52 slashes comments are not allowed; use "// Comment." instead
(#257) Inline comments must start with a capital letter, digit or 3-dots sequence
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) This comment is 50% valid code; is this commented out code?
(#259) 52 slashes comments are not allowed; use "// Comment." instead
(#262) 52 slashes comments are not allowed; use "// Comment." instead
theme/canvas/lang/en/theme_canvas.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/canvas/layout/embedded.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/canvas/layout/frontpage.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/canvas/layout/general.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#85) Line indented incorrectly; expected 20 spaces, found 27
(#87) Line indented incorrectly; expected 20 spaces, found 27
theme/canvas/layout/report.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#81) Line indented incorrectly; expected 20 spaces, found 27
(#83) Line indented incorrectly; expected 20 spaces, found 27
theme/canvas/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) 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 eslint [More info]


CSS problems

(4 errors, 28 warnings)

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

theme/canvas/style/admin.css
(#126) Expected "#ff6600" to be "#f60" (color-hex-length)
(#131) Expected "#ff6600" to be "#f60" (color-hex-length)
theme/canvas/style/core.css
(#365) Expected "#DDDDDD" to be "#dddddd" (color-hex-case)
(#472) Expected "#0000EE" to be "#0000ee" (color-hex-case)
(#478) Expected "#0000EE" to be "#0000ee" (color-hex-case)
(#569) Expected "#F9F9F9" to be "#f9f9f9" (color-hex-case)
(#573) Expected "#F3F3F3" to be "#f3f3f3" (color-hex-case)
(#579) Expected "#F6F6F6" to be "#f6f6f6" (color-hex-case)
(#580) Expected "#EEE" to be "#eee" (color-hex-case)
(#581) Expected "#E9E9E9" to be "#e9e9e9" (color-hex-case)
(#582) Expected "#F3F3F3" to be "#f3f3f3" (color-hex-case)
(#612) Expected "#DDD" to be "#ddd" (color-hex-case)
(#613) Expected "#EEE" to be "#eee" (color-hex-case)
(#631) Expected "#DDD" to be "#ddd" (color-hex-case)
(#632) Expected "#EEE" to be "#eee" (color-hex-case)
(#641) Expected "#E6E6E6" to be "#e6e6e6" (color-hex-case)
(#642) Expected "#EEE" to be "#eee" (color-hex-case)
(#365) Expected "#DDDDDD" to be "#DDD" (color-hex-length)
(#472) Expected "#0000EE" to be "#00E" (color-hex-length)
(#478) Expected "#0000EE" to be "#00E" (color-hex-length)
(#487) Unexpected !important (declaration-no-important)
(#513) Unexpected !important (declaration-no-important)
(#248) Unexpected unit (length-zero-no-unit)
(#274) Unexpected unit (length-zero-no-unit)
(#323) Unexpected unit (length-zero-no-unit)
(#675) Unexpected unit (length-zero-no-unit)
theme/canvas/style/mods.css
(#108) Unexpected !important (declaration-no-important)
theme/canvas/style/popups.css
(#4) Unexpected !important (declaration-no-important)
theme/canvas/style/tabs.css
(#7) Unexpected unit (length-zero-no-unit)
(#44) Unexpected unit (length-zero-no-unit)
(#45) Unexpected unit (length-zero-no-unit)
(#52) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(32 errors, 0 warnings)

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

theme/canvas/config.php
(#37) Found comment starting with three or more slashes
(#40) 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
(#67) Found comment starting with three or more slashes
(#70) Found comment starting with three or more slashes
(#74) Found comment starting with three or more slashes
(#77) Found comment starting with three or more slashes
(#177) Found comment starting with three or more slashes
(#184) Found comment starting with three or more slashes
(#188) Found comment starting with three or more slashes
(#193) Found comment starting with three or more slashes
(#197) 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
(#206) 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
(#218) Found comment starting with three or more slashes
(#222) Found comment starting with three or more slashes
(#226) Found comment starting with three or more slashes
(#228) Found comment starting with three or more slashes
(#232) Found comment starting with three or more slashes
(#235) Found comment starting with three or more slashes
(#239) Found comment starting with three or more slashes
(#241) Found comment starting with three or more slashes
(#245) Found comment starting with three or more slashes
(#248) Found comment starting with three or more slashes
(#252) Found comment starting with three or more slashes
(#255) Found comment starting with three or more slashes
(#259) Found comment starting with three or more slashes
(#262) 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]


grunt changes

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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