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

(1537 errors, 363 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/backup_plagiarism_plagscan_plugin.class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
plagiarism/plagscan/backup/moodle2/restore_plagiarism_plagscan_plugin.class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#92) Expected "} else {\n"; found "}\n else {\n"
plagiarism/plagscan/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/>.".
(#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"
(#679) Inline comments must end in full-stops, exclamation marks, or question marks
(#679) 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"
(#681) Expected "if (...) {\n"; found "if(...){\n"
(#687) Variable "access_token" must not contain underscores.
(#688) Whitespace found at end of line
(#693) Whitespace found at end of line
(#695) Whitespace found at end of line
(#696) Variable "access_token" must not contain underscores.
(#697) Whitespace found at end of line
(#699) Whitespace found at end of line
(#703) Whitespace found at end of line
(#709) Whitespace found at end of line
(#721) Whitespace found at end of line
(#728) Variable "is_assistant" must not contain underscores.
(#731) Variable "is_assistant" must not contain underscores.
(#734) Variable "is_assistant" must not contain underscores.
(#739) Whitespace found at end of line
(#745) Variable "assign_psownerid" must not contain underscores.
(#745) Variable "involved_user" must not contain underscores.
(#746) Variable "access_token" must not contain underscores.
(#748) Variable "involved_psuserid" must not contain underscores.
(#748) Variable "involved_user" must not contain underscores.
(#750) Whitespace found at end of line
(#754) Variable "involved_psuserid" must not contain underscores.
(#755) Variable "involved_psuserid" must not contain underscores.
(#755) Variable "involved_user" must not contain underscores.
(#757) Whitespace found at end of line
(#758) Expected "if (...) {\n"; found "if (...){\n"
(#758) Variable "involved_psuserid" must not contain underscores.
(#761) Expected "} else {\n"; found "}\n else {\n"
(#762) Variable "involved_psuserid" must not contain underscores.
(#765) Variable "access_token" must not contain underscores.
(#765) Line exceeds 132 characters; contains 174 characters
(#766) Whitespace found at end of line
(#769) Expected "if (...) {\n"; found "if(...){\n"
(#770) Variable "is_involved" must not contain underscores.
(#772) Variable "is_involved" must not contain underscores.
(#774) Expected "if (...) {\n"; found "if (...){\n"
(#778) Expected "} else {\n"; found "}\n else{\n"
(#782) Whitespace found at end of line
(#783) Expected "if (...) {\n"; found "if(...){\n"
(#785) Expected "if (...) {\n"; found "if (...){\n"
(#788) Expected "} else if (...) {\n"; found "}\n else if (...){\n"
(#788) Expected "if (...) {\n"; found "if (...){\n"
(#800) Variable "access_token" must not contain underscores.
(#802) Variable "access_token" must not contain underscores.
(#806) Whitespace found at end of line
(#810) Expected 1 space before opening brace; found 0
(#812) Whitespace found at end of line
(#817) Line exceeds 132 characters; contains 135 characters
(#818) Whitespace found at end of line
(#823) Variable "ps_yellow_level" must not contain underscores.
(#823) Variable "ps_red_level" must not contain underscores.
(#823) Line exceeds 132 characters; contains 148 characters
(#830) Variable "ps_yellow_level" must not contain underscores.
(#830) Variable "ps_red_level" must not contain underscores.
(#830) Line exceeds 132 characters; contains 171 characters
(#837) Whitespace found at end of line
(#840) Whitespace found at end of line
(#851) Variable "ps_yellow_level" must not contain underscores.
(#851) Variable "ps_red_level" must not contain underscores.
(#851) Expected 1 space before opening brace; found 0
(#851) Line exceeds 132 characters; contains 161 characters
(#853) Whitespace found at end of line
(#854) Expected "if (...) {\n"; found "if(...){\n"
(#857) Whitespace found at end of line
(#860) Variable "is_file" must not contain underscores.
(#861) Variable "is_content" must not contain underscores.
(#862) Whitespace found at end of line
(#863) Variable "is_file" must not contain underscores.
(#866) Variable "is_content" must not contain underscores.
(#868) Variable "user_submission" must not contain underscores.
(#868) Commas (,) must be followed by white space.
(#870) Variable "user_submission" must not contain underscores.
(#873) Expected "if (...) {\n"; found "if(...){\n"
(#873) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#876) Expected "} else {\n"; found "}\n else{\n"
(#880) Whitespace found at end of line
(#885) Inline comments must end in full-stops, exclamation marks, or question marks
(#887) Whitespace found at end of line
(#888) Expected "if (...) {\n"; found "if(...){\n"
(#888) Variable "is_file" must not contain underscores.
(#891) Whitespace found at end of line
(#892) Inline comments must start with a capital letter, digit or 3-dots sequence
(#892) Inline comments must end in full-stops, exclamation marks, or question marks
(#892) No space found before comment text; expected "// create $message" but found "//create $message"
(#892) Whitespace found at end of line
(#896) Expected "if (...) {\n"; found "if(...){\n"
(#896) Variable "is_file" must not contain underscores.
(#898) Whitespace found at end of line
(#899) Whitespace found at end of line
(#909) Variable "ps_yellow_level" must not contain underscores.
(#909) Variable "ps_red_level" must not contain underscores.
(#909) Line exceeds 132 characters; contains 177 characters
(#911) Whitespace found at end of line
(#917) Whitespace found at end of line
(#929) Variable "ps_yellow_level" must not contain underscores.
(#929) Variable "ps_red_level" must not contain underscores.
(#929) Line exceeds maximum limit of 180 characters; contains 182 characters
(#931) Whitespace found at end of line
(#932) Expected "if (...) {\n"; found "if(...){\n"
(#935) Whitespace found at end of line
(#937) Whitespace found at end of line
(#943) Usage of ELSEIF not allowed; use ELSE IF instead
(#949) Commas (,) must be followed by white space.
(#953) Commas (,) must be followed by white space.
(#953) Line exceeds 132 characters; contains 153 characters
(#957) Commas (,) must be followed by white space.
(#957) Line exceeds 132 characters; contains 157 characters
(#959) Expected "} else if (...) {\n"; found "} else if (...){\n"
(#959) Expected "if (...) {\n"; found "if (...){\n"
(#961) Commas (,) must be followed by white space.
(#961) Line exceeds 132 characters; contains 158 characters
(#963) Inline comments must end in full-stops, exclamation marks, or question marks
(#968) Expected "if (...) {\n"; found "if(...){\n"
(#970) Whitespace found at end of line
(#971) Whitespace found at end of line
(#983) Line exceeds maximum limit of 180 characters; contains 226 characters
(#991) Line exceeds 132 characters; contains 171 characters
(#997) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1000) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1000) This comment is 58% valid code; is this commented out code?
(#1000) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#1001) Line exceeds 132 characters; contains 144 characters
(#1001) 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)"
(#1002) Inline control structures are not allowed
(#1003) Expected 1 space before ".="; 0 found
(#1003) Expected 1 space after ".="; 0 found
(#1003) Commas (,) must be followed by white space.
(#1003) Line exceeds 132 characters; contains 138 characters
(#1003) Whitespace found at end of line
(#1015) Line exceeds 132 characters; contains 158 characters
(#1024) Variable "ps_red_level" must not contain underscores.
(#1026) Variable "ps_yellow_level" must not contain underscores.
(#1029) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1029) This comment is 66% valid code; is this commented out code?
(#1031) Line exceeds 132 characters; contains 143 characters
(#1032) Line exceeds maximum limit of 180 characters; contains 199 characters
(#1046) Expected 1 space after ".="; 0 found
(#1047) 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
(#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/>.".
(#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
(#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/>.".
(#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
(#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/>.".
(#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
(#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 "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
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
(#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/>.".
(#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
(#348) Whitespace found at end of line
plagiarism/plagscan/lang/de/plagiarism_plagscan.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/>.".
(#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
(#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/>.".
plagiarism/plagscan/lang/es/plagiarism_plagscan.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/>.".
plagiarism/plagscan/lib.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) 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.
(#71) Whitespace found at end of line
(#77) Whitespace found at end of line
(#80) Inline control structures are not allowed
(#80) Must use "self::" for local static member reference
(#82) Whitespace found at end of line
(#118) Variable "is_file" must not contain underscores.
(#119) Variable "is_content" must not contain underscores.
(#121) Variable "is_file" must not contain underscores.
(#125) Expected "if (...) {\n"; found "if(...){\n"
(#125) Variable "is_content" must not contain underscores.
(#129) Variable "is_multiaccount" must not contain underscores.
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Inline comments must start with a capital letter, digit or 3-dots sequence
(#150) No space found before comment text; expected "// get viewreport varinviable" but found "//get viewreport varinviable"
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) No space found before comment text; expected "// get assigned closed" but found "//get assigned closed"
(#176) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) No space found before comment text; expected "// END get assigned closed" but found "//END get assigned closed"
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) No space found before comment text; expected "// END get viewreport variable" but found "//END get viewreport variable"
(#195) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) Inline comments must start with a capital letter, digit or 3-dots sequence
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) 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"
(#209) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) 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"
(#211) Variable "assign_owner" must not contain underscores.
(#212) Variable "assign_psownerid" must not contain underscores.
(#212) Variable "assign_owner" must not contain underscores.
(#214) Variable "assign_owner" must not contain underscores.
(#215) Variable "assign_psownerid" must not contain underscores.
(#215) Variable "assign_owner" must not contain underscores.
(#217) Whitespace found at end of line
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) 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"
(#220) Variable "is_multiaccount" must not contain underscores.
(#220) Line exceeds 132 characters; contains 152 characters
(#220) Whitespace found at end of line
(#221) Variable "assign_psownerid" must not contain underscores.
(#221) Variable "assign_owner" must not contain underscores.
(#222) Whitespace found at end of line
(#224) Variable "is_involved" must not contain underscores.
(#224) Variable "assign_psownerid" must not contain underscores.
(#225) Variable "is_involved" must not contain underscores.
(#226) Expected "if (...) {\n"; found "if (...){\n"
(#226) Variable "is_involved" must not contain underscores.
(#227) Variable "error_msg" must not contain underscores.
(#228) Expected "if (...) {\n"; found "if (...){\n"
(#228) Variable "is_involved" must not contain underscores.
(#229) Variable "error_msg" must not contain underscores.
(#229) Line exceeds 132 characters; contains 133 characters
(#230) Variable "error_msg" must not contain underscores.
(#230) Variable "is_involved" must not contain underscores.
(#232) Expected "} else if (...) {\n"; found "}\n else if (...){ \n"
(#232) Expected "if (...) {\n"; found "if (...){ \n"
(#232) Variable "is_involved" must not contain underscores.
(#232) Whitespace found at end of line
(#233) Variable "error_msg" must not contain underscores.
(#233) Line exceeds 132 characters; contains 138 characters
(#234) Variable "error_msg" must not contain underscores.
(#234) Variable "assign_psownerid" must not contain underscores.
(#236) Expected "} else {\n"; found "}\n else{\n"
(#237) Variable "error_msg" must not contain underscores.
(#237) Variable "is_involved" must not contain underscores.
(#239) Variable "error_msg" must not contain underscores.
(#239) Line exceeds 132 characters; contains 139 characters
(#240) Variable "error_msg" must not contain underscores.
(#246) Variable "is_file" must not contain underscores.
(#246) Variable "is_content" must not contain underscores.
(#247) Whitespace found at end of line
(#248) Variable "ps_red_level" must not contain underscores.
(#248) Variable "ps_yellow_level" must not contain underscores.
(#249) Variable "ps_red_level" must not contain underscores.
(#249) Variable "ps_yellow_level" must not contain underscores.
(#249) Whitespace found at end of line
(#250) Variable "ps_red_level" must not contain underscores.
(#250) Variable "ps_yellow_level" must not contain underscores.
(#255) Variable "assign_owner" must not contain underscores.
(#256) Inline control structures are not allowed
(#257) Variable "ps_red_level" must not contain underscores.
(#258) Inline control structures are not allowed
(#259) Variable "ps_red_level" must not contain underscores.
(#260) Inline control structures are not allowed
(#261) Variable "ps_yellow_level" must not contain underscores.
(#262) Inline control structures are not allowed
(#263) Variable "ps_yellow_level" must not contain underscores.
(#271) Whitespace found at end of line
(#272) Expected "if (...) {\n"; found "if(...){\n"
(#275) Whitespace found at end of line
(#276) Inline comments must end in full-stops, exclamation marks, or question marks
(#303) Variable "ps_yellow_level" must not contain underscores.
(#303) Variable "ps_red_level" must not contain underscores.
(#303) Line exceeds maximum limit of 180 characters; contains 250 characters
(#304) Inline comments must start with a capital letter, digit or 3-dots sequence
(#304) This comment is 80% valid code; is this commented out code?
(#304) 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',"
(#305) No space found before comment text; expected "// array(array('aparam'=>'paramvalue')));" but found "//array(array('aparam'=>'paramvalue')));"
(#308) Whitespace found at end of line
(#309) Inline comments must end in full-stops, exclamation marks, or question marks
(#309) No space found before comment text; expected "// Create output for each file" but found "//Create output for each file"
(#313) Variable "ps_yellow_level" must not contain underscores.
(#313) Variable "ps_red_level" must not contain underscores.
(#313) Line exceeds maximum limit of 180 characters; contains 209 characters
(#315) Inline comments must end in full-stops, exclamation marks, or question marks
(#315) No space found before comment text; expected "// END create message" but found "//END create message"
(#321) Inline comments must end in full-stops, exclamation marks, or question marks
(#321) No space found before comment text; expected "// END create submit" but found "//END create submit"
(#322) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#336) Inline comments must start with a capital letter, digit or 3-dots sequence
(#336) Inline comments must end in full-stops, exclamation marks, or question marks
(#336) 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"
(#344) Inline comments must start with a capital letter, digit or 3-dots sequence
(#344) This comment is 86% valid code; is this commented out code?
(#344) Line indented incorrectly; expected at least 8 spaces, found 0
(#344) No space found before comment text; expected "// $DB->set_debug(true);" but found "//$DB->set_debug(true);"
(#349) Inline comments must end in full-stops, exclamation marks, or question marks
(#358) Inline comments must end in full-stops, exclamation marks, or question marks
(#362) Line exceeds 132 characters; contains 160 characters
(#370) Inline comments must start with a capital letter, digit or 3-dots sequence
(#370) This comment is 62% valid code; is this commented out code?
(#370) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#371) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#372) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#373) Line exceeds 132 characters; contains 176 characters
(#373) 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)));"
(#374) 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'));"
(#375) No space found before comment text; expected "// $output .= html_writer::empty_tag('br');" but found "//$output .= html_writer::empty_tag('br');"
(#376) Line exceeds maximum limit of 180 characters; contains 182 characters
(#376) 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)));"
(#377) Inline comments must end in full-stops, exclamation marks, or question marks
(#377) 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'));"
(#378) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#383) This comment is 62% valid code; is this commented out code?
(#472) Variable "enable_plagscan" must not contain underscores.
(#474) The use of function sizeof() is forbidden; use count() instead
(#475) Variable "enable_plagscan" must not contain underscores.
(#479) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#481) Variable "enable_plagscan" must not contain underscores.
(#482) The use of function sizeof() is forbidden; use count() instead
(#484) Variable "enable_plagscan" must not contain underscores.
(#490) Variable "enable_plagscan" must not contain underscores.
(#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 "// cm update" but found "//cm update"
(#498) Whitespace found at end of line
(#519) Line exceeds 132 characters; contains 135 characters
(#522) Inline comments must start with a capital letter, digit or 3-dots sequence
(#522) Inline comments must end in full-stops, exclamation marks, or question marks
(#522) Line indented incorrectly; expected at least 8 spaces, found 0
(#524) Line exceeds 132 characters; contains 141 characters
(#526) Line exceeds maximum limit of 180 characters; contains 212 characters
(#528) Whitespace found at end of line
(#529) Variable "show_exclude_options" must not contain underscores.
(#530) Variable "is_multiaccount" must not contain underscores.
(#531) Expected "if (...) {\n"; found "if(...){\n"
(#533) Expected "if (...) {\n"; found "if(...){\n"
(#533) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#533) Line exceeds 132 characters; contains 140 characters
(#534) Variable "show_exclude_options" must not contain underscores.
(#537) Expected "} else {\n"; found "}\n else{\n"
(#538) Expected "if (...) {\n"; found "if(...){\n"
(#538) Variable "is_multiaccount" must not contain underscores.
(#539) Variable "show_exclude_options" must not contain underscores.
(#542) Whitespace found at end of line
(#543) Expected "if (...) {\n"; found "if(...){\n"
(#543) Variable "show_exclude_options" must not contain underscores.
(#550) Line exceeds 132 characters; contains 138 characters
(#552) Whitespace found at end of line
(#556) Whitespace found at end of line
(#561) Line exceeds 132 characters; contains 140 characters
(#566) This comment is 75% valid code; is this commented out code?
(#577) Whitespace found at end of line
(#578) Expected "if (...) {\n"; found "if(...){\n"
(#578) Variable "show_exclude_options" must not contain underscores.
(#579) Expected "if (...) {\n"; found "if(...){\n"
(#583) Expected "if (...) {\n"; found "if(...){\n"
(#586) Whitespace found at end of line
(#590) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#605) Line exceeds 132 characters; contains 142 characters
(#609) Line exceeds 132 characters; contains 134 characters
(#657) Whitespace found at end of line
(#658) Variable "is_multiaccount" must not contain underscores.
(#660) Variable "is_multiaccount" must not contain underscores.
(#665) Whitespace found at end of line
(#672) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#673) Whitespace found at end of line
(#684) Whitespace found at end of line
(#685) Variable "validation_default" must not contain underscores.
(#686) Whitespace found at end of line
(#687) Expected "if (...) {\n"; found "if(...){\n"
(#688) Variable "validation_default" must not contain underscores.
(#690) Expected "} else {\n"; found "}\n else{\n"
(#693) Whitespace found at end of line
(#694) Expected "if (...) {\n"; found "if(...){\n"
(#695) Variable "validation_default" must not contain underscores.
(#695) Line exceeds 132 characters; contains 136 characters
(#697) Expected "} else {\n"; found "}\n else {\n"
(#700) Whitespace found at end of line
(#702) Whitespace found at end of line
(#703) Line exceeds 132 characters; contains 155 characters
(#704) Variable "is_multiaccount" must not contain underscores.
(#706) Expected "if (...) {\n"; found "if (...){\n"
(#707) Inline comments must start with a capital letter, digit or 3-dots sequence
(#707) Inline comments must end in full-stops, exclamation marks, or question marks
(#707) This comment is 67% valid code; is this commented out code?
(#707) 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');"
(#708) Variable "error_msg" must not contain underscores.
(#709) Expected "if (...) {\n"; found "if(...){\n"
(#710) Variable "error_msg" must not contain underscores.
(#710) Line exceeds 132 characters; contains 136 characters
(#712) Variable "error_msg" must not contain underscores.
(#718) Expected "} else {\n"; found "}\n else {\n"
(#722) Expected "} else {\n"; found "}\n else {\n"
(#724) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#725) Variable "assign_owner" must not contain underscores.
(#726) Variable "assign_owner" must not contain underscores.
(#730) Whitespace found at end of line
(#731) Variable "validation_default" must not contain underscores.
(#732) Variable "validation_default" must not contain underscores.
(#733) Variable "validation_default" must not contain underscores.
(#736) Inline comments must start with a capital letter, digit or 3-dots sequence
(#736) Inline comments must end in full-stops, exclamation marks, or question marks
(#736) No space found before comment text; expected "// nondisclosure document" but found "//nondisclosure document"
(#737) Line exceeds 132 characters; contains 165 characters
(#739) Inline comments must start with a capital letter, digit or 3-dots sequence
(#739) This comment is 65% valid code; is this commented out code?
(#739) 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');"
(#741) Inline comments must end in full-stops, exclamation marks, or question marks
(#741) No space found before comment text; expected "// END nondisclosure document" but found "//END nondisclosure document"
plagiarism/plagscan/optout.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/>.".
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
(#43) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#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/>.".
(#40) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
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
(#61) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#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
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#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/>.".
(#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"
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) 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)"
(#95) Line exceeds 132 characters; contains 178 characters
(#100) Line exceeds 132 characters; contains 143 characters
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// local property copy is equal to submitted property" but found "//local property copy is equal to submitted property"
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) No space found before comment text; expected "// Setting unchanged" but found "//Setting unchanged"
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Expected "if (...) {\n"; found "if(...){\n"
(#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) No space found before comment text; expected "// set autostart for plagscan analysis" but found "//set autostart for plagscan analysis"
(#117) No space found before comment text; expected "// $connection->enable_auto_analysis();" but found "//$connection->enable_auto_analysis();"
(#118) No space found before comment text; expected "// END set autostart for plagscan analysis" but found "//END set autostart for plagscan analysis"
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) No space found before comment text; expected "// Plagscan API parameters" but found "//Plagscan API parameters"
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) 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
(#143) Whitespace found at end of line
(#144) Variable "try_connection" must not contain underscores.
(#145) Inline control structures are not allowed
(#145) Variable "try_connection" must not contain underscores.
(#149) Inline control structures are not allowed
(#149) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#154) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#172) Variable "admin_email" must not contain underscores.
(#173) Variable "admin_email" must not contain underscores.
(#174) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#182) Inline comments must start with a capital letter, digit or 3-dots sequence
(#182) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) No space found before comment text; expected "// satus message" but found "//satus message"
(#191) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) 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"
(#192) This comment is 63% valid code; is this commented out code?
plagiarism/plagscan/userconfig.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/>.".
(#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();"
(#47) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#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/>.".
(#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
(#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/>.".

Javascript coding style problems

(79 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)
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Identifier 'plagiarism_plagscan' is not in camel case. (camelcase)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#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)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Unexpected space before function parentheses. (space-before-function-paren)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) This line has a length of 136. Maximum allowed is 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)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Trailing spaces not allowed. (no-trailing-spaces)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) Identifier 'ps_yellow_level' is not in camel case. (camelcase)
(#44) Identifier 'ps_yellow_level' is not in camel case. (camelcase)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) Identifier 'ps_red_level' is not in camel case. (camelcase)
(#45) Identifier 'ps_red_level' is not in camel case. (camelcase)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#48) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#49) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#50) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#51) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#52) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#53) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#54) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#55) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#56) Unexpected space before function parentheses. (space-before-function-paren)
(#56) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#57) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#58) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#59) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#60) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#61) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#62) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#63) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#64) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#65) Unexpected space before function parentheses. (space-before-function-paren)
(#65) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#66) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#67) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#68) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#69) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#70) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#71) Unexpected space before function parentheses. (space-before-function-paren)
(#71) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#72) This line has a length of 144. Maximum allowed is 132. (max-len)
(#72) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#72) Missing semicolon. (semi)
(#73) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#74) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(107 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
(#819) Phpdocs for function plagscan_connection::check_report_status has incomplete parameters list
(#842) Phpdocs for function plagscan_connection::get_message_view_from_linkarray has incomplete parameters list
(#919) Phpdocs for function plagscan_connection::get_message_view_from_report_status has incomplete parameters list
(#841) Not recommended phpdocs tag @global used
(#918) 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
(#70) Function plagiarism_plugin_plagscan::cron is not documented
(#74) Function plagiarism_plugin_plagscan::print_disclosure is not documented
(#406) Function plagscan_set_instance_config is not documented
(#419) Function plagscan_get_instance_config is not documented
(#438) 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]