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

(839 errors, 490 warnings)

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

mod/ratingallocate/backup/moodle2/backup_ratingallocate_activity_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#34) 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
(#39) Line exceeds 132 characters; contains 156 characters
(#42) Variable "ratingallocate_choices" must not contain underscores.
(#43) Variable "ratingallocate_choice" must not contain underscores.
(#43) Line exceeds 132 characters; contains 163 characters
(#46) Variable "ratingallocate_ratings" must not contain underscores.
(#47) Variable "ratingallocate_rating" must not contain underscores.
(#47) Line exceeds 132 characters; contains 163 characters
(#50) Variable "ratingallocate_allocations" must not contain underscores.
(#51) Variable "ratingallocate_allocation" must not contain underscores.
(#51) Line exceeds 132 characters; contains 167 characters
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Variable "ratingallocate_choices" must not contain underscores.
(#55) Variable "ratingallocate_choices" must not contain underscores.
(#55) Variable "ratingallocate_choice" must not contain underscores.
(#57) Variable "ratingallocate_choice" must not contain underscores.
(#57) Variable "ratingallocate_ratings" must not contain underscores.
(#58) Variable "ratingallocate_ratings" must not contain underscores.
(#58) Variable "ratingallocate_rating" must not contain underscores.
(#60) Variable "ratingallocate_choice" must not contain underscores.
(#60) Variable "ratingallocate_allocations" must not contain underscores.
(#61) Variable "ratingallocate_allocations" must not contain underscores.
(#61) Variable "ratingallocate_allocation" must not contain underscores.
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Line exceeds maximum limit of 180 characters; contains 214 characters
(#65) Variable "ratingallocate_choice" must not contain underscores.
(#65) Line exceeds maximum limit of 180 characters; contains 249 characters
(#68) Variable "ratingallocate_rating" must not contain underscores.
(#68) Line exceeds maximum limit of 180 characters; contains 245 characters
(#69) Variable "ratingallocate_allocation" must not contain underscores.
(#69) Line exceeds maximum limit of 180 characters; contains 341 characters
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Variable "ratingallocate_allocation" must not contain underscores.
(#74) Variable "ratingallocate_rating" must not contain underscores.
(#76) 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
mod/ratingallocate/backup/moodle2/backup_ratingallocate_activity_task.class.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#24) Line exceeds 132 characters; contains 139 characters
(#25) Line exceeds 132 characters; contains 139 characters
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) No space found before comment text; expected "// require_once($CFG->dirroot . '/mod/ratingallocate/backup/moodle2/backup_ratingallocate_settingslib.php'); // Because it exists (optional)" but found "//require_once($CFG->dirroot . '/mod/ratingallocate/backup/moodle2/backup_ratingallocate_settingslib.php'); // Because it exists (optional)"
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
mod/ratingallocate/backup/moodle2/backup_restore_helper.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
(#24) function name "get_fields_for_tableClass" must be lower-case letters only
(#27) Variable "keys_to_remove" must not contain underscores.
(#28) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#29) Inline control structures are not allowed
(#29) Variable "keys_to_remove" must not contain underscores.
(#35) function name "get_tablename_for_tableClass" must be lower-case letters only
(#41) function name "get_id_for_tableClass" must be lower-case letters only
mod/ratingallocate/backup/moodle2/restore_ratingallocate_activity_stepslib.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
(#32) Variable "ratingallocate_path" must not contain underscores.
(#33) Variable "ratingallocate_path" must not contain underscores.
(#34) Variable "choices_path" must not contain underscores.
(#34) Variable "ratingallocate_path" must not contain underscores.
(#34) Line exceeds 132 characters; contains 138 characters
(#35) Variable "choices_path" must not contain underscores.
(#37) Variable "choices_path" must not contain underscores.
(#37) Line exceeds maximum limit of 180 characters; contains 197 characters
(#38) Variable "choices_path" must not contain underscores.
(#38) Line exceeds maximum limit of 180 characters; contains 205 characters
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Line exceeds 132 characters; contains 134 characters
(#56) Expected "if (...) {\n"; found "if(...) {\n"
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Line exceeds 132 characters; contains 136 characters
(#97) Line exceeds 132 characters; contains 144 characters
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Inline comments must start with a capital letter, digit or 3-dots sequence
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) This comment is 48% valid code; is this commented out code?
(#106) No space found before comment text; expected "// $this->add_related_files('mod_' . ratingallocate_MOD_NAME, ratingallocate_FILEAREA_NAME, ratingallocate_MOD_NAME);" but found "//$this->add_related_files('mod_' . ratingallocate_MOD_NAME, ratingallocate_FILEAREA_NAME, ratingallocate_MOD_NAME);"
mod/ratingallocate/backup/moodle2/restore_ratingallocate_activity_task.class.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#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.
(#30) Line exceeds 132 characters; contains 140 characters
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) This comment is 66% valid code; is this commented out code?
(#68) This comment is 60% valid code; is this commented out code?
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) This comment is 60% valid code; is this commented out code?
(#84) This comment is 61% valid code; is this commented out code?
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) This comment is 61% valid code; is this commented out code?
(#86) This comment is 61% valid code; is this commented out code?
(#87) This comment is 61% valid code; is this commented out code?
(#88) This comment is 61% valid code; is this commented out code?
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) This comment is 61% valid code; is this commented out code?
(#109) This comment is 60% valid code; is this commented out code?
(#110) This comment is 70% valid code; is this commented out code?
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) This comment is 61% valid code; is this commented out code?
mod/ratingallocate/classes/algorithm_status.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#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) Expected 1 space(s) before asterisk; 0 found
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Expected 1 space(s) before asterisk; 0 found
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) Expected 1 space(s) before asterisk; 0 found
(#7) Expected 1 space(s) before asterisk; 0 found
(#8) Expected 1 space(s) before asterisk; 0 found
(#9) Expected 1 space(s) before asterisk; 0 found
(#10) Expected MOODLE_INTERNAL check or config.php inclusion
(#11) Class constants must be uppercase; expected FAILURE but found failure
(#12) Class constants must be uppercase; expected NOTSTARTED but found notstarted
(#13) Class constants must be uppercase; expected RUNNING but found running
(#14) Class constants must be uppercase; expected FINISHED but found finished
(#14) Inline comments must end in full-stops, exclamation marks, or question marks
mod/ratingallocate/classes/event/allocation_published.php
(#16) Whitespace found at end of line
(#40) Whitespace found at end of line
(#41) Expected 1 space after closing parenthesis; found 0
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#42) Commas (,) must be followed by white space.
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#44) Whitespace found at end of line
(#50) Whitespace found at end of line
(#54) Whitespace found at end of line
(#56) Line exceeds 132 characters; contains 161 characters
(#58) Whitespace found at end of line
mod/ratingallocate/classes/event/allocation_statistics_viewed.php
(#16) Whitespace found at end of line
(#34) Whitespace found at end of line
(#35) Expected 1 space after closing parenthesis; found 0
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Commas (,) must be followed by white space.
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#38) Whitespace found at end of line
(#44) Whitespace found at end of line
(#48) Whitespace found at end of line
(#50) Line exceeds 132 characters; contains 169 characters
(#52) Whitespace found at end of line
mod/ratingallocate/classes/event/allocation_table_viewed.php
(#16) Whitespace found at end of line
(#34) Whitespace found at end of line
(#35) Expected 1 space after closing parenthesis; found 0
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Commas (,) must be followed by white space.
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#38) Whitespace found at end of line
(#44) Whitespace found at end of line
(#48) Whitespace found at end of line
(#50) Line exceeds 132 characters; contains 164 characters
(#52) Whitespace found at end of line
mod/ratingallocate/classes/event/distribution_triggered.php
(#16) Whitespace found at end of line
(#41) Whitespace found at end of line
(#42) Variable "time_needed" must not contain underscores.
(#42) Expected 1 space after closing parenthesis; found 0
(#43) Variable "time_needed_json_valid" must not contain underscores.
(#43) Variable "time_needed" must not contain underscores.
(#43) Commas (,) must be followed by white space.
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#45) Variable "time_needed_json_valid" must not contain underscores.
(#52) Whitespace found at end of line
(#56) Whitespace found at end of line
(#58) Whitespace found at end of line
(#59) Whitespace found at end of line
(#60) Whitespace found at end of line
(#63) Whitespace found at end of line
mod/ratingallocate/classes/event/manual_allocation_saved.php
(#16) Whitespace found at end of line
(#40) Whitespace found at end of line
(#41) Expected 1 space after closing parenthesis; found 0
(#49) Whitespace found at end of line
(#53) Whitespace found at end of line
(#55) Line exceeds 132 characters; contains 164 characters
(#57) Whitespace found at end of line
mod/ratingallocate/classes/event/rating_saved.php
(#16) Whitespace found at end of line
(#40) Whitespace found at end of line
(#41) Expected 1 space after closing parenthesis; found 0
(#42) Line exceeds 132 characters; contains 139 characters
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Variable "rating_json_valid" must not contain underscores.
(#44) Commas (,) must be followed by white space.
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#45) Variable "rating_json_valid" must not contain underscores.
(#45) Line exceeds 132 characters; contains 146 characters
(#52) Whitespace found at end of line
(#56) Whitespace found at end of line
(#58) Line exceeds 132 characters; contains 153 characters
(#60) Whitespace found at end of line
mod/ratingallocate/classes/event/rating_viewed.php
(#16) Whitespace found at end of line
(#34) Whitespace found at end of line
(#35) Expected 1 space after closing parenthesis; found 0
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Commas (,) must be followed by white space.
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#38) Whitespace found at end of line
(#44) Whitespace found at end of line
(#48) Whitespace found at end of line
(#50) Line exceeds 132 characters; contains 154 characters
(#52) Whitespace found at end of line
mod/ratingallocate/classes/event/ratingallocate_viewed.php
(#16) Whitespace found at end of line
(#34) Whitespace found at end of line
(#35) Expected 1 space after closing parenthesis; found 0
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Commas (,) must be followed by white space.
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#38) Whitespace found at end of line
(#44) Whitespace found at end of line
(#48) Whitespace found at end of line
(#50) Line exceeds 132 characters; contains 162 characters
(#52) Whitespace found at end of line
mod/ratingallocate/classes/ratings_and_allocations_table.php
(#30) Whitespace found at end of line
(#32) Whitespace found at end of line
(#36) Whitespace found at end of line
(#39) Whitespace found at end of line
(#41) Whitespace found at end of line
(#46) Whitespace found at end of line
(#49) Whitespace found at end of line
(#52) Whitespace found at end of line
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) This comment is 54% valid code; is this commented out code?
(#57) Whitespace found at end of line
(#60) Whitespace found at end of line
(#61) Whitespace found at end of line
(#64) Whitespace found at end of line
(#69) Whitespace found at end of line
(#76) Whitespace found at end of line
(#79) Whitespace found at end of line
(#83) Whitespace found at end of line
(#88) Whitespace found at end of line
(#93) Whitespace found at end of line
(#100) Whitespace found at end of line
(#104) Whitespace found at end of line
(#107) Whitespace found at end of line
(#113) Whitespace found at end of line
(#122) Whitespace found at end of line
(#131) Whitespace found at end of line
(#138) Whitespace found at end of line
(#140) Whitespace found at end of line
(#143) Whitespace found at end of line
(#145) Whitespace found at end of line
(#147) Whitespace found at end of line
(#151) Whitespace found at end of line
(#153) Whitespace found at end of line
(#155) Whitespace found at end of line
(#160) Whitespace found at end of line
(#165) Whitespace found at end of line
(#168) Whitespace found at end of line
(#170) Whitespace found at end of line
(#172) Whitespace found at end of line
(#176) Whitespace found at end of line
(#184) Whitespace found at end of line
(#187) Whitespace found at end of line
(#190) Whitespace found at end of line
(#196) Whitespace found at end of line
(#199) Whitespace found at end of line
(#209) Whitespace found at end of line
mod/ratingallocate/classes/task/cron_task.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#47) The use of the AS keyword to alias tables is bad for cross-db
(#48) The use of the AS keyword to alias tables is bad for cross-db
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
mod/ratingallocate/classes/task/send_distribution_notification.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) Whitespace found at end of line
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Whitespace found at end of line
(#34) Whitespace found at end of line
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) No space found before comment text; expected "// get instance of ratingallocate" but found "//get instance of ratingallocate"
(#42) Commas (,) must be followed by white space.
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#42) Commas (,) must be followed by white space.
(#42) Line exceeds 132 characters; contains 142 characters
(#43) Whitespace found at end of line
(#50) Whitespace found at end of line
(#52) Whitespace found at end of line
(#53) Whitespace found at end of line
(#54) Whitespace found at end of line
(#55) Whitespace found at end of line
mod/ratingallocate/db/db_structure.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
mod/ratingallocate/db/install.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
mod/ratingallocate/db/uninstall.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
mod/ratingallocate/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch(...) {\n"
(#50) Variable "single_result" must not contain underscores.
(#51) Variable "single_result" must not contain underscores.
(#52) Variable "single_result" must not contain underscores.
(#89) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch(...) {\n"
(#90) Line indented incorrectly; expected at least 12 spaces, found 8
(#92) Line indented incorrectly; expected at least 12 spaces, found 8
(#93) Line indented incorrectly; expected at least 12 spaces, found 8
(#94) Line indented incorrectly; expected at least 12 spaces, found 8
(#96) Line indented incorrectly; expected at least 12 spaces, found 8
(#97) Line indented incorrectly; expected 12 spaces, found 8
(#98) Line indented incorrectly; expected at least 16 spaces, found 12
(#99) Line indented incorrectly; expected 12 spaces, found 8
(#101) Line indented incorrectly; expected at least 12 spaces, found 8
(#103) Line indented incorrectly; expected at least 12 spaces, found 8
(#104) Line indented incorrectly; expected 12 spaces, found 8
(#105) Line indented incorrectly; expected at least 16 spaces, found 12
(#106) Line indented incorrectly; expected 12 spaces, found 8
(#108) Line indented incorrectly; expected at least 12 spaces, found 8
(#110) Line indented incorrectly; expected at least 12 spaces, found 8
(#111) Line indented incorrectly; expected 12 spaces, found 8
(#112) Line indented incorrectly; expected at least 16 spaces, found 12
(#113) Line indented incorrectly; expected 12 spaces, found 8
(#115) Line indented incorrectly; expected at least 12 spaces, found 8
(#117) Line indented incorrectly; expected at least 12 spaces, found 8
(#118) Line indented incorrectly; expected 12 spaces, found 8
(#118) Variable "single_result" must not contain underscores.
(#119) Line indented incorrectly; expected at least 16 spaces, found 12
(#119) Variable "single_result" must not contain underscores.
(#120) Line indented incorrectly; expected at least 16 spaces, found 12
(#120) Variable "single_result" must not contain underscores.
(#120) Expected 1 space after "?"; newline found
(#122) Line indented incorrectly; expected at least 16 spaces, found 12
(#122) Variable "single_result" must not contain underscores.
(#123) Line indented incorrectly; expected 12 spaces, found 8
(#125) Line indented incorrectly; expected at least 12 spaces, found 8
(#126) Line indented incorrectly; expected at least 12 spaces, found 8
(#127) Line indented incorrectly; expected at least 12 spaces, found 8
(#134) Whitespace found at end of line
mod/ratingallocate/export_ratings_csv.php
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
mod/ratingallocate/form_manual_allocation.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#38) Whitespace found at end of line
(#46) Member variable "filter_state" must not contain underscores.
(#47) Whitespace found at end of line
(#65) Whitespace found at end of line
(#67) Whitespace found at end of line
(#68) Variable "show_all" must not contain underscores.
(#68) Expected 1 space before "="; 0 found
(#68) Expected 1 space after "="; 0 found
(#70) Commas (,) must be followed by white space.
(#70) Commas (,) must be followed by white space.
(#71) Whitespace found at end of line
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) No space found before comment text; expected "// Button to filter the users, which are desplayed" but found "//Button to filter the users, which are desplayed"
(#74) Commas (,) must be followed by white space.
(#78) Whitespace found at end of line
(#79) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) No space found before comment text; expected "// saves the current filter" but found "//saves the current filter"
(#82) Whitespace found at end of line
(#86) Whitespace found at end of line
(#87) Expected 1 space after closing parenthesis; found 0
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Whitespace found at end of line
(#110) Whitespace found at end of line
(#113) Whitespace found at end of line
(#114) 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
(#117) Variable "filter_button_text" must not contain underscores.
(#120) Variable "filter_button_text" must not contain underscores.
(#124) Variable "filter_button_text" must not contain underscores.
(#128) Variable "filter_button_text" must not contain underscores.
(#129) Whitespace found at end of line
(#130) Variable "empty_preferences" must not contain underscores.
(#131) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#132) Variable "empty_preferences" must not contain underscores.
(#135) IF keyword must be lowercase; expected "if" but found "If"
(#135) Expected 1 space before "=="; 0 found
(#135) Expected 1 space after "=="; 0 found
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) Line indented incorrectly; expected 12 spaces, found 16
(#138) Variable "empty_preferences" must not contain underscores.
(#139) Line indented incorrectly; expected 12 spaces, found 16
(#139) Whitespace found at end of line
(#141) Whitespace found at end of line
(#142) Variable "different_ratings" must not contain underscores.
(#143) Whitespace found at end of line
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Variable "empty_preferences" must not contain underscores.
(#151) Variable "different_ratings" must not contain underscores.
(#154) Whitespace found at end of line
(#156) Variable "choicesWithAllocations" must be all lower-case
(#161) Whitespace found at end of line
(#162) Variable "rating_titles" must not contain underscores.
(#162) Variable "different_ratings" must not contain underscores.
(#163) Whitespace found at end of line
(#166) Variable "rating_titles" must not contain underscores.
(#166) Expected 1 space before "?"; 0 found
(#166) Expected 1 space after "?"; 0 found
(#166) Commas (,) must be followed by white space.
(#166) Variable "rating_titles" must not contain underscores.
(#166) Expected 1 space before ":"; 0 found
(#166) Expected 1 space after ":"; 0 found
(#167) Variable "choicesWithAllocations" must be all lower-case
(#168) Variable "choicesWithAllocations" must be all lower-case
(#168) Variable "choicesWithAllocations" must be all lower-case
(#168) Variable "choicesWithAllocations" must be all lower-case
(#168) Line exceeds maximum limit of 180 characters; contains 191 characters
(#171) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#172) Whitespace found at end of line
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Whitespace found at end of line
(#176) Inline comments must start with a capital letter, digit or 3-dots sequence
(#180) Expected "if (...) {\n"; found "if (...){\n"
(#184) Whitespace found at end of line
(#191) Whitespace found at end of line
mod/ratingallocate/form_modify_choice.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/ratingallocate/grade.php
(#26) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#29) Line exceeds 132 characters; contains 140 characters
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
mod/ratingallocate/index.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Line exceeds 132 characters; contains 133 characters
mod/ratingallocate/lang/en/ratingallocate.php
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) 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
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) 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
(#66) Whitespace found at end of line within string
(#81) Expected 1 space before "="; 0 found
(#81) Expected 1 space after "="; 0 found
(#82) Expected 1 space before "="; 0 found
(#82) Expected 1 space after "="; 0 found
(#148) Inline comments must start with a capital letter, digit or 3-dots sequence
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#168) Inline comments must start with a capital letter, digit or 3-dots sequence
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) Inline comments must start with a capital letter, digit or 3-dots sequence
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#208) Inline comments must start with a capital letter, digit or 3-dots sequence
(#208) Inline comments must end in full-stops, exclamation marks, or question marks
(#229) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) Inline comments must end in full-stops, exclamation marks, or question marks
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) Inline comments must end in full-stops, exclamation marks, or question marks
(#264) Inline comments must end in full-stops, exclamation marks, or question marks
(#269) Inline comments must end in full-stops, exclamation marks, or question marks
(#271) Expected 1 space after "="; 2 found
(#274) Expected 1 space after "="; 2 found
(#277) Expected 1 space after "="; 2 found
(#280) Expected 1 space after "="; 2 found
(#283) Expected 1 space after "="; 2 found
(#286) Expected 1 space after "="; 2 found
(#289) Expected 1 space after "="; 2 found
(#292) Expected 1 space after "="; 2 found
mod/ratingallocate/lib.php
(#37) Constants must be uppercase; expected 'RATINGALLOCATE_MOD_NAME' but found 'ratingallocate_MOD_NAME'
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) This comment is 67% valid code; is this commented out code?
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Spaces must be used for alignment; tabs are not allowed
(#61) Line indented incorrectly; expected 8 spaces, found 9
(#63) Line indented incorrectly; expected 8 spaces, found 9
(#79) Spaces must be used for alignment; tabs are not allowed
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Spaces must be used for alignment; tabs are not allowed
(#115) This comment is 43% valid code; is this commented out code?
(#124) Inline comments must start with a capital letter, digit or 3-dots sequence
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) Spaces must be used for alignment; tabs are not allowed
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#205) Whitespace found at end of line
(#228) Inline comments must start with a capital letter, digit or 3-dots sequence
(#230) Inline comments must end in full-stops, exclamation marks, or question marks
(#275) Spaces must be used for alignment; tabs are not allowed
(#277) Spaces must be used for alignment; tabs are not allowed
(#279) Spaces must be used for alignment; tabs are not allowed
(#281) Spaces must be used for alignment; tabs are not allowed
(#283) Spaces must be used for alignment; tabs are not allowed
(#285) Spaces must be used for alignment; tabs are not allowed
(#287) Spaces must be used for alignment; tabs are not allowed
(#301) Inline comments must start with a capital letter, digit or 3-dots sequence
(#303) Inline comments must end in full-stops, exclamation marks, or question marks
(#311) Spaces must be used for alignment; tabs are not allowed
(#327) Spaces must be used for alignment; tabs are not allowed
(#329) Spaces must be used for alignment; tabs are not allowed
mod/ratingallocate/locallib.php
(#246) This comment is 43% valid code; is this commented out code?
(#770) Inline comments must start with a capital letter, digit or 3-dots sequence
(#770) Inline comments must end in full-stops, exclamation marks, or question marks
(#770) This comment is 46% valid code; is this commented out code?
(#774) Inline comments must start with a capital letter, digit or 3-dots sequence
(#774) Inline comments must end in full-stops, exclamation marks, or question marks
(#774) This comment is 58% valid code; is this commented out code?
(#823) The use of the AS keyword to alias tables is bad for cross-db
(#1141) Expected 1 space after "!="; newline found
(#1185) This comment is 49% valid code; is this commented out code?
(#1186) Line indented incorrectly; expected at least 12 spaces, found 0
(#1186) Expected 1 space before comment text but found 12; use block comment if you need indentation
(#1187) Line indented incorrectly; expected at least 12 spaces, found 0
(#1187) Expected 1 space before comment text but found 16; use block comment if you need indentation
(#1188) Inline comments must end in full-stops, exclamation marks, or question marks
(#1188) Line indented incorrectly; expected at least 12 spaces, found 0
(#1188) Expected 1 space before comment text but found 12; use block comment if you need indentation
(#1427) "require_once" must be immediately followed by an open parenthesis
mod/ratingallocate/mod_form.php
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) No space found before comment text; expected "// TODO: Ensure backward-compatibility after deprecated method in Moodle 2.9 caused by MDL-49101" but found "//TODO: Ensure backward-compatibility after deprecated method in Moodle 2.9 caused by MDL-49101"
(#87) Expected "if (...) {\n"; found "if (...){\n"
(#127) This comment is 50% valid code; is this commented out code?
(#155) Whitespace found at end of line
(#199) This comment is 50% valid code; is this commented out code?
mod/ratingallocate/renderable.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#32) Expected 1 space(s) before asterisk; 0 found
(#55) Member variable "is_published" must not contain underscores.
(#57) Member variable "available_choices" must not contain underscores.
(#58) Member variable "own_choices" must not contain underscores.
(#62) Member variable "show_distribution_info" must not contain underscores.
(#64) Member variable "show_user_info" must not contain underscores.
mod/ratingallocate/renderer.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#72) This comment is 43% valid code; is this commented out code?
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Line indented incorrectly; expected 12 spaces, found 16
(#106) Expected "if (...) {\n"; found "if(...) {\n"
(#120) Closing brace indented incorrectly; expected 16 spaces, found 12
(#125) Line exceeds 132 characters; contains 137 characters
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Line exceeds 132 characters; contains 150 characters
(#139) Inline comments must start with a capital letter, digit or 3-dots sequence
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) No space found before comment text; expected "// print available choices if no choice form is displayed" but found "//print available choices if no choice form is displayed"
(#140) Expected "if (...) {\n"; found "if(...) {\n"
(#141) Line indented incorrectly; expected at least 12 spaces, found 8
(#144) Variable "choices_html" must not contain underscores.
(#146) Variable "choices_html" must not contain underscores.
(#147) Variable "choices_html" must not contain underscores.
(#148) Variable "choices_html" must not contain underscores.
(#151) Variable "choices_html" must not contain underscores.
(#152) Inline comments must start with a capital letter, digit or 3-dots sequence
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#152) This comment is 57% valid code; is this commented out code?
(#152) Line indented incorrectly; expected at least 12 spaces, found 0
(#152) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#160) Inline comments must start with a capital letter, digit or 3-dots sequence
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) No space found before comment text; expected "// print own choices if no choice form is displayed" but found "//print own choices if no choice form is displayed"
(#161) Expected "if (...) {\n"; found "if(...) {\n"
(#165) Variable "choices_html" must not contain underscores.
(#167) Variable "choices_html" must not contain underscores.
(#168) Variable "choices_html" must not contain underscores.
(#168) Line exceeds 132 characters; contains 141 characters
(#169) Variable "choices_html" must not contain underscores.
(#172) Variable "choices_html" must not contain underscores.
(#173) Inline comments must start with a capital letter, digit or 3-dots sequence
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#173) This comment is 57% valid code; is this commented out code?
(#173) Line indented incorrectly; expected at least 12 spaces, found 0
(#173) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#185) Variable "allocation_html" must not contain underscores.
(#187) Variable "allocation_html" must not contain underscores.
(#188) Variable "allocation_html" must not contain underscores.
(#189) Variable "allocation_html" must not contain underscores.
(#191) Variable "allocation_html" must not contain underscores.
(#191) Variable "allocation_html" must not contain underscores.
(#192) Variable "allocation_html" must not contain underscores.
(#200) Inline control structures are not allowed
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) Inline comments must start with a capital letter, digit or 3-dots sequence
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Expected "} else if (...) {\n"; found "}\n // to late to rate\n else if (...) {\n"
(#208) Inline comments must start with a capital letter, digit or 3-dots sequence
(#208) Inline comments must end in full-stops, exclamation marks, or question marks
(#251) Inline comments must end in full-stops, exclamation marks, or question marks
(#282) Inline comments must end in full-stops, exclamation marks, or question marks
(#291) Inline comments must end in full-stops, exclamation marks, or question marks
(#316) Inline comments must end in full-stops, exclamation marks, or question marks
(#348) Inline comments must end in full-stops, exclamation marks, or question marks
(#355) Inline comments must end in full-stops, exclamation marks, or question marks
(#358) This comment is 53% valid code; is this commented out code?
(#362) Line exceeds 132 characters; contains 137 characters
(#447) Line exceeds 132 characters; contains 134 characters
(#499) Inline comments must end in full-stops, exclamation marks, or question marks
(#512) Whitespace found at end of line
(#513) Inline comments must start with a capital letter, digit or 3-dots sequence
(#513) Inline comments must end in full-stops, exclamation marks, or question marks
(#514) Commas (,) must be followed by white space.
(#516) Whitespace found at end of line
(#517) Inline comments must end in full-stops, exclamation marks, or question marks
(#571) Inline comments must start with a capital letter, digit or 3-dots sequence
(#571) Inline comments must end in full-stops, exclamation marks, or question marks
(#572) Closing brace must be on a line by itself
(#572) Commas (,) must be followed by white space.
(#611) Variable "rateable_choices" must not contain underscores.
(#612) Variable "rateable_choices" must not contain underscores.
(#624) Inline comments must start with a capital letter, digit or 3-dots sequence
(#624) Inline comments must end in full-stops, exclamation marks, or question marks
(#646) Inline comments must end in full-stops, exclamation marks, or question marks
(#651) Inline comments must start with a capital letter, digit or 3-dots sequence
(#651) Inline comments must end in full-stops, exclamation marks, or question marks
(#652) Closing brace must be on a line by itself
(#652) Commas (,) must be followed by white space.
(#663) Variable "rateable_choices" must not contain underscores.
(#677) Expected 1 space after closing parenthesis; found 0
(#679) Variable "unique_ratings" must not contain underscores.
(#680) Variable "unique_ratings" must not contain underscores.
(#681) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#682) Expected 1 space before ":"; 0 found
(#682) Line exceeds 132 characters; contains 159 characters
(#686) Whitespace found at end of line
(#692) Expected 1 space after closing parenthesis; found 0
(#694) Expected 1 space before ":"; 0 found
(#694) Line exceeds 132 characters; contains 147 characters
mod/ratingallocate/settings.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#12) Line exceeds 132 characters; contains 133 characters
mod/ratingallocate/solver/edmonds-karp.php
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) 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
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) 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
(#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
(#88) Inline comments must start with a capital letter, digit or 3-dots sequence
(#88) 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
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) This comment is 43% valid code; is this commented out code?
(#97) 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
(#107) Inline comments must start with a capital letter, digit or 3-dots sequence
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) This comment is 57% valid code; is this commented out code?
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Inline comments must start with a capital letter, digit or 3-dots sequence
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
mod/ratingallocate/solver/export_lp_solve.php
(#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
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) This comment is 43% valid code; is this commented out code?
(#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
(#149) Inline comments must start with a capital letter, digit or 3-dots sequence
(#149) 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
(#172) This comment is 46% valid code; is this commented out code?
(#193) Inline comments must start with a capital letter, digit or 3-dots sequence
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) Inline comments must start with a capital letter, digit or 3-dots sequence
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#202) Inline comments must start with a capital letter, digit or 3-dots sequence
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
(#211) Inline comments must start with a capital letter, digit or 3-dots sequence
(#211) Inline comments must end in full-stops, exclamation marks, or question marks
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#239) Inline comments must start with a capital letter, digit or 3-dots sequence
(#239) Inline comments must end in full-stops, exclamation marks, or question marks
mod/ratingallocate/solver/ford-fulkerson-koegel.php
(#20) Whitespace found at end of line
(#52) 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
(#63) 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
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) 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
(#94) 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
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) 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
mod/ratingallocate/solver/solver-template.php
(#33) Expected MOODLE_INTERNAL check or config.php inclusion
(#61) Whitespace found at end of line
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Line indented incorrectly; expected at least 8 spaces, found 0
(#90) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Line exceeds 132 characters; contains 142 characters
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) This comment is 43% valid code; is this commented out code?
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) Line exceeds 132 characters; contains 146 characters
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Whitespace found at end of line
(#231) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#239) This comment is 43% valid code; is this commented out code?
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#253) This comment is 60% valid code; is this commented out code?
(#254) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) Whitespace found at end of line
(#255) Expected 1 space after "="; 2 found
mod/ratingallocate/strategy/strategy01_yes_no.php
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Expected 1 space after "="; 2 found
(#55) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#65) Whitespace found at end of line
(#66) Expected 1 space after closing parenthesis; found 0
(#69) Whitespace found at end of line
(#70) Expected 1 space after closing parenthesis; found 0
(#72) Whitespace found at end of line
(#78) Expected 1 space after closing parenthesis; found 0
(#81) Must use "self::" for local static member reference
(#82) Must use "self::" for local static member reference
(#85) Whitespace found at end of line
(#86) Protected method name "strategy::getValidationInfo" must be in lower-case letters only
(#86) Expected 1 space after closing parenthesis; found 0
(#87) Commas (,) must be followed by white space.
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) No space found before comment text; expected "// Already specified by parent class" but found "//Already specified by parent class"
(#97) Expected 1 space after closing parenthesis; found 0
(#100) Whitespace found at end of line
(#104) Whitespace found at end of line
mod/ratingallocate/strategy/strategy02_yes_maybe_no.php
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#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
(#56) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#67) Expected 1 space after closing parenthesis; found 0
(#73) Whitespace found at end of line
(#74) Whitespace found at end of line
(#80) Expected 1 space after closing parenthesis; found 0
(#83) Must use "self::" for local static member reference
(#84) Must use "self::" for local static member reference
(#85) Must use "self::" for local static member reference
(#88) Protected method name "strategy::getValidationInfo" must be in lower-case letters only
(#88) Expected 1 space after closing parenthesis; found 0
(#89) Commas (,) must be followed by white space.
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) No space found before comment text; expected "// Already specified by parent class" but found "//Already specified by parent class"
(#99) Expected 1 space after closing parenthesis; found 0
(#102) Whitespace found at end of line
(#106) Whitespace found at end of line
mod/ratingallocate/strategy/strategy03_lickert.php
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Variable "strategy_settings" must not contain underscores.
(#44) Variable "strategy_settings" must not contain underscores.
(#45) Variable "strategy_settings" must not contain underscores.
(#45) Variable "strategy_settings" must not contain underscores.
(#46) Variable "strategy_settings" must not contain underscores.
(#47) Inline control structures are not allowed
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#72) Whitespace found at end of line
(#73) Expected 1 space after closing parenthesis; found 0
(#75) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#111) Whitespace found at end of line
(#112) Protected method name "strategy::getValidationInfo" must be in lower-case letters only
(#112) Expected 1 space after closing parenthesis; found 0
(#113) Commas (,) must be followed by white space.
(#114) Commas (,) must be followed by white space.
(#119) Inline comments must start with a capital letter, digit or 3-dots sequence
(#119) 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
(#123) No space found before comment text; expected "// Already specified by parent class" but found "//Already specified by parent class"
(#125) Expected 1 space after closing parenthesis; found 0
(#128) Whitespace found at end of line
mod/ratingallocate/strategy/strategy04_points.php
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Whitespace found at end of line
(#52) Whitespace found at end of line
(#55) Whitespace found at end of line
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Whitespace found at end of line
(#58) Whitespace found at end of line
(#64) Whitespace found at end of line
(#65) Expected 1 space after closing parenthesis; found 0
(#68) Whitespace found at end of line
(#69) Expected 1 space after closing parenthesis; found 0
(#75) Whitespace found at end of line
(#76) Protected method name "strategy::getValidationInfo" must be in lower-case letters only
(#76) Expected 1 space after closing parenthesis; found 0
(#77) Commas (,) must be followed by white space.
(#78) Commas (,) must be followed by white space.
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Expected 1 space after closing parenthesis; found 0
(#92) Whitespace found at end of line
(#107) Inline comments must start with a capital letter, digit or 3-dots sequence
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Inline comments must start with a capital letter, digit or 3-dots sequence
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Line exceeds 132 characters; contains 158 characters
(#138) Line exceeds 132 characters; contains 146 characters
(#164) Line exceeds 132 characters; contains 153 characters
(#171) Line exceeds 132 characters; contains 156 characters
mod/ratingallocate/strategy/strategy05_order.php
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#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
(#50) Whitespace found at end of line
(#56) Whitespace found at end of line
(#57) Expected 1 space after closing parenthesis; found 0
(#60) Whitespace found at end of line
(#61) Expected 1 space after closing parenthesis; found 0
(#62) Variable "default_count_options" must not contain underscores.
(#64) Variable "default_count_options" must not contain underscores.
(#66) Variable "count_options" must not contain underscores.
(#67) Expected "if (...) {\n"; found "if (...){\n"
(#67) Variable "count_options" must not contain underscores.
(#68) Variable "count_options" must not contain underscores.
(#68) Variable "default_count_options" must not contain underscores.
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Variable "rating_value_counter" must not contain underscores.
(#71) Variable "count_options" must not contain underscores.
(#71) Variable "count_options" must not contain underscores.
(#71) Commas (,) must be followed by white space.
(#71) Variable "rating_value_counter" must not contain underscores.
(#72) Variable "rating_value_counter" must not contain underscores.
(#72) Expected 1 space after "="; 2 found
(#72) Must use "self::" for local static member reference
(#76) Whitespace found at end of line
(#77) Protected method name "strategy::getValidationInfo" must be in lower-case letters only
(#77) Expected 1 space after closing parenthesis; found 0
(#78) Commas (,) must be followed by white space.
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Whitespace found at end of line
(#95) Expected 1 space after closing parenthesis; found 0
(#98) Whitespace found at end of line
(#124) Line exceeds 132 characters; contains 149 characters
(#128) Line exceeds 132 characters; contains 143 characters
(#153) Space found after opening bracket of FOREACH loop
(#153) Space found before closing bracket of FOREACH loop
(#180) Inline comments must start with a capital letter, digit or 3-dots sequence
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Inline comments must start with a capital letter, digit or 3-dots sequence
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
mod/ratingallocate/strategy/strategy06_tickyes.php
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Whitespace found at end of line
(#50) Whitespace found at end of line
(#54) Whitespace found at end of line
(#60) Whitespace found at end of line
(#64) Whitespace found at end of line
(#65) Expected 1 space after closing parenthesis; found 0
(#68) Whitespace found at end of line
(#69) Expected 1 space after closing parenthesis; found 0
(#73) Expected 1 space after closing parenthesis; found 0
(#80) Whitespace found at end of line
(#81) Protected method name "strategy::getValidationInfo" must be in lower-case letters only
(#81) Expected 1 space after closing parenthesis; found 0
(#82) Commas (,) must be followed by white space.
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Expected 1 space after closing parenthesis; found 0
(#101) Whitespace found at end of line
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Inline comments must start with a capital letter, digit or 3-dots sequence
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#132) Line exceeds 132 characters; contains 141 characters
(#144) Line exceeds 132 characters; contains 147 characters
(#166) Line exceeds 132 characters; contains 154 characters
mod/ratingallocate/strategy/strategy_template.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#2) Line 12 of the opening comment must start "//".
(#2) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#18) Inline doc block comments are not allowed; use "// Comment." instead
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) "require_once" must be immediately followed by an open parenthesis
(#41) Whitespace found at end of line
(#42) Variable "strategy_settings" must not contain underscores.
(#42) Expected 1 space after closing parenthesis; found 0
(#43) Variable "strategy_settings" must not contain underscores.
(#45) Whitespace found at end of line
(#51) Expected 1 space after closing parenthesis; found 0
(#52) Line exceeds 132 characters; contains 142 characters
(#57) Whitespace found at end of line
(#63) Expected 1 space after closing parenthesis; found 0
(#76) Whitespace found at end of line
(#106) Commas (,) must be followed by white space.
(#110) Whitespace found at end of line
(#112) Whitespace found at end of line
(#118) Expected 1 space after closing parenthesis; found 0
(#120) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#121) Line indented incorrectly; expected at least 12 spaces, found 11
(#125) Whitespace found at end of line
(#133) Expected 1 space after closing parenthesis; found 0
(#134) Expected 1 space before "?"; 0 found
(#134) Expected 1 space after "?"; 0 found
(#134) Expected 1 space before ":"; 0 found
(#134) Expected 1 space after ":"; 0 found
(#135) Expected 1 space before ":"; 0 found
(#138) Whitespace found at end of line
(#141) Whitespace found at end of line
(#144) Expected 1 space after closing parenthesis; found 0
(#145) Variable "validation_info" must not contain underscores.
(#147) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#147) Variable "validation_info" must not contain underscores.
(#148) Expected "if (...) {\n"; found "if (...){\n"
(#148) Expected 1 space before "==="; 0 found
(#148) Expected 1 space after "==="; 0 found
(#149) Expected "if (...) {\n"; found "if(...) {\n"
(#149) Whitespace found at end of line
(#155) Expected "if (...) {\n"; found "if (...){\n"
(#156) Expected "if (...) {\n"; found "if(...){\n"
(#156) Expected 1 space before "<"; 0 found
(#156) Expected 1 space after "<"; 0 found
(#157) Commas (,) must be followed by white space.
(#161) Expected "if (...) {\n"; found "if (...){\n"
(#162) Expected "if (...) {\n"; found "if(...){\n"
(#162) Expected 1 space before ">"; 0 found
(#162) Expected 1 space after ">"; 0 found
(#163) Commas (,) must be followed by white space.
(#170) Whitespace found at end of line
(#177) Protected method name "strategytemplate::getValidationInfo" must be in lower-case letters only
(#191) Whitespace found at end of line
(#201) Inline comments must start with a capital letter, digit or 3-dots sequence
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) No space found before comment text; expected "// load strategy options" but found "//load strategy options"
(#204) Expected "if (...) {\n"; found "if(...) {\n"
(#209) Expected 1 space before "="; 0 found
(#209) Expected 1 space after "="; 0 found
(#212) Whitespace found at end of line
(#218) Whitespace found at end of line
(#222) Expected 1 space after closing parenthesis; found 0
(#260) Commas (,) must be followed by white space.
(#269) Expected "if (...) {\n"; found "if(...) {\n"
mod/ratingallocate/strategy/strategy_template_options.php
(#102) Inline comments must start with a capital letter, digit or 3-dots sequence
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) This comment is 64% valid code; is this commented out code?
mod/ratingallocate/tests/backup_restore_test.php
(#16) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) No space found before comment text; expected "// TODO: Necessary to ensure backward compatibility" but found "//TODO: Necessary to ensure backward compatibility"
(#98) Inline comments must start with a capital letter, digit or 3-dots sequence
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) No space found before comment text; expected "// work with copies" but found "//work with copies"
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#123) Inline comments must start with a capital letter, digit or 3-dots sequence
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) This comment is 77% valid code; is this commented out code?
(#131) No space found before comment text; expected "// $this->assertCount(count($allocations1), $allocations2);" but found "//$this->assertCount(count($allocations1), $allocations2);"
(#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
(#139) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/ratingallocate/tests/behat/behat_mod_ratingallocate.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) No space found before comment text; expected "// TODO: Ensure backward-compatibility after changed TableNode constructor in Moodle 3.1" but found "//TODO: Ensure backward-compatibility after changed TableNode constructor in Moodle 3.1"
(#298) Class constants must be uppercase; expected MODULENAME but found modulename
mod/ratingallocate/tests/cron_test.php
(#16) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#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
(#43) Expected 1 space after closing parenthesis; found 0
(#52) Expected 1 space after closing parenthesis; found 0
(#61) Expected 1 space after closing parenthesis; found 0
(#70) Expected 1 space after closing parenthesis; found 0
(#79) Expected 1 space after closing parenthesis; found 0
(#84) 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
(#89) Expected 1 space after closing parenthesis; found 0
(#98) Expected 1 space after closing parenthesis; found 0
(#105) Inline comments must start with a capital letter, digit or 3-dots sequence
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Expected 1 space after closing parenthesis; found 0
(#119) Expected 1 space after closing parenthesis; found 0
(#124) Expected 0 spaces before double colon; 1 found
(#131) Expected 1 space after closing parenthesis; found 0
(#136) Expected 0 spaces before double colon; 1 found
(#143) Expected 1 space after closing parenthesis; found 0
(#148) Expected 0 spaces before double colon; 1 found
(#155) Expected 1 space after closing parenthesis; found 0
(#160) Expected 0 spaces before double colon; 1 found
(#167) Expected 1 space after closing parenthesis; found 0
(#172) Expected 0 spaces before double colon; 1 found
(#183) Expected 1 space after closing parenthesis; found 0
(#183) Line exceeds 132 characters; contains 140 characters
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) Line indented incorrectly; expected at least 12 spaces, found 8
(#198) Line indented incorrectly; expected at least 12 spaces, found 8
(#199) Line indented incorrectly; expected at least 12 spaces, found 8
(#200) Line indented incorrectly; expected at least 12 spaces, found 8
(#201) Line indented incorrectly; expected at least 12 spaces, found 8
(#202) Line indented incorrectly; expected 12 spaces, found 8
(#202) Expected "if (...) {\n"; found "if (...){\n"
(#203) Line indented incorrectly; expected at least 16 spaces, found 12
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) Line indented incorrectly; expected at least 16 spaces, found 12
(#205) Line indented incorrectly; expected at least 16 spaces, found 12
(#206) Line indented incorrectly; expected 12 spaces, found 8
(#207) Line indented incorrectly; expected at least 16 spaces, found 12
(#208) Line indented incorrectly; expected 12 spaces, found 8
(#209) Line indented incorrectly; expected at least 12 spaces, found 8
(#210) Line indented incorrectly; expected at least 12 spaces, found 8
(#212) Inline comments must start with a capital letter, digit or 3-dots sequence
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Line indented incorrectly; expected at least 12 spaces, found 8
(#213) Line indented incorrectly; expected at least 12 spaces, found 8
(#214) Line indented incorrectly; expected at least 12 spaces, found 8
(#217) Line indented incorrectly; expected at least 12 spaces, found 8
(#217) Variable "student_1" must not contain underscores.
(#218) Line indented incorrectly; expected at least 12 spaces, found 8
(#218) Variable "student_2" must not contain underscores.
(#219) Line indented incorrectly; expected at least 12 spaces, found 8
(#219) Variable "student_3" must not contain underscores.
(#220) Line indented incorrectly; expected at least 12 spaces, found 8
(#220) Variable "student_4" must not contain underscores.
(#222) Line indented incorrectly; expected at least 12 spaces, found 8
(#223) Line indented incorrectly; expected at least 12 spaces, found 8
(#225) Line indented incorrectly; expected at least 12 spaces, found 8
(#226) Line indented incorrectly; expected at least 12 spaces, found 8
(#228) Inline comments must end in full-stops, exclamation marks, or question marks
(#228) Line indented incorrectly; expected at least 12 spaces, found 8
(#228) No space found before comment text; expected "// Create preferences" but found "//Create preferences"
(#229) Line indented incorrectly; expected at least 12 spaces, found 8
(#229) Variable "prefers_non" must not contain underscores.
(#230) Line indented incorrectly; expected 12 spaces, found 8
(#231) Line indented incorrectly; expected at least 16 spaces, found 12
(#231) Variable "prefers_non" must not contain underscores.
(#234) Line indented incorrectly; expected 12 spaces, found 8
(#235) Line indented incorrectly; expected at least 12 spaces, found 8
(#235) Variable "prefers_first" must not contain underscores.
(#235) Variable "prefers_non" must not contain underscores.
(#235) Commas (,) must be followed by white space.
(#236) Line indented incorrectly; expected at least 12 spaces, found 8
(#236) Variable "prefers_first" must not contain underscores.
(#237) Line indented incorrectly; expected at least 12 spaces, found 8
(#237) Variable "prefers_second" must not contain underscores.
(#237) Expected 1 space after "="; 2 found
(#237) Variable "prefers_non" must not contain underscores.
(#237) Commas (,) must be followed by white space.
(#238) Line indented incorrectly; expected at least 12 spaces, found 8
(#238) Variable "prefers_second" must not contain underscores.
(#240) Inline comments must start with a capital letter, digit or 3-dots sequence
(#240) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) Line indented incorrectly; expected at least 12 spaces, found 8
(#240) No space found before comment text; expected "// assign preferences" but found "//assign preferences"
(#241) Line indented incorrectly; expected at least 12 spaces, found 8
(#241) Variable "student_1" must not contain underscores.
(#241) Variable "prefers_first" must not contain underscores.
(#242) Line indented incorrectly; expected at least 12 spaces, found 8
(#242) Variable "student_2" must not contain underscores.
(#242) Variable "prefers_first" must not contain underscores.
(#243) Line indented incorrectly; expected at least 12 spaces, found 8
(#243) Variable "student_3" must not contain underscores.
(#243) Variable "prefers_second" must not contain underscores.
(#244) Line indented incorrectly; expected at least 12 spaces, found 8
(#244) Variable "student_4" must not contain underscores.
(#244) Variable "prefers_second" must not contain underscores.
(#246) Line indented incorrectly; expected at least 12 spaces, found 8
(#246) Expected 0 spaces before double colon; 1 found
(#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
(#249) Expected 1 space before comment text but found 2; use block comment if you need indentation
mod/ratingallocate/tests/generator/lib.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Inline comments must start with a capital letter, digit or 3-dots sequence
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#262) Inline comments must start with a capital letter, digit or 3-dots sequence
(#263) Inline comments must end in full-stops, exclamation marks, or question marks
(#263) This comment is 55% valid code; is this commented out code?
(#263) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#274) Inline comments must end in full-stops, exclamation marks, or question marks
(#285) Inline comments must start with a capital letter, digit or 3-dots sequence
(#285) Inline comments must end in full-stops, exclamation marks, or question marks
(#289) Inline comments must start with a capital letter, digit or 3-dots sequence
(#289) Inline comments must end in full-stops, exclamation marks, or question marks
(#295) Inline comments must start with a capital letter, digit or 3-dots sequence
(#295) Inline comments must end in full-stops, exclamation marks, or question marks
(#304) Inline control structures are not allowed
(#305) Line exceeds 132 characters; contains 152 characters
(#311) Inline comments must start with a capital letter, digit or 3-dots sequence
(#311) Inline comments must end in full-stops, exclamation marks, or question marks
mod/ratingallocate/tests/locallib_test.php
(#16) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#142) Line exceeds 132 characters; contains 133 characters
mod/ratingallocate/tests/mod_generator_test.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#39) Whitespace found at end of line
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Line indented incorrectly; expected at least 16 spaces, found 8
(#45) Line indented incorrectly; expected at least 16 spaces, found 8
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Line indented incorrectly; expected at least 16 spaces, found 8
(#48) Line indented incorrectly; expected at least 16 spaces, found 8
(#50) Line indented incorrectly; expected at least 16 spaces, found 8
(#51) Line indented incorrectly; expected at least 16 spaces, found 8
(#52) Line indented incorrectly; expected at least 16 spaces, found 8
(#53) Line indented incorrectly; expected at least 16 spaces, found 8
(#54) Line indented incorrectly; expected at least 16 spaces, found 8
(#54) Variable "expected_values_db" must not contain underscores.
(#55) Line indented incorrectly; expected at least 16 spaces, found 12
(#56) Line indented incorrectly; expected at least 16 spaces, found 12
(#57) Line indented incorrectly; expected at least 16 spaces, found 12
(#58) Line indented incorrectly; expected at least 16 spaces, found 12
(#59) Line indented incorrectly; expected at least 16 spaces, found 12
(#60) Line indented incorrectly; expected at least 16 spaces, found 12
(#61) Line indented incorrectly; expected at least 16 spaces, found 12
(#62) Line indented incorrectly; expected at least 16 spaces, found 12
(#63) Line indented incorrectly; expected at least 16 spaces, found 12
(#64) Line indented incorrectly; expected at least 16 spaces, found 12
(#65) Line indented incorrectly; expected at least 16 spaces, found 12
(#66) Line indented incorrectly; expected at least 16 spaces, found 12
(#67) Line indented incorrectly; expected at least 16 spaces, found 12
(#68) Line indented incorrectly; expected at least 16 spaces, found 12
(#69) Line indented incorrectly; expected at least 16 spaces, found 12
(#70) Line indented incorrectly; expected at least 16 spaces, found 12
(#71) Line indented incorrectly; expected at least 16 spaces, found 12
(#74) Variable "expected_values_db" must not contain underscores.
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Variable "choice_ids" must not contain underscores.
(#81) Variable "expected_choices" must not contain underscores.
(#82) Variable "choice_ids" must not contain underscores.
(#84) Variable "choice_ids" must not contain underscores.
(#90) Variable "choice_ids" must not contain underscores.
(#92) Variable "choice_ids" must not contain underscores.
(#99) Variable "expected_choices" must not contain underscores.
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Expected 1 space after "="; 2 found
(#107) Inline comments must start with a capital letter, digit or 3-dots sequence
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
mod/ratingallocate/tests/mod_ratingallocate_processor_test.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
mod/ratingallocate/tests/mod_ratingallocate_solver_test.php
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#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
(#94) Line exceeds 132 characters; contains 144 characters
(#94) This comment is 77% valid code; is this commented out code?
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) This comment is 84% valid code; is this commented out code?
(#98) Inline comments must start with a capital letter, digit or 3-dots sequence
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) This comment is 60% valid code; is this commented out code?
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) This comment is 53% valid code; is this commented out code?
(#105) Line exceeds 132 characters; contains 141 characters
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Inline comments must start with a capital letter, digit or 3-dots sequence
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) This comment is 67% valid code; is this commented out code?
(#194) This comment is 60% valid code; is this commented out code?
(#194) Inline comments must start with a capital letter, digit or 3-dots sequence
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#195) This comment is 54% valid code; is this commented out code?
(#199) Inline comments must start with a capital letter, digit or 3-dots sequence
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#203) Line exceeds 132 characters; contains 152 characters
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#247) Line exceeds 132 characters; contains 152 characters
mod/ratingallocate/tests/mod_ratingallocate_status_test.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/ratingallocate/tests/mod_ratingallocate_strategy_test.php
(#25) Whitespace found at end of line
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Whitespace found at end of line
(#28) Whitespace found at end of line
(#32) Expected 1 space after closing parenthesis; found 0
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) No space found before comment text; expected "// Attribute required" but found "//Attribute required"
(#35) Whitespace found at end of line
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// Attribute minimum error" but found "//Attribute minimum error"
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) No space found before comment text; expected "// No validation error" but found "//No validation error"
(#46) Whitespace found at end of line
(#47) Whitespace found at end of line
(#51) Line indented incorrectly; expected 4 spaces, found 5
(#51) Expected 1 space after closing parenthesis; found 0
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) No space found before comment text; expected "// Attribute required" but found "//Attribute required"
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) No space found before comment text; expected "// Attribute minimum error" but found "//Attribute minimum error"
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) No space found before comment text; expected "// No validation error" but found "//No validation error"
(#64) Closing brace indented incorrectly; expected 5 spaces, found 4
(#65) Whitespace found at end of line
(#66) Whitespace found at end of line
(#70) Line indented incorrectly; expected 4 spaces, found 5
(#70) Expected 1 space after closing parenthesis; found 0
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) No space found before comment text; expected "// Attribute required" but found "//Attribute required"
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) No space found before comment text; expected "// Attribute required" but found "//Attribute required"
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) No space found before comment text; expected "// Attribute minimum error" but found "//Attribute minimum error"
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) No space found before comment text; expected "// Attribute minimum error" but found "//Attribute minimum error"
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) No space found before comment text; expected "// No validation error" but found "//No validation error"
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) No space found before comment text; expected "// No validation error" but found "//No validation error"
(#95) Closing brace indented incorrectly; expected 5 spaces, found 4
(#96) Whitespace found at end of line
(#99) Whitespace found at end of line
(#100) Expected 1 space after closing parenthesis; found 0
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) No space found before comment text; expected "// Attribute required" but found "//Attribute required"
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) No space found before comment text; expected "// Attribute required" but found "//Attribute required"
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) No space found before comment text; expected "// Attribute minimum error" but found "//Attribute minimum error"
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) No space found before comment text; expected "// Attribute minimum error" but found "//Attribute minimum error"
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) No space found before comment text; expected "// No validation error" but found "//No validation error"
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) No space found before comment text; expected "// No validation error" but found "//No validation error"
(#126) Whitespace found at end of line
(#127) Whitespace found at end of line
(#129) Expected 6 space(s) before asterisk; 5 found
(#130) Expected 6 space(s) before asterisk; 5 found
(#131) Expected 1 space after closing parenthesis; found 0
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) No space found before comment text; expected "// Attribute required" but found "//Attribute required"
(#135) Whitespace found at end of line
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) No space found before comment text; expected "// Attribute minimum error" but found "//Attribute minimum error"
(#139) Whitespace found at end of line
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) No space found before comment text; expected "// No validation error" but found "//No validation error"
(#145) Whitespace found at end of line
(#146) Whitespace found at end of line
(#150) Expected 1 space after closing parenthesis; found 0
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) No space found before comment text; expected "// Attribute required" but found "//Attribute required"
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) No space found before comment text; expected "// Attribute minimum error" but found "//Attribute minimum error"
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) No space found before comment text; expected "// No validation error" but found "//No validation error"
(#163) Whitespace found at end of line
(#164) Whitespace found at end of line
mod/ratingallocate/version.php
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
mod/ratingallocate/view.php
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 6 warnings)

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

mod/ratingallocate/yui/src/strategyselect/js/strategyselect.js
(#1) Expected space or tab after '/*' in comment. (spaced-comment)
(#8) Identifier 'mod_ratingallocate' is not in camel case. (camelcase)
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#18) Unexpected space before function parentheses. (space-before-function-paren)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#47) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(0 errors, 1 warnings)

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

mod/ratingallocate/styles.css
(#1) Use of !important

PHPDocs style problems

(446 errors, 6 warnings)

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

mod/ratingallocate/backup/moodle2/backup_ratingallocate_activity_stepslib.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block is not found
(#32) Function backup_ratingallocate_activity_structure_step::define_structure is not documented
(#27) Class backup_ratingallocate_activity_structure_step does not have @copyright tag
(#27) Class backup_ratingallocate_activity_structure_step does not have @license tag
(#27) Package is not specified for class backup_ratingallocate_activity_structure_step. It is also not specified in file-level phpdocs
(#21) Package moodlecore is not valid
mod/ratingallocate/backup/moodle2/backup_ratingallocate_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#27) No one-line description found in phpdocs for class backup_ratingallocate_activity_task
(#48) Phpdocs for function backup_ratingallocate_activity_task::encode_content_links has incomplete parameters list
(#27) Class backup_ratingallocate_activity_task does not have @copyright tag
(#27) Class backup_ratingallocate_activity_task does not have @license tag
(#18) Package moodlecore is not valid
mod/ratingallocate/backup/moodle2/backup_restore_helper.php
(#24) Function get_fields_for_tableClass is not documented
(#35) Function get_tablename_for_tableClass is not documented
(#41) Function get_id_for_tableClass is not documented
(#17) No one-line description found in phpdocs for file
(#18) Package moodlecore is not valid
mod/ratingallocate/backup/moodle2/restore_ratingallocate_activity_stepslib.php
(#17) File-level phpdocs block is not found
(#28) Function restore_ratingallocate_activity_structure_step::define_structure is not documented
(#45) Function restore_ratingallocate_activity_structure_step::process_ratingallocate is not documented
(#66) Function restore_ratingallocate_activity_structure_step::process_ratingallocate_choices is not documented
(#78) Function restore_ratingallocate_activity_structure_step::process_ratingallocate_ratings is not documented
(#90) Function restore_ratingallocate_activity_structure_step::process_ratingallocate_allocations is not documented
(#103) Function restore_ratingallocate_activity_structure_step::after_execute is not documented
(#19) No one-line description found in phpdocs for class restore_ratingallocate_activity_structure_step
(#21) Package moodlecore is not valid
mod/ratingallocate/backup/moodle2/restore_ratingallocate_activity_task.class.php
(#32) Class restore_ratingallocate_activity_task is not documented
(#17) No one-line description found in phpdocs for file
(#19) Package moodlecore is not valid
mod/ratingallocate/classes/algorithm_status.php
(#2) File-level phpdocs block is not found
(#11) Constant algorithm_status::failure is not documented
(#12) Constant algorithm_status::notstarted is not documented
(#13) Constant algorithm_status::running is not documented
(#14) Constant algorithm_status::finished is not documented
mod/ratingallocate/classes/event/allocation_published.php
(#41) Function allocation_published::create_simple is not documented
(#45) Function allocation_published::init is not documented
(#51) Function allocation_published::get_name is not documented
(#55) Function allocation_published::get_description is not documented
(#59) Function allocation_published::get_url is not documented
(#63) Function allocation_published::get_objectid_mapping is not documented
(#67) Function allocation_published::get_other_mapping is not documented
mod/ratingallocate/classes/event/allocation_statistics_viewed.php
(#35) Function allocation_statistics_viewed::create_simple is not documented
(#39) Function allocation_statistics_viewed::init is not documented
(#45) Function allocation_statistics_viewed::get_name is not documented
(#49) Function allocation_statistics_viewed::get_description is not documented
(#53) Function allocation_statistics_viewed::get_url is not documented
(#57) Function allocation_statistics_viewed::get_objectid_mapping is not documented
(#61) Function allocation_statistics_viewed::get_other_mapping is not documented
mod/ratingallocate/classes/event/allocation_table_viewed.php
(#35) Function allocation_table_viewed::create_simple is not documented
(#39) Function allocation_table_viewed::init is not documented
(#45) Function allocation_table_viewed::get_name is not documented
(#49) Function allocation_table_viewed::get_description is not documented
(#53) Function allocation_table_viewed::get_url is not documented
(#57) Function allocation_table_viewed::get_objectid_mapping is not documented
(#61) Function allocation_table_viewed::get_other_mapping is not documented
mod/ratingallocate/classes/event/distribution_triggered.php
(#42) Function distribution_triggered::create_simple is not documented
(#47) Function distribution_triggered::init is not documented
(#53) Function distribution_triggered::get_name is not documented
(#57) Function distribution_triggered::get_description is not documented
(#64) Function distribution_triggered::get_url is not documented
(#68) Function distribution_triggered::get_objectid_mapping is not documented
(#72) Function distribution_triggered::get_other_mapping is not documented
mod/ratingallocate/classes/event/manual_allocation_saved.php
(#41) Function manual_allocation_saved::create_simple is not documented
(#44) Function manual_allocation_saved::init is not documented
(#50) Function manual_allocation_saved::get_name is not documented
(#54) Function manual_allocation_saved::get_description is not documented
(#58) Function manual_allocation_saved::get_url is not documented
(#62) Function manual_allocation_saved::get_objectid_mapping is not documented
(#66) Function manual_allocation_saved::get_other_mapping is not documented
mod/ratingallocate/classes/event/rating_saved.php
(#41) Function rating_saved::create_simple is not documented
(#47) Function rating_saved::init is not documented
(#53) Function rating_saved::get_name is not documented
(#57) Function rating_saved::get_description is not documented
(#61) Function rating_saved::get_url is not documented
(#65) Function rating_saved::get_objectid_mapping is not documented
(#69) Function rating_saved::get_other_mapping is not documented
mod/ratingallocate/classes/event/rating_viewed.php
(#35) Function rating_viewed::create_simple is not documented
(#39) Function rating_viewed::init is not documented
(#45) Function rating_viewed::get_name is not documented
(#49) Function rating_viewed::get_description is not documented
(#53) Function rating_viewed::get_url is not documented
(#57) Function rating_viewed::get_objectid_mapping is not documented
(#61) Function rating_viewed::get_other_mapping is not documented
mod/ratingallocate/classes/event/ratingallocate_viewed.php
(#35) Function ratingallocate_viewed::create_simple is not documented
(#39) Function ratingallocate_viewed::init is not documented
(#45) Function ratingallocate_viewed::get_name is not documented
(#49) Function ratingallocate_viewed::get_description is not documented
(#53) Function ratingallocate_viewed::get_url is not documented
(#57) Function ratingallocate_viewed::get_objectid_mapping is not documented
(#61) Function ratingallocate_viewed::get_other_mapping is not documented
mod/ratingallocate/classes/ratings_and_allocations_table.php
(#29) Class ratings_and_allocations_table is not documented
(#47) Function ratings_and_allocations_table::__construct is not documented
(#144) Function ratings_and_allocations_table::add_user_ratings_row is not documented
(#169) Function ratings_and_allocations_table::add_summary_row is not documented
(#193) Function ratings_and_allocations_table::col_user is not documented
(#203) Function ratings_and_allocations_table::other_cols is not documented
(#33) Variable ratings_and_allocations_table::$choicenames is not documented
(#34) Variable ratings_and_allocations_table::$choicemax is not documented
(#35) Variable ratings_and_allocations_table::$choicesum is not documented
(#37) Variable ratings_and_allocations_table::$ratings is not documented
(#38) Variable ratings_and_allocations_table::$titles is not documented
(#40) Variable ratings_and_allocations_table::$shownames is not documented
(#31) Constant ratings_and_allocations_table::CHOICE_COL is not documented
(#17) No one-line description found in phpdocs for file
mod/ratingallocate/classes/task/cron_task.php
(#29) Class cron_task is not documented
mod/ratingallocate/classes/task/send_distribution_notification.php
(#27) Class send_distribution_notification is not documented
(#30) Function send_distribution_notification::execute is not documented
(#17) No one-line description found in phpdocs for file
mod/ratingallocate/db/db_structure.php
(#26) Class ratingallocate is not documented
(#46) Class ratingallocate_choices is not documented
(#55) Class ratingallocate_ratings is not documented
(#62) Class ratingallocate_allocations is not documented
(#27) Constant ratingallocate::TABLE is not documented
(#28) Constant ratingallocate::ID is not documented
(#29) Constant ratingallocate::COURSE is not documented
(#30) Constant ratingallocate::NAME is not documented
(#31) Constant ratingallocate::INTRO is not documented
(#32) Constant ratingallocate::INTROFORMAT is not documented
(#33) Constant ratingallocate::TIMECREATED is not documented
(#34) Constant ratingallocate::TIMEMODIFIED is not documented
(#35) Constant ratingallocate::ACCESSTIMESTART is not documented
(#36) Constant ratingallocate::ACCESSTIMESTOP is not documented
(#37) Constant ratingallocate::SETTING is not documented
(#38) Constant ratingallocate::STRATEGY is not documented
(#39) Constant ratingallocate::PUBLISHDATE is not documented
(#40) Constant ratingallocate::PUBLISHED is not documented
(#41) Constant ratingallocate::NOTIFICATIONSEND is not documented
(#42) Constant ratingallocate::ALGORITHMSTARTTIME is not documented
(#43) Constant ratingallocate::RUNALGORITHMBYCRON is not documented
(#44) Constant ratingallocate::ALGORITHMSTATUS is not documented
(#47) Constant ratingallocate_choices::TABLE is not documented
(#48) Constant ratingallocate_choices::ID is not documented
(#49) Constant ratingallocate_choices::RATINGALLOCATEID is not documented
(#50) Constant ratingallocate_choices::TITLE is not documented
(#51) Constant ratingallocate_choices::EXPLANATION is not documented
(#52) Constant ratingallocate_choices::MAXSIZE is not documented
(#53) Constant ratingallocate_choices::ACTIVE is not documented
(#56) Constant ratingallocate_ratings::TABLE is not documented
(#57) Constant ratingallocate_ratings::ID is not documented
(#58) Constant ratingallocate_ratings::CHOICEID is not documented
(#59) Constant ratingallocate_ratings::USERID is not documented
(#60) Constant ratingallocate_ratings::RATING is not documented
(#63) Constant ratingallocate_allocations::TABLE is not documented
(#64) Constant ratingallocate_allocations::ID is not documented
(#65) Constant ratingallocate_allocations::USERID is not documented
(#66) Constant ratingallocate_allocations::RATINGALLOCATEID is not documented
(#67) Constant ratingallocate_allocations::CHOICEID is not documented
(#17) No one-line description found in phpdocs for file
mod/ratingallocate/db/install.php
(#17) No one-line description found in phpdocs for file
mod/ratingallocate/db/uninstall.php
(#17) No one-line description found in phpdocs for file
mod/ratingallocate/db/upgrade.php
(#2) Empty line found after PHP open tag
mod/ratingallocate/form_manual_allocation.php
(#87) Function manual_alloc_form::definition_after_data is not documented
(#46) Variable manual_alloc_form::$filter_state is not documented
(#39) Constant manual_alloc_form::FILTER_ALL is not documented
(#40) Constant manual_alloc_form::FILTER_ONLY_RATERS is not documented
(#41) Constant manual_alloc_form::FILTER_STATE is not documented
(#42) Constant manual_alloc_form::FILTER_BUTTON is not documented
(#43) Constant manual_alloc_form::FORM_ACTION is not documented
(#44) Constant manual_alloc_form::EXLPANATION_PLACEHOLDER is not documented
(#45) Constant manual_alloc_form::ASSIGN is not documented
(#31) Class manual_alloc_form does not have @copyright tag
(#31) Class manual_alloc_form does not have @license tag
mod/ratingallocate/form_modify_choice.php
(#106) Function modify_choice_form::add_buttons is not documented
(#42) Variable modify_choice_form::$msgerrorrequired is not documented
(#43) Variable modify_choice_form::$addnew is not documented
(#41) Constant modify_choice_form::FORM_ACTION is not documented
(#131) Phpdocs for function modify_choice_form::validation has incomplete parameters list
(#30) Class modify_choice_form does not have @copyright tag
(#30) Class modify_choice_form does not have @license tag
mod/ratingallocate/lib.php
(#78) Phpdocs for function ratingallocate_add_instance has incomplete parameters list
(#109) Phpdocs for function ratingallocate_update_instance has incomplete parameters list
(#178) Phpdocs for function ratingallocate_print_recent_activity has incomplete parameters list
(#209) Phpdocs for function ratingallocate_print_recent_mod_activity has incomplete parameters list
(#310) Phpdocs for function ratingallocate_extend_navigation has incomplete parameters list
(#27) Not recommended phpdocs tag @abstract used
(#221) Not recommended phpdocs tag @example used
(#210) Invalid inline phpdocs tag @see found
mod/ratingallocate/locallib.php
(#125) Function ratingallocate_db_wrapper::__construct is not documented
(#175) Function ratingallocate::__construct is not documented
(#226) Function ratingallocate::process_action_give_rating is not documented
(#273) Function ratingallocate::process_action_show_choices is not documented
(#290) Function ratingallocate::process_action_edit_choice is not documented
(#398) Function ratingallocate::process_action_manual_allocation is not documented
(#432) Function ratingallocate::process_action_show_alloc_table is not documented
(#464) Function ratingallocate::process_action_show_statistics is not documented
(#486) Function ratingallocate::process_publish_allocations is not documented
(#522) Function ratingallocate::process_action_allocation_to_grouping is not documented
(#598) Function ratingallocate::process_default is not documented
(#821) Function ratingallocate::get_choices_with_allocationcount is not documented
(#1166) Function ratingallocate::save_modify_choice_form is not documented
(#1397) Function ratingallocate_choice::__construct is not documented
(#165) Constant ratingallocate::NOTIFY_SUCCESS is not documented
(#187) There is no description in phpdocs for function process_action_start_distribution
(#840) There is no description in phpdocs for function get_allocations
(#953) Phpdocs for function ratingallocate::make_mail_html has incomplete parameters list
(#1096) Phpdocs for function ratingallocate::get_allocations_for_user has incomplete parameters list
(#1391) Phpdocs for function ratingallocate_choice::__set has incomplete parameters list
(#1407) Phpdocs for function groups_delete_group_members_by_group has incomplete parameters list
(#50) Class strategymanager does not have @copyright tag
(#90) Class ratingallocate_db_wrapper does not have @copyright tag
(#131) Class ratingallocate does not have @copyright tag
(#1366) Class ratingallocate_choice does not have @copyright tag
(#50) Class strategymanager does not have @license tag
(#90) Class ratingallocate_db_wrapper does not have @license tag
(#131) Class ratingallocate does not have @license tag
(#1366) Class ratingallocate_choice does not have @license tag
(#1117) Not recommended phpdocs tag @global used
mod/ratingallocate/mod_form.php
(#183) Function mod_ratingallocate_mod_form::definition_after_data is not documented
(#41) Variable mod_ratingallocate_mod_form::$newchoicecounter is not documented
(#42) Variable mod_ratingallocate_mod_form::$msgerrorrequired is not documented
(#37) Constant mod_ratingallocate_mod_form::MOD_NAME is not documented
(#38) Constant mod_ratingallocate_mod_form::CHOICE_PLACEHOLDER_IDENTIFIER is not documented
(#39) Constant mod_ratingallocate_mod_form::STRATEGY_OPTIONS is not documented
(#40) Constant mod_ratingallocate_mod_form::STRATEGY_OPTIONS_PLACEHOLDER is not documented
(#44) Phpdocs for function mod_ratingallocate_mod_form::__construct has incomplete parameters list
(#154) Phpdocs for function mod_ratingallocate_mod_form::add_settings_field has incomplete parameters list
(#226) Phpdocs for function mod_ratingallocate_mod_form::validation has incomplete parameters list
(#257) Phpdocs for function mod_ratingallocate_mod_form::get_settingsfield_identifier has incomplete parameters list
(#33) Class mod_ratingallocate_mod_form does not have @copyright tag
(#33) Class mod_ratingallocate_mod_form does not have @license tag
mod/ratingallocate/renderable.php
(#51) Class ratingallocate_choice_status is not documented
(#43) Function ratingallocate_header::__construct is not documented
(#53) Variable ratingallocate_choice_status::$accesstimestop is not documented
(#54) Variable ratingallocate_choice_status::$accesstimestart is not documented
(#55) Variable ratingallocate_choice_status::$is_published is not documented
(#56) Variable ratingallocate_choice_status::$publishdate is not documented
(#57) Variable ratingallocate_choice_status::$available_choices is not documented
(#58) Variable ratingallocate_choice_status::$own_choices is not documented
(#59) Variable ratingallocate_choice_status::$allocations is not documented
(#60) Variable ratingallocate_choice_status::$strategy is not documented
(#65) Variable ratingallocate_choice_status::$algorithmstarttime is not documented
(#66) Variable ratingallocate_choice_status::$algorithmstatus is not documented
(#29) Class ratingallocate_header does not have @copyright tag
(#29) Class ratingallocate_header does not have @license tag
mod/ratingallocate/renderer.php
(#17) File-level phpdocs block is not found
(#30) Class mod_ratingallocate_renderer is not documented
(#71) Function mod_ratingallocate_renderer::render_ratingallocate_strategyform is not documented
(#220) Function mod_ratingallocate_renderer::format_text is not documented
(#233) Phpdocs for function mod_ratingallocate_renderer::add_notification has incomplete parameters list
(#240) Phpdocs for function mod_ratingallocate_renderer::modify_choices_group has incomplete parameters list
(#268) Phpdocs for function mod_ratingallocate_renderer::modify_allocation_group has incomplete parameters list
(#307) Phpdocs for function mod_ratingallocate_renderer::publish_allocation_group has incomplete parameters list
(#337) Phpdocs for function mod_ratingallocate_renderer::reports_group has incomplete parameters list
(#370) Phpdocs for function mod_ratingallocate_renderer::ratingallocate_show_choices_table has incomplete parameters list
(#455) Phpdocs for function mod_ratingallocate_renderer::format_icon_link has incomplete parameters list
(#472) Phpdocs for function mod_ratingallocate_renderer::render_header has incomplete parameters list
(#493) Phpdocs for function mod_ratingallocate_renderer::distribution_table_for_ratingallocate has incomplete parameters list
(#563) Phpdocs for function mod_ratingallocate_renderer::ratings_table_for_ratingallocate has incomplete parameters list
(#592) Phpdocs for function mod_ratingallocate_renderer::ratings_csv_for_ratingallocate has incomplete parameters list
(#674) Phpdocs for function mod_ratingallocate_renderer::get_options_titles has incomplete parameters list
(#689) Phpdocs for function mod_ratingallocate_renderer::get_option_title has incomplete parameters list
(#697) Phpdocs for function mod_ratingallocate_renderer::format_user_data has incomplete parameters list
(#30) Package is not specified for class mod_ratingallocate_renderer. It is also not specified in file-level phpdocs
(#20) Package mod is not valid
mod/ratingallocate/solver/edmonds-karp.php
(#31) Class solver_edmonds_karp is not documented
(#33) Function solver_edmonds_karp::get_name is not documented
(#37) Function solver_edmonds_karp::compute_distribution is not documented
(#68) Phpdocs for function solver_edmonds_karp::find_shortest_path_bellf has incomplete parameters list
mod/ratingallocate/solver/export_lp_solve.php
(#70) Phpdocs for function lp_export_write::__construct has incomplete parameters list
(#131) Phpdocs for function lp_export_write::set_filename has incomplete parameters list
mod/ratingallocate/solver/ford-fulkerson-koegel.php
(#33) Class solver_ford_fulkerson is not documented
(#154) Function solver_ford_fulkerson::get_name is not documented
(#35) Phpdocs for function solver_ford_fulkerson::compute_distribution has incomplete parameters list
(#82) Phpdocs for function solver_ford_fulkerson::find_shortest_path_bellmanf_koegel has incomplete parameters list
mod/ratingallocate/solver/solver-template.php
(#43) Function edge::__construct is not documented
(#118) Phpdocs for function distributor::extract_allocation has incomplete parameters list
(#140) Phpdocs for function distributor::setup_id_conversions has incomplete parameters list
(#178) Phpdocs for function distributor::setup_graph has incomplete parameters list
(#224) Phpdocs for function distributor::augment_flow has incomplete parameters list
(#30) Class edge does not have @copyright tag
(#52) Class distributor does not have @copyright tag
(#30) Class edge does not have @license tag
(#52) Class distributor does not have @license tag
mod/ratingallocate/strategy/strategy01_yes_no.php
(#37) Class strategy is not documented
(#94) Class mod_ratingallocate_view_form is not documented
(#42) Function strategy::get_strategyid is not documented
(#46) Function strategy::get_static_settingfields is not documented
(#66) Function strategy::get_dynamic_settingfields is not documented
(#70) Function strategy::get_choiceoptions is not documented
(#78) Function strategy::get_default_settings is not documented
(#86) Function strategy::getValidationInfo is not documented
(#97) Function mod_ratingallocate_view_form::construct_strategy is not documented
(#101) Function mod_ratingallocate_view_form::get_choiceoptions is not documented
(#105) Function mod_ratingallocate_view_form::get_max_amount_of_nos is not documented
(#109) Function mod_ratingallocate_view_form::get_max_nos_string_identyfier is not documented
(#39) Constant strategy::STRATEGYID is not documented
(#40) Constant strategy::MAXCROSSOUT is not documented
mod/ratingallocate/strategy/strategy02_yes_maybe_no.php
(#38) Class strategy is not documented
(#96) Class mod_ratingallocate_view_form is not documented
(#43) Function strategy::get_strategyid is not documented
(#47) Function strategy::get_static_settingfields is not documented
(#67) Function strategy::get_dynamic_settingfields is not documented
(#71) Function strategy::get_choiceoptions is not documented
(#80) Function strategy::get_default_settings is not documented
(#88) Function strategy::getValidationInfo is not documented
(#99) Function mod_ratingallocate_view_form::construct_strategy is not documented
(#103) Function mod_ratingallocate_view_form::get_choiceoptions is not documented
(#107) Function mod_ratingallocate_view_form::get_max_amount_of_nos is not documented
(#111) Function mod_ratingallocate_view_form::get_max_nos_string_identyfier is not documented
(#40) Constant strategy::STRATEGYID is not documented
(#41) Constant strategy::MAXNO is not documented
mod/ratingallocate/strategy/strategy03_lickert.php
(#36) Class strategy is not documented
(#122) Class mod_ratingallocate_view_form is not documented
(#43) Function strategy::__construct is not documented
(#51) Function strategy::get_strategyid is not documented
(#55) Function strategy::get_static_settingfields is not documented
(#73) Function strategy::get_dynamic_settingfields is not documented
(#86) Function strategy::get_choiceoptions is not documented
(#95) Function strategy::get_default_settings is not documented
(#112) Function strategy::getValidationInfo is not documented
(#125) Function mod_ratingallocate_view_form::construct_strategy is not documented
(#129) Function mod_ratingallocate_view_form::get_choiceoptions is not documented
(#134) Function mod_ratingallocate_view_form::get_max_amount_of_nos is not documented
(#138) Function mod_ratingallocate_view_form::get_max_nos_string_identyfier is not documented
(#41) Variable strategy::$maxlickert is not documented
(#38) Constant strategy::STRATEGYID is not documented
(#39) Constant strategy::MAXNO is not documented
(#40) Constant strategy::COUNTLICKERT is not documented
mod/ratingallocate/strategy/strategy04_points.php
(#37) Class strategy is not documented
(#87) Class mod_ratingallocate_view_form is not documented
(#44) Function strategy::get_strategyid is not documented
(#48) Function strategy::get_static_settingfields is not documented
(#65) Function strategy::get_dynamic_settingfields is not documented
(#69) Function strategy::get_default_settings is not documented
(#76) Function strategy::getValidationInfo is not documented
(#89) Function mod_ratingallocate_view_form::construct_strategy is not documented
(#93) Function mod_ratingallocate_view_form::definition is not documented
(#135) Function mod_ratingallocate_view_form::describe_strategy is not documented
(#142) Function mod_ratingallocate_view_form::validation is not documented
(#39) Constant strategy::STRATEGYID is not documented
(#40) Constant strategy::MAXZERO is not documented
(#41) Constant strategy::TOTALPOINTS is not documented
mod/ratingallocate/strategy/strategy05_order.php
(#36) Class strategy is not documented
(#42) Function strategy::get_strategyid is not documented
(#46) Function strategy::get_static_settingfields is not documented
(#57) Function strategy::get_dynamic_settingfields is not documented
(#61) Function strategy::get_default_settings is not documented
(#77) Function strategy::getValidationInfo is not documented
(#95) Function mod_ratingallocate_view_form::construct_strategy is not documented
(#99) Function mod_ratingallocate_view_form::definition is not documented
(#160) Function mod_ratingallocate_view_form::describe_strategy is not documented
(#190) Function mod_ratingallocate_view_form::validation is not documented
(#38) Constant strategy::STRATEGYID is not documented
(#39) Constant strategy::COUNTOPTIONS is not documented
(#87) No one-line description found in phpdocs for class mod_ratingallocate_view_form
(#143) Phpdocs for function mod_ratingallocate_view_form::fill_select has incomplete parameters list
(#87) Class mod_ratingallocate_view_form does not have @copyright tag
(#87) Class mod_ratingallocate_view_form does not have @license tag
mod/ratingallocate/strategy/strategy06_tickyes.php
(#37) Class strategy is not documented
(#43) Function strategy::get_strategyid is not documented
(#47) Function strategy::get_static_settingfields is not documented
(#65) Function strategy::get_dynamic_settingfields is not documented
(#69) Function strategy::get_accept_label is not documented
(#73) Function strategy::get_default_settings is not documented
(#81) Function strategy::getValidationInfo is not documented
(#98) Function mod_ratingallocate_view_form::construct_strategy is not documented
(#102) Function mod_ratingallocate_view_form::definition is not documented
(#143) Function mod_ratingallocate_view_form::describe_strategy is not documented
(#147) Function mod_ratingallocate_view_form::validation is not documented
(#39) Constant strategy::STRATEGYID is not documented
(#40) Constant strategy::MINTICKYES is not documented
(#41) Constant strategy::ACCEPT_LABEL is not documented
(#90) No one-line description found in phpdocs for class mod_ratingallocate_view_form
(#90) Class mod_ratingallocate_view_form does not have @copyright tag
(#90) Class mod_ratingallocate_view_form does not have @license tag
mod/ratingallocate/strategy/strategy_template.php
(#2) File-level phpdocs block is not found
(#42) Function strategytemplate::__construct is not documented
(#109) Function strategytemplate::get_strategyid is not documented
(#243) Function ratingallocate_strategyform::get_strategy_description_header is not documented
(#259) Function ratingallocate_strategyform::get_strategyname is not documented
(#40) Variable strategytemplate::$_strategy_settings is not documented
(#190) Variable ratingallocate_strategyform::$strategyoptions is not documented
(#192) Variable ratingallocate_strategyform::$strategy is not documented
(#171) There is no description in phpdocs for function getValidationInfo
(#194) There is no description in phpdocs for function __construct
(#219) There is no description in phpdocs for function get_strategy
(#48) Phpdocs for function strategytemplate::get_settings_value has incomplete parameters list
(#60) Phpdocs for function strategytemplate::get_settings_default_value has incomplete parameters list
(#130) Phpdocs for function strategytemplate::translate_rating_to_titles has incomplete parameters list
(#213) Phpdocs for function ratingallocate_strategyform::construct_strategy has incomplete parameters list
(#37) Invalid phpdocs tag @const used
(#266) Invalid phpdocs tag @returns used
(#30) Package is not specified for class strategytemplate. It is also not specified in file-level phpdocs
(#181) Package is not specified for class ratingallocate_strategyform. It is also not specified in file-level phpdocs
mod/ratingallocate/strategy/strategy_template_options.php
(#33) Class strategytemplate_options is not documented
(#106) Function ratingallocate_options_strategyform::describe_strategy is not documented
(#110) Function ratingallocate_options_strategyform::validation is not documented
(#138) Function ratingallocate_options_strategyform::get_choiceoptions is not documented
(#140) Function ratingallocate_options_strategyform::get_max_amount_of_nos is not documented
(#142) Function ratingallocate_options_strategyform::get_max_nos_string_identyfier is not documented
(#42) No one-line description found in phpdocs for class ratingallocate_options_strategyform
(#42) Class ratingallocate_options_strategyform does not have @copyright tag
(#42) Class ratingallocate_options_strategyform does not have @license tag
mod/ratingallocate/tests/backup_restore_test.php
(#16) File-level phpdocs block is not found
(#36) Class backup_restore_test is not documented
(#31) Invalid phpdocs tag @group used
(#36) Package is not specified for class backup_restore_test. It is also not specified in file-level phpdocs
mod/ratingallocate/tests/behat/behat_mod_ratingallocate.php
(#2) Empty line found after PHP open tag
(#16) Class behat_mod_ratingallocate is not documented
(#296) Class bht_ratingallocate is not documented
(#298) Constant bht_ratingallocate::modulename is not documented
(#226) There is no description in phpdocs for function the_choice_should_have_explanation_equal
(#244) There is no description in phpdocs for function the_choice_should_have_maxsize_equal
(#3) File-level phpdocs block does not have @license tag
mod/ratingallocate/tests/cron_test.php
(#16) File-level phpdocs block is not found
(#36) Variable cron_test::$teacher is not documented
(#37) Variable cron_test::$mod is not documented
(#178) Phpdocs for function cron_test::create_ratingallocate has incomplete parameters list
(#30) Invalid phpdocs tag @group used
mod/ratingallocate/tests/generator/lib.php
(#17) File-level phpdocs block is not found
(#32) Class mod_ratingallocate_generator is not documented
(#196) Class mod_ratingallocate_generated_module is not documented
(#34) Function mod_ratingallocate_generator::create_instance is not documented
(#73) Function mod_ratingallocate_generator::get_default_values is not documented
(#88) Function mod_ratingallocate_generator::get_default_choice_data is not documented
(#177) Function mod_ratingallocate_generator::get_open_ratingallocate_for_teacher is not documented
(#181) Function mod_ratingallocate_generator::get_closed_ratingallocate_for_teacher is not documented
(#185) Function mod_ratingallocate_generator::get_ratingallocate_for_teacher_open_in is not documented
(#86) Variable mod_ratingallocate_generator::$defaultvalue is not documented
(#104) Variable mod_ratingallocate_generator::$defaultchoicedata is not documented
(#133) Variable mod_ratingallocate_generator::$teacherrole is not documented
(#197) Variable mod_ratingallocate_generated_module::$moddb is not documented
(#198) Variable mod_ratingallocate_generated_module::$teacher is not documented
(#199) Variable mod_ratingallocate_generated_module::$students is not documented
(#200) Variable mod_ratingallocate_generated_module::$course is not documented
(#201) Variable mod_ratingallocate_generated_module::$ratings is not documented
(#202) Variable mod_ratingallocate_generated_module::$choices is not documented
(#203) Variable mod_ratingallocate_generated_module::$allocations is not documented
(#49) Phpdocs for function mod_ratingallocate_generator::create_instance_with_choices has incomplete parameters list
(#32) Package is not specified for class mod_ratingallocate_generator. It is also not specified in file-level phpdocs
(#196) Package is not specified for class mod_ratingallocate_generated_module. It is also not specified in file-level phpdocs
mod/ratingallocate/tests/locallib_test.php
(#16) File-level phpdocs block is not found
(#129) Function locallib_test::filter_allocations_by_choice is not documented
(#27) Invalid phpdocs tag @group used
mod/ratingallocate/tests/mod_generator_test.php
(#17) File-level phpdocs block is not found
(#25) Invalid phpdocs tag @group used
mod/ratingallocate/tests/mod_ratingallocate_processor_test.php
(#17) File-level phpdocs block is not found
(#92) Phpdocs for function mod_ratingallocate_processor_testcase::test_modify_allocation has incomplete parameters list
(#128) Phpdocs for function mod_ratingallocate_processor_testcase::prepare_manual_alloc_form has incomplete parameters list
(#22) Invalid phpdocs tag @group used
mod/ratingallocate/tests/mod_ratingallocate_solver_test.php
(#34) Class edmonds_karp_test is not documented
(#36) Function edmonds_karp_test::perform_race is not documented
(#90) Function edmonds_karp_test::teston_random is not documented
(#22) Invalid phpdocs tag @group used
(#20) Package mod is not valid
mod/ratingallocate/tests/mod_ratingallocate_status_test.php
(#17) File-level phpdocs block is not found
(#36) There is no description in phpdocs for function ratingallocate_provider
(#68) Phpdocs for function mod_ratingallocate_status_testcase::test_get_status has incomplete parameters list
(#24) Invalid phpdocs tag @group used
mod/ratingallocate/tests/mod_ratingallocate_strategy_test.php
(#17) File-level phpdocs block is not found
(#22) Invalid phpdocs tag @group used

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]