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

(109 errors, 266 warnings)

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

theme/campus/admin_setting_configinteger.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
(#39) Line exceeds 132 characters; contains 145 characters
theme/campus/campus-lib.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
(#36) Expected "foreach (...) {\n"; found "foreach(...){\n"
theme/campus/classes/core_renderer.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#58) Variable "list_items" must not contain underscores.
(#61) Variable "list_items" must not contain underscores.
(#271) This comment is 67% valid code; is this commented out code?
(#279) Line exceeds 132 characters; contains 134 characters
(#289) Inline comments must start with a capital letter, digit or 3-dots sequence
(#300) Line exceeds 132 characters; contains 133 characters
(#311) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#311) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#332) Line exceeds 132 characters; contains 142 characters
(#342) Variable "anti_gravity" must not contain underscores.
(#345) Variable "anti_gravity" must not contain underscores.
(#440) Expected 1 space before "=>"; 0 found
(#440) Expected 1 space after "=>"; 0 found
(#440) Expected 1 space before "=>"; 0 found
(#440) Expected 1 space after "=>"; 0 found
(#440) Expected 1 space before "=>"; 0 found
(#440) Expected 1 space after "=>"; 0 found
(#498) Inline comments must end in full-stops, exclamation marks, or question marks
(#506) Inline comments must end in full-stops, exclamation marks, or question marks
(#510) Inline comments must end in full-stops, exclamation marks, or question marks
(#517) Inline comments must end in full-stops, exclamation marks, or question marks
(#531) Inline comments must end in full-stops, exclamation marks, or question marks
(#538) Inline comments must end in full-stops, exclamation marks, or question marks
(#551) Inline comments must end in full-stops, exclamation marks, or question marks
(#553) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#569) Inline comments must end in full-stops, exclamation marks, or question marks
(#630) Inline comments must start with a capital letter, digit or 3-dots sequence
(#630) Inline comments must end in full-stops, exclamation marks, or question marks
(#636) Inline comments must end in full-stops, exclamation marks, or question marks
(#655) Inline comments must end in full-stops, exclamation marks, or question marks
(#663) Line exceeds 132 characters; contains 157 characters
(#697) Line exceeds 132 characters; contains 146 characters
(#729) Inline comments must end in full-stops, exclamation marks, or question marks
(#761) Line exceeds 132 characters; contains 140 characters
(#790) Line exceeds 132 characters; contains 147 characters
(#846) Line exceeds 132 characters; contains 140 characters
(#851) Line exceeds 132 characters; contains 157 characters
(#872) Line exceeds 132 characters; contains 152 characters
(#877) Line exceeds 132 characters; contains 169 characters
theme/campus/classes/toolbox.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#66) Line exceeds 132 characters; contains 133 characters
(#157) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
theme/campus/config.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#121) Expected 1 space before "=>"; 0 found
(#121) Expected 1 space after "=>"; 0 found
(#128) Inline comments must start with a capital letter, digit or 3-dots sequence
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Expected 1 space before "=>"; 0 found
(#151) Expected 1 space after "=>"; 0 found
(#162) Expected 1 space before "=>"; 0 found
(#162) Expected 1 space after "=>"; 0 found
(#169) Expected 1 space before "=>"; 0 found
(#169) Expected 1 space after "=>"; 0 found
(#169) Expected 1 space before "=>"; 0 found
(#169) Expected 1 space after "=>"; 0 found
(#175) Expected 1 space before "=>"; 0 found
(#175) Expected 1 space after "=>"; 0 found
(#175) Expected 1 space before "=>"; 0 found
(#175) Expected 1 space after "=>"; 0 found
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) Expected 1 space before "=>"; 0 found
(#188) Expected 1 space after "=>"; 0 found
(#188) Expected 1 space before "=>"; 0 found
(#188) Expected 1 space after "=>"; 0 found
(#188) Expected 1 space before "=>"; 0 found
(#188) Expected 1 space after "=>"; 0 found
(#188) Expected 1 space before "=>"; 0 found
(#188) Expected 1 space after "=>"; 0 found
(#194) Expected 1 space before "=>"; 0 found
(#194) Expected 1 space after "=>"; 0 found
(#194) Expected 1 space before "=>"; 0 found
(#194) Expected 1 space after "=>"; 0 found
theme/campus/db/upgrade.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
theme/campus/lang/en/theme_campus.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#435) Inline comments must start with a capital letter, digit or 3-dots sequence
theme/campus/layout/columns1.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#69) Line exceeds 132 characters; contains 152 characters
(#69) Line exceeds 132 characters; contains 152 characters
(#69) Line exceeds 132 characters; contains 152 characters
(#69) Line exceeds 132 characters; contains 152 characters
(#69) Line exceeds 132 characters; contains 152 characters
(#69) Line exceeds 132 characters; contains 152 characters
(#69) Line exceeds 132 characters; contains 152 characters
(#69) Line exceeds 132 characters; contains 152 characters
(#69) Line exceeds 132 characters; contains 152 characters
(#69) Line exceeds 132 characters; contains 152 characters
(#69) Line exceeds 132 characters; contains 152 characters
theme/campus/layout/columns2l.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#86) Expected "if (...) {\n"; found "if (...) { "
(#86) Closing brace must be on a line by itself
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
theme/campus/layout/columns2r.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#86) Expected "if (...) {\n"; found "if (...) { "
(#86) Closing brace must be on a line by itself
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
(#100) Line exceeds 132 characters; contains 152 characters
theme/campus/layout/columns3.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#104) Line exceeds 132 characters; contains 153 characters
(#105) Expected 1 space before "=="; newline found
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
(#109) Line exceeds 132 characters; contains 160 characters
theme/campus/layout/embedded.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/campus/layout/frontpage2l.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#87) Expected "if (...) {\n"; found "if (...) { "
(#87) Closing brace must be on a line by itself
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
theme/campus/layout/frontpage2r.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#87) Expected "if (...) {\n"; found "if (...) { "
(#87) Closing brace must be on a line by itself
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
(#95) Line exceeds 132 characters; contains 148 characters
theme/campus/layout/frontpage3.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
(#88) Line exceeds 132 characters; contains 156 characters
theme/campus/layout/maintenance.php
(#39) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/campus/layout/popup.php
(#28) Whitespace found at end of line
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#49) Line indented incorrectly; expected 0 spaces, found 4
(#49) Expected "if (...) {\n"; found "if(...) {\n"
(#52) Line indented incorrectly; expected 0 spaces, found 4
theme/campus/layout/secure2l.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#88) Expected "if (...) {\n"; found "if (...) { "
(#88) Closing brace must be on a line by itself
theme/campus/layout/secure2r.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#88) Expected "if (...) {\n"; found "if (...) { "
(#88) Closing brace must be on a line by itself
theme/campus/layout/secure3.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/campus/layout/tiles/coursecategory-header.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#37) Line exceeds 132 characters; contains 156 characters
(#38) Line exceeds 132 characters; contains 153 characters
(#39) Line exceeds maximum limit of 180 characters; contains 186 characters
(#58) Line exceeds 132 characters; contains 146 characters
(#65) Line exceeds 132 characters; contains 152 characters
(#69) Line exceeds 132 characters; contains 141 characters
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) Line exceeds 132 characters; contains 169 characters
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) Line exceeds 132 characters; contains 171 characters
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Line exceeds maximum limit of 180 characters; contains 199 characters
(#108) Line exceeds 132 characters; contains 161 characters
(#112) Line exceeds maximum limit of 180 characters; contains 191 characters
(#124) Line exceeds 132 characters; contains 160 characters
(#135) Line exceeds 132 characters; contains 137 characters
theme/campus/layout/tiles/footer.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#51) A closing tag is not permitted at the end of a PHP file
theme/campus/layout/tiles/footer_blocks.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) A closing tag is not permitted at the end of a PHP file
theme/campus/layout/tiles/frontpage-header.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#33) Line exceeds 132 characters; contains 138 characters
(#39) Line exceeds 132 characters; contains 141 characters
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Line exceeds 132 characters; contains 169 characters
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Line exceeds 132 characters; contains 171 characters
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Line exceeds maximum limit of 180 characters; contains 199 characters
(#60) Line exceeds maximum limit of 180 characters; contains 191 characters
(#73) Line exceeds 132 characters; contains 161 characters
(#79) Line exceeds 132 characters; contains 158 characters
(#86) Line exceeds 132 characters; contains 144 characters
theme/campus/layout/tiles/header-tile.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#59) Line exceeds 132 characters; contains 134 characters
(#67) Line exceeds 132 characters; contains 174 characters
(#69) Line exceeds 132 characters; contains 134 characters
(#71) Line exceeds 132 characters; contains 138 characters
(#87) Line exceeds 132 characters; contains 134 characters
(#97) File is being unconditionally included; use "require" instead
theme/campus/layout/tiles/header.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/campus/layout/tiles/navbar.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/campus/layout/tiles/page-header.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#41) Line exceeds 132 characters; contains 140 characters
(#41) Line exceeds 132 characters; contains 140 characters
(#41) Line exceeds 132 characters; contains 140 characters
(#41) Line exceeds 132 characters; contains 140 characters
(#41) Line exceeds 132 characters; contains 140 characters
(#41) Line exceeds 132 characters; contains 140 characters
(#41) Line exceeds 132 characters; contains 140 characters
(#41) Line exceeds 132 characters; contains 140 characters
(#41) Line exceeds 132 characters; contains 140 characters
(#41) Line exceeds 132 characters; contains 140 characters
(#41) Line exceeds 132 characters; contains 140 characters
(#43) Whitespace found at end of line
(#54) Expected 1 space before "=="; newline found
theme/campus/layout/tiles/page-header_frontpage.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#43) Line exceeds 132 characters; contains 133 characters
(#43) Line exceeds 132 characters; contains 133 characters
(#43) Line exceeds 132 characters; contains 133 characters
theme/campus/layout/tiles/pagebody_slideshow.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Line exceeds 132 characters; contains 133 characters
theme/campus/layout/tiles/slideshow.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) Expected 1 space before "?"; 0 found
(#50) Line indented incorrectly; expected 0 spaces, found 20
(#50) Closing brace indented incorrectly; expected 0 spaces, found 20
(#56) A closing tag is not permitted at the end of a PHP file
theme/campus/layout/tiles/social.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#51) Line exceeds 132 characters; contains 172 characters
theme/campus/lib.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
(#226) Line exceeds 132 characters; contains 140 characters
(#247) Line exceeds maximum limit of 180 characters; contains 197 characters
(#250) Line indented incorrectly; expected 8 spaces, found 7
(#250) Closing brace indented incorrectly; expected 8 spaces, found 7
(#276) Line exceeds maximum limit of 180 characters; contains 197 characters
(#326) Line exceeds 132 characters; contains 164 characters
(#338) This comment is 48% valid code; is this commented out code?
(#342) Line exceeds 132 characters; contains 157 characters
(#347) Line exceeds 132 characters; contains 165 characters
(#349) Inline comments must start with a capital letter, digit or 3-dots sequence
(#350) Line exceeds 132 characters; contains 149 characters
(#362) This comment is 48% valid code; is this commented out code?
(#366) Line exceeds 132 characters; contains 157 characters
(#372) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#377) Line exceeds 132 characters; contains 148 characters
(#398) This comment is 50% valid code; is this commented out code?
(#403) Line exceeds 132 characters; contains 157 characters
(#421) This comment is 48% valid code; is this commented out code?
(#426) Line exceeds 132 characters; contains 175 characters
(#431) Line exceeds 132 characters; contains 144 characters
(#434) Line exceeds 132 characters; contains 144 characters
(#453) This comment is 50% valid code; is this commented out code?
(#458) Line exceeds 132 characters; contains 157 characters
(#460) Line exceeds 132 characters; contains 140 characters
(#461) Line exceeds 132 characters; contains 136 characters
(#462) Line exceeds 132 characters; contains 172 characters
(#474) This comment is 50% valid code; is this commented out code?
(#479) Line exceeds 132 characters; contains 175 characters
(#486) This comment is 48% valid code; is this commented out code?
(#486) Line indented incorrectly; expected at least 24 spaces, found 20
(#501) Inline comments must start with a capital letter, digit or 3-dots sequence
(#522) This comment is 50% valid code; is this commented out code?
(#527) Line exceeds 132 characters; contains 157 characters
(#530) Line exceeds 132 characters; contains 173 characters
(#532) Inline comments must start with a capital letter, digit or 3-dots sequence
(#533) Line exceeds 132 characters; contains 157 characters
(#545) This comment is 50% valid code; is this commented out code?
(#550) Line exceeds 132 characters; contains 175 characters
(#560) This comment is 46% valid code; is this commented out code?
(#568) This comment is 48% valid code; is this commented out code?
(#568) Line indented incorrectly; expected at least 20 spaces, found 16
(#586) Inline comments must end in full-stops, exclamation marks, or question marks
(#586) This comment is 43% valid code; is this commented out code?
(#588) Inline comments must start with a capital letter, digit or 3-dots sequence
(#588) Inline comments must end in full-stops, exclamation marks, or question marks
(#588) This comment is 43% valid code; is this commented out code?
(#590) Inline comments must start with a capital letter, digit or 3-dots sequence
(#590) Inline comments must end in full-stops, exclamation marks, or question marks
(#590) This comment is 43% valid code; is this commented out code?
(#624) Inline comments must start with a capital letter, digit or 3-dots sequence
(#657) Inline comments must start with a capital letter, digit or 3-dots sequence
(#690) Inline comments must start with a capital letter, digit or 3-dots sequence
(#723) Inline comments must start with a capital letter, digit or 3-dots sequence
(#760) Inline comments must start with a capital letter, digit or 3-dots sequence
(#766) Line exceeds 132 characters; contains 133 characters
(#766) Inline comments must start with a capital letter, digit or 3-dots sequence
(#772) Inline comments must start with a capital letter, digit or 3-dots sequence
(#778) Line exceeds 132 characters; contains 135 characters
(#778) Inline comments must start with a capital letter, digit or 3-dots sequence
(#830) Inline comments must end in full-stops, exclamation marks, or question marks
(#849) Inline comments must end in full-stops, exclamation marks, or question marks
(#872) Line exceeds 132 characters; contains 180 characters
(#873) Line exceeds 132 characters; contains 178 characters
(#884) Line exceeds 132 characters; contains 160 characters
theme/campus/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#173) Line exceeds 132 characters; contains 145 characters
(#749) Line exceeds 132 characters; contains 160 characters
(#791) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
theme/campus/version.php
(#32) This comment is 45% valid code; is this commented out code?

Javascript coding style problems

(35 errors, 52 warnings)

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

theme/campus/amd/src/affix.js
(#14) Missing semicolon. (semi)
(#27) Unexpected 'this'. (no-invalid-this)
(#32) Missing semicolon. (semi)
theme/campus/amd/src/anti_gravity.js
(#6) Unexpected console statement. (no-console)
(#13) Unexpected 'this'. (no-invalid-this)
(#22) Extra space after key 'scrollTop'. (key-spacing)
(#29) Extra space after key 'scrollTop'. (key-spacing)
theme/campus/amd/src/carousel.js
(#11) There should be no spaces inside this paren. (space-in-parens)
(#11) There should be no spaces inside this paren. (space-in-parens)
(#17) Missing semicolon. (semi)
theme/campus/amd/src/course_navigation.js
(#29) Identifier 'page_href_base' is not in camel case. (camelcase)
(#31) Identifier 'page_href_base' is not in camel case. (camelcase)
(#34) Identifier 'page_href_base' is not in camel case. (camelcase)
(#35) Identifier 'page_href_base' is not in camel case. (camelcase)
(#51) Extra space after key 'scrollTop'. (key-spacing)
(#55) There should be no spaces inside this paren. (space-in-parens)
(#56) Identifier 'link_href_base' is not in camel case. (camelcase)
(#56) Unexpected 'this'. (no-invalid-this)
(#56) A space is required after ','. (comma-spacing)
(#56) Unexpected 'this'. (no-invalid-this)
(#57) Unexpected 'this'. (no-invalid-this)
(#58) Identifier 'link_href_base' is not in camel case. (camelcase)
(#59) Identifier 'page_href_base' is not in camel case. (camelcase)
(#59) Identifier 'link_href_base' is not in camel case. (camelcase)
(#60) Unexpected 'this'. (no-invalid-this)
(#62) Unexpected 'this'. (no-invalid-this)
(#77) Extra space after key 'scrollTop'. (key-spacing)
(#85) Missing semicolon. (semi)
theme/campus/amd/src/custom.js
(#34) Unexpected console statement. (no-console)
(#37) Line 37 exceeds the maximum line length of 132. (max-len)
theme/campus/amd/src/header_toggle.js
(#38) There should be no spaces inside this paren. (space-in-parens)
(#39) Unexpected 'this'. (no-invalid-this)
(#40) Unexpected 'this'. (no-invalid-this)
(#41) Unexpected 'this'. (no-invalid-this)
(#43) Unexpected 'this'. (no-invalid-this)
(#44) Unexpected 'this'. (no-invalid-this)
(#52) Missing semicolon. (semi)
theme/campus/Gruntfile.js
(#106) Trailing spaces not allowed. (no-trailing-spaces)
(#110) 'module' is not defined. (no-undef)
(#116) 'LESSDIR' is defined but never used (no-unused-vars)
(#116) Multiple spaces found before '='. (no-multi-spaces)
(#118) Multiple spaces found before '='. (no-multi-spaces)
(#125) Unexpected console statement. (no-console)
(#126) Unexpected console statement. (no-console)
(#130) '__dirname' is not defined. (no-undef)
(#133) 'process' is not defined. (no-undef)
(#140) 'process' is not defined. (no-undef)
(#144) Multiple spaces found before '+'. (no-multi-spaces)
(#152) Identifier 'editor_d' is not in camel case. (camelcase)
(#164) Identifier 'editor_p' is not in camel case. (camelcase)
(#178) 'stderror' is defined but never used (no-unused-vars)
(#196) Identifier 'svg_core' is not in camel case. (camelcase)
(#202) Identifier 'svg_plugins' is not in camel case. (camelcase)
(#208) Identifier 'svg_fp' is not in camel case. (camelcase)
(#216) Identifier 'svg_colours_core' is not in camel case. (camelcase)
(#224) Identifier 'svg_colours_plugins' is not in camel case. (camelcase)
(#232) Identifier 'svg_colours_fp' is not in camel case. (camelcase)
(#248) Trailing spaces not allowed. (no-trailing-spaces)
(#280) Identifier 'dynamic_mappings' is not in camel case. (camelcase)
(#314) Infix operators must be spaced. (space-infix-ops)
(#316) Line 316 exceeds the maximum line length of 132. (max-len)
theme/campus/javascript/campus.js
(#2) Line 2 exceeds the maximum line length of 132. (max-len)
theme/campus/javascript/html5shiv.js
(#4) Unnecessary semicolon. (no-extra-semi)
(#5) Expected space or tab after '/*' in comment. (spaced-comment)
(#37) Expected space or tab after '//' in comment. (spaced-comment)
(#50) Expected space(s) after "catch". (keyword-spacing)
(#58) Expected space or tab after '/*' in comment. (spaced-comment)
(#102) Missing JSDoc for parameter 'data'. (valid-jsdoc)
(#109) Missing space before opening brace. (space-before-blocks)
(#113) Expected space(s) after "if". (keyword-spacing)
(#113) Missing space before opening brace. (space-before-blocks)
(#139) Missing JSDoc for parameter 'data'. (valid-jsdoc)
(#145) Missing space before opening brace. (space-before-blocks)
(#149) Expected space(s) after "if". (keyword-spacing)
(#149) Missing space before opening brace. (space-before-blocks)
(#157) Expected space(s) after "for". (keyword-spacing)
(#157) Infix operators must be spaced. (space-infix-ops)
(#157) Missing whitespace after semicolon. (semi-spacing)
(#157) Missing space before opening brace. (space-before-blocks)
(#179) Expected space or tab after '//' in comment. (spaced-comment)
(#186) The Function constructor is eval. (no-new-func)
(#199) Expected space or tab after '/*' in comment. (spaced-comment)
(#229) Expected space or tab after '/*' in comment. (spaced-comment)
(#247) Line 247 exceeds the maximum line length of 132. (max-len)
(#286) Expected space or tab after '//' in comment. (spaced-comment)
(#289) Expected space or tab after '//' in comment. (spaced-comment)
(#293) Expected space or tab after '/*' in comment. (spaced-comment)

CSS problems

(13 errors, 0 warnings)

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

theme/campus/style/custom.css
(#10) Expected IDENT at line 10, col 2.
(#10) Expected IDENT at line 10, col 2.
theme/campus/style/font.css
(#29) @charset not allowed here.
(#492) Duplicate property 'font-weight' found.
(#502) Duplicate property 'font-weight' found.
(#511) Duplicate property 'font-weight' found.
(#521) Duplicate property 'font-weight' found.
(#530) Duplicate property 'font-weight' found.
(#540) Duplicate property 'font-weight' found.
(#549) Duplicate property 'font-weight' found.
(#559) Duplicate property 'font-weight' found.
(#569) Duplicate property 'font-weight' found.
(#578) Duplicate property 'font-weight' found.

Update savepoints problems

(2 errors, 0 warnings)

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

theme/campus/db/upgrade.php
Detected more 'if' blocks (1) than 'savepoint' calls (0)
version 2114121700 is missing corresponding savepoint call

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

(17 errors, 0 warnings)

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

theme/campus/amd/build/course_navigation.min.js
Uncommitted change detected.
theme/campus/fonts/DroidSerif-Regular-webfont.ttf
Uncommitted change detected.
theme/campus/fonts/RobotoCondensed-Light-webfont.ttf
Uncommitted change detected.
theme/campus/fonts/SourceSansPro-LightIt.eot
Uncommitted change detected.
theme/campus/fonts/SourceSansPro-LightIt.ttf
Uncommitted change detected.
theme/campus/fonts/Ubuntu-B.ttf
Uncommitted change detected.
theme/campus/fonts/Ubuntu-BI.ttf
Uncommitted change detected.
theme/campus/fonts/Ubuntu-L.ttf
Uncommitted change detected.
theme/campus/fonts/Ubuntu-LI.ttf
Uncommitted change detected.
theme/campus/fonts/Ubuntu-M.ttf
Uncommitted change detected.
theme/campus/fonts/Ubuntu-MI.ttf
Uncommitted change detected.
theme/campus/fonts/Ubuntu-R.ttf
Uncommitted change detected.
theme/campus/fonts/Ubuntu-RI.ttf
Uncommitted change detected.
theme/campus/fonts/Vollkorn-Bold.ttf
Uncommitted change detected.
theme/campus/fonts/Vollkorn-BoldItalic.ttf
Uncommitted change detected.
theme/campus/fonts/Vollkorn-Regular.ttf
Uncommitted change detected.
theme/campus/fonts/fontawesome-webfont.ttf
Uncommitted change detected.

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]