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

(678 errors, 21 warnings)

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

blocks/moodleversion/block_moodleversion.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Whitespace found at end of line
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Spaces must be used to indent lines; tabs are not allowed
(#4) Tab found within whitespace
(#4) Line 12 of the opening comment must start "//".
(#4) Line indented incorrectly; expected 4 spaces, found 1
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#4) Whitespace found at end of line
(#5) Spaces must be used to indent lines; tabs are not allowed
(#5) Tab found within whitespace
(#5) Line indented incorrectly; expected at least 4 spaces, found 1
(#5) Opening brace should be on the same line as the declaration
(#6) Spaces must be used to indent lines; tabs are not allowed
(#6) Tab found within whitespace
(#6) Line indented incorrectly; expected at least 8 spaces, found 2
(#7) Spaces must be used to indent lines; tabs are not allowed
(#7) Tab found within whitespace
(#7) Line indented incorrectly; expected 4 spaces, found 1
(#8) Spaces must be used to indent lines; tabs are not allowed
(#8) Tab found within whitespace
(#8) Line indented incorrectly; expected 4 spaces, found 1
(#8) Whitespace found at end of line
(#9) Spaces must be used to indent lines; tabs are not allowed
(#9) Tab found within whitespace
(#9) Line indented incorrectly; expected at least 4 spaces, found 1
(#9) Opening brace should be on the same line as the declaration
(#10) Spaces must be used to indent lines; tabs are not allowed
(#10) Tab found within whitespace
(#10) Line indented incorrectly; expected at least 8 spaces, found 2
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#11) Whitespace found at end of line
(#12) Spaces must be used to indent lines; tabs are not allowed
(#12) Tab found within whitespace
(#12) Line indented incorrectly; expected 8 spaces, found 2
(#12) Expected "if (...) {\n"; found "if (...) \n\t\t{\n"
(#12) Whitespace found at end of line
(#13) Spaces must be used to indent lines; tabs are not allowed
(#13) Tab found within whitespace
(#13) Line indented incorrectly; expected at least 8 spaces, found 2
(#14) Spaces must be used to indent lines; tabs are not allowed
(#14) Tab found within whitespace
(#14) Line indented incorrectly; expected at least 12 spaces, found 3
(#15) Spaces must be used to indent lines; tabs are not allowed
(#15) Tab found within whitespace
(#15) Line indented incorrectly; expected 8 spaces, found 2
(#16) Spaces must be used to indent lines; tabs are not allowed
(#16) Tab found within whitespace
(#16) Line indented incorrectly; expected 8 spaces, found 2
(#17) Spaces must be used to indent lines; tabs are not allowed
(#17) Tab found within whitespace
(#17) Line indented incorrectly; expected at least 12 spaces, found 3
(#18) Spaces must be used to indent lines; tabs are not allowed
(#18) Tab found within whitespace
(#18) Line indented incorrectly; expected 8 spaces, found 2
(#19) Spaces must be used to indent lines; tabs are not allowed
(#19) Tab found within whitespace
(#19) Line indented incorrectly; expected at least 8 spaces, found 2
(#19) Inline control structures are not allowed
(#20) Spaces must be used to indent lines; tabs are not allowed
(#20) Tab found within whitespace
(#20) Line indented incorrectly; expected at least 8 spaces, found 3
(#21) Spaces must be used to indent lines; tabs are not allowed
(#21) Tab found within whitespace
(#21) Line indented incorrectly; expected at least 8 spaces, found 2
(#21) Inline control structures are not allowed
(#22) Spaces must be used to indent lines; tabs are not allowed
(#22) Tab found within whitespace
(#22) Line indented incorrectly; expected at least 8 spaces, found 3
(#23) Spaces must be used to indent lines; tabs are not allowed
(#23) Tab found within whitespace
(#23) Line indented incorrectly; expected at least 8 spaces, found 2
(#23) Inline control structures are not allowed
(#24) Spaces must be used to indent lines; tabs are not allowed
(#24) Tab found within whitespace
(#24) Line indented incorrectly; expected at least 8 spaces, found 3
(#25) Spaces must be used to indent lines; tabs are not allowed
(#25) Tab found within whitespace
(#25) Line indented incorrectly; expected at least 8 spaces, found 2
(#25) Inline control structures are not allowed
(#26) Spaces must be used to indent lines; tabs are not allowed
(#26) Tab found within whitespace
(#26) Line indented incorrectly; expected at least 8 spaces, found 3
(#27) Spaces must be used to indent lines; tabs are not allowed
(#27) Tab found within whitespace
(#27) Whitespace found at end of line
(#28) Spaces must be used to indent lines; tabs are not allowed
(#28) Tab found within whitespace
(#28) Line indented incorrectly; expected at least 8 spaces, found 2
(#28) Expected 1 space before "-"; 0 found
(#28) Expected 1 space after "-"; 0 found
(#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
(#30) Spaces must be used to indent lines; tabs are not allowed
(#30) Tab found within whitespace
(#30) 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 at least 8 spaces, found 2
(#32) Spaces must be used to indent lines; tabs are not allowed
(#32) Tab found within whitespace
(#32) Line indented incorrectly; expected at least 8 spaces, found 2
(#34) Spaces must be used to indent lines; tabs are not allowed
(#34) Tab found within whitespace
(#34) Line indented incorrectly; expected at least 8 spaces, found 2
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
(#35) Line indented incorrectly; expected 8 spaces, found 2
(#35) Expected "if (...) {\n"; found "if(...){\n"
(#37) Spaces must be used to indent lines; tabs are not allowed
(#37) Tab found within whitespace
(#37) Line indented incorrectly; expected 8 spaces, found 2
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#38) Whitespace found at end of line
(#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
(#39) This comment is 80% valid code; is this commented out code?
(#39) No space found before comment text; expected "// print_r($mysql);" but found "//print_r($mysql);"
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected at least 8 spaces, found 2
(#41) Expected 1 space after "="; 2 found
(#42) Spaces must be used to indent lines; tabs are not allowed
(#42) Tab found within whitespace
(#42) Line indented incorrectly; expected at least 8 spaces, found 2
(#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) Line exceeds 132 characters; contains 148 characters
(#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) Inline control structures are not allowed
(#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 3
(#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 2
(#46) Inline control structures are not allowed
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#47) Line indented incorrectly; expected at least 8 spaces, found 3
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected 8 spaces, found 2
(#48) Expected "if (...) {\n"; found "if(...) {\n"
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected at least 12 spaces, found 3
(#49) Variable "php_extensions_recommended" must not contain underscores.
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected at least 12 spaces, found 3
(#50) Variable "php_extensions_check" must not contain underscores.
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected 12 spaces, found 3
(#51) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#51) Variable "php_extensions_recommended" must not contain underscores.
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected at least 16 spaces, found 4
(#52) Inline control structures are not allowed
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#53) Line indented incorrectly; expected at least 16 spaces, found 5
(#53) Variable "php_extensions_check" must not contain underscores.
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected 12 spaces, found 3
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected at least 12 spaces, found 3
(#55) Variable "ok_extensions_help" must not contain underscores.
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected at least 12 spaces, found 3
(#56) Variable "ok_extensions" must not contain underscores.
(#56) Variable "ok_extensions_help" must not contain underscores.
(#56) Line exceeds 132 characters; contains 170 characters
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected at least 12 spaces, found 3
(#57) Variable "error_extensions_help" must not contain underscores.
(#57) Variable "php_extensions_check" must not contain underscores.
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected at least 12 spaces, found 3
(#58) Variable "error_extensions" must not contain underscores.
(#58) Line exceeds maximum limit of 180 characters; contains 218 characters
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 12 spaces, found 3
(#59) Variable "php_extensions_check" must not contain underscores.
(#59) Variable "ok_extensions" must not contain underscores.
(#59) Variable "error_extensions" must not contain underscores.
(#59) Line exceeds 132 characters; contains 167 characters
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#60) Line indented incorrectly; expected 8 spaces, found 2
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#61) Whitespace found at end of line
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected 8 spaces, found 2
(#62) Expected "if (...) {\n"; found "if(...) {\n"
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#63) Line indented incorrectly; expected at least 12 spaces, found 3
(#63) Variable "php_settings_check" must not contain underscores.
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Line indented incorrectly; expected at least 12 spaces, found 3
(#64) Inline control structures are not allowed
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected at least 12 spaces, found 4
(#65) Variable "php_settings_check" must not contain underscores.
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 12 spaces, found 3
(#66) Inline control structures are not allowed
(#66) INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 12 spaces, found 4
(#67) Variable "php_settings_check" must not contain underscores.
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Line indented incorrectly; expected at least 12 spaces, found 3
(#68) Inline control structures are not allowed
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#69) Line indented incorrectly; expected at least 12 spaces, found 4
(#69) Variable "php_settings_check" must not contain underscores.
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected at least 12 spaces, found 3
(#70) Variable "ok_settings_help" must not contain underscores.
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Line indented incorrectly; expected at least 12 spaces, found 3
(#71) Variable "ok_settings" must not contain underscores.
(#71) Variable "ok_settings_help" must not contain underscores.
(#71) Line exceeds 132 characters; contains 165 characters
(#71) Spaces must be used for alignment; tabs are not allowed
(#71) Tab found within whitespace
(#71) Whitespace found at end of line
(#72) Spaces must be used for alignment; tabs are not allowed
(#72) Tab found within whitespace
(#72) Line indented incorrectly; expected at least 12 spaces, found 3
(#72) Variable "error_settings_help" must not contain underscores.
(#72) Variable "php_settings_check" must not contain underscores.
(#73) Spaces must be used for alignment; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected at least 12 spaces, found 3
(#73) Variable "error_settings" must not contain underscores.
(#73) Line exceeds maximum limit of 180 characters; contains 212 characters
(#74) Spaces must be used for alignment; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected at least 12 spaces, found 3
(#74) Variable "php_settings_check" must not contain underscores.
(#74) Variable "ok_settings" must not contain underscores.
(#74) Variable "error_settings" must not contain underscores.
(#74) Line exceeds 132 characters; contains 159 characters
(#75) Spaces must be used for alignment; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected 8 spaces, found 2
(#76) Spaces must be used for alignment; tabs are not allowed
(#76) Tab found within whitespace
(#76) Whitespace found at end of line
(#77) Spaces must be used for alignment; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected at least 8 spaces, found 2
(#78) Spaces must be used for alignment; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected 4 spaces, found 1
(#80) A closing tag is not permitted at the end of a PHP file
blocks/moodleversion/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Spaces must be used to indent lines; tabs are not allowed
(#4) Tab found within whitespace
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#5) Spaces must be used to indent lines; tabs are not allowed
(#5) Tab found within whitespace
(#6) Spaces must be used to indent lines; tabs are not allowed
(#6) Tab found within whitespace
(#7) Spaces must be used to indent lines; tabs are not allowed
(#7) Tab found within whitespace
(#8) Spaces must be used to indent lines; tabs are not allowed
(#8) Tab found within whitespace
(#9) Spaces must be used to indent lines; tabs are not allowed
(#9) Tab found within whitespace
(#10) Spaces must be used to indent lines; tabs are not allowed
(#10) Tab found within whitespace
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#12) Spaces must be used to indent lines; tabs are not allowed
(#12) Tab found within whitespace
(#13) Spaces must be used to indent lines; tabs are not allowed
(#13) Tab found within whitespace
(#15) Spaces must be used to indent lines; tabs are not allowed
(#15) Tab found within whitespace
(#16) Spaces must be used to indent lines; tabs are not allowed
(#16) Tab found within whitespace
(#17) Spaces must be used to indent lines; tabs are not allowed
(#17) Tab found within whitespace
(#18) Spaces must be used to indent lines; tabs are not allowed
(#18) Tab found within whitespace
(#19) Spaces must be used to indent lines; tabs are not allowed
(#19) Tab found within whitespace
(#20) Spaces must be used to indent lines; tabs are not allowed
(#20) Tab found within whitespace
(#21) Spaces must be used to indent lines; tabs are not allowed
(#21) Tab found within whitespace
(#22) Spaces must be used to indent lines; tabs are not allowed
(#22) Tab found within whitespace
(#23) Spaces must be used to indent lines; tabs are not allowed
(#23) Tab found within whitespace
(#24) Spaces must be used to indent lines; tabs are not allowed
(#24) Tab found within whitespace
(#25) Spaces must be used to indent lines; tabs are not allowed
(#25) Tab found within whitespace
(#27) A closing tag is not permitted at the end of a PHP file
blocks/moodleversion/db/index.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Spaces must be used to indent lines; tabs are not allowed
(#2) Tab found within whitespace
(#2) Line 2 of the opening comment must start "//".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Spaces must be used to indent lines; tabs are not allowed
(#4) Tab found within whitespace
(#4) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) Spaces must be used to indent lines; tabs are not allowed
(#6) Tab found within whitespace
(#7) Spaces must be used to indent lines; tabs are not allowed
(#7) Tab found within whitespace
(#8) Spaces must be used to indent lines; tabs are not allowed
(#8) Tab found within whitespace
(#9) Spaces must be used to indent lines; tabs are not allowed
(#9) Tab found within whitespace
(#10) Spaces must be used to indent lines; tabs are not allowed
(#10) Tab found within whitespace
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#12) A closing tag is not permitted at the end of a PHP file
blocks/moodleversion/edit_form.php
(#1) File has mixed line endings; this may cause incorrect results
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Inline control structures are not allowed
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#5) Spaces must be used for alignment; tabs are not allowed
(#5) Tab found within whitespace
(#5) Visibility must be declared on method "specific_definition"
(#5) Expected 1 space after closing parenthesis; found 0
(#5) Opening brace must be the last content on the line
(#5) Spaces must be used for alignment; tabs are not allowed
(#5) Tab found within whitespace
(#5) Commas (,) must be followed by white space.
(#5) Line exceeds maximum limit of 180 characters; contains 191 characters
(#5) Whitespace found at end of line
(#6) Spaces must be used for alignment; tabs are not allowed
(#6) Tab found within whitespace
(#6) Line indented incorrectly; expected at least 8 spaces, found 2
(#6) Line exceeds 132 characters; contains 159 characters
(#7) Spaces must be used for alignment; tabs are not allowed
(#7) Tab found within whitespace
(#7) Line indented incorrectly; expected at least 8 spaces, found 2
(#7) Line exceeds 132 characters; contains 163 characters
(#8) Spaces must be used for alignment; tabs are not allowed
(#8) Tab found within whitespace
(#8) Line indented incorrectly; expected at least 8 spaces, found 2
(#8) Line exceeds 132 characters; contains 165 characters
(#9) Spaces must be used for alignment; tabs are not allowed
(#9) Tab found within whitespace
(#9) Line indented incorrectly; expected at least 8 spaces, found 2
(#9) Line exceeds 132 characters; contains 161 characters
(#10) Spaces must be used for alignment; tabs are not allowed
(#10) Tab found within whitespace
(#10) Line indented incorrectly; expected 0 spaces, found 1
(#10) Closing brace indented incorrectly; expected 0 spaces, found 1
(#10) Closing brace must be on a line by itself
(#10) A closing tag is not permitted at the end of a PHP file
(#10) Additional whitespace found at end of file
blocks/moodleversion/index.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Spaces must be used to indent lines; tabs are not allowed
(#2) Tab found within whitespace
(#2) Line 2 of the opening comment must start "//".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Spaces must be used to indent lines; tabs are not allowed
(#4) Tab found within whitespace
(#4) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) Spaces must be used to indent lines; tabs are not allowed
(#6) Tab found within whitespace
(#7) Spaces must be used to indent lines; tabs are not allowed
(#7) Tab found within whitespace
(#8) Spaces must be used to indent lines; tabs are not allowed
(#8) Tab found within whitespace
(#9) Spaces must be used to indent lines; tabs are not allowed
(#9) Tab found within whitespace
(#10) Spaces must be used to indent lines; tabs are not allowed
(#10) Tab found within whitespace
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#12) A closing tag is not permitted at the end of a PHP file
blocks/moodleversion/lang/en/block_moodleversion.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#21) A closing tag is not permitted at the end of a PHP file
blocks/moodleversion/lang/en/index.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Spaces must be used to indent lines; tabs are not allowed
(#2) Tab found within whitespace
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Spaces must be used to indent lines; tabs are not allowed
(#4) Tab found within whitespace
(#4) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) Spaces must be used to indent lines; tabs are not allowed
(#6) Tab found within whitespace
(#7) Spaces must be used to indent lines; tabs are not allowed
(#7) Tab found within whitespace
(#8) Spaces must be used to indent lines; tabs are not allowed
(#8) Tab found within whitespace
(#9) Spaces must be used to indent lines; tabs are not allowed
(#9) Tab found within whitespace
(#10) Spaces must be used to indent lines; tabs are not allowed
(#10) Tab found within whitespace
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#12) A closing tag is not permitted at the end of a PHP file
blocks/moodleversion/lang/es/block_moodleversion.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#21) A closing tag is not permitted at the end of a PHP file
blocks/moodleversion/lang/es/index.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Spaces must be used to indent lines; tabs are not allowed
(#2) Tab found within whitespace
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Spaces must be used to indent lines; tabs are not allowed
(#4) Tab found within whitespace
(#4) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) Spaces must be used to indent lines; tabs are not allowed
(#6) Tab found within whitespace
(#7) Spaces must be used to indent lines; tabs are not allowed
(#7) Tab found within whitespace
(#8) Spaces must be used to indent lines; tabs are not allowed
(#8) Tab found within whitespace
(#9) Spaces must be used to indent lines; tabs are not allowed
(#9) Tab found within whitespace
(#10) Spaces must be used to indent lines; tabs are not allowed
(#10) Tab found within whitespace
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#12) A closing tag is not permitted at the end of a PHP file
blocks/moodleversion/lang/index.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Spaces must be used to indent lines; tabs are not allowed
(#2) Tab found within whitespace
(#2) Line 2 of the opening comment must start "//".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Spaces must be used to indent lines; tabs are not allowed
(#4) Tab found within whitespace
(#4) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) Spaces must be used to indent lines; tabs are not allowed
(#6) Tab found within whitespace
(#7) Spaces must be used to indent lines; tabs are not allowed
(#7) Tab found within whitespace
(#8) Spaces must be used to indent lines; tabs are not allowed
(#8) Tab found within whitespace
(#9) Spaces must be used to indent lines; tabs are not allowed
(#9) Tab found within whitespace
(#10) Spaces must be used to indent lines; tabs are not allowed
(#10) Tab found within whitespace
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#12) A closing tag is not permitted at the end of a PHP file
blocks/moodleversion/lang/pt_br/block_moodleversion.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#21) A closing tag is not permitted at the end of a PHP file
blocks/moodleversion/lang/pt_br/index.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Spaces must be used to indent lines; tabs are not allowed
(#2) Tab found within whitespace
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Spaces must be used to indent lines; tabs are not allowed
(#4) Tab found within whitespace
(#4) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) Spaces must be used to indent lines; tabs are not allowed
(#6) Tab found within whitespace
(#7) Spaces must be used to indent lines; tabs are not allowed
(#7) Tab found within whitespace
(#8) Spaces must be used to indent lines; tabs are not allowed
(#8) Tab found within whitespace
(#9) Spaces must be used to indent lines; tabs are not allowed
(#9) Tab found within whitespace
(#10) Spaces must be used to indent lines; tabs are not allowed
(#10) Tab found within whitespace
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#12) A closing tag is not permitted at the end of a PHP file
blocks/moodleversion/pix/index.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Spaces must be used to indent lines; tabs are not allowed
(#2) Tab found within whitespace
(#2) Line 2 of the opening comment must start "//".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Spaces must be used to indent lines; tabs are not allowed
(#4) Tab found within whitespace
(#4) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) Spaces must be used to indent lines; tabs are not allowed
(#6) Tab found within whitespace
(#7) Spaces must be used to indent lines; tabs are not allowed
(#7) Tab found within whitespace
(#8) Spaces must be used to indent lines; tabs are not allowed
(#8) Tab found within whitespace
(#9) Spaces must be used to indent lines; tabs are not allowed
(#9) Tab found within whitespace
(#10) Spaces must be used to indent lines; tabs are not allowed
(#10) Tab found within whitespace
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#12) A closing tag is not permitted at the end of a PHP file
blocks/moodleversion/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#5) Spaces must be used for alignment; tabs are not allowed
(#6) Spaces must be used for alignment; tabs are not allowed
(#7) Spaces must be used for alignment; tabs are not allowed
(#8) Whitespace found at end of line

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(21 errors, 7 warnings)

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

blocks/moodleversion/block_moodleversion.php
(#2) File-level phpdocs block is not found
(#2) Class block_moodleversion is not documented
(#4) Function block_moodleversion::init is not documented
(#8) Function block_moodleversion::get_content is not documented
(#2) Package is not specified for class block_moodleversion. It is also not specified in file-level phpdocs
blocks/moodleversion/db/access.php
(#2) File-level phpdocs block is not found
blocks/moodleversion/db/index.php
(#2) Empty line found after PHP open tag
(#2) File-level phpdocs block is not found
blocks/moodleversion/edit_form.php
(#2) File-level phpdocs block is not found
(#5) Class block_moodleversion_edit_form is not documented
(#7) Function block_moodleversion_edit_form::specific_definition is not documented
(#5) Package is not specified for class block_moodleversion_edit_form. It is also not specified in file-level phpdocs
blocks/moodleversion/index.php
(#2) Empty line found after PHP open tag
(#2) File-level phpdocs block is not found
blocks/moodleversion/lang/en/block_moodleversion.php
(#2) File-level phpdocs block is not found
blocks/moodleversion/lang/en/index.php
(#2) Empty line found after PHP open tag
(#2) File-level phpdocs block is not found
blocks/moodleversion/lang/es/block_moodleversion.php
(#2) File-level phpdocs block is not found
blocks/moodleversion/lang/es/index.php
(#2) Empty line found after PHP open tag
(#2) File-level phpdocs block is not found
blocks/moodleversion/lang/index.php
(#2) Empty line found after PHP open tag
(#2) File-level phpdocs block is not found
blocks/moodleversion/lang/pt_br/block_moodleversion.php
(#2) File-level phpdocs block is not found
blocks/moodleversion/lang/pt_br/index.php
(#2) Empty line found after PHP open tag
(#2) File-level phpdocs block is not found
blocks/moodleversion/pix/index.php
(#2) Empty line found after PHP open tag
(#2) File-level phpdocs block is not found
blocks/moodleversion/version.php
(#2) File-level phpdocs block does not have @license tag

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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