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

(355 errors, 170 warnings)

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

local/reminders/contents/activity_formatter.class.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#26) Whitespace found at end of line
(#30) Whitespace found at end of line
(#33) Whitespace found at end of line
(#54) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#55) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#62) Commas (,) must be followed by white space.
(#66) Whitespace found at end of line
(#70) Whitespace found at end of line
(#85) Whitespace found at end of line
(#94) Whitespace found at end of line
local/reminders/contents/course_reminder.class.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Whitespace found at end of line
(#32) Whitespace found at end of line
(#37) Whitespace found at end of line
(#42) Line exceeds 132 characters; contains 133 characters
(#45) Whitespace found at end of line
(#46) Whitespace found at end of line
(#49) Whitespace found at end of line
(#54) Whitespace found at end of line
(#59) Whitespace found at end of line
(#68) Whitespace found at end of line
(#71) Whitespace found at end of line
(#77) Whitespace found at end of line
(#91) Whitespace found at end of line
(#94) Whitespace found at end of line
local/reminders/contents/due_reminder.class.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) Whitespace found at end of line
(#35) Whitespace found at end of line
(#40) Whitespace found at end of line
(#49) Whitespace found at end of line
(#54) Line exceeds 132 characters; contains 133 characters
(#57) Whitespace found at end of line
(#58) Whitespace found at end of line
(#61) Whitespace found at end of line
(#66) Whitespace found at end of line
(#71) Whitespace found at end of line
(#77) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#78) Whitespace found at end of line
(#80) Expected 1 space after "="; 2 found
(#86) This comment is 50% valid code; is this commented out code?
(#92) Whitespace found at end of line
(#96) Whitespace found at end of line
(#99) Whitespace found at end of line
(#106) Whitespace found at end of line
(#124) Whitespace found at end of line
(#127) Whitespace found at end of line
local/reminders/contents/group_reminder.class.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) Whitespace found at end of line
(#35) Whitespace found at end of line
(#38) Whitespace found at end of line
(#44) Whitespace found at end of line
(#53) Whitespace found at end of line
(#56) Whitespace found at end of line
(#65) Whitespace found at end of line
(#68) Whitespace found at end of line
(#72) Line exceeds 132 characters; contains 133 characters
(#75) Whitespace found at end of line
(#76) Whitespace found at end of line
(#79) Whitespace found at end of line
(#84) Whitespace found at end of line
(#91) Whitespace found at end of line
(#99) Whitespace found at end of line
(#108) Expected 1 space after "="; 2 found
(#114) This comment is 50% valid code; is this commented out code?
(#120) Whitespace found at end of line
(#124) Whitespace found at end of line
(#127) Whitespace found at end of line
(#139) Whitespace found at end of line
(#155) Whitespace found at end of line
(#159) Whitespace found at end of line
(#162) Whitespace found at end of line
local/reminders/contents/site_reminder.class.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Whitespace found at end of line
(#31) Possible useless method overriding detected
(#34) Whitespace found at end of line
(#39) Line exceeds 132 characters; contains 133 characters
(#42) Whitespace found at end of line
(#43) Whitespace found at end of line
(#46) Whitespace found at end of line
(#56) Whitespace found at end of line
(#60) Whitespace found at end of line
(#63) Whitespace found at end of line
(#68) Whitespace found at end of line
local/reminders/contents/user_reminder.class.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Whitespace found at end of line
(#32) Whitespace found at end of line
(#37) Whitespace found at end of line
(#42) Line exceeds 132 characters; contains 133 characters
(#45) Whitespace found at end of line
(#46) Whitespace found at end of line
(#49) Whitespace found at end of line
(#54) Whitespace found at end of line
(#64) Whitespace found at end of line
(#68) Whitespace found at end of line
(#71) Whitespace found at end of line
(#77) Whitespace found at end of line
(#88) Whitespace found at end of line
(#91) Whitespace found at end of line
(#94) Whitespace found at end of line
(#97) Whitespace found at end of line
local/reminders/coursesettings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Expected 1 space before "=>"; 0 found
(#29) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#43) Expected 1 space before "=>"; 0 found
(#43) Expected 1 space after "=>"; 0 found
local/reminders/coursesettings_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Spaces must be used to indent lines; tabs are not allowed
(#30) Tab found within whitespace
(#30) Line indented incorrectly; expected 4 spaces, found 1
(#30) Visibility must be declared on method "definition"
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) This comment is 72% valid code; is this commented out code?
(#36) Line exceeds 132 characters; contains 149 characters
(#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 72% valid code; is this commented out code?
(#39) Whitespace found at end of line
(#40) Line exceeds 132 characters; contains 150 characters
(#43) Line exceeds 132 characters; contains 147 characters
(#53) Closing brace indented incorrectly; expected 1 spaces, found 4
local/reminders/db/access.php
(#28) Whitespace found at end of line
(#41) Whitespace found at end of line
local/reminders/db/install.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#26) Whitespace found at end of line
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Whitespace found at end of line
local/reminders/db/messages.php
(#29) Whitespace found at end of line
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Whitespace found at end of line
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Whitespace found at end of line
(#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
(#41) Whitespace found at end of line
(#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
(#45) Whitespace found at end of line
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Whitespace found at end of line
local/reminders/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#44) Expected MOODLE_INTERNAL check or config.php inclusion
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Whitespace found at end of line
local/reminders/lib.php
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) 3 slashes comments are not allowed; use "// Comment." instead
(#44) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#46) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#48) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#48) Expected 1 space before "*"; 0 found
(#48) Expected 1 space after "*"; 0 found
(#48) Expected 1 space before "*"; 0 found
(#48) Expected 1 space after "*"; 0 found
(#49) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#49) Expected 1 space before "*"; 0 found
(#49) Expected 1 space after "*"; 0 found
(#49) Expected 1 space before "*"; 0 found
(#49) Expected 1 space after "*"; 0 found
(#50) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#50) Expected 1 space before "*"; 0 found
(#50) Expected 1 space after "*"; 0 found
(#52) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#53) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#55) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#56) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#57) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#59) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#60) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) This comment is 60% valid code; is this commented out code?
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) 3 slashes comments are not allowed; use "// Comment." instead
(#69) Whitespace found at end of line
(#73) Whitespace found at end of line
(#78) Whitespace found at end of line
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Inline comments must start with a capital letter, digit or 3-dots sequence
(#105) This comment is 63% valid code; is this commented out code?
(#105) No space found before comment text; expected "// $params = array();" but found "//$params = array();"
(#106) This comment is 50% valid code; is this commented out code?
(#106) No space found before comment text; expected "// $selector = "l.course = 0 AND l.module = 'local_reminders' AND l.action = 'cron'";" but found "//$selector = "l.course = 0 AND l.module = 'local_reminders' AND l.action = 'cron'";"
(#107) This comment is 50% valid code; is this commented out code?
(#107) No space found before comment text; expected "// $totalcount = 0;" but found "//$totalcount = 0;"
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) This comment is 63% valid code; is this commented out code?
(#108) No space found before comment text; expected "// $logrows = get_logs($selector, $params, 'l.time DESC', '', 1, $totalcount);" but found "//$logrows = get_logs($selector, $params, 'l.time DESC', '', 1, $totalcount);"
(#110) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Inline comments must start with a capital letter, digit or 3-dots sequence
(#123) Whitespace found at end of line
(#124) Inline comments must start with a capital letter, digit or 3-dots sequence
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) Inline comments must start with a capital letter, digit or 3-dots sequence
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Whitespace found at end of line
(#132) Inline comments must start with a capital letter, digit or 3-dots sequence
(#144) Expected "if (...) {\n"; found "if(...) {\n"
(#152) Whitespace found at end of line
(#160) This comment is 64% valid code; is this commented out code?
(#160) Inline comments must start with a capital letter, digit or 3-dots sequence
(#160) No space found before comment text; expected "// mtrace(" [Local Reminder] Time window: ".$timewindowstart." to ".$timewindowend);" but found "//mtrace(" [Local Reminder] Time window: ".$timewindowstart." to ".$timewindowend);"
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) This comment is 72% valid code; is this commented out code?
(#161) No space found before comment text; expected "// mtrace(" [Local Reminder] Where clause: ".$whereclause);" but found "//mtrace(" [Local Reminder] Where clause: ".$whereclause);"
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) Whitespace found at end of line
(#172) Whitespace found at end of line
(#181) Whitespace found at end of line
(#182) Inline comments must start with a capital letter, digit or 3-dots sequence
(#189) Whitespace found at end of line
(#192) Whitespace found at end of line
(#195) Whitespace found at end of line
(#199) Inline comments must start with a capital letter, digit or 3-dots sequence
(#211) Whitespace found at end of line
(#212) Inline control structures are not allowed
(#234) Inline comments must start with a capital letter, digit or 3-dots sequence
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#245) Whitespace found at end of line
(#249) Whitespace found at end of line
(#251) Whitespace found at end of line
(#253) Whitespace found at end of line
(#257) Whitespace found at end of line within string
(#258) Whitespace found at end of line within string
(#271) Whitespace found at end of line
(#277) Expected 1 space before "=>"; 0 found
(#277) Expected 1 space after "=>"; 0 found
(#279) Line exceeds 132 characters; contains 147 characters
(#284) Inline comments must start with a capital letter, digit or 3-dots sequence
(#284) Inline comments must end in full-stops, exclamation marks, or question marks
(#284) This comment is 60% valid code; is this commented out code?
(#284) No space found before comment text; expected "// get_context_instance(CONTEXT_COURSE, $course->id);" but found "//get_context_instance(CONTEXT_COURSE, $course->id);"
(#287) Closing brace must be on a line by itself
(#290) Inline comments must start with a capital letter, digit or 3-dots sequence
(#300) Inline comments must start with a capital letter, digit or 3-dots sequence
(#303) Line exceeds 132 characters; contains 135 characters
(#304) Whitespace found at end of line
(#309) Inline comments must start with a capital letter, digit or 3-dots sequence
(#312) Line exceeds 132 characters; contains 135 characters
(#313) Whitespace found at end of line
(#322) Expected 1 space before "=>"; 0 found
(#322) Expected 1 space after "=>"; 0 found
(#324) Line exceeds 132 characters; contains 148 characters
(#330) Inline comments must start with a capital letter, digit or 3-dots sequence
(#330) Inline comments must end in full-stops, exclamation marks, or question marks
(#330) This comment is 60% valid code; is this commented out code?
(#330) No space found before comment text; expected "// get_context_instance(CONTEXT_MODULE, $cm->id);" but found "//get_context_instance(CONTEXT_MODULE, $cm->id);"
(#334) Inline comments must start with a capital letter, digit or 3-dots sequence
(#335) Line exceeds 132 characters; contains 134 characters
(#339) Inline comments must start with a capital letter, digit or 3-dots sequence
(#340) Line exceeds 132 characters; contains 135 characters
(#344) Line exceeds 132 characters; contains 169 characters
(#344) Inline comments must start with a capital letter, digit or 3-dots sequence
(#344) Inline comments must end in full-stops, exclamation marks, or question marks
(#344) This comment is 50% valid code; is this commented out code?
(#347) Line exceeds 132 characters; contains 157 characters
(#347) Inline comments must start with a capital letter, digit or 3-dots sequence
(#348) Inline comments must end in full-stops, exclamation marks, or question marks
(#348) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#365) Expected 1 space before "=>"; 0 found
(#365) Expected 1 space after "=>"; 0 found
(#367) Line exceeds 132 characters; contains 150 characters
(#373) Inline comments must start with a capital letter, digit or 3-dots sequence
(#374) Inline comments must end in full-stops, exclamation marks, or question marks
(#387) Line indented incorrectly; expected 20 spaces, found 21
(#393) Inline comments must start with a capital letter, digit or 3-dots sequence
(#393) Inline comments must end in full-stops, exclamation marks, or question marks
(#393) This comment is 55% valid code; is this commented out code?
(#396) Whitespace found at end of line
(#397) Inline comments must start with a capital letter, digit or 3-dots sequence
(#397) Inline comments must end in full-stops, exclamation marks, or question marks
(#397) This comment is 60% valid code; is this commented out code?
(#397) No space found before comment text; expected "// $sendusers = get_enrolled_users($context, '', $event->groupid, 'u.*');" but found "//$sendusers = get_enrolled_users($context, '', $event->groupid, 'u.*');"
(#402) Line indented incorrectly; expected 20 spaces, found 21
(#404) Line indented incorrectly; expected 20 spaces, found 21
(#413) Whitespace found at end of line
(#418) Whitespace found at end of line
(#424) Whitespace found at end of line
(#427) Whitespace found at end of line
(#430) Inline comments must start with a capital letter, digit or 3-dots sequence
(#430) Inline comments must end in full-stops, exclamation marks, or question marks
(#430) This comment is 50% valid code; is this commented out code?
(#430) No space found before comment text; expected "// $eventdata->userto = $touser;" but found "//$eventdata->userto = $touser;"
(#431) Whitespace found at end of line
(#432) This comment is 60% valid code; is this commented out code?
(#432) Inline comments must start with a capital letter, digit or 3-dots sequence
(#432) No space found before comment text; expected "// foreach ($touser as $key => $value) {" but found "//foreach ($touser as $key => $value) {"
(#433) This comment is 67% valid code; is this commented out code?
(#433) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#434) This comment is 100% valid code; is this commented out code?
(#434) No space found before comment text; expected "// }" but found "//}"
(#435) This comment is 43% valid code; is this commented out code?
(#435) No space found before comment text; expected "// $mailresult = 1; //message_send($eventdata);" but found "//$mailresult = 1; //message_send($eventdata);"
(#436) This comment is 80% valid code; is this commented out code?
(#436) No space found before comment text; expected "// mtrace("-----------------------------------");" but found "//mtrace("-----------------------------------");"
(#437) This comment is 72% valid code; is this commented out code?
(#437) No space found before comment text; expected "// mtrace($eventdata->fullmessagehtml);" but found "//mtrace($eventdata->fullmessagehtml);"
(#438) Inline comments must end in full-stops, exclamation marks, or question marks
(#438) This comment is 80% valid code; is this commented out code?
(#438) No space found before comment text; expected "// mtrace("-----------------------------------");" but found "//mtrace("-----------------------------------");"
(#445) Whitespace found at end of line
(#451) Whitespace found at end of line
(#457) Whitespace found at end of line
(#459) Whitespace found at end of line
(#461) Whitespace found at end of line
(#462) Inline comments must start with a capital letter, digit or 3-dots sequence
(#462) Inline comments must end in full-stops, exclamation marks, or question marks
(#462) This comment is 70% valid code; is this commented out code?
(#462) No space found before comment text; expected "// add_to_log(0, 'local_reminders', 'cron', '', $timewindowend, 0, 0);" but found "//add_to_log(0, 'local_reminders', 'cron', '', $timewindowend, 0, 0);"
(#478) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#479) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#499) Variable "newRecord" must be all lower-case
(#500) Variable "newRecord" must be all lower-case
(#501) Variable "newRecord" must be all lower-case
(#502) Variable "newRecord" must be all lower-case
(#507) Whitespace found at end of line
(#512) Whitespace found at end of line
(#515) Whitespace found at end of line
(#519) Whitespace found at end of line
(#520) Whitespace found at end of line
(#526) Expected 1 space before "=>"; 0 found
(#526) Expected 1 space after "=>"; 0 found
(#526) Expected 1 space before "=>"; 0 found
(#526) Expected 1 space after "=>"; 0 found
(#552) Whitespace found at end of line
(#554) Whitespace found at end of line
(#557) function name "isemptyString" must be lower-case letters only
(#563) Whitespace found at end of line
(#568) Whitespace found at end of line
(#573) Whitespace found at end of line
local/reminders/reminder.class.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#26) Whitespace found at end of line
(#31) Whitespace found at end of line
(#36) Whitespace found at end of line
(#42) Whitespace found at end of line
(#45) Line exceeds 132 characters; contains 137 characters
(#46) Whitespace found at end of line
(#52) Whitespace found at end of line
(#57) Whitespace found at end of line
(#64) Whitespace found at end of line
(#70) Whitespace found at end of line
(#79) Whitespace found at end of line
(#82) Whitespace found at end of line
(#85) Whitespace found at end of line
(#86) Whitespace found at end of line
(#90) Whitespace found at end of line
(#93) Whitespace found at end of line
(#97) Whitespace found at end of line
(#118) Inline comments must start with a capital letter, digit or 3-dots sequence
(#120) Inline comments must start with a capital letter, digit or 3-dots sequence
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) This comment is 59% valid code; is this commented out code?
(#122) No space found before comment text; expected "// $followedtimeformat = get_string('strftimetime', 'langconfig');" but found "//$followedtimeformat = get_string('strftimetime', 'langconfig');"
(#141) Whitespace found at end of line
(#148) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#149) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#152) Whitespace found at end of line
(#153) Inline comments must start with a capital letter, digit or 3-dots sequence
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#156) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#156) Commas (,) must be followed by white space.
(#160) Whitespace found at end of line
(#164) Whitespace found at end of line
(#168) Whitespace found at end of line
(#176) Whitespace found at end of line
(#184) Whitespace found at end of line
(#187) Whitespace found at end of line
(#188) Whitespace found at end of line
(#191) Whitespace found at end of line
(#197) Whitespace found at end of line
(#202) Whitespace found at end of line
(#205) Whitespace found at end of line
(#207) Whitespace found at end of line
(#210) Whitespace found at end of line
(#213) Whitespace found at end of line
(#214) Whitespace found at end of line
(#216) Whitespace found at end of line
(#219) Whitespace found at end of line
(#221) Whitespace found at end of line
(#224) Inline comments must start with a capital letter, digit or 3-dots sequence
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) This comment is 50% valid code; is this commented out code?
(#224) No space found before comment text; expected "// $admin->maildisplay = false;" but found "//$admin->maildisplay = false;"
(#225) Whitespace found at end of line
(#226) Whitespace found at end of line
(#233) Whitespace found at end of line
(#238) Whitespace found at end of line
(#239) Whitespace found at end of line
(#242) Whitespace found at end of line
(#248) Whitespace found at end of line
(#249) Inline comments must start with a capital letter, digit or 3-dots sequence
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) This comment is 50% valid code; is this commented out code?
(#252) Inline comments must start with a capital letter, digit or 3-dots sequence
(#252) No space found before comment text; expected "// $eventdata->userto = 3;" but found "//$eventdata->userto = 3;"
(#253) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) Whitespace found at end of line
(#259) Whitespace found at end of line
(#260) Inline comments must start with a capital letter, digit or 3-dots sequence
(#260) Inline comments must end in full-stops, exclamation marks, or question marks
(#262) Whitespace found at end of line
(#265) Whitespace found at end of line
(#268) Whitespace found at end of line
(#272) Whitespace found at end of line
(#279) Whitespace found at end of line
(#281) Whitespace found at end of line
(#285) Whitespace found at end of line
(#290) Whitespace found at end of line
(#293) Whitespace found at end of line
local/reminders/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Whitespace found at end of line
(#32) Whitespace found at end of line
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#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) This comment is 53% valid code; is this commented out code?
(#40) No space found before comment text; expected "// echo '[SHORTNAME: '. $arole->shortname.', ROLENAME: '.$arole->localname.'<br>';" but found "//echo '[SHORTNAME: '. $arole->shortname.', ROLENAME: '.$arole->localname.'<br>';"
(#43) Whitespace found at end of line
(#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
(#47) Whitespace found at end of line
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Whitespace found at end of line
(#50) Whitespace found at end of line
(#52) Whitespace found at end of line
(#57) Variable "replyChoices" must be all lower-case
(#63) Variable "replyChoices" must be all lower-case
(#71) Whitespace found at end of line
(#73) Whitespace found at end of line
(#76) Whitespace found at end of line
(#77) Whitespace found at end of line
(#80) Whitespace found at end of line
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Commas (,) must be followed by white space.
(#82) Commas (,) must be followed by white space.
(#83) Commas (,) must be followed by white space.
(#83) Commas (,) must be followed by white space.
(#84) Commas (,) must be followed by white space.
(#84) Commas (,) must be followed by white space.
(#85) Commas (,) must be followed by white space.
(#85) Commas (,) must be followed by white space.
(#86) Commas (,) must be followed by white space.
(#86) Commas (,) must be followed by white space.
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) 5 slashes comments are not allowed; use "// Comment." instead
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Whitespace found at end of line
(#94) Whitespace found at end of line
(#95) Whitespace found at end of line
(#96) Whitespace found at end of line
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) 5 slashes comments are not allowed; use "// Comment." instead
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Whitespace found at end of line
(#111) Whitespace found at end of line
(#112) Whitespace found at end of line
(#113) Whitespace found at end of line
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) 5 slashes comments are not allowed; use "// Comment." instead
(#125) Inline comments must start with a capital letter, digit or 3-dots sequence
(#126) Whitespace found at end of line
(#128) Whitespace found at end of line
(#129) Whitespace found at end of line
(#130) Whitespace found at end of line
(#131) Whitespace found at end of line
(#134) Inline comments must start with a capital letter, digit or 3-dots sequence
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) 5 slashes comments are not allowed; use "// Comment." instead
(#148) Inline comments must start with a capital letter, digit or 3-dots sequence
(#149) Whitespace found at end of line
(#151) Whitespace found at end of line
(#155) Whitespace found at end of line
(#157) Whitespace found at end of line
(#160) Whitespace found at end of line
(#161) Whitespace found at end of line
(#162) Whitespace found at end of line
(#163) Whitespace found at end of line
(#166) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) Whitespace found at end of line
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) 5 slashes comments are not allowed; use "// Comment." instead
(#179) Inline comments must start with a capital letter, digit or 3-dots sequence
(#179) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) Whitespace found at end of line
(#182) Whitespace found at end of line
(#183) Whitespace found at end of line
(#184) Whitespace found at end of line
(#186) Whitespace found at end of line
(#187) Whitespace found at end of line
(#188) Whitespace found at end of line
(#189) Whitespace found at end of line
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
local/reminders/version.php
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Whitespace found at end of line
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Whitespace found at end of line
(#34) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(104 errors, 4 warnings)

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

local/reminders/classes/task/send_reminders.php
(#34) Class send_reminders is not documented
(#36) Function send_reminders::execute is not documented
(#40) Function send_reminders::get_name is not documented
local/reminders/contents/activity_formatter.class.php
(#17) File-level phpdocs block is not found
(#69) Class quiz_formatter is not documented
(#84) Class assign_formatter is not documented
(#71) Function quiz_formatter::append_info is not documented
(#86) Function assign_formatter::append_info is not documented
(#27) Phpdocs for function activity_formatter::append_info has incomplete parameters list
(#34) Phpdocs for function activity_formatter::format_datetime has incomplete parameters list
(#48) Phpdocs for function activity_formatter::get_correct_timeformat_user has incomplete parameters list
(#69) Package is not specified for class quiz_formatter. It is also not specified in file-level phpdocs
(#84) Package is not specified for class assign_formatter. It is also not specified in file-level phpdocs
(#20) Package local is not valid
local/reminders/contents/course_reminder.class.php
(#17) File-level phpdocs block is not found
(#33) Function course_reminder::__construct is not documented
(#38) Function course_reminder::get_message_html is not documented
(#72) Function course_reminder::get_message_plaintext is not documented
(#81) Function course_reminder::get_message_provider is not documented
(#85) Function course_reminder::get_message_title is not documented
(#89) Function course_reminder::get_custom_headers is not documented
(#31) Variable course_reminder::$course is not documented
(#24) Package local is not valid
local/reminders/contents/due_reminder.class.php
(#17) File-level phpdocs block is not found
(#36) Function due_reminder::__construct is not documented
(#50) Function due_reminder::get_message_html is not documented
(#100) Function due_reminder::get_message_plaintext is not documented
(#110) Function due_reminder::get_message_provider is not documented
(#114) Function due_reminder::get_message_title is not documented
(#122) Function due_reminder::get_custom_headers is not documented
(#32) Variable due_reminder::$cm is not documented
(#33) Variable due_reminder::$activityobj is not documented
(#34) Variable due_reminder::$modname is not documented
(#43) Phpdocs for function due_reminder::set_activity has incomplete parameters list
(#25) Package local is not valid
local/reminders/contents/group_reminder.class.php
(#17) File-level phpdocs block is not found
(#39) Function group_reminder::__construct is not documented
(#54) Function group_reminder::load_course_object is not documented
(#66) Function group_reminder::get_message_html is not documented
(#128) Function group_reminder::get_message_plaintext is not documented
(#143) Function group_reminder::get_message_provider is not documented
(#147) Function group_reminder::get_message_title is not documented
(#160) Function group_reminder::get_custom_headers is not documented
(#32) Variable group_reminder::$group is not documented
(#33) Variable group_reminder::$course is not documented
(#34) Variable group_reminder::$cm is not documented
(#36) Variable group_reminder::$activityobj is not documented
(#37) Variable group_reminder::$modname is not documented
(#47) Phpdocs for function group_reminder::set_activity has incomplete parameters list
(#25) Package local is not valid
local/reminders/contents/site_reminder.class.php
(#17) File-level phpdocs block is not found
(#31) Function site_reminder::__construct is not documented
(#35) Function site_reminder::get_message_html is not documented
(#64) Function site_reminder::get_message_plaintext is not documented
(#72) Function site_reminder::get_message_provider is not documented
(#76) Function site_reminder::get_message_title is not documented
(#24) Package local is not valid
local/reminders/contents/user_reminder.class.php
(#17) File-level phpdocs block is not found
(#33) Function user_reminder::__construct is not documented
(#38) Function user_reminder::get_message_html is not documented
(#72) Function user_reminder::get_message_plaintext is not documented
(#81) Function user_reminder::get_message_provider is not documented
(#85) Function user_reminder::get_message_title is not documented
(#89) Function user_reminder::get_custom_headers is not documented
(#31) Variable user_reminder::$user is not documented
(#24) Package local is not valid
local/reminders/coursesettings.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
local/reminders/coursesettings_form.php
(#2) Empty line found after PHP open tag
(#28) Class local_reminders_coursesettings_edit_form is not documented
(#30) Function local_reminders_coursesettings_edit_form::definition is not documented
(#18) No one-line description found in phpdocs for file
local/reminders/db/install.php
(#17) File-level phpdocs block is not found
(#20) Package local is not valid
local/reminders/db/messages.php
(#20) Package local is not valid
local/reminders/db/upgrade.php
(#2) Empty line found after PHP open tag
(#44) Function xmldb_local_reminders_upgrade is not documented
(#18) No one-line description found in phpdocs for file
(#39) Package local-reminders is not valid
local/reminders/lang/de/local_reminders.php
(#20) Package page is not valid
local/reminders/lang/en/local_reminders.php
(#20) Package page is not valid
local/reminders/lang/fr/local_reminders.php
(#20) Package page is not valid
local/reminders/lang/ja/local_reminders.php
(#20) Package page is not valid
local/reminders/lib.php
(#561) Function local_reminders_extend_settings_navigation is not documented
(#42) Found comment starting with three or more slashes
(#64) Found comment starting with three or more slashes
(#469) Phpdocs for function get_users_in_group has incomplete parameters list
(#493) Phpdocs for function add_flag_record_db has incomplete parameters list
(#553) Phpdocs for function isemptyString has incomplete parameters list
(#20) Package local is not valid
local/reminders/reminder.class.php
(#17) File-level phpdocs block is not found
(#53) Function reminder::__construct is not documented
(#43) Variable reminder::$tbodycssstyle is not documented
(#44) Variable reminder::$titlestyle is not documented
(#45) Variable reminder::$footerstyle is not documented
(#142) Phpdocs for function reminder::get_correct_timeformat_user has incomplete parameters list
(#172) Phpdocs for function reminder::get_message_html has incomplete parameters list
(#180) Phpdocs for function reminder::get_message_plaintext has incomplete parameters list
(#214) Phpdocs for function reminder::create_reminder_message_object has incomplete parameters list
(#20) Package local is not valid
local/reminders/settings.php
(#2) Empty line found after PHP open tag
(#89) Found comment starting with three or more slashes
(#106) Found comment starting with three or more slashes
(#123) Found comment starting with three or more slashes
(#146) Found comment starting with three or more slashes
(#177) Found comment starting with three or more slashes
(#18) No one-line description found in phpdocs for file
local/reminders/version.php
(#20) Package local 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]


grunt changes

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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