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

(545 errors, 252 warnings)

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

local/moofactory_notification/addnotif.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#43) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#45) Expected "if (...) {\n"; found "if(...){\n"
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Expected "if (...) {\n"; found "if(...){\n"
local/moofactory_notification/classes/observer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#31) Expected 1 space before opening brace; found 0
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) This comment is 61% valid code; is this commented out code?
(#33) No space found before comment text; expected "// $event->courseid" but found "//$event->courseid"
(#34) No space found before comment text; expected "// $event->relateduserid" but found "//$event->relateduserid"
(#35) No space found before comment text; expected "// set_config('test', 1000, 'local_moofactory_notification');" but found "//set_config('test', 1000, 'local_moofactory_notification');"
(#36) No space found before comment text; expected "// test();" but found "//test();"
(#37) This comment is 57% valid code; is this commented out code?
local/moofactory_notification/classes/task/send_coursesaccess_notification.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/moofactory_notification/classes/task/send_coursesenroll_notification.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/moofactory_notification/classes/task/send_coursesevents_notification.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/moofactory_notification/classes/task/send_siteevents_notification.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/moofactory_notification/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/moofactory_notification/db/events.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) This comment is 67% valid code; is this commented out code?
(#31) No space found before comment text; expected "// 'callback' => 'local_moofactory_observer::user_enrolment_created'," but found "//'callback' => 'local_moofactory_observer::user_enrolment_created',"
local/moofactory_notification/db/install.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#37) Whitespace found at end of line
(#49) Line exceeds 132 characters; contains 138 characters
(#52) Whitespace found at end of line
(#64) Line exceeds 132 characters; contains 172 characters
(#65) Whitespace found at end of line
(#77) Line exceeds maximum limit of 180 characters; contains 181 characters
(#79) Whitespace found at end of line
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Line exceeds 132 characters; contains 141 characters
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Line exceeds maximum limit of 180 characters; contains 211 characters
(#131) Line exceeds 132 characters; contains 161 characters
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#151) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#155) Expected 1 space before "=>"; 0 found
(#155) Expected 1 space after "=>"; 0 found
(#155) Line exceeds 132 characters; contains 151 characters
(#157) Whitespace found at end of line
(#161) Line exceeds maximum limit of 180 characters; contains 197 characters
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) Line exceeds 132 characters; contains 141 characters
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#203) Line exceeds maximum limit of 180 characters; contains 211 characters
(#204) Line exceeds 132 characters; contains 156 characters
(#213) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) Expected 1 space before "=>"; 0 found
(#223) Expected 1 space after "=>"; 0 found
(#224) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#228) Expected 1 space before "=>"; 0 found
(#228) Expected 1 space after "=>"; 0 found
(#228) Line exceeds 132 characters; contains 146 characters
(#230) Whitespace found at end of line
(#234) Line exceeds maximum limit of 180 characters; contains 197 characters
(#243) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) Line exceeds 132 characters; contains 141 characters
(#263) Inline comments must end in full-stops, exclamation marks, or question marks
(#275) Line exceeds 132 characters; contains 141 characters
(#284) Inline comments must end in full-stops, exclamation marks, or question marks
(#294) Expected 1 space before "=>"; 0 found
(#294) Expected 1 space after "=>"; 0 found
(#295) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#299) Expected 1 space before "=>"; 0 found
(#299) Expected 1 space after "=>"; 0 found
(#299) Line exceeds 132 characters; contains 146 characters
(#301) Whitespace found at end of line
(#305) Line exceeds maximum limit of 180 characters; contains 197 characters
(#314) Inline comments must end in full-stops, exclamation marks, or question marks
(#315) Line exceeds 132 characters; contains 152 characters
(#316) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#329) Line exceeds maximum limit of 180 characters; contains 215 characters
(#330) Line exceeds 132 characters; contains 150 characters
(#336) Whitespace found at end of line
local/moofactory_notification/db/tasks.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/moofactory_notification/db/uninstall.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#36) Whitespace found at end of line
(#37) Expected 1 space after "=>"; 0 found
(#37) Line exceeds 132 characters; contains 150 characters
(#38) Expected "if (...) {\n"; found "if (...){\n"
local/moofactory_notification/db/upgrade.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#62) Expected 1 space before "=>"; 0 found
(#62) Expected 1 space after "=>"; 0 found
(#62) Expected 1 space before "=>"; 0 found
(#62) Expected 1 space after "=>"; 0 found
(#63) Expected "if (...) {\n"; found "if(...){\n"
(#65) Line exceeds 132 characters; contains 146 characters
(#68) Whitespace found at end of line
(#75) Whitespace found at end of line
(#83) Expected 1 space before "=>"; 0 found
(#83) Expected 1 space after "=>"; 0 found
(#83) Expected 1 space before "=>"; 0 found
(#83) Expected 1 space after "=>"; 0 found
(#84) Expected "if (...) {\n"; found "if(...){\n"
(#86) Line exceeds 132 characters; contains 180 characters
(#87) Whitespace found at end of line
(#94) Whitespace found at end of line
(#98) Whitespace found at end of line
(#98) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#101) Line exceeds 132 characters; contains 151 characters
(#103) Expected "if (...) {\n"; found "if(...){\n"
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) No space found before comment text; expected "// $handler->move_field(field_controller $field, int $categoryid, int $beforeid = 0)" but found "//$handler->move_field(field_controller $field, int $categoryid, int $beforeid = 0)"
(#110) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Expected "if (...) {\n"; found "if(...){\n"
(#129) Line exceeds 132 characters; contains 145 characters
(#135) Whitespace found at end of line
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Expected "if (...) {\n"; found "if(...){\n"
(#153) Line exceeds maximum limit of 180 characters; contains 215 characters
(#154) Line exceeds 132 characters; contains 165 characters
(#160) Whitespace found at end of line
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Expected "if (...) {\n"; found "if(...){\n"
(#176) Expected 1 space before "=>"; 0 found
(#176) Expected 1 space after "=>"; 0 found
(#177) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#181) Expected 1 space before "=>"; 0 found
(#181) Expected 1 space after "=>"; 0 found
(#181) Line exceeds 132 characters; contains 155 characters
(#183) Whitespace found at end of line
(#187) Line exceeds maximum limit of 180 characters; contains 201 characters
(#193) Whitespace found at end of line
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Expected "if (...) {\n"; found "if(...){\n"
(#213) Line exceeds 132 characters; contains 145 characters
(#219) Whitespace found at end of line
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) Expected "if (...) {\n"; found "if(...){\n"
(#238) Line exceeds maximum limit of 180 characters; contains 215 characters
(#239) Line exceeds 132 characters; contains 160 characters
(#245) Whitespace found at end of line
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) Expected "if (...) {\n"; found "if(...){\n"
(#262) Expected 1 space before "=>"; 0 found
(#262) Expected 1 space after "=>"; 0 found
(#263) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#267) Expected 1 space before "=>"; 0 found
(#267) Expected 1 space after "=>"; 0 found
(#267) Line exceeds 132 characters; contains 150 characters
(#269) Whitespace found at end of line
(#273) Line exceeds maximum limit of 180 characters; contains 201 characters
(#279) Whitespace found at end of line
(#284) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) Expected "if (...) {\n"; found "if(...){\n"
(#298) Line exceeds 132 characters; contains 145 characters
(#304) Whitespace found at end of line
(#308) Inline comments must end in full-stops, exclamation marks, or question marks
(#310) Expected "if (...) {\n"; found "if(...){\n"
(#322) Line exceeds 132 characters; contains 145 characters
(#328) Whitespace found at end of line
(#332) Inline comments must end in full-stops, exclamation marks, or question marks
(#334) Expected "if (...) {\n"; found "if(...){\n"
(#344) Expected 1 space before "=>"; 0 found
(#344) Expected 1 space after "=>"; 0 found
(#345) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#349) Expected 1 space before "=>"; 0 found
(#349) Expected 1 space after "=>"; 0 found
(#349) Line exceeds 132 characters; contains 150 characters
(#351) Whitespace found at end of line
(#355) Line exceeds maximum limit of 180 characters; contains 201 characters
(#361) Whitespace found at end of line
(#365) Inline comments must end in full-stops, exclamation marks, or question marks
(#366) Line exceeds 132 characters; contains 152 characters
(#367) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#370) Expected "if (...) {\n"; found "if(...){\n"
(#373) Whitespace found at end of line
(#378) Whitespace found at end of line
(#382) Line exceeds maximum limit of 180 characters; contains 219 characters
(#383) Line exceeds 132 characters; contains 154 characters
(#389) Whitespace found at end of line
local/moofactory_notification/deletenotif.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Expected 1 space before "=>"; 0 found
(#48) Expected 1 space after "=>"; 0 found
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Expected "if (...) {\n"; found "if(...){\n"
(#66) Expected 1 space before "=>"; 0 found
(#66) Expected 1 space after "=>"; 0 found
(#66) Expected 1 space before "=>"; 0 found
(#66) Expected 1 space after "=>"; 0 found
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Expected 1 space before "=>"; 0 found
(#81) Expected 1 space after "=>"; 0 found
(#83) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#85) Expected "if (...) {\n"; found "if(...){\n"
(#88) Expected "if (...) {\n"; found "if(...){\n"
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Expected "if (...) {\n"; found "if(...){\n"
(#103) Line indented incorrectly; expected 8 spaces, found 12
(#103) Closing brace indented incorrectly; expected 8 spaces, found 12
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Usage of ELSEIF not allowed; use ELSE IF instead
local/moofactory_notification/deletenotif_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#40) Whitespace found at end of line
(#42) Line exceeds 132 characters; contains 151 characters
local/moofactory_notification/duplicatenotif.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#58) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#60) Expected "if (...) {\n"; found "if(...){\n"
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Expected "if (...) {\n"; found "if(...){\n"
local/moofactory_notification/lang/en/local_moofactory_notification.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/moofactory_notification/lang/fr/local_moofactory_notification.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/moofactory_notification/lib.php
(#26) Expected 1 space before opening brace; found 0
(#34) Expected "if (...) {\n"; found "if(...){\n"
(#44) Line exceeds 132 characters; contains 154 characters
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Expected 1 space before "=>"; 0 found
(#46) Expected 1 space after "=>"; 0 found
(#46) Line exceeds 132 characters; contains 151 characters
(#57) Expected 1 space before "=>"; 0 found
(#57) Expected 1 space after "=>"; 0 found
(#58) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#62) Whitespace found at end of line
(#64) Line exceeds maximum limit of 180 characters; contains 206 characters
(#65) Whitespace found at end of line
(#69) Line exceeds 132 characters; contains 147 characters
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Expected 1 space before "=>"; 0 found
(#71) Expected 1 space after "=>"; 0 found
(#71) Line exceeds 132 characters; contains 146 characters
(#82) Expected 1 space before "=>"; 0 found
(#82) Expected 1 space after "=>"; 0 found
(#83) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#87) Whitespace found at end of line
(#89) Line exceeds maximum limit of 180 characters; contains 206 characters
(#90) Whitespace found at end of line
(#94) Line exceeds 132 characters; contains 151 characters
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Expected 1 space before "=>"; 0 found
(#96) Expected 1 space after "=>"; 0 found
(#96) Line exceeds 132 characters; contains 146 characters
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space after "=>"; 0 found
(#108) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#112) Whitespace found at end of line
(#114) Line exceeds maximum limit of 180 characters; contains 206 characters
(#115) Whitespace found at end of line
(#119) Expected "if (...) {\n"; found "if(...){\n"
(#123) Whitespace found at end of line
(#127) Line exceeds 132 characters; contains 156 characters
(#128) Expected "if (...) {\n"; found "if(...){\n"
(#138) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#143) Expected "} else {\n"; found "}\n else{\n"
(#144) Expected "if (...) {\n"; found "if(...){\n"
(#149) Expected "if (...) {\n"; found "if(...){\n"
(#154) Expected "if (...) {\n"; found "if(...){\n"
(#158) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#165) Expected "if (...) {\n"; found "if(...){\n"
(#169) Expected "if (...) {\n"; found "if(...){\n"
(#174) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#214) Line exceeds maximum limit of 180 characters; contains 218 characters
(#225) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) Expected "if (...) {\n"; found "if(...){\n"
(#227) Expected "if (...) {\n"; found "if(...){\n"
(#232) Expected "if (...) {\n"; found "if(...){\n"
(#235) Line exceeds 132 characters; contains 163 characters
(#238) Line exceeds 132 characters; contains 137 characters
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#265) Expected "if (...) {\n"; found "if(...){\n"
(#269) Expected "} else {\n"; found "}\n else{\n"
(#273) Expected 1 space before "=>"; 0 found
(#273) Expected 1 space after "=>"; 0 found
(#275) Inline comments must end in full-stops, exclamation marks, or question marks
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) Inline comments must end in full-stops, exclamation marks, or question marks
(#280) Expected 1 space before "=>"; 0 found
(#280) Expected 1 space after "=>"; 0 found
(#282) Inline comments must start with a capital letter, digit or 3-dots sequence
(#282) Inline comments must end in full-stops, exclamation marks, or question marks
(#283) Expected "if (...) {\n"; found "if(...){\n"
(#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
(#285) Expected "if (...) {\n"; found "if(...){\n"
(#287) Inline comments must start with a capital letter, digit or 3-dots sequence
(#287) Inline comments must end in full-stops, exclamation marks, or question marks
(#288) Expected "if (...) {\n"; found "if(...){\n"
(#290) Inline comments must end in full-stops, exclamation marks, or question marks
(#291) Expected "if (...) {\n"; found "if(...){\n"
(#292) Inline comments must start with a capital letter, digit or 3-dots sequence
(#292) Inline comments must end in full-stops, exclamation marks, or question marks
(#295) Inline comments must end in full-stops, exclamation marks, or question marks
(#296) Expected "} else {\n"; found "}\n // Sinon, mise en liste d'attente dans la table 'local_mf_enrollnotif'\n else{\n"
(#313) Whitespace found at end of line
(#318) Variable "is_enrolled" must not contain underscores.
(#319) Expected "if (...) {\n"; found "if(...){\n"
(#319) Variable "is_enrolled" must not contain underscores.
(#321) Inline comments must end in full-stops, exclamation marks, or question marks
(#322) Expected 1 space before "=>"; 0 found
(#322) Expected 1 space after "=>"; 0 found
(#322) Expected 1 space before "=>"; 0 found
(#322) Expected 1 space after "=>"; 0 found
(#329) Whitespace found at end of line
(#334) Inline comments must end in full-stops, exclamation marks, or question marks
(#335) Expected 1 space before "=>"; 0 found
(#335) Expected 1 space after "=>"; 0 found
(#335) Expected 1 space before "=>"; 0 found
(#335) Expected 1 space after "=>"; 0 found
(#336) Expected 1 space before "=>"; 0 found
(#336) Expected 1 space after "=>"; 0 found
(#336) Expected 1 space before "=>"; 0 found
(#336) Expected 1 space after "=>"; 0 found
(#342) Whitespace found at end of line
(#346) Inline comments must end in full-stops, exclamation marks, or question marks
(#347) Expected 1 space before "=>"; 0 found
(#347) Expected 1 space after "=>"; 0 found
(#347) Expected 1 space before "=>"; 0 found
(#347) Expected 1 space after "=>"; 0 found
(#353) Whitespace found at end of line
(#356) Inline comments must end in full-stops, exclamation marks, or question marks
(#359) Expected "if (...) {\n"; found "if(...){\n"
(#361) Inline comments must end in full-stops, exclamation marks, or question marks
(#362) Expected 1 space before "=>"; 0 found
(#362) Expected 1 space after "=>"; 0 found
(#367) Inline comments must end in full-stops, exclamation marks, or question marks
(#368) Expected 1 space before opening brace; found 0
(#370) Whitespace found at end of line
(#373) Inline comments must end in full-stops, exclamation marks, or question marks
(#375) Inline comments must end in full-stops, exclamation marks, or question marks
(#377) Inline comments must end in full-stops, exclamation marks, or question marks
(#377) Whitespace found at end of line
(#379) Inline comments must end in full-stops, exclamation marks, or question marks
(#380) Expected 1 space before "=>"; 0 found
(#380) Expected 1 space after "=>"; 0 found
(#382) Inline comments must end in full-stops, exclamation marks, or question marks
(#385) Inline comments must end in full-stops, exclamation marks, or question marks
(#387) Expected "if (...) {\n"; found "if(...){\n"
(#391) Expected "} else {\n"; found "}\n else{\n"
(#394) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#396) Inline comments must end in full-stops, exclamation marks, or question marks
(#397) Expected "if (...) {\n"; found "if(...){\n"
(#398) Inline comments must end in full-stops, exclamation marks, or question marks
(#399) Expected "if (...) {\n"; found "if(...){\n"
(#400) Inline comments must end in full-stops, exclamation marks, or question marks
(#404) Expected "if (...) {\n"; found "if(...){\n"
(#405) This comment is 48% valid code; is this commented out code?
(#406) Inline comments must end in full-stops, exclamation marks, or question marks
(#406) No space found before comment text; expected "// $events = calendar_get_legacy_events($previoussiteeventstasktime, 0, false, false, true, true, false);" but found "//$events = calendar_get_legacy_events($previoussiteeventstasktime, 0, false, false, true, true, false);"
(#407) Line exceeds 132 characters; contains 140 characters
(#409) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#410) Expected "if (...) {\n"; found "if(...){\n"
(#411) Line exceeds 132 characters; contains 158 characters
(#411) Inline comments must start with a capital letter, digit or 3-dots sequence
(#411) This comment is 56% valid code; is this commented out code?
(#411) No space found before comment text; expected "// $targetedevents = calendar_get_legacy_events($previoussiteeventstasktime + $delay, $time + $delay, false, false, true, true, false);" but found "//$targetedevents = calendar_get_legacy_events($previoussiteeventstasktime + $delay, $time + $delay, false, false, true, true, false);"
(#412) No space found before comment text; expected "// foreach($targetedevents as $targetedevent) {" but found "//foreach($targetedevents as $targetedevent) {"
(#413) No space found before comment text; expected "// if($targetedevent->id == $event->id){" but found "//if($targetedevent->id == $event->id){"
(#419) Commas (,) must be followed by white space.
(#419) Commas (,) must be followed by white space.
(#425) Line indented incorrectly; expected 24 spaces, found 32
(#426) Line indented incorrectly; expected 28 spaces, found 36
(#426) Expected "if (...) {\n"; found "if(...){\n"
(#440) Line exceeds 132 characters; contains 133 characters
(#448) Line exceeds 132 characters; contains 139 characters
(#450) Line indented incorrectly; expected 28 spaces, found 36
(#451) Line indented incorrectly; expected 24 spaces, found 32
(#452) Inline comments must start with a capital letter, digit or 3-dots sequence
(#452) No space found before comment text; expected "// }" but found "//}"
(#453) No space found before comment text; expected "// }" but found "//}"
(#462) Inline comments must end in full-stops, exclamation marks, or question marks
(#463) Expected 1 space before opening brace; found 0
(#466) Inline comments must end in full-stops, exclamation marks, or question marks
(#468) Inline comments must end in full-stops, exclamation marks, or question marks
(#470) Inline comments must start with a capital letter, digit or 3-dots sequence
(#470) Inline comments must end in full-stops, exclamation marks, or question marks
(#470) This comment is 73% valid code; is this commented out code?
(#470) No space found before comment text; expected "// var_dump(date("d/m/Y H:i:s", $time));" but found "//var_dump(date("d/m/Y H:i:s", $time));"
(#472) Inline comments must end in full-stops, exclamation marks, or question marks
(#474) Expected "if (...) {\n"; found "if(...){\n"
(#478) Expected "} else {\n"; found "}\n else{\n"
(#488) Expected "if (...) {\n"; found "if(...){\n"
(#489) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#494) Inline comments must end in full-stops, exclamation marks, or question marks
(#495) Expected "if (...) {\n"; found "if(...){\n"
(#496) Expected 1 space before "=>"; 0 found
(#496) Expected 1 space after "=>"; 0 found
(#497) Inline comments must end in full-stops, exclamation marks, or question marks
(#499) Inline comments must end in full-stops, exclamation marks, or question marks
(#501) Inline comments must end in full-stops, exclamation marks, or question marks
(#502) Expected 1 space before "=>"; 0 found
(#502) Expected 1 space after "=>"; 0 found
(#504) Inline comments must end in full-stops, exclamation marks, or question marks
(#505) Expected "if (...) {\n"; found "if(...){\n"
(#506) Inline comments must start with a capital letter, digit or 3-dots sequence
(#506) Inline comments must end in full-stops, exclamation marks, or question marks
(#507) Expected "if (...) {\n"; found "if(...){\n"
(#508) Line exceeds 132 characters; contains 134 characters
(#509) Inline comments must start with a capital letter, digit or 3-dots sequence
(#509) Inline comments must end in full-stops, exclamation marks, or question marks
(#510) Expected "if (...) {\n"; found "if(...){\n"
(#511) Inline comments must start with a capital letter, digit or 3-dots sequence
(#511) Inline comments must end in full-stops, exclamation marks, or question marks
(#512) Line exceeds 132 characters; contains 135 characters
(#518) Inline comments must end in full-stops, exclamation marks, or question marks
(#519) Expected 1 space before "=>"; 0 found
(#519) Expected 1 space after "=>"; 0 found
(#519) Expected 1 space before "=>"; 0 found
(#519) Expected 1 space after "=>"; 0 found
(#519) Expected 1 space before "=>"; 0 found
(#519) Expected 1 space after "=>"; 0 found
(#519) Line exceeds 132 characters; contains 152 characters
(#525) Inline comments must end in full-stops, exclamation marks, or question marks
(#526) Expected 1 space before opening brace; found 0
(#529) Inline comments must end in full-stops, exclamation marks, or question marks
(#531) Inline comments must end in full-stops, exclamation marks, or question marks
(#533) Inline comments must end in full-stops, exclamation marks, or question marks
(#533) Whitespace found at end of line
(#535) Inline comments must end in full-stops, exclamation marks, or question marks
(#536) Expected 1 space before "=>"; 0 found
(#536) Expected 1 space after "=>"; 0 found
(#537) Inline comments must end in full-stops, exclamation marks, or question marks
(#537) Whitespace found at end of line
(#539) Inline comments must end in full-stops, exclamation marks, or question marks
(#541) Expected "if (...) {\n"; found "if(...){\n"
(#542) Inline comments must end in full-stops, exclamation marks, or question marks
(#543) Line exceeds 132 characters; contains 135 characters
(#543) Inline comments must end in full-stops, exclamation marks, or question marks
(#547) Inline comments must end in full-stops, exclamation marks, or question marks
(#550) Inline comments must end in full-stops, exclamation marks, or question marks
(#551) Expected "if (...) {\n"; found "if(...){\n"
(#555) Inline comments must start with a capital letter, digit or 3-dots sequence
(#555) Inline comments must end in full-stops, exclamation marks, or question marks
(#556) Expected "if (...) {\n"; found "if(...){\n"
(#557) Inline comments must start with a capital letter, digit or 3-dots sequence
(#557) Inline comments must end in full-stops, exclamation marks, or question marks
(#558) Expected "if (...) {\n"; found "if(...){\n"
(#559) Inline comments must end in full-stops, exclamation marks, or question marks
(#567) Inline comments must start with a capital letter, digit or 3-dots sequence
(#567) Inline comments must end in full-stops, exclamation marks, or question marks
(#568) Expected "if (...) {\n"; found "if(...){\n"
(#570) Inline comments must start with a capital letter, digit or 3-dots sequence
(#572) Line exceeds 132 characters; contains 139 characters
(#575) Expected "if (...) {\n"; found "if(...){\n"
(#579) Inline comments must end in full-stops, exclamation marks, or question marks
(#580) Expected "if (...) {\n"; found "if(...){\n"
(#581) Inline comments must end in full-stops, exclamation marks, or question marks
(#582) Line exceeds 132 characters; contains 136 characters
(#583) Inline comments must start with a capital letter, digit or 3-dots sequence
(#584) Inline comments must end in full-stops, exclamation marks, or question marks
(#584) No space found before comment text; expected "// $interval = (int)$courseaccesstime * 60; // minutes pour tests" but found "//$interval = (int)$courseaccesstime * 60; // minutes pour tests"
(#586) Line exceeds 132 characters; contains 152 characters
(#586) Inline comments must end in full-stops, exclamation marks, or question marks
(#588) Inline comments must end in full-stops, exclamation marks, or question marks
(#589) Line exceeds maximum limit of 180 characters; contains 190 characters
(#591) Expected "if (...) {\n"; found "if(...){\n"
(#596) Expected "if (...) {\n"; found "if(...){\n"
(#598) Expected "if (...) {\n"; found "if(...){\n"
(#599) Inline comments must start with a capital letter, digit or 3-dots sequence
(#599) Inline comments must end in full-stops, exclamation marks, or question marks
(#603) Line exceeds 132 characters; contains 162 characters
(#603) Inline comments must end in full-stops, exclamation marks, or question marks
(#604) Whitespace found at end of line
(#609) Inline comments must end in full-stops, exclamation marks, or question marks
(#610) Line exceeds 132 characters; contains 160 characters
(#616) Inline comments must end in full-stops, exclamation marks, or question marks
(#617) Expected "} else {\n"; found "}\n\n // Si aucune notif n'a été envoyée, on regarde depuis combien de temps il n'y a pas eu d'accès\n else{\n"
(#618) Line exceeds 132 characters; contains 173 characters
(#619) Inline comments must end in full-stops, exclamation marks, or question marks
(#620) Expected "if (...) {\n"; found "if(...){\n"
(#623) Inline comments must end in full-stops, exclamation marks, or question marks
(#624) Expected "} else {\n"; found "}\n // Sinon on récupère la date de son inscription la plus ancienne\n else{\n"
(#634) Expected "if (...) {\n"; found "if(...){\n"
(#635) Inline comments must end in full-stops, exclamation marks, or question marks
(#639) Line exceeds 132 characters; contains 158 characters
(#639) Inline comments must end in full-stops, exclamation marks, or question marks
(#644) Inline comments must end in full-stops, exclamation marks, or question marks
(#645) Line exceeds 132 characters; contains 156 characters
(#661) Whitespace found at end of line
(#853) Expected "if (...) {\n"; found "if(...){\n"
(#855) Expected "if (...) {\n"; found "if(...){\n"
(#862) Expected "if (...) {\n"; found "if(...){\n"
(#867) Expected "} else {\n"; found "}\n else{\n"
(#874) Expected "if (...) {\n"; found "if(...){\n"
(#893) Expected 1 space before "=>"; 0 found
(#893) Expected 1 space after "=>"; 0 found
(#893) Expected 1 space before "=>"; 0 found
(#893) Expected 1 space after "=>"; 0 found
(#893) Expected 1 space before "=>"; 0 found
(#893) Expected 1 space after "=>"; 0 found
(#893) Expected 1 space before "=>"; 0 found
(#893) Expected 1 space after "=>"; 0 found
(#903) Inline comments must end in full-stops, exclamation marks, or question marks
(#904) Expected 1 space before opening brace; found 0
(#906) Whitespace found at end of line
(#909) Inline comments must end in full-stops, exclamation marks, or question marks
(#911) Inline comments must end in full-stops, exclamation marks, or question marks
(#913) Inline comments must end in full-stops, exclamation marks, or question marks
(#913) Whitespace found at end of line
(#915) Inline comments must end in full-stops, exclamation marks, or question marks
(#916) Expected 1 space before "=>"; 0 found
(#916) Expected 1 space after "=>"; 0 found
(#918) Inline comments must end in full-stops, exclamation marks, or question marks
(#921) Inline comments must end in full-stops, exclamation marks, or question marks
(#923) Expected "if (...) {\n"; found "if(...){\n"
(#927) Expected "} else {\n"; found "}\n else{\n"
(#931) Inline comments must start with a capital letter, digit or 3-dots sequence
(#931) Inline comments must end in full-stops, exclamation marks, or question marks
(#932) Expected "if (...) {\n"; found "if(...){\n"
(#933) Inline comments must start with a capital letter, digit or 3-dots sequence
(#933) Inline comments must end in full-stops, exclamation marks, or question marks
(#934) Expected "if (...) {\n"; found "if(...){\n"
(#935) Inline comments must end in full-stops, exclamation marks, or question marks
(#938) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#939) Expected "if (...) {\n"; found "if (...){\n"
(#942) Inline comments must start with a capital letter, digit or 3-dots sequence
(#944) Line exceeds 132 characters; contains 139 characters
(#952) Inline comments must end in full-stops, exclamation marks, or question marks
(#955) Inline comments must end in full-stops, exclamation marks, or question marks
(#958) Expected "if (...) {\n"; found "if(...){\n"
(#959) Line exceeds 132 characters; contains 138 characters
(#961) Expected "if (...) {\n"; found "if(...){\n"
(#964) Expected "} else {\n"; found "}\n else{\n"
(#969) Whitespace found at end of line
(#971) Inline comments must end in full-stops, exclamation marks, or question marks
(#971) Whitespace found at end of line
(#973) Expected "if (...) {\n"; found "if(...){\n"
(#974) Inline comments must end in full-stops, exclamation marks, or question marks
(#977) Expected "} else {\n"; found "}\n else{\n"
(#978) Inline comments must end in full-stops, exclamation marks, or question marks
(#978) Whitespace found at end of line
(#980) Expected "if (...) {\n"; found "if(...){\n"
(#981) Inline comments must end in full-stops, exclamation marks, or question marks
(#987) Expected "if (...) {\n"; found "if(...){\n"
(#988) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#989) Line exceeds 132 characters; contains 163 characters
(#990) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#991) Expected "if (...) {\n"; found "if(...){\n"
(#992) Inline comments must start with a capital letter, digit or 3-dots sequence
(#992) Inline comments must end in full-stops, exclamation marks, or question marks
(#993) Line exceeds 132 characters; contains 145 characters
(#994) Expected "if (...) {\n"; found "if(...){\n"
(#998) Expected "} else {\n"; found "}\n else{\n"
(#1004) Commas (,) must be followed by white space.
(#1004) Commas (,) must be followed by white space.
(#1009) Expected "if (...) {\n"; found "if(...){\n"
(#1024) Line exceeds 132 characters; contains 133 characters
(#1032) Line exceeds 132 characters; contains 142 characters
(#1046) function name "local_moofactory_notification_getCustomfield" must be lower-case letters only
(#1046) Expected 1 space before opening brace; found 0
(#1057) Line indented incorrectly; expected 4 spaces, found 8
(#1057) Closing brace indented incorrectly; expected 4 spaces, found 8
(#1069) function name "local_moofactory_notification_setCustomfield" must be lower-case letters only
(#1069) Expected 1 space before opening brace; found 0
(#1080) Line indented incorrectly; expected 4 spaces, found 8
(#1080) Closing brace indented incorrectly; expected 4 spaces, found 8
(#1089) Whitespace found at end of line
(#1090) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#1094) Commas (,) must be followed by white space.
(#1094) Commas (,) must be followed by white space.
(#1097) Commas (,) must be followed by white space.
(#1097) Commas (,) must be followed by white space.
(#1100) Commas (,) must be followed by white space.
(#1100) Commas (,) must be followed by white space.
(#1103) Commas (,) must be followed by white space.
(#1103) Commas (,) must be followed by white space.
(#1106) Commas (,) must be followed by white space.
(#1106) Commas (,) must be followed by white space.
(#1109) Commas (,) must be followed by white space.
(#1109) Commas (,) must be followed by white space.
(#1112) Commas (,) must be followed by white space.
(#1112) Commas (,) must be followed by white space.
(#1115) Commas (,) must be followed by white space.
(#1115) Commas (,) must be followed by white space.
(#1118) Commas (,) must be followed by white space.
(#1118) Commas (,) must be followed by white space.
(#1121) Commas (,) must be followed by white space.
(#1121) Commas (,) must be followed by white space.
(#1124) Commas (,) must be followed by white space.
(#1124) Commas (,) must be followed by white space.
(#1126) Line indented incorrectly; expected 8 spaces, found 12
(#1126) Closing brace indented incorrectly; expected 8 spaces, found 12
(#1135) Expected "if (...) {\n"; found "if(...){\n"
(#1139) Expected "} else {\n"; found "}\n else{\n"
(#1145) Commas (,) must be followed by white space.
(#1145) Commas (,) must be followed by white space.
(#1146) Whitespace found at end of line
(#1148) Whitespace found at end of line
(#1161) Expected "if (...) {\n"; found "if(...){\n"
(#1164) Expected "} else {\n"; found "}\n else{\n"
(#1169) Whitespace found at end of line
(#1182) Expected "if (...) {\n"; found "if(...){\n"
(#1186) Expected "} else {\n"; found "}\n else{\n"
(#1192) Commas (,) must be followed by white space.
(#1192) Commas (,) must be followed by white space.
(#1193) Whitespace found at end of line
(#1195) Whitespace found at end of line
(#1209) Whitespace found at end of line
(#1211) Whitespace found at end of line
(#1226) Line exceeds 132 characters; contains 167 characters
(#1226) Inline comments must end in full-stops, exclamation marks, or question marks
(#1235) Inline comments must end in full-stops, exclamation marks, or question marks
(#1242) Expected "if (...) {\n"; found "if(...){\n"
(#1251) Expected 1 space before opening brace; found 0
(#1252) Line exceeds 132 characters; contains 148 characters
(#1254) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#1255) Expected "if (...) {\n"; found "if(...){\n"
(#1258) Expected "} else {\n"; found "}\n else{\n"
(#1267) Expected "if (...) {\n"; found "if(...){\n"
(#1267) Expected 1 space before "!=="; 0 found
(#1267) Expected 1 space after "!=="; 0 found
(#1270) Expected "if (...) {\n"; found "if(...){\n"
(#1270) Expected 1 space before "!=="; 0 found
(#1270) Expected 1 space after "!=="; 0 found
(#1275) Expected "if (...) {\n"; found "if(...){\n"
(#1275) Expected 1 space before "!=="; 0 found
(#1275) Expected 1 space after "!=="; 0 found
(#1278) Expected "if (...) {\n"; found "if(...){\n"
(#1278) Expected 1 space before "!=="; 0 found
(#1278) Expected 1 space after "!=="; 0 found
(#1283) Expected "if (...) {\n"; found "if(...){\n"
(#1283) Expected 1 space before "!=="; 0 found
(#1283) Expected 1 space after "!=="; 0 found
(#1286) Expected "if (...) {\n"; found "if(...){\n"
(#1286) Expected 1 space before "!=="; 0 found
(#1286) Expected 1 space after "!=="; 0 found
(#1294) Expected "if (...) {\n"; found "if(...){\n"
(#1298) Expected "if (...) {\n"; found "if(...){\n"
(#1302) Expected "if (...) {\n"; found "if(...){\n"
(#1311) Whitespace found at end of line
(#1314) Expected 1 space before opening brace; found 0
(#1315) Spaces must be used to indent lines; tabs are not allowed
(#1315) Tab found within whitespace
(#1315) Line indented incorrectly; expected at least 4 spaces, found 1
(#1316) Spaces must be used to indent lines; tabs are not allowed
(#1316) Tab found within whitespace
(#1316) Line indented incorrectly; expected at least 4 spaces, found 1
(#1317) Spaces must be used to indent lines; tabs are not allowed
(#1317) Tab found within whitespace
(#1317) Line indented incorrectly; expected 4 spaces, found 1
(#1317) Expected "if (...) {\n"; found "if(...){\n"
(#1317) Expected 1 space before ">"; 0 found
(#1317) Expected 1 space after ">"; 0 found
(#1318) Expected 1 space before "="; 0 found
(#1319) Spaces must be used to indent lines; tabs are not allowed
(#1319) Tab found within whitespace
(#1319) Line indented incorrectly; expected at least 8 spaces, found 2
(#1320) Spaces must be used to indent lines; tabs are not allowed
(#1320) Tab found within whitespace
(#1320) Line indented incorrectly; expected 4 spaces, found 1
(#1320) Expected "} else {\n"; found "}else{\n"
(#1321) Spaces must be used to indent lines; tabs are not allowed
(#1321) Tab found within whitespace
(#1321) Line indented incorrectly; expected at least 8 spaces, found 2
(#1322) Spaces must be used to indent lines; tabs are not allowed
(#1322) Tab found within whitespace
(#1322) Line indented incorrectly; expected 4 spaces, found 1
local/moofactory_notification/managenotif.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Expected "if (...) {\n"; found "if(...){\n"
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#70) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#72) Expected "if (...) {\n"; found "if(...){\n"
(#75) Expected "if (...) {\n"; found "if(...){\n"
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Whitespace found at end of line
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Expected "if (...) {\n"; found "if(...){\n"
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Usage of ELSEIF not allowed; use ELSE IF instead
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Expected 1 space before "=>"; 0 found
(#121) Expected 1 space after "=>"; 0 found
(#123) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#125) Expected "if (...) {\n"; found "if(...){\n"
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Whitespace found at end of line
(#135) Expected "if (...) {\n"; found "if(...){\n"
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Expected "} else {\n"; found "}\n\n // Pas de changement de type\n else{\n"
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#156) Expected 1 space before "=>"; 0 found
(#156) Expected 1 space after "=>"; 0 found
(#158) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#160) Expected "if (...) {\n"; found "if(...){\n"
(#176) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Expected 1 space before "=>"; 0 found
(#177) Expected 1 space after "=>"; 0 found
(#179) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#181) Expected "if (...) {\n"; found "if(...){\n"
(#190) Expected "if (...) {\n"; found "if(...){\n"
(#191) Expected "if (...) {\n"; found "if(...){\n"
(#194) Expected "if (...) {\n"; found "if(...){\n"
(#197) Expected "if (...) {\n"; found "if(...){\n"
(#205) Line exceeds 132 characters; contains 143 characters
local/moofactory_notification/managenotif_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#38) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#41) Line exceeds maximum limit of 180 characters; contains 234 characters
(#46) Line exceeds 132 characters; contains 139 characters
(#48) Line exceeds 132 characters; contains 149 characters
(#49) Line exceeds 132 characters; contains 143 characters
(#53) Expected "if (...) {\n"; found "if(...){\n"
(#64) Expected "} else {\n"; found "}\n else{\n"
(#73) Expected "} else {\n"; found "}\n else{\n"
(#79) Whitespace found at end of line
(#85) Expected "if (...) {\n"; found "if(...){\n"
(#90) Line exceeds 132 characters; contains 138 characters
(#92) Expected "} else {\n"; found "}\n else{\n"
(#95) Whitespace found at end of line
(#101) Line exceeds 132 characters; contains 156 characters
(#127) Inline comments must start with a capital letter, digit or 3-dots sequence
(#127) This comment is 75% valid code; is this commented out code?
(#127) No space found before comment text; expected "// $mform->setDefault('notificationbodyhtml', $record->bodyhtml);" but found "//$mform->setDefault('notificationbodyhtml', $record->bodyhtml);"
(#128) Commas (,) must be followed by white space.
(#130) Expected "} else {\n"; found "}\n else{\n"
(#136) Whitespace found at end of line
local/moofactory_notification/module.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#45) Expected "if (...) {\n"; found "if(...){\n"
(#48) Expected "} else {\n"; found "}\n else{\n"
(#54) Expected "if (...) {\n"; found "if(...){\n"
(#57) Expected "} else {\n"; found "}\n else{\n"
(#66) Line exceeds maximum limit of 180 characters; contains 184 characters
(#67) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Expected "if (...) {\n"; found "if(...){\n"
(#71) Expected "if (...) {\n"; found "if(...){\n"
(#74) Expected "} else {\n"; found "}\n else{\n"
(#77) Whitespace found at end of line
(#79) Expected "} else {\n"; found "}\n else{\n"
local/moofactory_notification/module_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#37) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#54) Expected "if (...) {\n"; found "if(...){\n"
(#55) Line exceeds maximum limit of 180 characters; contains 182 characters
(#57) Expected "} else {\n"; found "}\n else{\n"
(#58) Line exceeds 132 characters; contains 145 characters
(#62) Expected "if (...) {\n"; found "if(...){\n"
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#69) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#72) Expected "if (...) {\n"; found "if(...){\n"
(#73) Line exceeds 132 characters; contains 174 characters
(#75) Expected "} else {\n"; found "}\n else{\n"
(#76) Line exceeds 132 characters; contains 141 characters
(#80) Expected "if (...) {\n"; found "if(...){\n"
(#82) Expected "if (...) {\n"; found "if(...){\n"
(#87) Expected "} else {\n"; found "}\n else{\n"
(#95) Line exceeds 132 characters; contains 152 characters
(#96) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#98) Expected "if (...) {\n"; found "if(...){\n"
(#99) Line exceeds 132 characters; contains 171 characters
(#101) Expected "} else {\n"; found "}\n else{\n"
(#102) Line exceeds 132 characters; contains 145 characters
(#105) Whitespace found at end of line
(#107) Expected "if (...) {\n"; found "if(...){\n"
(#128) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#131) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#137) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#145) Line indented incorrectly; expected 8 spaces, found 12
(#145) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#148) Closing brace indented incorrectly; expected 12 spaces, found 8
(#156) This comment is 62% valid code; is this commented out code?
local/moofactory_notification/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Expected 1 space before "=>"; 0 found
(#75) Expected 1 space after "=>"; 0 found
(#76) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#106) Expected 1 space before "=>"; 0 found
(#106) Expected 1 space after "=>"; 0 found
(#107) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#137) Expected 1 space before "=>"; 0 found
(#137) Expected 1 space after "=>"; 0 found
(#138) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#169) Expected 1 space before "=>"; 0 found
(#169) Expected 1 space after "=>"; 0 found
(#170) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#176) This comment is 63% valid code; is this commented out code?
(#192) Line exceeds 132 characters; contains 138 characters
local/moofactory_notification/test.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) This comment is 64% valid code; is this commented out code?
(#35) No space found before comment text; expected "// local_moofactory_notification_send_coursesevents_notification();" but found "//local_moofactory_notification_send_coursesevents_notification();"
(#36) No space found before comment text; expected "// local_moofactory_notification_send_coursesenroll_notification();" but found "//local_moofactory_notification_send_coursesenroll_notification();"
(#37) No space found before comment text; expected "// local_moofactory_notification_send_coursesaccess_notification();" but found "//local_moofactory_notification_send_coursesaccess_notification();"
(#38) No space found before comment text; expected "// local_moofactory_notification_send_siteevents_notification();" but found "//local_moofactory_notification_send_siteevents_notification();"
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// var_dump(date("d/m/Y H:i:s", 1616067002));" but found "//var_dump(date("d/m/Y H:i:s", 1616067002));"
local/moofactory_notification/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

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

(47 errors, 0 warnings)

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

local/moofactory_notification/classes/observer.php
(#29) Class local_moofactory_observer is not documented
(#31) Function local_moofactory_observer::user_enrolment_created is not documented
local/moofactory_notification/classes/task/send_coursesaccess_notification.php
(#29) Class send_coursesaccess_notification is not documented
(#30) Function send_coursesaccess_notification::get_name is not documented
(#33) Function send_coursesaccess_notification::execute is not documented
local/moofactory_notification/classes/task/send_coursesenroll_notification.php
(#29) Class send_coursesenroll_notification is not documented
(#30) Function send_coursesenroll_notification::get_name is not documented
(#33) Function send_coursesenroll_notification::execute is not documented
local/moofactory_notification/classes/task/send_coursesevents_notification.php
(#29) Class send_coursesevents_notification is not documented
(#30) Function send_coursesevents_notification::get_name is not documented
(#33) Function send_coursesevents_notification::execute is not documented
local/moofactory_notification/classes/task/send_siteevents_notification.php
(#29) Class send_siteevents_notification is not documented
(#30) Function send_siteevents_notification::get_name is not documented
(#33) Function send_siteevents_notification::execute is not documented
local/moofactory_notification/db/install.php
(#28) Function xmldb_local_moofactory_notification_install is not documented
local/moofactory_notification/db/messages.php
(#17) No one-line description found in phpdocs for file
local/moofactory_notification/db/uninstall.php
(#20) Package format_moofactory is not valid
local/moofactory_notification/deletenotif_form.php
(#29) Class deletenotif_form is not documented
(#30) Function deletenotif_form::definition is not documented
local/moofactory_notification/lib.php
(#26) Function test is not documented
(#31) Function local_moofactory_notification_extend_navigation_course is not documented
(#262) Function local_moofactory_notification_user_enrolment_created is not documented
(#311) Function local_moofactory_notification_user_enrolment_updated is not documented
(#327) Function local_moofactory_notification_user_enrolment_deleted is not documented
(#340) Function local_moofactory_notification_course_viewed is not documented
(#351) Function local_moofactory_notification_course_updated is not documented
(#368) Function local_moofactory_notification_send_siteevents_notification is not documented
(#463) Function local_moofactory_notification_send_coursesenroll_notification is not documented
(#526) Function local_moofactory_notification_send_coursesaccess_notification is not documented
(#659) Function local_moofactory_notification_get_progress is not documented
(#677) Function local_moofactory_notification_get_activities is not documented
(#885) Function local_moofactory_notification_get_user_enrolments is not documented
(#904) Function local_moofactory_notification_send_coursesevents_notification is not documented
(#1046) Function local_moofactory_notification_getCustomfield is not documented
(#1069) Function local_moofactory_notification_setCustomfield is not documented
(#1088) Function local_moofactory_notification_replace_variables is not documented
(#1131) Function local_moofactory_notification_prepare_access_email is not documented
(#1178) Function local_moofactory_notification_prepare_enrollments_email is not documented
(#1220) Function local_moofactory_notification_send_email is not documented
(#1251) Function local_moofactory_notification_get_delays is not documented
(#830) Phpdocs for function local_moofactory_notification_percentage has incomplete parameters list
(#1311) Phpdocs for function local_moofactory_notification_fetch_variables has incomplete parameters list
local/moofactory_notification/managenotif_form.php
(#29) Class managenotif_form is not documented
(#30) Function managenotif_form::definition is not documented
local/moofactory_notification/module_form.php
(#30) Class module_form is not documented
(#31) Function module_form::definition is not documented
(#155) Function module_form::validation is not documented

Update savepoints problems

(4 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

local/moofactory_notification/db/upgrade.php
Detected more 'if' blocks (3) than 'savepoint' calls (0)
version 2021012700 is missing corresponding savepoint call
version 2021020900 is missing corresponding savepoint call
version 2021031500 is missing corresponding savepoint call

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]


Gherkin .feature problems

(0 errors, 0 warnings)

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