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

(248 errors, 113 warnings)

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

theme/eguru/config.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#20) Whitespace found at end of line
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/eguru/lang/ar/theme_eguru.php
(#181) Expected 1 space after "="; 2 found
theme/eguru/lang/en/theme_eguru.php
(#181) Expected 1 space after "="; 2 found
theme/eguru/layout/columns1.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#45) Spaces must be used to indent lines; tabs are not allowed
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Line indented incorrectly; expected 4 spaces, found 3
(#54) Spaces must be used to indent lines; tabs are not allowed
(#56) Spaces must be used to indent lines; tabs are not allowed
(#57) Spaces must be used to indent lines; tabs are not allowed
theme/eguru/layout/columns2.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#47) Spaces must be used to indent lines; tabs are not allowed
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Line indented incorrectly; expected 4 spaces, found 3
(#56) 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
(#70) Line indented incorrectly; expected 4 spaces, found 0
(#71) Line indented incorrectly; expected at least 8 spaces, found 4
(#72) Line indented incorrectly; expected 4 spaces, found 0
theme/eguru/layout/columns3.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#50) Spaces must be used to indent lines; tabs are not allowed
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Line indented incorrectly; expected 4 spaces, found 3
(#59) Spaces must be used to indent lines; tabs are not allowed
(#60) Spaces must be used to indent lines; tabs are not allowed
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Line indented incorrectly; expected 20 spaces, found 17
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Line indented incorrectly; expected 12 spaces, found 9
theme/eguru/layout/embedded.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/eguru/layout/frontpage.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Line indented incorrectly; expected 8 spaces, found 5
(#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
(#103) 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
(#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
(#110) 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
(#114) 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
(#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
(#137) Spaces must be used to indent lines; tabs are not allowed
theme/eguru/layout/includes/footer.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#51) Spaces must be used to indent lines; tabs are not allowed
(#52) Spaces must be used to indent lines; tabs are not allowed
(#53) Spaces must be used to indent lines; tabs are not allowed
(#54) Spaces must be used to indent lines; tabs are not allowed
(#55) Spaces must be used to indent lines; tabs are not allowed
(#56) Spaces must be used to indent lines; tabs are not allowed
(#57) Spaces must be used to indent lines; tabs are not allowed
(#58) 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
(#66) Spaces must be used to indent lines; tabs are not allowed
(#68) Line indented incorrectly; expected 28 spaces, found 27
(#72) Spaces must be used to indent lines; tabs are not allowed
(#73) Spaces must be used to indent lines; tabs are not allowed
(#74) Spaces must be used to indent lines; tabs are not allowed
(#75) Spaces must be used to indent lines; tabs are not allowed
(#76) Line indented incorrectly; expected 28 spaces, found 25
(#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
(#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
(#92) 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
(#105) 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
(#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
(#135) Commas (,) must be followed by white space.
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#135) Line exceeds 132 characters; contains 137 characters
(#141) Commas (,) must be followed by white space.
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#141) Line exceeds 132 characters; contains 165 characters
(#152) Spaces must be used to indent lines; tabs are not allowed
(#153) Spaces must be used to indent lines; tabs are not allowed
(#154) Commas (,) must be followed by white space.
theme/eguru/layout/includes/header.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#37) Spaces must be used to indent lines; tabs are not allowed
(#38) Spaces must be used to indent lines; tabs are not allowed
(#39) Spaces must be used to indent lines; tabs are not allowed
(#44) Whitespace found at end of line
(#55) Spaces must be used to indent lines; tabs are not allowed
(#56) Spaces must be used to indent lines; tabs are not allowed
(#57) 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 8 spaces, found 5
(#60) Line indented incorrectly; expected 0 spaces, found 4
(#66) Line indented incorrectly; expected 0 spaces, found 4
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Line indented incorrectly; expected 8 spaces, found 5
(#72) Whitespace found at end of line
(#75) Spaces must be used to indent lines; tabs are not allowed
(#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
(#83) Line indented incorrectly; expected 0 spaces, found 4
(#89) Line indented incorrectly; expected 0 spaces, found 4
(#91) Spaces must be used to indent lines; tabs are not allowed
(#100) 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
theme/eguru/layout/includes/marketingspots.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#50) Spaces must be used to indent lines; tabs are not allowed
(#51) Spaces must be used to indent lines; tabs are not allowed
(#58) Spaces must be used to indent lines; tabs are not allowed
(#69) Spaces must be used to indent lines; tabs are not allowed
(#80) Spaces must be used to indent lines; tabs are not allowed
(#91) Spaces must be used to indent lines; tabs are not allowed
theme/eguru/layout/includes/slideshow.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#37) Whitespace found at end of line
(#43) Whitespace found at end of line
(#54) Spaces must be used to indent lines; tabs are not allowed
(#59) Spaces must be used to indent lines; tabs are not allowed
(#79) Whitespace found at end of line
theme/eguru/layout/login.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Spaces must be used to indent lines; tabs are not allowed
(#55) Spaces must be used to indent lines; tabs are not allowed
(#67) Spaces must be used to indent lines; tabs are not allowed
(#72) Spaces must be used to indent lines; tabs are not allowed
(#76) Spaces must be used to indent lines; tabs are not allowed
(#77) Spaces must be used to indent lines; tabs are not allowed
(#79) Spaces must be used to indent lines; tabs are not allowed
(#83) Spaces must be used to indent lines; tabs are not allowed
(#84) Spaces must be used to indent lines; tabs are not allowed
(#86) Spaces must be used to indent lines; tabs are not allowed
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Line indented incorrectly; expected 8 spaces, found 6
(#98) Spaces must be used to indent lines; tabs are not allowed
(#99) 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
(#104) Line indented incorrectly; expected 8 spaces, found 6
(#105) Expected "if (...) {\n"; found "if (...) {"
(#105) Closing brace must be on a line by itself
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#105) Line exceeds 132 characters; contains 167 characters
(#106) Spaces must be used to indent lines; tabs are not allowed
(#106) Line indented incorrectly; expected 8 spaces, found 6
(#107) 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
(#137) 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
(#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
theme/eguru/layout/maintenance.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#44) Spaces must be used to indent lines; tabs are not allowed
(#45) Spaces must be used to indent lines; tabs are not allowed
(#45) Line indented incorrectly; expected 12 spaces, found 9
theme/eguru/layout/secure.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Line indented incorrectly; expected 24 spaces, found 21
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Line indented incorrectly; expected 20 spaces, found 17
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Line indented incorrectly; expected 12 spaces, found 9
theme/eguru/lib.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#40) Whitespace found at end of line
(#166) This comment is 43% valid code; is this commented out code?
theme/eguru/renderers.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/eguru/renderers/core_renderer.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#38) Line indented incorrectly; expected at least 8 spaces, found 2
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#39) Line indented incorrectly; expected at least 8 spaces, found 2
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#40) Line indented incorrectly; expected at least 8 spaces, found 2
theme/eguru/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#63) Commas (,) must be followed by white space.
(#64) Commas (,) must be followed by white space.
(#65) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#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
(#84) Whitespace found at end of line within string
(#85) Whitespace found at end of line within string
(#86) Whitespace found at end of line within string
(#87) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#89) Whitespace found at end of line within string
(#90) Commas (,) must be followed by white space.
(#90) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#92) Whitespace found at end of line within string
(#93) Whitespace found at end of line within string
(#94) Whitespace found at end of line within string
(#95) Whitespace found at end of line within string
(#96) Commas (,) must be followed by white space.
(#96) Whitespace found at end of line within string
(#97) Whitespace found at end of line within string
(#98) Whitespace found at end of line within string
(#99) Whitespace found at end of line within string
(#100) Whitespace found at end of line within string
(#101) Whitespace found at end of line within string
(#102) Commas (,) must be followed by white space.
(#102) Whitespace found at end of line within string
(#103) Whitespace found at end of line within string
(#104) Whitespace found at end of line within string
(#105) Whitespace found at end of line within string
(#106) Whitespace found at end of line within string
(#107) Whitespace found at end of line within string
(#108) Commas (,) must be followed by white space.
(#108) Whitespace found at end of line within string
(#109) Whitespace found at end of line within string
(#110) Whitespace found at end of line within string
(#515) Spaces must be used to indent lines; tabs are not allowed
(#515) Tab found within whitespace
(#515) Inline comments must end in full-stops, exclamation marks, or question marks
(#515) Line indented incorrectly; expected at least 8 spaces, found 2
(#517) Spaces must be used to indent lines; tabs are not allowed
(#517) Tab found within whitespace
(#517) Line indented incorrectly; expected at least 8 spaces, found 2

Javascript coding style problems

(139 errors, 103 warnings)

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

theme/eguru/javascript/bootstrap-carousel.js
(#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) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#29) Unexpected 'this'. (no-invalid-this)
(#29) Missing semicolon. (semi)
(#30) Unexpected 'this'. (no-invalid-this)
(#30) Missing semicolon. (semi)
(#31) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#31) Unexpected 'this'. (no-invalid-this)
(#31) Unexpected 'this'. (no-invalid-this)
(#31) Unexpected 'this'. (no-invalid-this)
(#31) Missing semicolon. (semi)
(#32) Unexpected 'this'. (no-invalid-this)
(#32) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#32) Unexpected 'this'. (no-invalid-this)
(#33) Unexpected 'this'. (no-invalid-this)
(#33) Unexpected 'this'. (no-invalid-this)
(#34) Unexpected 'this'. (no-invalid-this)
(#34) Unexpected 'this'. (no-invalid-this)
(#34) Missing semicolon. (semi)
(#35) Missing semicolon. (semi)
(#39) Unexpected space before function parentheses. (space-before-function-paren)
(#41) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#41) Missing semicolon. (semi)
(#42) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#44) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#46) Missing semicolon. (semi)
(#47) Missing semicolon. (semi)
(#50) ',' should be placed last. (comma-style)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#52) ',' should be placed last. (comma-style)
(#53) ',' should be placed last. (comma-style)
(#54) ',' should be placed last. (comma-style)
(#54) Missing semicolon. (semi)
(#57) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#57) Missing semicolon. (semi)
(#58) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#61) Expected no return value. (consistent-return)
(#61) Unexpected space before function parentheses. (space-before-function-paren)
(#62) Missing semicolon. (semi)
(#63) Missing semicolon. (semi)
(#67) Expected no return value. (consistent-return)
(#67) Missing semicolon. (semi)
(#70) Expected no return value. (consistent-return)
(#70) Missing semicolon. (semi)
(#73) ',' should be placed last. (comma-style)
(#73) Unexpected space before function parentheses. (space-before-function-paren)
(#75) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#75) Missing semicolon. (semi)
(#76) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#77) Missing semicolon. (semi)
(#78) Missing semicolon. (semi)
(#79) Missing semicolon. (semi)
(#82) ',' should be placed last. (comma-style)
(#82) Unexpected space before function parentheses. (space-before-function-paren)
(#84) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#84) Missing semicolon. (semi)
(#85) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#86) Expected no return value. (consistent-return)
(#86) Missing semicolon. (semi)
(#89) ',' should be placed last. (comma-style)
(#89) Unexpected space before function parentheses. (space-before-function-paren)
(#91) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#91) Missing semicolon. (semi)
(#92) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#93) Expected no return value. (consistent-return)
(#93) Missing semicolon. (semi)
(#96) ',' should be placed last. (comma-style)
(#96) Unexpected space before function parentheses. (space-before-function-paren)
(#98) ',' should be placed last. (comma-style)
(#99) ',' should be placed last. (comma-style)
(#100) ',' should be placed last. (comma-style)
(#101) ',' should be placed last. (comma-style)
(#101) Multiple spaces found before '='. (no-multi-spaces)
(#102) ',' should be placed last. (comma-style)
(#103) ',' should be placed last. (comma-style)
(#103) Missing semicolon. (semi)
(#105) Missing semicolon. (semi)
(#107) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#107) Missing semicolon. (semi)
(#109) Missing semicolon. (semi)
(#112) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#112) Missing semicolon. (semi)
(#113) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#116) Missing semicolon. (semi)
(#118) Missing semicolon. (semi)
(#120) Missing semicolon. (semi)
(#121) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#121) Missing semicolon. (semi)
(#122) Missing semicolon. (semi)
(#123) Missing semicolon. (semi)
(#124) Unexpected space before function parentheses. (space-before-function-paren)
(#125) Missing semicolon. (semi)
(#126) Missing semicolon. (semi)
(#127) Missing semicolon. (semi)
(#128) Unexpected space before function parentheses. (space-before-function-paren)
(#128) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#128) Statement inside of curly braces should be on next line. (brace-style)
(#128) Missing semicolon. (semi)
(#128) Missing semicolon. (semi)
(#129) Missing semicolon. (semi)
(#131) Missing semicolon. (semi)
(#133) Missing semicolon. (semi)
(#135) Missing semicolon. (semi)
(#136) Missing semicolon. (semi)
(#137) Missing semicolon. (semi)
(#138) Missing semicolon. (semi)
(#141) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#141) Missing semicolon. (semi)
(#143) Expected no return value. (consistent-return)
(#143) Missing semicolon. (semi)
(#146) Missing semicolon. (semi)
(#151) Unexpected space before function parentheses. (space-before-function-paren)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#153) Unexpected 'this'. (no-invalid-this)
(#154) ',' should be placed last. (comma-style)
(#155) ',' should be placed last. (comma-style)
(#155) Missing semicolon. (semi)
(#157) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#157) Unexpected 'this'. (no-invalid-this)
(#157) Missing semicolon. (semi)
(#158) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#160) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#160) Missing semicolon. (semi)
(#161) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#162) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#163) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#163) Missing semicolon. (semi)
(#164) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#165) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#166) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#166) Missing semicolon. (semi)
(#167) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#168) Missing semicolon. (semi)
(#169) Missing semicolon. (semi)
(#173) ',' should be placed last. (comma-style)
(#174) Missing semicolon. (semi)
(#176) Missing semicolon. (semi)
(#181) Unexpected space before function parentheses. (space-before-function-paren)
(#182) Unexpected space before function parentheses. (space-before-function-paren)
(#182) There should be no spaces inside this paren. (space-in-parens)
(#182) There should be no spaces inside this paren. (space-in-parens)
(#183) Unexpected 'this'. (no-invalid-this)
(#183) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#184) Line 184 exceeds the maximum line length of 132. (max-len)
(#184) ',' should be placed last. (comma-style)
(#184) Expected space or tab after '//' in comment. (spaced-comment)
(#185) ',' should be placed last. (comma-style)
(#185) Missing semicolon. (semi)
(#186) Missing semicolon. (semi)
(#187) Missing semicolon. (semi)
(#188) Missing semicolon. (semi)
(#189) Missing semicolon. (semi)
theme/eguru/javascript/bootstrap-transition.js
(#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) Unexpected space before function parentheses. (space-before-function-paren)
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#30) Unexpected space before function parentheses. (space-before-function-paren)
(#32) Expected to return a value at the end of this function. (consistent-return)
(#32) Unexpected space before function parentheses. (space-before-function-paren)
(#35) ',' should be placed last. (comma-style)
(#36) Extra space after key 'WebkitTransition'. (key-spacing)
(#37) ',' should be placed last. (comma-style)
(#37) Multiple spaces found before ''MozTransition''. (no-multi-spaces)
(#37) Extra space after key 'MozTransition'. (key-spacing)
(#38) ',' should be placed last. (comma-style)
(#38) Multiple spaces found before ''OTransition''. (no-multi-spaces)
(#38) Extra space after key 'OTransition'. (key-spacing)
(#39) ',' should be placed last. (comma-style)
(#39) Multiple spaces found before ''msTransition''. (no-multi-spaces)
(#39) Extra space after key 'msTransition'. (key-spacing)
(#40) ',' should be placed last. (comma-style)
(#40) Extra space after key 'transition'. (key-spacing)
(#40) Multiple spaces found before ''transition''. (no-multi-spaces)
(#42) ',' should be placed last. (comma-style)
(#42) Missing semicolon. (semi)
(#44) Missing space before opening brace. (space-before-blocks)
(#46) Missing semicolon. (semi)
(#50) Missing semicolon. (semi)
(#54) Missing semicolon. (semi)
(#56) Missing semicolon. (semi)
(#58) Missing semicolon. (semi)
theme/eguru/javascript/slick.js
(#23) 'module' is not defined. (no-undef)
(#36) Missing JSDoc comment. (require-jsdoc)
(#207) Expected to return a value at the end of this function. (consistent-return)
(#211) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#220) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#530) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#530) A space is required after ','. (comma-spacing)
(#535) Expected space(s) after "if". (keyword-spacing)
(#541) Expected space(s) after "for". (keyword-spacing)
(#541) Missing space before opening brace. (space-before-blocks)
(#543) Expected space(s) after "for". (keyword-spacing)
(#545) Expected space(s) after "for". (keyword-spacing)
(#547) Blocks are nested too deeply (5). (max-depth)
(#554) Unnecessary semicolon. (no-extra-semi)
(#559) Unnecessary semicolon. (no-extra-semi)
(#649) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#720) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#721) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#758) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#760) Expected space(s) after "if". (keyword-spacing)
(#1053) Expected to return a value at the end of this function. (consistent-return)
(#1236) Missing JSDoc comment. (require-jsdoc)
(#1238) Unexpected 'this'. (no-invalid-this)
(#1239) Unexpected 'this'. (no-invalid-this)
(#1495) Expected to return a value at the end of this function. (consistent-return)
(#1499) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#1750) Line 1750 exceeds the maximum line length of 132. (max-len)
(#1753) Line 1753 exceeds the maximum line length of 132. (max-len)
(#1776) Line 1776 exceeds the maximum line length of 132. (max-len)
(#1778) Line 1778 exceeds the maximum line length of 132. (max-len)
(#1825) Unexpected 'this'. (no-invalid-this)
(#1872) Function 'anonymous' has a complexity of 23. (complexity)
(#1874) 'oldSlide' is defined but never used (no-unused-vars)
(#1874) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#1901) Line 1901 exceeds the maximum line length of 132. (max-len)
(#1913) Line 1913 exceeds the maximum line length of 132. (max-len)
(#2004) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#2036) Expected to return a value at the end of this function. (consistent-return)
(#2036) 'event' is defined but never used (no-unused-vars)
(#2057) Line 2057 exceeds the maximum line length of 132. (max-len)
(#2065) Line 2065 exceeds the maximum line length of 132. (max-len)
(#2120) Function 'anonymous' has a complexity of 21. (complexity)
(#2120) Expected to return a value at the end of this function. (consistent-return)
(#2123) 'edgeWasHit' is defined but never used (no-unused-vars)
(#2148) Expected a return value. (consistent-return)
(#2165) Line 2165 exceeds the maximum line length of 132. (max-len)
(#2193) Expected to return a value at the end of this function. (consistent-return)
(#2260) 'centerOffset' is defined but never used (no-unused-vars)
(#2289) Line 2289 exceeds the maximum line length of 132. (max-len)
theme/eguru/javascript/theme.js
(#1) '$' is not defined. (no-undef)
(#1) Missing space before opening brace. (space-before-blocks)
(#2) '$' is not defined. (no-undef)
(#2) There should be no spaces inside this paren. (space-in-parens)
(#2) There should be no spaces inside this paren. (space-in-parens)
(#2) Expected to return a value at the end of this function. (consistent-return)
(#2) Missing space before opening brace. (space-before-blocks)
(#3) Identifier 'ctab_obj' is not in camel case. (camelcase)
(#3) '$' is not defined. (no-undef)
(#4) Identifier 'ctab_obj' is not in camel case. (camelcase)

CSS problems

(4 errors, 21 warnings)

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

theme/eguru/style/color_scheme-1.css
(#325) Rule is empty.
(#334) Unexpected token '{' at line 334, col 25.
theme/eguru/style/color_scheme-2.css
(#325) Rule is empty.
theme/eguru/style/color_scheme-3.css
(#325) Rule is empty.
theme/eguru/style/color_scheme-4.css
(#325) Rule is empty.
theme/eguru/style/color_scheme-default.css
(#325) Rule is empty.
theme/eguru/style/custom.css
(#3) Expected IDENT at line 3, col 2.
(#3) Expected IDENT at line 3, col 2.
theme/eguru/style/eguru.css
(#261) Rule is empty.
(#357) Rule is empty.
(#385) Expected (<bg-image>) but found 'inherit'.
(#431) Rule is empty.
(#432) Rule is empty.
(#865) Rule is empty.
(#1803) Rule is empty.
(#1830) Rule is empty.
(#1923) Expected a hex color but found '#inherit' at line 1923, col 17.
(#2209) Rule is empty.
(#2612) Rule is empty.
(#2778) Rule is empty.
(#2779) Rule is empty.
(#2783) Rule is empty.
(#2922) Rule is empty.
(#3279) Use of !important
theme/eguru/style/moodle26.css
(#2) Use of !important

PHPDocs style problems

(28 errors, 0 warnings)

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

theme/eguru/config.php
(#17) No one-line description found in phpdocs for file
theme/eguru/layout/columns3.php
(#17) No one-line description found in phpdocs for file
theme/eguru/layout/frontpage.php
(#17) No one-line description found in phpdocs for file
theme/eguru/layout/includes/slideshow.php
(#17) No one-line description found in phpdocs for file
theme/eguru/lib.php
(#150) Function theme_eguru_send_unmodified is not documented
(#164) Function theme_eguru_send_cached_css is not documented
(#282) Function theme_eguru_render_slideimg is not documented
(#296) Function theme_eguru_get_setting is not documented
(#440) Function theme_eguru_lang is not documented
(#17) No one-line description found in phpdocs for file
(#26) Phpdocs for function theme_eguru_page_init has incomplete parameters list
(#40) Phpdocs for function theme_eguru_process_css has incomplete parameters list
(#243) Phpdocs for function theme_eguru_set_fontwww has incomplete parameters list
(#260) Phpdocs for function theme_eguru_get_logo_url has incomplete parameters list
(#329) Phpdocs for function theme_eguru_generate_links has incomplete parameters list
(#419) Phpdocs for function theme_eguru_course_trim_char has incomplete parameters list
theme/eguru/renderers.php
(#17) No one-line description found in phpdocs for file
(#20) Invalid phpdocs tag @authors used
(#18) Package theme_academi is not valid
theme/eguru/renderers/core_renderer.php
(#26) Class theme_eguru_core_renderer is not documented
(#28) Function theme_eguru_core_renderer::earlier_user_menu is not documented
(#17) No one-line description found in phpdocs for file
theme/eguru/renderers/course_renderer.php
(#30) Class theme_eguru_core_course_renderer is not documented
(#32) Function theme_eguru_core_course_renderer::frontpage_available_courses is not documented
(#126) Function theme_eguru_core_course_renderer::promoted_courses is not documented
(#17) No one-line description found in phpdocs for file
theme/eguru/settings.php
(#17) No one-line description found in phpdocs for file
theme/eguru/version.php
(#17) No one-line description found in phpdocs for file

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

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


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]