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

(1334 errors, 358 warnings)

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

plagiarism/plagscan/ajax.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".
(#3) Line 2 of the opening comment must start "//".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#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".
(#10) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#10) Line 12 of the opening comment must start "//".
(#10) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#10) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Whitespace found at end of line
(#17) Whitespace found at end of line
(#46) Variable "ps_yellow_level" must not contain underscores.
(#47) Variable "ps_red_level" must not contain underscores.
(#67) Variable "ps_yellow_level" must not contain underscores.
(#67) Variable "ps_red_level" must not contain underscores.
(#67) Line exceeds 132 characters; contains 152 characters
plagiarism/plagscan/backup/moodle2/restore_plagiarism_plagscan_plugin.class.php
(#92) Expected "} else {\n"; found "}\n else {\n"
plagiarism/plagscan/callback.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// If the callback is from the setup check method" but found "//If the callback is from the setup check method"
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) No space found before comment text; expected "// If the callback is sent by the convertion process" but found "//If the callback is sent by the convertion process"
(#51) Inline control structures are not allowed
(#51) Expected 1 space after ">"; 0 found
(#53) Inline control structures are not allowed
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) No space found before comment text; expected "// if the callback is from the check process" but found "//if the callback is from the check process"
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) No space found before comment text; expected "// If the callback is sent by the convertion process" but found "//If the callback is sent by the convertion process"
(#87) Inline control structures are not allowed
(#89) Inline control structures are not allowed
(#89) Expected 1 space after ">"; 0 found
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) No space found before comment text; expected "// If the callback is sent by the check process that means it has finished" but found "//If the callback is sent by the check process that means it has finished"
(#91) Whitespace found at end of line
(#97) Whitespace found at end of line
plagiarism/plagscan/check_callback.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#29) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
plagiarism/plagscan/classes/event/assign_creation_completed.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#48) Inline control structures are not allowed
plagiarism/plagscan/classes/event/assign_creation_started.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
plagiarism/plagscan/classes/event/assign_update_completed.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
plagiarism/plagscan/classes/event/callback_received.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#47) Inline control structures are not allowed
plagiarism/plagscan/classes/event/error_happened.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#48) Inline control structures are not allowed
plagiarism/plagscan/classes/event/file_upload_completed.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#47) Line exceeds 132 characters; contains 165 characters
plagiarism/plagscan/classes/event/file_upload_failed.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#47) Line exceeds 132 characters; contains 165 characters
(#48) Inline control structures are not allowed
plagiarism/plagscan/classes/event/file_upload_started.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#47) Line exceeds 132 characters; contains 164 characters
plagiarism/plagscan/classes/event/user_creation_completed.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#47) Inline control structures are not allowed
plagiarism/plagscan/classes/event/user_creation_failed.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
plagiarism/plagscan/classes/event/user_creation_started.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
plagiarism/plagscan/classes/event/user_search_completed.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#47) Inline control structures are not allowed
plagiarism/plagscan/classes/event/user_search_started.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
plagiarism/plagscan/classes/handlers/file_handler.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#43) Whitespace found at end of line
(#44) Whitespace found at end of line
(#50) Whitespace found at end of line
(#56) Whitespace found at end of line
(#69) Whitespace found at end of line
(#85) Whitespace found at end of line
(#92) Line indented incorrectly; expected 8 spaces, found 12
(#94) Line indented incorrectly; expected 12 spaces, found 16
(#96) Line indented incorrectly; expected 12 spaces, found 16
(#97) Line indented incorrectly; expected 8 spaces, found 12
(#98) Whitespace found at end of line
(#100) Line indented incorrectly; expected 4 spaces, found 8
(#100) Closing brace indented incorrectly; expected 4 spaces, found 8
(#101) Whitespace found at end of line
(#104) Whitespace found at end of line
(#109) Expected 1 space before opening brace; found 0
(#115) Expected "} else {\n"; found "}\n else {\n"
(#116) Expected "if (...) {\n"; found "if(...){\n"
(#129) Whitespace found at end of line
(#142) Whitespace found at end of line
(#145) Whitespace found at end of line
(#151) Expected 1 space before opening brace; found 0
(#163) Whitespace found at end of line
(#173) Whitespace found at end of line
(#176) Variable "is_multiaccount" must not contain underscores.
(#177) Whitespace found at end of line
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) No space found before comment text; expected "// Check if the assignment was created from a previous versions without creating it on PS too" but found "//Check if the assignment was created from a previous versions without creating it on PS too"
(#179) Expected "if (...) {\n"; found "if(...) {\n"
(#179) Variable "is_multiaccount" must not contain underscores.
(#180) Variable "assign_owner" must not contain underscores.
(#182) Variable "assign_owner" must not contain underscores.
(#184) Variable "assign_owner" must not contain underscores.
(#186) Whitespace found at end of line
(#187) Variable "assign_owner" must not contain underscores.
(#188) Variable "assign_psownerid" must not contain underscores.
(#190) Variable "assign_psownerid" must not contain underscores.
(#190) Variable "assign_owner" must not contain underscores.
(#192) Whitespace found at end of line
(#193) Variable "is_multiaccount" must not contain underscores.
(#194) Variable "submitter_user" must not contain underscores.
(#197) Variable "submitter_user" must not contain underscores.
(#200) Variable "submitter_user" must not contain underscores.
(#201) Variable "submitter_userid" must not contain underscores.
(#203) Expected "} else {\n"; found "}\n else{\n"
(#204) Variable "submitter_userid" must not contain underscores.
(#204) Variable "submitter_user" must not contain underscores.
(#206) Variable "submitter_userid" must not contain underscores.
(#207) Variable "submitter_userid" must not contain underscores.
(#207) Variable "submitter_user" must not contain underscores.
(#213) Expected "if (...) {\n"; found "if(...) {\n"
(#215) Variable "assign_psownerid" must not contain underscores.
(#215) Line exceeds 132 characters; contains 144 characters
(#215) Whitespace found at end of line
(#216) Variable "submitter_userid" must not contain underscores.
(#216) Line exceeds 132 characters; contains 148 characters
(#216) Whitespace found at end of line
(#217) Line exceeds 132 characters; contains 146 characters
(#219) Whitespace found at end of line
(#220) Variable "previous_psfile" must not contain underscores.
(#221) Expected "if (...) {\n"; found "if(...){\n"
(#221) Variable "previous_psfile" must not contain underscores.
(#222) Variable "previous_psfile" must not contain underscores.
(#224) Whitespace found at end of line
(#225) Variable "previous_psfile" must not contain underscores.
(#225) Variable "previous_psfile" must not contain underscores.
(#226) Whitespace found at end of line
(#227) Expected "if (...) {\n"; found "if(...) {\n"
(#230) Whitespace found at end of line
(#238) Whitespace found at end of line
(#239) Expected "if (...) {\n"; found "if(...){\n"
(#239) Variable "submitter_userid" must not contain underscores.
(#239) Variable "submitter_userid" must not contain underscores.
(#241) Whitespace found at end of line
(#242) Expected "} else if (...) {\n"; found "} \n else if(...){\n"
(#242) Expected "if (...) {\n"; found "if(...){\n"
(#242) Variable "assign_psownerid" must not contain underscores.
(#245) Expected "} else {\n"; found "}\n else {\n"
(#248) Whitespace found at end of line
(#249) Expected "if (...) {\n"; found "if(...){\n"
(#249) Variable "previous_psfile" must not contain underscores.
(#252) Expected "} else {\n"; found "}\n else {\n"
(#253) Expected 1 space after "="; 0 found
(#253) Variable "previous_psfile" must not contain underscores.
(#256) Whitespace found at end of line
(#257) Expected "if (...) {\n"; found "if(...){\n"
(#260) Variable "assign_psownerid" must not contain underscores.
(#261) Variable "submitter_userid" must not contain underscores.
(#262) Variable "submitter_user" must not contain underscores.
(#263) Variable "submitter_user" must not contain underscores.
(#264) Variable "submitter_user" must not contain underscores.
(#270) Whitespace found at end of line
(#271) Expected "if (...) {\n"; found "if(...) {\n"
(#277) Whitespace found at end of line
(#283) Whitespace found at end of line
(#305) Line exceeds 132 characters; contains 163 characters
(#310) Whitespace found at end of line
(#312) Whitespace found at end of line
(#313) Line exceeds maximum limit of 180 characters; contains 183 characters
(#325) Inline control structures are not allowed
(#327) Whitespace found at end of line
(#328) Inline control structures are not allowed
(#328) Whitespace found at end of line
(#334) Whitespace found at end of line
(#336) Whitespace found at end of line
(#337) Whitespace found at end of line
(#360) Line exceeds 132 characters; contains 138 characters
(#365) Whitespace found at end of line
(#367) Whitespace found at end of line
(#368) Line exceeds maximum limit of 180 characters; contains 183 characters
(#380) Inline control structures are not allowed
(#382) Whitespace found at end of line
(#383) Inline control structures are not allowed
(#383) Whitespace found at end of line
plagiarism/plagscan/classes/observer.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#39) Whitespace found at end of line
(#47) Whitespace found at end of line
(#48) Expected "if (...) {\n"; found "if(...){\n"
(#48) Line exceeds 132 characters; contains 178 characters
(#50) Expected "} else if (...) {\n"; found "} else if(...){\n"
(#50) Expected "if (...) {\n"; found "if(...){\n"
(#50) Line exceeds 132 characters; contains 140 characters
(#52) Expected "if (...) {\n"; found "if(...){\n"
(#54) Expected "if (...) {\n"; found "if(...){\n"
(#55) Expected "if (...) {\n"; found "if(...){\n"
(#58) Expected "} else {\n"; found "}\n else {\n"
(#62) Expected "} else {\n"; found "}\n else{\n"
(#66) Expected "} else {\n"; found "}\n else{\n"
(#70) Expected "} else {\n"; found "}\n else{\n"
(#77) Whitespace found at end of line
(#82) Whitespace found at end of line
(#84) Whitespace found at end of line
(#85) Line indented incorrectly; expected 8 spaces, found 12
(#85) Expected "if (...) {\n"; found "if(...){\n"
(#85) Line exceeds 132 characters; contains 138 characters
(#87) Line indented incorrectly; expected 8 spaces, found 12
(#87) Expected "} else {\n"; found "} else{\n"
(#89) Line indented incorrectly; expected 8 spaces, found 12
(#90) Line indented incorrectly; expected 4 spaces, found 8
(#90) Closing brace indented incorrectly; expected 4 spaces, found 8
(#94) Whitespace found at end of line
(#101) Whitespace found at end of line
(#102) Expected "if (...) {\n"; found "if(...){\n"
(#102) Line exceeds 132 characters; contains 178 characters
(#104) Expected "} else {\n"; found "} else{\n"
plagiarism/plagscan/classes/plagscan_api.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#23) Whitespace found at end of line
(#57) Whitespace found at end of line
(#82) Whitespace found at end of line
(#86) Line exceeds 132 characters; contains 179 characters
(#87) Whitespace found at end of line
(#92) Whitespace found at end of line
(#97) Whitespace found at end of line
(#102) Whitespace found at end of line
(#112) Whitespace found at end of line
(#126) Whitespace found at end of line
(#129) The final declaration must precede the visibility declaration
(#139) Whitespace found at end of line
(#145) Whitespace found at end of line
(#148) Variable "endPoint" must be all lower-case
(#148) Variable "requestType" must be all lower-case
(#153) Whitespace found at end of line
(#154) Variable "endPoint" must be all lower-case
(#156) Variable "endPoint" must be all lower-case
(#156) Variable "endPoint" must be all lower-case
(#157) Line exceeds 132 characters; contains 151 characters
(#162) Expected 1 space after ".="; 0 found
(#166) Variable "requestType" must be all lower-case
(#177) Variable "requestType" must be all lower-case
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#181) No space found before comment text; expected "// "Authorization: Bearer $TOKEN"," but found "//"Authorization: Bearer $TOKEN","
(#186) Variable "requestType" must be all lower-case
(#190) Variable "requestType" must be all lower-case
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) No space found before comment text; expected "// "Authorization: Bearer $TOKEN"," but found "//"Authorization: Bearer $TOKEN","
(#199) Variable "requestType" must be all lower-case
(#205) Expected "if (...) {\n"; found "if(...) {\n"
(#209) Expected "if (...) {\n"; found "if(...){\n"
(#212) Expected "if (...) {\n"; found "if(...){\n"
(#219) Whitespace found at end of line
(#221) Whitespace found at end of line
(#222) Expected "if (...) {\n"; found "if(...){\n"
(#233) Whitespace found at end of line
(#234) Variable "response_handled" must not contain underscores.
(#235) Whitespace found at end of line
(#236) Expected "if (...) {\n"; found "if(...){\n"
(#236) Variable "response_handled" must not contain underscores.
(#239) Variable "response_handled" must not contain underscores.
(#239) Variable "response_handled" must not contain underscores.
(#239) Line exceeds 132 characters; contains 136 characters
(#244) Whitespace found at end of line
(#245) Variable "response_handled" must not contain underscores.
(#250) Whitespace found at end of line
(#263) Whitespace found at end of line
(#280) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#287) Space found before semicolon; expected "$eol;" but found "$eol\r\n ;"
(#293) Functions must not contain multiple empty lines in a row; found 2 empty lines
plagiarism/plagscan/classes/plagscan_connection.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#32) Inline doc block comments are not allowed; use "// Comment." instead
(#37) Whitespace found at end of line
(#69) Whitespace found at end of line
(#70) Whitespace found at end of line
(#76) Whitespace found at end of line
(#89) Whitespace found at end of line
(#92) Visibility must be declared on method "__construct"
(#101) Whitespace found at end of line
(#128) Whitespace found at end of line
(#137) Whitespace found at end of line
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) This comment is 52% valid code; is this commented out code?
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Whitespace found at end of line
(#183) Line exceeds 132 characters; contains 159 characters
(#191) Whitespace found at end of line
(#197) Variable "access_token" must not contain underscores.
(#198) Variable "access_token" must not contain underscores.
(#211) Whitespace found at end of line
(#219) Variable "access_token" must not contain underscores.
(#221) Variable "access_token" must not contain underscores.
(#224) Whitespace found at end of line
(#225) Expected "if (...) {\n"; found "if (...){ \n"
(#225) Whitespace found at end of line
(#228) Expected "} else {\n"; found "}\n else {\n"
(#235) Whitespace found at end of line
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#245) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#249) Variable "access_token" must not contain underscores.
(#251) Variable "access_token" must not contain underscores.
(#258) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#265) Whitespace found at end of line
(#270) Visibility must be declared on method "get_access_token"
(#279) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#291) Whitespace found at end of line
(#295) Visibility must be declared on method "submit_into_submission"
(#298) Variable "access_token" must not contain underscores.
(#313) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#315) Variable "access_token" must not contain underscores.
(#322) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#327) Expected "} else if (...) {\n"; found "}\n else if (...){\n"
(#327) Expected "if (...) {\n"; found "if (...){\n"
(#337) Whitespace found at end of line
(#341) Visibility must be declared on method "submit_single_file"
(#344) Variable "access_token" must not contain underscores.
(#348) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#351) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#353) Variable "access_token" must not contain underscores.
(#366) Whitespace found at end of line
(#371) Visibility must be declared on method "analyze"
(#374) Variable "access_token" must not contain underscores.
(#376) Variable "access_token" must not contain underscores.
(#397) Whitespace found at end of line
(#401) Visibility must be declared on method "plaglevel_retrieve"
(#403) Variable "access_token" must not contain underscores.
(#413) Whitespace found at end of line
(#414) Whitespace found at end of line
(#420) Visibility must be declared on method "report_retrieve"
(#421) Variable "access_token" must not contain underscores.
(#423) Variable "access_token" must not contain underscores.
(#444) Whitespace found at end of line
(#451) Visibility must be declared on method "create_submissionid"
(#453) No space found before comment text; expected "// 733-745lines are repeated from function get_links()" but found "//733-745lines are repeated from function get_links()"
(#453) Whitespace found at end of line
(#462) Inline comments must start with a capital letter, digit or 3-dots sequence
(#462) Inline comments must end in full-stops, exclamation marks, or question marks
(#462) This comment is 80% valid code; is this commented out code?
(#465) Inline comments must start with a capital letter, digit or 3-dots sequence
(#465) Inline comments must end in full-stops, exclamation marks, or question marks
(#465) This comment is 80% valid code; is this commented out code?
(#465) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#471) Expected "if (...) {\n"; found "if(...){\n"
(#484) Inline comments must start with a capital letter, digit or 3-dots sequence
(#484) Inline comments must end in full-stops, exclamation marks, or question marks
(#484) No space found before comment text; expected "// start manually" but found "//start manually"
(#484) Whitespace found at end of line
(#489) Inline comments must start with a capital letter, digit or 3-dots sequence
(#489) Inline comments must end in full-stops, exclamation marks, or question marks
(#489) No space found before comment text; expected "// start immediately" but found "//start immediately"
(#490) Expected "} else if (...) {\n"; found "}\n //start immediately\n else if (...) {\n"
(#493) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#496) Inline comments must start with a capital letter, digit or 3-dots sequence
(#496) Inline comments must end in full-stops, exclamation marks, or question marks
(#496) No space found before comment text; expected "// start after due date" but found "//start after due date"
(#499) Inline comments must start with a capital letter, digit or 3-dots sequence
(#499) Inline comments must end in full-stops, exclamation marks, or question marks
(#499) No space found before comment text; expected "// check date" but found "//check date"
(#520) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#522) Variable "access_token" must not contain underscores.
(#524) Variable "access_token" must not contain underscores.
(#527) Whitespace found at end of line
(#528) Expected "if (...) {\n"; found "if (...){\n"
(#531) Expected "} else {\n"; found "}\n else{\n"
(#532) Expected "if (...) {\n"; found "if(...){\n"
(#533) Inline control structures are not allowed
(#542) Whitespace found at end of line
(#550) Visibility must be declared on method "update_submission"
(#550) Variable "assign_id" must not contain underscores.
(#552) No space found before comment text; expected "// 733-745lines are repeated from function get_links()" but found "//733-745lines are repeated from function get_links()"
(#552) Whitespace found at end of line
(#561) Inline comments must start with a capital letter, digit or 3-dots sequence
(#561) Inline comments must end in full-stops, exclamation marks, or question marks
(#561) This comment is 80% valid code; is this commented out code?
(#564) Inline comments must start with a capital letter, digit or 3-dots sequence
(#564) Inline comments must end in full-stops, exclamation marks, or question marks
(#564) This comment is 80% valid code; is this commented out code?
(#564) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#574) Inline comments must start with a capital letter, digit or 3-dots sequence
(#574) Inline comments must end in full-stops, exclamation marks, or question marks
(#574) No space found before comment text; expected "// start manually" but found "//start manually"
(#574) Whitespace found at end of line
(#579) Inline comments must start with a capital letter, digit or 3-dots sequence
(#579) Inline comments must end in full-stops, exclamation marks, or question marks
(#579) No space found before comment text; expected "// start immediately" but found "//start immediately"
(#580) Expected "} else if (...) {\n"; found "}\n //start immediately\n else if (...) {\n"
(#583) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#586) Inline comments must start with a capital letter, digit or 3-dots sequence
(#586) Inline comments must end in full-stops, exclamation marks, or question marks
(#586) No space found before comment text; expected "// start after due date" but found "//start after due date"
(#589) Inline comments must start with a capital letter, digit or 3-dots sequence
(#589) Inline comments must end in full-stops, exclamation marks, or question marks
(#589) No space found before comment text; expected "// check date" but found "//check date"
(#608) Variable "access_token" must not contain underscores.
(#610) Variable "assign_id" must not contain underscores.
(#610) Variable "access_token" must not contain underscores.
(#619) Whitespace found at end of line
(#623) Visibility must be declared on method "add_new_user"
(#626) Variable "access_token" must not contain underscores.
(#635) Line exceeds 132 characters; contains 134 characters
(#637) Variable "access_token" must not contain underscores.
(#645) Expected "} else {\n"; found "}\n else { //In case it fails on the creation, try to create with a different username in PlagScan\n"
(#645) Inline comments must end in full-stops, exclamation marks, or question marks
(#645) No space found before comment text; expected "// In case it fails on the creation, try to create with a different username in PlagScan" but found "//In case it fails on the creation, try to create with a different username in PlagScan"
(#652) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#653) Whitespace found at end of line
(#663) Expected "} else {\n"; found "}\n else {\n"
(#666) Whitespace found at end of line
(#672) Whitespace found at end of line
(#676) Visibility must be declared on method "find_user"
(#678) Inline comments must end in full-stops, exclamation marks, or question marks
(#678) No space found before comment text; expected "// First check if the user is registered in the Moodle DB with the PS id" but found "//First check if the user is registered in the Moodle DB with the PS id"
(#685) Variable "access_token" must not contain underscores.
(#694) Variable "access_token" must not contain underscores.
(#718) Whitespace found at end of line
(#725) Variable "is_assistant" must not contain underscores.
(#728) Variable "is_assistant" must not contain underscores.
(#731) Variable "is_assistant" must not contain underscores.
(#736) Whitespace found at end of line
(#742) Variable "assign_psownerid" must not contain underscores.
(#742) Variable "involved_user" must not contain underscores.
(#743) Variable "access_token" must not contain underscores.
(#745) Variable "involved_psuserid" must not contain underscores.
(#745) Variable "involved_user" must not contain underscores.
(#747) Whitespace found at end of line
(#751) Variable "involved_psuserid" must not contain underscores.
(#752) Variable "involved_psuserid" must not contain underscores.
(#752) Variable "involved_user" must not contain underscores.
(#754) Whitespace found at end of line
(#755) Expected "if (...) {\n"; found "if (...){\n"
(#755) Variable "involved_psuserid" must not contain underscores.
(#758) Expected "} else {\n"; found "}\n else {\n"
(#759) Variable "involved_psuserid" must not contain underscores.
(#762) Variable "access_token" must not contain underscores.
(#762) Line exceeds 132 characters; contains 174 characters
(#763) Whitespace found at end of line
(#766) Expected "if (...) {\n"; found "if(...){\n"
(#767) Variable "is_involved" must not contain underscores.
(#769) Variable "is_involved" must not contain underscores.
(#771) Expected "if (...) {\n"; found "if (...){\n"
(#775) Expected "} else {\n"; found "}\n else{\n"
(#779) Whitespace found at end of line
(#780) Expected "if (...) {\n"; found "if(...){\n"
(#782) Expected "if (...) {\n"; found "if (...){\n"
(#785) Expected "} else if (...) {\n"; found "}\n else if (...){\n"
(#785) Expected "if (...) {\n"; found "if (...){\n"
(#797) Variable "access_token" must not contain underscores.
(#799) Variable "access_token" must not contain underscores.
(#803) Whitespace found at end of line
(#807) Expected 1 space before opening brace; found 0
(#809) Whitespace found at end of line
(#814) Line exceeds 132 characters; contains 135 characters
(#815) Whitespace found at end of line
(#820) Variable "ps_yellow_level" must not contain underscores.
(#820) Variable "ps_red_level" must not contain underscores.
(#820) Line exceeds 132 characters; contains 148 characters
(#827) Variable "ps_yellow_level" must not contain underscores.
(#827) Variable "ps_red_level" must not contain underscores.
(#827) Line exceeds 132 characters; contains 171 characters
(#834) Whitespace found at end of line
(#837) Whitespace found at end of line
(#848) Variable "ps_yellow_level" must not contain underscores.
(#848) Variable "ps_red_level" must not contain underscores.
(#848) Expected 1 space before opening brace; found 0
(#848) Line exceeds 132 characters; contains 161 characters
(#850) Whitespace found at end of line
(#851) Expected "if (...) {\n"; found "if(...){\n"
(#854) Whitespace found at end of line
(#857) Variable "is_file" must not contain underscores.
(#858) Variable "is_content" must not contain underscores.
(#859) Whitespace found at end of line
(#860) Variable "is_file" must not contain underscores.
(#863) Variable "is_content" must not contain underscores.
(#865) Variable "user_submission" must not contain underscores.
(#865) Commas (,) must be followed by white space.
(#867) Variable "user_submission" must not contain underscores.
(#870) Expected "if (...) {\n"; found "if(...){\n"
(#870) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#873) Expected "} else {\n"; found "}\n else{\n"
(#877) Whitespace found at end of line
(#882) Inline comments must end in full-stops, exclamation marks, or question marks
(#884) Whitespace found at end of line
(#885) Expected "if (...) {\n"; found "if(...){\n"
(#885) Variable "is_file" must not contain underscores.
(#888) Whitespace found at end of line
(#889) Inline comments must start with a capital letter, digit or 3-dots sequence
(#889) Inline comments must end in full-stops, exclamation marks, or question marks
(#889) No space found before comment text; expected "// create $message" but found "//create $message"
(#889) Whitespace found at end of line
(#893) Expected "if (...) {\n"; found "if(...){\n"
(#893) Variable "is_file" must not contain underscores.
(#895) Whitespace found at end of line
(#896) Whitespace found at end of line
(#906) Variable "ps_yellow_level" must not contain underscores.
(#906) Variable "ps_red_level" must not contain underscores.
(#906) Line exceeds 132 characters; contains 177 characters
(#908) Whitespace found at end of line
(#914) Whitespace found at end of line
(#926) Variable "ps_yellow_level" must not contain underscores.
(#926) Variable "ps_red_level" must not contain underscores.
(#926) Line exceeds maximum limit of 180 characters; contains 182 characters
(#928) Whitespace found at end of line
(#929) Expected "if (...) {\n"; found "if(...){\n"
(#932) Whitespace found at end of line
(#934) Whitespace found at end of line
(#940) Usage of ELSEIF not allowed; use ELSE IF instead
(#946) Commas (,) must be followed by white space.
(#950) Commas (,) must be followed by white space.
(#950) Line exceeds 132 characters; contains 153 characters
(#954) Commas (,) must be followed by white space.
(#954) Line exceeds 132 characters; contains 157 characters
(#956) Expected "} else if (...) {\n"; found "} else if (...){\n"
(#956) Expected "if (...) {\n"; found "if (...){\n"
(#958) Commas (,) must be followed by white space.
(#958) Line exceeds 132 characters; contains 158 characters
(#960) Inline comments must end in full-stops, exclamation marks, or question marks
(#965) Expected "if (...) {\n"; found "if(...){\n"
(#967) Whitespace found at end of line
(#968) Whitespace found at end of line
(#980) Line exceeds maximum limit of 180 characters; contains 226 characters
(#988) Line exceeds 132 characters; contains 171 characters
(#994) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#997) Inline comments must start with a capital letter, digit or 3-dots sequence
(#997) This comment is 58% valid code; is this commented out code?
(#997) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#998) Line exceeds 132 characters; contains 144 characters
(#998) No space found before comment text; expected "// $message .= ' '.html_writer::link($checkurl, get_string('checkstatus', 'plagiarism_plagscan')); if($psfile->pstatus == -2)" but found "//$message .= ' '.html_writer::link($checkurl, get_string('checkstatus', 'plagiarism_plagscan')); if($psfile->pstatus == -2)"
(#999) Inline control structures are not allowed
(#1000) Expected 1 space before ".="; 0 found
(#1000) Expected 1 space after ".="; 0 found
(#1000) Commas (,) must be followed by white space.
(#1000) Line exceeds 132 characters; contains 138 characters
(#1000) Whitespace found at end of line
(#1012) Line exceeds 132 characters; contains 158 characters
(#1021) Variable "ps_red_level" must not contain underscores.
(#1023) Variable "ps_yellow_level" must not contain underscores.
(#1026) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1026) This comment is 66% valid code; is this commented out code?
(#1028) Line exceeds 132 characters; contains 143 characters
(#1029) Line exceeds maximum limit of 180 characters; contains 199 characters
(#1043) Expected 1 space after ".="; 0 found
(#1044) Functions must not contain multiple empty lines in a row; found 2 empty lines
plagiarism/plagscan/classes/plagscan_file.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#23) Whitespace found at end of line
(#33) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#94) Whitespace found at end of line
(#99) Whitespace found at end of line
(#104) Whitespace found at end of line
(#119) Whitespace found at end of line
(#124) Whitespace found at end of line
(#129) Whitespace found at end of line
(#134) Whitespace found at end of line
(#139) Whitespace found at end of line
(#144) Whitespace found at end of line
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) This comment is 43% valid code; is this commented out code?
(#184) No space found before comment text; expected "// const REPORT_RESERVED = 7;" but found "//const REPORT_RESERVED = 7;"
(#207) Whitespace found at end of line
(#229) Whitespace found at end of line
(#241) Whitespace found at end of line
(#250) Whitespace found at end of line
(#253) Whitespace found at end of line
(#257) Expected 1 space before opening brace; found 0
(#259) Whitespace found at end of line
(#265) Whitespace found at end of line
(#280) Whitespace found at end of line
(#290) Whitespace found at end of line
(#290) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#302) This comment is 63% valid code; is this commented out code?
(#302) Whitespace found at end of line
(#318) Inline comments must end in full-stops, exclamation marks, or question marks
(#318) No space found before comment text; expected "// Check if the assignment was created from a previous versions without creating it on PS too" but found "//Check if the assignment was created from a previous versions without creating it on PS too"
(#327) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#330) Expected "if (...) {\n"; found "if (...){\n"
(#333) Expected "} else if (...) {\n"; found "}\n else if (...){\n"
(#333) Expected "if (...) {\n"; found "if (...){\n"
(#336) Expected "} else {\n"; found "}\n else {\n"
(#347) Whitespace found at end of line
(#351) Whitespace found at end of line
(#378) Whitespace found at end of line
(#398) Whitespace found at end of line
(#424) Whitespace found at end of line
(#431) Inline comments must end in full-stops, exclamation marks, or question marks
(#443) Whitespace found at end of line
(#462) Whitespace found at end of line
(#463) Expected "if (...) {\n"; found "if(...){\n"
(#464) Must use "self::" for local static member reference
(#465) Expected "if (...) {\n"; found "if(...){\n"
(#472) Whitespace found at end of line
(#474) Inline comments must end in full-stops, exclamation marks, or question marks
(#487) Inline comments must end in full-stops, exclamation marks, or question marks
(#500) Whitespace found at end of line
(#503) Whitespace found at end of line
(#507) Visibility must be declared on method "get_status_from_api_error_msg"
(#507) Expected 1 space before opening brace; found 0
(#526) Whitespace found at end of line
plagiarism/plagscan/classes/plagscan_settings_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#46) Visibility must be declared on method "definition"
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) No space found before comment text; expected "// initial variables" but found "//initial variables"
(#52) Line exceeds maximum limit of 180 characters; contains 235 characters
(#53) Line exceeds maximum limit of 180 characters; contains 217 characters
(#54) Line exceeds maximum limit of 180 characters; contains 247 characters
(#56) Line exceeds maximum limit of 180 characters; contains 227 characters
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) No space found before comment text; expected "// build form" but found "//build form"
(#64) Line exceeds maximum limit of 180 characters; contains 255 characters
(#66) Variable "callback_working" must not contain underscores.
(#70) Variable "callback_working" must not contain underscores.
(#71) Line exceeds 132 characters; contains 175 characters
(#73) Line exceeds maximum limit of 180 characters; contains 326 characters
(#80) Line exceeds 132 characters; contains 150 characters
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) This comment is 71% valid code; is this commented out code?
(#80) No space found before comment text; expected "// $mform->addElement('text', 'plagscan_version', get_string('plagscan_API_version', 'plagiarism_plagscan'), array('style' => 'height: 33px'));" but found "//$mform->addElement('text', 'plagscan_version', get_string('plagscan_API_version', 'plagiarism_plagscan'), array('style' => 'height: 33px'));"
(#81) No space found before comment text; expected "// $mform->addHelpButton('plagscan_version', 'plagscan_API_version', 'plagiarism_plagscan');" but found "//$mform->addHelpButton('plagscan_version', 'plagscan_API_version', 'plagiarism_plagscan');"
(#82) No space found before comment text; expected "// $mform->setDefault('plagscan_version', '3.0');" but found "//$mform->setDefault('plagscan_version', '3.0');"
(#83) No space found before comment text; expected "// $mform->addRule('plagscan_version', null, 'required', null, 'client');" but found "//$mform->addRule('plagscan_version', null, 'required', null, 'client');"
(#84) No space found before comment text; expected "// $mform->setType('plagscan_version', PARAM_TEXT);" but found "//$mform->setType('plagscan_version', PARAM_TEXT);"
(#86) Line exceeds 132 characters; contains 141 characters
(#90) Line exceeds 132 characters; contains 156 characters
(#102) This comment is 72% valid code; is this commented out code?
(#105) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#109) Line exceeds 132 characters; contains 133 characters
(#111) Line exceeds 132 characters; contains 135 characters
(#113) Line exceeds 132 characters; contains 137 characters
(#115) Line exceeds 132 characters; contains 136 characters
(#116) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#118) Line exceeds 132 characters; contains 140 characters
(#120) Line exceeds 132 characters; contains 163 characters
(#124) Line exceeds 132 characters; contains 154 characters
(#128) Line exceeds maximum limit of 180 characters; contains 278 characters
(#138) Line exceeds 132 characters; contains 148 characters
(#141) Line exceeds 132 characters; contains 152 characters
(#145) Whitespace found at end of line
(#146) Line exceeds 132 characters; contains 157 characters
(#151) Whitespace found at end of line
(#152) Variable "wipe_user_url" must not contain underscores.
(#153) Variable "wipe_user_url" must not contain underscores.
(#153) Line exceeds 132 characters; contains 137 characters
(#153) Whitespace found at end of line
(#155) Line exceeds maximum limit of 180 characters; contains 252 characters
(#158) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#161) Line exceeds 132 characters; contains 143 characters
(#162) Whitespace found at end of line
(#165) Line exceeds 132 characters; contains 148 characters
(#167) Line exceeds 132 characters; contains 136 characters
(#169) Line exceeds 132 characters; contains 146 characters
(#172) Line exceeds 132 characters; contains 141 characters
(#174) Whitespace found at end of line
(#174) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#175) Whitespace found at end of line
(#176) Line exceeds 132 characters; contains 144 characters
(#179) Line exceeds 132 characters; contains 150 characters
(#181) Whitespace found at end of line
(#182) Line exceeds 132 characters; contains 153 characters
(#184) Whitespace found at end of line
(#185) Line exceeds 132 characters; contains 152 characters
(#189) Line exceeds 132 characters; contains 162 characters
(#194) Whitespace found at end of line
(#195) Line indented incorrectly; expected at least 12 spaces, found 8
(#197) Inline comments must start with a capital letter, digit or 3-dots sequence
(#197) This comment is 74% valid code; is this commented out code?
(#197) Line indented incorrectly; expected at least 12 spaces, found 8
(#197) No space found before comment text; expected "// $mform->addElement('button', 'plagscan_connectiontester', get_string('testconnection', 'plagiarism_plagscan'));" but found "//$mform->addElement('button', 'plagscan_connectiontester', get_string('testconnection', 'plagiarism_plagscan'));"
(#198) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#200) This comment is 69% valid code; is this commented out code?
(#200) Line indented incorrectly; expected at least 12 spaces, found 8
(#201) Line indented incorrectly; expected at least 12 spaces, found 10
(#202) Line indented incorrectly; expected at least 12 spaces, found 10
(#203) Line indented incorrectly; expected at least 12 spaces, found 10
(#204) Line indented incorrectly; expected at least 12 spaces, found 10
(#205) Line indented incorrectly; expected at least 12 spaces, found 10
(#206) Line indented incorrectly; expected at least 12 spaces, found 10
(#208) Line indented incorrectly; expected at least 12 spaces, found 10
(#209) Line indented incorrectly; expected at least 12 spaces, found 10
(#210) Line exceeds 132 characters; contains 133 characters
(#210) Line indented incorrectly; expected at least 12 spaces, found 10
(#211) Line indented incorrectly; expected at least 12 spaces, found 10
(#212) Line indented incorrectly; expected at least 12 spaces, found 10
(#214) Line indented incorrectly; expected at least 12 spaces, found 10
(#215) Line indented incorrectly; expected at least 12 spaces, found 10
(#216) Line indented incorrectly; expected at least 12 spaces, found 10
(#217) Line indented incorrectly; expected at least 12 spaces, found 10
(#218) Line indented incorrectly; expected at least 12 spaces, found 9
(#220) Line indented incorrectly; expected at least 12 spaces, found 8
(#221) Line indented incorrectly; expected at least 12 spaces, found 8
plagiarism/plagscan/classes/plagscan_userconfig_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#47) Line exceeds maximum limit of 180 characters; contains 235 characters
(#48) Line exceeds maximum limit of 180 characters; contains 192 characters
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) This comment is 65% valid code; is this commented out code?
(#49) Line exceeds maximum limit of 180 characters; contains 250 characters
(#49) No space found before comment text; expected "// $dataoptions = array( 0 => get_string('noone', 'plagiarism_plagscan'), 1 => get_string('noonedocs', 'plagiarism_plagscan'), 2 => get_string('myinstitution', 'plagiarism_plagscan'), 3 => get_string('generaldatabase', 'plagiarism_plagscan'));" but found "//$dataoptions = array( 0 => get_string('noone', 'plagiarism_plagscan'), 1 => get_string('noonedocs', 'plagiarism_plagscan'), 2 => get_string('myinstitution', 'plagiarism_plagscan'), 3 => get_string('generaldatabase', 'plagiarism_plagscan'));"
(#51) Line exceeds maximum limit of 180 characters; contains 227 characters
(#84) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) This comment is 72% valid code; is this commented out code?
(#92) No space found before comment text; expected "// $mform->addElement('select', 'plagscan_data_policy', get_string("data_policy", "plagiarism_plagscan"), $dataoptions);" but found "//$mform->addElement('select', 'plagscan_data_policy', get_string("data_policy", "plagiarism_plagscan"), $dataoptions);"
(#93) No space found before comment text; expected "// $mform->disabledIf('plagscan_data_policy', 'plagscan_use', 'eq', 0);" but found "//$mform->disabledIf('plagscan_data_policy', 'plagscan_use', 'eq', 0);"
(#94) No space found before comment text; expected "// $mform->addHelpButton('plagscan_data_policy', 'datapolicyhelp', 'plagiarism_plagscan');" but found "//$mform->addHelpButton('plagscan_data_policy', 'datapolicyhelp', 'plagiarism_plagscan');"
(#97) Line exceeds 132 characters; contains 133 characters
(#99) Line exceeds 132 characters; contains 135 characters
(#101) Line exceeds 132 characters; contains 137 characters
(#103) Line exceeds 132 characters; contains 136 characters
(#104) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#109) Line exceeds 132 characters; contains 144 characters
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) This comment is 72% valid code; is this commented out code?
(#109) No space found before comment text; expected "// $mform->addElement('advcheckbox', 'plagscan_web', get_string('webonly', 'plagiarism_plagscan'), '', array('group' => 1), array(0, 1));" but found "//$mform->addElement('advcheckbox', 'plagscan_web', get_string('webonly', 'plagiarism_plagscan'), '', array('group' => 1), array(0, 1));"
(#117) This comment is 72% valid code; is this commented out code?
plagiarism/plagscan/classes/privacy/provider.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#33) Whitespace found at end of line
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Line indented incorrectly; expected at least 4 spaces, found 0
(#48) Whitespace found at end of line
(#50) Whitespace found at end of line
(#53) Method name "_get_metadata" should not be prefixed with an underscore to indicate visibility
(#102) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#116) Whitespace found at end of line within string
(#117) Whitespace found at end of line within string
(#118) Whitespace found at end of line within string
(#119) Whitespace found at end of line within string
(#120) Whitespace found at end of line within string
(#135) Whitespace found at end of line
(#158) Whitespace found at end of line
(#173) Whitespace found at end of line within string
(#174) Whitespace found at end of line within string
(#175) Whitespace found at end of line within string
(#176) Whitespace found at end of line within string
(#177) Whitespace found at end of line within string
(#178) Whitespace found at end of line within string
(#179) Whitespace found at end of line within string
(#180) Whitespace found at end of line within string
(#181) Whitespace found at end of line within string
(#182) Whitespace found at end of line within string
(#194) Whitespace found at end of line within string
(#195) Whitespace found at end of line within string
(#196) Whitespace found at end of line within string
(#197) Whitespace found at end of line within string
(#198) Whitespace found at end of line within string
(#199) Whitespace found at end of line within string
(#200) Whitespace found at end of line within string
(#201) Whitespace found at end of line within string
(#202) Whitespace found at end of line within string
(#203) Whitespace found at end of line within string
(#204) Whitespace found at end of line within string
(#227) Line exceeds maximum limit of 180 characters; contains 187 characters
plagiarism/plagscan/classes/tasks/plagscan_check_automatically_pending_assign_task.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#19) Line exceeds 132 characters; contains 148 characters
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#50) Whitespace found at end of line
(#57) Whitespace found at end of line within string
(#58) Whitespace found at end of line within string
(#59) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#61) Whitespace found at end of line within string
(#62) Whitespace found at end of line within string
(#63) Whitespace found at end of line within string
(#64) Whitespace found at end of line within string
(#65) Whitespace found at end of line within string
(#66) Whitespace found at end of line within string
(#66) The use of the AS keyword to alias tables is bad for cross-db
(#67) Line exceeds 132 characters; contains 138 characters
(#67) Whitespace found at end of line within string
(#70) Whitespace found at end of line
(#72) Expected "if (...) {\n"; found "if(...){\n"
(#75) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#77) Expected "if (...) {\n"; found "if(...){\n"
(#79) Expected "if (...) {\n"; found "if(...) {\n"
(#84) Expected "} else if (...) {\n"; found "}\n else if (...){\n"
(#84) Expected "if (...) {\n"; found "if (...){\n"
(#88) Expected "} else {\n"; found "}\n else {\n"
(#95) Whitespace found at end of line
(#96) Whitespace found at end of line
(#99) Expected "} else {\n"; found "}\n else{\n"
plagiarism/plagscan/classes/tasks/plagscan_check_deadline_pending_assign_task.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#19) Line exceeds 132 characters; contains 144 characters
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#50) Whitespace found at end of line
(#56) Commas (,) must be followed by white space.
(#56) Commas (,) must be followed by white space.
(#56) Line exceeds 132 characters; contains 176 characters
(#57) Whitespace found at end of line within string
(#58) Whitespace found at end of line within string
(#59) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#61) Whitespace found at end of line within string
(#62) Whitespace found at end of line within string
(#63) Whitespace found at end of line within string
(#64) Whitespace found at end of line within string
(#65) Whitespace found at end of line within string
(#66) Whitespace found at end of line within string
(#66) The use of the AS keyword to alias tables is bad for cross-db
(#67) Whitespace found at end of line within string
(#68) Whitespace found at end of line within string
(#69) Whitespace found at end of line within string
(#70) Whitespace found at end of line within string
(#71) Whitespace found at end of line within string
(#72) Whitespace found at end of line within string
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Line exceeds 132 characters; contains 156 characters
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#80) Whitespace found at end of line within string
(#83) Whitespace found at end of line
(#85) Expected "if (...) {\n"; found "if(...){\n"
(#88) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#90) Expected "if (...) {\n"; found "if(...){\n"
(#92) Expected "if (...) {\n"; found "if(...) {\n"
(#97) Expected "} else if (...) {\n"; found "}\n else if (...){\n"
(#97) Expected "if (...) {\n"; found "if (...){\n"
(#101) Expected "} else {\n"; found "}\n else {\n"
(#108) Whitespace found at end of line
(#109) Whitespace found at end of line
(#112) Expected "} else {\n"; found "}\n else{\n"
plagiarism/plagscan/classes/tasks/plagscan_file_upload_task.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#38) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#47) Whitespace found at end of line
(#48) Whitespace found at end of line
(#66) Expected "if (...) {\n"; found "if(...){\n"
(#67) Line exceeds 132 characters; contains 142 characters
(#71) Whitespace found at end of line
(#75) Whitespace found at end of line
(#84) Whitespace found at end of line
(#86) Whitespace found at end of line
(#98) Line exceeds 132 characters; contains 157 characters
(#101) Line exceeds 132 characters; contains 155 characters
(#111) Expected "if (...) {\n"; found "if(...){\n"
plagiarism/plagscan/classes/tasks/plagscan_submit_rejected_files_task.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#35) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#51) Whitespace found at end of line
(#58) Whitespace found at end of line within string
(#59) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#61) Whitespace found at end of line within string
(#62) Whitespace found at end of line within string
(#63) Whitespace found at end of line within string
(#64) Whitespace found at end of line within string
(#65) Whitespace found at end of line within string
(#66) Whitespace found at end of line within string
(#67) Whitespace found at end of line within string
(#67) The use of the AS keyword to alias tables is bad for cross-db
(#68) Whitespace found at end of line within string
(#69) Whitespace found at end of line within string
(#72) Whitespace found at end of line
(#74) Expected "if (...) {\n"; found "if(...){\n"
(#77) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#80) Expected "try {\n...} catch (...) {\n"; found "try{\n...} catch (...){\n"
(#86) Whitespace found at end of line
(#88) Expected "if (...) {\n"; found "if(...){\n"
(#94) Expected "} else {\n"; found "}\n else{\n"
(#97) Commas (,) must be followed by white space.
(#105) Whitespace found at end of line
(#108) Expected "} else {\n"; found "}\n else{\n"
plagiarism/plagscan/classes/tasks/plagscan_update_frozen_checking_files_task.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Whitespace found at end of line
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#19) Line exceeds 132 characters; contains 136 characters
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#50) Whitespace found at end of line
(#57) Whitespace found at end of line within string
(#58) Whitespace found at end of line within string
(#58) The use of the AS keyword to alias tables is bad for cross-db
(#59) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#63) Whitespace found at end of line
(#65) Expected "if (...) {\n"; found "if(...){\n"
(#68) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#74) Expected "} else {\n"; found "}\n else{\n"
plagiarism/plagscan/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) No space found before comment text; expected "// capability to enable/disable plagscan inside an activity" but found "//capability to enable/disable plagscan inside an activity"
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) No space found before comment text; expected "// capability to view full reports" but found "//capability to view full reports"
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
plagiarism/plagscan/db/events.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
plagiarism/plagscan/db/tasks.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".
(#3) Line 2 of the opening comment must start "//".
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#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/>.".
plagiarism/plagscan/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) 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
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Inline comments must start with a capital letter, digit or 3-dots sequence
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Inline comments must start with a capital letter, digit or 3-dots sequence
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) Inline comments must start with a capital letter, digit or 3-dots sequence
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) Inline comments must start with a capital letter, digit or 3-dots sequence
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) Inline comments must start with a capital letter, digit or 3-dots sequence
(#187) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) No space found before comment text; expected "// add nondisclosure field to plagiarism_plagscan_config" but found "//add nondisclosure field to plagiarism_plagscan_config"
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#202) Line exceeds 132 characters; contains 144 characters
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) Inline comments must start with a capital letter, digit or 3-dots sequence
(#209) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#215) Inline comments must start with a capital letter, digit or 3-dots sequence
(#215) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) No space found before comment text; expected "// add groups_capabilities field to plagiarism_plagscan_config" but found "//add groups_capabilities field to plagiarism_plagscan_config"
(#217) Line exceeds 132 characters; contains 150 characters
(#218) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#226) Inline comments must start with a capital letter, digit or 3-dots sequence
(#226) Inline comments must end in full-stops, exclamation marks, or question marks
(#232) Inline comments must start with a capital letter, digit or 3-dots sequence
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) Inline comments must start with a capital letter, digit or 3-dots sequence
(#238) Inline comments must end in full-stops, exclamation marks, or question marks
(#243) Inline comments must start with a capital letter, digit or 3-dots sequence
(#243) Inline comments must end in full-stops, exclamation marks, or question marks
(#249) Inline comments must start with a capital letter, digit or 3-dots sequence
(#249) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#256) Inline comments must start with a capital letter, digit or 3-dots sequence
(#256) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) No space found before comment text; expected "// add groups_capabilities field to plagiarism_plagscan_config" but found "//add groups_capabilities field to plagiarism_plagscan_config"
(#258) Line exceeds 132 characters; contains 134 characters
(#260) Inline comments must end in full-stops, exclamation marks, or question marks
(#277) Line exceeds 132 characters; contains 138 characters
(#297) Inline comments must start with a capital letter, digit or 3-dots sequence
(#297) Inline comments must end in full-stops, exclamation marks, or question marks
(#300) Whitespace found at end of line
(#303) Whitespace found at end of line
(#304) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#305) Whitespace found at end of line
(#315) Whitespace found at end of line
(#316) Inline comments must start with a capital letter, digit or 3-dots sequence
(#316) Inline comments must end in full-stops, exclamation marks, or question marks
(#319) Whitespace found at end of line
(#322) Whitespace found at end of line
(#323) Line exceeds 132 characters; contains 149 characters
(#327) Whitespace found at end of line
(#328) Line exceeds 132 characters; contains 151 characters
(#332) Whitespace found at end of line
(#335) Whitespace found at end of line
(#337) Whitespace found at end of line
(#339) Whitespace found at end of line
plagiarism/plagscan/lang/de/plagiarism_plagscan.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#205) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
plagiarism/plagscan/lang/en/plagiarism_plagscan.php
(#2) The opening <?php tag must be followed by exactly one newline.
plagiarism/plagscan/lang/es/plagiarism_plagscan.php
(#2) The opening <?php tag must be followed by exactly one newline.
plagiarism/plagscan/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#4) Whitespace found at end of line
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) 3 slashes comments are not allowed; use "// Comment." instead
(#34) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#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) No space found before comment text; expected "// get global class" but found "//get global class"
(#46) Whitespace found at end of line
(#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) 5 slashes comments are not allowed; use "// Comment." instead
(#67) Member variable "ps_yellow_level" must not contain underscores.
(#68) Member variable "ps_red_level" must not contain underscores.
(#85) Variable "enable_plagscan" must not contain underscores.
(#87) The use of function sizeof() is forbidden; use count() instead
(#88) Variable "enable_plagscan" must not contain underscores.
(#92) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#94) Variable "enable_plagscan" must not contain underscores.
(#95) The use of function sizeof() is forbidden; use count() instead
(#97) Variable "enable_plagscan" must not contain underscores.
(#103) Variable "enable_plagscan" must not contain underscores.
(#106) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) No space found before comment text; expected "// cm update" but found "//cm update"
(#111) Whitespace found at end of line
(#132) Line exceeds 132 characters; contains 139 characters
(#135) Inline comments must start with a capital letter, digit or 3-dots sequence
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) Line indented incorrectly; expected at least 12 spaces, found 0
(#137) Line exceeds 132 characters; contains 145 characters
(#139) Line exceeds maximum limit of 180 characters; contains 216 characters
(#141) Whitespace found at end of line
(#142) Variable "show_exclude_options" must not contain underscores.
(#143) Variable "is_multiaccount" must not contain underscores.
(#144) Expected "if (...) {\n"; found "if(...){\n"
(#146) Expected "if (...) {\n"; found "if(...){\n"
(#146) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#146) Line exceeds 132 characters; contains 144 characters
(#147) Variable "show_exclude_options" must not contain underscores.
(#150) Expected "} else {\n"; found "}\n else{\n"
(#151) Expected "if (...) {\n"; found "if(...){\n"
(#151) Variable "is_multiaccount" must not contain underscores.
(#152) Variable "show_exclude_options" must not contain underscores.
(#155) Whitespace found at end of line
(#156) Expected "if (...) {\n"; found "if(...){\n"
(#156) Variable "show_exclude_options" must not contain underscores.
(#159) Line exceeds 132 characters; contains 136 characters
(#161) Line exceeds 132 characters; contains 136 characters
(#163) Line exceeds 132 characters; contains 142 characters
(#165) Whitespace found at end of line
(#166) Line exceeds 132 characters; contains 135 characters
(#169) Whitespace found at end of line
(#170) Line exceeds 132 characters; contains 134 characters
(#174) Line exceeds 132 characters; contains 144 characters
(#179) This comment is 75% valid code; is this commented out code?
(#190) Whitespace found at end of line
(#191) Expected "if (...) {\n"; found "if(...){\n"
(#191) Variable "show_exclude_options" must not contain underscores.
(#192) Expected "if (...) {\n"; found "if(...){\n"
(#196) Expected "if (...) {\n"; found "if(...){\n"
(#199) Whitespace found at end of line
(#203) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#218) Line exceeds 132 characters; contains 146 characters
(#222) Line exceeds 132 characters; contains 138 characters
(#266) Whitespace found at end of line
(#267) Variable "is_multiaccount" must not contain underscores.
(#269) Variable "is_multiaccount" must not contain underscores.
(#274) Whitespace found at end of line
(#281) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#282) Whitespace found at end of line
(#293) Whitespace found at end of line
(#294) Variable "validation_default" must not contain underscores.
(#295) Whitespace found at end of line
(#296) Expected "if (...) {\n"; found "if(...){\n"
(#297) Variable "validation_default" must not contain underscores.
(#297) Line exceeds 132 characters; contains 134 characters
(#299) Expected "} else {\n"; found "}\n else{\n"
(#302) Whitespace found at end of line
(#303) Expected "if (...) {\n"; found "if(...){\n"
(#304) Variable "validation_default" must not contain underscores.
(#304) Line exceeds 132 characters; contains 140 characters
(#306) Expected "} else {\n"; found "}\n else {\n"
(#309) Whitespace found at end of line
(#311) Whitespace found at end of line
(#312) Line exceeds 132 characters; contains 159 characters
(#313) Variable "is_multiaccount" must not contain underscores.
(#315) Expected "if (...) {\n"; found "if (...){\n"
(#316) Inline comments must start with a capital letter, digit or 3-dots sequence
(#316) Inline comments must end in full-stops, exclamation marks, or question marks
(#316) This comment is 67% valid code; is this commented out code?
(#316) No space found before comment text; expected "// throw new moodle_exception('error_assignment_creation', 'plagiarism_plagscan');" but found "//throw new moodle_exception('error_assignment_creation', 'plagiarism_plagscan');"
(#317) Variable "error_msg" must not contain underscores.
(#318) Expected "if (...) {\n"; found "if(...){\n"
(#319) Variable "error_msg" must not contain underscores.
(#319) Line exceeds 132 characters; contains 140 characters
(#321) Variable "error_msg" must not contain underscores.
(#327) Expected "} else {\n"; found "}\n else {\n"
(#331) Expected "} else {\n"; found "}\n else {\n"
(#333) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#334) Variable "assign_owner" must not contain underscores.
(#335) Variable "assign_owner" must not contain underscores.
(#339) Whitespace found at end of line
(#340) Variable "validation_default" must not contain underscores.
(#341) Variable "validation_default" must not contain underscores.
(#342) Variable "validation_default" must not contain underscores.
(#345) Inline comments must start with a capital letter, digit or 3-dots sequence
(#345) Inline comments must end in full-stops, exclamation marks, or question marks
(#345) No space found before comment text; expected "// nondisclosure document" but found "//nondisclosure document"
(#346) Line exceeds 132 characters; contains 169 characters
(#348) Inline comments must start with a capital letter, digit or 3-dots sequence
(#348) This comment is 65% valid code; is this commented out code?
(#348) No space found before comment text; expected "// $config->username = get_config('plagiarism_plagscan', 'plagscan_nondisclosure_notice_email');" but found "//$config->username = get_config('plagiarism_plagscan', 'plagscan_nondisclosure_notice_email');"
(#350) Inline comments must end in full-stops, exclamation marks, or question marks
(#350) No space found before comment text; expected "// END nondisclosure document" but found "//END nondisclosure document"
(#357) Whitespace found at end of line
(#363) Whitespace found at end of line
(#366) Inline control structures are not allowed
(#366) Must use "self::" for local static member reference
(#368) Whitespace found at end of line
(#404) Variable "is_file" must not contain underscores.
(#405) Variable "is_content" must not contain underscores.
(#407) Variable "is_file" must not contain underscores.
(#411) Expected "if (...) {\n"; found "if(...){\n"
(#411) Variable "is_content" must not contain underscores.
(#415) Variable "is_multiaccount" must not contain underscores.
(#417) Inline comments must end in full-stops, exclamation marks, or question marks
(#436) Inline comments must start with a capital letter, digit or 3-dots sequence
(#436) No space found before comment text; expected "// get viewreport varinviable" but found "//get viewreport varinviable"
(#437) Inline comments must end in full-stops, exclamation marks, or question marks
(#437) No space found before comment text; expected "// get assigned closed" but found "//get assigned closed"
(#462) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#464) Inline comments must end in full-stops, exclamation marks, or question marks
(#464) No space found before comment text; expected "// END get assigned closed" but found "//END get assigned closed"
(#480) Inline comments must end in full-stops, exclamation marks, or question marks
(#480) No space found before comment text; expected "// END get viewreport variable" but found "//END get viewreport variable"
(#481) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#485) Inline comments must end in full-stops, exclamation marks, or question marks
(#490) Inline comments must start with a capital letter, digit or 3-dots sequence
(#490) Inline comments must end in full-stops, exclamation marks, or question marks
(#490) No space found before comment text; expected "// viewlinks can see message and submit; viewreport just the plaglevel" but found "//viewlinks can see message and submit; viewreport just the plaglevel"
(#495) Inline comments must end in full-stops, exclamation marks, or question marks
(#495) No space found before comment text; expected "// Check if the assignment was created from a previous versions without creating it on PS too" but found "//Check if the assignment was created from a previous versions without creating it on PS too"
(#497) Variable "assign_owner" must not contain underscores.
(#498) Variable "assign_psownerid" must not contain underscores.
(#498) Variable "assign_owner" must not contain underscores.
(#500) Variable "assign_owner" must not contain underscores.
(#501) Variable "assign_psownerid" must not contain underscores.
(#501) Variable "assign_owner" must not contain underscores.
(#503) Whitespace found at end of line
(#504) Inline comments must end in full-stops, exclamation marks, or question marks
(#504) No space found before comment text; expected "// INVOLVE TEACHER - TODO: Maybe should go in another place" but found "//INVOLVE TEACHER - TODO: Maybe should go in another place"
(#506) Variable "is_multiaccount" must not contain underscores.
(#506) Line exceeds 132 characters; contains 152 characters
(#506) Whitespace found at end of line
(#507) Variable "assign_psownerid" must not contain underscores.
(#507) Variable "assign_owner" must not contain underscores.
(#508) Whitespace found at end of line
(#510) Variable "is_involved" must not contain underscores.
(#510) Variable "assign_psownerid" must not contain underscores.
(#511) Variable "is_involved" must not contain underscores.
(#512) Expected "if (...) {\n"; found "if (...){\n"
(#512) Variable "is_involved" must not contain underscores.
(#513) Variable "error_msg" must not contain underscores.
(#514) Expected "if (...) {\n"; found "if (...){\n"
(#514) Variable "is_involved" must not contain underscores.
(#515) Variable "error_msg" must not contain underscores.
(#515) Line exceeds 132 characters; contains 133 characters
(#516) Variable "error_msg" must not contain underscores.
(#516) Variable "is_involved" must not contain underscores.
(#518) Expected "} else if (...) {\n"; found "}\n else if (...){ \n"
(#518) Expected "if (...) {\n"; found "if (...){ \n"
(#518) Variable "is_involved" must not contain underscores.
(#518) Whitespace found at end of line
(#519) Variable "error_msg" must not contain underscores.
(#519) Line exceeds 132 characters; contains 138 characters
(#520) Variable "error_msg" must not contain underscores.
(#520) Variable "assign_psownerid" must not contain underscores.
(#522) Expected "} else {\n"; found "}\n else{\n"
(#523) Variable "error_msg" must not contain underscores.
(#523) Variable "is_involved" must not contain underscores.
(#525) Variable "error_msg" must not contain underscores.
(#525) Line exceeds 132 characters; contains 139 characters
(#526) Variable "error_msg" must not contain underscores.
(#532) Variable "is_file" must not contain underscores.
(#532) Variable "is_content" must not contain underscores.
(#533) Whitespace found at end of line
(#534) Variable "ps_red_level" must not contain underscores.
(#534) Variable "ps_yellow_level" must not contain underscores.
(#535) Variable "ps_red_level" must not contain underscores.
(#535) Variable "ps_yellow_level" must not contain underscores.
(#540) Variable "assign_owner" must not contain underscores.
(#541) Inline control structures are not allowed
(#542) Variable "ps_red_level" must not contain underscores.
(#543) Inline control structures are not allowed
(#544) Variable "ps_red_level" must not contain underscores.
(#545) Inline control structures are not allowed
(#546) Variable "ps_yellow_level" must not contain underscores.
(#547) Inline control structures are not allowed
(#548) Variable "ps_yellow_level" must not contain underscores.
(#556) Whitespace found at end of line
(#557) Expected "if (...) {\n"; found "if(...){\n"
(#560) Whitespace found at end of line
(#561) Inline comments must end in full-stops, exclamation marks, or question marks
(#588) Variable "ps_yellow_level" must not contain underscores.
(#588) Variable "ps_red_level" must not contain underscores.
(#588) Line exceeds maximum limit of 180 characters; contains 250 characters
(#589) Inline comments must start with a capital letter, digit or 3-dots sequence
(#589) This comment is 80% valid code; is this commented out code?
(#589) No space found before comment text; expected "// $this->page->requires->yui_module('moodle-local_pluginname-modulename', 'M.local_pluginname.init_modulename'," but found "//$this->page->requires->yui_module('moodle-local_pluginname-modulename', 'M.local_pluginname.init_modulename',"
(#590) No space found before comment text; expected "// array(array('aparam'=>'paramvalue')));" but found "//array(array('aparam'=>'paramvalue')));"
(#593) Whitespace found at end of line
(#594) Inline comments must end in full-stops, exclamation marks, or question marks
(#594) No space found before comment text; expected "// Create output for each file" but found "//Create output for each file"
(#598) Variable "ps_yellow_level" must not contain underscores.
(#598) Variable "ps_red_level" must not contain underscores.
(#598) Line exceeds maximum limit of 180 characters; contains 209 characters
(#600) Inline comments must end in full-stops, exclamation marks, or question marks
(#600) No space found before comment text; expected "// END create message" but found "//END create message"
(#606) Inline comments must end in full-stops, exclamation marks, or question marks
(#606) No space found before comment text; expected "// END create submit" but found "//END create submit"
(#607) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#621) Inline comments must start with a capital letter, digit or 3-dots sequence
(#621) Inline comments must end in full-stops, exclamation marks, or question marks
(#621) No space found before comment text; expected "// called at top of submissions/grading pages - allows printing of admin style links or updating status" but found "//called at top of submissions/grading pages - allows printing of admin style links or updating status"
(#629) Inline comments must start with a capital letter, digit or 3-dots sequence
(#629) This comment is 86% valid code; is this commented out code?
(#629) Line indented incorrectly; expected at least 8 spaces, found 0
(#629) No space found before comment text; expected "// $DB->set_debug(true);" but found "//$DB->set_debug(true);"
(#634) Inline comments must end in full-stops, exclamation marks, or question marks
(#643) Inline comments must end in full-stops, exclamation marks, or question marks
(#647) Line exceeds 132 characters; contains 160 characters
(#655) Inline comments must start with a capital letter, digit or 3-dots sequence
(#655) This comment is 62% valid code; is this commented out code?
(#655) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#656) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#657) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#658) Line exceeds 132 characters; contains 176 characters
(#658) No space found before comment text; expected "// $checkallfilestatus = new moodle_url('/plagiarism/plagscan/classes/file_submission/check_filestatus.php', array('cmid' => $cm->id,'return' => urlencode($PAGE->url)));" but found "//$checkallfilestatus = new moodle_url('/plagiarism/plagscan/classes/file_submission/check_filestatus.php', array('cmid' => $cm->id,'return' => urlencode($PAGE->url)));"
(#659) No space found before comment text; expected "// $output .= html_writer::link($checkallfilestatus, get_string('checkallfilestatus', 'plagiarism_plagscan'));" but found "//$output .= html_writer::link($checkallfilestatus, get_string('checkallfilestatus', 'plagiarism_plagscan'));"
(#660) No space found before comment text; expected "// $output .= html_writer::empty_tag('br');" but found "//$output .= html_writer::empty_tag('br');"
(#661) Line exceeds maximum limit of 180 characters; contains 182 characters
(#661) No space found before comment text; expected "// $checkalltextstatus = new moodle_url('/plagiarism/plagscan/classes/content_submission/check_contentstatus.php', array('cmid' => $cm->id,'return' => urlencode($PAGE->url)));" but found "//$checkalltextstatus = new moodle_url('/plagiarism/plagscan/classes/content_submission/check_contentstatus.php', array('cmid' => $cm->id,'return' => urlencode($PAGE->url)));"
(#662) Inline comments must end in full-stops, exclamation marks, or question marks
(#662) No space found before comment text; expected "// $output .= html_writer::link($checkalltextstatus, get_string('checkalltextstatus', 'plagiarism_plagscan'));" but found "//$output .= html_writer::link($checkalltextstatus, get_string('checkalltextstatus', 'plagiarism_plagscan'));"
(#663) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#668) This comment is 62% valid code; is this commented out code?
plagiarism/plagscan/optout.php
(#2) The opening <?php tag must be followed by exactly one newline.
plagiarism/plagscan/reports/analyze.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#18) Line exceeds 132 characters; contains 161 characters
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) This comment is 78% valid code; is this commented out code?
(#74) No space found before comment text; expected "// $connection->set_username($instanceconfig->username);" but found "//$connection->set_username($instanceconfig->username);"
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) This comment is 80% valid code; is this commented out code?
(#77) No space found before comment text; expected "// print_r($pid);" but found "//print_r($pid);"
plagiarism/plagscan/reports/check_status.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
plagiarism/plagscan/reports/submit.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".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#18) Whitespace found at end of line
(#42) Commas (,) must be followed by white space.
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) This comment is 57% valid code; is this commented out code?
(#43) No space found before comment text; expected "// $content = optional_param('content', '', PARAM_RAW);" but found "//$content = optional_param('content', '', PARAM_RAW);"
(#44) No space found before comment text; expected "// $objectid = optional_param('objectid', 0, PARAM_INT);" but found "//$objectid = optional_param('objectid', 0, PARAM_INT);"
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Expected "if (...) {\n"; found "if(...){\n"
(#69) Commas (,) must be followed by white space.
(#73) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) This comment is 67% valid code; is this commented out code?
(#73) No space found before comment text; expected "// if(isset($content) && !empty($content) && isset($objectid) && $objectid != 0){" but found "//if(isset($content) && !empty($content) && isset($objectid) && $objectid != 0){"
(#74) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) No space found before comment text; expected "// }" but found "//}"
plagiarism/plagscan/reports/view.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) Whitespace found at end of line
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#71) This comment is 75% valid code; is this commented out code?
(#71) No space found before comment text; expected "// $connection->set_username($instanceconfig->username);" but found "//$connection->set_username($instanceconfig->username);"
(#72) No space found before comment text; expected "// $connection->send_report($plagscan, $type);" but found "//$connection->send_report($plagscan, $type);"
(#74) Variable "is_multiaccount" must not contain underscores.
(#75) Variable "is_teacher" must not contain underscores.
(#79) Variable "is_multiaccount" must not contain underscores.
plagiarism/plagscan/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#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) No space found before comment text; expected "// require form" but found "//require form"
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) No space found before comment text; expected "// plagscan_use will not be send if it's false" but found "//plagscan_use will not be send if it's false"
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) No space found before comment text; expected "// copy submitted localonlysettings to local copy (plagiarism_plagscan)" but found "//copy submitted localonlysettings to local copy (plagiarism_plagscan)"
(#96) Line exceeds 132 characters; contains 178 characters
(#101) Line exceeds 132 characters; contains 143 characters
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) No space found before comment text; expected "// local property copy is equal to submitted property" but found "//local property copy is equal to submitted property"
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) No space found before comment text; expected "// Setting unchanged" but found "//Setting unchanged"
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Expected "if (...) {\n"; found "if(...){\n"
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) No space found before comment text; expected "// set autostart for plagscan analysis" but found "//set autostart for plagscan analysis"
(#118) No space found before comment text; expected "// $connection->enable_auto_analysis();" but found "//$connection->enable_auto_analysis();"
(#119) No space found before comment text; expected "// END set autostart for plagscan analysis" but found "//END set autostart for plagscan analysis"
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) No space found before comment text; expected "// Plagscan API parameters" but found "//Plagscan API parameters"
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) Whitespace found at end of line
(#145) Variable "try_connection" must not contain underscores.
(#146) Inline control structures are not allowed
(#146) Variable "try_connection" must not contain underscores.
(#150) Inline control structures are not allowed
(#150) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#155) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#173) Variable "admin_email" must not contain underscores.
(#174) Variable "admin_email" must not contain underscores.
(#175) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#183) Inline comments must start with a capital letter, digit or 3-dots sequence
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) No space found before comment text; expected "// satus message" but found "//satus message"
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) No space found before comment text; expected "// get configuration from server and save it local" but found "//get configuration from server and save it local"
(#193) This comment is 63% valid code; is this commented out code?
plagiarism/plagscan/userconfig.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) This comment is 75% valid code; is this commented out code?
(#44) No space found before comment text; expected "// require_sesskey();" but found "//require_sesskey();"
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) This comment is 78% valid code; is this commented out code?
(#52) No space found before comment text; expected "// $connection->set_username($USER->email);" but found "//$connection->set_username($USER->email);"
(#64) Whitespace found at end of line
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) No space found before comment text; expected "// set autostart for plagscan analysis" but found "//set autostart for plagscan analysis"
(#75) No space found before comment text; expected "// $connection->enable_auto_analysis();" but found "//$connection->enable_auto_analysis();"
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) No space found before comment text; expected "// END set autostart for plagscan analysis" but found "//END set autostart for plagscan analysis"
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) This comment is 43% valid code; is this commented out code?
(#82) No space found before comment text; expected "// if (isset($data->$field) && $data->$field != $settings->$field) {" but found "//if (isset($data->$field) && $data->$field != $settings->$field) {"
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) This comment is 68% valid code; is this commented out code?
(#91) No space found before comment text; expected "// $result = $connection->set_user_setting($USER, $serverfield, $data->$field) & $result;" but found "//$result = $connection->set_user_setting($USER, $serverfield, $data->$field) & $result;"
(#92) No space found before comment text; expected "// }" but found "//}"
plagiarism/plagscan/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#21) Spaces must be used for alignment; tabs are not allowed
(#22) Spaces must be used for alignment; tabs are not allowed
(#23) Spaces must be used for alignment; tabs are not allowed
(#24) Spaces must be used for alignment; tabs are not allowed
(#25) Spaces must be used for alignment; tabs are not allowed
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
plagiarism/plagscan/view.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
plagiarism/plagscan/wipe_plagscan_user_cache.php
(#2) The opening <?php tag must be followed by exactly one newline.

Javascript coding style problems

(5 errors, 16 warnings)

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

plagiarism/plagscan/ajax.js
(#1) Trailing spaces not allowed. (no-trailing-spaces)
(#8) Identifier 'plagiarism_plagscan' is not in camel case. (camelcase)
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#12) Identifier 'ps_yellow_level' is not in camel case. (camelcase)
(#12) Identifier 'ps_red_level' is not in camel case. (camelcase)
(#14) Unexpected space before function parentheses. (space-before-function-paren)
(#24) Line 24 exceeds the maximum line length of 132. (max-len)
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#24) Identifier 'ps_yellow_level' is not in camel case. (camelcase)
(#24) Identifier 'ps_red_level' is not in camel case. (camelcase)
(#25) Trailing spaces not allowed. (no-trailing-spaces)
(#44) Identifier 'ps_yellow_level' is not in camel case. (camelcase)
(#44) Identifier 'ps_yellow_level' is not in camel case. (camelcase)
(#45) Identifier 'ps_red_level' is not in camel case. (camelcase)
(#45) Identifier 'ps_red_level' is not in camel case. (camelcase)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#56) Unexpected space before function parentheses. (space-before-function-paren)
(#65) Unexpected space before function parentheses. (space-before-function-paren)
(#71) Unexpected space before function parentheses. (space-before-function-paren)
(#72) Line 72 exceeds the maximum line length of 132. (max-len)
(#72) Missing semicolon. (semi)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(108 errors, 52 warnings)

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

plagiarism/plagscan/ajax.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/callback.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/check_callback.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/classes/event/assign_creation_completed.php
(#2) Empty line found after PHP open tag
(#34) Class assign_creation_completed is not documented
(#36) Function assign_creation_completed::init is not documented
(#42) Function assign_creation_completed::get_name is not documented
(#46) Function assign_creation_completed::get_description is not documented
plagiarism/plagscan/classes/event/assign_creation_started.php
(#2) Empty line found after PHP open tag
(#34) Class assign_creation_started is not documented
(#36) Function assign_creation_started::init is not documented
(#42) Function assign_creation_started::get_name is not documented
(#46) Function assign_creation_started::get_description is not documented
plagiarism/plagscan/classes/event/assign_update_completed.php
(#2) Empty line found after PHP open tag
(#34) Class assign_update_completed is not documented
(#36) Function assign_update_completed::init is not documented
(#42) Function assign_update_completed::get_name is not documented
(#46) Function assign_update_completed::get_description is not documented
plagiarism/plagscan/classes/event/callback_received.php
(#2) Empty line found after PHP open tag
(#34) Class callback_received is not documented
(#36) Function callback_received::init is not documented
(#41) Function callback_received::get_name is not documented
(#45) Function callback_received::get_description is not documented
plagiarism/plagscan/classes/event/error_happened.php
(#2) Empty line found after PHP open tag
(#34) Class error_happened is not documented
(#36) Function error_happened::init is not documented
(#42) Function error_happened::get_name is not documented
(#46) Function error_happened::get_description is not documented
plagiarism/plagscan/classes/event/file_upload_completed.php
(#2) Empty line found after PHP open tag
(#34) Class file_upload_completed is not documented
(#36) Function file_upload_completed::init is not documented
(#42) Function file_upload_completed::get_name is not documented
(#46) Function file_upload_completed::get_description is not documented
plagiarism/plagscan/classes/event/file_upload_failed.php
(#2) Empty line found after PHP open tag
(#34) Class file_upload_failed is not documented
(#36) Function file_upload_failed::init is not documented
(#42) Function file_upload_failed::get_name is not documented
(#46) Function file_upload_failed::get_description is not documented
plagiarism/plagscan/classes/event/file_upload_started.php
(#2) Empty line found after PHP open tag
(#34) Class file_upload_started is not documented
(#36) Function file_upload_started::init is not documented
(#42) Function file_upload_started::get_name is not documented
(#46) Function file_upload_started::get_description is not documented
plagiarism/plagscan/classes/event/user_creation_completed.php
(#2) Empty line found after PHP open tag
(#34) Class user_creation_completed is not documented
(#36) Function user_creation_completed::init is not documented
(#41) Function user_creation_completed::get_name is not documented
(#45) Function user_creation_completed::get_description is not documented
plagiarism/plagscan/classes/event/user_creation_failed.php
(#2) Empty line found after PHP open tag
(#34) Class user_creation_failed is not documented
(#36) Function user_creation_failed::init is not documented
(#41) Function user_creation_failed::get_name is not documented
(#45) Function user_creation_failed::get_description is not documented
plagiarism/plagscan/classes/event/user_creation_started.php
(#2) Empty line found after PHP open tag
(#34) Class user_creation_started is not documented
(#36) Function user_creation_started::init is not documented
(#41) Function user_creation_started::get_name is not documented
(#45) Function user_creation_started::get_description is not documented
plagiarism/plagscan/classes/event/user_search_completed.php
(#2) Empty line found after PHP open tag
(#34) Class user_search_completed is not documented
(#36) Function user_search_completed::init is not documented
(#41) Function user_search_completed::get_name is not documented
(#45) Function user_search_completed::get_description is not documented
plagiarism/plagscan/classes/event/user_search_started.php
(#2) Empty line found after PHP open tag
(#34) Class user_search_started is not documented
(#36) Function user_search_started::init is not documented
(#41) Function user_search_started::get_name is not documented
(#45) Function user_search_started::get_description is not documented
plagiarism/plagscan/classes/handlers/file_handler.php
(#2) Empty line found after PHP open tag
(#39) Class file_handler is not documented
(#335) There is no description in phpdocs for function create_file_from_onlinetext_content_without_event
(#105) Phpdocs for function file_handler::file_uploaded_without_event has incomplete parameters list
(#165) Phpdocs for function file_handler::handle_files_queue has incomplete parameters list
(#164) Not recommended phpdocs tag @global used
(#284) Not recommended phpdocs tag @global used
(#338) Not recommended phpdocs tag @global used
plagiarism/plagscan/classes/observer.php
(#2) Empty line found after PHP open tag
(#35) Class plagiarism_plagscan_observer is not documented
plagiarism/plagscan/classes/plagscan_api.php
(#2) Empty line found after PHP open tag
(#36) Class plagscan_api is not documented
plagiarism/plagscan/classes/plagscan_connection.php
(#45) Package is not specified for class plagscan_connection. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#45) Class plagscan_connection is not documented
(#367) Phpdocs for function plagscan_connection::analyze has incomplete parameters list
(#816) Phpdocs for function plagscan_connection::check_report_status has incomplete parameters list
(#839) Phpdocs for function plagscan_connection::get_message_view_from_linkarray has incomplete parameters list
(#916) Phpdocs for function plagscan_connection::get_message_view_from_report_status has incomplete parameters list
(#838) Not recommended phpdocs tag @global used
(#915) Not recommended phpdocs tag @global used
plagiarism/plagscan/classes/plagscan_file.php
(#2) Empty line found after PHP open tag
(#38) Class plagscan_file is not documented
(#221) Function plagscan_file::find_by_psids is not documented
(#352) Not recommended phpdocs tag @global used
plagiarism/plagscan/classes/plagscan_settings_form.php
(#2) Empty line found after PHP open tag
(#41) Class plagscan_settings_form is not documented
plagiarism/plagscan/classes/plagscan_userconfig_form.php
(#2) Empty line found after PHP open tag
(#39) Class plagscan_userconfig_form is not documented
plagiarism/plagscan/classes/privacy/provider.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/classes/tasks/plagscan_check_automatically_pending_assign_task.php
(#2) Empty line found after PHP open tag
(#40) Class plagscan_check_automatically_pending_assign_task is not documented
plagiarism/plagscan/classes/tasks/plagscan_check_deadline_pending_assign_task.php
(#2) Empty line found after PHP open tag
(#40) Class plagscan_check_deadline_pending_assign_task is not documented
plagiarism/plagscan/classes/tasks/plagscan_file_upload_task.php
(#2) Empty line found after PHP open tag
(#44) Class plagscan_file_upload_task is not documented
(#60) Function plagscan_file_upload_task::execute is not documented
plagiarism/plagscan/classes/tasks/plagscan_submit_rejected_files_task.php
(#2) Empty line found after PHP open tag
(#41) Class plagscan_submit_rejected_files_task is not documented
plagiarism/plagscan/classes/tasks/plagscan_update_frozen_checking_files_task.php
(#2) Empty line found after PHP open tag
(#40) Class plagscan_update_frozen_checking_files_task is not documented
plagiarism/plagscan/db/access.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/db/events.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
plagiarism/plagscan/db/tasks.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
plagiarism/plagscan/db/upgrade.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block is not found
(#18) Phpdocs for function xmldb_plagiarism_plagscan_upgrade has incomplete parameters list
plagiarism/plagscan/lang/de/plagiarism_plagscan.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/lang/en/plagiarism_plagscan.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/lang/es/plagiarism_plagscan.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/lib.php
(#2) Empty line found after PHP open tag
(#45) Class plagscan_credentials_exception is not documented
(#50) Class plagiarism_plugin_plagscan is not documented
(#235) Function plagiarism_plugin_plagscan::save_form_elements is not documented
(#356) Function plagiarism_plugin_plagscan::cron is not documented
(#360) Function plagiarism_plugin_plagscan::print_disclosure is not documented
(#691) Function plagscan_set_instance_config is not documented
(#704) Function plagscan_get_instance_config is not documented
(#723) Function plagscan_user_opted_out is not documented
(#67) Variable plagiarism_plugin_plagscan::$ps_yellow_level is not documented
(#68) Variable plagiarism_plugin_plagscan::$ps_red_level is not documented
(#52) Constant plagiarism_plugin_plagscan::RUN_NO is not documented
(#53) Constant plagiarism_plugin_plagscan::RUN_MANUAL is not documented
(#54) Constant plagiarism_plugin_plagscan::RUN_AUTO is not documented
(#55) Constant plagiarism_plugin_plagscan::RUN_ALL is not documented
(#56) Constant plagiarism_plugin_plagscan::RUN_DUE is not documented
(#57) Constant plagiarism_plugin_plagscan::RUN_SUBMIT_MANUAL is not documented
(#58) Constant plagiarism_plugin_plagscan::RUN_SUBMIT_ON_CLOSED_SUBMISSION is not documented
(#59) Constant plagiarism_plugin_plagscan::SHOWSTUDENTS_NEVER is not documented
(#60) Constant plagiarism_plugin_plagscan::SHOWSTUDENTS_ALWAYS is not documented
(#61) Constant plagiarism_plugin_plagscan::SHOWSTUDENTS_ACTCLOSED is not documented
(#62) Constant plagiarism_plugin_plagscan::SHOWS_ONLY_PLVL is not documented
(#63) Constant plagiarism_plugin_plagscan::SHOWS_LINKS is not documented
(#64) Constant plagiarism_plugin_plagscan::ONLINE_TEXT is not documented
(#65) Constant plagiarism_plugin_plagscan::ONLINE_TEXT_NO is not documented
(#34) Found comment starting with three or more slashes
(#49) Found comment starting with three or more slashes
plagiarism/plagscan/optout.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/reports/analyze.php
(#2) Empty line found after PHP open tag
(#21) No one-line description found in phpdocs for file
plagiarism/plagscan/reports/check_status.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/reports/submit.php
(#2) Empty line found after PHP open tag
(#22) No one-line description found in phpdocs for file
plagiarism/plagscan/reports/view.php
(#2) Empty line found after PHP open tag
(#23) No one-line description found in phpdocs for file
plagiarism/plagscan/settings.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/userconfig.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/version.php
(#2) Empty line found after PHP open tag
plagiarism/plagscan/view.php
(#17) No one-line description found in phpdocs for file
plagiarism/plagscan/wipe_plagscan_user_cache.php
(#2) Empty line found after PHP open 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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]