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

(50 errors, 15 warnings)

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

theme/klass/config.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/klass/lang/ar/theme_klass.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#71) Whitespace found at end of line within string
(#72) Whitespace found at end of line within string
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#80) Whitespace found at end of line within string
(#81) Whitespace found at end of line within string
theme/klass/lang/en/theme_klass.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#80) Whitespace found at end of line within string
(#81) Whitespace found at end of line within string
(#82) Whitespace found at end of line within string
(#83) Whitespace found at end of line within string
(#152) Whitespace found at end of line within string
theme/klass/layout/columns1.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/klass/layout/columns2.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/klass/layout/embedded.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/klass/layout/frontpage.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#53) Line indented incorrectly; expected 4 spaces, found 1
(#74) Closing brace indented incorrectly; expected 4 spaces, found 8
(#84) This comment is 75% valid code; is this commented out code?
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) No space found before comment text; expected "// echo $OUTPUT->navbar();" but found "//echo $OUTPUT->navbar();"
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) This comment is 75% valid code; is this commented out code?
(#85) No space found before comment text; expected "// echo $OUTPUT->page_heading_button();" but found "//echo $OUTPUT->page_heading_button();"
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) This comment is 75% valid code; is this commented out code?
(#101) No space found before comment text; expected "// echo $courserenderer->new_courses();" but found "//echo $courserenderer->new_courses();"
theme/klass/layout/includes/footer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
theme/klass/layout/includes/header.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/klass/layout/includes/slideshow.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#38) Closing brace indented incorrectly; expected 8 spaces, found 12
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) This comment is 59% valid code; is this commented out code?
(#57) No space found before comment text; expected "// $readmore = get_string("readmore", "theme_klass");" but found "//$readmore = get_string("readmore", "theme_klass");"
(#74) This comment is 55% valid code; is this commented out code?
(#83) This comment is 63% valid code; is this commented out code?
(#87) This comment is 55% valid code; is this commented out code?
(#87) Line indented incorrectly; expected at least 12 spaces, found 11
theme/klass/layout/login.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/klass/layout/maintenance.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/klass/layout/secure.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/klass/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/klass/renderers.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/klass/renderers/core_renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/klass/renderers/course_renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#43) Line exceeds 132 characters; contains 172 characters
(#80) Line exceeds maximum limit of 180 characters; contains 439 characters
(#128) Line exceeds 132 characters; contains 172 characters
(#158) Line exceeds maximum limit of 180 characters; contains 446 characters
theme/klass/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
theme/klass/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

Javascript coding style problems

(303 errors, 19 warnings)

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

theme/klass/javascript/bootstrap-carousel.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#21) Wrap an immediate function invocation in parentheses. (wrap-iife)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#48) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#49) ',' should be placed last. (comma-style)
(#49) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#50) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#51) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#52) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#53) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#54) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#55) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#56) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#57) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#58) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#59) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#60) Method 'to' expected no return value. (consistent-return)
(#60) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#61) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#62) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#63) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#64) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#65) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#66) Method 'to' expected no return value. (consistent-return)
(#66) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#67) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#68) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#69) Method 'to' expected no return value. (consistent-return)
(#69) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#70) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#71) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#72) ',' should be placed last. (comma-style)
(#72) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#73) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#74) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#75) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#76) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#77) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#78) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#79) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#80) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#81) ',' should be placed last. (comma-style)
(#81) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#82) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#83) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#84) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#85) Method 'next' expected no return value. (consistent-return)
(#85) Missing semicolon. (semi)
(#85) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#86) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#87) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#88) ',' should be placed last. (comma-style)
(#88) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#89) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#90) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#91) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#92) Method 'prev' expected no return value. (consistent-return)
(#92) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#93) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#94) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#95) ',' should be placed last. (comma-style)
(#95) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#96) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#97) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#98) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#99) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#100) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#101) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#102) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#103) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#104) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#105) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#106) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#106) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#107) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#108) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#109) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#110) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#111) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#112) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#113) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#114) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#115) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#116) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#117) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#118) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#119) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#120) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#120) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#121) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#122) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#123) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#124) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#125) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#126) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#127) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#128) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#129) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#130) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#131) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#132) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#133) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#134) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#135) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#136) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#137) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#138) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#139) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#140) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#141) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#142) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#142) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#143) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#144) Method 'slide' expected no return value. (consistent-return)
(#144) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#145) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#146) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#147) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#148) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#149) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#150) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#151) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#152) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#153) Unexpected 'this'. (no-invalid-this)
(#153) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#154) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#155) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#156) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#157) Unexpected 'this'. (no-invalid-this)
(#157) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#158) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#159) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#160) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#161) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#161) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#162) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#163) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#164) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#164) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#165) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#166) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#167) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#168) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#169) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#170) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#171) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#172) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#173) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#174) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#175) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#176) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#177) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#178) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#179) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#180) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#181) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#182) Unexpected 'this'. (no-invalid-this)
(#182) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#183) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#184) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#185) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#186) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#187) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#188) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#189) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#190) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#191) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
theme/klass/javascript/bootstrap-transition.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#20) Wrap an immediate function invocation in parentheses. (wrap-iife)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected to return a value at the end of function. (consistent-return)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Extra space after key 'WebkitTransition'. (key-spacing)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Extra space after key 'MozTransition'. (key-spacing)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Extra space after key 'OTransition'. (key-spacing)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Extra space after key 'msTransition'. (key-spacing)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Extra space after key 'transition'. (key-spacing)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
theme/klass/javascript/theme.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#48) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#49) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#50) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#51) 'jQuery' is not defined. (no-undef)

CSS problems

(62 errors, 1 warnings)

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

theme/klass/scss/preset/theme.scss
(#2179) Expected empty line before at-rule (at-rule-empty-line-before)
(#4995) Expected empty line before at-rule (at-rule-empty-line-before)
(#5016) Expected single space before "{" (block-opening-brace-space-before)
(#5168) Expected single space before "{" (block-opening-brace-space-before)
(#5253) Expected single space before "!" (declaration-bang-space-before)
(#149) Unexpected !important (declaration-no-important)
(#150) Unexpected !important (declaration-no-important)
(#153) Unexpected !important (declaration-no-important)
(#1512) Unexpected !important (declaration-no-important)
(#1850) Unexpected !important (declaration-no-important)
(#1853) Unexpected !important (declaration-no-important)
(#2652) Unexpected !important (declaration-no-important)
(#2654) Unexpected !important (declaration-no-important)
(#2658) Unexpected !important (declaration-no-important)
(#2660) Unexpected !important (declaration-no-important)
(#2686) Unexpected !important (declaration-no-important)
(#2690) Unexpected !important (declaration-no-important)
(#2696) Unexpected !important (declaration-no-important)
(#2701) Unexpected !important (declaration-no-important)
(#4597) Unexpected !important (declaration-no-important)
(#4598) Unexpected !important (declaration-no-important)
(#4735) Unexpected !important (declaration-no-important)
(#4739) Unexpected !important (declaration-no-important)
(#4872) Unexpected !important (declaration-no-important)
(#5125) Unexpected !important (declaration-no-important)
(#5169) Unexpected !important (declaration-no-important)
(#5177) Unexpected !important (declaration-no-important)
(#5181) Unexpected !important (declaration-no-important)
(#5188) Unexpected !important (declaration-no-important)
(#5248) Unexpected !important (declaration-no-important)
(#5253) Unexpected !important (declaration-no-important)
(#5264) Unexpected !important (declaration-no-important)
(#5272) Unexpected !important (declaration-no-important)
(#5217) Expected single space after "," in a single-line function (function-comma-space-after)
(#5217) Expected single space after "," in a single-line function (function-comma-space-after)
(#5217) Expected single space after "," in a single-line function (function-comma-space-after)
(#5223) Expected single space after "," in a single-line function (function-comma-space-after)
(#5223) Expected single space after "," in a single-line function (function-comma-space-after)
(#5223) Expected single space after "," in a single-line function (function-comma-space-after)
(#5235) Expected single space after "," in a single-line function (function-comma-space-after)
(#5235) Expected single space after "," in a single-line function (function-comma-space-after)
(#5235) Expected single space after "," in a single-line function (function-comma-space-after)
(#5240) Expected single space after "," in a single-line function (function-comma-space-after)
(#5240) Expected single space after "," in a single-line function (function-comma-space-after)
(#5240) Expected single space after "," in a single-line function (function-comma-space-after)
(#4962) Expected indentation of 24 spaces (indentation)
(#4967) Expected indentation of 24 spaces (indentation)
(#4971) Expected indentation of 20 spaces (indentation)
(#4972) Expected indentation of 20 spaces (indentation)
(#4974) Expected indentation of 24 spaces (indentation)
(#5008) Expected indentation of 4 spaces (indentation)
(#75) Expected line length to be no more than 132 characters (max-line-length)
(#3798) Expected single space after ">" (selector-combinator-space-after)
(#3798) Expected single space after ">" (selector-combinator-space-after)
(#5210) Expected single space after "~" (selector-combinator-space-after)
(#5215) Expected single space after "~" (selector-combinator-space-after)
(#5220) Expected single space after "~" (selector-combinator-space-after)
(#3798) Expected single space before ">" (selector-combinator-space-before)
(#3798) Expected single space before ">" (selector-combinator-space-before)
(#5210) Expected single space before "~" (selector-combinator-space-before)
(#5215) Expected single space before "~" (selector-combinator-space-before)
(#5220) Expected single space before "~" (selector-combinator-space-before)
(#5088) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(1 errors, 0 warnings)

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

theme/klass/lib.php
(#425) Function theme_klass_lang is not documented

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

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

theme/klass/templates/columns1.mustache
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 1 Column: 1
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( require(['theme_boost/loader']); ), Line: 2 Column: 33
theme/klass/templates/columns2.mustache
(#1) HTML Validation error, line 16: Bad value “banner” for attribute “role” on element “nav”. ( <nav id="header" role="banner" class="fixed-top navbar navbar-light bg-faded navbar-expand moodle-has-zindex"> )
(#1) HTML Validation error, line 30: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) ( <div class="d-none d-lg-block"> )
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 1 Column: 1
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( require(['theme_boost/loader']); ), Line: 2 Column: 33
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( require(['theme_boost/drawer'], function(mod) { ), Line: 3 Column: 48
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( mod.init(); ), Line: 4 Column: 16
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( }); ), Line: 5 Column: 4
theme/klass/templates/footer.mustache
(#1) Example context missing (@template section not found.)
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 1 Column: 1
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( require(['theme_boost/loader']); ), Line: 2 Column: 33
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( require(['theme_boost/drawer'], function(mod) { ), Line: 3 Column: 48
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( mod.init(); ), Line: 4 Column: 16
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( }); ), Line: 5 Column: 4
theme/klass/templates/header.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 3: Bad value “banner” for attribute “role” on element “nav”. (d><body><nav id="header" role="banner" class="fixed-top navbar navbar-light bg-faded navbar-expand moodle-has-zindex"> )
(#1) HTML Validation error, line 17: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) ( <div class="d-none d-lg-block"> )
(#1) HTML Validation error, line 8: 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-secondary" data-action="toggle-drawer" data-side="left" data-preference="drawer-open-nav"><img s)
theme/klass/templates/maintenance.mustache
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( ), Line: 1 Column: 1
(#1) ESLint error [linebreak-style]: Expected linebreaks to be 'LF' but found 'CRLF'. ( require(['theme_boost/loader']); ), Line: 2 Column: 33
theme/klass/templates/navbar.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Bad value “banner” for attribute “role” on element “nav”. (ad><body><nav id="header" role="banner" class="fixed-top navbar navbar-light bg-faded navbar-expand moodle-has-zindex"> )
(#1) HTML Validation error, line 16: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) ( <div class="d-none d-lg-block"> )
(#1) HTML Validation error, line 7: 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-secondary" data-action="toggle-drawer" data-side="left" data-preference="drawer-open-nav"><img s)