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

(1237 errors, 89 warnings)

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

theme/archaius/config.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Variable "allRegions" must be all lower-case
(#30) Expected 1 space after "="; newline found
(#30) Whitespace found at end of line
(#52) Whitespace found at end of line
(#54) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space after "=>"; 0 found
(#62) Whitespace found at end of line
(#63) No space found before comment text; expected "// a missing page type, this one is used." but found "//a missing page type, this one is used."
(#66) Variable "allRegions" must be all lower-case
(#72) Whitespace found at end of line
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Variable "allRegions" must be all lower-case
(#82) Whitespace found at end of line
(#84) Whitespace found at end of line
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Variable "allRegions" must be all lower-case
(#97) Variable "allRegions" must be all lower-case
(#103) Variable "allRegions" must be all lower-case
(#106) Whitespace found at end of line
(#107) Whitespace found at end of line
(#113) Variable "allRegions" must be all lower-case
(#119) Variable "allRegions" must be all lower-case
(#125) Variable "allRegions" must be all lower-case
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#138) Whitespace found at end of line
(#139) Expected 1 space before "=>"; 0 found
(#139) Expected 1 space after "=>"; 0 found
(#139) Whitespace found at end of line
(#140) Expected 1 space before "=>"; 0 found
(#140) Expected 1 space after "=>"; 0 found
(#147) Expected 1 space before "=>"; 0 found
(#147) Expected 1 space after "=>"; 0 found
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Expected 1 space before "=>"; 0 found
(#154) Expected 1 space after "=>"; 0 found
(#154) Whitespace found at end of line
(#155) Expected 1 space before "=>"; 0 found
(#155) Expected 1 space after "=>"; 0 found
(#155) Whitespace found at end of line
(#156) Expected 1 space before "=>"; 0 found
(#156) Expected 1 space after "=>"; 0 found
(#159) Whitespace found at end of line
(#160) Whitespace found at end of line
(#161) No space found before comment text; expected "// maintenance' message." but found "//maintenance' message."
(#162) Whitespace found at end of line
(#163) No space found before comment text; expected "// have links to other places - for example there should not be a home" but found "//have links to other places - for example there should not be a home"
(#163) Whitespace found at end of line
(#164) No space found before comment text; expected "// link in the footer..." but found "//link in the footer..."
(#169) Expected 1 space before "=>"; 0 found
(#169) Expected 1 space after "=>"; 0 found
(#169) Whitespace found at end of line
(#170) Expected 1 space before "=>"; 0 found
(#170) Expected 1 space after "=>"; 0 found
(#170) Whitespace found at end of line
(#171) Expected 1 space before "=>"; 0 found
(#171) Expected 1 space after "=>"; 0 found
(#179) Expected 1 space before "=>"; 0 found
(#179) Expected 1 space after "=>"; 0 found
(#179) Whitespace found at end of line
(#180) Expected 1 space before "=>"; 0 found
(#180) Expected 1 space after "=>"; 0 found
(#180) Whitespace found at end of line
(#181) Expected 1 space before "=>"; 0 found
(#181) Expected 1 space after "=>"; 0 found
theme/archaius/db/upgrade.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#8) Line 7 of the opening comment must start "//".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#12) Line 12 of the opening comment must start "//".
(#13) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#26) Whitespace found at end of line
(#27) Expected 1 space after closing parenthesis; found 0
(#31) Whitespace found at end of line
(#32) Spaces must be used to indent lines; tabs are not allowed
(#32) Tab found within whitespace
(#32) Line indented incorrectly; expected 4 spaces, found 1
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) 3 slashes comments are not allowed; use "// Comment." instead
(#38) Whitespace found at end of line
(#40) Whitespace found at end of line
(#42) Whitespace found at end of line
(#44) Whitespace found at end of line
(#46) Whitespace found at end of line
(#48) Whitespace found at end of line
(#50) Whitespace found at end of line
(#63) Closing brace indented incorrectly; expected 1 spaces, found 4
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) No space found before comment text; expected "// Store logo image in moodledata to avoid problems when upgrade" but found "//Store logo image in moodledata to avoid problems when upgrade"
(#65) Expected "if (...) {\n"; found "if(...){\n"
(#69) Variable "config_logo" must not contain underscores.
(#69) Commas (,) must be followed by white space.
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) No space found before comment text; expected "// Validate that the URL is a valid URL" but found "//Validate that the URL is a valid URL"
(#71) Whitespace found at end of line
(#72) Variable "is_url" must not contain underscores.
(#72) Variable "config_logo" must not contain underscores.
(#75) Expected "if (...) {\n"; found "if(...){\n"
(#75) Variable "is_url" must not contain underscores.
(#77) Variable "config_logo" must not contain underscores.
(#77) Variable "config_logo" must not contain underscores.
(#79) Variable "parse_image_url" must not contain underscores.
(#79) Variable "config_logo" must not contain underscores.
(#81) No space found before comment text; expected "// Create file name using the real name." but found "//Create file name using the real name."
(#82) Variable "parse_image_url" must not contain underscores.
(#83) Variable "parse_image_url" must not contain underscores.
(#85) Expected "if (...) {\n"; found "if(...){\n"
(#86) Expected 1 space after "="; newline found
(#86) Whitespace found at end of line
(#87) Variable "parse_image_url" must not contain underscores.
(#87) Whitespace found at end of line
(#88) Variable "parse_image_url" must not contain underscores.
(#90) Usage of ELSEIF not allowed; use ELSE IF instead
(#101) No space found before comment text; expected "// Store file in moodledata" but found "//Store file in moodledata"
(#102) No space found before comment text; expected "// Catch exception and prevent failure becuase of image storage" but found "//Catch exception and prevent failure becuase of image storage"
(#103) No space found before comment text; expected "// problem." but found "//problem."
(#105) Commas (,) must be followed by white space.
(#105) Variable "config_logo" must not contain underscores.
(#105) Whitespace found at end of line
(#110) Whitespace found at end of line
(#110) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#112) No space found before comment text; expected "// If the image couldn't be set, unset old logo to avoid" but found "//If the image couldn't be set, unset old logo to avoid"
(#113) No space found before comment text; expected "// broken images." but found "//broken images."
(#114) Expected "if (...) {\n"; found "if(...){\n"
(#114) Commas (,) must be followed by white space.
(#114) Commas (,) must be followed by white space.
(#118) Expected "} else {\n"; found "}else{\n"
(#120) Whitespace found at end of line
(#123) Whitespace found at end of line
theme/archaius/jquery/plugins.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/archaius/lang/en/theme_archaius.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) No space found before comment text; expected "// REGIONS" but found "//REGIONS"
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// PRESENTATION PAGE" but found "//PRESENTATION PAGE"
(#38) Whitespace found at end of line within string
(#39) Whitespace found at end of line within string
(#41) Whitespace found at end of line within string
(#44) Whitespace found at end of line within string
(#48) Whitespace found at end of line within string
(#53) Whitespace found at end of line within string
(#54) Whitespace found at end of line within string
(#55) Whitespace found at end of line within string
(#56) Whitespace found at end of line within string
(#57) Whitespace found at end of line within string
(#59) Whitespace found at end of line within string
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) No space found before comment text; expected "// THEME OPTIONS" but found "//THEME OPTIONS"
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) No space found before comment text; expected "// SLIDESHOW" but found "//SLIDESHOW"
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) No space found before comment text; expected "// Form exceptions" but found "//Form exceptions"
theme/archaius/lang/es/theme_archaius.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) No space found before comment text; expected "// REGIONS" but found "//REGIONS"
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) No space found before comment text; expected "// PRESENTATION PAGE" but found "//PRESENTATION PAGE"
(#37) Whitespace found at end of line within string
(#38) Whitespace found at end of line within string
(#39) Whitespace found at end of line within string
(#41) Whitespace found at end of line within string
(#42) Whitespace found at end of line within string
(#46) Whitespace found at end of line within string
(#49) Whitespace found at end of line within string
(#51) Whitespace found at end of line within string
(#52) Whitespace found at end of line within string
(#53) Whitespace found at end of line within string
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) No space found before comment text; expected "// THEME OPTIONS" but found "//THEME OPTIONS"
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) No space found before comment text; expected "// SLIDESHOW" but found "//SLIDESHOW"
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) No space found before comment text; expected "// Form exceptions" but found "//Form exceptions"
theme/archaius/layout/frontpage.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#1) "include" must be immediately followed by an open parenthesis
(#1) File is being unconditionally included; use "require" instead
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) 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/>.".
(#6) "include" must be immediately followed by an open parenthesis
(#6) File is being unconditionally included; use "require" instead
(#9) Line indented incorrectly; expected 0 spaces, found 4
(#9) Expected "if (...) {\n"; found "if (...){\n"
(#10) Expected 1 space after "="; 2 found
(#10) Whitespace found at end of line
(#11) Line indented incorrectly; expected 0 spaces, found 4
(#11) Expected "} else {\n"; found "}else{\n"
(#13) Line indented incorrectly; expected 0 spaces, found 4
(#13) Whitespace found at end of line
(#14) Line indented incorrectly; expected 0 spaces, found 4
(#14) Expected "if (...) {\n"; found "if(...){\n"
(#16) Line indented incorrectly; expected 0 spaces, found 4
(#17) Whitespace found at end of line
(#22) Line indented incorrectly; expected 12 spaces, found 10
(#22) Expected "if (...) {\n"; found "if(...){?>\n"
(#24) Line indented incorrectly; expected 12 spaces, found 10
(#25) Line indented incorrectly; expected 12 spaces, found 10
(#30) Line indented incorrectly; expected 20 spaces, found 18
(#36) Expected "if (...) {\n"; found "if(...){ ?>\n"
(#40) Whitespace found at end of line
(#41) Variable "slider_helper" must not contain underscores.
(#42) Variable "slider_helper" must not contain underscores.
(#42) Whitespace found at end of line
(#45) Expected "if (...) {\n"; found "if(...){ ?>\n"
(#50) Line indented incorrectly; expected 44 spaces, found 43
(#50) Variable "slider_helper" must not contain underscores.
(#69) Expected "if (...) {\n"; found "if (...){ ?>\n"
(#77) Expected "if (...) {\n"; found "if (...){ ?>\n"
(#89) "include" must be immediately followed by an open parenthesis
(#89) File is being unconditionally included; use "require" instead
(#94) Line indented incorrectly; expected 0 spaces, found 4
(#94) Closing brace indented incorrectly; expected 0 spaces, found 4
theme/archaius/layout/general.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#1) "include" must be immediately followed by an open parenthesis
(#1) File is being unconditionally included; use "require" instead
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) 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/>.".
(#4) "include" must be immediately followed by an open parenthesis
(#4) File is being unconditionally included; use "require" instead
(#5) "include" must be immediately followed by an open parenthesis
(#5) File is being unconditionally included; use "require" instead
(#6) "include" must be immediately followed by an open parenthesis
(#6) File is being unconditionally included; use "require" instead
(#11) Line indented incorrectly; expected 0 spaces, found 4
(#11) Closing brace indented incorrectly; expected 0 spaces, found 4
theme/archaius/layout/partials/footer.php
(#1) The first thing in a PHP file must be the <?php tag.
(#2) Whitespace found at end of line
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#10) Expected "if (...) {\n"; found "if(...){ ?>\n"
(#15) Expected "if (...) {\n"; found "if(...){ ?>\n"
(#20) Expected "if (...) {\n"; found "if(...){ ?>\n"
(#35) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#53) Commas (,) must be followed by white space.
(#55) Whitespace found at end of line
(#56) Whitespace found at end of line
(#57) Whitespace found at end of line
(#58) Whitespace found at end of line
theme/archaius/layout/partials/header.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#3) No space found before comment text; expected "// Check which components are present" but found "//Check which components are present"
(#4) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#14) Inline comments must end in full-stops, exclamation marks, or question marks
(#14) No space found before comment text; expected "// Add classes to body depending on components to be displayed" but found "//Add classes to body depending on components to be displayed"
theme/archaius/layout/partials/page_content.php
(#1) The first thing in a PHP file must be the <?php tag.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#3) Line indented incorrectly; expected 0 spaces, found 4
(#3) Expected "if (...) {\n"; found "if (...){\n"
(#4) Expected 1 space after "="; 2 found
(#4) Whitespace found at end of line
(#5) Line indented incorrectly; expected 0 spaces, found 4
(#5) Expected "} else {\n"; found "}else{\n"
(#7) Line indented incorrectly; expected 0 spaces, found 4
(#8) Whitespace found at end of line
(#9) Line indented incorrectly; expected 0 spaces, found 4
(#9) Expected "if (...) {\n"; found "if(...){\n"
(#11) Line indented incorrectly; expected 0 spaces, found 4
(#16) Line indented incorrectly; expected 12 spaces, found 10
(#16) Expected "if (...) {\n"; found "if(...){?>\n"
(#18) Line indented incorrectly; expected 12 spaces, found 10
(#19) Spaces must be used to indent lines; tabs are not allowed
(#19) Line indented incorrectly; expected 8 spaces, found 7
(#21) Spaces must be used to indent lines; tabs are not allowed
(#22) Spaces must be used to indent lines; tabs are not allowed
(#24) Spaces must be used to indent lines; tabs are not allowed
(#24) Line indented incorrectly; expected 8 spaces, found 6
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Line indented incorrectly; expected 12 spaces, found 9
(#44) Expected "if (...) {\n"; found "if (...){ ?>\n"
(#52) Expected "if (...) {\n"; found "if (...){ ?>\n"
theme/archaius/layout/partials/page_header.php
(#1) The first thing in a PHP file must be the <?php tag.
(#3) Whitespace found at end of line
(#4) No space found before comment text; expected "// Check if the variable exists, if not you have to create it." but found "//Check if the variable exists, if not you have to create it."
(#5) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#5) Expected "if (...) {\n"; found "if(...){\n"
(#6) Line indented incorrectly; expected at least 4 spaces, found 2
(#8) Expected "if (...) {\n"; found "if(...){\n"
(#9) Line indented incorrectly; expected at least 4 spaces, found 2
(#23) Commas (,) must be followed by white space.
(#28) Variable "mobile_logourl" must not contain underscores.
(#30) Variable "mobile_logourl" must not contain underscores.
(#33) Expected "} else {\n"; found "}else{ ?>\n"
(#35) Commas (,) must be followed by white space.
(#42) Line indented incorrectly; expected 12 spaces, found 10
(#42) Expected "if (...) {\n"; found "if(...){ ?>\n"
(#43) Commas (,) must be followed by white space.
(#44) Expected 1 space before "=>"; 0 found
(#44) Expected 1 space after "=>"; 0 found
(#45) Line indented incorrectly; expected 12 spaces, found 10
(#47) Line indented incorrectly; expected 12 spaces, found 10
(#48) Line indented incorrectly; expected 12 spaces, found 10
(#58) Line indented incorrectly; expected 4 spaces, found 2
(#62) Line indented incorrectly; expected 4 spaces, found 2
theme/archaius/layout/report.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#1) "include" must be immediately followed by an open parenthesis
(#1) File is being unconditionally included; use "require" instead
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) 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/>.".
(#4) "include" must be immediately followed by an open parenthesis
(#4) File is being unconditionally included; use "require" instead
(#26) "include" must be immediately followed by an open parenthesis
(#26) File is being unconditionally included; use "require" instead
(#31) Line indented incorrectly; expected 0 spaces, found 4
(#31) Closing brace indented incorrectly; expected 0 spaces, found 4
theme/archaius/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Whitespace found at end of line
(#18) Expected 1 space(s) before asterisk; 0 found
(#18) Whitespace found at end of line
(#19) Expected 1 space(s) before asterisk; 0 found
(#20) Expected 1 space(s) before asterisk; 0 found
(#21) Expected 1 space(s) before asterisk; 0 found
(#21) Expected 1 space after asterisk; 0 found
(#22) Expected 1 space(s) before asterisk; 0 found
(#23) Expected 1 space(s) before asterisk; 0 found
(#24) Expected 1 space(s) before asterisk; 0 found
(#25) Expected 1 space(s) before asterisk; 0 found
(#26) Expected 1 space(s) before asterisk; 0 found
(#31) Whitespace found at end of line
(#32) Expected 1 space(s) before asterisk; 0 found
(#33) Expected 1 space(s) before asterisk; 0 found
(#34) Expected 1 space(s) before asterisk; 0 found
(#34) Expected 1 space after asterisk; 3 found
(#35) Expected 1 space(s) before asterisk; 0 found
(#35) Expected 1 space after asterisk; 3 found
(#36) Expected 1 space(s) before asterisk; 0 found
(#36) Expected 1 space after asterisk; 3 found
(#37) Expected 1 space(s) before asterisk; 0 found
(#38) Expected MOODLE_INTERNAL check or config.php inclusion
(#39) Whitespace found at end of line
(#40) Expected 1 space after "="; newline found
(#40) Whitespace found at end of line
(#42) Expected 1 space after "="; newline found
(#42) Whitespace found at end of line
(#44) Commas (,) must be followed by white space.
(#44) Commas (,) must be followed by white space.
(#46) Expected 1 space after "="; newline found
(#46) Whitespace found at end of line
(#49) Expected 1 space after "="; newline found
(#49) Whitespace found at end of line
(#51) Commas (,) must be followed by white space.
(#51) Commas (,) must be followed by white space.
(#53) Expected 1 space after "="; newline found
(#53) Whitespace found at end of line
(#56) Expected 1 space after "="; newline found
(#56) Whitespace found at end of line
(#58) Commas (,) must be followed by white space.
(#58) Commas (,) must be followed by white space.
(#59) Whitespace found at end of line
(#60) Expected 1 space after "="; newline found
(#60) Whitespace found at end of line
(#63) Expected 1 space after "="; newline found
(#63) Whitespace found at end of line
(#65) Commas (,) must be followed by white space.
(#65) Commas (,) must be followed by white space.
(#67) Expected 1 space after "="; newline found
(#67) Whitespace found at end of line
(#70) Expected 1 space after "="; newline found
(#70) Whitespace found at end of line
(#72) Commas (,) must be followed by white space.
(#72) Commas (,) must be followed by white space.
(#74) Expected 1 space after "="; newline found
(#74) Whitespace found at end of line
(#77) Whitespace found at end of line
(#78) Expected 1 space after "="; newline found
(#78) Whitespace found at end of line
(#80) Commas (,) must be followed by white space.
(#80) Commas (,) must be followed by white space.
(#82) Expected 1 space after "="; newline found
(#85) Expected 1 space after "="; newline found
(#85) Whitespace found at end of line
(#87) Commas (,) must be followed by white space.
(#87) Commas (,) must be followed by white space.
(#89) Expected 1 space after "="; newline found
(#92) Commas (,) must be followed by white space.
(#97) Expected "if (...) {\n"; found "if(...){\n"
(#98) Whitespace found at end of line
(#99) Expected "} else {\n"; found "}else{\n"
(#100) Commas (,) must be followed by white space.
(#102) Whitespace found at end of line
(#106) Whitespace found at end of line
(#107) Expected 1 space(s) before asterisk; 0 found
(#108) Expected 1 space(s) before asterisk; 0 found
(#108) Expected 1 space after asterisk; 3 found
(#109) Expected 1 space(s) before asterisk; 0 found
(#109) Expected 1 space after asterisk; 3 found
(#110) Expected 1 space(s) before asterisk; 0 found
(#111) Expected 1 space after closing parenthesis; found 0
(#112) Inline control structures are not allowed
(#112) Whitespace found at end of line
(#117) Whitespace found at end of line
(#118) Expected 1 space(s) before asterisk; 0 found
(#119) Expected 1 space(s) before asterisk; 0 found
(#119) Expected 1 space after asterisk; 3 found
(#120) Expected 1 space(s) before asterisk; 0 found
(#120) Expected 1 space after asterisk; 3 found
(#121) Expected 1 space(s) before asterisk; 0 found
(#121) Expected 1 space after asterisk; 3 found
(#122) Expected 1 space(s) before asterisk; 0 found
(#123) Commas (,) must be followed by white space.
(#123) Commas (,) must be followed by white space.
(#123) Expected 1 space after closing parenthesis; found 0
(#128) Whitespace found at end of line
(#131) Whitespace found at end of line
(#132) Expected 1 space(s) before asterisk; 0 found
(#133) Expected 1 space(s) before asterisk; 0 found
(#134) Expected 1 space(s) before asterisk; 0 found
(#135) Expected 1 space(s) before asterisk; 0 found
(#136) Expected 1 space(s) before asterisk; 0 found
(#136) Expected 1 space after asterisk; 3 found
(#137) Expected 1 space(s) before asterisk; 0 found
(#137) Expected 1 space after asterisk; 3 found
(#137) Whitespace found at end of line
(#138) Expected 1 space(s) before asterisk; 0 found
(#138) Expected 1 space after asterisk; 3 found
(#139) Expected 1 space(s) before asterisk; 0 found
(#143) Expected "if (...) {\n"; found "if (...){\n"
(#145) Expected "} else {\n"; found "}else{\n"
(#146) Inline comments must start with a capital letter, digit or 3-dots sequence
(#146) No space found before comment text; expected "// pixel is used and the can't be float." but found "//pixel is used and the can't be float."
(#148) Whitespace found at end of line
(#155) Whitespace found at end of line
(#156) Expected 1 space(s) before asterisk; 0 found
(#157) Expected 1 space(s) before asterisk; 0 found
(#157) Whitespace found at end of line
(#158) Expected 1 space(s) before asterisk; 0 found
(#158) Expected 1 space after asterisk; 3 found
(#159) Expected 1 space(s) before asterisk; 0 found
(#159) Expected 1 space after asterisk; 3 found
(#160) Expected 1 space(s) before asterisk; 0 found
(#160) Expected 1 space after asterisk; 3 found
(#161) Expected 1 space(s) before asterisk; 0 found
(#161) Expected 1 space after asterisk; 3 found
(#162) Expected 1 space(s) before asterisk; 0 found
(#163) Commas (,) must be followed by white space.
(#164) Variable "tag_position" must not contain underscores.
(#165) Variable "replacement_position" must not contain underscores.
(#166) Variable "tag_margin" must not contain underscores.
(#167) Variable "replacement_margin" must not contain underscores.
(#168) Expected "if (...) {\n"; found "if (...){\n"
(#168) Variable "replacement_position" must not contain underscores.
(#169) Variable "replacement_position" must not contain underscores.
(#171) Expected "if (...) {\n"; found "if(...){\n"
(#171) Variable "replacement_margin" must not contain underscores.
(#172) Variable "replacement_margin" must not contain underscores.
(#174) Variable "tag_position" must not contain underscores.
(#174) Variable "replacement_position" must not contain underscores.
(#175) Variable "tag_margin" must not contain underscores.
(#175) Variable "replacement_margin" must not contain underscores.
(#179) Whitespace found at end of line
(#180) Expected 1 space(s) before asterisk; 0 found
(#181) Expected 1 space(s) before asterisk; 0 found
(#182) Expected 1 space(s) before asterisk; 0 found
(#182) Expected 1 space after asterisk; 3 found
(#183) Expected 1 space(s) before asterisk; 0 found
(#183) Expected 1 space after asterisk; 3 found
(#184) Expected 1 space(s) before asterisk; 0 found
(#185) Expected 1 space after closing parenthesis; found 0
(#207) Whitespace found at end of line
(#208) Expected 1 space after closing parenthesis; found 0
(#214) Whitespace found at end of line
(#215) Whitespace found at end of line
(#216) Whitespace found at end of line
(#219) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#221) Usage of ELSEIF not allowed; use ELSE IF instead
(#224) Whitespace found at end of line
(#225) Whitespace found at end of line
(#226) Whitespace found at end of line
(#230) Expected "} else {\n"; found "}else{\n"
(#238) Expected "} else {\n"; found "}else {\n"
(#240) Whitespace found at end of line
(#241) Whitespace found at end of line
(#242) Whitespace found at end of line
(#243) Whitespace found at end of line
(#246) Whitespace found at end of line
(#252) Whitespace found at end of line
(#253) Expected 1 space(s) before asterisk; 0 found
(#254) Expected 1 space(s) before asterisk; 0 found
(#254) Expected 1 space after asterisk; 3 found
(#255) Expected 1 space(s) before asterisk; 0 found
(#256) Whitespace found at end of line
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) No space found before comment text; expected "// Load responsive slideshow only when the effect is active" but found "//Load responsive slideshow only when the effect is active"
(#262) Variable "slideshow_active" must not contain underscores.
(#262) Expected 1 space after "="; newline found
(#262) Whitespace found at end of line
(#263) Expected 1 space after "?"; newline found
(#266) Inline control structures are not allowed
(#266) Variable "slideshow_active" must not contain underscores.
(#269) Inline comments must end in full-stops, exclamation marks, or question marks
(#269) No space found before comment text; expected "// CORE JQUERY PLUGINS" but found "//CORE JQUERY PLUGINS"
(#270) Whitespace found at end of line
(#271) Whitespace found at end of line
(#272) Whitespace found at end of line
(#274) Variable "accordion_blocks_active" must not contain underscores.
(#274) Expected 1 space after "="; newline found
(#274) Whitespace found at end of line
(#275) Expected 1 space after "?"; newline found
(#278) Inline comments must end in full-stops, exclamation marks, or question marks
(#278) No space found before comment text; expected "// Load accordion blocks only when the effect is active" but found "//Load accordion blocks only when the effect is active"
(#279) Inline control structures are not allowed
(#279) Variable "accordion_blocks_active" must not contain underscores.
(#283) No space found before comment text; expected "// To translate items in the customenu, it is from:" but found "//To translate items in the customenu, it is from:"
(#284) Inline comments must end in full-stops, exclamation marks, or question marks
(#288) Whitespace found at end of line
(#289) Whitespace found at end of line
(#290) Whitespace found at end of line
(#291) Whitespace found at end of line
(#295) Whitespace found at end of line
(#297) Whitespace found at end of line
(#306) Whitespace found at end of line
(#308) Whitespace found at end of line
theme/archaius/renderers.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Whitespace found at end of line
(#20) Expected MOODLE_INTERNAL check or config.php inclusion
(#32) Visibility must be declared on method "block"
(#50) Line exceeds 132 characters; contains 151 characters
(#62) Line exceeds 132 characters; contains 141 characters
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#68) Line exceeds maximum limit of 180 characters; contains 212 characters
(#73) Expected 1 space before "=>"; 0 found
(#73) Expected 1 space after "=>"; 0 found
(#82) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#83) Whitespace found at end of line
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) No space found before comment text; expected "// TODO: Check this in a different way" but found "//TODO: Check this in a different way"
(#110) Expected "} else {\n"; found "}else{\n"
(#111) Inline control structures are not allowed
(#118) Inline comments must start with a capital letter, digit or 3-dots sequence
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Whitespace found at end of line
(#124) Inline comments must start with a capital letter, digit or 3-dots sequence
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) No space found before comment text; expected "// navigation mycourses is no supported since 2.4" but found "//navigation mycourses is no supported since 2.4"
(#125) Whitespace found at end of line
(#126) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#126) Whitespace found at end of line
(#127) Whitespace found at end of line
(#128) Space found before semicolon; expected ");" but found ") ;"
(#131) Space found before semicolon; expected "8000;" but found "8000 ;"
(#133) Whitespace found at end of line
(#136) Whitespace found at end of line
(#137) Whitespace found at end of line
(#143) Variable "course_id" must not contain underscores.
(#144) Variable "course_id" must not contain underscores.
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#152) No space found before comment text; expected "// From boostrapbase" but found "//From boostrapbase"
(#161) Whitespace found at end of line
(#168) Expected 1 space after "="; 2 found
(#173) Whitespace found at end of line
(#175) Whitespace found at end of line
(#177) Whitespace found at end of line
(#184) Whitespace found at end of line
theme/archaius/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Whitespace found at end of line
(#24) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) Commas (,) must be followed by white space.
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) No space found before comment text; expected "// Mobile Logo setting" but found "//Mobile Logo setting"
(#34) Commas (,) must be followed by white space.
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Commas (,) must be followed by white space.
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Line exceeds maximum limit of 180 characters; contains 181 characters
(#49) No space found before comment text; expected "// Background color" but found "//Background color"
(#49) Whitespace found at end of line
(#51) Commas (,) must be followed by white space.
(#55) Expected 1 space before "=>"; 0 found
(#55) Expected 1 space after "=>"; 0 found
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#59) Whitespace found at end of line
(#60) Whitespace found at end of line
(#61) Whitespace found at end of line
(#62) Whitespace found at end of line
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Commas (,) must be followed by white space.
(#74) Expected 1 space before "=>"; 0 found
(#74) Expected 1 space after "=>"; 0 found
(#75) Expected 1 space before "=>"; 0 found
(#75) Expected 1 space after "=>"; 0 found
(#78) Whitespace found at end of line
(#79) Whitespace found at end of line
(#80) Whitespace found at end of line
(#81) Whitespace found at end of line
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Commas (,) must be followed by white space.
(#93) Expected 1 space before "=>"; 0 found
(#93) Whitespace found at end of line
(#94) Expected 1 space before "=>"; 0 found
(#94) Expected 1 space after "=>"; 0 found
(#97) Whitespace found at end of line
(#98) Whitespace found at end of line
(#99) Whitespace found at end of line
(#100) Whitespace found at end of line
(#106) Inline comments must start with a capital letter, digit or 3-dots sequence
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Commas (,) must be followed by white space.
(#112) Expected 1 space before "=>"; 0 found
(#112) Whitespace found at end of line
(#113) Expected 1 space before "=>"; 0 found
(#113) Expected 1 space after "=>"; 0 found
(#116) Whitespace found at end of line
(#117) Whitespace found at end of line
(#118) Whitespace found at end of line
(#119) Whitespace found at end of line
(#125) Inline comments must start with a capital letter, digit or 3-dots sequence
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) Commas (,) must be followed by white space.
(#131) Expected 1 space before "=>"; 0 found
(#132) Expected 1 space before "=>"; 0 found
(#132) Expected 1 space after "=>"; 0 found
(#135) Whitespace found at end of line
(#136) Whitespace found at end of line
(#137) Whitespace found at end of line
(#138) Whitespace found at end of line
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Commas (,) must be followed by white space.
(#151) Expected 1 space before "=>"; 0 found
(#152) Expected 1 space before "=>"; 0 found
(#152) Expected 1 space after "=>"; 0 found
(#155) Whitespace found at end of line
(#156) Whitespace found at end of line
(#157) Whitespace found at end of line
(#158) Whitespace found at end of line
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) Whitespace found at end of line
(#171) Whitespace found at end of line
(#172) Whitespace found at end of line
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) No space found before comment text; expected "// Activate collapsible topics" but found "//Activate collapsible topics"
(#183) Whitespace found at end of line
(#184) Whitespace found at end of line
(#185) Whitespace found at end of line
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) No space found before comment text; expected "// Activate Hide Show Blocks" but found "//Activate Hide Show Blocks"
(#191) Whitespace found at end of line
(#196) Whitespace found at end of line
(#197) Whitespace found at end of line
(#198) Whitespace found at end of line
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) No space found before comment text; expected "// Activate Slideshow" but found "//Activate Slideshow"
(#209) Whitespace found at end of line
(#210) Whitespace found at end of line
(#211) Whitespace found at end of line
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
(#217) No space found before comment text; expected "// Activate pause/play Slideshow" but found "//Activate pause/play Slideshow"
(#225) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) Commas (,) must be followed by white space.
(#231) Whitespace found at end of line
(#232) Whitespace found at end of line
(#233) Whitespace found at end of line
(#234) Whitespace found at end of line
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#243) Commas (,) must be followed by white space.
(#247) Whitespace found at end of line
(#248) Whitespace found at end of line
(#249) Whitespace found at end of line
(#250) Whitespace found at end of line
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#259) Commas (,) must be followed by white space.
(#263) Whitespace found at end of line
(#264) Whitespace found at end of line
(#265) Whitespace found at end of line
(#271) Inline comments must end in full-stops, exclamation marks, or question marks
(#273) Commas (,) must be followed by white space.
(#277) Whitespace found at end of line
(#278) Whitespace found at end of line
(#279) Whitespace found at end of line
theme/archaius/slideshow/controllers/slides_controller.php
(#1) Whitespace found at end of line
(#1) The opening <?php tag must be followed by exactly one newline.
(#22) No space found before comment text; expected "// TODO : I will implement this logic again, I dont like it." but found "//TODO : I will implement this logic again, I dont like it."
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) No space found before comment text; expected "// Imports" but found "//Imports"
(#28) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) No space found before comment text; expected "// Page parameters" but found "//Page parameters"
(#42) Spaces must be used to indent lines; tabs are not allowed
(#42) Tab found within whitespace
(#42) Line indented incorrectly; expected 4 spaces, found 1
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#43) Line indented incorrectly; expected at least 8 spaces, found 2
(#43) No space found before comment text; expected "// Creating URL which is going to be use as page URL." but found "//Creating URL which is going to be use as page URL."
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Tab found within whitespace
(#44) Line indented incorrectly; expected at least 8 spaces, found 2
(#44) Whitespace found at end of line
(#45) Spaces must be used to indent lines; tabs are not allowed
(#45) Tab found within whitespace
(#45) Line indented incorrectly; expected at least 8 spaces, found 6
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Tab found within whitespace
(#46) Line indented incorrectly; expected at least 8 spaces, found 7
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Whitespace found at end of line
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected at least 8 spaces, found 6
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected at least 11 spaces, found 2
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected at least 11 spaces, found 2
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected at least 11 spaces, found 2
(#54) "include" must be immediately followed by an open parenthesis
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Whitespace found at end of line
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected 4 spaces, found 1
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected at least 8 spaces, found 2
(#58) No space found before comment text; expected "// Creating URL which is going to be use as page URL." but found "//Creating URL which is going to be use as page URL."
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 8 spaces, found 2
(#59) Whitespace found at end of line
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#60) Line indented incorrectly; expected at least 8 spaces, found 6
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Whitespace found at end of line
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Line indented incorrectly; expected at least 8 spaces, found 6
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected at least 11 spaces, found 2
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 11 spaces, found 2
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 11 spaces, found 2
(#67) "include" must be immediately followed by an open parenthesis
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected 4 spaces, found 1
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Line indented incorrectly; expected at least 8 spaces, found 2
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Line indented incorrectly; expected at least 8 spaces, found 2
(#72) Commas (,) must be followed by white space.
(#72) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected at least 8 spaces, found 2
(#77) "include" must be immediately followed by an open parenthesis
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected 4 spaces, found 1
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected at least 8 spaces, found 2
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Whitespace found at end of line
theme/archaius/slideshow/helpers/ArchaiusSliderHelper.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#16) Whitespace found at end of line
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) No space found before comment text; expected "// Imports" but found "//Imports"
(#27) Whitespace found at end of line
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) "require" must be immediately followed by an open parenthesis
(#33) Whitespace found at end of line
(#46) Expected 1 space after closing parenthesis; found 0
(#50) Whitespace found at end of line
(#51) Expected 5 space(s) before asterisk; 4 found
(#52) Expected 5 space(s) before asterisk; 4 found
(#52) Expected 1 space after asterisk; 3 found
(#53) Expected 5 space(s) before asterisk; 4 found
(#53) Expected 1 space after asterisk; 3 found
(#54) Expected 5 space(s) before asterisk; 4 found
(#55) Public method name "ArchaiusSliderHelper::Instance" must be in lower-case letters only
(#55) Expected 1 space after closing parenthesis; found 0
(#68) Expected 1 space after closing parenthesis; found 0
(#70) Variable "html_slider" must not contain underscores.
(#70) Whitespace found at end of line
(#71) Whitespace found at end of line
(#73) Variable "html_slider" must not contain underscores.
(#73) Whitespace found at end of line
(#74) Commas (,) must be followed by white space.
(#76) Expected "if (...) {\n"; found "if(...){\n"
(#77) Whitespace found at end of line
(#78) Variable "html_slider" must not contain underscores.
(#78) Whitespace found at end of line
(#79) Variable "html_slider" must not contain underscores.
(#80) Variable "html_slider" must not contain underscores.
(#80) Whitespace found at end of line
(#81) Whitespace found at end of line
(#82) Variable "html_slider" must not contain underscores.
(#82) Expected 1 space after ".="; 2 found
(#82) Whitespace found at end of line
(#83) Variable "html_slider" must not contain underscores.
(#83) Expected 1 space after ".="; 2 found
(#83) Whitespace found at end of line
(#84) Expected "} else {\n"; found "}else{\n"
(#85) Variable "html_slider" must not contain underscores.
(#85) Expected 1 space after ".="; 2 found
(#86) Variable "html_slider" must not contain underscores.
(#86) Expected 1 space after ".="; 2 found
(#86) Whitespace found at end of line
(#92) Variable "html_slider" must not contain underscores.
(#92) Expected 1 space after ".="; 2 found
(#92) Whitespace found at end of line
(#93) Variable "html_slider" must not contain underscores.
(#93) Expected 1 space after ".="; 2 found
(#93) Whitespace found at end of line
(#95) Variable "html_slider" must not contain underscores.
(#98) Whitespace found at end of line
(#99) Expected 5 space(s) before asterisk; 4 found
(#100) Expected 5 space(s) before asterisk; 4 found
(#100) Expected 1 space after asterisk; 3 found
(#101) Expected 5 space(s) before asterisk; 4 found
(#102) Expected 1 space after closing parenthesis; found 0
(#112) Expected 1 space after closing parenthesis; found 0
(#113) Commas (,) must be followed by white space.
(#113) Commas (,) must be followed by white space.
(#114) Variable "html_admin_options" must not contain underscores.
(#114) Whitespace found at end of line
(#117) Variable "base_link" must not contain underscores.
(#121) Variable "link_to_add" must not contain underscores.
(#121) Whitespace found at end of line
(#124) Variable "base_link" must not contain underscores.
(#124) Whitespace found at end of line
(#127) Variable "link_to_add" must not contain underscores.
(#131) Variable "link_to_add" must not contain underscores.
(#131) Commas (,) must be followed by white space.
(#132) Variable "link_to_add" must not contain underscores.
(#133) Variable "link_to_add" must not contain underscores.
(#133) Whitespace found at end of line
(#135) Variable "link_to_add" must not contain underscores.
(#138) Variable "link_to_add" must not contain underscores.
(#138) Expected 1 space after ".="; 2 found
(#139) Variable "html_admin_options" must not contain underscores.
(#139) Variable "link_to_add" must not contain underscores.
(#141) Expected "if (...) {\n"; found "if(...){\n"
(#143) Whitespace found at end of line
(#145) Commas (,) must be followed by white space.
(#145) Whitespace found at end of line
(#146) Whitespace found at end of line
(#152) Variable "base_link" must not contain underscores.
(#152) Expected 1 space after "="; newline found
(#152) Whitespace found at end of line
(#153) Whitespace found at end of line
(#157) Variable "delete_link" must not contain underscores.
(#157) Expected 1 space after "="; 2 found
(#157) Variable "base_link" must not contain underscores.
(#158) Whitespace found at end of line
(#161) Variable "edit_link" must not contain underscores.
(#161) Variable "base_link" must not contain underscores.
(#161) Whitespace found at end of line
(#162) Whitespace found at end of line
(#165) Whitespace found at end of line
(#168) Variable "edit_link" must not contain underscores.
(#168) Commas (,) must be followed by white space.
(#168) Variable "delete_link" must not contain underscores.
(#173) Variable "html_admin_options" must not contain underscores.
(#175) Expected "} else {\n"; found "}else{\n"
(#176) Variable "html_admin_options" must not contain underscores.
(#176) Whitespace found at end of line
(#177) Variable "html_admin_options" must not contain underscores.
(#177) Expected 1 space after ".="; 2 found
(#177) Commas (,) must be followed by white space.
(#179) Variable "html_admin_options" must not contain underscores.
(#179) Expected 1 space after ".="; 2 found
(#180) Variable "html_admin_options" must not contain underscores.
(#180) Whitespace found at end of line
(#189) Expected 1 space after closing parenthesis; found 0
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) No space found before comment text; expected "// Take a look in forum lib line 4035" but found "//Take a look in forum lib line 4035"
(#192) Expected 1 space after "="; newline found
(#192) Whitespace found at end of line
(#194) Whitespace found at end of line
(#196) Whitespace found at end of line
(#197) Whitespace found at end of line
(#201) Whitespace found at end of line
theme/archaius/slideshow/models/ArchaiusSlider.class.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#8) Line 7 of the opening comment must start "//".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#13) Line 12 of the opening comment must start "//".
(#13) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
(#24) Spaces must be used to indent lines; tabs are not allowed
(#24) Tab found within whitespace
(#24) Whitespace found at end of line
(#25) Spaces must be used to indent lines; tabs are not allowed
(#25) Tab found within whitespace
(#25) Line indented incorrectly; expected 4 spaces, found 1
(#26) Spaces must be used to indent lines; tabs are not allowed
(#26) Tab found within whitespace
(#26) Line indented incorrectly; expected 4 spaces, found 1
(#28) Spaces must be used to indent lines; tabs are not allowed
(#28) Tab found within whitespace
(#28) Line indented incorrectly; expected 4 spaces, found 1
(#28) Expected 1 space after closing parenthesis; found 0
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected at least 8 spaces, found 2
(#31) Spaces must be used to indent lines; tabs are not allowed
(#31) Tab found within whitespace
(#31) Line indented incorrectly; expected 4 spaces, found 1
(#32) Spaces must be used to indent lines; tabs are not allowed
(#32) Tab found within whitespace
(#32) Line indented incorrectly; expected at least 4 spaces, found 1
(#32) Whitespace found at end of line
(#33) Spaces must be used to indent lines; tabs are not allowed
(#33) Expected 2 space(s) before asterisk; 1 found
(#33) Spaces must be used for alignment; tabs are not allowed
(#34) Spaces must be used for alignment; tabs are not allowed
(#34) Expected 2 space(s) before asterisk; 1 found
(#34) Expected 1 space after asterisk; 1 found
(#34) Spaces must be used for alignment; tabs are not allowed
(#35) Spaces must be used for alignment; tabs are not allowed
(#35) Expected 2 space(s) before asterisk; 1 found
(#36) Spaces must be used for alignment; tabs are not allowed
(#36) Tab found within whitespace
(#36) Line indented incorrectly; expected 4 spaces, found 1
(#36) Public method name "ArchaiusSlider::Instance" must be in lower-case letters only
(#36) Expected 1 space after closing parenthesis; found 0
(#41) Closing brace indented incorrectly; expected 1 spaces, found 4
(#43) Whitespace found at end of line
(#44) Expected 5 space(s) before asterisk; 4 found
(#45) Expected 5 space(s) before asterisk; 4 found
(#45) Expected 1 space after asterisk; 3 found
(#46) Expected 5 space(s) before asterisk; 4 found
(#48) Expected 1 space after closing parenthesis; found 0
(#49) Spaces must be used for alignment; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected at least 8 spaces, found 5
(#52) Spaces must be used for alignment; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected at least 4 spaces, found 1
(#52) Whitespace found at end of line
(#53) Spaces must be used for alignment; tabs are not allowed
(#53) Expected 2 space(s) before asterisk; 1 found
(#53) Spaces must be used for alignment; tabs are not allowed
(#54) Spaces must be used for alignment; tabs are not allowed
(#54) Expected 2 space(s) before asterisk; 1 found
(#54) Expected 1 space after asterisk; 1 found
(#54) Spaces must be used for alignment; tabs are not allowed
(#55) Spaces must be used for alignment; tabs are not allowed
(#55) Expected 2 space(s) before asterisk; 1 found
(#56) Spaces must be used for alignment; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected 4 spaces, found 1
(#56) Expected 1 space after closing parenthesis; found 0
(#57) Spaces must be used for alignment; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected at least 8 spaces, found 2
(#58) Spaces must be used for alignment; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected at least 8 spaces, found 2
(#58) Expected 1 space before "="; 0 found
(#59) Spaces must be used for alignment; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 8 spaces, found 5
(#59) Expected 1 space before "="; 0 found
(#60) Spaces must be used for alignment; tabs are not allowed
(#60) Tab found within whitespace
(#60) Line indented incorrectly; expected at least 8 spaces, found 5
(#61) Spaces must be used for alignment; tabs are not allowed
(#61) Tab found within whitespace
(#61) Line indented incorrectly; expected 4 spaces, found 1
theme/archaius/slideshow/views/add_slide.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#8) Line 7 of the opening comment must start "//".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#13) Line 12 of the opening comment must start "//".
(#13) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#16) Whitespace found at end of line
(#23) Whitespace found at end of line
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) No space found before comment text; expected "// imports" but found "//imports"
(#26) Whitespace found at end of line
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Commas (,) must be followed by white space.
(#29) Commas (,) must be followed by white space.
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) No space found before comment text; expected "// Check is user has enough privileges" but found "//Check is user has enough privileges"
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) No space found before comment text; expected "// If the user is a guest die, because guest users can't update slides" but found "//If the user is a guest die, because guest users can't update slides"
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) No space found before comment text; expected "// Checking if logged user has the capability to update slides" but found "//Checking if logged user has the capability to update slides"
(#41) Expected "if (...) {\n"; found "if(...){\n"
(#41) Whitespace found at end of line
(#42) Commas (,) must be followed by white space.
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) No space found before comment text; expected "// Set information page" but found "//Set information page"
(#50) No space found before comment text; expected "// Setting options for text editor which is going to be use to create the" but found "//Setting options for text editor which is going to be use to create the"
(#51) No space found before comment text; expected "// slide." but found "//slide."
(#53) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space before "=>"; 0 found
(#54) Whitespace found at end of line
(#55) Expected 1 space before "=>"; 0 found
(#55) Whitespace found at end of line
(#56) Expected 1 space before "=>"; 0 found
(#60) No space found before comment text; expected "// Create and fill a generic object to store the information that is going to" but found "//Create and fill a generic object to store the information that is going to"
(#60) Whitespace found at end of line
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) No space found before comment text; expected "// be set" but found "//be set"
(#69) No space found before comment text; expected "// Create the moodle form using slide_form and send extra information." but found "//Create the moodle form using slide_form and send extra information."
(#70) Whitespace found at end of line
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) No space found before comment text; expected "// Someone has hit the 'cancel' button" but found "//Someone has hit the 'cancel' button"
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) No space found before comment text; expected "// Process request if the information was submitted" but found "//Process request if the information was submitted"
(#85) Whitespace found at end of line
(#86) Expected "try {\n...} catch (...) {\n"; found "try{\n...}catch(...){\n"
(#89) Expected "if (...) {\n"; found "if(...){\n"
(#90) Whitespace found at end of line
(#91) Expected "} else {\n"; found "}else{\n"
(#94) Whitespace found at end of line
(#96) No space found before comment text; expected "// Item id for all files related with slides." but found "//Item id for all files related with slides."
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) No space found before comment text; expected "// Insert record with the basic information about the slide" but found "//Insert record with the basic information about the slide"
(#99) Whitespace found at end of line
(#100) Commas (,) must be followed by white space.
(#101) Expected 1 space after "="; 2 found
(#104) Whitespace found at end of line
(#105) Whitespace found at end of line
(#106) Whitespace found at end of line
(#107) Whitespace found at end of line
(#108) Whitespace found at end of line
(#109) Whitespace found at end of line
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) No space found before comment text; expected "// Draw the form" but found "//Draw the form"
(#120) Whitespace found at end of line
theme/archaius/slideshow/views/delete_slide.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#8) Line 7 of the opening comment must start "//".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#13) Line 12 of the opening comment must start "//".
(#13) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#16) Whitespace found at end of line
(#23) Whitespace found at end of line
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) No space found before comment text; expected "// imports" but found "//imports"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) Whitespace found at end of line
(#28) Spaces must be used to indent lines; tabs are not allowed
(#28) Tab found within whitespace
(#41) Expected "if (...) {\n"; found "if(...){\n"
(#41) Whitespace found at end of line
(#42) Spaces must be used to indent lines; tabs are not allowed
(#42) Tab found within whitespace
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#43) Line indented incorrectly; expected at least 4 spaces, found 1
(#43) Commas (,) must be followed by white space.
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Tab found within whitespace
(#44) Line indented incorrectly; expected at least 4 spaces, found 1
(#45) Spaces must be used to indent lines; tabs are not allowed
(#45) Tab found within whitespace
(#45) Line indented incorrectly; expected at least 4 spaces, found 1
(#45) Variable "related_files" must not contain underscores.
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Tab found within whitespace
(#46) Line indented incorrectly; expected at least 4 spaces, found 3
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#47) Line indented incorrectly; expected 4 spaces, found 1
(#47) Variable "related_files" must not contain underscores.
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected at least 8 spaces, found 2
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected 4 spaces, found 1
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected 4 spaces, found 1
(#50) Expected "if (...) {\n"; found "if(...){\n"
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected at least 8 spaces, found 2
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected 4 spaces, found 1
(#52) Expected "} else {\n"; found "}else{\n"
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#53) Line indented incorrectly; expected at least 8 spaces, found 2
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected 4 spaces, found 1
(#55) Expected "} else {\n"; found "}else{\n"
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected at least 4 spaces, found 1
theme/archaius/slideshow/views/edit_slide.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#17) Whitespace found at end of line
(#24) Whitespace found at end of line
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Commas (,) must be followed by white space.
(#39) Expected "if (...) {\n"; found "if(...){\n"
(#39) Whitespace found at end of line
(#53) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space before "=>"; 0 found
(#54) Whitespace found at end of line
(#55) Expected 1 space before "=>"; 0 found
(#55) Whitespace found at end of line
(#56) Expected 1 space before "=>"; 0 found
(#61) Expected "if (...) {\n"; found "if(...){\n"
(#61) The use of function sizeof() is forbidden; use count() instead
(#63) Whitespace found at end of line
(#64) Whitespace found at end of line
(#65) Whitespace found at end of line
(#66) Whitespace found at end of line
(#73) Commas (,) must be followed by white space.
(#74) Commas (,) must be followed by white space.
(#74) Commas (,) must be followed by white space.
(#74) Commas (,) must be followed by white space.
(#74) Commas (,) must be followed by white space.
(#75) Commas (,) must be followed by white space.
(#75) Commas (,) must be followed by white space.
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) No space found before comment text; expected "// Someone has hit the 'cancel' button" but found "//Someone has hit the 'cancel' button"
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) No space found before comment text; expected "// Form has been submitted" but found "//Form has been submitted"
(#81) Whitespace found at end of line
(#82) Expected "try {\n...} catch (...) {\n"; found "try{\n...}catch(...){\n"
(#87) Expected "if (...) {\n"; found "if(...){\n"
(#88) Whitespace found at end of line
(#89) Expected "} else {\n"; found "}else{\n"
(#92) Whitespace found at end of line
(#93) No space found before comment text; expected "// Set Description_editor variable on $record Object to be processed" but found "//Set Description_editor variable on $record Object to be processed"
(#94) No space found before comment text; expected "// using file_postupdate standard function." but found "//using file_postupdate standard function."
(#94) Whitespace found at end of line
(#95) Expected 1 space after "="; 2 found
(#98) Whitespace found at end of line
(#99) Whitespace found at end of line
(#100) Whitespace found at end of line
(#101) Whitespace found at end of line
(#102) Whitespace found at end of line
(#103) Whitespace found at end of line
(#106) Whitespace found at end of line
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) No space found before comment text; expected "// Update record on database to store description with rewrite urls" but found "//Update record on database to store description with rewrite urls"
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) No space found before comment text; expected "// Draw the form" but found "//Draw the form"
theme/archaius/slideshow/views/slide_form.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#8) Line 7 of the opening comment must start "//".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#13) Line 12 of the opening comment must start "//".
(#13) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#16) Whitespace found at end of line
(#23) Whitespace found at end of line
(#32) Visibility must be declared on method "definition"
(#36) Expected 1 space before "="; 0 found
(#36) Expected 1 space after "="; 0 found
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#37) Variable "default_values" must not contain underscores.
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Whitespace found at end of line
(#41) Whitespace found at end of line
(#42) Commas (,) must be followed by white space.
(#44) Whitespace found at end of line
(#45) Whitespace found at end of line
(#46) Whitespace found at end of line
(#47) Whitespace found at end of line
(#50) Whitespace found at end of line
(#52) Whitespace found at end of line
(#53) Whitespace found at end of line
(#55) Whitespace found at end of line
(#56) Variable "default_values" must not contain underscores.
(#61) Whitespace found at end of line
(#62) Commas (,) must be followed by white space.
(#62) Whitespace found at end of line
(#63) Whitespace found at end of line
(#64) Whitespace found at end of line
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Whitespace found at end of line
(#70) Whitespace found at end of line
(#71) Whitespace found at end of line
(#72) Variable "default_values" must not contain underscores.
(#78) Whitespace found at end of line
(#79) Whitespace found at end of line
(#80) Variable "default_values" must not contain underscores.
(#86) Whitespace found at end of line
(#87) Whitespace found at end of line
(#88) Variable "default_values" must not contain underscores.
(#93) No space found before comment text; expected "// Set default values when the user is editing." but found "//Set default values when the user is editing."
(#94) Expected "if (...) {\n"; found "if(...){\n"
(#94) Variable "default_values" must not contain underscores.
(#96) Whitespace found at end of line
(#97) Whitespace found at end of line
(#98) Variable "default_values" must not contain underscores.
(#103) Whitespace found at end of line
(#104) Whitespace found at end of line
(#105) Variable "default_values" must not contain underscores.
(#109) Whitespace found at end of line
(#111) Expected "if (...) {\n"; found "if(...){\n"
(#111) Variable "default_values" must not contain underscores.
(#113) Whitespace found at end of line
(#114) Variable "default_values" must not contain underscores.
(#114) Whitespace found at end of line
(#115) Expected 1 space after "=>"; 2 found
(#118) Expected "if (...) {\n"; found "if(...){\n"
(#118) Variable "default_values" must not contain underscores.
(#119) Variable "default_values" must not contain underscores.
(#119) Whitespace found at end of line
(#122) Inline comments must start with a capital letter, digit or 3-dots sequence
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
theme/archaius/version.php
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Whitespace found at end of line
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Whitespace found at end of line
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Whitespace found at end of line

Javascript coding style problems

(7 errors, 856 warnings)

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

theme/archaius/Gruntfile.js
(#42) Duplicate key 'style/archaius.css'.
theme/archaius/javascript/archaius.js
(#41) Missing semicolon.
(#69) Missing semicolon.
(#74) Missing semicolon.
(#168) Line is too long.
(#169) Expected '!==' and instead saw '!='.
(#170) Expected '!==' and instead saw '!='.
(#176) Expected '!==' and instead saw '!='.
(#182) Expected '===' and instead saw '=='.
(#202) Line is too long.
(#205) Line is too long.
(#221) Expected '===' and instead saw '=='.
(#225) Line is too long.
(#279) Expected '===' and instead saw '=='.
(#287) Expected '!==' and instead saw '!='.
(#287) Expected '===' and instead saw '=='.
(#302) 'slideshowTimeout' is already defined.
(#317) Missing semicolon.
(#333) 'action' is already defined.
(#379) Expected '===' and instead saw '=='.
(#383) Expected '===' and instead saw '=='.
(#403) Expected '===' and instead saw '=='.
(#403) Expected '===' and instead saw '=='.
(#406) Expected '===' and instead saw '=='.
(#407) Expected '{' and instead saw 'itemClass'.
(#422) Expected '===' and instead saw '=='.
(#438) Expected '!==' and instead saw '!='.
(#441) Expected '!==' and instead saw '!='.
(#449) Expected '!==' and instead saw '!='.
(#452) Expected '!==' and instead saw '!='.
(#518) 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.
(#518) Expected an assignment or function call and instead saw an expression.
(#350) 'index' is defined but never used.
(#411) 'content' is defined but never used.
theme/archaius/javascript/modernizr-2.7.1.js
(#4) Line is too long.
(#4) Unnecessary semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Unexpected use of '~'.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Expected '{' and instead saw 'return'.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '{' and instead saw 'return'.
(#4) Confusing use of '!'.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '{' and instead saw 'while'.
(#4) Expected '{' and instead saw 'j'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected '{' and instead saw 'return'.
(#4) ['position'] is better written in dot notation.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Expected '{' and instead saw 'throw'.
(#4) Missing '()' invoking a constructor.
(#4) A constructor name should start with an uppercase letter.
(#4) Missing '()' invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Expected '{' and instead saw 'y'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '{' and instead saw 'for'.
(#4) Expected '{' and instead saw 'y'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Expected '{' and instead saw 'return'.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '!==' and instead saw '!='.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Expected '{' and instead saw 'return'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Expected '{' and instead saw 'return'.
(#4) Expected '{' and instead saw 'd'.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) eval can be harmful.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) 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.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Confusing use of '!'.
(#4) Confusing use of '!'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) 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.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) 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.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) 'i' is already defined.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Expected '{' and instead saw 'y'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) 'j' is already defined.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) 'l' is already defined.
(#4) Expected '===' and instead saw '=='.
(#4) 'l' is already defined.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) 'a' is already defined.
(#4) 'b' is already defined.
(#4) 'c' is already defined.
(#4) Expected '{' and instead saw 'g'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Expected '{' and instead saw 'c'.
(#4) Missing semicolon.
(#4) 'g' is already defined.
(#4) Expected '===' and instead saw '=='.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) 'c' is already defined.
(#4) Expected '{' and instead saw 'c'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Expected '{' and instead saw 'for'.
(#4) Expected ')' to match '(' from line 4 and instead saw '='.
(#4) Expected '{' and instead saw 'function'.
(#4) Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function.
(#4) Missing name in function declaration.
(#4) Expected '{' and instead saw 'a'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Function declarations are not invocable. Wrap the whole function invocation in parens.
(#4) Expected an operator and instead saw ','.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected an identifier and instead saw ')'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) 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.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected '{' and instead saw '!'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) 'h' is already defined.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected '{' and instead saw 'g'.
(#4) Expected '{' and instead saw 'for'.
(#4) Expected '{' and instead saw 'j'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Expected '{' and instead saw 'Object'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) 'e' is already defined.
(#4) Expected '{' and instead saw 'k'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) 'e' is already defined.
(#4) 'c' is already defined.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Expected '{' and instead saw 'e'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) 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.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) 'A' is defined but never used.
(#4) 'l' is defined but never used.
(#4) 'q' is defined but never used.
(#4) 'r' is defined but never used.
(#4) 'e' is defined but never used.
(#4) 'f' is defined but never used.
(#4) 'h' is defined but never used.
(#4) 'i' is defined but never used.
(#4) 'j' is defined but never used.
(#4) 'k' is defined but never used.
(#4) 'l' is defined but never used.
(#4) 'm' is defined but never used.
(#4) 'n' is defined but never used.
(#4) 'function' is defined but never used.
theme/archaius/jquery/source/archaius_custom_blocks-1.1.2.js
(#36) 'options' is already defined.
(#40) Missing semicolon.
(#104) Expected '===' and instead saw '=='.
(#141) Missing semicolon.
(#143) Missing semicolon.
(#147) 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.
(#147) Expected an assignment or function call and instead saw an expression.
(#71) 'event' is defined but never used.
theme/archaius/jquery/source/archaius_custom_blocks-1.1.2.min.js
(#1) Line is too long.
(#1) 'a' is already defined.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) 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.
(#1) Expected an assignment or function call and instead saw an expression.
theme/archaius/jquery/source/jquery_velocity-0.4.1.js
(#7) Line is too long.
(#7) 'e' is already defined.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Confusing use of '!'.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'for'.
(#7) Missing '()' invoking a constructor.
(#7) Expected '{' and instead saw 'if'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '{' and instead saw 'if'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) 'A' used out of scope.
(#7) 'A' used out of scope.
(#7) 'A' used out of scope.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'return'.
(#7) 'j' is already defined.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '{' and instead saw 'l'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Confusing use of '!'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'if'.
(#7) Confusing use of '!'.
(#7) Missing semicolon.
(#7) Confusing use of '!'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'return'.
(#7) Expected '{' and instead saw 'return'.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) 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.
(#7) Missing '()' invoking a constructor.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) 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.
(#7) Expected '===' and instead saw '=='.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected '===' and instead saw '=='.
(#7) Expected '===' and instead saw '=='.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'throw'.
(#7) Expected '{' and instead saw 'throw'.
(#7) Expected '{' and instead saw 'return'.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'throw'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) 'a' is already defined.
(#7) Missing semicolon.
(#7) 'b' is already defined.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) 'd' is already defined.
(#7) Missing semicolon.
(#7) 'e' is already defined.
(#7) Missing semicolon.
(#7) 'g' is already defined.
(#7) Expected '{' and instead saw 'return'.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'return'.
(#7) Expected '{' and instead saw 'if'.
(#7) Expected '!==' and instead saw '!='.
(#7) Expected '{' and instead saw 'return'.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) 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.
(#7) 'a' is already defined.
(#7) Missing semicolon.
(#7) 'b' is already defined.
(#7) Missing semicolon.
(#7) 'c' is already defined.
(#7) A leading decimal point can be confused with a dot: '.5'.
(#7) A leading decimal point can be confused with a dot: '.5'.
(#7) Missing semicolon.
(#7) A leading decimal point can be confused with a dot: '.016'.
(#7) Expected '{' and instead saw 'if'.
(#7) Expected '{' and instead saw 'break'.
(#7) Unexpected use of '|'.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) 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.
(#7) Missing semicolon.
(#7) A leading decimal point can be confused with a dot: '.5'.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) A leading decimal point can be confused with a dot: '.25'.
(#7) A leading decimal point can be confused with a dot: '.1'.
(#7) A leading decimal point can be confused with a dot: '.25'.
(#7) A leading decimal point can be confused with a dot: '.42'.
(#7) A leading decimal point can be confused with a dot: '.58'.
(#7) A leading decimal point can be confused with a dot: '.42'.
(#7) A leading decimal point can be confused with a dot: '.58'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw ';'.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) A leading decimal point can be confused with a dot: '.5'.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) 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.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '{' and instead saw 'for'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'switch'.
(#7) Did you mean to return a conditional instead of an assignment?
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) 'a' is already defined.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '{' and instead saw '!'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Don't make functions within a loop.
(#7) 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.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) 'c' is already defined.
(#7) Expected '{' and instead saw '!'.
(#7) Expected '{' and instead saw 'g'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Don't make functions within a loop.
(#7) 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.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'return'.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'return'.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected '===' and instead saw '=='.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'e'.
(#7) Expected '{' and instead saw 'return'.
(#7) Expected '{' and instead saw 'return'.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'g'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '{' and instead saw 'u'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'try'.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'f'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) 'b' is already defined.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) 'a' is already defined.
(#7) 'a' is already defined.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '{' and instead saw 'var'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) 'l' is already defined.
(#7) Expected '{' and instead saw 'null'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) 'j' used out of scope.
(#7) 'k' used out of scope.
(#7) Missing semicolon.
(#7) 'j' is a function.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'return'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '{' and instead saw 'if'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) 'C' is already defined.
(#7) Confusing use of '!'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Confusing use of '!'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Don't make functions within a loop.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '{' and instead saw 'P'.
(#7) Expected '{' and instead saw 'if'.
(#7) Expected '{' and instead saw 'P'.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'r'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Confusing use of '!'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) 'b' is already defined.
(#7) Confusing use of '!'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Confusing use of '!'.
(#7) Expected '{' and instead saw 'g'.
(#7) Missing semicolon.
(#7) Confusing use of '!'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected a conditional expression and instead saw an assignment.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '{' and instead saw '!'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Confusing use of '!'.
(#7) Missing semicolon.
(#7) Confusing use of '!'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Confusing use of '!'.
(#7) A leading decimal point can be confused with a dot: '.75'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'for'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '!==' and instead saw '!='.
(#7) Missing semicolon.
(#7) Expected '!==' and instead saw '!='.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '{' and instead saw '/'.
(#7) Expected an identifier and instead saw '/'.
(#7) Expected an operator and instead saw '^'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an identifier and instead saw '.'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) 'd' is already defined.
(#7) Expected '{' and instead saw 'e'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Confusing use of '!'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected '{' and instead saw 'a'.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#7) 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.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) 'j' is defined but never used.
(#7) 'j' is defined but never used.
(#7) 'k' is defined but never used.
theme/archaius/jquery/source/responsiveslides.js
(#279) Unnecessary semicolon.
theme/archaius/jquery/source/responsiveslides.min.js
(#1) Line is too long.
(#1) Expected '===' and instead saw '=='.
(#1) Expected '{' and instead saw 'return'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected '{' and instead saw 'if'.
(#1) Expected '===' and instead saw '=='.
(#1) Expected '{' and instead saw 'return'.
(#1) Missing semicolon.
(#1) 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.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) A leading decimal point can be confused with a dot: '.5'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'return'.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Bad invocation.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) 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.
(#1) Expected an assignment or function call and instead saw an expression.
theme/archaius/jquery/source/waypoints-2.0.5.js
(#11) Expected '{' and instead saw 'return'.
(#66) Did you mean to return a conditional instead of an assignment?
(#78) Did you mean to return a conditional instead of an assignment?
(#133) Did you mean to return a conditional instead of an assignment?
(#182) Expected '!==' and instead saw '!='.
(#232) Expected '!==' and instead saw '!='.
(#241) Expected '!==' and instead saw '!='.
(#250) Did you mean to return a conditional instead of an assignment?
(#255) Did you mean to return a conditional instead of an assignment?
(#285) Expected '===' and instead saw '=='.
(#292) Expected '!==' and instead saw '!='.
(#332) Expected '===' and instead saw '=='.
(#335) Expected '===' and instead saw '=='.
(#364) Expected an assignment or function call and instead saw an expression.
(#394) Expected '!==' and instead saw '!='.
(#401) Expected '!==' and instead saw '!='.
(#420) Did you mean to return a conditional instead of an assignment?
(#425) Expected '===' and instead saw '=='.
(#433) Expected '===' and instead saw '=='.
(#441) Expected '===' and instead saw '=='.
(#449) Expected '===' and instead saw '=='.
(#466) Did you mean to return a conditional instead of an assignment?
(#501) Expected an assignment or function call and instead saw an expression.
theme/archaius/jquery/source/waypoints-2.0.5.min.js
(#8) Line is too long.
(#8) Expected '{' and instead saw 'return'.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) 't' is already defined.
(#8) Did you mean to return a conditional instead of an assignment?
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Did you mean to return a conditional instead of an assignment?
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Did you mean to return a conditional instead of an assignment?
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Expected '!==' and instead saw '!='.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#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) 't' is already defined.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Expected '!==' and instead saw '!='.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Expected '!==' and instead saw '!='.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Did you mean to return a conditional instead of an assignment?
(#8) Missing semicolon.
(#8) Did you mean to return a conditional instead of an assignment?
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#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 '===' and instead saw '=='.
(#8) Missing semicolon.
(#8) Expected '!==' and instead saw '!='.
(#8) Missing semicolon.
(#8) A constructor name should start with an uppercase letter.
(#8) Missing semicolon.
(#8) A constructor name should start with an uppercase letter.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Expected '===' and instead saw '=='.
(#8) Missing semicolon.
(#8) Expected '===' and instead saw '=='.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Expected an assignment or function call and instead saw an expression.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Expected '!==' and instead saw '!='.
(#8) Missing semicolon.
(#8) Expected '!==' and instead saw '!='.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Did you mean to return a conditional instead of an assignment?
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Expected '===' and instead saw '=='.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Expected '===' and instead saw '=='.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Expected '===' and instead saw '=='.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Expected '===' and instead saw '=='.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Did you mean to return a conditional instead of an assignment?
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Expected an assignment or function call and instead saw an expression.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
theme/archaius/jquery/source/waypoints-sticky-1.6.2.js
(#45) Expected '!==' and instead saw '!='.
theme/archaius/jquery/source/waypoints-sticky-1.6.2.min.js
(#8) Line is too long.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Expected '!==' and instead saw '!='.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.
(#8) Missing semicolon.

CSS problems

(9 errors, 28 warnings)

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

theme/archaius/style/archaius.css
(#8) Expected (<length> | <percentage> | <content-sizing> | auto | inherit) but found 'device-width'.
theme/archaius/style/archaius_responsive.css
(#53) Use of !important
(#77) Use of !important
(#78) Use of !important
(#79) Use of !important
(#80) Use of !important
(#81) Use of !important
(#103) Unexpected token '[' at line 103, col 23.
(#125) Rule is empty.
(#126) Unexpected token '[' at line 126, col 23.
(#165) Use of !important
(#166) Use of !important
(#169) Use of !important
(#170) Use of !important
(#195) Rule is empty.
(#252) Use of !important
(#274) Use of !important
(#275) Use of !important
(#276) Use of !important
(#277) Use of !important
(#278) Use of !important
(#298) Unexpected token '[' at line 298, col 21.
(#320) Rule is empty.
(#321) Unexpected token '[' at line 321, col 21.
(#354) Use of !important
(#355) Use of !important
(#358) Use of !important
(#359) Use of !important
theme/archaius/style/base.css
(#5) Use of !important
theme/archaius/style/custom.css
(#4) Expected IDENT at line 4, col 2.
(#4) Expected IDENT at line 4, col 2.
theme/archaius/style/home.css
(#13) Use of !important
(#14) Use of !important
(#72) Unexpected token '[' at line 72, col 11.
(#140) Duplicate property '*float' found.
(#140) display:inline has no effect on floated elements (but may be used to fix the IE6 double-margin bug).
(#155) Duplicate property '*display' found.

PHPDocs style problems

(42 errors, 17 warnings)

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

theme/archaius/config.php
(#2) Empty line found after PHP open tag
theme/archaius/db/upgrade.php
(#27) Function xmldb_theme_archaius_upgrade is not documented
(#34) Found comment starting with three or more slashes
theme/archaius/jquery/plugins.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
theme/archaius/lang/en/theme_archaius.php
(#2) Empty line found after PHP open tag
theme/archaius/lang/es/theme_archaius.php
(#2) Empty line found after PHP open tag
theme/archaius/layout/frontpage.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
theme/archaius/layout/general.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
theme/archaius/layout/partials/footer.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
theme/archaius/layout/partials/header.php
(#2) Empty line found after PHP open tag
(#4) File-level phpdocs block is not found
theme/archaius/layout/partials/page_content.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
theme/archaius/layout/partials/page_header.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
theme/archaius/layout/report.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
theme/archaius/lib.php
(#2) Empty line found after PHP open tag
(#285) Class theme_archaius_transmuted_custom_menu_item is not documented
(#286) Function theme_archaius_transmuted_custom_menu_item::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#108) Phpdocs for function theme_archaius_check_css_setting has incomplete parameters list
(#119) Phpdocs for function theme_archaius_replace_tag_css has incomplete parameters list
theme/archaius/renderers.php
(#2) Empty line found after PHP open tag
(#20) File-level phpdocs block is not found
(#20) Class theme_archaius_core_renderer is not documented
(#103) Function theme_archaius_core_renderer::custom_menu is not documented
(#119) Function theme_archaius_core_renderer::render_custom_menu is not documented
(#185) Function theme_archaius_core_renderer::render_custom_menu_item is not documented
(#20) Package is not specified for class theme_archaius_core_renderer. It is also not specified in file-level phpdocs
theme/archaius/settings.php
(#2) Empty line found after PHP open tag
(#20) File-level phpdocs block is not found
theme/archaius/slideshow/controllers/slides_controller.php
(#2) Empty line found after PHP open tag
theme/archaius/slideshow/helpers/ArchaiusSliderHelper.class.php
(#2) Empty line found after PHP open tag
(#46) Function ArchaiusSliderHelper::__construct is not documented
(#41) Variable ArchaiusSliderHelper::$contextid is not documented
(#42) Variable ArchaiusSliderHelper::$slides is not documented
(#44) Variable ArchaiusSliderHelper::$instance is not documented
(#15) No one-line description found in phpdocs for file
(#64) Phpdocs for function ArchaiusSliderHelper::add_slideshow has incomplete parameters list
(#108) Phpdocs for function ArchaiusSliderHelper::admin_options has incomplete parameters list
(#185) Phpdocs for function ArchaiusSliderHelper::get_slide_content has incomplete parameters list
theme/archaius/slideshow/models/ArchaiusSlider.class.php
(#23) Class ArchaiusSlider is not documented
(#28) Function ArchaiusSlider::__construct is not documented
(#48) Function ArchaiusSlider::get_slides is not documented
(#25) Variable ArchaiusSlider::$slides is not documented
(#26) Variable ArchaiusSlider::$instance is not documented
theme/archaius/slideshow/views/add_slide.php
(#15) No one-line description found in phpdocs for file
theme/archaius/slideshow/views/delete_slide.php
(#15) No one-line description found in phpdocs for file
theme/archaius/slideshow/views/edit_slide.php
(#2) Empty line found after PHP open tag
(#16) No one-line description found in phpdocs for file
theme/archaius/slideshow/views/slide_form.php
(#30) Class slide_form is not documented
(#32) Function slide_form::definition is not documented
(#15) No one-line description found in phpdocs for file
theme/archaius/version.php
(#20) Package theme is not valid

Update savepoints problems

(0 errors, 1 warnings)

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

theme/archaius/db/upgrade.php
Detected less 'if' blocks (1) than 'savepoint' calls (2). Repeated savepoints?

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]