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

(811 errors, 105 warnings)

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

mod/autoattendmod/backup/moodle2/backup_autoattendmod_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/autoattendmod/backup/moodle2/backup_autoattendmod_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) This comment is 64% valid code; is this commented out code?
(#37) No space found before comment text; expected "// $userinfo = $this->get_setting_value('userinfo');" but found "//$userinfo = $this->get_setting_value('userinfo');"
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Whitespace found at end of line
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) This comment is 50% valid code; is this commented out code?
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) This comment is 50% valid code; is this commented out code?
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
mod/autoattendmod/backup/moodle2/restore_autoattendmod_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
mod/autoattendmod/backup/moodle2/restore_autoattendmod_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Blank comments are not allowed
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) This comment is 60% valid code; is this commented out code?
(#49) No space found before comment text; expected "// $data->timemodified = $this->apply_date_offset($data->timemodified);" but found "//$data->timemodified = $this->apply_date_offset($data->timemodified);"
(#56) Blank comments are not allowed
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
mod/autoattendmod/classes/autoattendmod_handler.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#11) Whitespace found at end of line
(#14) Whitespace found at end of line
(#15) Opening brace should be on the same line as the declaration
mod/autoattendmod/classes/event/view_log.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#11) Line indented incorrectly; expected 4 spaces, found 1
(#11) Spaces must be used for alignment; tabs are not allowed
(#11) Tab found within whitespace
(#11) Inline comments must start with a capital letter, digit or 3-dots sequence
(#11) Inline comments must end in full-stops, exclamation marks, or question marks
(#12) Spaces must be used for alignment; tabs are not allowed
(#12) Tab found within whitespace
(#12) Line indented incorrectly; expected at least 4 spaces, found 1
(#12) Opening brace should be on the same line as the declaration
(#13) Spaces must be used for alignment; 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 for alignment; tabs are not allowed
(#14) Tab found within whitespace
(#14) Line indented incorrectly; expected 4 spaces, found 1
(#17) Spaces must be used for alignment; tabs are not allowed
(#17) Tab found within whitespace
(#17) Line indented incorrectly; expected 4 spaces, found 1
(#18) Spaces must be used for alignment; tabs are not allowed
(#18) Tab found within whitespace
(#18) Line indented incorrectly; expected at least 4 spaces, found 1
(#18) Opening brace should be on the same line as the declaration
(#19) Spaces must be used for alignment; tabs are not allowed
(#19) Tab found within whitespace
(#19) Line indented incorrectly; expected at least 8 spaces, found 2
(#20) Spaces must be used for alignment; tabs are not allowed
(#20) Tab found within whitespace
(#20) Line indented incorrectly; expected at least 8 spaces, found 2
(#20) Inline control structures are not allowed
(#21) Spaces must be used for alignment; 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
(#23) Spaces must be used for alignment; tabs are not allowed
(#23) Tab found within whitespace
(#23) Line indented incorrectly; expected at least 8 spaces, found 2
(#24) Spaces must be used for alignment; tabs are not allowed
(#24) Tab found within whitespace
(#24) Line indented incorrectly; expected at least 8 spaces, found 2
(#25) Spaces must be used for alignment; tabs are not allowed
(#25) Tab found within whitespace
(#25) Line indented incorrectly; expected 4 spaces, found 1
(#28) Spaces must be used for alignment; tabs are not allowed
(#28) Tab found within whitespace
(#28) Line indented incorrectly; expected 4 spaces, found 1
(#29) Spaces must be used for alignment; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected at least 4 spaces, found 1
(#29) Opening brace should be on the same line as the declaration
(#30) Spaces must be used for alignment; 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 for alignment; tabs are not allowed
(#31) Tab found within whitespace
(#31) Line indented incorrectly; expected at least 8 spaces, found 2
(#31) Inline control structures are not allowed
(#33) Spaces must be used for alignment; tabs are not allowed
(#33) Tab found within whitespace
(#33) Line indented incorrectly; expected at least 8 spaces, found 2
(#34) Spaces must be used for alignment; tabs are not allowed
(#34) Tab found within whitespace
(#34) Line indented incorrectly; expected 4 spaces, found 1
(#37) Spaces must be used for alignment; tabs are not allowed
(#37) Tab found within whitespace
(#37) Line indented incorrectly; expected 4 spaces, found 1
(#38) Spaces must be used for alignment; tabs are not allowed
(#38) Tab found within whitespace
(#38) Line indented incorrectly; expected at least 4 spaces, found 1
(#38) Opening brace should be on the same line as the declaration
(#39) Spaces must be used for alignment; tabs are not allowed
(#39) Tab found within whitespace
(#39) Line indented incorrectly; expected at least 8 spaces, found 2
(#39) Spaces must be used for alignment; tabs are not allowed
(#39) Tab found within whitespace
(#39) This comment is 48% valid code; is this commented out code?
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) Spaces must be used for alignment; tabs are not allowed
(#40) Tab found within whitespace
(#40) Line indented incorrectly; expected at least 8 spaces, found 2
(#40) Spaces must be used for alignment; tabs are not allowed
(#40) Tab found within whitespace
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Whitespace found at end of line
(#41) Spaces must be used for alignment; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected 4 spaces, found 1
mod/autoattendmod/classes/output/mobile.php
(#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 "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Whitespace found at end of line
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#5) Whitespace found at end of line
(#7) Whitespace found at end of line
(#18) Opening brace should be on the same line as the declaration
(#20) Whitespace found at end of line
(#23) Whitespace found at end of line
(#26) Whitespace found at end of line
(#28) Whitespace found at end of line
(#34) Whitespace found at end of line
(#34) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#41) Whitespace found at end of line
mod/autoattendmod/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/autoattendmod/db/install.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion
(#18) Opening brace should be on the same line as the declaration
(#21) Inline comments must end in full-stops, exclamation marks, or question marks
(#21) 3 slashes comments are not allowed; use "// Comment." instead
(#22) Expected 1 space before "=>"; 0 found
(#22) Expected 1 space after "=>"; 0 found
mod/autoattendmod/db/mobile.php
(#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".
(#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 "//".
(#3) 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/>.".
(#14) Inline comments must end in full-stops, exclamation marks, or question marks
(#22) Inline comments must end in full-stops, exclamation marks, or question marks
mod/autoattendmod/db/services.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/autoattendmod/db/upgrade.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1) Inline comments must end in full-stops, exclamation marks, or question marks
(#1) This comment is 50% valid code; is this commented out code?
(#1) No space found before comment text; expected "// $Id: upgrade.php,v 1.1.2.2 2006/10/26 17:43:08 stronk7 Exp $" but found "//$Id: upgrade.php,v 1.1.2.2 2006/10/26 17:43:08 stronk7 Exp $"
(#2) 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) Whitespace found at end of line
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#5) Line 6 of the opening comment must start "// (at your option) any later version.".
(#7) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#8) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#9) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#10) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#12) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#13) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#18) Inline comments must end in full-stops, exclamation marks, or question marks
(#20) Expected MOODLE_INTERNAL check or config.php inclusion
(#21) Opening brace should be on the same line as the declaration
(#28) Line indented incorrectly; expected at least 4 spaces, found 0
(#28) 3 slashes comments are not allowed; use "// Comment." instead
(#28) Whitespace found at end of line
(#29) Line indented incorrectly; expected at least 4 spaces, found 0
(#29) 3 slashes comments are not allowed; use "// Comment." instead
(#29) Whitespace found at end of line
(#30) Line indented incorrectly; expected at least 4 spaces, found 0
(#30) 3 slashes comments are not allowed; use "// Comment." instead
(#31) Line indented incorrectly; expected at least 4 spaces, found 0
(#31) 3 slashes comments are not allowed; use "// Comment." instead
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Line indented incorrectly; expected at least 4 spaces, found 0
(#33) 3 slashes comments are not allowed; use "// Comment." instead
(#34) Line indented incorrectly; expected at least 4 spaces, found 0
(#34) 3 slashes comments are not allowed; use "// Comment." instead
(#34) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Line indented incorrectly; expected at least 4 spaces, found 0
(#35) 3 slashes comments are not allowed; use "// Comment." instead
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) This comment is 50% valid code; is this commented out code?
(#40) Blank comments are not allowed
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) This comment is 50% valid code; is this commented out code?
(#50) Blank comments are not allowed
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) This comment is 50% valid code; is this commented out code?
(#60) Blank comments are not allowed
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) This comment is 50% valid code; is this commented out code?
(#70) Blank comments are not allowed
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) This comment is 50% valid code; is this commented out code?
(#84) Blank comments are not allowed
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) This comment is 50% valid code; is this commented out code?
(#98) Blank comments are not allowed
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) This comment is 50% valid code; is this commented out code?
(#112) Blank comments are not allowed
mod/autoattendmod/externallib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#13) Whitespace found at end of line
mod/autoattendmod/index.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#6) Variable "enable_block" must not contain underscores.
(#8) Spaces must be used to indent lines; tabs are not allowed
(#8) Tab found within whitespace
(#8) Line indented incorrectly; expected at least 4 spaces, found 1
(#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) Variable "enable_block" must not contain underscores.
(#14) Expected 1 space before "=>"; 0 found
(#14) Expected 1 space after "=>"; 0 found
(#17) Expected 1 space before "=>"; 0 found
(#17) Expected 1 space after "=>"; 0 found
(#18) Spaces must be used to indent lines; tabs are not allowed
(#18) Tab found within whitespace
(#18) Line indented incorrectly; expected at least 4 spaces, found 1
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) 3 slashes comments are not allowed; use "// Comment." instead
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) 3 slashes comments are not allowed; use "// Comment." instead
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#39) Line indented incorrectly; expected at least 4 spaces, found 1
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#40) Line indented incorrectly; expected at least 4 spaces, found 1
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected at least 4 spaces, found 1
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) 3 slashes comments are not allowed; use "// Comment." instead
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected at least 4 spaces, found 1
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected at least 4 spaces, found 1
(#56) Whitespace found at end of line
(#57) Expected "} else {\n"; found "} \nelse {\n"
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected at least 4 spaces, found 1
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 4 spaces, found 1
(#63) Blank comments 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 4 spaces, found 1
(#65) Expected 1 space before "=>"; 0 found
(#65) Expected 1 space after "=>"; 0 found
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 4 spaces, found 1
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Line indented incorrectly; expected at least 4 spaces, found 1
(#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 4 spaces, found 1
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected 4 spaces, found 1
(#73) Expected "} else {\n"; found "}\n\telse {\n"
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected at least 8 spaces, found 2
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected 4 spaces, found 1
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected 4 spaces, found 1
(#77) Variable "enable_block" must not contain underscores.
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected at least 8 spaces, found 2
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected 4 spaces, found 1
(#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
(#80) Expected "} else {\n"; found "}\n\telse {\n"
(#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
(#82) Line indented incorrectly; expected 4 spaces, found 1
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected at least 4 spaces, found 1
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) 3 slashes comments are not allowed; use "// Comment." instead
mod/autoattendmod/lang/en/autoattendmod.php
(#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/>.".
mod/autoattendmod/lang/ja/autoattendmod.php
(#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/>.".
mod/autoattendmod/lib.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) 3 slashes comments are not allowed; use "// Comment." instead
(#8) This comment is 60% valid code; is this commented out code?
(#12) Whitespace found at end of line
(#13) Whitespace found at end of line
(#14) Whitespace found at end of line
(#23) Blank comments are not allowed
(#25) Opening brace should be on the same line as the declaration
(#27) Closing brace must be on a line by itself
(#28) Closing brace must be on a line by itself
(#29) Closing brace must be on a line by itself
(#30) Closing brace must be on a line by itself
(#31) Closing brace must be on a line by itself
(#32) Closing brace must be on a line by itself
(#33) Closing brace must be on a line by itself
(#34) Closing brace must be on a line by itself
(#35) Closing brace must be on a line by itself
(#36) Closing brace must be on a line by itself
(#38) Closing brace must be on a line by itself
(#54) Opening brace should be on the same line as the declaration
(#57) Variable "courseURL" must be all lower-case
(#62) Expected "} else {\n"; found "}\n else {\n"
(#63) Variable "courseURL" must be all lower-case
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Expected 1 space before "=>"; 0 found
(#69) Expected 1 space after "=>"; 0 found
(#69) Expected 1 space before "=>"; 0 found
(#69) Expected 1 space after "=>"; 0 found
(#71) Variable "courseURL" must be all lower-case
(#74) Whitespace found at end of line
(#76) Variable "courseURL" must be all lower-case
(#79) Inline control structures are not allowed
(#80) Inline control structures are not allowed
(#81) Inline control structures are not allowed
(#82) Inline control structures are not allowed
(#83) Inline control structures are not allowed
(#84) Inline control structures are not allowed
(#85) Inline control structures are not allowed
(#86) Inline control structures are not allowed
(#87) Inline control structures are not allowed
(#87) Whitespace found at end of line
(#88) Blank comments are not allowed
(#110) Opening brace should be on the same line as the declaration
(#113) Inline control structures are not allowed
(#114) Inline control structures are not allowed
(#115) Inline control structures are not allowed
(#116) Inline control structures are not allowed
(#117) Inline control structures are not allowed
(#118) Inline control structures are not allowed
(#119) Inline control structures are not allowed
(#120) Inline control structures are not allowed
(#121) Inline control structures are not allowed
(#121) Whitespace found at end of line
(#122) Blank comments are not allowed
(#143) Whitespace found at end of line
(#144) Opening brace should be on the same line as the declaration
(#147) Expected 1 space before "=>"; 0 found
(#147) Expected 1 space after "=>"; 0 found
(#153) Expected 1 space before "=>"; 0 found
(#153) Expected 1 space after "=>"; 0 found
(#154) Inline control structures are not allowed
(#156) Inline control structures are not allowed
(#172) Whitespace found at end of line
(#173) Opening brace should be on the same line as the declaration
(#179) Inline control structures are not allowed
(#180) Whitespace found at end of line
(#182) Inline control structures are not allowed
(#185) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#188) Whitespace found at end of line
(#203) Whitespace found at end of line
(#204) Opening brace should be on the same line as the declaration
(#210) Inline control structures are not allowed
(#214) Inline control structures are not allowed
(#230) Opening brace should be on the same line as the declaration
(#233) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) Whitespace found at end of line
(#247) Opening brace should be on the same line as the declaration
(#253) Inline control structures are not allowed
(#259) Inline control structures are not allowed
(#267) Blank comments are not allowed
(#269) Opening brace should be on the same line as the declaration
(#275) Inline control structures are not allowed
(#279) Inline control structures are not allowed
(#282) Expected 1 space before "=="; 0 found
(#282) Expected 1 space after "=="; 0 found
(#282) Expected 1 space before "=="; 0 found
(#282) Expected 1 space after "=="; 0 found
(#287) Inline control structures are not allowed
(#287) Expected 1 space before "!="; 0 found
(#287) Expected 1 space after "!="; 0 found
(#287) Expected 1 space before "=="; 0 found
(#287) Expected 1 space after "=="; 0 found
(#296) Inline comments must start with a capital letter, digit or 3-dots sequence
(#298) Inline comments must end in full-stops, exclamation marks, or question marks
(#299) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#300) Opening brace should be on the same line as the declaration
(#306) Inline control structures are not allowed
(#311) Blank comments are not allowed
(#313) Inline control structures are not allowed
(#313) Whitespace found at end of line
(#314) Inline control structures are not allowed
(#314) Whitespace found at end of line
(#320) Expected 1 space before "=>"; 0 found
(#320) Expected 1 space after "=>"; 0 found
(#320) Expected 1 space before "=>"; 0 found
(#320) Expected 1 space after "=>"; 0 found
(#325) Expected 1 space before "==="; 0 found
(#325) Expected 1 space after "==="; 0 found
(#327) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#330) Line exceeds 132 characters; contains 134 characters
(#335) Blank comments are not allowed
(#337) Opening brace should be on the same line as the declaration
(#341) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#341) Expected 1 space before "=>"; 0 found
(#341) Expected 1 space after "=>"; 0 found
(#341) Line exceeds 132 characters; contains 143 characters
mod/autoattendmod/locallib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#6) Blank comments are not allowed
(#10) This comment is 60% valid code; is this commented out code?
(#29) Opening brace should be on the same line as the declaration
(#32) Inline control structures are not allowed
(#32) Expected 1 space before "=="; 0 found
(#32) Expected 1 space after "=="; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#35) Inline control structures are not allowed
(#35) Expected 1 space before "<="; 0 found
(#35) Expected 1 space after "<="; 0 found
(#45) Blank comments are not allowed
(#47) Opening brace should be on the same line as the declaration
(#48) Inline control structures are not allowed
(#48) Expected 1 space before "=="; 0 found
(#48) Expected 1 space after "=="; 0 found
(#51) Inline control structures are not allowed
(#52) Whitespace found at end of line
(#57) Blank comments are not allowed
(#59) Opening brace should be on the same line as the declaration
(#62) Inline control structures are not allowed
(#62) Expected 1 space before "=="; 0 found
(#62) Expected 1 space after "=="; 0 found
(#64) Inline control structures are not allowed
(#65) Whitespace found at end of line
(#66) Expected 1 space before "=>"; 0 found
(#66) Expected 1 space after "=>"; 0 found
(#67) Inline control structures are not allowed
(#73) Blank comments are not allowed
(#75) Opening brace should be on the same line as the declaration
(#78) Inline control structures are not allowed
(#78) Expected 1 space before "=="; 0 found
(#78) Expected 1 space after "=="; 0 found
(#80) Inline control structures are not allowed
(#82) Expected 1 space before "=>"; 0 found
(#82) Expected 1 space after "=>"; 0 found
(#83) Inline control structures are not allowed
(#89) Blank comments are not allowed
(#91) Opening brace should be on the same line as the declaration
(#94) Inline control structures are not allowed
(#94) Expected 1 space before "=="; 0 found
(#94) Expected 1 space after "=="; 0 found
(#96) Inline control structures are not allowed
(#98) Expected 1 space before "=>"; 0 found
(#98) Expected 1 space after "=>"; 0 found
(#99) Inline control structures are not allowed
(#105) Blank comments are not allowed
(#107) Opening brace should be on the same line as the declaration
(#110) Inline control structures are not allowed
(#110) Expected 1 space before "=="; 0 found
(#110) Expected 1 space after "=="; 0 found
(#112) Inline control structures are not allowed
(#114) Expected 1 space before "=>"; 0 found
(#114) Expected 1 space after "=>"; 0 found
(#115) Inline control structures are not allowed
(#121) Blank comments are not allowed
(#123) Opening brace should be on the same line as the declaration
(#126) Inline control structures are not allowed
(#126) Expected 1 space before "=="; 0 found
(#126) Expected 1 space after "=="; 0 found
(#128) Inline control structures are not allowed
(#130) Expected 1 space before "=>"; 0 found
(#130) Expected 1 space after "=>"; 0 found
(#131) Inline control structures are not allowed
(#137) Blank comments are not allowed
(#139) Opening brace should be on the same line as the declaration
(#142) Inline control structures are not allowed
(#142) Expected 1 space before "=="; 0 found
(#142) Expected 1 space after "=="; 0 found
(#144) Inline control structures are not allowed
(#146) Expected 1 space before "=>"; 0 found
(#146) Expected 1 space after "=>"; 0 found
(#147) Inline control structures are not allowed
(#153) Blank comments are not allowed
(#155) Opening brace should be on the same line as the declaration
(#158) Inline control structures are not allowed
(#158) Expected 1 space before "=="; 0 found
(#158) Expected 1 space after "=="; 0 found
(#160) Inline control structures are not allowed
(#162) Expected 1 space before "=>"; 0 found
(#162) Expected 1 space after "=>"; 0 found
(#163) Inline control structures are not allowed
(#169) Blank comments are not allowed
(#171) Opening brace should be on the same line as the declaration
(#174) Inline control structures are not allowed
(#174) Expected 1 space before "=="; 0 found
(#174) Expected 1 space after "=="; 0 found
(#176) Inline control structures are not allowed
(#178) Expected 1 space before "=>"; 0 found
(#178) Expected 1 space after "=>"; 0 found
(#179) Inline control structures are not allowed
(#185) Blank comments are not allowed
(#187) Opening brace should be on the same line as the declaration
(#190) Inline control structures are not allowed
(#190) Expected 1 space before "=="; 0 found
(#190) Expected 1 space after "=="; 0 found
(#192) Inline control structures are not allowed
(#194) Expected 1 space before "=>"; 0 found
(#194) Expected 1 space after "=>"; 0 found
(#195) Inline control structures are not allowed
(#202) 88 slashes comments are not allowed; use "// Comment." instead
(#205) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) Opening brace should be on the same line as the declaration
(#215) Blank comments are not allowed
(#217) Opening brace should be on the same line as the declaration
(#228) Expected 1 space before "=="; 0 found
(#228) Expected 1 space after "=="; 0 found
(#238) Blank comments are not allowed
(#240) Opening brace should be on the same line as the declaration
(#246) 88 slashes comments are not allowed; use "// Comment." instead
(#249) Blank comments are not allowed
(#252) Opening brace should be on the same line as the declaration
(#260) Inline control structures are not allowed
(#262) Expected 1 space before ">="; 0 found
(#262) Expected 1 space after ">="; 0 found
(#265) Expected 1 space before "=>"; 0 found
(#270) Inline comments must start with a capital letter, digit or 3-dots sequence
(#270) Inline comments must end in full-stops, exclamation marks, or question marks
(#270) Whitespace found at end of line
(#271) Expected "} else {\n"; found "}\n\n // for Legacy add_to_log() \n else {\n"
(#273) Variable "param_str" must not contain underscores.
(#274) Blank comments are not allowed
(#277) Whitespace found at end of line
(#279) Variable "param_str" must not contain underscores.
(#282) Whitespace found at end of line
mod/autoattendmod/mod_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) "require_once" must be immediately followed by an open parenthesis
(#33) Visibility must be declared on method "definition"
(#34) Opening brace should be on the same line as the declaration
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#39) Blank comments are not allowed
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#46) Expected "} else {\n"; found "}\n else {\n"
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#52) Blank comments are not allowed
(#60) Line exceeds 132 characters; contains 147 characters
(#64) Line exceeds 132 characters; contains 150 characters
(#67) This comment is 71% valid code; is this commented out code?
(#68) Line exceeds 132 characters; contains 150 characters
(#73) Line exceeds 132 characters; contains 148 characters
(#77) Line exceeds 132 characters; contains 153 characters
(#81) Line exceeds 132 characters; contains 150 characters
(#85) Line exceeds 132 characters; contains 144 characters
(#89) Line exceeds 132 characters; contains 150 characters
(#93) Line exceeds 132 characters; contains 144 characters
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
mod/autoattendmod/version.php
(#1) Whitespace found at end of line
(#1) The opening <?php tag must be followed by exactly one newline.
(#3) 81 slashes comments are not allowed; use "// Comment." instead
(#4) 3 slashes comments are not allowed; use "// Comment." instead
(#4) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#5) 3 slashes comments are not allowed; use "// Comment." instead
(#5) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#6) Inline comments must end in full-stops, exclamation marks, or question marks
(#6) 81 slashes comments are not allowed; use "// Comment." instead
(#11) Inline comments must end in full-stops, exclamation marks, or question marks
(#18) Inline comments must start with a capital letter, digit or 3-dots sequence
(#19) No space found before comment text; expected "// $plugin->version = 2019081700; // old excel version" but found "//$plugin->version = 2019081700; // old excel version"
(#20) No space found before comment text; expected "// $plugin->version = 2016011200; // backup" but found "//$plugin->version = 2016011200; // backup"
(#21) Inline comments must end in full-stops, exclamation marks, or question marks
(#21) No space found before comment text; expected "// $plugin->version = 2016031900; // email function" but found "//$plugin->version = 2016031900; // email function"
mod/autoattendmod/view.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Whitespace found at end of line
(#2) Line 2 of the opening comment must start "//".
(#3) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#3) This comment is 45% valid code; is this commented out code?
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#5) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#5) 3 slashes comments are not allowed; use "// Comment." instead
(#6) Inline comments must end in full-stops, exclamation marks, or question marks
(#6) Line 6 of the opening comment must start "// (at your option) any later version.".
(#6) 3 slashes comments are not allowed; use "// Comment." instead
(#7) Line 7 of the opening comment must start "//".
(#8) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#9) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#9) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#9) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#9) Line 12 of the opening comment must start "//".
(#9) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#9) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Spaces must be used for alignment; tabs are not allowed
(#15) Tab found within whitespace
(#16) Spaces must be used for alignment; tabs are not allowed
(#16) Tab found within whitespace
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#19) Spaces must be used for alignment; tabs are not allowed
(#19) Tab found within whitespace
(#19) Line indented incorrectly; expected at least 4 spaces, found 1
(#28) Spaces must be used for alignment; tabs are not allowed
(#28) Tab found within whitespace
(#28) Line indented incorrectly; expected at least 4 spaces, found 1
(#28) Blank comments are not allowed
(#29) Spaces must be used for alignment; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected at least 4 spaces, found 1
(#29) Expected 1 space before "=>"; 0 found
(#29) Expected 1 space after "=>"; 0 found
(#30) Spaces must be used for alignment; tabs are not allowed
(#30) Tab found within whitespace
(#30) Line indented incorrectly; expected 4 spaces, found 1
(#31) Spaces must be used for alignment; 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 for alignment; tabs are not allowed
(#32) Tab found within whitespace
(#32) Line indented incorrectly; expected 4 spaces, found 1
(#33) Spaces must be used for alignment; tabs are not allowed
(#33) Tab found within whitespace
(#33) Line indented incorrectly; expected at least 4 spaces, found 1
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#34) Spaces must be used for alignment; tabs are not allowed
(#34) Tab found within whitespace
(#34) Line indented incorrectly; expected 4 spaces, found 1
(#35) Spaces must be used for alignment; tabs are not allowed
(#35) Tab found within whitespace
(#35) Line indented incorrectly; expected at least 8 spaces, found 2
(#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
(#37) Spaces must be used for alignment; tabs are not allowed
(#37) Tab found within whitespace
(#37) Line indented incorrectly; expected at least 4 spaces, found 1
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#38) Spaces must be used for alignment; tabs are not allowed
(#38) Tab found within whitespace
(#38) Line indented incorrectly; expected 4 spaces, found 1
(#39) Spaces must be used for alignment; tabs are not allowed
(#39) Tab found within whitespace
(#39) Line indented incorrectly; expected at least 8 spaces, found 2
(#40) Spaces must be used for alignment; tabs are not allowed
(#40) Tab found within whitespace
(#40) Line indented incorrectly; expected 4 spaces, found 1
(#41) Spaces must be used for alignment; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected at least 4 spaces, found 1
(#41) Blank comments are not allowed
(#42) Spaces must be used for alignment; tabs are not allowed
(#42) Tab found within whitespace
(#42) Line indented incorrectly; expected at least 4 spaces, found 1
(#43) Spaces must be used for alignment; tabs are not allowed
(#43) Tab found within whitespace
(#43) Line indented incorrectly; expected at least 4 spaces, found 1
(#44) Whitespace found at end of line
(#46) Blank comments are not allowed
(#47) Expected "} else if (...) {\n"; found "} \n\nelse if (...) {\n"
(#48) Spaces must be used for alignment; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected at least 4 spaces, found 1
(#48) Blank comments are not allowed
(#49) Spaces must be used for alignment; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected at least 4 spaces, found 1
(#49) Expected 1 space before "=>"; 0 found
(#49) Expected 1 space after "=>"; 0 found
(#50) Spaces must be used for alignment; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected 4 spaces, found 1
(#51) Spaces must be used for alignment; 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 for alignment; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected 4 spaces, found 1
(#53) Spaces must be used for alignment; tabs are not allowed
(#53) Tab found within whitespace
(#53) Line indented incorrectly; expected at least 4 spaces, found 1
(#53) Expected 1 space before "=>"; 0 found
(#53) Expected 1 space after "=>"; 0 found
(#54) Spaces must be used for alignment; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected 4 spaces, found 1
(#55) Spaces must be used for alignment; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected at least 8 spaces, found 2
(#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
(#57) Spaces must be used for alignment; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected at least 4 spaces, found 1
(#58) Spaces must be used for alignment; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected 4 spaces, found 1
(#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 2
(#60) Spaces must be used for alignment; tabs are not allowed
(#60) Tab found within whitespace
(#60) Line indented incorrectly; expected 4 spaces, found 1
(#63) Blank comments are not allowed
(#64) Expected "} else {\n"; found "}\n\nelse {\n"
(#65) Spaces must be used for alignment; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected at least 4 spaces, found 1
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Spaces must be used for alignment; tabs are not allowed
(#76) Tab found within whitespace
(#76) Line indented incorrectly; expected at least 4 spaces, found 1
(#77) Spaces must be used for alignment; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected at least 4 spaces, found 1
(#78) Spaces must be used for alignment; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected at least 4 spaces, found 1
(#78) Blank comments are not allowed
(#79) Spaces must be used for alignment; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected 4 spaces, found 1
(#79) Expected 1 space before ">="; 0 found
(#79) Expected 1 space after ">="; 0 found
(#80) Spaces must be used for alignment; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected at least 8 spaces, found 2
(#81) Spaces must be used for alignment; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected at least 8 spaces, found 2
(#81) Spaces must be used for alignment; tabs are not allowed
(#81) Tab found within whitespace
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Spaces must be used for alignment; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected 8 spaces, found 2
(#83) Spaces must be used for alignment; tabs are not allowed
(#83) Tab found within whitespace
(#83) Line indented incorrectly; expected 12 spaces, found 3
(#84) Spaces must be used for alignment; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected at least 16 spaces, found 4
(#84) Spaces must be used for alignment; tabs are not allowed
(#84) Tab found within whitespace
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Spaces must be used for alignment; tabs are not allowed
(#85) Tab found within whitespace
(#85) Line indented incorrectly; expected 16 spaces, found 4
(#86) Spaces must be used for alignment; tabs are not allowed
(#86) Tab found within whitespace
(#86) Line indented incorrectly; expected 20 spaces, found 6
(#86) Expected 1 space before "=="; 0 found
(#86) Expected 1 space after "=="; 0 found
(#86) Expected 1 space before "=="; 0 found
(#86) Expected 1 space after "=="; 0 found
(#87) Spaces must be used for alignment; tabs are not allowed
(#87) Tab found within whitespace
(#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
(#87) Line indented incorrectly; expected at least 24 spaces, found 6
(#88) Spaces must be used for alignment; tabs are not allowed
(#88) Tab found within whitespace
(#88) Line indented incorrectly; expected 24 spaces, found 6
(#88) Expected 1 space before "!="; 0 found
(#88) Expected 1 space after "!="; 0 found
(#88) Expected 1 space before "=="; 0 found
(#88) Expected 1 space after "=="; 0 found
(#88) Expected 1 space before "=="; 0 found
(#88) Expected 1 space after "=="; 0 found
(#89) Spaces must be used for alignment; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected 28 spaces, found 7
(#90) Spaces must be used for alignment; tabs are not allowed
(#90) Tab found within whitespace
(#90) Line indented incorrectly; expected at least 32 spaces, found 8
(#91) Spaces must be used for alignment; tabs are not allowed
(#91) Tab found within whitespace
(#91) Line indented incorrectly; expected 28 spaces, found 7
(#92) Spaces must be used for alignment; tabs are not allowed
(#92) Tab found within whitespace
(#92) Line indented incorrectly; expected 24 spaces, found 6
(#93) Spaces must be used for alignment; tabs are not allowed
(#93) Tab found within whitespace
(#93) Line indented incorrectly; expected at least 24 spaces, found 6
(#93) Blank comments are not allowed
(#94) Spaces must be used for alignment; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected at least 24 spaces, found 6
(#94) Expected 1 space before "=>"; 0 found
(#94) Expected 1 space after "=>"; 0 found
(#94) Expected 1 space before "=>"; 0 found
(#94) Expected 1 space after "=>"; 0 found
(#95) Spaces must be used for alignment; tabs are not allowed
(#95) Tab found within whitespace
(#95) Line indented incorrectly; expected 24 spaces, found 6
(#96) Spaces must be used for alignment; tabs are not allowed
(#96) Tab found within whitespace
(#96) Line indented incorrectly; expected at least 28 spaces, found 7
(#97) Spaces must be used for alignment; tabs are not allowed
(#97) Tab found within whitespace
(#97) Line indented incorrectly; expected 24 spaces, found 6
(#98) Spaces must be used for alignment; tabs are not allowed
(#98) Tab found within whitespace
(#98) Line indented incorrectly; expected 24 spaces, found 6
(#98) Expected 1 space before "=="; 0 found
(#98) Expected 1 space after "=="; 0 found
(#99) Spaces must be used for alignment; tabs are not allowed
(#99) Tab found within whitespace
(#99) Line indented incorrectly; expected at least 28 spaces, found 7
(#100) Spaces must be used for alignment; tabs are not allowed
(#100) Tab found within whitespace
(#100) Line indented incorrectly; expected 24 spaces, found 6
(#101) Spaces must be used for alignment; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected 20 spaces, found 5
(#101) Closing brace indented incorrectly; expected 6 spaces, found 5
(#102) Spaces must be used for alignment; tabs are not allowed
(#102) Tab found within whitespace
(#102) Line indented incorrectly; expected 16 spaces, found 4
(#103) Spaces must be used for alignment; tabs are not allowed
(#103) Tab found within whitespace
(#103) Line indented incorrectly; expected 12 spaces, found 3
(#104) Spaces must be used for alignment; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected 8 spaces, found 2
(#105) Spaces must be used for alignment; tabs are not allowed
(#105) Tab found within whitespace
(#105) Line indented incorrectly; expected 4 spaces, found 1

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 stylelint [More info]


PHPDocs style problems

(128 errors, 19 warnings)

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

mod/autoattendmod/backup/moodle2/backup_autoattendmod_activity_task.class.php
(#2) Empty line found after PHP open tag
(#30) Class backup_autoattendmod_activity_task does not have @copyright tag
(#18) File-level phpdocs block does not have @license tag
(#30) Class backup_autoattendmod_activity_task does not have @license tag
mod/autoattendmod/backup/moodle2/backup_autoattendmod_stepslib.php
(#2) Empty line found after PHP open tag
(#33) Function backup_autoattendmod_activity_structure_step::define_structure is not documented
(#18) No one-line description found in phpdocs for file
(#28) Class backup_autoattendmod_activity_structure_step does not have @copyright tag
(#18) File-level phpdocs block does not have @license tag
(#28) Class backup_autoattendmod_activity_structure_step does not have @license tag
(#19) Package mod is not valid
mod/autoattendmod/backup/moodle2/restore_autoattendmod_activity_task.class.php
(#2) Empty line found after PHP open tag
(#30) No one-line description found in phpdocs for class restore_autoattendmod_activity_task
(#30) Class restore_autoattendmod_activity_task does not have @copyright tag
(#18) File-level phpdocs block does not have @license tag
(#30) Class restore_autoattendmod_activity_task does not have @license tag
mod/autoattendmod/backup/moodle2/restore_autoattendmod_stepslib.php
(#2) Empty line found after PHP open tag
(#33) Function restore_autoattendmod_activity_structure_step::define_structure is not documented
(#43) Function restore_autoattendmod_activity_structure_step::process_autoattendmod is not documented
(#57) Function restore_autoattendmod_activity_structure_step::after_execute is not documented
(#18) No one-line description found in phpdocs for file
(#28) Class restore_autoattendmod_activity_structure_step does not have @copyright tag
(#18) File-level phpdocs block does not have @license tag
(#28) Class restore_autoattendmod_activity_structure_step does not have @license tag
(#19) Package mod is not valid
mod/autoattendmod/classes/autoattendmod_handler.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#11) Class autoattendmod_handler is not documented
(#14) Function autoattendmod_handler::get_attendances_handler is not documented
(#11) Package is not specified for class autoattendmod_handler. It is also not specified in file-level phpdocs
mod/autoattendmod/classes/event/view_log.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#9) Class view_log is not documented
(#11) Function view_log::get_name is not documented
(#17) Function view_log::get_url is not documented
(#28) Function view_log::get_description is not documented
(#37) Function view_log::init is not documented
(#9) Package is not specified for class view_log. It is also not specified in file-level phpdocs
mod/autoattendmod/classes/output/mobile.php
(#2) File-level phpdocs block is not found
(#17) Function mobile::mobile_course_view is not documented
mod/autoattendmod/db/access.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block does not have @license tag
mod/autoattendmod/db/install.php
(#17) File-level phpdocs block is not found
(#17) Function xmldb_autoattendmod_install is not documented
(#21) Found comment starting with three or more slashes
(#17) Package is not specified for function xmldb_autoattendmod_install. It is also not specified in file-level phpdocs
mod/autoattendmod/db/mobile.php
(#2) File-level phpdocs block is not found
mod/autoattendmod/db/services.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/autoattendmod/db/upgrade.php
(#2) Empty line found after PHP open tag
(#20) File-level phpdocs block is not found
(#20) Function xmldb_autoattendmod_upgrade is not documented
(#28) Found comment starting with three or more slashes
(#29) Found comment starting with three or more slashes
(#30) Found comment starting with three or more slashes
(#31) Found comment starting with three or more slashes
(#33) Found comment starting with three or more slashes
(#34) Found comment starting with three or more slashes
(#35) Found comment starting with three or more slashes
(#20) Package is not specified for function xmldb_autoattendmod_upgrade. It is also not specified in file-level phpdocs
mod/autoattendmod/externallib.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#8) Package is not specified for class mod_autoattendmod_external. It is also not specified in file-level phpdocs
mod/autoattendmod/index.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#28) Found comment starting with three or more slashes
(#37) Found comment starting with three or more slashes
(#45) Found comment starting with three or more slashes
(#90) Found comment starting with three or more slashes
mod/autoattendmod/lang/en/autoattendmod.php
(#2) File-level phpdocs block is not found
mod/autoattendmod/lang/ja/autoattendmod.php
(#2) File-level phpdocs block is not found
mod/autoattendmod/lib.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
(#24) Function autoattendmod_supports is not documented
(#268) Function autoattendmod_update_grades is not documented
(#299) Function autoattendmod_grade_item_update is not documented
(#336) Function autoattendmod_grade_item_delete is not documented
(#3) Found comment starting with three or more slashes
(#50) Phpdocs for function autoattendmod_add_instance has incomplete parameters list
(#106) Phpdocs for function autoattendmod_update_instance has incomplete parameters list
(#162) Phpdocs for function autoattendmod_user_outline has incomplete parameters list
(#196) Phpdocs for function autoattendmod_user_complete has incomplete parameters list
(#224) Phpdocs for function autoattendmod_print_recent_activity has incomplete parameters list
(#170) Invalid phpdocs tag @TODO: used
(#201) Invalid phpdocs tag @TODO: used
(#49) Not recommended phpdocs tag @global used
(#105) Not recommended phpdocs tag @global used
(#139) Not recommended phpdocs tag @global used
(#24) Package is not specified for function autoattendmod_supports. It is also not specified in file-level phpdocs
(#43) Package is not specified for function autoattendmod_add_instance. It is also not specified in file-level phpdocs
(#100) Package is not specified for function autoattendmod_update_instance. It is also not specified in file-level phpdocs
(#134) Package is not specified for function autoattendmod_delete_instance. It is also not specified in file-level phpdocs
(#162) Package is not specified for function autoattendmod_user_outline. It is also not specified in file-level phpdocs
(#196) Package is not specified for function autoattendmod_user_complete. It is also not specified in file-level phpdocs
(#220) Package is not specified for function autoattendmod_print_recent_activity. It is also not specified in file-level phpdocs
(#238) Package is not specified for function autoattendmod_cron. It is also not specified in file-level phpdocs
(#268) Package is not specified for function autoattendmod_update_grades. It is also not specified in file-level phpdocs
(#299) Package is not specified for function autoattendmod_grade_item_update. It is also not specified in file-level phpdocs
(#336) Package is not specified for function autoattendmod_grade_item_delete. It is also not specified in file-level phpdocs
mod/autoattendmod/locallib.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#28) Function autoattendmod_get_course_module is not documented
(#46) Function autoattendmod_get_idnumber is not documented
(#58) Function autoattendmod_get_namepattern is not documented
(#74) Function autoattendmod_disp_feedback is not documented
(#90) Function autoattendmod_is_email_enable is not documented
(#106) Function autoattendmod_is_email_allreports is not documented
(#122) Function autoattendmod_is_email_key is not documented
(#138) Function autoattendmod_is_email_user is not documented
(#154) Function autoattendmod_use_summertime is not documented
(#170) Function autoattendmod_is_old_excel is not documented
(#186) Function autoattendmod_is_backup_block is not documented
(#208) Function autoattendmod_get_receivemail_users is not documented
(#216) Function autoattendmod_send_email_teachers is not documented
(#239) Function autoattendmod_send_email_user is not documented
(#251) Function autoattendmod_get_event is not documented
(#202) Found comment starting with three or more slashes
(#246) Found comment starting with three or more slashes
(#28) Package is not specified for function autoattendmod_get_course_module. It is also not specified in file-level phpdocs
(#46) Package is not specified for function autoattendmod_get_idnumber. It is also not specified in file-level phpdocs
(#58) Package is not specified for function autoattendmod_get_namepattern. It is also not specified in file-level phpdocs
(#74) Package is not specified for function autoattendmod_disp_feedback. It is also not specified in file-level phpdocs
(#90) Package is not specified for function autoattendmod_is_email_enable. It is also not specified in file-level phpdocs
(#106) Package is not specified for function autoattendmod_is_email_allreports. It is also not specified in file-level phpdocs
(#122) Package is not specified for function autoattendmod_is_email_key. It is also not specified in file-level phpdocs
(#138) Package is not specified for function autoattendmod_is_email_user. It is also not specified in file-level phpdocs
(#154) Package is not specified for function autoattendmod_use_summertime. It is also not specified in file-level phpdocs
(#170) Package is not specified for function autoattendmod_is_old_excel. It is also not specified in file-level phpdocs
(#186) Package is not specified for function autoattendmod_is_backup_block. It is also not specified in file-level phpdocs
(#208) Package is not specified for function autoattendmod_get_receivemail_users. It is also not specified in file-level phpdocs
(#216) Package is not specified for function autoattendmod_send_email_teachers. It is also not specified in file-level phpdocs
(#239) Package is not specified for function autoattendmod_send_email_user. It is also not specified in file-level phpdocs
(#251) Package is not specified for function autoattendmod_get_event. It is also not specified in file-level phpdocs
mod/autoattendmod/mod_form.php
(#2) Empty line found after PHP open tag
(#31) Class mod_autoattendmod_mod_form is not documented
(#33) Function mod_autoattendmod_mod_form::definition is not documented
(#18) No one-line description found in phpdocs for file
mod/autoattendmod/version.php
(#2) Empty line found after PHP open tag
(#8) File-level phpdocs block is not found
(#3) Found comment starting with three or more slashes
(#4) Found comment starting with three or more slashes
(#5) Found comment starting with three or more slashes
(#6) Found comment starting with three or more slashes
mod/autoattendmod/view.php
(#2) Empty line found after PHP open tag
(#9) File-level phpdocs block is not found
(#5) Found comment starting with three or more slashes
(#6) Found comment starting with three or more slashes

Update savepoints problems

(8 errors, 0 warnings)

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

mod/autoattendmod/db/upgrade.php
Detected more 'if' blocks (7) than 'savepoint' calls (0)
version 2014060500 is missing corresponding savepoint call
version 2014060800 is missing corresponding savepoint call
version 2014061300 is missing corresponding savepoint call
version 2014120100 is missing corresponding savepoint call
version 2016010400 is missing corresponding savepoint call
version 2016011200 is missing corresponding savepoint call
version 2019081900 is missing corresponding savepoint call

Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(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, 7 warnings)

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

mod/autoattendmod/templates/mobile_course_view.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 17: Attribute “[params]” is not serializable as XML 1.0. (> <span core-site-plugins-call-ws-on-load name="mod_autoattendmod_view_autoattendmod" [params]="{autoattendmodid: }" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation info, line 17: Attribute “[presets]” is not serializable as XML 1.0. (> <span core-site-plugins-call-ws-on-load name="mod_autoattendmod_view_autoattendmod" [params]="{autoattendmodid: }" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 17: Attribute “core-site-plugins-call-ws-on-load” not allowed on element “span” at this point. (> <span core-site-plugins-call-ws-on-load name="mod_autoattendmod_view_autoattendmod" [params]="{autoattendmodid: }" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 17: Attribute “name” not allowed on element “span” at this point. (> <span core-site-plugins-call-ws-on-load name="mod_autoattendmod_view_autoattendmod" [params]="{autoattendmodid: }" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 17: Attribute “[params]” not allowed on element “span” at this point. (> <span core-site-plugins-call-ws-on-load name="mod_autoattendmod_view_autoattendmod" [params]="{autoattendmodid: }" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)
(#1) HTML Validation error, line 17: Attribute “[presets]” not allowed on element “span” at this point. (> <span core-site-plugins-call-ws-on-load name="mod_autoattendmod_view_autoattendmod" [params]="{autoattendmodid: }" [preSets]="{getFromCache: 0, saveToCache: 0}"></span)