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

(697 errors, 108 warnings)

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

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
(#18) Whitespace found at end of line
(#19) Inline comments must start with a capital letter, digit or 3-dots sequence
(#19) Inline comments must end in full-stops, exclamation marks, or question marks
(#22) Whitespace found at end of line
(#28) Whitespace found at end of line
(#32) Whitespace found at end of line
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Whitespace found at end of line
(#38) Whitespace found at end of line
(#39) 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
(#47) Whitespace found at end of line
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Whitespace found at end of line
(#56) Whitespace found at end of line
(#57) Whitespace found at end of line
(#62) Whitespace found at end of line
(#66) Whitespace found at end of line
(#67) Whitespace found at end of line
(#69) Whitespace found at end of line
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Whitespace found at end of line
(#76) Whitespace found at end of line
(#78) Whitespace found at end of line
(#83) Whitespace found at end of line
(#85) Whitespace found at end of line
(#87) Whitespace found at end of line
(#92) Whitespace found at end of line
(#94) Whitespace found at end of line
(#96) Whitespace found at end of line
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Whitespace found at end of line
(#105) Whitespace found at end of line
(#106) Whitespace found at end of line
(#108) Whitespace found at end of line
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Whitespace found at end of line
(#115) Whitespace found at end of line
(#121) Whitespace found at end of line
(#122) Whitespace found at end of line
(#124) Whitespace found at end of line
(#133) Whitespace found at end of line
(#134) Whitespace found at end of line
(#136) Whitespace found at end of line
(#142) Whitespace found at end of line
(#143) Whitespace found at end of line
(#145) Whitespace found at end of line
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Whitespace found at end of line
(#155) Whitespace found at end of line
(#157) Whitespace found at end of line
(#168) Whitespace found at end of line
(#169) Whitespace found at end of line
(#171) Whitespace found at end of line
(#180) Whitespace found at end of line
(#181) Whitespace found at end of line
(#183) Whitespace found at end of line
(#192) Whitespace found at end of line
(#193) Whitespace found at end of line
(#195) Whitespace found at end of line
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) Whitespace found at end of line
(#202) Whitespace found at end of line
(#203) Whitespace found at end of line
(#206) Inline doc block comments are not allowed; use "// Comment." instead
(#210) Whitespace found at end of line
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
(#184) Commas (,) must be followed by white space.
(#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
(#167) Commas (,) must be followed by white space.
(#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
(#167) Commas (,) must be followed by white space.
(#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
(#14) Whitespace found at end of line
(#17) Whitespace found at end of line
(#25) Whitespace found at end of line
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Whitespace found at end of line
(#39) Whitespace found at end of line
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Whitespace found at end of line
(#120) Whitespace found at end of line
(#132) Whitespace found at end of line
(#137) Space found after opening bracket of FOREACH loop
(#137) Space found before closing bracket of FOREACH loop
(#141) Whitespace found at end of line
(#143) Whitespace found at end of line
(#144) Inline doc block comments are not allowed; use "// Comment." instead
(#147) Line exceeds maximum limit of 180 characters; contains 283 characters
(#150) Whitespace found at end of line
(#151) Inline doc block comments are not allowed; use "// Comment." instead
(#155) Line exceeds 132 characters; contains 163 characters
(#158) Whitespace found at end of line
(#159) Inline doc block comments are not allowed; use "// Comment." instead
(#165) Whitespace found at end of line
(#166) Inline doc block comments are not allowed; use "// Comment." instead
(#172) Whitespace found at end of line
(#173) Inline doc block comments are not allowed; use "// Comment." instead
(#179) Whitespace found at end of line
(#180) Inline doc block comments are not allowed; use "// Comment." instead
(#186) Whitespace found at end of line
(#187) Inline doc block comments are not allowed; use "// Comment." instead
(#193) Whitespace found at end of line
(#194) Inline doc block comments are not allowed; use "// Comment." instead
(#200) Whitespace found at end of line
(#201) Inline doc block comments are not allowed; use "// Comment." instead
(#207) Whitespace found at end of line
(#208) Inline doc block comments are not allowed; use "// Comment." instead
(#214) Whitespace found at end of line
(#215) Inline doc block comments are not allowed; use "// Comment." instead
(#221) Whitespace found at end of line
(#222) Inline doc block comments are not allowed; use "// Comment." instead
(#228) Whitespace found at end of line
(#229) Inline doc block comments are not allowed; use "// Comment." instead
(#235) Whitespace found at end of line
(#236) Inline doc block comments are not allowed; use "// Comment." instead
(#242) Whitespace found at end of line
(#243) Inline doc block comments are not allowed; use "// Comment." instead
(#246) Line exceeds 132 characters; contains 152 characters
(#250) Whitespace found at end of line
(#259) Whitespace found at end of line
(#260) Whitespace found at end of line
(#276) Whitespace found at end of line
(#285) Expected "for (...) {\n"; found "for(...) {\n"
(#301) Whitespace found at end of line
(#302) Whitespace found at end of line
(#332) Inline comments must start with a capital letter, digit or 3-dots sequence
(#332) Inline comments must end in full-stops, exclamation marks, or question marks
(#334) Whitespace found at end of line
(#337) Space found after opening bracket of FOREACH loop
(#337) Space found before closing bracket of FOREACH loop
(#360) Whitespace found at end of line
(#361) Whitespace found at end of line
(#378) Whitespace found at end of line
(#379) Whitespace found at end of line
(#380) Whitespace found at end of line
(#381) Whitespace found at end of line
(#382) Whitespace found at end of line
(#383) Whitespace found at end of line
(#384) Whitespace found at end of line
(#392) Whitespace found at end of line
(#403) Whitespace found at end of line
(#412) Whitespace found at end of line
(#422) Whitespace found at end of line
(#423) Whitespace found at end of line
(#439) Whitespace found at end of line
theme/squared/renderers.php
(#2) Expected MOODLE_INTERNAL check or config.php inclusion
(#2) Line 1 of the opening comment must start "// This file is part of".
(#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".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#4) Whitespace found at end of line
(#11) Inline comments must start with a capital letter, digit or 3-dots sequence
(#11) Inline comments must end in full-stops, exclamation marks, or question marks
(#14) Whitespace found at end of line
(#17) Whitespace found at end of line
(#22) Whitespace found at end of line
(#30) Whitespace found at end of line
(#36) Visibility must be declared on method "block"
(#47) Whitespace found at end of line
(#50) Line exceeds maximum limit of 180 characters; contains 449 characters
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) This comment is 75% valid code; is this commented out code?
(#53) Empty IF statement detected
(#53) Line exceeds maximum limit of 180 characters; contains 228 characters
(#57) Whitespace found at end of line
(#59) Whitespace found at end of line
(#61) Whitespace found at end of line
(#62) Space found after opening bracket of FOREACH loop
(#62) Space found before closing bracket of FOREACH loop
(#63) Whitespace found at end of line
(#65) Whitespace found at end of line
(#67) Whitespace found at end of line
(#69) Whitespace found at end of line
(#73) Whitespace found at end of line
(#81) Whitespace found at end of line
(#85) Whitespace found at end of line
(#88) Whitespace found at end of line
(#96) Whitespace found at end of line
(#100) Whitespace found at end of line
(#103) Whitespace found at end of line
(#110) Whitespace found at end of line
(#114) Whitespace found at end of line
(#116) Whitespace found at end of line
(#120) Whitespace found at end of line
(#122) Whitespace found at end of line
(#124) Whitespace found at end of line
(#129) Whitespace found at end of line
(#132) Whitespace found at end of line
(#137) "require_once" must be immediately followed by an open parenthesis
(#138) Whitespace found at end of line
(#139) Inline comments must start with a capital letter, digit or 3-dots sequence
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Whitespace found at end of line
(#142) Inline comments must start with a capital letter, digit or 3-dots sequence
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) Whitespace found at end of line
(#146) Space found after opening bracket of FOREACH loop
(#146) Space found before closing bracket of FOREACH loop
(#147) Space found after opening bracket of FOREACH loop
(#147) Space found before closing bracket of FOREACH loop
(#157) Whitespace found at end of line
(#162) Whitespace found at end of line
(#163) Whitespace found at end of line
(#166) Whitespace found at end of line
(#167) Line exceeds 132 characters; contains 135 characters
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Variable "show_course_category_depth" must not contain underscores.
(#170) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Variable "show_modules_depth" must not contain underscores.
(#173) Variable "actual_depth" must not contain underscores.
(#174) Whitespace found at end of line
(#175) Inline comments must end in full-stops, exclamation marks, or question marks
(#176) Variable "show_deep_modules" must not contain underscores.
(#177) Whitespace found at end of line
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Space found after opening bracket of FOREACH loop
(#181) Space found before closing bracket of FOREACH loop
(#182) Variable "actual_depth" must not contain underscores.
(#183) Whitespace found at end of line
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) Variable "actual_depth" must not contain underscores.
(#185) Variable "show_course_category_depth" must not contain underscores.
(#188) Inline comments must start with a capital letter, digit or 3-dots sequence
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) Line exceeds maximum limit of 180 characters; contains 191 characters
(#189) Variable "sub_parent" must not contain underscores.
(#190) Whitespace found at end of line
(#192) Variable "sub_parent" must not contain underscores.
(#196) Inline comments must start with a capital letter, digit or 3-dots sequence
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#198) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) Variable "actual_depth" must not contain underscores.
(#199) Variable "show_course_category_depth" must not contain underscores.
(#200) Space found after opening bracket of FOREACH loop
(#200) Space found before closing bracket of FOREACH loop
(#201) Variable "course_branch" must not contain underscores.
(#202) Whitespace found at end of line
(#204) Whitespace found at end of line
(#205) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) Whitespace found at end of line
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#208) Whitespace found at end of line
(#211) Variable "actual_depth" must not contain underscores.
(#211) Variable "show_modules_depth" must not contain underscores.
(#212) Space found after opening bracket of FOREACH loop
(#212) Space found before closing bracket of FOREACH loop
(#213) Inline comments must end in full-stops, exclamation marks, or question marks
(#220) Inline comments must start with a capital letter, digit or 3-dots sequence
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Variable "module_object" must not contain underscores.
(#222) Inline comments must start with a capital letter, digit or 3-dots sequence
(#222) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) Variable "module_object" must not contain underscores.
(#224) Variable "course_branch" must not contain underscores.
(#224) Variable "module_object" must not contain underscores.
(#224) Line exceeds 132 characters; contains 138 characters
(#225) Whitespace found at end of line
(#233) Whitespace found at end of line
(#243) Whitespace found at end of line
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#264) Whitespace found at end of line
(#268) Whitespace found at end of line
(#272) Whitespace found at end of line
(#275) Whitespace found at end of line
(#278) Space found after opening bracket of FOREACH loop
(#278) Space found before closing bracket of FOREACH loop
(#286) Inline comments must end in full-stops, exclamation marks, or question marks
(#288) Whitespace found at end of line
(#297) Whitespace found at end of line
(#301) Inline comments must end in full-stops, exclamation marks, or question marks
(#306) Space found after opening bracket of FOREACH loop
(#306) Space found before closing bracket of FOREACH loop
(#315) Space found after opening bracket of FOREACH loop
(#315) Space found before closing bracket of FOREACH loop
(#321) Whitespace found at end of line
(#328) Line exceeds 132 characters; contains 159 characters
(#329) Whitespace found at end of line
(#333) Whitespace found at end of line
(#352) Whitespace found at end of line
(#356) Whitespace found at end of line
(#365) Line exceeds 132 characters; contains 149 characters
(#367) Whitespace found at end of line
(#371) Whitespace found at end of line
(#372) Line exceeds 132 characters; contains 147 characters
(#374) Whitespace found at end of line
(#378) Whitespace found at end of line
(#379) Line exceeds 132 characters; contains 146 characters
(#381) Whitespace found at end of line
(#385) Whitespace found at end of line
(#386) Line exceeds 132 characters; contains 147 characters
(#388) Whitespace found at end of line
(#391) Whitespace found at end of line
(#394) Whitespace found at end of line
(#403) Inline comments must end in full-stops, exclamation marks, or question marks
(#406) Expected "for (...) {\n"; found "for(...) {\n"
(#411) Whitespace found at end of line
(#415) Whitespace found at end of line
(#420) Whitespace found at end of line
(#421) Inline comments must start with a capital letter, digit or 3-dots sequence
(#421) Inline comments must end in full-stops, exclamation marks, or question marks
(#423) Whitespace found at end of line
(#426) Inline comments must end in full-stops, exclamation marks, or question marks
(#429) Whitespace found at end of line
(#442) Whitespace found at end of line
(#446) Whitespace found at end of line
(#450) Whitespace found at end of line
(#466) Whitespace found at end of line
(#469) Whitespace found at end of line
(#471) Inline comments must start with a capital letter, digit or 3-dots sequence
(#471) Inline comments must end in full-stops, exclamation marks, or question marks
(#475) Whitespace found at end of line
(#477) Inline comments must end in full-stops, exclamation marks, or question marks
(#485) Whitespace found at end of line
(#496) Whitespace found at end of line within string
(#499) Inline comments must end in full-stops, exclamation marks, or question marks
(#502) Whitespace found at end of line
(#506) Line exceeds 132 characters; contains 135 characters
(#512) Whitespace found at end of line
(#515) Whitespace found at end of line
(#519) Line exceeds 132 characters; contains 139 characters
(#522) Whitespace found at end of line
(#524) Whitespace found at end of line
(#525) Line exceeds 132 characters; contains 174 characters
(#535) Whitespace found at end of line
(#537) Whitespace found at end of line
(#549) Line exceeds 132 characters; contains 153 characters
(#550) Line exceeds maximum limit of 180 characters; contains 183 characters
(#557) Whitespace found at end of line
(#560) Whitespace found at end of line
(#569) Whitespace found at end of line
(#571) Expected "for (...) {\n"; found "for(...) {\n"
(#577) Inline comments must start with a capital letter, digit or 3-dots sequence
(#577) Inline comments must end in full-stops, exclamation marks, or question marks
(#582) Whitespace found at end of line
(#598) Whitespace found at end of line
(#602) Whitespace found at end of line
(#603) Inline comments must start with a capital letter, digit or 3-dots sequence
(#603) Inline comments must end in full-stops, exclamation marks, or question marks
(#607) Whitespace found at end of line
(#608) Space found after opening bracket of FOREACH loop
(#608) Space found before closing bracket of FOREACH loop
(#613) Whitespace found at end of line
(#618) Whitespace found at end of line
(#624) Whitespace found at end of line
(#629) Whitespace found at end of line
(#636) Whitespace found at end of line
(#642) Visibility must be declared on method "squared_render_searchform"
(#659) Whitespace found at end of line
(#664) Whitespace found at end of line
(#668) Whitespace found at end of line
(#673) Whitespace found at end of line
(#679) Whitespace found at end of line
(#685) Inline comments must start with a capital letter, digit or 3-dots sequence
(#685) Inline comments must end in full-stops, exclamation marks, or question marks
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/>.".
(#31) Line exceeds 132 characters; contains 133 characters
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#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, 257 warnings)

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

theme/squared/jquery/custom.js
(#1) Line is too long.
(#1) Expected '!==' and instead saw '!='.
(#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) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Expected '===' and instead saw '=='.
(#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) Expected '===' and instead saw '=='.
(#1) Expected '{' and instead saw 'return'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#11) Expected '===' and instead saw '=='.
(#11) Expected '{' and instead saw 'callback'.
(#15) Expected '===' and instead saw '=='.
(#18) Expected '===' and instead saw '=='.
(#19) Expected '===' and instead saw '=='.
(#19) Expected an assignment or function call and instead saw an expression.
(#41) Empty block.
(#53) Empty block.
(#112) 'slids' is already defined.
(#129) Empty block.
(#172) Line is too long.
(#173) Line is too long.
(#179) Line is too long.
(#180) Line is too long.
(#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.
(#19) 'o' is defined but never used.

CSS problems

(35 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 21.
(#39) Unexpected token '[' at line 39, col 20.
(#84) Unexpected token '[' at line 84, col 14.
(#99) Unexpected token '[' at line 99, col 14.
(#108) Use of !important
(#123) Use of !important
(#124) Use of !important
(#125) Use of !important
(#144) Unexpected token '[' at line 144, col 14.
(#145) Use of !important
(#155) Use of !important
(#159) Use of !important
(#240) Use of !important
(#452) Use of !important
(#458) Use of !important
(#462) Use of !important
(#670) Use of !important
(#679) Use of !important
(#711) Unexpected token '[' at line 711, col 14.
(#712) Use of !important
(#720) Use of !important
(#727) Use of !important
(#731) Use of !important
(#840) Use of !important
theme/squared/style/core.css
(#12) Expected IDENT at line 12, col 2.
(#73) Rule is empty.
(#122) Rule is empty.
(#308) Expected RBRACE at line 308, col 27.
(#342) margin can't be used with display: inline.
(#466) Unexpected token '[' at line 466, col 17.
(#472) Unexpected token '[' at line 472, col 14.
(#581) Use of !important
(#604) Use of !important
(#637) Unexpected token '[' at line 637, col 14.
(#674) Use of !important
(#678) Use of !important
(#680) Use of !important
(#736) Rule is empty.
(#761) Use of !important
(#772) Rule is empty.
theme/squared/style/course.css
(#70) Unexpected token '[' at line 70, col 14.
(#106) Expected (<padding-width> | inherit) but found 'auto'.
(#315) Unexpected token '[' at line 315, col 20.
(#354) Unexpected token '[' at line 354, col 20.
(#380) Unexpected token '[' at line 380, col 20.
(#473) Expected IDENT at line 473, col 2.
(#473) Expected IDENT at line 473, 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/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

(34 errors, 1 warnings)

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

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
(#276) 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
(#45) Package is not specified for function theme_squared_include_fonts. It is also not specified in file-level phpdocs
(#113) Package is not specified for function theme_squared_get_backgroundcolorsettings_array. It is also not specified in file-level phpdocs
(#129) Package is not specified for function theme_squared_add_categorycolorguide_css. It is also not specified in file-level phpdocs
(#254) Package is not specified for function theme_squared_set_bgcolordefault. It is also not specified in file-level phpdocs
(#273) Package is not specified for function theme_squared_set_slideimage. It is also not specified in file-level phpdocs
(#298) Package is not specified for function theme_squared_set_headerimagecourse. It is also not specified in file-level phpdocs
(#316) Package is not specified for function theme_squared_get_login_url. It is also not specified in file-level phpdocs
(#357) Package is not specified for function theme_squared_set_logo. It is also not specified in file-level phpdocs
(#375) Package is not specified for function theme_squared_pluginfile. It is also not specified in file-level phpdocs
(#400) Package is not specified for function theme_squared_initialise_colpos. It is also not specified in file-level phpdocs
(#409) Package is not specified for function theme_squared_get_colpos. It is also not specified in file-level phpdocs
(#419) Package is not specified for function theme_squared_set_customcss. It is also not specified in file-level phpdocs
(#436) Package is not specified for function theme_squared_page_init. It is also not specified in file-level phpdocs
theme/squared/renderers.php
(#2) File-level phpdocs block is not found
(#2) Class theme_squared_core_renderer is not documented
(#304) Function theme_squared_core_renderer::squared_prepare_textlinks is not documented
(#3) Variable theme_squared_core_renderer::$squaredbodyclasses is not documented
(#5) Phpdocs for function theme_squared_core_renderer::heading has incomplete parameters list
(#31) Phpdocs for function theme_squared_core_renderer::block has incomplete parameters list
(#101) Phpdocs for function theme_squared_core_renderer::block_header has incomplete parameters list
(#130) Phpdocs for function theme_squared_core_renderer::render_custom_menu has incomplete parameters list
(#334) Phpdocs for function theme_squared_core_renderer::squared_textlinks has incomplete parameters list
(#242) Not recommended phpdocs tag @staticvar used
(#2) Package is not specified for class theme_squared_core_renderer. 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]


Mustache template problems

(0 errors, 0 warnings)

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