Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(624 errors, 89 warnings)

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

mod/bacs/classes/contest.php
(#475) Functions must not contain multiple empty lines in a row; found 2 empty lines
mod/bacs/classes/cron_lib.php
(#27) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#572) Inline comments must end in full-stops, exclamation marks, or question marks
(#572) 3 slashes comments are not allowed; use "// Comment." instead
(#580) Whitespace found at end of line within string
(#598) Inline comments must end in full-stops, exclamation marks, or question marks
(#600) Inline control structures are not allowed
(#601) Whitespace found at end of line
(#622) Inline comments must start with a capital letter, digit or 3-dots sequence
(#623) Inline comments must end in full-stops, exclamation marks, or question marks
(#634) Inline comments must end in full-stops, exclamation marks, or question marks
(#661) Inline comments must end in full-stops, exclamation marks, or question marks
(#666) Inline comments must end in full-stops, exclamation marks, or question marks
(#670) Inline control structures are not allowed
(#681) Whitespace found at end of line
(#682) Inline comments must end in full-stops, exclamation marks, or question marks
(#684) Line exceeds 132 characters; contains 145 characters
(#685) Whitespace found at end of line
(#686) Inline comments must end in full-stops, exclamation marks, or question marks
(#695) Inline control structures are not allowed
(#705) Inline comments must start with a capital letter, digit or 3-dots sequence
(#705) Inline comments must end in full-stops, exclamation marks, or question marks
(#705) This comment is 70% valid code; is this commented out code?
(#705) No space found before comment text; expected "// if ($verbose) print "<p>KS DEBUG l=$l r=$r submitvalue=$submitvalue timedelta=$timedelta ks=$ks </p>";" but found "//if ($verbose) print "<p>KS DEBUG l=$l r=$r submitvalue=$submitvalue timedelta=$timedelta ks=$ks </p>";"
(#708) Inline comments must end in full-stops, exclamation marks, or question marks
(#709) Inline control structures are not allowed
(#710) Whitespace found at end of line
(#714) Inline comments must end in full-stops, exclamation marks, or question marks
(#716) Inline control structures are not allowed
(#723) Inline control structures are not allowed
(#732) Inline comments must end in full-stops, exclamation marks, or question marks
(#735) Whitespace found at end of line
(#759) Inline comments must end in full-stops, exclamation marks, or question marks
(#764) Inline comments must end in full-stops, exclamation marks, or question marks
(#770) Whitespace found at end of line within string
(#792) Inline comments must end in full-stops, exclamation marks, or question marks
(#793) Closing brace must be on a line by itself
(#794) Whitespace found at end of line
(#795) Inline control structures are not allowed
(#797) Inline comments must end in full-stops, exclamation marks, or question marks
(#799) Inline control structures are not allowed
(#812) Inline comments must end in full-stops, exclamation marks, or question marks
(#814) Inline comments must end in full-stops, exclamation marks, or question marks
(#819) There should be a comma after the last array item in a multi-line array.
(#821) Whitespace found at end of line
(#825) There should be a comma after the last array item in a multi-line array.
(#828) Inline control structures are not allowed
(#828) Line exceeds 132 characters; contains 153 characters
(#831) Inline comments must end in full-stops, exclamation marks, or question marks
(#836) Whitespace found at end of line
(#837) Inline comments must start with a capital letter, digit or 3-dots sequence
(#837) Inline comments must end in full-stops, exclamation marks, or question marks
(#846) There should be a comma after the last array item in a multi-line array.
(#853) Line exceeds 132 characters; contains 139 characters
(#859) Inline comments must end in full-stops, exclamation marks, or question marks
(#861) Inline control structures are not allowed
(#867) Inline control structures are not allowed
(#893) Whitespace found at end of line
mod/bacs/classes/output/contest_nav_menu.php
(#571) Line exceeds 132 characters; contains 147 characters
(#572) Line exceeds maximum limit of 180 characters; contains 382 characters
(#575) Whitespace found at end of line
mod/bacs/classes/output/results_submit.php
(#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
mod/bacs/cli/cron_send.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/bacs/contest_not_started.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#46) Whitespace found at end of line within string
(#47) Whitespace found at end of line within string
(#51) Whitespace found at end of line within string
(#52) Whitespace found at end of line within string
(#56) Whitespace found at end of line within string
(#57) Whitespace found at end of line within string
(#58) Whitespace found at end of line within string
(#59) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#61) Whitespace found at end of line within string
(#62) Whitespace found at end of line within string
(#63) Whitespace found at end of line within string
(#64) Whitespace found at end of line within string
(#65) Whitespace found at end of line within string
(#66) Whitespace found at end of line within string
(#67) Whitespace found at end of line within string
(#68) Whitespace found at end of line within string
(#69) Whitespace found at end of line within string
(#70) Whitespace found at end of line within string
(#71) Whitespace found at end of line within string
(#72) Whitespace found at end of line within string
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#81) Whitespace found at end of line within string
(#82) Whitespace found at end of line within string
(#83) Whitespace found at end of line within string
(#84) Whitespace found at end of line within string
(#85) Whitespace found at end of line within string
(#86) Whitespace found at end of line within string
(#87) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#89) Whitespace found at end of line within string
(#90) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#92) Whitespace found at end of line within string
(#93) Whitespace found at end of line within string
(#94) Whitespace found at end of line within string
(#95) Whitespace found at end of line within string
(#96) Whitespace found at end of line within string
(#97) Whitespace found at end of line within string
(#98) Whitespace found at end of line within string
(#99) Whitespace found at end of line within string
(#100) Whitespace found at end of line within string
(#101) Whitespace found at end of line within string
(#102) Whitespace found at end of line within string
(#103) Whitespace found at end of line within string
(#104) Whitespace found at end of line within string
(#105) Whitespace found at end of line within string
(#106) Whitespace found at end of line within string
(#107) Whitespace found at end of line within string
(#108) Whitespace found at end of line within string
(#109) Whitespace found at end of line within string
mod/bacs/dashboard.php
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Missing docblock for class filter_form
(#42) Missing member variable doc comment
(#42) Member variable "default_from" must not contain underscores.
(#42) Missing member variable doc comment
(#42) Member variable "default_to" must not contain underscores.
(#43) Missing member variable doc comment
(#43) Member variable "default_course_id" must not contain underscores.
(#44) Missing member variable doc comment
(#44) Member variable "default_task_id" must not contain underscores.
(#46) Missing docblock for function __construct
(#46) Visibility must be declared on method "__construct"
(#47) Opening brace should be on the same line as the declaration
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Variable "ceil_seconds" must not contain underscores.
(#54) Variable "ceil_seconds" must not contain underscores.
(#54) 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
(#60) Missing docblock for function get_data
(#60) Visibility must be declared on method "get_data"
(#61) Variable "form_data" must not contain underscores.
(#62) Inline control structures are not allowed
(#62) Variable "form_data" must not contain underscores.
(#62) Variable "form_data" must not contain underscores.
(#68) Variable "form_data" must not contain underscores.
(#71) Missing docblock for function definition
(#72) Opening brace should be on the same line as the declaration
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) 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
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Missing docblock for function is_course_available
(#104) Variable "course_id" must not contain underscores.
(#105) Opening brace should be on the same line as the declaration
(#106) Variable "course_id" must not contain underscores.
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Missing docblock for function get_available_courses
(#112) Opening brace should be on the same line as the declaration
(#113) Variable "available_courses" must not contain underscores.
(#116) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#117) Inline control structures are not allowed
(#118) Variable "available_courses" must not contain underscores.
(#121) Variable "available_courses" must not contain underscores.
(#124) Missing docblock for function get_all_tasks
(#129) Missing docblock for function get_filtered_submits
(#129) Variable "form_data" must not contain underscores.
(#130) Opening brace should be on the same line as the declaration
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Variable "sql_where" must not contain underscores.
(#134) Variable "form_data" must not contain underscores.
(#134) Variable "form_data" must not contain underscores.
(#135) Inline control structures are not allowed
(#135) Variable "form_data" must not contain underscores.
(#135) Variable "sql_where" must not contain underscores.
(#135) Variable "form_data" must not contain underscores.
(#136) Inline control structures are not allowed
(#136) Variable "form_data" must not contain underscores.
(#136) Variable "sql_where" must not contain underscores.
(#136) Variable "form_data" must not contain underscores.
(#141) Whitespace found at end of line within string
(#144) Variable "sql_where" must not contain underscores.
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Inline control structures are not allowed
(#157) Missing docblock for function generate_day_hour_distrib_chart
(#157) Variable "form_data" must not contain underscores.
(#158) Opening brace should be on the same line as the declaration
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Variable "submits_per_hour" must not contain underscores.
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Variable "day_period" must not contain underscores.
(#168) Variable "day_period" must not contain underscores.
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) Variable "submits_per_hour" must not contain underscores.
(#170) Blank comments are not allowed
(#173) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) Variable "form_data" must not contain underscores.
(#176) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#177) Variable "submits_per_hour" must not contain underscores.
(#181) Variable "submits_per_hour" must not contain underscores.
(#188) Missing docblock for class verdict_chart_database_manipulator
(#188) Expected 1 space before opening brace; found 0
(#189) Missing docblock for function get_visible_courses
(#189) Expected 1 space before opening brace; found 0
(#190) Variable "all_courses" must not contain underscores.
(#191) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#191) Variable "all_courses" must not contain underscores.
(#193) Expected "if (...) {\n"; found "if (...){\n"
(#194) Variable "visible_courses" must not contain underscores.
(#197) Variable "visible_courses" must not contain underscores.
(#199) Missing docblock for function get_contests_from_the_course
(#199) Variable "course_id" must not contain underscores.
(#199) Expected 1 space before opening brace; found 0
(#201) Variable "course_id" must not contain underscores.
(#203) Missing docblock for function get_tasks_from_the_contest
(#203) Variable "contest_id" must not contain underscores.
(#203) Expected 1 space before opening brace; found 0
(#205) Variable "contest_id" must not contain underscores.
(#205) Line exceeds maximum limit of 180 characters; contains 189 characters
(#207) Missing docblock for function get_contests_from_any_courses
(#207) Expected 1 space before opening brace; found 0
(#208) Variable "result_contests" must not contain underscores.
(#208) Short array syntax must be used to define arrays
(#209) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#211) Expected "if (...) {\n"; found "if (...){\n"
(#211) Expected 1 space before ">"; 0 found
(#211) Expected 1 space after ">"; 0 found
(#212) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#213) Variable "result_contests" must not contain underscores.
(#217) Variable "result_contests" must not contain underscores.
(#219) Missing docblock for function get_all_visible_tasks
(#219) Expected 1 space before opening brace; found 0
(#220) Variable "result_contests" must not contain underscores.
(#221) Expected "if (...) {\n"; found "if (...){\n"
(#221) Variable "result_contests" must not contain underscores.
(#221) Expected 1 space before ">"; 0 found
(#221) Expected 1 space after ">"; 0 found
(#222) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#222) Variable "result_contests" must not contain underscores.
(#224) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#225) Variable "all_visible_tasks" must not contain underscores.
(#229) Variable "all_visible_tasks" must not contain underscores.
(#231) Missing docblock for function get_all_tasks
(#233) Variable "all_tasks" must not contain underscores.
(#235) Variable "all_visible_tasks" must not contain underscores.
(#238) Variable "all_tasks" must not contain underscores.
(#240) Missing docblock for function get_task_by_task_id
(#240) Variable "task_id" must not contain underscores.
(#242) Variable "task_id" must not contain underscores.
(#245) Missing docblock for class verdict_chart_controller
(#245) Expected 1 space before opening brace; found 0
(#246) Missing docblock for function make_pie
(#246) Variable "test_form" must not contain underscores.
(#246) Expected 1 space before opening brace; found 0
(#247) Variable "view_bag" must not contain underscores.
(#248) Variable "test_form" must not contain underscores.
(#249) Variable "all_courses" must not contain underscores.
(#250) Variable "view_bag" must not contain underscores.
(#253) Variable "view_bag" must not contain underscores.
(#255) Variable "db_task" must not contain underscores.
(#256) Variable "view_bag" must not contain underscores.
(#256) Variable "db_task" must not contain underscores.
(#259) Expected "if (...) {\n"; found "if (...){\n"
(#259) Expected 1 space before "=="; 0 found
(#259) Expected 1 space after "=="; 0 found
(#260) Variable "all_courses" must not contain underscores.
(#265) Expected "for (...) {\n"; found "for (...){\n"
(#265) Expected 1 space before "<"; 0 found
(#265) Expected 1 space after "<"; 0 found
(#268) Variable "sql_where" must not contain underscores.
(#269) Inline control structures are not allowed
(#269) Variable "sql_where" must not contain underscores.
(#271) Variable "sql_where" must not contain underscores.
(#274) Variable "view_bag" must not contain underscores.
(#275) Variable "view_bag" must not contain underscores.
(#279) Variable "view_bag" must not contain underscores.
(#282) Missing docblock for class verdict_chart_view
(#282) Expected 1 space before opening brace; found 0
(#283) Missing docblock for function render_data
(#283) Variable "test_form" must not contain underscores.
(#283) Variable "view_bag" must not contain underscores.
(#284) Opening brace should be on the same line as the declaration
(#288) Whitespace found at end of line
(#289) Variable "view_bag" must not contain underscores.
(#289) Variable "view_bag" must not contain underscores.
(#294) Variable "view_bag" must not contain underscores.
(#295) Variable "view_bag" must not contain underscores.
(#297) Variable "view_bag" must not contain underscores.
(#305) Missing docblock for function as_widget_caption
(#309) Inline comments must end in full-stops, exclamation marks, or question marks
(#311) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) Variable "filter_form" must not contain underscores.
(#314) Inline comments must end in full-stops, exclamation marks, or question marks
(#315) Variable "widget_day_hour_distrib_chart" must not contain underscores.
(#316) Variable "widget_day_hour_distrib_chart" must not contain underscores.
(#316) Variable "filter_form" must not contain underscores.
(#318) Variable "widget_verdict_chart" must not contain underscores.
(#319) Variable "view_bag" must not contain underscores.
(#319) Variable "filter_form" must not contain underscores.
(#320) Variable "widget_verdict_chart" must not contain underscores.
(#320) Variable "filter_form" must not contain underscores.
(#320) Variable "view_bag" must not contain underscores.
(#323) Variable "widget_day_hour_distrib_chart" must not contain underscores.
(#324) There should be a comma after the last array item in a multi-line array.
(#324) Variable "widget_verdict_chart" must not contain underscores.
(#329) Inline comments must end in full-stops, exclamation marks, or question marks
(#330) Variable "filter_form" must not contain underscores.
mod/bacs/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/bacs/db/log.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/bacs/db/upgrade.php
(#45) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#842) Line exceeds 132 characters; contains 134 characters
mod/bacs/db/upgradelib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/bacs/devirtualize.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/bacs/diagnostics.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#108) Whitespace found at end of line within string
(#109) Whitespace found at end of line within string
(#110) Whitespace found at end of line within string
(#111) Whitespace found at end of line within string
(#112) Whitespace found at end of line within string
(#113) Whitespace found at end of line within string
(#114) Whitespace found at end of line within string
(#126) Whitespace found at end of line within string
(#127) Whitespace found at end of line within string
(#128) Whitespace found at end of line within string
(#129) Whitespace found at end of line within string
(#130) Whitespace found at end of line within string
mod/bacs/groups_settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/bacs/incidents.php
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Inline control structures are not allowed
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Inline control structures are not allowed
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Whitespace found at end of line
(#130) Whitespace found at end of line
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Whitespace found at end of line
(#173) Whitespace found at end of line
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Line exceeds 132 characters; contains 139 characters
mod/bacs/index.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/bacs/lang/en/bacs.php
(#150) The string key "memory" is not in the correct order, it should be before "method"
mod/bacs/lang/ru/bacs.php
(#150) The string key "memory" is not in the correct order, it should be before "method"
mod/bacs/lib.php
(#470) Whitespace found at end of line
(#471) Whitespace found at end of line
(#476) Inline comments must end in full-stops, exclamation marks, or question marks
(#479) Inline comments must end in full-stops, exclamation marks, or question marks
(#480) Inline comments must end in full-stops, exclamation marks, or question marks
(#480) Whitespace found at end of line
(#481) Inline comments must end in full-stops, exclamation marks, or question marks
(#481) Whitespace found at end of line
(#482) Inline comments must end in full-stops, exclamation marks, or question marks
(#484) Inline comments must end in full-stops, exclamation marks, or question marks
(#497) Inline comments must end in full-stops, exclamation marks, or question marks
(#497) 3 slashes comments are not allowed; use "// Comment." instead
(#521) Whitespace found at end of line
(#528) Whitespace found at end of line
(#530) Inline comments must end in full-stops, exclamation marks, or question marks
(#532) Inline comments must start with a capital letter, digit or 3-dots sequence
(#535) Inline comments must end in full-stops, exclamation marks, or question marks
(#540) Inline comments must end in full-stops, exclamation marks, or question marks
(#543) Inline comments must end in full-stops, exclamation marks, or question marks
(#544) Expected 1 space before "-"; 0 found
(#544) Expected 1 space after "-"; 0 found
(#561) Expected 1 space before "-"; 0 found
(#561) Expected 1 space after "-"; 0 found
(#561) Expected 1 space before "+"; 0 found
(#561) Expected 1 space after "+"; 0 found
(#562) Expected 1 space before "+"; 0 found
(#562) Expected 1 space after "+"; 0 found
(#566) Inline comments must end in full-stops, exclamation marks, or question marks
(#567) Inline control structures are not allowed
(#568) Inline control structures are not allowed
(#571) Inline control structures are not allowed
(#572) Inline control structures are not allowed
(#574) Inline comments must end in full-stops, exclamation marks, or question marks
(#585) Inline control structures are not allowed
(#586) Inline control structures are not allowed
(#598) Inline comments must end in full-stops, exclamation marks, or question marks
(#604) Whitespace found at end of line
(#614) Whitespace found at end of line
(#628) Whitespace found at end of line
mod/bacs/mod_form.php
(#201) Line exceeds 132 characters; contains 140 characters
mod/bacs/recalculate_incidents.php
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline control structures are not allowed
(#59) Whitespace found at end of line
(#62) Whitespace found at end of line
(#65) Whitespace found at end of line
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Whitespace found at end of line
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
mod/bacs/recalculate_points.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/bacs/results.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#70) Whitespace found at end of line within string
(#71) Whitespace found at end of line within string
(#72) Whitespace found at end of line within string
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#85) Whitespace found at end of line within string
(#86) Whitespace found at end of line within string
(#87) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#89) Whitespace found at end of line within string
(#90) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#92) Whitespace found at end of line within string
mod/bacs/results_diff.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#69) Whitespace found at end of line within string
(#70) Whitespace found at end of line within string
(#71) Whitespace found at end of line within string
(#72) Whitespace found at end of line within string
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#80) Whitespace found at end of line within string
(#81) Whitespace found at end of line within string
(#82) Whitespace found at end of line within string
(#83) Whitespace found at end of line within string
(#84) Whitespace found at end of line within string
(#85) Whitespace found at end of line within string
(#86) Whitespace found at end of line within string
(#87) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#89) Whitespace found at end of line within string
(#90) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#92) Whitespace found at end of line within string
(#93) Whitespace found at end of line within string
(#94) Whitespace found at end of line within string
(#95) Whitespace found at end of line within string
(#96) Whitespace found at end of line within string
(#97) Whitespace found at end of line within string
(#98) Whitespace found at end of line within string
(#99) Whitespace found at end of line within string
(#100) Whitespace found at end of line within string
(#101) Whitespace found at end of line within string
(#102) Whitespace found at end of line within string
(#103) Whitespace found at end of line within string
(#104) Whitespace found at end of line within string
(#105) Whitespace found at end of line within string
(#106) Whitespace found at end of line within string
(#107) Whitespace found at end of line within string
(#108) Whitespace found at end of line within string
(#109) Whitespace found at end of line within string
(#110) Whitespace found at end of line within string
(#111) Whitespace found at end of line within string
(#112) Whitespace found at end of line within string
(#113) Whitespace found at end of line within string
(#114) Whitespace found at end of line within string
(#115) Whitespace found at end of line within string
(#116) Whitespace found at end of line within string
(#117) Whitespace found at end of line within string
(#118) Whitespace found at end of line within string
(#119) Whitespace found at end of line within string
(#120) Whitespace found at end of line within string
mod/bacs/results_for_submit.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#63) Whitespace found at end of line within string
(#64) Whitespace found at end of line within string
mod/bacs/results_graph.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#43) Whitespace found at end of line within string
(#44) Whitespace found at end of line within string
mod/bacs/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/bacs/status.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#87) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#89) Whitespace found at end of line within string
(#90) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#92) Whitespace found at end of line within string
(#93) Whitespace found at end of line within string
(#94) Whitespace found at end of line within string
mod/bacs/submit_verdicts.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/bacs/task_dynamics.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#43) Whitespace found at end of line within string
(#44) Whitespace found at end of line within string
mod/bacs/tasks.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#159) Whitespace found at end of line within string
(#160) Whitespace found at end of line within string
(#161) Whitespace found at end of line within string
(#162) Whitespace found at end of line within string
(#163) Whitespace found at end of line within string
(#166) Whitespace found at end of line within string
(#167) Whitespace found at end of line within string
(#168) Whitespace found at end of line within string
(#177) Whitespace found at end of line within string
(#178) Whitespace found at end of line within string
(#179) Whitespace found at end of line within string
(#180) Whitespace found at end of line within string
mod/bacs/update_standings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
mod/bacs/user_dynamics.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#43) Whitespace found at end of line within string
(#44) Whitespace found at end of line within string
mod/bacs/utils.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#248) Whitespace found at end of line within string
(#249) Whitespace found at end of line within string
(#258) Whitespace found at end of line within string
(#259) Whitespace found at end of line within string
(#331) Whitespace found at end of line within string
(#332) Whitespace found at end of line within string
(#370) Whitespace found at end of line within string
(#371) Whitespace found at end of line within string
(#372) Whitespace found at end of line within string
(#373) Whitespace found at end of line within string
(#374) Whitespace found at end of line within string
(#375) Whitespace found at end of line within string
(#376) Whitespace found at end of line within string
(#379) Whitespace found at end of line within string
(#380) Whitespace found at end of line within string
(#381) Whitespace found at end of line within string
(#382) Whitespace found at end of line within string
(#383) Whitespace found at end of line within string
(#384) Whitespace found at end of line within string
(#385) Whitespace found at end of line within string
(#386) Whitespace found at end of line within string
(#387) Whitespace found at end of line within string
(#388) Whitespace found at end of line within string
(#389) Whitespace found at end of line within string
(#390) Whitespace found at end of line within string
(#391) Whitespace found at end of line within string
(#392) Whitespace found at end of line within string
(#393) Whitespace found at end of line within string
(#394) Whitespace found at end of line within string
(#395) Whitespace found at end of line within string
(#396) Whitespace found at end of line within string
(#397) Whitespace found at end of line within string
(#398) Whitespace found at end of line within string
(#399) Whitespace found at end of line within string
(#400) Whitespace found at end of line within string
(#401) Whitespace found at end of line within string
(#402) Whitespace found at end of line within string
(#403) Whitespace found at end of line within string
(#404) Whitespace found at end of line within string
(#405) Whitespace found at end of line within string
(#406) Whitespace found at end of line within string
(#407) Whitespace found at end of line within string
(#408) Whitespace found at end of line within string
(#409) Whitespace found at end of line within string
(#410) Whitespace found at end of line within string
(#411) Whitespace found at end of line within string
(#412) Whitespace found at end of line within string
(#413) Whitespace found at end of line within string
(#414) Whitespace found at end of line within string
(#415) Whitespace found at end of line within string
(#416) Whitespace found at end of line within string
(#417) Whitespace found at end of line within string
(#418) Whitespace found at end of line within string
(#419) Whitespace found at end of line within string
(#420) Whitespace found at end of line within string
(#421) Whitespace found at end of line within string
(#422) Whitespace found at end of line within string
(#423) Whitespace found at end of line within string
(#424) Whitespace found at end of line within string
(#425) Whitespace found at end of line within string
(#426) Whitespace found at end of line within string
mod/bacs/virtual_contest.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#116) Whitespace found at end of line within string
(#117) Whitespace found at end of line within string
(#118) Whitespace found at end of line within string
(#119) Whitespace found at end of line within string
(#122) Whitespace found at end of line within string
(#123) Whitespace found at end of line within string
(#126) Whitespace found at end of line within string
(#127) Whitespace found at end of line within string
(#130) Whitespace found at end of line within string
(#131) Whitespace found at end of line within string
(#135) Whitespace found at end of line within string
(#136) Whitespace found at end of line within string
(#137) Whitespace found at end of line within string
(#138) Whitespace found at end of line within string
(#139) Whitespace found at end of line within string
(#140) Whitespace found at end of line within string
(#141) Whitespace found at end of line within string
(#142) Whitespace found at end of line within string
(#143) Whitespace found at end of line within string
(#144) Whitespace found at end of line within string
(#145) Whitespace found at end of line within string
(#152) Whitespace found at end of line within string
(#153) Whitespace found at end of line within string
(#156) Whitespace found at end of line within string
(#157) Whitespace found at end of line within string
(#162) Whitespace found at end of line within string
(#163) Whitespace found at end of line within string
(#166) Whitespace found at end of line within string
(#167) Whitespace found at end of line within string
mod/bacs/virtual_participants_list.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#56) Whitespace found at end of line within string
(#57) Whitespace found at end of line within string
(#58) Whitespace found at end of line within string
(#59) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#80) Whitespace found at end of line within string
(#81) Whitespace found at end of line within string
(#82) Whitespace found at end of line within string
(#83) Whitespace found at end of line within string
(#86) Whitespace found at end of line within string
(#87) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#89) Whitespace found at end of line within string
(#90) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#92) Whitespace found at end of line within string
(#93) Whitespace found at end of line within string
(#94) Whitespace found at end of line within string
(#95) Whitespace found at end of line within string
(#96) Whitespace found at end of line within string
(#108) Whitespace found at end of line within string
(#109) Whitespace found at end of line within string
(#110) Whitespace found at end of line within string
(#111) Whitespace found at end of line within string
(#112) Whitespace found at end of line within string
(#113) Whitespace found at end of line within string
(#114) Whitespace found at end of line within string
(#115) Whitespace found at end of line within string
(#116) Whitespace found at end of line within string
(#117) Whitespace found at end of line within string
(#118) Whitespace found at end of line within string

Javascript coding style problems

(1 errors, 0 warnings)

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

mod/bacs/standings.js
(#87) Parsing error: Unexpected token =

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(3 errors, 0 warnings)

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

mod/bacs/classes/cron_lib.php
(#572) Found comment starting with three or more slashes
(#563) Phpdocs for function cron_lib::cron_incidents has incomplete parameters list
mod/bacs/lib.php
(#497) Found comment starting with three or more slashes

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

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

mod/bacs/templates/contest_header.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 4: Empty heading. (ter"> <h1 class="mb-0"></h1>)
mod/bacs/templates/contest_nav_menu.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 13: The “type” attribute is unnecessary for JavaScript resources. (</ul><script type='text/javascript'> func)
(#1) HTML Validation info, line 74: The “type” attribute is unnecessary for JavaScript resources. (v> <script type='text/javascript'> )
mod/bacs/templates/results.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 36: Row 1 of a row group established by a “thead” element has no cells beginning on it. (> <tr> </tr></the)
mod/bacs/templates/standings.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 3: The “type” attribute is unnecessary for JavaScript resources. (d><body><script type='text/javascript'> f)
(#1) HTML Validation error, line 91: Attribute “value” not allowed on element “select” at this point. ( <select id='standings_mode_select' value=2 onchange='change_standings_mode();'> )
(#1) HTML Validation info, line 103: The “type” attribute is unnecessary for JavaScript resources. (</table><script type='text/javascript' src='standings.js'></scri)
(#1) HTML Validation info, line 105: The “type” attribute is unnecessary for JavaScript resources. (/script><script type='text/javascript'> v)
mod/bacs/templates/tasklist.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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