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

(326 errors, 99 warnings)

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

mod/onetoone/attendees.php
(#210) Variable "MDL_O2O_STATUS" must be all lower-case
(#210) Variable "MDL_O2O_STATUS" must not contain underscores.
mod/onetoone/auth.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#59) Line indented incorrectly; expected at least 1 spaces, found 0
(#66) Line indented incorrectly; expected 1 spaces, found 0
(#67) Line indented incorrectly; expected at least 5 spaces, found 4
(#68) Line indented incorrectly; expected at least 5 spaces, found 4
(#69) Line indented incorrectly; expected 4 spaces, found 0
(#71) Line indented incorrectly; expected 4 spaces, found 0
(#72) Line indented incorrectly; expected at least 8 spaces, found 4
(#73) Line indented incorrectly; expected at least 8 spaces, found 4
(#74) Line indented incorrectly; expected 4 spaces, found 0
mod/onetoone/backup/moodle2/backup_onetoone_activity_task.class.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/onetoone/backup/moodle2/backup_onetoone_stepslib.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
(#69) This comment is 59% valid code; is this commented out code?
mod/onetoone/backup/moodle2/restore_onetoone_stepslib.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
(#157) This comment is 49% valid code; is this commented out code?
mod/onetoone/bundle/whiteboard/example/auth.php
(#1) Whitespace found at end of line
(#1) The opening <?php tag must be followed by exactly one newline.
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Variable "post_data" must not contain underscores.
(#3) Opening brace should be on the same line as the declaration
(#7) Spaces must be used to indent lines; tabs are not allowed
(#7) Tab found within whitespace
(#7) Line indented incorrectly; expected at least 4 spaces, found 2
(#7) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#8) Spaces must be used to indent lines; tabs are not allowed
(#8) Tab found within whitespace
(#8) Line indented incorrectly; expected at least 4 spaces, found 2
(#8) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#11) Variable "post_data" must not contain underscores.
(#14) Spaces must be used to indent lines; tabs are not allowed
(#14) Tab found within whitespace
(#14) Line indented incorrectly; expected at least 4 spaces, found 2
(#17) Spaces must be used to indent lines; tabs are not allowed
(#17) Tab found within whitespace
(#17) Line indented incorrectly; expected 4 spaces, found 2
(#17) Expected "if (...) {\n"; found "if(...){\n"
(#18) Spaces must be used to indent lines; tabs are not allowed
(#18) Tab found within whitespace
(#18) Line indented incorrectly; expected at least 8 spaces, found 6
(#19) Spaces must be used to indent lines; tabs are not allowed
(#19) Tab found within whitespace
(#19) Line indented incorrectly; expected at least 8 spaces, found 3
(#20) Spaces must be used to indent lines; tabs are not allowed
(#20) Tab found within whitespace
(#20) Line indented incorrectly; expected 4 spaces, found 2
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) No space found before comment text; expected "// send auth detail to python script" but found "//send auth detail to python script"
(#26) Whitespace found at end of line
(#27) Calls to inbuilt PHP functions must be lowercase; expected "md5" but found "MD5"
(#28) Calls to inbuilt PHP functions must be lowercase; expected "md5" but found "MD5"
(#30) Variable "post_data" must not contain underscores.
(#30) Expected 1 space before "=>"; 0 found
(#30) Commas (,) must be followed by white space.
(#31) Variable "post_data" must not contain underscores.
(#31) Variable "post_data" must not contain underscores.
(#32) Variable "post_data" must not contain underscores.
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) This comment is 75% valid code; is this commented out code?
(#33) No space found before comment text; expected "// print_r( $rid);exit;//8000.vidya.io" but found "//print_r( $rid);exit;//8000.vidya.io"
(#34) Line indented incorrectly; expected 0 spaces, found 1
(#34) Expected "if (...) {\n"; found "if(...){\n"
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
(#35) Line indented incorrectly; expected at least 4 spaces, found 3
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#36) Line indented incorrectly; expected at least 4 spaces, found 3
(#37) Line indented incorrectly; expected 0 spaces, found 2
(#37) Closing brace indented incorrectly; expected 1 spaces, found 2
(#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 75% valid code; is this commented out code?
(#38) No space found before comment text; expected "// $rid='8000.vidya.io';" but found "//$rid='8000.vidya.io';"
mod/onetoone/bundle/whiteboard/example/js.debug.php
(#1) The first thing in a PHP file must be the <?php tag.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#3) Variable "whiteboard_path" must not contain underscores.
(#6) Variable "whiteboard_path" must not contain underscores.
(#8) Variable "whiteboard_path" must not contain underscores.
(#9) Variable "whiteboard_path" must not contain underscores.
(#10) Variable "whiteboard_path" must not contain underscores.
(#12) Variable "whiteboard_path" must not contain underscores.
(#14) Variable "whiteboard_path" must not contain underscores.
(#15) Variable "whiteboard_path" must not contain underscores.
(#16) Variable "whiteboard_path" must not contain underscores.
(#17) Variable "whiteboard_path" must not contain underscores.
(#19) Variable "whiteboard_path" must not contain underscores.
(#20) Variable "whiteboard_path" must not contain underscores.
(#21) Variable "whiteboard_path" must not contain underscores.
(#22) Variable "whiteboard_path" must not contain underscores.
(#23) Variable "whiteboard_path" must not contain underscores.
(#24) Variable "whiteboard_path" must not contain underscores.
(#25) Variable "whiteboard_path" must not contain underscores.
(#26) Variable "whiteboard_path" must not contain underscores.
(#28) Variable "whiteboard_path" must not contain underscores.
(#29) Variable "whiteboard_path" must not contain underscores.
(#30) Variable "whiteboard_path" must not contain underscores.
(#31) Variable "whiteboard_path" must not contain underscores.
(#32) Variable "whiteboard_path" must not contain underscores.
(#33) Variable "whiteboard_path" must not contain underscores.
(#34) Variable "whiteboard_path" must not contain underscores.
(#35) Variable "whiteboard_path" must not contain underscores.
(#36) Variable "whiteboard_path" must not contain underscores.
(#37) Variable "whiteboard_path" must not contain underscores.
(#38) Variable "whiteboard_path" must not contain underscores.
(#39) Variable "whiteboard_path" must not contain underscores.
(#41) Variable "whiteboard_path" must not contain underscores.
(#42) Variable "whiteboard_path" must not contain underscores.
(#44) Variable "whiteboard_path" must not contain underscores.
(#46) Variable "whiteboard_path" must not contain underscores.
(#47) Variable "whiteboard_path" must not contain underscores.
(#48) Variable "whiteboard_path" must not contain underscores.
mod/onetoone/bundle/whiteboard/example/js.php
(#1) The first thing in a PHP file must be the <?php tag.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#3) Variable "whiteboard_path" must not contain underscores.
(#5) Variable "whiteboard_path" must not contain underscores.
mod/onetoone/bundle/whiteboard/example/student.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#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
(#29) 3 slashes comments are not allowed; use "// Comment." instead
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) File is being unconditionally included; use "require" instead
(#31) Space found before semicolon; expected ");" but found ") ;"
(#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
(#40) No space found before comment text; expected "// the www path for whiteboard" but found "//the www path for whiteboard"
(#41) Variable "whiteboard_path" must not contain underscores.
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) This comment is 100% valid code; is this commented out code?
(#42) No space found before comment text; expected "// include('js.php');" but found "//include('js.php');"
(#43) File is being unconditionally included; use "require" instead
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) This comment is 64% valid code; is this commented out code?
(#44) No space found before comment text; expected "// $PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/c190214.js'));" but found "//$PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/c190214.js'));"
(#46) This comment is 47% valid code; is this commented out code?
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) No space found before comment text; expected "// $PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/min.js'));" but found "//$PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/min.js'));"
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) This comment is 50% valid code; is this commented out code?
(#51) No space found before comment text; expected "// $r = 's';" but found "//$r = 's';"
(#53) Spaces must be used to indent lines; tabs are not allowed
(#54) Spaces must be used to indent lines; tabs are not allowed
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Line indented incorrectly; expected 4 spaces, found 1
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Line indented incorrectly; expected 4 spaces, found 1
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Line indented incorrectly; expected 4 spaces, found 1
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Line indented incorrectly; expected 4 spaces, found 1
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Line indented incorrectly; expected 4 spaces, found 1
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Line indented incorrectly; expected 4 spaces, found 1
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Line indented incorrectly; expected 4 spaces, found 1
(#62) Spaces must be used to indent lines; tabs are not allowed
(#63) Spaces must be used to indent lines; tabs are not allowed
(#66) Spaces must be used to indent lines; tabs are not allowed
mod/onetoone/bundle/whiteboard/example/student2.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#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
(#29) 3 slashes comments are not allowed; use "// Comment." instead
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) File is being unconditionally included; use "require" instead
(#31) Space found before semicolon; expected ");" but found ") ;"
(#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
(#40) No space found before comment text; expected "// the www path for whiteboard" but found "//the www path for whiteboard"
(#41) Variable "whiteboard_path" must not contain underscores.
(#42) File is being unconditionally included; use "require" instead
(#42) Space found before semicolon; expected ");" but found ") ;"
(#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
(#43) This comment is 64% valid code; is this commented out code?
(#43) No space found before comment text; expected "// $PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/c190214.js'));" but found "//$PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/c190214.js'));"
(#45) This comment is 47% valid code; is this commented out code?
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) No space found before comment text; expected "// $PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/min.js'));" but found "//$PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/min.js'));"
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) This comment is 50% valid code; is this commented out code?
(#50) No space found before comment text; expected "// $r = 's';" but found "//$r = 's';"
(#52) Spaces must be used to indent lines; tabs are not allowed
(#53) Spaces must be used to indent lines; tabs are not allowed
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Line indented incorrectly; expected 4 spaces, found 1
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Line indented incorrectly; expected 4 spaces, found 1
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Line indented incorrectly; expected 4 spaces, found 1
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Line indented incorrectly; expected 4 spaces, found 1
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Line indented incorrectly; expected 4 spaces, found 1
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Line indented incorrectly; expected 4 spaces, found 1
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Line indented incorrectly; expected 4 spaces, found 1
(#61) Spaces must be used to indent lines; tabs are not allowed
(#62) Spaces must be used to indent lines; tabs are not allowed
(#65) Spaces must be used to indent lines; tabs are not allowed
mod/onetoone/bundle/whiteboard/example/teacher.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#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
(#29) 3 slashes comments are not allowed; use "// Comment." instead
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) File is being unconditionally included; use "require" instead
(#31) Space found before semicolon; expected ");" but found ") ;"
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// the www path for whiteboard" but found "//the www path for whiteboard"
(#40) Variable "whiteboard_path" must not contain underscores.
(#41) File is being unconditionally included; use "require" instead
(#42) This comment is 68% valid code; is this commented out code?
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) No space found before comment text; expected "// include('js.php');" but found "//include('js.php');"
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) No space found before comment text; expected "// $PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/c190214.js'));" but found "//$PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/c190214.js'));"
(#45) This comment is 47% valid code; is this commented out code?
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) No space found before comment text; expected "// $PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/min.js'));" but found "//$PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/min.js'));"
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) This comment is 50% valid code; is this commented out code?
(#50) No space found before comment text; expected "// $r = 's';" but found "//$r = 's';"
(#52) Spaces must be used to indent lines; tabs are not allowed
(#53) Spaces must be used to indent lines; tabs are not allowed
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Line indented incorrectly; expected 4 spaces, found 1
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Line indented incorrectly; expected 4 spaces, found 1
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Line indented incorrectly; expected 4 spaces, found 1
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Line indented incorrectly; expected 4 spaces, found 1
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Line indented incorrectly; expected 4 spaces, found 1
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Line indented incorrectly; expected 4 spaces, found 1
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Line indented incorrectly; expected 4 spaces, found 1
(#61) Spaces must be used to indent lines; tabs are not allowed
(#62) Spaces must be used to indent lines; tabs are not allowed
mod/onetoone/bundle/whiteboard/example/teacher2.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#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
(#29) 3 slashes comments are not allowed; use "// Comment." instead
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) File is being unconditionally included; use "require" instead
(#31) Space found before semicolon; expected ");" but found ") ;"
(#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
(#40) No space found before comment text; expected "// the www path for whiteboard" but found "//the www path for whiteboard"
(#41) Variable "whiteboard_path" must not contain underscores.
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) This comment is 84% valid code; is this commented out code?
(#42) No space found before comment text; expected "// include('js.php') ;" but found "//include('js.php') ;"
(#43) File is being unconditionally included; use "require" instead
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) This comment is 64% valid code; is this commented out code?
(#44) No space found before comment text; expected "// $PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/c190214.js'));" but found "//$PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/c190214.js'));"
(#46) This comment is 47% valid code; is this commented out code?
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) No space found before comment text; expected "// $PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/min.js'));" but found "//$PAGE->requires->js(new moodle_url($CFG->wwwroot .'/mod/onetoone/whiteboard/js/min.js'));"
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) This comment is 50% valid code; is this commented out code?
(#51) No space found before comment text; expected "// $r = 's';" but found "//$r = 's';"
(#53) Spaces must be used to indent lines; tabs are not allowed
(#54) Spaces must be used to indent lines; tabs are not allowed
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Line indented incorrectly; expected 4 spaces, found 1
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Line indented incorrectly; expected 4 spaces, found 1
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Line indented incorrectly; expected 4 spaces, found 1
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Line indented incorrectly; expected 4 spaces, found 1
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Line indented incorrectly; expected 4 spaces, found 1
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Line indented incorrectly; expected 4 spaces, found 1
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Line indented incorrectly; expected 4 spaces, found 1
(#62) Spaces must be used to indent lines; tabs are not allowed
(#63) Spaces must be used to indent lines; tabs are not allowed
(#66) Spaces must be used to indent lines; tabs are not allowed
mod/onetoone/cancelsignup_form.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Visibility must be declared on method "definition"
mod/onetoone/cron.php
(#26) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/onetoone/customfield.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/onetoone/customfield_form.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Visibility must be declared on method "definition"
(#70) Visibility must be declared on method "validation"
mod/onetoone/db/access.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/onetoone/db/upgrade.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
mod/onetoone/editattendees.php
(#231) Line indented incorrectly; expected 4 spaces, found 0
(#232) Line indented incorrectly; expected at least 8 spaces, found 4
(#233) Line indented incorrectly; expected at least 8 spaces, found 4
(#234) Line indented incorrectly; expected at least 8 spaces, found 4
(#235) Line indented incorrectly; expected at least 8 spaces, found 4
(#236) Line indented incorrectly; expected at least 8 spaces, found 4
(#237) Line indented incorrectly; expected at least 8 spaces, found 4
(#238) Line indented incorrectly; expected at least 8 spaces, found 4
(#239) Line indented incorrectly; expected 4 spaces, found 0
(#241) Line indented incorrectly; expected 4 spaces, found 0
(#242) Line indented incorrectly; expected at least 8 spaces, found 4
(#243) Line indented incorrectly; expected at least 8 spaces, found 4
(#244) Line indented incorrectly; expected at least 8 spaces, found 4
(#245) Line indented incorrectly; expected 4 spaces, found 0
(#250) Line indented incorrectly; expected 4 spaces, found 0
(#251) Line indented incorrectly; expected at least 8 spaces, found 4
(#252) Line indented incorrectly; expected 8 spaces, found 4
(#253) Line indented incorrectly; expected at least 12 spaces, found 8
(#254) Line indented incorrectly; expected 8 spaces, found 4
(#255) Line indented incorrectly; expected at least 8 spaces, found 4
(#256) Line indented incorrectly; expected at least 8 spaces, found 4
(#257) Line indented incorrectly; expected at least 8 spaces, found 4
(#258) Line indented incorrectly; expected at least 8 spaces, found 4
(#259) Line indented incorrectly; expected 4 spaces, found 0
(#261) Line indented incorrectly; expected at least 4 spaces, found 0
(#262) Line indented incorrectly; expected at least 4 spaces, found 0
(#263) Line indented incorrectly; expected at least 4 spaces, found 0
(#264) Line indented incorrectly; expected at least 4 spaces, found 0
(#265) Line indented incorrectly; expected at least 4 spaces, found 0
(#266) Line indented incorrectly; expected at least 4 spaces, found 0
(#267) Line indented incorrectly; expected at least 4 spaces, found 0
mod/onetoone/index.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected 1 space before comment text but found 2; use block comment if you need indentation
mod/onetoone/js.debug.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/onetoone/js.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/onetoone/lib.php
(#2) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) No space found before comment text; expected "// .This file is part of Moodle - http://moodle.org/" but found "//.This file is part of Moodle - http://moodle.org/"
(#89) Variable "MDL_O2O_STATUS" must be all lower-case
(#89) Variable "MDL_O2O_STATUS" must not contain underscores.
(#90) Variable "MDL_O2O_STATUS" must be all lower-case
(#90) Variable "MDL_O2O_STATUS" must not contain underscores.
(#110) Variable "MDL_O2O_STATUS" must be all lower-case
(#110) Variable "MDL_O2O_STATUS" must not contain underscores.
(#112) Variable "MDL_O2O_STATUS" must be all lower-case
(#112) Variable "MDL_O2O_STATUS" must not contain underscores.
(#117) Variable "MDL_O2O_STATUS" must be all lower-case
(#117) Variable "MDL_O2O_STATUS" must not contain underscores.
(#402) No space found before comment text; expected "// ...$DB->delete_records_select('onetoone_sessions_dates', "sessionid in" but found "//...$DB->delete_records_select('onetoone_sessions_dates', "sessionid in"
(#402) Whitespace found at end of line
(#403) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#426) Variable "MAX_CAPACITY" must be all lower-case
(#426) Variable "MAX_CAPACITY" must not contain underscores.
(#429) Variable "MAX_CAPACITY" must be all lower-case
(#429) Variable "MAX_CAPACITY" must not contain underscores.
(#430) Variable "MAX_CAPACITY" must be all lower-case
(#430) Variable "MAX_CAPACITY" must not contain underscores.
(#445) This comment is 53% valid code; is this commented out code?
(#464) This comment is 50% valid code; is this commented out code?
(#577) This comment is 50% valid code; is this commented out code?
(#607) This comment is 50% valid code; is this commented out code?
(#755) This comment is 58% valid code; is this commented out code?
(#762) This comment is 50% valid code; is this commented out code?
(#838) This comment is 62% valid code; is this commented out code?
(#841) This comment is 62% valid code; is this commented out code?
(#845) This comment is 100% valid code; is this commented out code?
(#1005) This comment is 46% valid code; is this commented out code?
(#1039) This comment is 59% valid code; is this commented out code?
(#1409) Whitespace found at end of line within string
(#1411) Whitespace found at end of line within string
(#1672) This comment is 56% valid code; is this commented out code?
(#1729) This comment is 50% valid code; is this commented out code?
(#1729) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#1741) This comment is 50% valid code; is this commented out code?
(#1771) This comment is 43% valid code; is this commented out code?
(#1824) This comment is 50% valid code; is this commented out code?
(#1830) This comment is 50% valid code; is this commented out code?
(#1838) This comment is 50% valid code; is this commented out code?
(#2044) This comment is 45% valid code; is this commented out code?
(#2046) This comment is 57% valid code; is this commented out code?
(#2057) This comment is 100% valid code; is this commented out code?
(#2283) The use of function error_log() is forbidden
(#2289) The use of function error_log() is forbidden
(#2338) The use of function error_log() is forbidden
(#2358) The use of function error_log() is forbidden
(#2366) The use of function error_log() is forbidden
(#2372) The use of function error_log() is forbidden
(#2378) The use of function error_log() is forbidden
(#2392) The use of function error_log() is forbidden
(#2515) The use of function error_log() is forbidden
(#2535) This comment is 62% valid code; is this commented out code?
(#2545) This comment is 100% valid code; is this commented out code?
(#2645) This comment is 55% valid code; is this commented out code?
(#2686) Expected 1 space after "?"; newline found
(#2731) Expected 1 space after "="; newline found
(#2814) This comment is 100% valid code; is this commented out code?
(#3356) This comment is 62% valid code; is this commented out code?
(#3363) This comment is 100% valid code; is this commented out code?
(#3547) Expected 1 space after "=>"; newline found
(#3801) The use of function error_log() is forbidden
mod/onetoone/mod_form.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#32) Visibility must be declared on method "definition"
(#70) Visibility must be declared on method "data_preprocessing"
(#70) Expected 1 space after closing parenthesis; found 0
mod/onetoone/session_form.php
(#35) Visibility must be declared on method "definition"
(#179) Visibility must be declared on method "validation"
mod/onetoone/sessions.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/onetoone/signup_form.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) Visibility must be declared on method "definition"
(#73) Visibility must be declared on method "validation"
mod/onetoone/sitenotice_form.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#32) Visibility must be declared on method "definition"
mod/onetoone/version.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/onetoone/whiteboard.php
(#83) Expected "if (...) {\n"; found "if(...){\n"
(#88) Expected "if (...) {\n"; found "if(...){\n"

Javascript coding style problems

(0 errors, 748 warnings)

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

mod/onetoone/bundle/whiteboard/bundle/io/src/iolib.js
(#46) Missing semicolon.
(#52) Expected '===' and instead saw '=='.
(#56) Expected '!==' and instead saw '!='.
(#58) Expected '===' and instead saw '=='.
(#73) Expected '===' and instead saw '=='.
(#76) Expected '!==' and instead saw '!='.
(#85) Expected '===' and instead saw '=='.
(#87) 'userto' is already defined.
(#88) Expected '!==' and instead saw '!='.
(#89) Expected '!==' and instead saw '!='.
(#101) Expected '===' and instead saw '=='.
(#109) Expected '===' and instead saw '=='.
(#117) Expected '===' and instead saw '=='.
(#124) Value of 'e' may be overwritten in IE 8 and earlier.
(#132) Missing semicolon.
(#142) Missing semicolon.
(#151) Missing semicolon.
(#152) Missing semicolon.
(#159) Missing semicolon.
(#168) Missing semicolon.
(#177) Missing semicolon.
(#18) 'callback' is defined but never used.
(#57) 'v' is defined but never used.
mod/onetoone/bundle/whiteboard/index.js
(#39) Missing semicolon.
(#52) Expected '!==' and instead saw '!='.
(#79) Expected '!==' and instead saw '!='.
(#94) Expected '===' and instead saw '=='.
(#97) Expected '!==' and instead saw '!='.
(#99) Expected '===' and instead saw '=='.
(#104) Expected '!==' and instead saw '!='.
(#118) Line is too long.
(#136) Expected '!==' and instead saw '!='.
(#137) Expected '===' and instead saw '=='.
(#166) Expected '!==' and instead saw '!='.
(#173) Expected '!==' and instead saw '!='.
(#183) Expected '!==' and instead saw '!='.
(#191) Expected '!==' and instead saw '!='.
(#205) Expected '===' and instead saw '=='.
(#205) Empty block.
(#208) Expected '===' and instead saw '=='.
(#214) Expected '===' and instead saw '=='.
(#225) Expected '!==' and instead saw '!='.
(#228) Expected '!==' and instead saw '!='.
(#234) Expected '!==' and instead saw '!='.
(#240) Expected '!==' and instead saw '!='.
(#246) Expected '!==' and instead saw '!='.
(#250) Expected '!==' and instead saw '!='.
(#256) Expected '!==' and instead saw '!='.
mod/onetoone/bundle/whiteboard/src/adapter.js
(#15) Expected '===' and instead saw '=='.
(#15) Expected '===' and instead saw '=='.
(#11) 'attachMediaStream' is defined but never used.
mod/onetoone/bundle/whiteboard/src/bridge.js
(#20) Missing semicolon.
(#23) Expected '!==' and instead saw '!='.
(#26) Missing semicolon.
(#29) Expected '===' and instead saw '=='.
(#34) 'i' is already defined.
(#35) Expected '===' and instead saw '=='.
(#42) 'i' used out of scope.
(#48) 'repObj' is already defined.
(#52) Expected '!==' and instead saw '!='.
(#56) Expected an assignment or function call and instead saw an expression.
(#56) Missing semicolon.
(#60) Expected '===' and instead saw '=='.
(#69) Missing semicolon.
(#72) Expected '!==' and instead saw '!='.
(#72) Expected '!==' and instead saw '!='.
(#74) Expected '===' and instead saw '=='.
(#85) Expected an assignment or function call and instead saw an expression.
(#85) Missing semicolon.
mod/onetoone/bundle/whiteboard/src/drawobject.js
(#45) Empty block.
(#52) Expected '===' and instead saw '=='.
(#54) Expected '!==' and instead saw '!='.
(#54) Expected '!==' and instead saw '!='.
(#56) Expected '===' and instead saw '=='.
(#56) Expected '===' and instead saw '=='.
(#66) Expected '!==' and instead saw '!='.
(#86) Expected '===' and instead saw '=='.
(#86) Expected '===' and instead saw '=='.
(#108) Expected '!==' and instead saw '!='.
(#110) Expected '!==' and instead saw '!='.
(#110) Expected '===' and instead saw '=='.
(#115) Expected '===' and instead saw '=='.
(#116) Expected '===' and instead saw '=='.
(#116) Expected '===' and instead saw '=='.
(#126) Expected '===' and instead saw '=='.
(#148) Expected '!==' and instead saw '!='.
(#157) 'currTime' is already defined.
(#159) Expected '===' and instead saw '=='.
(#159) Expected '===' and instead saw '=='.
(#161) Expected '!==' and instead saw '!='.
(#161) Expected '!==' and instead saw '!='.
(#168) Expected '!==' and instead saw '!='.
(#168) Expected '!==' and instead saw '!='.
(#185) Expected '!==' and instead saw '!='.
(#185) Expected '===' and instead saw '=='.
(#185) Expected '===' and instead saw '=='.
(#185) Expected '===' and instead saw '=='.
(#213) Expected '!==' and instead saw '!='.
(#215) Expected '!==' and instead saw '!='.
(#220) Expected '!==' and instead saw '!='.
(#220) Expected '===' and instead saw '=='.
(#227) 'currTime' is already defined.
(#243) Expected '!==' and instead saw '!='.
(#255) Missing semicolon.
(#20) 'startPosX' is defined but never used.
(#21) 'startPosY' is defined but never used.
(#31) 'cobj' is defined but never used.
(#197) 'cobj' is defined but never used.
mod/onetoone/bundle/whiteboard/src/events.js
(#44) Missing semicolon.
(#45) Missing semicolon.
mod/onetoone/bundle/whiteboard/src/freedrawing.js
(#37) Expected '===' and instead saw '=='.
(#43) Expected '!==' and instead saw '!='.
(#127) Expected a conditional expression and instead saw an assignment.
(#167) Expected '===' and instead saw '=='.
(#238) Missing semicolon.
(#239) Missing semicolon.
(#63) 'canvas' is defined but never used.
(#60) 'crtMuser' is defined but never used.
(#90) 'crtMuser' is defined but never used.
(#109) 'currTime' is defined but never used.
(#117) 'ctx' is defined but never used.
(#108) 'pointer' is defined but never used.
(#108) 'crtMuser' is defined but never used.
mod/onetoone/bundle/whiteboard/src/interact.js
(#44) Missing semicolon.
(#54) Expected an assignment or function call and instead saw an expression.
(#55) Expected an assignment or function call and instead saw an expression.
(#58) Expected an assignment or function call and instead saw an expression.
(#61) Expected an assignment or function call and instead saw an expression.
(#73) Expected an assignment or function call and instead saw an expression.
(#74) Expected an assignment or function call and instead saw an expression.
(#77) Missing semicolon.
mod/onetoone/bundle/whiteboard/src/keyboard.js
(#46) Missing semicolon.
(#59) Missing semicolon.
(#51) 'connectionOpen' is defined but never used.
(#55) 'connectionOff' is defined but never used.
(#33) 'e' is defined but never used.
mod/onetoone/bundle/whiteboard/src/lang.js
(#10) Missing semicolon.
mod/onetoone/bundle/whiteboard/src/line.js
(#27) Expected '===' and instead saw '=='.
(#54) Expected '!==' and instead saw '!='.
(#61) Missing semicolon.
(#43) 'noTransform' is defined but never used.
mod/onetoone/bundle/whiteboard/src/makeobj.js
(#38) Expected '===' and instead saw '=='.
(#38) Expected '===' and instead saw '=='.
(#45) Expected '===' and instead saw '=='.
(#51) Expected '===' and instead saw '=='.
(#57) Expected '===' and instead saw '=='.
(#70) Expected '===' and instead saw '=='.
(#73) Expected '===' and instead saw '=='.
(#77) Missing semicolon.
mod/onetoone/bundle/whiteboard/src/mouse.js
(#26) Missing semicolon.
(#28) Creating global 'for' variable. Should be 'for (var type ...'.
(#29) Expected '===' and instead saw '=='.
(#31) Expected '===' and instead saw '=='.
(#33) Expected '===' and instead saw '=='.
(#44) Expected '!==' and instead saw '!='.
(#58) Expected '===' and instead saw '=='.
(#83) Expected '!==' and instead saw '!='.
(#99) Expected '===' and instead saw '=='.
(#112) 'foundTarget' is already defined.
(#113) 'pointer' is already defined.
(#115) Expected '===' and instead saw '=='.
(#115) Expected '===' and instead saw '=='.
(#142) Expected '===' and instead saw '=='.
(#191) Expected '===' and instead saw '=='.
(#207) 'tempTarget' is already defined.
(#223) 'currAdTime' is already defined.
(#228) 'tempTarget' is already defined.
(#254) Expected '===' and instead saw '=='.
(#278) Expected '===' and instead saw '=='.
(#278) Expected '===' and instead saw '=='.
(#296) 'currTime' used out of scope.
(#302) Missing semicolon.
(#303) Missing semicolon.
(#113) 'pointer' is defined but never used.
(#43) 'cobj' is defined but never used.
(#143) 'tempObj' is defined but never used.
(#146) 'target' is defined but never used.
(#223) 'currAdTime' is defined but never used.
(#279) 'pointer' is defined but never used.
mod/onetoone/bundle/whiteboard/src/optimization.js
(#11) Expected '===' and instead saw '=='.
(#14) Expected '===' and instead saw '=='.
(#24) Expected '===' and instead saw '=='.
(#31) Missing semicolon.
(#32) Missing semicolon.
(#35) Expected '===' and instead saw '=='.
(#35) Expected '===' and instead saw '=='.
(#52) Missing semicolon.
(#62) Missing semicolon.
(#6) 'optimization' is defined but never used.
(#45) 'currTime' is defined but never used.
mod/onetoone/bundle/whiteboard/src/oval.js
(#22) Expected '===' and instead saw '=='.
(#26) Expected '===' and instead saw '=='.
(#30) Expected '===' and instead saw '=='.
(#34) Expected '!==' and instead saw '!='.
(#59) Expected '===' and instead saw '=='.
(#66) Expected '!==' and instead saw '!='.
(#70) Expected '!==' and instead saw '!='.
(#78) Missing semicolon.
(#50) 'startingPoint' is defined but never used.
mod/onetoone/bundle/whiteboard/src/packetcontainer.js
(#11) Expected '!==' and instead saw '!='.
(#14) Expected '!==' and instead saw '!='.
(#18) Missing semicolon.
(#91) Missing semicolon.
(#117) Missing semicolon.
mod/onetoone/bundle/whiteboard/src/path.js
(#112) Unreachable 'ctx' after 'break'.
(#128) You might be leaking a variable (y) here.
(#191) Expected an assignment or function call and instead saw an expression.
(#212) Expected '!==' and instead saw '!='.
(#221) 'j' is already defined.
(#234) Expected '===' and instead saw '=='.
(#243) Expected '!==' and instead saw '!='.
(#271) Expected '!==' and instead saw '!='.
(#313) 'mdTime' used out of scope.
(#313) Expected '!==' and instead saw '!='.
(#314) 'mdTime' used out of scope.
(#315) 'mdTime' used out of scope.
(#374) Missing semicolon.
(#89) 'controlX' is defined but never used.
(#90) 'controlY' is defined but never used.
(#91) 'tempX' is defined but never used.
(#92) 'tempY' is defined but never used.
(#273) 'mdTime' is defined but never used.
mod/onetoone/bundle/whiteboard/src/readyfreehandobj.js
(#36) Expected '===' and instead saw '=='.
(#76) Missing semicolon.
(#59) 'ev' is defined but never used.
mod/onetoone/bundle/whiteboard/src/readyobject.js
(#17) 'obj' is already defined.
(#23) Expected '!==' and instead saw '!='.
(#23) Expected '===' and instead saw '=='.
(#40) Expected '===' and instead saw '=='.
(#67) Expected '===' and instead saw '=='.
(#70) Expected '===' and instead saw '=='.
(#73) Expected '===' and instead saw '=='.
(#76) Expected '===' and instead saw '=='.
(#79) Expected '===' and instead saw '=='.
(#91) Missing semicolon.
(#99) Missing semicolon.
(#199) Expected '===' and instead saw '=='.
(#199) Expected '!==' and instead saw '!='.
(#205) Missing semicolon.
(#207) Missing semicolon.
(#240) Unexpected use of '~'.
(#240) Unexpected use of '~'.
(#241) Unexpected use of '~'.
(#241) Unexpected use of '~'.
(#242) Unexpected use of '~'.
(#242) Unexpected use of '~'.
(#243) Unexpected use of '~'.
(#243) Unexpected use of '~'.
(#260) Missing semicolon.
(#347) Missing semicolon.
(#362) Expected '!==' and instead saw '!='.
(#559) Expected an assignment or function call and instead saw an expression.
(#559) Missing semicolon.
(#570) Missing semicolon.
(#580) Expected '===' and instead saw '=='.
(#587) 'delObj' used out of scope.
(#587) Expected '!==' and instead saw '!='.
(#588) 'delObj' used out of scope.
(#605) Expected a conditional expression and instead saw an assignment.
(#636) Expected an assignment or function call and instead saw an expression.
(#636) Missing semicolon.
(#644) Expected '!==' and instead saw '!='.
(#650) Missing semicolon.
(#248) 'rotateWidth' is defined but never used.
(#581) 'delObj' is defined but never used.
mod/onetoone/bundle/whiteboard/src/readytextobj.js
(#41) Expected '!==' and instead saw '!='.
(#41) Expected '!==' and instead saw '!='.
(#43) Expected '!==' and instead saw '!='.
(#43) Expected '===' and instead saw '=='.
(#44) ['oCoords'] is better written in dot notation.
(#44) ['oCoords'] is better written in dot notation.
(#56) Expected '!==' and instead saw '!='.
(#56) Expected '===' and instead saw '=='.
(#58) ['oCoords'] is better written in dot notation.
(#58) ['oCoords'] is better written in dot notation.
(#68) Expected '!==' and instead saw '!='.
(#76) 'obj' is already defined.
(#78) Expected '===' and instead saw '=='.
(#109) Expected '!==' and instead saw '!='.
(#109) Expected '!==' and instead saw '!='.
(#118) Missing semicolon.
(#130) Expected '!==' and instead saw '!='.
(#133) Expected '===' and instead saw '=='.
(#142) Expected '!==' and instead saw '!='.
(#148) Expected '!==' and instead saw '!='.
(#170) Expected '===' and instead saw '=='.
(#173) Expected '===' and instead saw '=='.
(#188) 'i' is already defined.
(#209) Expected '===' and instead saw '=='.
(#230) Expected '!==' and instead saw '!='.
(#235) Missing semicolon.
(#236) Missing semicolon.
(#95) 'mtext' is defined but never used.
(#221) 'tempObj' is defined but never used.
mod/onetoone/bundle/whiteboard/src/rectangle.js
(#24) Expected '===' and instead saw '=='.
(#29) Expected '===' and instead saw '=='.
(#55) Expected '!==' and instead saw '!='.
(#72) Expected '!==' and instead saw '!='.
(#77) Expected '!==' and instead saw '!='.
(#84) Missing semicolon.
(#44) 'noTransform' is defined but never used.
mod/onetoone/bundle/whiteboard/src/replay.js
(#20) Expected '===' and instead saw '=='.
(#25) Expected '!==' and instead saw '!='.
(#34) Expected '===' and instead saw '=='.
(#36) Expected '===' and instead saw '=='.
(#38) Expected '===' and instead saw '=='.
(#47) 'eventObj' is already defined.
(#51) 'eventObj' used out of scope.
(#55) Expected '===' and instead saw '=='.
(#56) Expected '===' and instead saw '=='.
(#61) Expected '===' and instead saw '=='.
(#65) Expected '!==' and instead saw '!='.
(#65) Expected '===' and instead saw '=='.
(#72) Missing semicolon.
(#73) Missing semicolon.
(#47) 'eventObj' is defined but never used.
mod/onetoone/bundle/whiteboard/src/response.js
(#9) Expected '!==' and instead saw '!='.
(#12) Expected '!==' and instead saw '!='.
(#33) 'toolHeight' was used before it was defined.
(#38) 'canvasWrapper' is already defined.
(#46) Expected '!==' and instead saw '!='.
(#64) 'toolHeight' is already defined.
(#71) 'canvasWrapper' is already defined.
(#75) Expected '===' and instead saw '=='.
(#83) Expected '!==' and instead saw '!='.
(#92) Expected an assignment or function call and instead saw an expression.
(#98) Expected '===' and instead saw '=='.
(#98) Expected '===' and instead saw '=='.
(#125) Expected '===' and instead saw '=='.
(#126) Expected '===' and instead saw '=='.
(#139) Expected '!==' and instead saw '!='.
(#140) Expected '===' and instead saw '=='.
(#141) Expected '!==' and instead saw '!='.
(#150) Expected '!==' and instead saw '!='.
(#179) Expected '===' and instead saw '=='.
(#191) Expected '!==' and instead saw '!='.
(#191) Expected '===' and instead saw '=='.
(#192) Expected '===' and instead saw '=='.
(#194) Expected '!==' and instead saw '!='.
mod/onetoone/bundle/whiteboard/src/script.js
(#65) Expected '!==' and instead saw '!='.
(#78) Expected '!==' and instead saw '!='.
(#98) Expected '!==' and instead saw '!='.
(#115) Expected '===' and instead saw '=='.
(#132) Expected '!==' and instead saw '!='.
(#138) Expected '!==' and instead saw '!='.
(#179) Expected '===' and instead saw '=='.
(#186) Expected '!==' and instead saw '!='.
(#186) Expected '!==' and instead saw '!='.
(#187) Expected '!==' and instead saw '!='.
(#187) Expected '!==' and instead saw '!='.
(#188) Expected '!==' and instead saw '!='.
(#188) Expected '!==' and instead saw '!='.
(#214) Expected '===' and instead saw '=='.
(#215) Expected '===' and instead saw '=='.
(#220) Expected '===' and instead saw '=='.
(#242) Expected '===' and instead saw '=='.
(#242) Expected '===' and instead saw '=='.
(#248) Expected '!==' and instead saw '!='.
(#249) Expected '===' and instead saw '=='.
(#249) Expected '!==' and instead saw '!='.
(#252) Expected '!==' and instead saw '!='.
(#252) Expected '!==' and instead saw '!='.
(#256) Expected '===' and instead saw '=='.
(#262) Expected '===' and instead saw '=='.
(#266) Expected '===' and instead saw '=='.
(#267) Expected '===' and instead saw '=='.
(#270) Expected '!==' and instead saw '!='.
(#277) Expected '===' and instead saw '=='.
(#287) Expected '===' and instead saw '=='.
(#290) Expected '!==' and instead saw '!='.
(#298) Expected '===' and instead saw '=='.
(#303) Expected '===' and instead saw '=='.
(#307) Expected '===' and instead saw '=='.
(#311) Expected '!==' and instead saw '!='.
(#311) Expected '!==' and instead saw '!='.
(#311) Expected '!==' and instead saw '!='.
(#311) Expected '!==' and instead saw '!='.
(#312) Expected '!==' and instead saw '!='.
(#312) Expected '!==' and instead saw '!='.
(#312) Expected '!==' and instead saw '!='.
(#313) Missing semicolon.
(#326) Expected '!==' and instead saw '!='.
(#330) Expected '!==' and instead saw '!='.
(#334) Expected '===' and instead saw '=='.
(#344) Expected '===' and instead saw '=='.
(#351) Missing semicolon.
(#362) Expected '!==' and instead saw '!='.
(#7) 'io' is defined but never used.
(#8) 'i' is defined but never used.
(#57) 'replayObjs' is defined but never used.
(#151) 'canvasElem' is defined but never used.
(#167) 'canvas' is defined but never used.
(#174) 'evt' is defined but never used.
(#243) 'ctx' is defined but never used.
mod/onetoone/bundle/whiteboard/src/system.js
(#19) Expected '!==' and instead saw '!='.
(#24) Missing semicolon.
(#27) Expected '===' and instead saw '=='.
(#28) Expected '!==' and instead saw '!='.
(#38) Missing semicolon.
(#41) Expected '===' and instead saw '=='.
(#52) Expected '===' and instead saw '=='.
(#52) Expected '===' and instead saw '=='.
(#63) Expected '===' and instead saw '=='.
(#66) Missing semicolon.
(#70) Line is too long.
(#70) Expected '!==' and instead saw '!='.
(#70) Expected '===' and instead saw '=='.
(#70) Expected '===' and instead saw '=='.
(#75) Missing semicolon.
(#78) Expected '!==' and instead saw '!='.
(#82) 'offset' is already defined.
(#84) 'offset' used out of scope.
(#88) 'width' is already defined.
(#90) 'offset' used out of scope.
(#91) 'width' used out of scope.
(#92) Missing semicolon.
(#101) Expected '!==' and instead saw '!='.
(#106) Missing semicolon.
(#113) Missing semicolon.
(#131) Missing semicolon.
(#135) Expected '!==' and instead saw '!='.
(#143) Expected '!==' and instead saw '!='.
(#68) 'version' is defined but never used.
(#68) 'browser' is defined but never used.
(#68) 'navigator' is defined but never used.
(#82) 'offset' is defined but never used.
(#88) 'width' is defined but never used.
mod/onetoone/bundle/whiteboard/src/text.js
(#22) Missing semicolon.
(#24) Expected '===' and instead saw '=='.
(#47) Missing semicolon.
(#85) Missing semicolon.
(#36) 'noTransform' is defined but never used.
mod/onetoone/bundle/whiteboard/src/triangle.js
(#24) Expected '===' and instead saw '=='.
(#28) Expected '===' and instead saw '=='.
(#32) Expected '===' and instead saw '=='.
(#36) Expected '===' and instead saw '=='.
(#41) Expected '===' and instead saw '=='.
(#56) Expected '===' and instead saw '=='.
(#61) 'widthBy2' is already defined.
(#62) 'heightBy2' is already defined.
(#66) Expected '!==' and instead saw '!='.
(#70) 'widthBy2' used out of scope.
(#70) 'heightBy2' used out of scope.
(#73) 'heightBy2' used out of scope.
(#76) 'widthBy2' used out of scope.
(#76) 'heightBy2' used out of scope.
(#80) Expected '!==' and instead saw '!='.
(#87) Missing semicolon.
(#61) 'widthBy2' is defined but never used.
(#62) 'heightBy2' is defined but never used.
(#53) 'noTransform' is defined but never used.
mod/onetoone/bundle/whiteboard/src/utility.js
(#56) Expected '===' and instead saw '=='.
(#115) Expected '!==' and instead saw '!='.
(#130) Expected '!==' and instead saw '!='.
(#180) Creating global 'for' variable. Should be 'for (var prop ...'.
(#181) Expected '!==' and instead saw '!='.
(#237) Missing semicolon.
mod/onetoone/bundle/whiteboard/src/vcan.js
(#22) Expected '===' and instead saw '=='.
(#57) Missing semicolon.
(#71) Expected '===' and instead saw '=='.
(#71) Expected '===' and instead saw '=='.
(#109) Did you mean to return a conditional instead of an assignment?
(#117) Expected '!==' and instead saw '!='.
(#137) Expected '!==' and instead saw '!='.
(#138) 'ctx' is already defined.
(#146) Expected '===' and instead saw '=='.
(#193) Missing semicolon.
(#207) Expected '===' and instead saw '=='.
(#207) Expected '===' and instead saw '=='.
(#207) Expected '===' and instead saw '=='.
(#207) Missing semicolon.
(#221) Missing semicolon.
(#240) Expected '!==' and instead saw '!='.
(#250) Expected an assignment or function call and instead saw an expression.
(#255) Missing semicolon.
(#266) Expected '===' and instead saw '=='.
(#268) Expected '===' and instead saw '=='.
(#270) Expected '===' and instead saw '=='.
(#272) Expected '===' and instead saw '=='.
(#274) Expected '===' and instead saw '=='.
(#277) Missing semicolon.
(#319) Expected an assignment or function call and instead saw an expression.
(#322) Missing semicolon.
(#355) Unreachable 'ctx' after 'break'.
(#364) Missing semicolon.
(#7) 'io' is defined but never used.
(#140) 'canelem' is defined but never used.
(#145) 'vcanvas' is defined but never used.
(#332) 'controlX' is defined but never used.
(#333) 'controlY' is defined but never used.
(#334) 'tempX' is defined but never used.
(#335) 'tempY' is defined but never used.
mod/onetoone/bundle/whiteboard/src/vcanmain.js
(#18) Expected '===' and instead saw '=='.
(#19) Expected '!==' and instead saw '!='.
(#59) 'obj' is already defined.
(#64) Expected '===' and instead saw '=='.
(#80) Expected '===' and instead saw '=='.
(#107) Expected '===' and instead saw '=='.
(#110) Expected '===' and instead saw '=='.
(#113) Expected '===' and instead saw '=='.
(#116) Expected '===' and instead saw '=='.
(#119) Expected '===' and instead saw '=='.
(#131) Missing semicolon.
(#139) Missing semicolon.
(#240) Expected '===' and instead saw '=='.
(#240) Expected '!==' and instead saw '!='.
(#246) Missing semicolon.
(#248) Missing semicolon.
(#280) Unexpected use of '~'.
(#280) Unexpected use of '~'.
(#281) Unexpected use of '~'.
(#281) Unexpected use of '~'.
(#282) Unexpected use of '~'.
(#282) Unexpected use of '~'.
(#283) Unexpected use of '~'.
(#283) Unexpected use of '~'.
(#298) Missing semicolon.
(#382) Missing semicolon.
(#397) Expected '!==' and instead saw '!='.
(#593) Expected an assignment or function call and instead saw an expression.
(#593) Missing semicolon.
(#604) Missing semicolon.
(#614) Expected '===' and instead saw '=='.
(#621) 'delObj' used out of scope.
(#621) Expected '!==' and instead saw '!='.
(#622) 'delObj' used out of scope.
(#639) Expected a conditional expression and instead saw an assignment.
(#670) Expected an assignment or function call and instead saw an expression.
(#670) Missing semicolon.
(#679) Expected '!==' and instead saw '!='.
(#687) Missing semicolon.
(#288) 'rotateWidth' is defined but never used.
(#615) 'delObj' is defined but never used.
mod/onetoone/bundle/whiteboard/src/video.js
(#14) Missing semicolon.
(#62) Expected '===' and instead saw '=='.
(#83) Expected '===' and instead saw '=='.
(#88) Missing semicolon.
(#96) Expected '!==' and instead saw '!='.
(#97) Expected '===' and instead saw '=='.
(#97) Expected '!==' and instead saw '!='.
(#98) Expected '===' and instead saw '=='.
(#114) Missing semicolon.
(#118) Missing semicolon.
(#144) Expected '===' and instead saw '=='.
(#316) Missing semicolon.
(#354) Expected '!==' and instead saw '!='.
(#355) Expected '===' and instead saw '=='.
(#362) Expected '!==' and instead saw '!='.
(#384) Expected '!==' and instead saw '!='.
(#393) Expected '===' and instead saw '=='.
(#394) Expected '!==' and instead saw '!='.
(#395) Expected '===' and instead saw '=='.
(#395) Expected '===' and instead saw '=='.
(#407) Missing semicolon.
(#408) Missing semicolon.
(#415) Missing semicolon.
(#418) Expected '!==' and instead saw '!='.
(#419) Expected '===' and instead saw '=='.
(#424) Missing semicolon.
(#32) 'vbool' is defined but never used.
(#315) 'parTag' is defined but never used.
(#321) 'parTagId' is defined but never used.
mod/onetoone/bundle/whiteboard/src/video_resize.js
(#296) Line is too long.
(#301) Line is too long.
(#382) Line is too long.
(#383) Line is too long.
(#418) Line is too long.
(#443) Line is too long.
(#451) Line is too long.
(#472) Line is too long.
(#602) Line is too long.
(#691) This character may get silently deleted by one or more browsers.
(#1051) Line is too long.
(#1069) Line is too long.
mod/onetoone/bundle/whiteboard/src/view.js
(#13) Expected '===' and instead saw '=='.
(#16) 'msgBox' is already defined.
(#20) Expected '!==' and instead saw '!='.
(#21) 'msgBox' used out of scope.
(#23) 'msgBox' used out of scope.
(#25) Missing semicolon.
(#29) Expected '!==' and instead saw '!='.
(#33) Expected '!==' and instead saw '!='.
(#37) Missing semicolon.
(#41) Expected '===' and instead saw '=='.
(#50) Missing semicolon.
(#54) Expected '!==' and instead saw '!='.
(#57) Missing semicolon.
(#60) Expected '===' and instead saw '=='.
(#64) Expected '===' and instead saw '=='.
(#65) 'msg' is already defined.
(#68) Missing semicolon.
(#73) Expected '===' and instead saw '=='.
(#77) Expected '===' and instead saw '=='.
(#78) 'msg' is already defined.
(#81) Missing semicolon.
(#86) Missing semicolon.
(#97) Missing semicolon.
(#101) Missing semicolon.
(#107) Missing semicolon.
(#111) Expected '!==' and instead saw '!='.
(#114) Missing semicolon.
(#133) Expected '===' and instead saw '=='.
(#152) Expected '!==' and instead saw '!='.
(#158) Expected '!==' and instead saw '!='.
(#163) Expected '===' and instead saw '=='.
(#167) Expected '!==' and instead saw '!='.
(#175) Expected '===' and instead saw '=='.
(#186) Expected '!==' and instead saw '!='.
(#195) Expected '!==' and instead saw '!='.
(#200) Expected '!==' and instead saw '!='.
(#201) Expected '!==' and instead saw '!='.
(#209) Expected '===' and instead saw '=='.
(#209) Expected '===' and instead saw '=='.
(#220) Expected '!==' and instead saw '!='.
(#221) 'toolBoxHeight' used out of scope.
(#230) Expected an assignment or function call and instead saw an expression.
(#230) Missing semicolon.
(#16) 'msgBox' is defined but never used.
mod/onetoone/bundle/whiteboard/src/virtualbox.js
(#33) Expected '===' and instead saw '=='.
(#53) Expected '===' and instead saw '=='.
(#83) Missing semicolon.
(#111) Missing semicolon.
(#65) 'i' is defined but never used.
(#105) 'canId' is defined but never used.
mod/onetoone/bundle/whiteboard/src/wb_utility.js
(#20) Expected '===' and instead saw '=='.
(#20) Missing semicolon.
(#46) Expected '===' and instead saw '=='.
(#62) Expected '!==' and instead saw '!='.
(#72) Expected '===' and instead saw '=='.
(#74) Expected '!==' and instead saw '!='.
(#102) Empty block.
(#124) Expected '===' and instead saw '=='.
(#132) Expected '!==' and instead saw '!='.
(#136) Expected '===' and instead saw '=='.
(#141) Expected '!==' and instead saw '!='.
(#142) Missing semicolon.
(#149) Expected '===' and instead saw '=='.
(#156) Expected '!==' and instead saw '!='.
(#162) Expected '!==' and instead saw '!='.
(#167) 'i' is already defined.
(#182) Expected '===' and instead saw '=='.
(#204) You might be leaking a variable (y) here.
(#267) Expected '!==' and instead saw '!='.
(#279) Expected '!==' and instead saw '!='.
(#291) Expected '!==' and instead saw '!='.
(#298) Expected '!==' and instead saw '!='.
(#305) Expected '===' and instead saw '=='.
(#308) Expected '!==' and instead saw '!='.
(#316) Expected '===' and instead saw '=='.
(#320) Expected '!==' and instead saw '!='.
(#321) Expected '!==' and instead saw '!='.
(#335) 'cmdToolsWrapper' is already defined.
(#336) Expected '!==' and instead saw '!='.
(#344) Expected '!==' and instead saw '!='.
(#349) Expected '!==' and instead saw '!='.
(#358) Expected '===' and instead saw '=='.
(#364) Expected '!==' and instead saw '!='.
(#381) Expected '!==' and instead saw '!='.
(#382) Expected '!==' and instead saw '!='.
(#387) Expected '!==' and instead saw '!='.
(#400) Expected '!==' and instead saw '!='.
(#415) Expected '!==' and instead saw '!='.
(#492) Expected '!==' and instead saw '!='.
(#496) Expected '!==' and instead saw '!='.
(#505) Expected '===' and instead saw '=='.
(#526) Expected '===' and instead saw '=='.
(#527) Expected '===' and instead saw '=='.
(#531) Expected '===' and instead saw '=='.
(#531) Expected '===' and instead saw '=='.
(#533) Expected '===' and instead saw '=='.
(#538) Expected '===' and instead saw '=='.
(#542) Expected '===' and instead saw '=='.
(#554) Expected '!==' and instead saw '!='.
(#555) Expected '!==' and instead saw '!='.
(#572) Expected '!==' and instead saw '!='.
(#575) 'toolHeight' is already defined.
(#576) Expected '!==' and instead saw '!='.
(#579) Expected '!==' and instead saw '!='.
(#580) 'toolHeight' used out of scope.
(#582) Expected '!==' and instead saw '!='.
(#585) 'toolHeight' used out of scope.
(#593) Expected '!==' and instead saw '!='.
(#600) Expected '!==' and instead saw '!='.
(#603) Expected '!==' and instead saw '!='.
(#605) Expected '===' and instead saw '=='.
(#609) 'marginTop' used out of scope.
(#622) Expected '!==' and instead saw '!='.
(#624) Expected '===' and instead saw '=='.
(#642) 'classes' is already defined.
(#657) Expected '!==' and instead saw '!='.
(#662) Expected '!==' and instead saw '!='.
(#666) Expected '===' and instead saw '=='.
(#668) Expected '!==' and instead saw '!='.
(#675) 'roles' used out of scope.
(#676) 'roles' used out of scope.
(#676) Expected '===' and instead saw '=='.
(#677) 'roles' used out of scope.
(#681) 'roles' used out of scope.
(#681) Expected '!==' and instead saw '!='.
(#682) 'roles' used out of scope.
(#686) Expected '===' and instead saw '=='.
(#689) Expected '!==' and instead saw '!='.
(#693) Expected '!==' and instead saw '!='.
(#695) Expected '===' and instead saw '=='.
(#718) Expected '===' and instead saw '=='.
(#720) Expected '!==' and instead saw '!='.
(#736) Expected '!==' and instead saw '!='.
(#743) Expected '!==' and instead saw '!='.
(#751) Expected '!==' and instead saw '!='.
(#768) Expected '!==' and instead saw '!='.
(#775) Expected '!==' and instead saw '!='.
(#782) Expected '!==' and instead saw '!='.
(#804) Expected '===' and instead saw '=='.
(#812) Expected '!==' and instead saw '!='.
(#828) Expected '!==' and instead saw '!='.
(#829) Expected '===' and instead saw '=='.
(#837) Expected '===' and instead saw '=='.
(#838) Expected '!==' and instead saw '!='.
(#841) Expected '===' and instead saw '=='.
(#842) Expected '!==' and instead saw '!='.
(#844) Expected '!==' and instead saw '!='.
(#848) Expected '!==' and instead saw '!='.
(#856) Expected '!==' and instead saw '!='.
(#875) Expected '!==' and instead saw '!='.
(#888) Expected '!==' and instead saw '!='.
(#891) 'msg' is already defined.
(#895) 'msg' used out of scope.
(#896) 'msg' used out of scope.
(#898) Expected '!==' and instead saw '!='.
(#911) Expected '===' and instead saw '=='.
(#918) Expected '===' and instead saw '=='.
(#932) Expected '!==' and instead saw '!='.
(#933) Expected '!==' and instead saw '!='.
(#939) Expected '!==' and instead saw '!='.
(#945) Expected '!==' and instead saw '!='.
(#949) Expected '===' and instead saw '=='.
(#950) Expected '!==' and instead saw '!='.
(#960) Expected '!==' and instead saw '!='.
(#380) 'result' is defined but never used.
(#500) 'e' is defined but never used.
(#567) 'offset' is defined but never used.
(#598) 'attr' is defined but never used.
(#655) 'whoIs' is defined but never used.
(#705) 'myId' is defined but never used.
(#735) 'e' is defined but never used.
(#882) 'value' is defined but never used.
(#882) 'msg' is defined but never used.
(#891) 'msg' is defined but never used.

CSS problems

(4 errors, 30 warnings)

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

mod/onetoone/bundle/whiteboard/css/styles.css
(#30) Duplicate property 'border' found.
(#194) Expected (<integer> | auto | inherit) but found '20px'.
(#321) Use of !important
(#322) Use of !important
(#323) Use of !important
(#346) Use of !important
(#347) Use of !important
(#349) Use of !important
(#351) Use of !important
(#353) Use of !important
(#354) Use of !important
(#355) Use of !important
(#356) Use of !important
(#357) Use of !important
(#358) Use of !important
(#361) Use of !important
(#361) Duplicate property 'border-radius' found.
(#460) Expected (inline | block | list-item | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | grid | inline-grid | none | inherit | -moz-box | -moz-inline-block | -moz-inline-box | -moz-inline-grid | -moz-inline-stack | -moz-inline-table | -moz-grid | -moz-grid-group | -moz-grid-line | -moz-groupbox | -moz-deck | -moz-popup | -moz-stack | -moz-marker | -webkit-box | -webkit-inline-box | -ms-flexbox | -ms-inline-flexbox | flex | -webkit-flex | inline-flex | -webkit-inline-flex) but found 'none\9'.
(#460) Use of !important
(#464) Expected end of value but found 'solid\9'.
(#464) Use of !important
(#534) Expected (<length> | <percentage> | <content-sizing> | contain-floats | -moz-contain-floats | -webkit-contain-floats | inherit) but found 'auto'.
(#565) Use of !important
(#566) Use of !important
(#612) Use of !important
(#620) Use of !important
(#672) Use of !important
(#672) Use of !important
(#674) Use of !important
(#674) Use of !important
(#677) Rule is empty.
(#696) Duplicate property 'padding' found.
(#708) Duplicate property 'padding' found.
mod/onetoone/styles.css
(#43) Expected end of value but found 'atuo'.

PHPDocs style problems

(311 errors, 16 warnings)

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

mod/onetoone/attendees.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#22) Package mod is not valid
mod/onetoone/auth.php
(#26) Function my_curl_request is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#21) Package mod is not valid
mod/onetoone/backup/moodle2/backup_onetoone_activity_task.class.php
(#28) No one-line description found in phpdocs for class backup_onetoone_activity_task
(#49) Phpdocs for function backup_onetoone_activity_task::encode_content_links has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#28) Class backup_onetoone_activity_task does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#28) Class backup_onetoone_activity_task does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/backup/moodle2/backup_onetoone_stepslib.php
(#27) Class backup_onetoone_activity_structure_step is not documented
(#29) Function backup_onetoone_activity_structure_step::define_structure is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/backup/moodle2/restore_onetoone_activity_task.class.php
(#31) No one-line description found in phpdocs for class restore_onetoone_activity_task
(#44) There is no description in phpdocs for function define_my_steps
(#17) File-level phpdocs block does not have @copyright tag
(#31) Class restore_onetoone_activity_task does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#31) Class restore_onetoone_activity_task does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/backup/moodle2/restore_onetoone_stepslib.php
(#33) Function restore_onetoone_activity_structure_step::define_structure is not documented
(#56) Function restore_onetoone_activity_structure_step::process_onetoone is not documented
(#69) Function restore_onetoone_activity_structure_step::process_onetoone_session is not documented
(#86) Function restore_onetoone_activity_structure_step::process_onetoone_signup is not documented
(#101) Function restore_onetoone_activity_structure_step::process_onetoone_signups_status is not documented
(#116) Function restore_onetoone_activity_structure_step::process_onetoone_session_roles is not documented
(#131) Function restore_onetoone_activity_structure_step::process_onetoone_session_data is not documented
(#146) Function restore_onetoone_activity_structure_step::process_onetoone_session_field is not documented
(#172) Function restore_onetoone_activity_structure_step::after_execute is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#28) Class restore_onetoone_activity_structure_step does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#28) Class restore_onetoone_activity_structure_step does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/bundle/whiteboard/example/auth.php
(#2) Empty line found after PHP open tag
(#2) File-level phpdocs block is not found
(#2) Function my_curl_request is not documented
(#2) Package is not specified for function my_curl_request. It is also not specified in file-level phpdocs
mod/onetoone/bundle/whiteboard/example/js.debug.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
mod/onetoone/bundle/whiteboard/example/js.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
mod/onetoone/bundle/whiteboard/example/student.php
(#2) Empty line found after PHP open tag
(#29) Found comment starting with three or more slashes
(#24) Package mod_newmodule is not valid
mod/onetoone/bundle/whiteboard/example/student2.php
(#2) Empty line found after PHP open tag
(#29) Found comment starting with three or more slashes
(#24) Package mod_newmodule is not valid
mod/onetoone/bundle/whiteboard/example/teacher.php
(#2) Empty line found after PHP open tag
(#29) Found comment starting with three or more slashes
(#24) Package mod_newmodule is not valid
mod/onetoone/bundle/whiteboard/example/teacher2.php
(#2) Empty line found after PHP open tag
(#29) Found comment starting with three or more slashes
(#24) Package mod_newmodule is not valid
mod/onetoone/cancelsignup.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#22) Package mod is not valid
mod/onetoone/cancelsignup_form.php
(#28) Class mod_onetoone_cancelsignup_form is not documented
(#30) Function mod_onetoone_cancelsignup_form::definition is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#22) Package mod is not valid
mod/onetoone/cron.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#22) Package mod is not valid
mod/onetoone/customfield.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#22) Package mod is not valid
mod/onetoone/customfield_form.php
(#28) Class mod_onetoone_customfield_form is not documented
(#30) Function mod_onetoone_customfield_form::definition is not documented
(#70) Function mod_onetoone_customfield_form::validation is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#22) Package mod is not valid
mod/onetoone/db/access.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/db/events.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/db/log.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/db/upgrade.php
(#17) File-level phpdocs block is not found
(#17) Phpdocs for function xmldb_onetoone_upgrade has incomplete parameters list
(#17) Invalid phpdocs tag @author(current) used
(#20) Package mod is not valid
mod/onetoone/editattendees.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#22) Package mod is not valid
mod/onetoone/index.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#22) Package mod is not valid
mod/onetoone/js.debug.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#20) Package mod is not valid
mod/onetoone/js.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#20) Package mod is not valid
mod/onetoone/lang/en/onetoone.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/lib.php
(#109) Function onetoone_get_status is not documented
(#135) Function onetoone_format_cost is not documented
(#163) Function onetoone_cost is not documented
(#187) Function onetoone_format_duration is not documented
(#369) Function onetoone_delete_instance is not documented
(#420) Function onetoone_cleanup_session_data is not documented
(#454) Function onetoone_add_session is not documented
(#496) Function onetoone_update_session is not documented
(#513) Function onetoone_update_calendar_entries is not documented
(#969) Function onetoone_has_session_started is not documented
(#2464) Function onetoone_take_individual_attendance is not documented
(#2853) Function onetoone_ical_generate_timestamp is not documented
(#3558) Function onetoone_update_trainers is not documented
(#3960) Function onetoone_candidate_selector::__construct is not documented
(#4012) Function onetoone_candidate_selector::get_options is not documented
(#4026) Function onetoone_existing_selector::__construct is not documented
(#4121) Function onetoone_existing_selector::get_options is not documented
(#3958) Variable onetoone_candidate_selector::$sessionid is not documented
(#4024) Variable onetoone_existing_selector::$sessionid is not documented
(#3937) There is no description in phpdocs for function onetoone_supports
(#232) Phpdocs for function onetoone_minutes_to_hours has incomplete parameters list
(#250) Phpdocs for function onetoone_hours_to_minutes has incomplete parameters list
(#266) Phpdocs for function onetoone_fix_settings has incomplete parameters list
(#290) Phpdocs for function onetoone_add_instance has incomplete parameters list
(#339) Phpdocs for function onetoone_update_instance has incomplete parameters list
(#553) Phpdocs for function onetoone_update_attendees has incomplete parameters list
(#1073) Phpdocs for function onetoone_get_attendees has incomplete parameters list
(#1144) Phpdocs for function onetoone_get_attendee has incomplete parameters list
(#1221) Phpdocs for function onetoone_download_attendance has incomplete parameters list
(#1599) Phpdocs for function onetoone_get_user_customfields has incomplete parameters list
(#1685) Phpdocs for function onetoone_user_signup has incomplete parameters list
(#1915) Phpdocs for function onetoone_update_signup_status has incomplete parameters list
(#2203) Phpdocs for function onetoone_check_signup has incomplete parameters list
(#2490) Phpdocs for function onetoone_print_coursemodule_info has incomplete parameters list
(#2702) Phpdocs for function onetoone_get_ical_attachment has incomplete parameters list
(#2857) Phpdocs for function onetoone_ical_escape has incomplete parameters list
(#2914) Phpdocs for function onetoone_grade_item_update has incomplete parameters list
(#3079) Phpdocs for function onetoone_user_outline has incomplete parameters list
(#3106) Phpdocs for function onetoone_user_complete has incomplete parameters list
(#3142) Phpdocs for function onetoone_add_session_to_calendar has incomplete parameters list
(#3216) Phpdocs for function onetoone_remove_session_from_calendar has incomplete parameters list
(#3770) Phpdocs for function onetoone_add_customfields_to_form has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#3954) Class onetoone_candidate_selector does not have @copyright tag
(#4020) Class onetoone_existing_selector does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#3954) Class onetoone_candidate_selector does not have @license tag
(#4020) Class onetoone_existing_selector does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#1052) Invalid phpdocs tag @returns used
(#1259) Invalid phpdocs tag @returns used
(#1306) Invalid phpdocs tag @returns used
(#1922) Invalid phpdocs tag @returns used
(#2002) Invalid phpdocs tag @returns used
(#2151) Invalid phpdocs tag @returns used
(#2183) Invalid phpdocs tag @returns used
(#2208) Invalid phpdocs tag @returns used
(#3443) Invalid phpdocs tag @returns used
(#3484) Invalid phpdocs tag @returns used
(#3504) Invalid phpdocs tag @returns used
(#732) Not recommended phpdocs tag @access used
(#1072) Not recommended phpdocs tag @access used
(#1143) Not recommended phpdocs tag @access used
(#2207) Not recommended phpdocs tag @global used
(#2494) Not recommended phpdocs tag @global used
(#2494) Not recommended phpdocs tag @global used
(#3817) Not recommended phpdocs tag @access used
(#3880) Not recommended phpdocs tag @access used
(#3906) Not recommended phpdocs tag @access used
(#106) Invalid inline phpdocs tag @param found
(#2149) Invalid inline phpdocs tag @see found
(#2702) Invalid inline phpdocs tag @see found
(#23) Package mod is not valid
mod/onetoone/mod_form.php
(#30) Class mod_onetoone_mod_form is not documented
(#32) Function mod_onetoone_mod_form::definition is not documented
(#70) Function mod_onetoone_mod_form::data_preprocessing is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/renderer.php
(#29) Class mod_onetoone_renderer is not documented
(#30) Phpdocs for function mod_onetoone_renderer::print_session_list_table has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/session_form.php
(#33) Class mod_onetoone_session_form is not documented
(#35) Function mod_onetoone_session_form::definition is not documented
(#179) Function mod_onetoone_session_form::validation is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/sessions.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/signup.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#22) Package mod is not valid
mod/onetoone/signup_form.php
(#29) Class mod_onetoone_signup_form is not documented
(#31) Function mod_onetoone_signup_form::definition is not documented
(#73) Function mod_onetoone_signup_form::validation is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#22) Package mod is not valid
mod/onetoone/sitenotice.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/sitenotice_form.php
(#30) Class mod_onetoone_sitenotice_form is not documented
(#32) Function mod_onetoone_sitenotice_form::definition is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#22) Package mod is not valid
mod/onetoone/version.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#22) Package mod is not valid
mod/onetoone/view.php
(#130) Function onetoone_print_session_list is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid
mod/onetoone/whiteboard.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(current) used
(#17) Invalid phpdocs tag @author(previous) used
(#17) Invalid phpdocs tag @author(previous) used
(#23) Package mod is not valid

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]


Mustache template problems

(0 errors, 0 warnings)

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