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

(730 errors, 130 warnings)

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

theme/squared/classes/block_navigation_renderer.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#54) Line exceeds maximum limit of 180 characters; contains 203 characters
(#55) Line exceeds 132 characters; contains 166 characters
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Line exceeds 132 characters; contains 173 characters
(#74) Expected 1 space before "=>"; 0 found
(#74) Expected 1 space after "=>"; 0 found
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) No space found before comment text; expected "// add tab support to span but still maintain character stream sequence." but found "//add tab support to span but still maintain character stream sequence."
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) No space found before comment text; expected "// TODO: to be replaced with something else" but found "//TODO: to be replaced with something else"
(#131) Expected 1 space before ">"; 0 found
(#131) Expected 1 space after ">"; 0 found
(#137) Expected 1 space before "=>"; 0 found
(#137) Expected 1 space after "=>"; 0 found
(#145) Expected 1 space before "+"; 0 found
(#145) Expected 1 space after "+"; 0 found
(#147) Expected 1 space before "==="; 0 found
(#147) Expected 1 space after "==="; 0 found
theme/squared/classes/block_settings_renderer.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Expected 1 space before "=="; 0 found
(#33) Expected 1 space after "=="; 0 found
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Expected 1 space before ">"; 0 found
(#44) Expected 1 space after ">"; 0 found
(#44) Expected 1 space before "=="; 0 found
(#44) Expected 1 space after "=="; 0 found
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Commas (,) must be followed by white space.
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Expected 1 space before ">"; 0 found
(#73) Expected 1 space after ">"; 0 found
(#76) Expected 1 space before "=>"; 0 found
(#76) Expected 1 space after "=>"; 0 found
(#81) Expected 1 space before "==="; 0 found
(#81) Expected 1 space after "==="; 0 found
theme/squared/classes/core_course_renderer.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#43) Whitespace found at end of line
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
theme/squared/classes/core_renderer.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
(#29) Whitespace found at end of line
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Whitespace found at end of line
(#42) Whitespace found at end of line
(#47) Whitespace found at end of line
(#55) Whitespace found at end of line
(#61) Visibility must be declared on method "block"
(#72) Whitespace found at end of line
(#75) Line exceeds maximum limit of 180 characters; contains 449 characters
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) This comment is 75% valid code; is this commented out code?
(#78) Empty IF statement detected
(#78) Line exceeds maximum limit of 180 characters; contains 228 characters
(#82) Whitespace found at end of line
(#84) Whitespace found at end of line
(#86) Whitespace found at end of line
(#87) Space found after opening bracket of FOREACH loop
(#87) Space found before closing bracket of FOREACH loop
(#88) Whitespace found at end of line
(#90) Whitespace found at end of line
(#92) Whitespace found at end of line
(#94) Whitespace found at end of line
(#98) Whitespace found at end of line
(#106) Whitespace found at end of line
(#110) Whitespace found at end of line
(#113) Whitespace found at end of line
(#121) Whitespace found at end of line
(#125) Whitespace found at end of line
(#128) Whitespace found at end of line
(#135) Whitespace found at end of line
(#139) Whitespace found at end of line
(#141) Whitespace found at end of line
(#145) Whitespace found at end of line
(#147) Whitespace found at end of line
(#149) Whitespace found at end of line
(#154) Whitespace found at end of line
(#157) Whitespace found at end of line
(#162) "require_once" must be immediately followed by an open parenthesis
(#163) Whitespace found at end of line
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Whitespace found at end of line
(#167) Inline comments must start with a capital letter, digit or 3-dots sequence
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Whitespace found at end of line
(#171) Space found after opening bracket of FOREACH loop
(#171) Space found before closing bracket of FOREACH loop
(#172) Space found after opening bracket of FOREACH loop
(#172) Space found before closing bracket of FOREACH loop
(#182) Whitespace found at end of line
(#187) Whitespace found at end of line
(#188) Whitespace found at end of line
(#191) Whitespace found at end of line
(#192) Line exceeds 132 characters; contains 135 characters
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Variable "show_course_category_depth" must not contain underscores.
(#195) Inline comments must start with a capital letter, digit or 3-dots sequence
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) Variable "show_modules_depth" must not contain underscores.
(#198) Variable "actual_depth" must not contain underscores.
(#199) Whitespace found at end of line
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Variable "show_deep_modules" must not contain underscores.
(#202) Whitespace found at end of line
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) Space found after opening bracket of FOREACH loop
(#206) Space found before closing bracket of FOREACH loop
(#207) Variable "actual_depth" must not contain underscores.
(#208) Whitespace found at end of line
(#209) Inline comments must start with a capital letter, digit or 3-dots sequence
(#209) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) Variable "actual_depth" must not contain underscores.
(#210) Variable "show_course_category_depth" must not contain underscores.
(#213) Inline comments must start with a capital letter, digit or 3-dots sequence
(#213) Inline comments must end in full-stops, exclamation marks, or question marks
(#213) Line exceeds maximum limit of 180 characters; contains 191 characters
(#214) Variable "sub_parent" must not contain underscores.
(#215) Whitespace found at end of line
(#217) Variable "sub_parent" must not contain underscores.
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) Variable "actual_depth" must not contain underscores.
(#224) Variable "show_course_category_depth" must not contain underscores.
(#225) Space found after opening bracket of FOREACH loop
(#225) Space found before closing bracket of FOREACH loop
(#226) Variable "course_branch" must not contain underscores.
(#227) Whitespace found at end of line
(#229) Whitespace found at end of line
(#230) Inline comments must end in full-stops, exclamation marks, or question marks
(#231) Whitespace found at end of line
(#232) Inline comments must start with a capital letter, digit or 3-dots sequence
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) Whitespace found at end of line
(#236) Variable "actual_depth" must not contain underscores.
(#236) Variable "show_modules_depth" must not contain underscores.
(#237) Space found after opening bracket of FOREACH loop
(#237) Space found before closing bracket of FOREACH loop
(#238) Inline comments must end in full-stops, exclamation marks, or question marks
(#245) Inline comments must start with a capital letter, digit or 3-dots sequence
(#245) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) Variable "module_object" must not contain underscores.
(#247) Inline comments must start with a capital letter, digit or 3-dots sequence
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#248) Variable "module_object" must not contain underscores.
(#249) Variable "course_branch" must not contain underscores.
(#249) Variable "module_object" must not contain underscores.
(#249) Line exceeds 132 characters; contains 138 characters
(#250) Whitespace found at end of line
(#258) Whitespace found at end of line
(#268) Whitespace found at end of line
(#272) Inline comments must end in full-stops, exclamation marks, or question marks
(#275) Inline comments must end in full-stops, exclamation marks, or question marks
(#288) Whitespace found at end of line
(#292) Whitespace found at end of line
(#296) Whitespace found at end of line
(#299) Whitespace found at end of line
(#302) Space found after opening bracket of FOREACH loop
(#302) Space found before closing bracket of FOREACH loop
(#310) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) Whitespace found at end of line
(#321) Whitespace found at end of line
(#325) Inline comments must end in full-stops, exclamation marks, or question marks
(#330) Space found after opening bracket of FOREACH loop
(#330) Space found before closing bracket of FOREACH loop
(#339) Space found after opening bracket of FOREACH loop
(#339) Space found before closing bracket of FOREACH loop
(#345) Whitespace found at end of line
(#352) Line exceeds 132 characters; contains 159 characters
(#353) Whitespace found at end of line
(#357) Whitespace found at end of line
(#376) Whitespace found at end of line
(#380) Whitespace found at end of line
(#389) Line exceeds 132 characters; contains 149 characters
(#391) Whitespace found at end of line
(#395) Whitespace found at end of line
(#396) Line exceeds 132 characters; contains 147 characters
(#398) Whitespace found at end of line
(#402) Whitespace found at end of line
(#403) Line exceeds 132 characters; contains 146 characters
(#405) Whitespace found at end of line
(#409) Whitespace found at end of line
(#410) Line exceeds 132 characters; contains 147 characters
(#412) Whitespace found at end of line
(#415) Whitespace found at end of line
(#418) Whitespace found at end of line
(#427) Inline comments must end in full-stops, exclamation marks, or question marks
(#430) Expected "for (...) {\n"; found "for(...) {\n"
(#435) Whitespace found at end of line
(#439) Whitespace found at end of line
(#444) Whitespace found at end of line
(#445) Inline comments must start with a capital letter, digit or 3-dots sequence
(#445) Inline comments must end in full-stops, exclamation marks, or question marks
(#447) Whitespace found at end of line
(#450) Inline comments must end in full-stops, exclamation marks, or question marks
(#453) Whitespace found at end of line
(#466) Whitespace found at end of line
(#470) Whitespace found at end of line
(#474) Whitespace found at end of line
(#490) Whitespace found at end of line
(#493) Whitespace found at end of line
(#495) Inline comments must start with a capital letter, digit or 3-dots sequence
(#495) Inline comments must end in full-stops, exclamation marks, or question marks
(#499) Whitespace found at end of line
(#501) Inline comments must end in full-stops, exclamation marks, or question marks
(#509) Whitespace found at end of line
(#520) Whitespace found at end of line within string
(#523) Inline comments must end in full-stops, exclamation marks, or question marks
(#526) Whitespace found at end of line
(#530) Line exceeds 132 characters; contains 135 characters
(#536) Whitespace found at end of line
(#539) Whitespace found at end of line
(#543) Line exceeds 132 characters; contains 139 characters
(#546) Whitespace found at end of line
(#548) Whitespace found at end of line
(#549) Line exceeds 132 characters; contains 174 characters
(#559) Whitespace found at end of line
(#561) Whitespace found at end of line
(#573) Line exceeds 132 characters; contains 153 characters
(#574) Line exceeds maximum limit of 180 characters; contains 183 characters
(#581) Whitespace found at end of line
(#584) Whitespace found at end of line
(#593) Whitespace found at end of line
(#595) Expected "for (...) {\n"; found "for(...) {\n"
(#601) Inline comments must start with a capital letter, digit or 3-dots sequence
(#601) Inline comments must end in full-stops, exclamation marks, or question marks
(#606) Whitespace found at end of line
(#622) Whitespace found at end of line
(#626) Whitespace found at end of line
(#627) Inline comments must start with a capital letter, digit or 3-dots sequence
(#627) Inline comments must end in full-stops, exclamation marks, or question marks
(#631) Whitespace found at end of line
(#632) Space found after opening bracket of FOREACH loop
(#632) Space found before closing bracket of FOREACH loop
(#637) Whitespace found at end of line
(#642) Whitespace found at end of line
(#648) Whitespace found at end of line
(#653) Whitespace found at end of line
(#660) Whitespace found at end of line
(#666) Visibility must be declared on method "squared_render_searchform"
(#683) Whitespace found at end of line
(#688) Whitespace found at end of line
(#692) Whitespace found at end of line
(#697) Whitespace found at end of line
(#703) Whitespace found at end of line
(#709) Inline comments must start with a capital letter, digit or 3-dots sequence
(#709) Inline comments must end in full-stops, exclamation marks, or question marks
theme/squared/classes/toolbox.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#31) Visibility must be declared on method "get_top_level_categories"
(#38) Expected "foreach (...) {\n"; found "foreach(...){\n"
theme/squared/config.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) Whitespace found at end of line
(#8) Inline comments must start with a capital letter, digit or 3-dots sequence
(#8) Inline comments must end in full-stops, exclamation marks, or question marks
(#8) This comment is 68% valid code; is this commented out code?
(#10) Inline comments must start with a capital letter, digit or 3-dots sequence
(#10) Inline comments must end in full-stops, exclamation marks, or question marks
(#20) Inline comments must start with a capital letter, digit or 3-dots sequence
(#20) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Whitespace found at end of line
(#39) Whitespace found at end of line
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Whitespace found at end of line
(#45) Whitespace found at end of line
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Whitespace found at end of line
(#52) Whitespace found at end of line
(#54) Whitespace found at end of line
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Whitespace found at end of line
(#63) Whitespace found at end of line
(#64) Whitespace found at end of line
(#69) Whitespace found at end of line
(#73) Whitespace found at end of line
(#74) Whitespace found at end of line
(#76) Whitespace found at end of line
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Whitespace found at end of line
(#83) Whitespace found at end of line
(#85) Whitespace found at end of line
(#90) Whitespace found at end of line
(#92) Whitespace found at end of line
(#94) Whitespace found at end of line
(#99) Whitespace found at end of line
(#101) Whitespace found at end of line
(#103) Whitespace found at end of line
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Whitespace found at end of line
(#112) Whitespace found at end of line
(#113) Whitespace found at end of line
(#115) Whitespace found at end of line
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Whitespace found at end of line
(#122) Whitespace found at end of line
(#128) Whitespace found at end of line
(#129) Whitespace found at end of line
(#131) Whitespace found at end of line
(#140) Whitespace found at end of line
(#141) Whitespace found at end of line
(#143) Whitespace found at end of line
(#149) Whitespace found at end of line
(#150) Whitespace found at end of line
(#152) Whitespace found at end of line
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Whitespace found at end of line
(#162) Whitespace found at end of line
(#164) Whitespace found at end of line
(#175) Whitespace found at end of line
(#176) Whitespace found at end of line
(#178) Whitespace found at end of line
(#187) Whitespace found at end of line
(#188) Whitespace found at end of line
(#190) Whitespace found at end of line
(#199) Whitespace found at end of line
(#200) Whitespace found at end of line
(#202) Whitespace found at end of line
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Whitespace found at end of line
(#209) Whitespace found at end of line
(#210) Whitespace found at end of line
(#213) Inline doc block comments are not allowed; use "// Comment." instead
theme/squared/jquery/plugins.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/squared/layout/category.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#16) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Spaces must be used to indent lines; tabs are not allowed
(#67) Spaces must be used to indent lines; tabs are not allowed
(#71) Spaces must be used to indent lines; tabs are not allowed
(#72) 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) 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
(#79) Spaces must be used to indent lines; tabs are not allowed
(#80) Spaces must be used to indent lines; tabs are not allowed
(#82) Spaces must be used to indent lines; tabs are not allowed
(#85) Spaces must be used to indent lines; tabs are not allowed
(#86) Spaces must be used to indent lines; tabs are not allowed
(#90) Spaces must be used to indent lines; tabs are not allowed
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Line indented incorrectly; expected 4 spaces, found 1
(#92) Line indented incorrectly; expected at least 4 spaces, found 0
(#94) Spaces must be used to indent lines; tabs are not allowed
(#96) Spaces must be used to indent lines; tabs are not allowed
(#97) Spaces must be used to indent lines; tabs are not allowed
(#97) Line indented incorrectly; expected 12 spaces, found 10
(#98) Inline comments must start with a capital letter, digit or 3-dots sequence
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) This comment is 67% valid code; is this commented out code?
(#98) Line indented incorrectly; expected at least 12 spaces, found 8
(#99) Line indented incorrectly; expected at least 12 spaces, found 8
(#100) Line indented incorrectly; expected at least 12 spaces, found 8
(#101) Spaces must be used for alignment; tabs are not allowed
(#102) Spaces must be used for alignment; tabs are not allowed
(#103) Spaces must be used for alignment; tabs are not allowed
(#104) Spaces must be used for alignment; tabs are not allowed
(#105) Spaces must be used for alignment; tabs are not allowed
(#106) Spaces must be used for alignment; tabs are not allowed
(#107) Spaces must be used for alignment; tabs are not allowed
(#108) Line indented incorrectly; expected 8 spaces, found 4
(#109) Line indented incorrectly; expected at least 12 spaces, found 8
(#110) Line indented incorrectly; expected 8 spaces, found 4
(#111) Line indented incorrectly; expected at least 12 spaces, found 8
(#112) Line indented incorrectly; expected 8 spaces, found 4
(#114) Spaces must be used for alignment; tabs are not allowed
(#116) Spaces must be used for alignment; tabs are not allowed
(#117) Spaces must be used for alignment; tabs are not allowed
(#118) Spaces must be used for alignment; tabs are not allowed
(#122) Spaces must be used for alignment; tabs are not allowed
(#123) Spaces must be used for alignment; tabs are not allowed
(#124) Spaces must be used for alignment; tabs are not allowed
(#125) Spaces must be used for alignment; tabs are not allowed
(#126) Spaces must be used for alignment; tabs are not allowed
(#128) Spaces must be used for alignment; tabs are not allowed
(#130) Spaces must be used for alignment; tabs are not allowed
(#133) Spaces must be used for alignment; tabs are not allowed
(#134) Spaces must be used for alignment; tabs are not allowed
(#135) Spaces must be used for alignment; tabs are not allowed
(#136) Spaces must be used for alignment; tabs are not allowed
(#137) Spaces must be used for alignment; tabs are not allowed
(#138) Spaces must be used for alignment; tabs are not allowed
(#142) Spaces must be used for alignment; tabs are not allowed
(#143) Spaces must be used for alignment; tabs are not allowed
(#146) Spaces must be used for alignment; tabs are not allowed
(#147) Spaces must be used for alignment; tabs are not allowed
(#151) Spaces must be used for alignment; tabs are not allowed
(#154) Spaces must be used for alignment; tabs are not allowed
(#159) Spaces must be used for alignment; tabs are not allowed
(#162) Spaces must be used for alignment; tabs are not allowed
(#166) Spaces must be used for alignment; tabs are not allowed
(#167) Spaces must be used for alignment; tabs are not allowed
(#168) Spaces must be used for alignment; tabs are not allowed
(#169) Spaces must be used for alignment; tabs are not allowed
(#170) Spaces must be used for alignment; tabs are not allowed
(#172) Spaces must be used for alignment; tabs are not allowed
(#173) Spaces must be used for alignment; tabs are not allowed
(#174) Spaces must be used for alignment; tabs are not allowed
(#175) Spaces must be used for alignment; tabs are not allowed
(#176) Line indented incorrectly; expected 8 spaces, found 5
(#177) Spaces must be used for alignment; tabs are not allowed
(#178) Spaces must be used for alignment; tabs are not allowed
(#179) Spaces must be used for alignment; tabs are not allowed
(#182) Spaces must be used for alignment; tabs are not allowed
(#184) Spaces must be used for alignment; tabs are not allowed
(#186) Spaces must be used for alignment; tabs are not allowed
(#187) Spaces must be used for alignment; tabs are not allowed
(#190) Spaces must be used for alignment; tabs are not allowed
(#191) Spaces must be used for alignment; tabs are not allowed
(#194) Spaces must be used for alignment; tabs are not allowed
(#199) Spaces must be used for alignment; tabs are not allowed
(#200) Spaces must be used for alignment; tabs are not allowed
(#202) Spaces must be used for alignment; tabs are not allowed
(#203) Spaces must be used for alignment; tabs are not allowed
(#204) Spaces must be used for alignment; tabs are not allowed
(#209) Spaces must be used for alignment; tabs are not allowed
(#214) Whitespace found at end of line
(#217) Spaces must be used for alignment; tabs are not allowed
(#218) Spaces must be used for alignment; tabs are not allowed
(#220) Spaces must be used for alignment; tabs are not allowed
(#222) Spaces must be used for alignment; tabs are not allowed
(#223) Spaces must be used for alignment; tabs are not allowed
(#224) Spaces must be used for alignment; tabs are not allowed
(#225) Spaces must be used for alignment; tabs are not allowed
theme/squared/layout/frontpage.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#2) Line 12 of the opening comment must start "//".
(#2) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#2) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#44) Spaces must be used to indent lines; tabs are not allowed
(#49) 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
(#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
(#59) Spaces must be used to indent lines; tabs are not allowed
(#60) Spaces must be used to indent lines; tabs are not allowed
(#61) Spaces must be used to indent lines; tabs are not allowed
(#62) Spaces must be used to indent lines; tabs are not allowed
(#64) Spaces must be used to indent lines; tabs are not allowed
(#67) Spaces must be used to indent lines; tabs are not allowed
(#68) Spaces must be used to indent lines; tabs are not allowed
(#72) 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 4 spaces, found 1
(#74) Line indented incorrectly; expected at least 4 spaces, found 0
(#76) 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
(#79) Line indented incorrectly; expected 12 spaces, found 10
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) This comment is 67% valid code; is this commented out code?
(#80) Line indented incorrectly; expected at least 12 spaces, found 8
(#81) Line indented incorrectly; expected at least 12 spaces, found 8
(#82) Line indented incorrectly; expected at least 12 spaces, found 8
(#83) Spaces must be used for alignment; tabs are not allowed
(#84) Spaces must be used for alignment; tabs are not allowed
(#85) Spaces must be used for alignment; tabs are not allowed
(#86) Spaces must be used for alignment; tabs are not allowed
(#88) Spaces must be used for alignment; tabs are not allowed
(#90) Spaces must be used for alignment; tabs are not allowed
(#91) Spaces must be used for alignment; tabs are not allowed
(#92) Line indented incorrectly; expected 8 spaces, found 4
(#93) Line indented incorrectly; expected at least 12 spaces, found 8
(#94) Line indented incorrectly; expected 8 spaces, found 4
(#95) Line indented incorrectly; expected at least 12 spaces, found 8
(#96) Line indented incorrectly; expected 8 spaces, found 4
(#98) Spaces must be used for alignment; tabs are not allowed
(#99) Spaces must be used for alignment; tabs are not allowed
(#101) Spaces must be used for alignment; tabs are not allowed
(#102) Line indented incorrectly; expected 8 spaces, found 5
(#103) Spaces must be used for alignment; tabs are not allowed
(#107) Spaces must be used for alignment; tabs are not allowed
(#108) Spaces must be used for alignment; tabs are not allowed
(#113) Spaces must be used for alignment; tabs are not allowed
(#115) Spaces must be used for alignment; tabs are not allowed
(#116) Spaces must be used for alignment; tabs are not allowed
(#117) Spaces must be used for alignment; tabs are not allowed
(#121) Spaces must be used for alignment; tabs are not allowed
(#122) Spaces must be used for alignment; tabs are not allowed
(#124) Spaces must be used for alignment; tabs are not allowed
(#125) Spaces must be used for alignment; tabs are not allowed
(#126) Spaces must be used for alignment; tabs are not allowed
(#128) Spaces must be used for alignment; tabs are not allowed
(#129) Spaces must be used for alignment; tabs are not allowed
(#130) Spaces must be used for alignment; tabs are not allowed
(#131) Spaces must be used for alignment; tabs are not allowed
(#134) Spaces must be used for alignment; tabs are not allowed
(#135) Spaces must be used for alignment; tabs are not allowed
(#139) Spaces must be used for alignment; tabs are not allowed
(#143) Spaces must be used for alignment; tabs are not allowed
(#148) Spaces must be used for alignment; tabs are not allowed
(#151) Spaces must be used for alignment; tabs are not allowed
(#155) Spaces must be used for alignment; tabs are not allowed
(#156) Spaces must be used for alignment; tabs are not allowed
(#157) Spaces must be used for alignment; tabs are not allowed
(#158) Spaces must be used for alignment; tabs are not allowed
(#159) Spaces must be used for alignment; tabs are not allowed
(#161) Spaces must be used for alignment; tabs are not allowed
(#162) Spaces must be used for alignment; tabs are not allowed
(#163) Spaces must be used for alignment; tabs are not allowed
(#167) Spaces must be used for alignment; tabs are not allowed
(#169) Spaces must be used for alignment; tabs are not allowed
(#173) Spaces must be used for alignment; tabs are not allowed
(#178) Spaces must be used for alignment; tabs are not allowed
(#179) Spaces must be used for alignment; tabs are not allowed
(#181) Spaces must be used for alignment; tabs are not allowed
(#182) Spaces must be used for alignment; tabs are not allowed
(#183) Spaces must be used for alignment; tabs are not allowed
(#189) Spaces must be used for alignment; tabs are not allowed
(#197) Spaces must be used for alignment; tabs are not allowed
(#198) Spaces must be used for alignment; tabs are not allowed
(#200) Spaces must be used for alignment; tabs are not allowed
(#202) Spaces must be used for alignment; tabs are not allowed
(#203) Spaces must be used for alignment; tabs are not allowed
(#204) Spaces must be used for alignment; tabs are not allowed
(#205) Spaces must be used for alignment; tabs are not allowed
theme/squared/layout/general.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#2) Line 12 of the opening comment must start "//".
(#2) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#2) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#17) Inline comments must start with a capital letter, digit or 3-dots sequence
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Spaces must be used to indent lines; tabs are not allowed
(#51) 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
(#58) Spaces must be used to indent lines; tabs are not allowed
(#59) Spaces must be used to indent lines; tabs are not allowed
(#60) Spaces must be used to indent lines; tabs are not allowed
(#61) Spaces must be used to indent lines; tabs are not allowed
(#62) Spaces must be used to indent lines; tabs are not allowed
(#63) Spaces must be used to indent lines; tabs are not allowed
(#64) Spaces must be used to indent lines; tabs are not allowed
(#66) Spaces must be used to indent lines; tabs are not allowed
(#69) Spaces must be used to indent lines; tabs are not allowed
(#70) 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
(#75) Line indented incorrectly; expected 4 spaces, found 1
(#76) Line indented incorrectly; expected at least 4 spaces, found 0
(#78) Spaces must be used to indent lines; tabs are not allowed
(#80) Spaces must be used to indent lines; tabs are not allowed
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Line indented incorrectly; expected 12 spaces, found 10
(#82) Line indented incorrectly; expected at least 12 spaces, found 8
(#83) Line indented incorrectly; expected at least 12 spaces, found 8
(#84) Spaces must be used for alignment; tabs are not allowed
(#85) Spaces must be used for alignment; tabs are not allowed
(#86) Spaces must be used for alignment; tabs are not allowed
(#87) Spaces must be used for alignment; tabs are not allowed
(#88) Spaces must be used for alignment; tabs are not allowed
(#89) Spaces must be used for alignment; tabs are not allowed
(#90) Spaces must be used for alignment; tabs are not allowed
(#91) Line indented incorrectly; expected 8 spaces, found 4
(#92) Line indented incorrectly; expected at least 12 spaces, found 8
(#93) Line indented incorrectly; expected 8 spaces, found 4
(#94) Line indented incorrectly; expected at least 12 spaces, found 8
(#95) Line indented incorrectly; expected 8 spaces, found 4
(#97) Spaces must be used for alignment; tabs are not allowed
(#100) Spaces must be used for alignment; tabs are not allowed
(#101) Spaces must be used for alignment; tabs are not allowed
(#102) Spaces must be used for alignment; tabs are not allowed
(#106) Spaces must be used for alignment; tabs are not allowed
(#107) Spaces must be used for alignment; tabs are not allowed
(#108) Spaces must be used for alignment; tabs are not allowed
(#109) Spaces must be used for alignment; tabs are not allowed
(#110) Spaces must be used for alignment; tabs are not allowed
(#112) Spaces must be used for alignment; tabs are not allowed
(#114) Spaces must be used for alignment; tabs are not allowed
(#117) Spaces must be used for alignment; tabs are not allowed
(#118) Spaces must be used for alignment; tabs are not allowed
(#119) Spaces must be used for alignment; tabs are not allowed
(#120) Spaces must be used for alignment; tabs are not allowed
(#121) Spaces must be used for alignment; tabs are not allowed
(#122) Spaces must be used for alignment; tabs are not allowed
(#126) Spaces must be used for alignment; tabs are not allowed
(#127) Spaces must be used for alignment; tabs are not allowed
(#130) Spaces must be used for alignment; tabs are not allowed
(#131) Spaces must be used for alignment; tabs are not allowed
(#135) Spaces must be used for alignment; tabs are not allowed
(#138) Spaces must be used for alignment; tabs are not allowed
(#143) Spaces must be used for alignment; tabs are not allowed
(#146) Spaces must be used for alignment; tabs are not allowed
(#150) Spaces must be used for alignment; tabs are not allowed
(#151) Spaces must be used for alignment; tabs are not allowed
(#152) Spaces must be used for alignment; tabs are not allowed
(#153) Spaces must be used for alignment; tabs are not allowed
(#154) Spaces must be used for alignment; tabs are not allowed
(#156) Spaces must be used for alignment; tabs are not allowed
(#157) Spaces must be used for alignment; tabs are not allowed
(#158) Spaces must be used for alignment; tabs are not allowed
(#159) Line indented incorrectly; expected 8 spaces, found 5
(#160) Spaces must be used for alignment; tabs are not allowed
(#162) Spaces must be used for alignment; tabs are not allowed
(#165) Spaces must be used for alignment; tabs are not allowed
(#167) Spaces must be used for alignment; tabs are not allowed
(#169) Spaces must be used for alignment; tabs are not allowed
(#170) Spaces must be used for alignment; tabs are not allowed
(#173) Spaces must be used for alignment; tabs are not allowed
(#174) Spaces must be used for alignment; tabs are not allowed
(#177) Spaces must be used for alignment; tabs are not allowed
(#182) Spaces must be used for alignment; tabs are not allowed
(#183) Spaces must be used for alignment; tabs are not allowed
(#185) Spaces must be used for alignment; tabs are not allowed
(#186) Spaces must be used for alignment; tabs are not allowed
(#187) Spaces must be used for alignment; tabs are not allowed
(#193) Spaces must be used for alignment; tabs are not allowed
(#201) Spaces must be used for alignment; tabs are not allowed
(#202) Spaces must be used for alignment; tabs are not allowed
(#204) Spaces must be used for alignment; tabs are not allowed
(#206) Spaces must be used for alignment; tabs are not allowed
(#207) Spaces must be used for alignment; tabs are not allowed
(#208) Spaces must be used for alignment; tabs are not allowed
(#209) Spaces must be used for alignment; tabs are not allowed
theme/squared/layout/maintenance.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/squared/lib.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Expected MOODLE_INTERNAL check or config.php inclusion
(#13) Whitespace found at end of line
(#16) Whitespace found at end of line
(#24) Whitespace found at end of line
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Whitespace found at end of line
(#38) Whitespace found at end of line
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Whitespace found at end of line
(#63) Whitespace found at end of line
(#64) Whitespace found at end of line
(#69) Space found after opening bracket of FOREACH loop
(#69) Space found before closing bracket of FOREACH loop
(#73) Whitespace found at end of line
(#75) Whitespace found at end of line
(#76) Inline doc block comments are not allowed; use "// Comment." instead
(#79) Line exceeds maximum limit of 180 characters; contains 291 characters
(#82) Whitespace found at end of line
(#83) Inline doc block comments are not allowed; use "// Comment." instead
(#87) Line exceeds 132 characters; contains 171 characters
(#90) Whitespace found at end of line
(#91) Inline doc block comments are not allowed; use "// Comment." instead
(#97) Whitespace found at end of line
(#98) Inline doc block comments are not allowed; use "// Comment." instead
(#104) Whitespace found at end of line
(#105) Inline doc block comments are not allowed; use "// Comment." instead
(#111) Whitespace found at end of line
(#112) Inline doc block comments are not allowed; use "// Comment." instead
(#118) Whitespace found at end of line
(#119) Inline doc block comments are not allowed; use "// Comment." instead
(#126) Inline doc block comments are not allowed; use "// Comment." instead
(#132) Whitespace found at end of line
(#133) Inline doc block comments are not allowed; use "// Comment." instead
(#139) Whitespace found at end of line
(#140) Inline doc block comments are not allowed; use "// Comment." instead
(#146) Whitespace found at end of line
(#147) Inline doc block comments are not allowed; use "// Comment." instead
(#154) Inline doc block comments are not allowed; use "// Comment." instead
(#160) Whitespace found at end of line
(#161) Inline doc block comments are not allowed; use "// Comment." instead
(#167) Whitespace found at end of line
(#168) Inline doc block comments are not allowed; use "// Comment." instead
(#174) Whitespace found at end of line
(#175) Inline doc block comments are not allowed; use "// Comment." instead
(#178) Line exceeds 132 characters; contains 160 characters
(#184) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#186) Inline doc block comments are not allowed; use "// Comment." instead
(#204) Whitespace found at end of line
(#205) Whitespace found at end of line
(#221) Whitespace found at end of line
(#230) Expected "for (...) {\n"; found "for(...) {\n"
(#246) Whitespace found at end of line
(#247) Whitespace found at end of line
(#279) Spaces must be used to indent lines; tabs are not allowed
(#279) Tab found within whitespace
(#279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#279) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) Line indented incorrectly; expected at least 8 spaces, found 5
(#280) Spaces must be used to indent lines; tabs are not allowed
(#280) Tab found within whitespace
(#280) Line indented incorrectly; expected 8 spaces, found 5
(#280) Expected "if (...) {\n"; found "if (...){\n"
(#281) Spaces must be used to indent lines; tabs are not allowed
(#281) Tab found within whitespace
(#281) Line indented incorrectly; expected at least 12 spaces, found 6
(#282) Spaces must be used to indent lines; tabs are not allowed
(#282) Tab found within whitespace
(#282) Line indented incorrectly; expected at least 12 spaces, found 8
(#283) Spaces must be used to indent lines; tabs are not allowed
(#283) Tab found within whitespace
(#283) Line indented incorrectly; expected at least 12 spaces, found 6
(#284) Spaces must be used to indent lines; tabs are not allowed
(#284) Tab found within whitespace
(#284) Line indented incorrectly; expected 8 spaces, found 5
(#285) Spaces must be used to indent lines; tabs are not allowed
(#285) Tab found within whitespace
(#285) Line indented incorrectly; expected at least 12 spaces, found 6
(#286) Spaces must be used to indent lines; tabs are not allowed
(#286) Tab found within whitespace
(#286) Line indented incorrectly; expected 8 spaces, found 5
(#287) Space found after opening bracket of FOREACH loop
(#287) Space found before closing bracket of FOREACH loop
(#310) Whitespace found at end of line
(#311) Whitespace found at end of line
(#328) Whitespace found at end of line
(#329) Whitespace found at end of line
(#330) Whitespace found at end of line
(#331) Whitespace found at end of line
(#332) Whitespace found at end of line
(#333) Whitespace found at end of line
(#334) Whitespace found at end of line
(#342) Whitespace found at end of line
(#353) Whitespace found at end of line
(#362) Whitespace found at end of line
(#372) Whitespace found at end of line
(#373) Whitespace found at end of line
(#386) Inline doc block comments are not allowed; use "// Comment." instead
(#389) Whitespace found at end of line
(#391) This comment is 55% valid code; is this commented out code?
theme/squared/settings.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) "require_once" must be immediately followed by an open parenthesis
(#7) Whitespace found at end of line
(#9) Whitespace found at end of line
(#11) Whitespace found at end of line
(#18) Whitespace found at end of line
(#25) Whitespace found at end of line
(#31) Whitespace found at end of line
(#37) Whitespace found at end of line
(#43) Whitespace found at end of line
(#49) Whitespace found at end of line
(#55) Whitespace found at end of line
(#62) Whitespace found at end of line
(#71) Whitespace found at end of line
(#78) Whitespace found at end of line
(#92) Whitespace found at end of line
(#94) Whitespace found at end of line
(#99) Whitespace found at end of line
(#103) Space found after opening bracket of FOREACH loop
(#103) Space found before closing bracket of FOREACH loop
(#113) Whitespace found at end of line
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Whitespace found at end of line
(#123) Whitespace found at end of line
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Whitespace found at end of line
(#127) Inline comments must start with a capital letter, digit or 3-dots sequence
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#136) Whitespace found at end of line
(#137) Inline comments must start with a capital letter, digit or 3-dots sequence
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Whitespace found at end of line
(#146) Space found after opening bracket of FOREACH loop
(#146) Space found before closing bracket of FOREACH loop
(#148) Whitespace found at end of line
(#154) Whitespace found at end of line
(#164) Whitespace found at end of line
(#165) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#171) Whitespace found at end of line
(#172) Inline comments must start with a capital letter, digit or 3-dots sequence
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#179) Whitespace found at end of line
(#181) Whitespace found at end of line
(#182) Inline comments must start with a capital letter, digit or 3-dots sequence
(#182) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Whitespace found at end of line
(#194) Whitespace found at end of line
(#199) Whitespace found at end of line
(#200) Inline comments must start with a capital letter, digit or 3-dots sequence
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Expected "for (...) {\n"; found "for(...) {\n"
(#202) Whitespace found at end of line
(#209) Whitespace found at end of line
(#216) Whitespace found at end of line
(#224) Whitespace found at end of line
(#244) Whitespace found at end of line
(#251) Whitespace found at end of line
(#256) Whitespace found at end of line
theme/squared/version.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#30) This comment is 45% valid code; is this commented out code?
(#31) Line exceeds 132 characters; contains 142 characters
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Whitespace found at end of line

Javascript coding style problems

(1 errors, 326 warnings)

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

theme/squared/Gruntfile.js
(#44) 'module' is not defined.
(#47) 'require' is not defined.
(#50) '__dirname' is not defined.
(#51) 'process' is not defined.
(#58) 'process' is not defined.
theme/squared/javascript/html5shiv.js
(#186) Missing 'new' prefix when invoking a constructor.
(#247) Line is too long.
theme/squared/javascript/squared.js
(#1) 'require' is not defined.
(#2) 'require' is not defined.
theme/squared/jquery/custom.js
(#1) Line is too long.
(#1) Use '!==' to compare with ''.
(#1) Missing semicolon.
(#1) Unnecessary semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Use '===' to compare with ''.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'return'.
(#1) Missing semicolon.
(#1) Unnecessary semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'return'.
(#1) Use '===' to compare with '0'.
(#1) Expected '{' and instead saw 'return'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#11) Expected '{' and instead saw 'callback'.
(#19) Expected an assignment or function call and instead saw an expression.
(#41) Empty block.
(#53) Empty block.
(#78) Line is too long.
(#84) Line is too long.
(#112) 'slids' is already defined.
(#129) Empty block.
(#142) Line is too long.
(#143) Line is too long.
(#145) Line is too long.
(#148) Line is too long.
(#150) Line is too long.
(#158) Line is too long.
(#159) Line is too long.
(#161) Line is too long.
(#162) Line is too long.
(#165) Line is too long.
(#172) Line is too long.
(#173) Line is too long.
(#179) Line is too long.
(#180) Line is too long.
(#181) Line is too long.
(#182) Line is too long.
(#1) 'jQuery' is not defined.
(#25) 'jQuery' is not defined.
(#27) '$' is not defined.
(#29) '$' is not defined.
(#35) '$' is not defined.
(#36) '$' is not defined.
(#38) '$' is not defined.
(#40) '$' is not defined.
(#41) '$' is not defined.
(#43) '$' is not defined.
(#52) '$' is not defined.
(#53) '$' is not defined.
(#55) '$' is not defined.
(#55) '$' is not defined.
(#61) '$' is not defined.
(#64) '$' is not defined.
(#64) '$' is not defined.
(#65) '$' is not defined.
(#69) '$' is not defined.
(#73) '$' is not defined.
(#74) '$' is not defined.
(#75) '$' is not defined.
(#75) '$' is not defined.
(#76) '$' is not defined.
(#76) '$' is not defined.
(#77) '$' is not defined.
(#78) '$' is not defined.
(#80) '$' is not defined.
(#81) '$' is not defined.
(#84) '$' is not defined.
(#85) '$' is not defined.
(#88) '$' is not defined.
(#93) '$' is not defined.
(#94) '$' is not defined.
(#95) '$' is not defined.
(#97) '$' is not defined.
(#99) '$' is not defined.
(#105) '$' is not defined.
(#106) '$' is not defined.
(#107) '$' is not defined.
(#111) '$' is not defined.
(#117) '$' is not defined.
(#120) '$' is not defined.
(#124) '$' is not defined.
(#129) '$' is not defined.
(#133) '$' is not defined.
(#134) '$' is not defined.
(#137) '$' is not defined.
(#138) '$' is not defined.
(#141) '$' is not defined.
(#1) 'e' is defined but never used.
(#1) 'e' is defined but never used.
(#40) 'e' is defined but never used.
(#52) 'e' is defined but never used.
(#105) 'e' is defined but never used.
theme/squared/jquery/jqueryeasing.js
(#11) This character may get silently deleted by one or more browsers.
(#38) Line is too long.
(#38) Missing semicolon.
(#38) Expected '{' and instead saw 'r'.
(#38) Missing semicolon.
(#38) Missing semicolon.
(#38) Missing semicolon.
(#38) Unnecessary semicolon.
(#38) Expected '{' and instead saw 'if'.
(#38) Expected '{' and instead saw 'p'.
(#38) Missing semicolon.
(#38) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#38) eval can be harmful.
(#38) Missing semicolon.
theme/squared/jquery/jqueryflexslider.js
(#6) Line is too long.
(#7) Line is too long.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '{' and instead saw 'if'.
(#8) Line is too long.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#8) Expected an assignment or function call and instead saw an expression.
(#8) Expected an assignment or function call and instead saw an expression.
(#8) Missing semicolon.
(#8) Expected an assignment or function call and instead saw an expression.
(#8) Expected an assignment or function call and instead saw an expression.
(#8) Expected an assignment or function call and instead saw an expression.
(#8) Expected an assignment or function call and instead saw an expression.
(#9) Line is too long.
(#9) Missing semicolon.
(#9) Expected an assignment or function call and instead saw an expression.
(#9) Missing semicolon.
(#9) Expected an assignment or function call and instead saw an expression.
(#9) Expected an assignment or function call and instead saw an expression.
(#10) Line is too long.
(#9) Missing semicolon.
(#10) Expected an assignment or function call and instead saw an expression.
(#10) Missing semicolon.
(#10) Expected an assignment or function call and instead saw an expression.
(#10) Expected an assignment or function call and instead saw an expression.
(#10) Expected an assignment or function call and instead saw an expression.
(#10) Missing semicolon.
(#10) Missing semicolon.
(#10) 'b' is already defined.
(#11) Line is too long.
(#11) Expected an assignment or function call and instead saw an expression.
(#11) Missing semicolon.
(#11) Missing semicolon.
(#11) Expected an assignment or function call and instead saw an expression.
(#11) Missing semicolon.
(#11) Expected '{' and instead saw 'for'.
(#11) Expected '{' and instead saw 'g'.
(#12) Line is too long.
(#12) Expected an assignment or function call and instead saw an expression.
(#12) Expected an assignment or function call and instead saw an expression.
(#12) 'b' is already defined.
(#12) Expected an assignment or function call and instead saw an expression.
(#12) Missing semicolon.
(#12) Missing semicolon.
(#12) Expected an assignment or function call and instead saw an expression.
(#12) Missing semicolon.
(#13) Line is too long.
(#13) 'b' is already defined.
(#13) Expected an assignment or function call and instead saw an expression.
(#13) Missing semicolon.
(#13) Missing semicolon.
(#13) Expected an assignment or function call and instead saw an expression.
(#13) Missing semicolon.
(#13) Missing semicolon.
(#14) Line is too long.
(#14) Missing semicolon.
(#14) Expected an assignment or function call and instead saw an expression.
(#14) Expected an assignment or function call and instead saw an expression.
(#14) Missing semicolon.
(#15) Line is too long.
(#15) Expected an assignment or function call and instead saw an expression.
(#15) Missing semicolon.
(#15) Missing semicolon.
(#15) Expected an assignment or function call and instead saw an expression.
(#15) Missing semicolon.
(#16) Line is too long.
(#16) Expected an assignment or function call and instead saw an expression.
(#16) Missing semicolon.
(#17) Line is too long.
(#17) Expected an assignment or function call and instead saw an expression.
(#17) Missing semicolon.
(#17) Missing semicolon.
(#17) Missing semicolon.
(#17) Expected an assignment or function call and instead saw an expression.
(#17) Missing semicolon.
(#17) Missing semicolon.
(#17) Expected an identifier and instead saw '==='.
(#17) Expected an assignment or function call and instead saw an expression.
(#17) Missing semicolon.
(#17) Expected an assignment or function call and instead saw an expression.
(#17) Missing semicolon.
(#17) 'b' is already defined.
(#18) Line is too long.
(#18) Missing '()' invoking a constructor.
(#18) Expected '{' and instead saw 'b'.
(#18) Expected an assignment or function call and instead saw an expression.
(#18) Missing semicolon.
(#18) Missing '()' invoking a constructor.
(#19) Line is too long.
(#19) Expected an assignment or function call and instead saw an expression.
(#19) Missing semicolon.
(#19) Missing semicolon.
(#20) Line is too long.
(#19) Missing '()' invoking a constructor.
(#20) Expected an assignment or function call and instead saw an expression.
(#20) Missing semicolon.
(#20) Missing semicolon.
(#21) Line is too long.
(#21) Expected an assignment or function call and instead saw an expression.
(#21) Missing semicolon.
(#21) Expected an assignment or function call and instead saw an expression.
(#21) Missing semicolon.
(#21) Expected an assignment or function call and instead saw an expression.
(#21) Missing semicolon.
(#21) Expected '{' and instead saw 'if'.
(#22) Line is too long.
(#22) Expected '{' and instead saw 'a'.
(#22) Expected an assignment or function call and instead saw an expression.
(#22) Expected '{' and instead saw 'return'.
(#22) Expected an assignment or function call and instead saw an expression.
(#22) Expected an assignment or function call and instead saw an expression.
(#22) Expected an assignment or function call and instead saw an expression.
(#23) Line is too long.
(#23) Expected an assignment or function call and instead saw an expression.
(#23) Expected an assignment or function call and instead saw an expression.
(#23) Expected an assignment or function call and instead saw an expression.
(#23) Expected '{' and instead saw 'a'.
(#23) Expected an assignment or function call and instead saw an expression.
(#24) Line is too long.
(#24) Expected an assignment or function call and instead saw an expression.
(#24) Expected '{' and instead saw 'a'.
(#24) Expected an assignment or function call and instead saw an expression.
(#24) Missing semicolon.
(#24) Missing semicolon.
(#24) Expected '{' and instead saw 'a'.
(#25) Line is too long.
(#25) Missing semicolon.
(#25) Missing semicolon.
(#25) Expected an assignment or function call and instead saw an expression.
(#25) Missing semicolon.
(#25) Expected an assignment or function call and instead saw an expression.
(#25) Missing semicolon.
(#25) Expected an assignment or function call and instead saw an expression.
(#25) Missing semicolon.
(#26) Line is too long.
(#26) Expected an assignment or function call and instead saw an expression.
(#26) Expected an assignment or function call and instead saw an expression.
(#26) Missing semicolon.
(#26) Expected an assignment or function call and instead saw an expression.
(#26) Expected an assignment or function call and instead saw an expression.
(#26) Missing semicolon.
(#27) Line is too long.
(#27) Missing semicolon.
(#27) Missing semicolon.
(#27) Expected '{' and instead saw 'return'.
(#28) Line is too long.
(#28) Missing semicolon.
(#28) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#28) Missing semicolon.
(#28) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#28) Expected an assignment or function call and instead saw an expression.
(#28) Expected an assignment or function call and instead saw an expression.
(#28) Missing semicolon.
(#28) Expected '{' and instead saw 'a'.
(#29) Line is too long.
(#29) Expected an assignment or function call and instead saw an expression.
(#29) Expected an assignment or function call and instead saw an expression.
(#29) Expected an assignment or function call and instead saw an expression.
(#30) Line is too long.
(#30) Missing semicolon.
(#31) Line is too long.
(#31) Expected an assignment or function call and instead saw an expression.
(#31) Missing semicolon.
(#31) Expected an assignment or function call and instead saw an expression.
(#31) Missing semicolon.
(#31) Expected an assignment or function call and instead saw an expression.
(#31) Missing semicolon.
(#32) Line is too long.
(#32) Expected an assignment or function call and instead saw an expression.
(#32) Missing semicolon.
(#32) Expected an assignment or function call and instead saw an expression.
(#32) Expected '{' and instead saw 'if'.
(#33) Line is too long.
(#33) Expected '{' and instead saw 'f'.
(#33) Expected '{' and instead saw 'i'.
(#33) Expected an assignment or function call and instead saw an expression.
(#33) Expected an assignment or function call and instead saw an expression.
(#33) Missing semicolon.
(#33) Expected an assignment or function call and instead saw an expression.
(#34) Line is too long.
(#34) Missing semicolon.
(#34) Expected an assignment or function call and instead saw an expression.
(#34) Missing semicolon.
(#34) Missing semicolon.
(#35) Line is too long.
(#36) Line is too long.
(#36) Expected '{' and instead saw 'return'.
(#36) Expected an assignment or function call and instead saw an expression.
(#36) Missing semicolon.
(#37) Expected an assignment or function call and instead saw an expression.
(#37) Missing semicolon.
(#37) Missing semicolon.
(#6) 'DocumentTouch' is not defined.
(#37) 'jQuery' is not defined.
(#19) 'o' is defined but never used.

CSS problems

(34 errors, 146 warnings)

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

theme/squared/style/animate.css
(#368) Use of !important
(#370) Use of !important
(#372) Use of !important
(#374) Use of !important
(#455) Use of !important
(#457) Use of !important
(#459) Use of !important
(#461) Use of !important
(#510) Use of !important
(#512) Use of !important
(#514) Use of !important
(#516) Use of !important
(#596) Use of !important
(#598) Use of !important
(#600) Use of !important
(#602) Use of !important
(#647) Use of !important
(#649) Use of !important
(#651) Use of !important
(#653) Use of !important
theme/squared/style/blocks.css
(#21) Use of !important
(#22) Use of !important
(#28) Use of !important
(#31) Rule is empty.
(#32) Unexpected token '[' at line 32, col 24.
(#39) Unexpected token '[' at line 39, col 20.
(#87) Unexpected token '[' at line 87, col 14.
(#102) Unexpected token '[' at line 102, col 14.
(#111) Use of !important
(#126) Use of !important
(#127) Use of !important
(#128) Use of !important
(#146) Unexpected token '[' at line 146, col 14.
(#147) Use of !important
(#157) Use of !important
(#161) Use of !important
(#251) Use of !important
(#463) Use of !important
(#469) Use of !important
(#473) Use of !important
(#681) Use of !important
(#690) Use of !important
(#722) Unexpected token '[' at line 722, col 14.
(#723) Use of !important
(#731) Use of !important
(#738) Use of !important
(#742) Use of !important
(#851) Use of !important
theme/squared/style/core.css
(#71) Rule is empty.
(#120) Rule is empty.
(#306) Expected RBRACE at line 306, col 27.
(#340) margin can't be used with display: inline.
(#464) Unexpected token '[' at line 464, col 17.
(#470) Unexpected token '[' at line 470, col 14.
(#579) Use of !important
(#602) Use of !important
(#635) Unexpected token '[' at line 635, col 14.
(#672) Use of !important
(#676) Use of !important
(#678) Use of !important
(#734) Rule is empty.
(#759) Use of !important
(#770) Rule is empty.
theme/squared/style/course.css
(#109) Expected (<padding-width> | inherit) but found 'auto'.
(#318) Unexpected token '[' at line 318, col 20.
(#357) Unexpected token '[' at line 357, col 20.
(#383) Unexpected token '[' at line 383, col 20.
theme/squared/style/custom.css
(#3) Expected IDENT at line 3, col 2.
(#3) Expected IDENT at line 3, col 2.
theme/squared/style/dock.css
(#3) Use of !important
(#4) Use of !important
(#76) Unexpected token '[' at line 76, col 14.
(#100) Unexpected token '[' at line 100, col 14.
(#141) Use of !important
(#145) Use of !important
(#146) Use of !important
(#163) Use of !important
theme/squared/style/effects.css
(#312) Unknown @ rule: @-ms-keyframes.
(#316) Unexpected token '}' at line 316, col 1.
(#378) Unknown @ rule: @-ms-keyframes.
(#393) Unexpected token '100%' at line 393, col 2.
(#393) Unexpected token '{' at line 393, col 7.
(#394) Expected LBRACE at line 394, col 18.
(#394) Unexpected token 'translateY(' at line 394, col 18.
(#394) Unexpected token '0' at line 394, col 29.
(#394) Unexpected token ')' at line 394, col 30.
(#394) Unexpected token ';' at line 394, col 31.
(#395) Unexpected token '}' at line 395, col 2.
(#396) Unexpected token '}' at line 396, col 1.
(#470) Unknown @ rule: @-ms-keyframes.
theme/squared/style/font.css
(#29) @charset not allowed here.
theme/squared/style/forum.css
(#25) Unexpected token '[' at line 25, col 20.
(#50) Rule is empty.
theme/squared/style/menu.css
(#31) Use of !important
(#53) Use of !important
(#54) Use of !important
(#55) Use of !important
(#85) Use of !important
(#94) Use of !important
(#96) Use of !important
(#99) Use of !important
(#103) Use of !important
(#111) Use of !important
(#113) Use of !important
(#114) Use of !important
(#117) Use of !important
(#118) Use of !important
(#119) Use of !important
(#120) Use of !important
(#121) Use of !important
(#122) Use of !important
(#126) Use of !important
(#131) Use of !important
(#135) Use of !important
(#137) Use of !important
(#138) Use of !important
(#139) Use of !important
(#140) Use of !important
(#149) Use of !important
(#150) Use of !important
(#154) Use of !important
(#160) Use of !important
(#161) Use of !important
(#162) Use of !important
(#163) Use of !important
(#164) Use of !important
(#166) Use of !important
(#167) Use of !important
(#168) Use of !important
(#176) Use of !important
(#180) Use of !important
(#185) Use of !important
(#186) Use of !important
(#187) Use of !important
(#188) Use of !important
(#194) Use of !important
(#197) Use of !important
(#198) Use of !important
(#202) Use of !important
(#204) Use of !important
(#205) Use of !important
(#206) Use of !important
(#207) Duplicate property 'line-height' found.
(#212) Use of !important
(#216) Use of !important
(#220) Use of !important
(#225) Use of !important
(#226) Use of !important
(#234) Use of !important
(#240) Use of !important
(#242) Use of !important
(#243) Use of !important
(#244) Use of !important
(#245) Use of !important
(#246) Use of !important
(#247) Use of !important
(#248) Use of !important
(#249) Use of !important
(#255) Use of !important
(#256) Use of !important
(#257) Use of !important
(#258) Use of !important
(#259) Use of !important
(#260) Use of !important
(#261) Use of !important
(#262) Use of !important
(#263) Use of !important
(#269) Use of !important
theme/squared/style/standardoverride.css
(#3) Expected (<border-width>) but found 'inherit'.
(#61) Expected COLON at line 61, col 3.
(#146) Expected (<number> | <length> | <percentage> | normal | inherit) but found 'auto'.
(#151) Expected (<number> | <length> | <percentage> | normal | inherit) but found 'auto'.
(#210) Use of !important
(#236) Use of !important
(#237) Use of !important
(#242) Use of !important
(#262) Use of !important
(#275) Use of !important
(#276) Use of !important
(#277) Use of !important

PHPDocs style problems

(41 errors, 1 warnings)

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

theme/squared/classes/block_navigation_renderer.php
(#28) Class theme_squared_block_navigation_renderer is not documented
(#20) Package theme is not valid
theme/squared/classes/block_settings_renderer.php
(#28) Class theme_squared_block_settings_renderer is not documented
(#29) Function theme_squared_block_settings_renderer::navigation_node is not documented
(#20) Package theme is not valid
theme/squared/classes/core_course_renderer.php
(#28) Class theme_squared_core_course_renderer is not documented
(#20) Package theme is not valid
theme/squared/classes/core_renderer.php
(#17) File-level phpdocs block is not found
(#328) Function theme_squared_core_renderer::squared_prepare_textlinks is not documented
(#28) Variable theme_squared_core_renderer::$squaredbodyclasses is not documented
(#30) Phpdocs for function theme_squared_core_renderer::heading has incomplete parameters list
(#56) Phpdocs for function theme_squared_core_renderer::block has incomplete parameters list
(#126) Phpdocs for function theme_squared_core_renderer::block_header has incomplete parameters list
(#155) Phpdocs for function theme_squared_core_renderer::render_custom_menu has incomplete parameters list
(#358) Phpdocs for function theme_squared_core_renderer::squared_textlinks has incomplete parameters list
(#267) Not recommended phpdocs tag @staticvar used
(#20) Package theme is not valid
theme/squared/classes/toolbox.php
(#30) Class toolbox is not documented
(#31) Function toolbox::get_top_level_categories is not documented
(#20) Package theme is not valid
theme/squared/config.php
(#2) File-level phpdocs block is not found
theme/squared/lang/de/theme_squared.php
(#16) File-level phpdocs block is not found
theme/squared/lang/en/theme_squared.php
(#16) File-level phpdocs block is not found
theme/squared/layout/category.php
(#16) File-level phpdocs block is not found
theme/squared/layout/frontpage.php
(#2) File-level phpdocs block is not found
theme/squared/layout/general.php
(#2) File-level phpdocs block is not found
theme/squared/layout/maintenance.php
(#20) Package theme_clean is not valid
theme/squared/lib.php
(#2) File-level phpdocs block is not found
(#221) Phpdocs for function theme_squared_set_slideimage has incomplete parameters list
(#2) Package is not specified for function theme_squared_process_css. It is also not specified in file-level phpdocs
(#44) Package is not specified for function theme_squared_get_backgroundcolorsettings_array. It is also not specified in file-level phpdocs
(#60) Package is not specified for function theme_squared_add_categorycolorguide_css. It is also not specified in file-level phpdocs
(#199) Package is not specified for function theme_squared_set_bgcolordefault. It is also not specified in file-level phpdocs
(#218) Package is not specified for function theme_squared_set_slideimage. It is also not specified in file-level phpdocs
(#243) Package is not specified for function theme_squared_set_headerimagecourse. It is also not specified in file-level phpdocs
(#261) Package is not specified for function theme_squared_get_login_url. It is also not specified in file-level phpdocs
(#307) Package is not specified for function theme_squared_set_logo. It is also not specified in file-level phpdocs
(#325) Package is not specified for function theme_squared_pluginfile. It is also not specified in file-level phpdocs
(#350) Package is not specified for function theme_squared_initialise_colpos. It is also not specified in file-level phpdocs
(#359) Package is not specified for function theme_squared_get_colpos. It is also not specified in file-level phpdocs
(#369) Package is not specified for function theme_squared_set_customcss. It is also not specified in file-level phpdocs
theme/squared/settings.php
(#2) File-level phpdocs block is not found

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

(2 errors, 0 warnings)

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

theme/squared/amd/build/jqueryeasing.min.js
Uncommitted change detected.
theme/squared/amd/build/jqueryflexslider.min.js
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]