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

(356 errors, 167 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
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) 3 slashes comments are not allowed; use "// Comment." instead
(#41) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#43) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#45) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#45) Expected 1 space before "*"; 0 found
(#45) Expected 1 space after "*"; 0 found
(#45) Expected 1 space before "*"; 0 found
(#45) Expected 1 space after "*"; 0 found
(#46) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#46) Expected 1 space before "*"; 0 found
(#46) Expected 1 space after "*"; 0 found
(#46) Expected 1 space before "*"; 0 found
(#46) Expected 1 space after "*"; 0 found
(#47) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#47) Expected 1 space before "*"; 0 found
(#47) Expected 1 space after "*"; 0 found
(#49) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#50) Calls to inbuilt PHP functions must be lowercase; expected "define" but found "DEFINE"
(#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"
(#54) 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"
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) 3 slashes comments are not allowed; use "// Comment." instead
(#66) Whitespace found at end of line
(#70) Whitespace found at end of line
(#75) Whitespace found at end of line
(#79) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Inline comments must start with a capital letter, digit or 3-dots sequence
(#102) This comment is 63% valid code; is this commented out code?
(#102) No space found before comment text; expected "// $params = array();" but found "//$params = array();"
(#103) This comment is 50% valid code; is this commented out code?
(#103) 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'";"
(#104) This comment is 50% valid code; is this commented out code?
(#104) No space found before comment text; expected "// $totalcount = 0;" but found "//$totalcount = 0;"
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) This comment is 63% valid code; is this commented out code?
(#105) 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);"
(#107) Inline comments must start with a capital letter, digit or 3-dots sequence
(#112) Inline comments must start with a capital letter, digit or 3-dots sequence
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Inline comments must start with a capital letter, digit or 3-dots sequence
(#120) Whitespace found at end of line
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Inline comments must start with a capital letter, digit or 3-dots sequence
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Whitespace found at end of line
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#141) Expected "if (...) {\n"; found "if(...) {\n"
(#149) Whitespace found at end of line
(#157) This comment is 64% valid code; is this commented out code?
(#157) Inline comments must start with a capital letter, digit or 3-dots sequence
(#157) 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);"
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) This comment is 72% valid code; is this commented out code?
(#158) No space found before comment text; expected "// mtrace(" [Local Reminder] Where clause: ".$whereclause);" but found "//mtrace(" [Local Reminder] Where clause: ".$whereclause);"
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#167) Whitespace found at end of line
(#169) Whitespace found at end of line
(#178) Whitespace found at end of line
(#179) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) Whitespace found at end of line
(#189) Whitespace found at end of line
(#192) Whitespace found at end of line
(#196) Inline comments must start with a capital letter, digit or 3-dots sequence
(#208) Whitespace found at end of line
(#209) Inline control structures are not allowed
(#231) Inline comments must start with a capital letter, digit or 3-dots sequence
(#231) Inline comments must end in full-stops, exclamation marks, or question marks
(#242) Whitespace found at end of line
(#246) Whitespace found at end of line
(#248) Whitespace found at end of line
(#250) Whitespace found at end of line
(#254) Whitespace found at end of line within string
(#255) Whitespace found at end of line within string
(#268) Whitespace found at end of line
(#274) Expected 1 space before "=>"; 0 found
(#274) Expected 1 space after "=>"; 0 found
(#276) Line exceeds 132 characters; contains 147 characters
(#281) Inline comments must start with a capital letter, digit or 3-dots sequence
(#281) Inline comments must end in full-stops, exclamation marks, or question marks
(#281) This comment is 60% valid code; is this commented out code?
(#281) No space found before comment text; expected "// get_context_instance(CONTEXT_COURSE, $course->id);" but found "//get_context_instance(CONTEXT_COURSE, $course->id);"
(#284) Closing brace must be on a line by itself
(#287) Inline comments must start with a capital letter, digit or 3-dots sequence
(#297) Inline comments must start with a capital letter, digit or 3-dots sequence
(#300) Line exceeds 132 characters; contains 135 characters
(#301) Whitespace found at end of line
(#306) Inline comments must start with a capital letter, digit or 3-dots sequence
(#309) Line exceeds 132 characters; contains 135 characters
(#310) Whitespace found at end of line
(#319) Expected 1 space before "=>"; 0 found
(#319) Expected 1 space after "=>"; 0 found
(#321) Line exceeds 132 characters; contains 148 characters
(#327) Inline comments must start with a capital letter, digit or 3-dots sequence
(#327) Inline comments must end in full-stops, exclamation marks, or question marks
(#327) This comment is 60% valid code; is this commented out code?
(#327) No space found before comment text; expected "// get_context_instance(CONTEXT_MODULE, $cm->id);" but found "//get_context_instance(CONTEXT_MODULE, $cm->id);"
(#331) Inline comments must start with a capital letter, digit or 3-dots sequence
(#332) Line exceeds 132 characters; contains 134 characters
(#336) Inline comments must start with a capital letter, digit or 3-dots sequence
(#337) Line exceeds 132 characters; contains 135 characters
(#341) Line exceeds 132 characters; contains 169 characters
(#341) Inline comments must start with a capital letter, digit or 3-dots sequence
(#341) Inline comments must end in full-stops, exclamation marks, or question marks
(#341) This comment is 50% valid code; is this commented out code?
(#344) Line exceeds 132 characters; contains 157 characters
(#344) Inline comments must start with a capital letter, digit or 3-dots sequence
(#345) Inline comments must end in full-stops, exclamation marks, or question marks
(#345) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#362) Expected 1 space before "=>"; 0 found
(#362) Expected 1 space after "=>"; 0 found
(#364) Line exceeds 132 characters; contains 150 characters
(#370) Inline comments must start with a capital letter, digit or 3-dots sequence
(#371) Inline comments must end in full-stops, exclamation marks, or question marks
(#384) Line indented incorrectly; expected 20 spaces, found 21
(#390) Inline comments must start with a capital letter, digit or 3-dots sequence
(#390) Inline comments must end in full-stops, exclamation marks, or question marks
(#390) This comment is 55% valid code; is this commented out code?
(#393) Whitespace found at end of line
(#394) Inline comments must start with a capital letter, digit or 3-dots sequence
(#394) Inline comments must end in full-stops, exclamation marks, or question marks
(#394) This comment is 60% valid code; is this commented out code?
(#394) 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.*');"
(#399) Line indented incorrectly; expected 20 spaces, found 21
(#401) Line indented incorrectly; expected 20 spaces, found 21
(#410) Whitespace found at end of line
(#415) Whitespace found at end of line
(#421) Whitespace found at end of line
(#424) Whitespace found at end of line
(#427) Inline comments must start with a capital letter, digit or 3-dots sequence
(#427) Inline comments must end in full-stops, exclamation marks, or question marks
(#427) This comment is 50% valid code; is this commented out code?
(#427) No space found before comment text; expected "// $eventdata->userto = $touser;" but found "//$eventdata->userto = $touser;"
(#428) Whitespace found at end of line
(#429) This comment is 60% valid code; is this commented out code?
(#429) Inline comments must start with a capital letter, digit or 3-dots sequence
(#429) No space found before comment text; expected "// foreach ($touser as $key => $value) {" but found "//foreach ($touser as $key => $value) {"
(#430) This comment is 67% valid code; is this commented out code?
(#430) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#431) This comment is 100% valid code; is this commented out code?
(#431) No space found before comment text; expected "// }" but found "//}"
(#432) This comment is 43% valid code; is this commented out code?
(#432) No space found before comment text; expected "// $mailresult = 1; //message_send($eventdata);" but found "//$mailresult = 1; //message_send($eventdata);"
(#433) This comment is 80% valid code; is this commented out code?
(#433) No space found before comment text; expected "// mtrace("-----------------------------------");" but found "//mtrace("-----------------------------------");"
(#434) This comment is 72% valid code; is this commented out code?
(#434) No space found before comment text; expected "// mtrace($eventdata->fullmessagehtml);" but found "//mtrace($eventdata->fullmessagehtml);"
(#435) Inline comments must end in full-stops, exclamation marks, or question marks
(#435) This comment is 80% valid code; is this commented out code?
(#435) No space found before comment text; expected "// mtrace("-----------------------------------");" but found "//mtrace("-----------------------------------");"
(#442) Whitespace found at end of line
(#448) Whitespace found at end of line
(#454) Whitespace found at end of line
(#456) Whitespace found at end of line
(#458) Whitespace found at end of line
(#459) Inline comments must start with a capital letter, digit or 3-dots sequence
(#459) Inline comments must end in full-stops, exclamation marks, or question marks
(#459) This comment is 70% valid code; is this commented out code?
(#459) 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);"
(#475) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#476) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#496) Variable "newRecord" must be all lower-case
(#497) Variable "newRecord" must be all lower-case
(#498) Variable "newRecord" must be all lower-case
(#499) Variable "newRecord" must be all lower-case
(#504) Whitespace found at end of line
(#509) Whitespace found at end of line
(#512) Whitespace found at end of line
(#516) Whitespace found at end of line
(#517) Whitespace found at end of line
(#523) Expected 1 space before "=>"; 0 found
(#523) Expected 1 space after "=>"; 0 found
(#523) Expected 1 space before "=>"; 0 found
(#523) Expected 1 space after "=>"; 0 found
(#549) Whitespace found at end of line
(#551) Whitespace found at end of line
(#554) function name "isemptyString" must be lower-case letters only
(#560) Whitespace found at end of line
(#565) Whitespace found at end of line
(#570) 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
(#558) Function local_reminders_extend_settings_navigation is not documented
(#39) Found comment starting with three or more slashes
(#61) Found comment starting with three or more slashes
(#466) Phpdocs for function get_users_in_group has incomplete parameters list
(#490) Phpdocs for function add_flag_record_db has incomplete parameters list
(#550) 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]