Prechecker results: error


Overview

(0 errors, 0 warnings)

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


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(574 errors, 800 warnings)

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

local/moofactory_notification/addnotif.php
(#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) Short array syntax must be used to define arrays
(#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
(#52) Short array syntax must be used to define arrays
(#57) Expected "if (...) {\n"; found "if(...){\n"
(#62) Short array syntax must be used to define arrays
local/moofactory_notification/classes/info_moofactory_notification.php
(#1) Moodle boilerplate not found
(#12) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#14) Missing docblock for class info_moofactory_notification
(#16) Missing docblock for function set_modinfo
local/moofactory_notification/classes/observer.php
(#29) Missing docblock for class local_moofactory_observer
(#30) Opening brace should be on the same line as the declaration for class local_moofactory_observer
(#31) Missing docblock for function user_enrolment_created
(#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
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class send_coursesaccess_notification
(#30) Missing docblock for function get_name
(#33) Missing docblock for function execute
(#40) File must end with a newline character
local/moofactory_notification/classes/task/send_coursesenroll_notification.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class send_coursesenroll_notification
(#30) Missing docblock for function get_name
(#33) Missing docblock for function execute
(#40) File must end with a newline character
local/moofactory_notification/classes/task/send_coursesevents_notification.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class send_coursesevents_notification
(#30) Missing docblock for function get_name
(#33) Missing docblock for function execute
(#40) File must end with a newline character
local/moofactory_notification/classes/task/send_modulesaccess_notification.php
(#1) Moodle boilerplate not found
(#5) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#7) Missing @copyright tag
(#7) Missing @license tag
(#7) Missing docblock for class send_modulesaccess_notification
(#8) Missing docblock for function get_name
(#11) Missing docblock for function execute
(#18) File must end with a newline character
local/moofactory_notification/classes/task/send_siteevents_notification.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for class send_siteevents_notification
(#30) Missing docblock for function get_name
(#33) Missing docblock for function execute
(#40) File must end with a newline character
local/moofactory_notification/db/access.php
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#32) There should be a comma after the last array item in a multi-line array.
(#34) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#45) Whitespace found at end of line
(#51) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
(#59) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#64) There should be a comma after the last array item in a multi-line array.
(#67) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#72) There should be a comma after the last array item in a multi-line array.
local/moofactory_notification/db/events.php
(#29) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
local/moofactory_notification/db/install.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Missing docblock for function xmldb_local_moofactory_notification_install
(#29) Opening brace should be on the same line as the declaration
(#50) Line exceeds 132 characters; contains 138 characters
(#65) Line exceeds 132 characters; contains 172 characters
(#78) Line exceeds maximum limit of 180 characters; contains 181 characters
(#101) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#123) Short array syntax must be used to define arrays
(#123) Line exceeds 132 characters; contains 141 characters
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#144) Short array syntax must be used to define arrays
(#144) Line exceeds maximum limit of 180 characters; contains 211 characters
(#145) Short array syntax must be used to define arrays
(#145) Line exceeds 132 characters; contains 161 characters
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#163) Short array syntax must be used to define arrays
(#164) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#169) Line exceeds 132 characters; contains 153 characters
(#175) Short array syntax must be used to define arrays
(#175) Line exceeds maximum limit of 180 characters; contains 202 characters
(#182) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) Whitespace found at end of line
(#188) Line indented incorrectly; expected 8 spaces, found 9
(#189) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#190) Line indented incorrectly; expected 8 spaces, found 9
(#191) Whitespace found at end of line
(#192) Short array syntax must be used to define arrays
(#193) Short array syntax must be used to define arrays
(#194) Line indented incorrectly; expected 8 spaces, found 9
(#196) Line indented incorrectly; expected 8 spaces, found 9
(#198) Whitespace found at end of line
(#202) Short array syntax must be used to define arrays
(#202) Line exceeds maximum limit of 180 characters; contains 203 characters
(#208) Whitespace found at end of line
(#210) Whitespace found at end of line
(#211) Inline comments must end in full-stops, exclamation marks, or question marks
(#211) No space found before comment text; expected "// Select choix role notif 2" but found "//Select choix role notif 2"
(#212) Whitespace found at end of line
(#215) Whitespace found at end of line
(#217) Line indented incorrectly; expected 8 spaces, found 9
(#218) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#219) Line indented incorrectly; expected 8 spaces, found 9
(#220) Whitespace found at end of line
(#223) Whitespace found at end of line
(#225) Line indented incorrectly; expected 8 spaces, found 9
(#226) Space found before semicolon; expected "localname;" but found "localname ;"
(#226) Whitespace found at end of line
(#227) Line indented incorrectly; expected 8 spaces, found 9
(#229) Whitespace found at end of line
(#233) Short array syntax must be used to define arrays
(#233) Line exceeds 132 characters; contains 165 characters
(#242) Inline comments must end in full-stops, exclamation marks, or question marks
(#248) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#254) Short array syntax must be used to define arrays
(#254) Line exceeds 132 characters; contains 141 characters
(#263) Inline comments must end in full-stops, exclamation marks, or question marks
(#269) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#275) Short array syntax must be used to define arrays
(#275) Line exceeds maximum limit of 180 characters; contains 211 characters
(#276) Short array syntax must be used to define arrays
(#276) Line exceeds 132 characters; contains 156 characters
(#285) Inline comments must end in full-stops, exclamation marks, or question marks
(#292) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#295) Short array syntax must be used to define arrays
(#296) Short array syntax must be used to define arrays
(#301) Short array syntax must be used to define arrays
(#301) Line exceeds 132 characters; contains 148 characters
(#307) Short array syntax must be used to define arrays
(#307) Line exceeds maximum limit of 180 characters; contains 197 characters
(#318) Inline comments must end in full-stops, exclamation marks, or question marks
(#325) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#331) Short array syntax must be used to define arrays
(#331) Line exceeds 132 characters; contains 157 characters
(#340) Inline comments must end in full-stops, exclamation marks, or question marks
(#345) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#351) Short array syntax must be used to define arrays
(#351) Line exceeds 132 characters; contains 141 characters
(#360) Inline comments must end in full-stops, exclamation marks, or question marks
(#366) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#372) Short array syntax must be used to define arrays
(#372) Line exceeds 132 characters; contains 141 characters
(#381) Inline comments must end in full-stops, exclamation marks, or question marks
(#387) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#393) Short array syntax must be used to define arrays
(#393) Line exceeds 132 characters; contains 141 characters
(#402) Inline comments must end in full-stops, exclamation marks, or question marks
(#408) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#414) Short array syntax must be used to define arrays
(#414) Line exceeds 132 characters; contains 141 characters
(#423) Inline comments must end in full-stops, exclamation marks, or question marks
(#429) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#432) Short array syntax must be used to define arrays
(#433) Short array syntax must be used to define arrays
(#438) Short array syntax must be used to define arrays
(#438) Line exceeds 132 characters; contains 148 characters
(#444) Short array syntax must be used to define arrays
(#444) Line exceeds maximum limit of 180 characters; contains 197 characters
(#453) Inline comments must end in full-stops, exclamation marks, or question marks
(#454) Line exceeds 132 characters; contains 152 characters
(#462) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#468) Short array syntax must be used to define arrays
(#468) Line exceeds maximum limit of 180 characters; contains 215 characters
(#469) Short array syntax must be used to define arrays
(#469) Line exceeds 132 characters; contains 152 characters
local/moofactory_notification/db/messages.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#30) There should be a comma after the last array item in a multi-line array.
(#33) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
(#38) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#40) There should be a comma after the last array item in a multi-line array.
(#43) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#48) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#50) There should be a comma after the last array item in a multi-line array.
local/moofactory_notification/db/tasks.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
(#37) Short array syntax must be used to define arrays
(#44) There should be a comma after the last array item in a multi-line array.
(#46) Short array syntax must be used to define arrays
(#53) There should be a comma after the last array item in a multi-line array.
(#55) Short array syntax must be used to define arrays
(#62) There should be a comma after the last array item in a multi-line array.
(#64) Short array syntax must be used to define arrays
(#71) There should be a comma after the last array item in a multi-line array.
(#73) File must end with a newline character
local/moofactory_notification/db/uninstall.php
(#20) Incorrect @package tag for file uninstall.php. Expected local_moofactory_notification, found format_moofactory.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Whitespace found at end of line
(#37) Short array syntax must be used to define arrays
(#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
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#51) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#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) Short array syntax must be used to define arrays
(#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
(#120) Short array syntax must be used to define arrays
(#120) Expected 1 space before "=>"; 0 found
(#120) Expected 1 space after "=>"; 0 found
(#120) Expected 1 space before "=>"; 0 found
(#120) Expected 1 space after "=>"; 0 found
(#121) Expected "if (...) {\n"; found "if(...){\n"
(#131) Whitespace found at end of line
(#143) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#158) Short array syntax must be used to define arrays
(#158) Line exceeds 132 characters; contains 151 characters
(#160) Expected "if (...) {\n"; found "if(...){\n"
(#165) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) 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)"
(#167) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#173) Short array syntax must be used to define arrays
(#174) Expected "if (...) {\n"; found "if(...){\n"
(#180) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#186) Short array syntax must be used to define arrays
(#186) Line exceeds 132 characters; contains 145 characters
(#192) Whitespace found at end of line
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) Short array syntax must be used to define arrays
(#198) Expected "if (...) {\n"; found "if(...){\n"
(#204) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#210) Short array syntax must be used to define arrays
(#210) Line exceeds maximum limit of 180 characters; contains 215 characters
(#211) Short array syntax must be used to define arrays
(#211) Line exceeds 132 characters; contains 165 characters
(#217) Whitespace found at end of line
(#221) Short array syntax must be used to define arrays
(#222) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) Short array syntax must be used to define arrays
(#224) Expected "if (...) {\n"; found "if(...){\n"
(#230) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#233) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#234) Expected 1 space before "=>"; 0 found
(#234) Expected 1 space after "=>"; 0 found
(#235) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#239) Short array syntax must be used to define arrays
(#239) Expected 1 space before "=>"; 0 found
(#239) Expected 1 space after "=>"; 0 found
(#239) Line exceeds 132 characters; contains 155 characters
(#241) Whitespace found at end of line
(#245) Short array syntax must be used to define arrays
(#245) Line exceeds maximum limit of 180 characters; contains 201 characters
(#251) Whitespace found at end of line
(#256) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) No space found before comment text; expected "// Delete champs 'courseaccessnotification2' && 'courseaccessrole2' && 'courseaccesscopie'" but found "//Delete champs 'courseaccessnotification2' && 'courseaccessrole2' && 'courseaccesscopie'"
(#257) Short array syntax must be used to define arrays
(#258) Expected "if (...) {\n"; found "if(...){\n"
(#259) Short array syntax must be used to define arrays
(#261) Short array syntax must be used to define arrays
(#262) Expected "if (...) {\n"; found "if(...){\n"
(#263) Short array syntax must be used to define arrays
(#265) Short array syntax must be used to define arrays
(#267) Short array syntax must be used to define arrays
(#269) Whitespace found at end of line
(#270) Inline comments must end in full-stops, exclamation marks, or question marks
(#271) Short array syntax must be used to define arrays
(#272) Expected "if (...) {\n"; found "if(...){\n"
(#278) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#281) Short array syntax must be used to define arrays
(#282) Short array syntax must be used to define arrays
(#282) Expected 1 space before "=>"; 0 found
(#282) Expected 1 space after "=>"; 0 found
(#283) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#287) Short array syntax must be used to define arrays
(#287) Expected 1 space before "=>"; 0 found
(#287) Expected 1 space after "=>"; 0 found
(#287) Line exceeds 132 characters; contains 150 characters
(#289) Whitespace found at end of line
(#293) Short array syntax must be used to define arrays
(#293) Line exceeds maximum limit of 180 characters; contains 201 characters
(#299) Whitespace found at end of line
(#304) Inline comments must end in full-stops, exclamation marks, or question marks
(#304) No space found before comment text; expected "// Select choix role notif 2" but found "//Select choix role notif 2"
(#305) Short array syntax must be used to define arrays
(#306) Expected "if (...) {\n"; found "if(...){\n"
(#312) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#320) Space found before semicolon; expected "localname;" but found "localname ;"
(#320) Whitespace found at end of line
(#323) Whitespace found at end of line
(#327) Short array syntax must be used to define arrays
(#327) Line exceeds 132 characters; contains 168 characters
(#333) Whitespace found at end of line
(#338) Inline comments must end in full-stops, exclamation marks, or question marks
(#339) Short array syntax must be used to define arrays
(#341) Short array syntax must be used to define arrays
(#342) Expected "if (...) {\n"; found "if(...){\n"
(#348) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#354) Short array syntax must be used to define arrays
(#354) Line exceeds 132 characters; contains 145 characters
(#360) Whitespace found at end of line
(#365) Inline comments must end in full-stops, exclamation marks, or question marks
(#366) Short array syntax must be used to define arrays
(#367) Expected "if (...) {\n"; found "if(...){\n"
(#373) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#379) Short array syntax must be used to define arrays
(#379) Line exceeds maximum limit of 180 characters; contains 215 characters
(#380) Short array syntax must be used to define arrays
(#380) Line exceeds 132 characters; contains 160 characters
(#386) Whitespace found at end of line
(#391) Inline comments must end in full-stops, exclamation marks, or question marks
(#392) Short array syntax must be used to define arrays
(#393) Expected "if (...) {\n"; found "if(...){\n"
(#399) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#402) Short array syntax must be used to define arrays
(#403) Short array syntax must be used to define arrays
(#403) Expected 1 space before "=>"; 0 found
(#403) Expected 1 space after "=>"; 0 found
(#404) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#408) Short array syntax must be used to define arrays
(#408) Expected 1 space before "=>"; 0 found
(#408) Expected 1 space after "=>"; 0 found
(#408) Line exceeds 132 characters; contains 150 characters
(#410) Whitespace found at end of line
(#414) Short array syntax must be used to define arrays
(#414) Line exceeds maximum limit of 180 characters; contains 201 characters
(#420) Whitespace found at end of line
(#425) Expected 1 space before "<"; 0 found
(#425) Expected 1 space after "<"; 0 found
(#425) Inline comments must end in full-stops, exclamation marks, or question marks
(#425) Whitespace found at end of line
(#426) Short array syntax must be used to define arrays
(#427) Expected "if (...) {\n"; found "if(...){\n"
(#428) Short array syntax must be used to define arrays
(#430) Whitespace found at end of line
(#433) Variable "new_options" must not contain underscores.
(#434) Whitespace found at end of line
(#435) Variable "new_options" must not contain underscores.
(#436) Variable "new_options" must not contain underscores.
(#443) Whitespace found at end of line
(#444) Inline comments must end in full-stops, exclamation marks, or question marks
(#445) Short array syntax must be used to define arrays
(#446) Expected "if (...) {\n"; found "if(...){\n"
(#452) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#458) Short array syntax must be used to define arrays
(#458) Line exceeds 132 characters; contains 145 characters
(#464) Whitespace found at end of line
(#468) Inline comments must end in full-stops, exclamation marks, or question marks
(#469) Short array syntax must be used to define arrays
(#470) Expected "if (...) {\n"; found "if(...){\n"
(#476) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#482) Short array syntax must be used to define arrays
(#482) Line exceeds 132 characters; contains 145 characters
(#488) Whitespace found at end of line
(#492) Inline comments must end in full-stops, exclamation marks, or question marks
(#493) Short array syntax must be used to define arrays
(#495) Short array syntax must be used to define arrays
(#496) Expected "if (...) {\n"; found "if(...){\n"
(#502) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#508) Short array syntax must be used to define arrays
(#508) Line exceeds 132 characters; contains 145 characters
(#514) Whitespace found at end of line
(#519) Inline comments must end in full-stops, exclamation marks, or question marks
(#520) Short array syntax must be used to define arrays
(#521) Expected "if (...) {\n"; found "if(...){\n"
(#527) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#533) Short array syntax must be used to define arrays
(#533) Line exceeds 132 characters; contains 145 characters
(#539) Whitespace found at end of line
(#544) Inline comments must end in full-stops, exclamation marks, or question marks
(#545) Short array syntax must be used to define arrays
(#546) Expected "if (...) {\n"; found "if(...){\n"
(#552) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#555) Short array syntax must be used to define arrays
(#556) Short array syntax must be used to define arrays
(#556) Expected 1 space before "=>"; 0 found
(#556) Expected 1 space after "=>"; 0 found
(#557) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#561) Short array syntax must be used to define arrays
(#561) Expected 1 space before "=>"; 0 found
(#561) Expected 1 space after "=>"; 0 found
(#561) Line exceeds 132 characters; contains 150 characters
(#563) Whitespace found at end of line
(#567) Short array syntax must be used to define arrays
(#567) Line exceeds maximum limit of 180 characters; contains 201 characters
(#573) Whitespace found at end of line
(#577) Inline comments must end in full-stops, exclamation marks, or question marks
(#578) Line exceeds 132 characters; contains 152 characters
(#579) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#581) Short array syntax must be used to define arrays
(#582) Expected "if (...) {\n"; found "if(...){\n"
(#585) Whitespace found at end of line
(#588) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#590) Whitespace found at end of line
(#594) Short array syntax must be used to define arrays
(#594) Line exceeds maximum limit of 180 characters; contains 219 characters
(#595) Short array syntax must be used to define arrays
(#595) Line exceeds 132 characters; contains 154 characters
(#601) Whitespace found at end of line
local/moofactory_notification/deletenotif.php
(#34) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#48) Expected 1 space before "=>"; 0 found
(#48) Expected 1 space after "=>"; 0 found
(#65) Expected "if (...) {\n"; found "if(...){\n"
(#66) Short array syntax must be used to define arrays
(#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
(#81) Short array syntax must be used to define arrays
(#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"
(#89) Expected "if (...) {\n"; found "if(...){\n"
(#96) Short array syntax must be used to define arrays
(#102) Expected "if (...) {\n"; found "if(...){\n"
(#106) Usage of ELSEIF not allowed; use ELSE IF instead
(#113) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#117) Whitespace found at end of line
(#119) Expected "if (...) {\n"; found "if(...){\n"
(#125) Short array syntax must be used to define arrays
local/moofactory_notification/deletenotif_form.php
(#29) Missing docblock for class deletenotif_form
(#30) Missing docblock for function definition
(#35) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#46) Expected 1 space before "=>"; 0 found
(#46) Expected 1 space after "=>"; 0 found
(#64) Expected "if (...) {\n"; found "if(...){\n"
(#69) Short array syntax must be used to define arrays
(#69) Expected 1 space before "=>"; 0 found
(#69) Expected 1 space after "=>"; 0 found
(#71) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#73) Expected "if (...) {\n"; found "if(...){\n"
(#80) Short array syntax must be used to define arrays
(#86) Expected "if (...) {\n"; found "if(...){\n"
(#94) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#98) Whitespace found at end of line
(#100) Expected "if (...) {\n"; found "if(...){\n"
(#107) Short array syntax must be used to define arrays
(#108) Whitespace found at end of line
(#110) Expected "if (...) {\n"; found "if(...){\n"
(#111) Line exceeds 132 characters; contains 160 characters
(#113) Expected "if (...) {\n"; found "if(...){\n"
(#114) Expected "if (...) {\n"; found "if(...){\n"
(#115) Line exceeds 132 characters; contains 165 characters
(#116) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#120) Expected "} else {\n"; found "}\n else{\n"
(#121) Line exceeds maximum limit of 180 characters; contains 211 characters
(#124) Expected "if (...) {\n"; found "if(...){\n"
(#125) Expected "if (...) {\n"; found "if(...){\n"
(#126) Line exceeds 132 characters; contains 168 characters
(#127) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#131) Expected "} else {\n"; found "}\n else{\n"
(#132) Line exceeds maximum limit of 180 characters; contains 216 characters
(#135) Line exceeds 132 characters; contains 175 characters
(#140) File must end with a newline character
local/moofactory_notification/duplicatenotif.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#31) Short array syntax must be used to define arrays
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Short array syntax must be used to define arrays
(#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
(#67) Short array syntax must be used to define arrays
(#72) Expected "if (...) {\n"; found "if(...){\n"
(#77) Short array syntax must be used to define arrays
local/moofactory_notification/lang/en/local_moofactory_notification.php
(#28) The string key "notifications_category" is not in the correct order, it should be before "pluginname"
(#30) The string key "managenotif" is not in the correct order, it should be before "settings"
(#31) The string key "enabled" is not in the correct order, it should be before "managenotif"
(#36) The string key "daysbeforesiteevent" is not in the correct order, it should be before "siteevents_desc"
(#41) The string key "coursesevents" is not in the correct order, it should be before "siteeventsnotification_desc"
(#47) The string key "coursesaccess" is not in the correct order, it should be before "usersevents_desc"
(#51) The string key "coursesaccessnotification_desc" is not in the correct order, it should be before "coursesaccesstime_desc"
(#54) The string key "courseaccess" is not in the correct order, it should be before "coursesaccessnotifnumber_desc"
(#62) The string key "coursesenrollmentsnotification_desc" is not in the correct order, it should be before "coursesenrollmentstime_desc"
(#63) The string key "courseenrollments" is not in the correct order, it should be before "coursesenrollmentsnotification_desc"
(#73) The string key "selectrole2" is not in the correct order, it should be before "usednotification2"
(#74) The string key "copienotif" is not in the correct order, it should be before "selectrole2"
(#81) The string key "daysbeforeevents2" is not in the correct order, it should be before "hoursbeforeevents1_desc"
(#85) The string key "daysbeforeevents3" is not in the correct order, it should be before "hoursbeforeevents2_desc"
(#92) The string key "modulecheckavailability" is not in the correct order, it should be before "moduleevents"
(#97) The string key "notanullnumber" is not in the correct order, it should be before "notanumber"
(#100) The string key "sendcourseseventsnotifications" is not in the correct order, it should be before "sendsiteeventsnotifications"
(#101) The string key "sendcourseenrollmentsnotifications" is not in the correct order, it should be before "sendcourseseventsnotifications"
(#102) The string key "sendcourseaccessnotifications" is not in the correct order, it should be before "sendcourseenrollmentsnotifications"
(#104) The string key "choose" is not in the correct order, it should be before "sendmoduleaccessnotifications"
(#106) The string key "duplicate" is not in the correct order, it should be before "notifications"
(#107) The string key "delete" is not in the correct order, it should be before "duplicate"
(#108) The string key "add" is not in the correct order, it should be before "delete"
(#111) The string key "deletecourses" is not in the correct order, it should be before "deleteplugin"
(#112) The string key "deletecourse" is not in the correct order, it should be before "deletecourses"
(#113) The string key "deleteactivities" is not in the correct order, it should be before "deletecourse"
(#117) The string key "name" is not in the correct order, it should be before "required"
(#119) The string key "subject" is not in the correct order, it should be before "type"
(#120) The string key "bodyhtml" is not in the correct order, it should be before "subject"
(#123) Unexpected comment found. Auto-fixing will not work after this comment
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) The string key "params_usergroup" is not in the correct order, it should be before "params_username"
(#129) The string key "params_eventdate" is not in the correct order, it should be before "params_usergroup"
(#131) The string key "params_coursename" is not in the correct order, it should be before "params_eventname"
(#133) The string key "params_courseenddate" is not in the correct order, it should be before "params_coursestartdate"
(#135) The string key "params_courseenrolenddate" is not in the correct order, it should be before "params_courseenrolstartdate"
(#137) The string key "params_activityname" is not in the correct order, it should be before "params_courseurl"
(#139) The string key "params_lmsname" is not in the correct order, it should be before "params_lmsurl"
(#140) The string key "params_interval" is not in the correct order, it should be before "params_lmsname"
(#142) The string key "messageprovider:coursesaccess_notification" is not in the correct order, it should be before "params_interval"
(#146) The string key "messageprovider:levee_notification" is not in the correct order, it should be before "messageprovider:siteevents_notification"
(#147) The string key "copied" is not in the correct order, it should be before "messageprovider:levee_notification"
(#149) Unexpected comment found. Auto-fixing will not work after this comment
(#152) The string key "moofactory_notification:coursesenrollments" is not in the correct order, it should be before "moofactory_notification:setnotifications"
(#154) The string key "moofactory_notification:coursesaccess" is not in the correct order, it should be before "moofactory_notification:coursesevents"
(#157) Unexpected comment found. Auto-fixing will not work after this comment
(#157) Inline comments must start with a capital letter, digit or 3-dots sequence
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) No space found before comment text; expected "// champs notification restriction d'accès" but found "//champs notification restriction d'accès"
(#158) The string key "moduleaccesstitle" is not in the correct order, it should be before "moofactory_notification:modulesaccess"
(#159) The string key "moduleaccess" is not in the correct order, it should be before "moduleaccesstitle"
(#161) The string key "leveetime" is not in the correct order, it should be before "moduleaccess_desc"
(#166) The string key "daysbeforelevee1" is not in the correct order, it should be before "moduleleveetime_desc"
(#170) The string key "daysbeforelevee2" is not in the correct order, it should be before "hoursbeforelevee1_desc"
(#174) The string key "daysbeforelevee3" is not in the correct order, it should be before "hoursbeforelevee2_desc"
(#177) Unexpected string end, it should be a line feed after a semicolon
(#177) File must end with a newline character
local/moofactory_notification/lang/fr/local_moofactory_notification.php
(#28) The string key "notifications_category" is not in the correct order, it should be before "pluginname"
(#30) The string key "managenotif" is not in the correct order, it should be before "settings"
(#31) The string key "enabled" is not in the correct order, it should be before "managenotif"
(#36) The string key "daysbeforesiteevent" is not in the correct order, it should be before "siteevents_desc"
(#41) The string key "coursesevents" is not in the correct order, it should be before "siteeventsnotification_desc"
(#47) The string key "coursesaccess" is not in the correct order, it should be before "usersevents_desc"
(#51) The string key "coursesaccessnotification_desc" is not in the correct order, it should be before "coursesaccesstime_desc"
(#54) The string key "courseaccess" is not in the correct order, it should be before "coursesaccessnotifnumber_desc"
(#62) The string key "coursesenrollmentsnotification_desc" is not in the correct order, it should be before "coursesenrollmentstime_desc"
(#63) The string key "courseenrollments" is not in the correct order, it should be before "coursesenrollmentsnotification_desc"
(#73) The string key "selectrole2" is not in the correct order, it should be before "usednotification2"
(#74) The string key "copienotif" is not in the correct order, it should be before "selectrole2"
(#80) The string key "daysbeforeevents2" is not in the correct order, it should be before "hoursbeforeevents1_desc"
(#84) The string key "daysbeforeevents3" is not in the correct order, it should be before "hoursbeforeevents2_desc"
(#91) The string key "modulecheckavailability" is not in the correct order, it should be before "moduleevents"
(#96) The string key "notanullnumber" is not in the correct order, it should be before "notanumber"
(#99) The string key "sendcourseseventsnotifications" is not in the correct order, it should be before "sendsiteeventsnotifications"
(#100) The string key "sendcourseenrollmentsnotifications" is not in the correct order, it should be before "sendcourseseventsnotifications"
(#101) The string key "sendcourseaccessnotifications" is not in the correct order, it should be before "sendcourseenrollmentsnotifications"
(#103) The string key "choose" is not in the correct order, it should be before "sendmoduleaccessnotifications"
(#105) The string key "duplicate" is not in the correct order, it should be before "notifications"
(#106) The string key "delete" is not in the correct order, it should be before "duplicate"
(#107) The string key "add" is not in the correct order, it should be before "delete"
(#110) The string key "deletecourses" is not in the correct order, it should be before "deleteplugin"
(#111) The string key "deletecourse" is not in the correct order, it should be before "deletecourses"
(#112) The string key "deleteactivities" is not in the correct order, it should be before "deletecourse"
(#116) The string key "name" is not in the correct order, it should be before "required"
(#118) The string key "subject" is not in the correct order, it should be before "type"
(#119) The string key "bodyhtml" is not in the correct order, it should be before "subject"
(#122) The string key "messageprovider:coursesaccess_notification" is not in the correct order, it should be before "nogroup"
(#126) The string key "messageprovider:levee_notification" is not in the correct order, it should be before "messageprovider:siteevents_notification"
(#128) Unexpected comment found. Auto-fixing will not work after this comment
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#133) The string key "params_usergroup" is not in the correct order, it should be before "params_username"
(#134) The string key "params_eventdate" is not in the correct order, it should be before "params_usergroup"
(#136) The string key "params_coursename" is not in the correct order, it should be before "params_eventname"
(#138) The string key "params_courseenddate" is not in the correct order, it should be before "params_coursestartdate"
(#140) The string key "params_courseenrolenddate" is not in the correct order, it should be before "params_courseenrolstartdate"
(#142) The string key "params_activityname" is not in the correct order, it should be before "params_courseurl"
(#144) The string key "params_lmsname" is not in the correct order, it should be before "params_lmsurl"
(#145) The string key "params_interval" is not in the correct order, it should be before "params_lmsname"
(#146) The string key "copied" is not in the correct order, it should be before "params_interval"
(#148) Unexpected comment found. Auto-fixing will not work after this comment
(#151) The string key "moofactory_notification:coursesenrollments" is not in the correct order, it should be before "moofactory_notification:setnotifications"
(#153) The string key "moofactory_notification:coursesaccess" is not in the correct order, it should be before "moofactory_notification:coursesevents"
(#156) Unexpected comment found. Auto-fixing will not work after this comment
(#156) Inline comments must start with a capital letter, digit or 3-dots sequence
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#156) No space found before comment text; expected "// champs notification restriction d'accès" but found "//champs notification restriction d'accès"
(#157) The string key "moduleaccesstitle" is not in the correct order, it should be before "moofactory_notification:modulesaccess"
(#158) The string key "moduleaccess" is not in the correct order, it should be before "moduleaccesstitle"
(#160) The string key "leveetime" is not in the correct order, it should be before "moduleaccess_desc"
(#165) The string key "daysbeforelevee1" is not in the correct order, it should be before "moduleleveetime_desc"
(#169) The string key "daysbeforelevee2" is not in the correct order, it should be before "hoursbeforelevee1_desc"
(#173) The string key "daysbeforelevee3" is not in the correct order, it should be before "hoursbeforelevee2_desc"
local/moofactory_notification/lib.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#30) Missing docblock for function test
(#31) Opening brace should be on the same line as the declaration
(#36) Missing docblock for function local_moofactory_notification_extend_navigation_course
(#37) Opening brace should be on the same line as the declaration
(#41) Line exceeds 132 characters; contains 154 characters
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#43) Line exceeds 132 characters; contains 153 characters
(#45) Short array syntax must be used to define arrays
(#51) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#54) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#61) Line exceeds maximum limit of 180 characters; contains 206 characters
(#66) Line exceeds 132 characters; contains 156 characters
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#74) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#77) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#84) Line exceeds maximum limit of 180 characters; contains 206 characters
(#89) Line exceeds 132 characters; contains 147 characters
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#91) Line exceeds 132 characters; contains 148 characters
(#93) Short array syntax must be used to define arrays
(#99) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#102) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#109) Line exceeds maximum limit of 180 characters; contains 206 characters
(#114) Line exceeds 132 characters; contains 151 characters
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#116) Line exceeds 132 characters; contains 148 characters
(#118) Short array syntax must be used to define arrays
(#124) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#127) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#134) Line exceeds maximum limit of 180 characters; contains 206 characters
(#161) Line exceeds 132 characters; contains 156 characters
(#249) Line exceeds maximum limit of 180 characters; contains 218 characters
(#275) Line exceeds maximum limit of 180 characters; contains 198 characters
(#282) Short array syntax must be used to define arrays
(#282) Line exceeds 132 characters; contains 163 characters
(#285) Line exceeds 132 characters; contains 137 characters
(#308) Inline comments must end in full-stops, exclamation marks, or question marks
(#309) Missing docblock for function local_moofactory_notification_user_enrolment_created
(#310) Opening brace should be on the same line as the declaration
(#320) Short array syntax must be used to define arrays
(#325) Variable "is_enrolled" must not contain underscores.
(#327) Variable "is_enrolled" must not contain underscores.
(#328) Inline comments must end in full-stops, exclamation marks, or question marks
(#339) Inline comments must end in full-stops, exclamation marks, or question marks
(#341) Inline comments must end in full-stops, exclamation marks, or question marks
(#344) Inline comments must start with a capital letter, digit or 3-dots sequence
(#344) Inline comments must end in full-stops, exclamation marks, or question marks
(#346) Inline comments must start with a capital letter, digit or 3-dots sequence
(#346) Inline comments must end in full-stops, exclamation marks, or question marks
(#349) Inline comments must start with a capital letter, digit or 3-dots sequence
(#349) Inline comments must end in full-stops, exclamation marks, or question marks
(#366) Missing docblock for function local_moofactory_notification_user_enrolment_updated
(#367) Opening brace should be on the same line as the declaration
(#374) Variable "is_enrolled" must not contain underscores.
(#375) Variable "is_enrolled" must not contain underscores.
(#377) Inline comments must end in full-stops, exclamation marks, or question marks
(#378) Short array syntax must be used to define arrays
(#383) Missing docblock for function local_moofactory_notification_user_enrolment_deleted
(#384) Opening brace should be on the same line as the declaration
(#391) Inline comments must end in full-stops, exclamation marks, or question marks
(#392) Short array syntax must be used to define arrays
(#393) Short array syntax must be used to define arrays
(#399) Missing docblock for function delete_mf_modaccessnotif_records
(#400) Opening brace should be on the same line as the declaration
(#402) Inline comments must end in full-stops, exclamation marks, or question marks
(#403) Whitespace found at end of line within string
(#407) Short array syntax must be used to define arrays
(#413) Inline comments must end in full-stops, exclamation marks, or question marks
(#418) Missing docblock for function local_moofactory_notification_course_viewed
(#419) Opening brace should be on the same line as the declaration
(#425) Inline comments must end in full-stops, exclamation marks, or question marks
(#426) Short array syntax must be used to define arrays
(#430) Missing docblock for function local_moofactory_notification_course_updated
(#431) Opening brace should be on the same line as the declaration
(#436) Inline comments must end in full-stops, exclamation marks, or question marks
(#441) Inline comments must end in full-stops, exclamation marks, or question marks
(#442) Short array syntax must be used to define arrays
(#446) Missing docblock for function local_moofactory_notification_module_deleted
(#447) Opening brace should be on the same line as the declaration
(#452) Inline comments must end in full-stops, exclamation marks, or question marks
(#453) Short array syntax must be used to define arrays
(#458) Inline comments must end in full-stops, exclamation marks, or question marks
(#459) Missing docblock for function local_moofactory_notification_send_siteevents_notification
(#460) Opening brace should be on the same line as the declaration
(#465) Inline comments must end in full-stops, exclamation marks, or question marks
(#467) Inline comments must end in full-stops, exclamation marks, or question marks
(#469) Inline comments must end in full-stops, exclamation marks, or question marks
(#469) Whitespace found at end of line
(#471) Inline comments must end in full-stops, exclamation marks, or question marks
(#472) Short array syntax must be used to define arrays
(#474) Inline comments must end in full-stops, exclamation marks, or question marks
(#477) Inline comments must end in full-stops, exclamation marks, or question marks
(#485) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#487) Inline comments must end in full-stops, exclamation marks, or question marks
(#489) Inline comments must end in full-stops, exclamation marks, or question marks
(#491) Inline comments must end in full-stops, exclamation marks, or question marks
(#496) Inline comments must end in full-stops, exclamation marks, or question marks
(#497) Line exceeds 132 characters; contains 140 characters
(#501) Line exceeds 132 characters; contains 158 characters
(#501) Inline comments must start with a capital letter, digit or 3-dots sequence
(#501) This comment is 59% valid code; is this commented out code?
(#501) 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);"
(#502) No space found before comment text; expected "// foreach($targetedevents as $targetedevent) {" but found "//foreach($targetedevents as $targetedevent) {"
(#503) No space found before comment text; expected "// if($targetedevent->id == $event->id){" but found "//if($targetedevent->id == $event->id){"
(#505) Inline comments must end in full-stops, exclamation marks, or question marks
(#506) Variable "existingNotification" must be all lower-case
(#506) Short array syntax must be used to define arrays
(#506) Line exceeds 132 characters; contains 145 characters
(#507) Variable "existingNotification" must be all lower-case
(#508) Inline comments must start with a capital letter, digit or 3-dots sequence
(#508) Inline comments must end in full-stops, exclamation marks, or question marks
(#516) Inline comments must start with a capital letter, digit or 3-dots sequence
(#516) This comment is 73% valid code; is this commented out code?
(#516) No space found before comment text; expected "// $users = [$DB->get_record('user', array('id' => 84))];" but found "//$users = [$DB->get_record('user', array('id' => 84))];"
(#540) Line exceeds 132 characters; contains 137 characters
(#548) Line exceeds 132 characters; contains 143 characters
(#550) Variable "dateEnvoi" must be all lower-case
(#551) Variable "dateEnvoi" must be all lower-case
(#551) Line exceeds maximum limit of 180 characters; contains 183 characters
(#555) 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) No space found before comment text; expected "// }" but found "//}"
(#568) No space found before comment text; expected "// }" but found "//}"
(#578) Inline comments must end in full-stops, exclamation marks, or question marks
(#579) Missing docblock for function local_moofactory_notification_send_coursesenroll_notification
(#580) Opening brace should be on the same line as the declaration
(#583) Inline comments must end in full-stops, exclamation marks, or question marks
(#585) 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
(#601) Short array syntax must be used to define arrays
(#609) Inline comments must end in full-stops, exclamation marks, or question marks
(#610) Short array syntax must be used to define arrays
(#612) Inline comments must end in full-stops, exclamation marks, or question marks
(#619) Inline comments must end in full-stops, exclamation marks, or question marks
(#622) Inline comments must end in full-stops, exclamation marks, or question marks
(#626) Short array syntax must be used to define arrays
(#627) Inline comments must end in full-stops, exclamation marks, or question marks
(#629) Inline comments must end in full-stops, exclamation marks, or question marks
(#631) Inline comments must end in full-stops, exclamation marks, or question marks
(#632) Short array syntax must be used to define arrays
(#632) Line exceeds 132 characters; contains 156 characters
(#634) Inline comments must end in full-stops, exclamation marks, or question marks
(#636) Inline comments must start with a capital letter, digit or 3-dots sequence
(#636) Inline comments must end in full-stops, exclamation marks, or question marks
(#638) Line exceeds 132 characters; contains 142 characters
(#639) Inline comments must start with a capital letter, digit or 3-dots sequence
(#639) Inline comments must end in full-stops, exclamation marks, or question marks
(#641) Inline comments must start with a capital letter, digit or 3-dots sequence
(#641) Inline comments must end in full-stops, exclamation marks, or question marks
(#642) Line exceeds 132 characters; contains 143 characters
(#648) Inline comments must end in full-stops, exclamation marks, or question marks
(#648) Line exceeds maximum limit of 180 characters; contains 187 characters
(#649) Short array syntax must be used to define arrays
(#649) Line exceeds 132 characters; contains 166 characters
(#651) Inline comments must end in full-stops, exclamation marks, or question marks
(#652) Expected "} else {\n"; found "}\n // Update de notificationtime dans la table 'local_mf_enrollnotif' avec l'heure courante\n else {\n"
(#664) Inline comments must end in full-stops, exclamation marks, or question marks
(#665) Missing docblock for function local_moofactory_notification_send_coursesaccess_notification
(#666) Opening brace should be on the same line as the declaration
(#669) Inline comments must end in full-stops, exclamation marks, or question marks
(#671) Inline comments must end in full-stops, exclamation marks, or question marks
(#673) Inline comments must end in full-stops, exclamation marks, or question marks
(#673) Whitespace found at end of line
(#675) Inline comments must end in full-stops, exclamation marks, or question marks
(#676) Short array syntax must be used to define arrays
(#677) Inline comments must end in full-stops, exclamation marks, or question marks
(#677) Whitespace found at end of line
(#679) Inline comments must end in full-stops, exclamation marks, or question marks
(#682) Inline comments must end in full-stops, exclamation marks, or question marks
(#683) Line exceeds 132 characters; contains 135 characters
(#683) Inline comments must end in full-stops, exclamation marks, or question marks
(#687) Inline comments must end in full-stops, exclamation marks, or question marks
(#690) Inline comments must end in full-stops, exclamation marks, or question marks
(#695) Inline comments must start with a capital letter, digit or 3-dots sequence
(#695) Inline comments must end in full-stops, exclamation marks, or question marks
(#697) Inline comments must start with a capital letter, digit or 3-dots sequence
(#697) Inline comments must end in full-stops, exclamation marks, or question marks
(#701) Line exceeds 132 characters; contains 139 characters
(#702) Short array syntax must be used to define arrays
(#708) Inline comments must start with a capital letter, digit or 3-dots sequence
(#708) Inline comments must end in full-stops, exclamation marks, or question marks
(#711) Inline comments must start with a capital letter, digit or 3-dots sequence
(#713) Line exceeds 132 characters; contains 139 characters
(#721) Line exceeds 132 characters; contains 144 characters
(#727) Variable "is_complete" must not contain underscores.
(#729) Inline comments must end in full-stops, exclamation marks, or question marks
(#730) Variable "is_complete" must not contain underscores.
(#731) Inline comments must end in full-stops, exclamation marks, or question marks
(#732) Line exceeds 132 characters; contains 136 characters
(#733) Inline comments must start with a capital letter, digit or 3-dots sequence
(#735) Inline comments must end in full-stops, exclamation marks, or question marks
(#737) Line exceeds 132 characters; contains 152 characters
(#737) Inline comments must end in full-stops, exclamation marks, or question marks
(#739) Inline comments must end in full-stops, exclamation marks, or question marks
(#740) Short array syntax must be used to define arrays
(#740) Line exceeds maximum limit of 180 characters; contains 190 characters
(#750) Inline comments must start with a capital letter, digit or 3-dots sequence
(#750) Inline comments must end in full-stops, exclamation marks, or question marks
(#754) Line exceeds 132 characters; contains 162 characters
(#754) Inline comments must end in full-stops, exclamation marks, or question marks
(#760) Inline comments must end in full-stops, exclamation marks, or question marks
(#761) Line exceeds 132 characters; contains 160 characters
(#767) Inline comments must end in full-stops, exclamation marks, or question marks
(#768) 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"
(#769) Short array syntax must be used to define arrays
(#769) Line exceeds 132 characters; contains 173 characters
(#770) Inline comments must end in full-stops, exclamation marks, or question marks
(#774) Inline comments must end in full-stops, exclamation marks, or question marks
(#775) Expected "} else {\n"; found "}\n // Sinon on récupère la date de son inscription la plus ancienne\n else {\n"
(#777) Short array syntax must be used to define arrays
(#779) Line exceeds 132 characters; contains 135 characters
(#786) Inline comments must end in full-stops, exclamation marks, or question marks
(#790) Line exceeds 132 characters; contains 158 characters
(#790) Inline comments must end in full-stops, exclamation marks, or question marks
(#795) Inline comments must end in full-stops, exclamation marks, or question marks
(#796) Line exceeds 132 characters; contains 156 characters
(#810) Missing docblock for function local_moofactory_notification_get_progress
(#811) Opening brace should be on the same line as the declaration
(#814) Short array syntax must be used to define arrays
(#838) Opening brace should be on the same line as the declaration
(#842) Short array syntax must be used to define arrays
(#854) Short array syntax must be used to define arrays
(#863) Inline comments must start with a capital letter, digit or 3-dots sequence
(#863) This comment is 61% valid code; is this commented out code?
(#883) Missing docblock for function local_moofactory_notification_get_all_activities
(#884) Opening brace should be on the same line as the declaration
(#888) Short array syntax must be used to define arrays
(#892) Short array syntax must be used to define arrays
(#901) Inline comments must start with a capital letter, digit or 3-dots sequence
(#901) This comment is 61% valid code; is this commented out code?
(#920) Opening brace should be on the same line as the declaration
(#928) Short array syntax must be used to define arrays
(#930) Short array syntax must be used to define arrays
(#947) Opening brace should be on the same line as the declaration
(#949) Short array syntax must be used to define arrays
(#1007) Opening brace should be on the same line as the declaration
(#1008) Short array syntax must be used to define arrays
(#1029) Opening brace should be on the same line as the declaration
(#1042) Short array syntax must be used to define arrays
(#1080) Missing docblock for function local_moofactory_notification_get_user_enrolments
(#1081) Opening brace should be on the same line as the declaration
(#1089) Short array syntax must be used to define arrays
(#1089) Line exceeds 132 characters; contains 134 characters
(#1098) Missing docblock for function local_moofactory_notification_get_user_enrolment_dates
(#1099) Opening brace should be on the same line as the declaration
(#1101) Short array syntax must be used to define arrays
(#1102) Short array syntax must be used to define arrays
(#1114) Missing docblock for function local_moofactory_notification_send_coursesevents_notification
(#1115) Opening brace should be on the same line as the declaration
(#1120) Inline comments must end in full-stops, exclamation marks, or question marks
(#1127) Short array syntax must be used to define arrays
(#1145) This comment is 45% valid code; is this commented out code?
(#1146) Inline comments must end in full-stops, exclamation marks, or question marks
(#1147) Short array syntax must be used to define arrays
(#1159) Inline comments must end in full-stops, exclamation marks, or question marks
(#1160) Short array syntax must be used to define arrays
(#1162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1162) Inline comments must end in full-stops, exclamation marks, or question marks
(#1162) This comment is 80% valid code; is this commented out code?
(#1162) No space found before comment text; expected "// mtrace("Le cours ID {$courseid} n'est pas visible. Notifications ignorées pour ce cours.");" but found "//mtrace("Le cours ID {$courseid} n'est pas visible. Notifications ignorées pour ce cours.");"
(#1167) Inline comments must end in full-stops, exclamation marks, or question marks
(#1167) No space found before comment text; expected "// On ignore ce genre de notif de devoirs" but found "//On ignore ce genre de notif de devoirs"
(#1167) Whitespace found at end of line
(#1180) Inline comments must end in full-stops, exclamation marks, or question marks
(#1187) Inline comments must end in full-stops, exclamation marks, or question marks
(#1188) Line exceeds 132 characters; contains 161 characters
(#1189) Inline comments must end in full-stops, exclamation marks, or question marks
(#1190) Line exceeds 132 characters; contains 169 characters
(#1191) Inline comments must end in full-stops, exclamation marks, or question marks
(#1192) Line exceeds 132 characters; contains 171 characters
(#1195) Expected "} else {\n"; found "}\n // Sinon on prend le paramétrage de l'activité.\n else {\n"
(#1196) Inline comments must end in full-stops, exclamation marks, or question marks
(#1198) Line exceeds 132 characters; contains 134 characters
(#1199) Inline comments must end in full-stops, exclamation marks, or question marks
(#1201) Line exceeds 132 characters; contains 142 characters
(#1202) Inline comments must end in full-stops, exclamation marks, or question marks
(#1204) Line exceeds 132 characters; contains 144 characters
(#1206) Line exceeds 132 characters; contains 141 characters
(#1206) Inline comments must end in full-stops, exclamation marks, or question marks
(#1208) Line exceeds 132 characters; contains 165 characters
(#1210) Inline comments must end in full-stops, exclamation marks, or question marks
(#1212) Line exceeds 132 characters; contains 173 characters
(#1214) Inline comments must end in full-stops, exclamation marks, or question marks
(#1216) Line exceeds 132 characters; contains 175 characters
(#1223) Inline comments must end in full-stops, exclamation marks, or question marks
(#1223) Whitespace found at end of line
(#1225) Inline comments must end in full-stops, exclamation marks, or question marks
(#1228) Inline comments must end in full-stops, exclamation marks, or question marks
(#1228) Whitespace found at end of line
(#1231) Inline comments must end in full-stops, exclamation marks, or question marks
(#1239) Line exceeds 132 characters; contains 167 characters
(#1239) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1239) This comment is 58% valid code; is this commented out code?
(#1240) Short array syntax must be used to define arrays
(#1240) Line exceeds maximum limit of 180 characters; contains 197 characters
(#1242) Inline comments must end in full-stops, exclamation marks, or question marks
(#1243) Line exceeds 132 characters; contains 157 characters
(#1245) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1245) This comment is 67% valid code; is this commented out code?
(#1250) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1250) Inline comments must end in full-stops, exclamation marks, or question marks
(#1252) Inline comments must end in full-stops, exclamation marks, or question marks
(#1253) Line exceeds 132 characters; contains 149 characters
(#1261) Inline comments must end in full-stops, exclamation marks, or question marks
(#1262) Line exceeds 132 characters; contains 148 characters
(#1275) Whitespace found at end of line
(#1278) Line exceeds 132 characters; contains 136 characters
(#1279) Line exceeds 132 characters; contains 158 characters
(#1282) Line exceeds 132 characters; contains 137 characters
(#1284) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1284) Inline comments must end in full-stops, exclamation marks, or question marks
(#1284) This comment is 67% valid code; is this commented out code?
(#1290) Inline comments must end in full-stops, exclamation marks, or question marks
(#1290) Whitespace found at end of line
(#1292) Short array syntax must be used to define arrays
(#1292) Line exceeds 132 characters; contains 140 characters
(#1295) Variable "section_info" must not contain underscores.
(#1296) Variable "section_info" must not contain underscores.
(#1297) Line exceeds maximum limit of 180 characters; contains 188 characters
(#1297) Whitespace found at end of line
(#1298) Expected "if (...) {\n"; found "if(...){\n"
(#1299) Line exceeds 132 characters; contains 134 characters
(#1304) Inline comments must end in full-stops, exclamation marks, or question marks
(#1311) Line exceeds maximum limit of 180 characters; contains 186 characters
(#1315) Short array syntax must be used to define arrays
(#1315) Line exceeds 132 characters; contains 175 characters
(#1319) Inline comments must end in full-stops, exclamation marks, or question marks
(#1328) Short array syntax must be used to define arrays
(#1328) Line exceeds 132 characters; contains 140 characters
(#1330) Line exceeds 132 characters; contains 146 characters
(#1331) Line exceeds 132 characters; contains 140 characters
(#1332) Line exceeds 132 characters; contains 176 characters
(#1333) Line exceeds 132 characters; contains 157 characters
(#1334) Line exceeds 132 characters; contains 151 characters
(#1341) Line exceeds 132 characters; contains 141 characters
(#1349) Line exceeds 132 characters; contains 150 characters
(#1351) Variable "dateEnvoi" must be all lower-case
(#1352) Variable "dateEnvoi" must be all lower-case
(#1352) Line exceeds maximum limit of 180 characters; contains 264 characters
(#1371) Missing docblock for function local_moofactory_check_availability
(#1371) Commas (,) must be followed by white space.
(#1371) Commas (,) must be followed by white space.
(#1371) Expected 1 space before opening brace; found 0
(#1372) Expected 1 space before "="; 0 found
(#1372) Expected 1 space after "="; 0 found
(#1376) Whitespace found at end of line
(#1382) Inline comments must end in full-stops, exclamation marks, or question marks
(#1382) No space found before comment text; expected "// On ne limite les restrictions que pour les modules" but found "//On ne limite les restrictions que pour les modules"
(#1385) Usage of ELSEIF not allowed; use ELSE IF instead
(#1391) Usage of ELSEIF not allowed; use ELSE IF instead
(#1402) Missing docblock for function local_moofactory_notification_getCustomfield
(#1402) function name "local_moofactory_notification_getCustomfield" must be lower-case letters only
(#1403) Opening brace should be on the same line as the declaration
(#1420) Short array syntax must be used to define arrays
(#1431) Missing docblock for function local_moofactory_notification_setCustomfield
(#1431) function name "local_moofactory_notification_setCustomfield" must be lower-case letters only
(#1432) Opening brace should be on the same line as the declaration
(#1448) Short array syntax must be used to define arrays
(#1451) Missing docblock for function local_moofactory_notification_get_group
(#1452) Opening brace should be on the same line as the declaration
(#1461) Short array syntax must be used to define arrays
(#1474) Missing docblock for function local_moofactory_notification_replace_variables
(#1475) Opening brace should be on the same line as the declaration
(#1533) Missing docblock for function local_moofactory_notification_prepare_access_email
(#1534) Opening brace should be on the same line as the declaration
(#1558) Short array syntax must be used to define arrays
(#1562) Line exceeds 132 characters; contains 136 characters
(#1588) Missing docblock for function local_moofactory_notification_prepare_enrollments_email
(#1589) Opening brace should be on the same line as the declaration
(#1592) Inline comments must end in full-stops, exclamation marks, or question marks
(#1593) Variable "defaultNotificationValue" must be all lower-case
(#1593) Line exceeds 132 characters; contains 136 characters
(#1594) Variable "roleSpecificNotificationValue" must be all lower-case
(#1594) Line exceeds 132 characters; contains 142 characters
(#1595) Variable "roleToMatch" must be all lower-case
(#1597) Inline comments must end in full-stops, exclamation marks, or question marks
(#1598) Variable "defaultNotificationValue" must be all lower-case
(#1598) Inline comments must end in full-stops, exclamation marks, or question marks
(#1599) Variable "roleToMatch" must be all lower-case
(#1599) Variable "roleSpecificNotificationValue" must be all lower-case
(#1601) Variable "userRoles" must be all lower-case
(#1604) Variable "userRoles" must be all lower-case
(#1604) Variable "userRole" must be all lower-case
(#1605) Variable "userRole" must be all lower-case
(#1605) Variable "roleToMatch" must be all lower-case
(#1606) Variable "roleSpecificNotificationValue" must be all lower-case
(#1606) Inline comments must end in full-stops, exclamation marks, or question marks
(#1612) Inline comments must end in full-stops, exclamation marks, or question marks
(#1632) Short array syntax must be used to define arrays
(#1636) Line exceeds 132 characters; contains 136 characters
(#1654) Variable "dateEnvoi" must be all lower-case
(#1655) Variable "dateEnvoi" must be all lower-case
(#1655) Line exceeds maximum limit of 180 characters; contains 204 characters
(#1663) Missing docblock for function local_moofactory_notification_send_email_with_cc
(#1664) Opening brace should be on the same line as the declaration
(#1672) Inline comments must end in full-stops, exclamation marks, or question marks
(#1674) Inline comments must end in full-stops, exclamation marks, or question marks
(#1675) Inline comments must end in full-stops, exclamation marks, or question marks
(#1681) Inline comments must end in full-stops, exclamation marks, or question marks
(#1683) Variable "ccEmail" must be all lower-case
(#1684) Inline comments must end in full-stops, exclamation marks, or question marks
(#1685) Variable "ccUser" must be all lower-case
(#1686) Variable "ccEmail" must be all lower-case
(#1687) Inline comments must end in full-stops, exclamation marks, or question marks
(#1693) Variable "ccUser" must be all lower-case
(#1705) Missing docblock for function local_moofactory_notification_send_email
(#1706) Opening brace should be on the same line as the declaration
(#1712) Line exceeds 132 characters; contains 167 characters
(#1712) Inline comments must end in full-stops, exclamation marks, or question marks
(#1721) Inline comments must end in full-stops, exclamation marks, or question marks
(#1729) Short array syntax must be used to define arrays
(#1737) Missing docblock for function local_moofactory_notification_get_delays
(#1738) Opening brace should be on the same line as the declaration
(#1739) Line exceeds maximum limit of 180 characters; contains 262 characters
(#1778) Short array syntax must be used to define arrays
(#1808) Whitespace found at end of line
(#1812) Opening brace should be on the same line as the declaration
(#1813) Short array syntax must be used to define arrays
(#1819) Short array syntax must be used to define arrays
(#1823) Missing docblock for function local_moofactory_notification_send_modulesaccess_notification
(#1824) Opening brace should be on the same line as the declaration
(#1827) Inline comments must end in full-stops, exclamation marks, or question marks
(#1834) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1834) Inline comments must end in full-stops, exclamation marks, or question marks
(#1839) Inline comments must end in full-stops, exclamation marks, or question marks
(#1840) Short array syntax must be used to define arrays
(#1842) Inline comments must end in full-stops, exclamation marks, or question marks
(#1845) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1845) Inline comments must end in full-stops, exclamation marks, or question marks
(#1845) No space found before comment text; expected "// and cm.id=522 for tests" but found "//and cm.id=522 for tests"
(#1851) Inline comments must end in full-stops, exclamation marks, or question marks
(#1855) Inline comments must end in full-stops, exclamation marks, or question marks
(#1860) Inline comments must end in full-stops, exclamation marks, or question marks
(#1863) Inline comments must end in full-stops, exclamation marks, or question marks
(#1865) Inline comments must end in full-stops, exclamation marks, or question marks
(#1878) Inline comments must end in full-stops, exclamation marks, or question marks
(#1882) Inline comments must end in full-stops, exclamation marks, or question marks
(#1885) There should be a comma after the last array item in a multi-line array.
(#1895) No space found before comment text; expected "// 1er traçage de cette restriction d'accès" but found "//1er traçage de cette restriction d'accès"
(#1898) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1898) Inline comments must end in full-stops, exclamation marks, or question marks
(#1898) No space found before comment text; expected "// on met à jour le traçage" but found "//on met à jour le traçage"
(#1902) Inline comments must end in full-stops, exclamation marks, or question marks
(#1905) Inline comments must end in full-stops, exclamation marks, or question marks
(#1908) There should be a comma after the last array item in a multi-line array.
(#1912) Inline comments must end in full-stops, exclamation marks, or question marks
(#1918) Line exceeds 132 characters; contains 141 characters
(#1918) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1918) This comment is 50% valid code; is this commented out code?
(#1918) No space found before comment text; expected "// $module_enabled_date = get_config('local_moofactory_notification', $moduleleveename . '_date'); // Date d'activation spécifique" but found "//$module_enabled_date = get_config('local_moofactory_notification', $moduleleveename . '_date'); // Date d'activation spécifique"
(#1920) Variable "update_record" must not contain underscores.
(#1925) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1925) Inline comments must end in full-stops, exclamation marks, or question marks
(#1929) Variable "update_record" must not contain underscores.
(#1931) Inline comments must end in full-stops, exclamation marks, or question marks
(#1932) Usage of ELSEIF not allowed; use ELSE IF instead
(#1936) Variable "update_record" must not contain underscores.
(#1939) Inline comments must end in full-stops, exclamation marks, or question marks
(#1948) Variable "update_record" must not contain underscores.
(#1950) Usage of ELSEIF not allowed; use ELSE IF instead
(#1955) Variable "update_record" must not contain underscores.
(#1957) Usage of ELSEIF not allowed; use ELSE IF instead
(#1962) Variable "update_record" must not contain underscores.
(#1967) Inline comments must end in full-stops, exclamation marks, or question marks
(#1968) Variable "update_record" must not contain underscores.
(#1985) Missing docblock for function local_moofactory_notification_prepare_levee_email
(#1986) Opening brace should be on the same line as the declaration
(#1989) Inline comments must end in full-stops, exclamation marks, or question marks
(#1999) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#2013) Short array syntax must be used to define arrays
(#2017) Line exceeds 132 characters; contains 136 characters
(#2028) Inline comments must end in full-stops, exclamation marks, or question marks
(#2029) Variable "copiedEmails" must be all lower-case
(#2031) Variable "copiedEmails" must be all lower-case
(#2031) Variable "copiedEmails" must be all lower-case
(#2032) Variable "copiedEmails" must be all lower-case
(#2032) Variable "copiedEmails" must be all lower-case
(#2032) Inline comments must end in full-stops, exclamation marks, or question marks
(#2033) Variable "copiedEmails" must be all lower-case
(#2033) Variable "copiedEmails" must be all lower-case
(#2034) Inline comments must end in full-stops, exclamation marks, or question marks
(#2042) Variable "copiedEmails" must be all lower-case
(#2044) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2044) Inline comments must end in full-stops, exclamation marks, or question marks
(#2044) This comment is 72% valid code; is this commented out code?
(#2044) No space found before comment text; expected "// local_moofactory_notification_send_email($user, $msg, $courseid, 'levee_notification');" but found "//local_moofactory_notification_send_email($user, $msg, $courseid, 'levee_notification');"
local/moofactory_notification/managenotif.php
(#40) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Short array syntax must be used to define arrays
(#54) Whitespace found at end of line
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Expected "if (...) {\n"; found "if(...){\n"
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Short array syntax must be used to define arrays
(#71) Expected 1 space before "=>"; 0 found
(#71) Expected 1 space after "=>"; 0 found
(#73) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#75) Expected "if (...) {\n"; found "if(...){\n"
(#78) Expected "if (...) {\n"; found "if(...){\n"
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Whitespace found at end of line
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Expected "if (...) {\n"; found "if(...){\n"
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Usage of ELSEIF not allowed; use ELSE IF instead
(#99) 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
(#124) Short array syntax must be used to define arrays
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space after "=>"; 0 found
(#127) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#129) Expected "if (...) {\n"; found "if(...){\n"
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Whitespace found at end of line
(#139) Expected "if (...) {\n"; found "if(...){\n"
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Expected "} else {\n"; found "}\n\n // Pas de changement de type\n else{\n"
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Short array syntax must be used to define arrays
(#161) Expected 1 space before "=>"; 0 found
(#161) Expected 1 space after "=>"; 0 found
(#163) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#165) Expected "if (...) {\n"; found "if(...){\n"
(#169) Whitespace found at end of line
(#180) Whitespace found at end of line
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) Short array syntax must be used to define arrays
(#183) Expected 1 space before "=>"; 0 found
(#183) Expected 1 space after "=>"; 0 found
(#185) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#187) Expected "if (...) {\n"; found "if(...){\n"
(#196) Expected "if (...) {\n"; found "if(...){\n"
(#197) Expected "if (...) {\n"; found "if(...){\n"
(#200) Expected "if (...) {\n"; found "if(...){\n"
(#203) Expected "if (...) {\n"; found "if(...){\n"
(#211) Short array syntax must be used to define arrays
(#211) Line exceeds 132 characters; contains 143 characters
local/moofactory_notification/managenotif_form.php
(#29) Missing docblock for class managenotif_form
(#30) Missing docblock for function definition
(#38) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#41) Short array syntax must be used to define arrays
(#41) Line exceeds maximum limit of 180 characters; contains 247 characters
(#46) Expected "if (...) {\n"; found "if(...){\n"
(#49) Short array syntax must be used to define arrays
(#49) Line exceeds 132 characters; contains 143 characters
(#51) Short array syntax must be used to define arrays
(#51) Line exceeds 132 characters; contains 153 characters
(#52) Short array syntax must be used to define arrays
(#52) Line exceeds 132 characters; contains 147 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) Whitespace found at end of line
(#86) Expected "if (...) {\n"; found "if(...){\n"
(#92) Line exceeds 132 characters; contains 138 characters
(#94) Expected "} else {\n"; found "}\n else{\n"
(#97) Whitespace found at end of line
(#99) Whitespace found at end of line
(#104) Line exceeds 132 characters; contains 156 characters
(#111) Line exceeds 132 characters; contains 162 characters
(#180) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#182) Whitespace found at end of line
(#185) Expected "if (...) {\n"; found "if(...){\n"
(#187) Expected "if (...) {\n"; found "if(...){\n"
(#191) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) This comment is 75% valid code; is this commented out code?
(#191) No space found before comment text; expected "// $mform->setDefault('notificationbodyhtml', $record->bodyhtml);" but found "//$mform->setDefault('notificationbodyhtml', $record->bodyhtml);"
(#192) Short array syntax must be used to define arrays
(#192) Commas (,) must be followed by white space.
(#194) Expected "} else {\n"; found "}\n else{\n"
(#200) Whitespace found at end of line
(#205) File must end with a newline character
local/moofactory_notification/module.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#36) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#50) Expected "if (...) {\n"; found "if(...){\n"
(#53) Expected "} else {\n"; found "}\n else{\n"
(#59) Expected "if (...) {\n"; found "if(...){\n"
(#62) Expected "} else {\n"; found "}\n else{\n"
(#68) Expected "if (...) {\n"; found "if(...){\n"
(#71) Expected "} else {\n"; found "}\n else{\n"
(#77) Expected "if (...) {\n"; found "if(...){\n"
(#80) Expected "} else {\n"; found "}\n else{\n"
(#89) Line exceeds maximum limit of 180 characters; contains 184 characters
(#90) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Expected "if (...) {\n"; found "if(...){\n"
(#94) Expected "if (...) {\n"; found "if(...){\n"
(#97) Expected "} else {\n"; found "}\n else{\n"
(#100) Whitespace found at end of line
(#102) Expected "} else {\n"; found "}\n else{\n"
(#109) Expected "if (...) {\n"; found "if(...){\n"
(#112) Expected "} else {\n"; found "}\n else{\n"
(#114) Expected "if (...) {\n"; found "if(...){\n"
(#128) Expected "if (...) {\n"; found "if(...){\n"
(#131) Expected "} else {\n"; found "}\n else{\n"
(#137) Expected "if (...) {\n"; found "if(...){\n"
(#140) Expected "} else {\n"; found "}\n else{\n"
(#145) Line exceeds 132 characters; contains 178 characters
(#146) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#149) Line indented incorrectly; expected 8 spaces, found 12
(#149) Expected "if (...) {\n"; found "if(...){\n"
(#151) Line indented incorrectly; expected 8 spaces, found 12
(#152) Line indented incorrectly; expected 8 spaces, found 12
(#152) Expected "} else {\n"; found "}\n else{\n"
(#154) Line indented incorrectly; expected 8 spaces, found 12
local/moofactory_notification/module_form.php
(#30) Missing docblock for class module_form
(#31) Opening brace should be on the same line as the declaration for class module_form
(#32) Missing docblock for function definition
(#33) Opening brace should be on the same line as the declaration
(#39) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#57) Short array syntax must be used to define arrays
(#57) Line exceeds maximum limit of 180 characters; contains 182 characters
(#59) Line exceeds 132 characters; contains 145 characters
(#70) Short array syntax must be used to define arrays
(#70) Line exceeds maximum limit of 180 characters; contains 190 characters
(#72) Line exceeds 132 characters; contains 153 characters
(#83) Short array syntax must be used to define arrays
(#83) Line exceeds maximum limit of 180 characters; contains 192 characters
(#85) Line exceeds 132 characters; contains 155 characters
(#95) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#100) Line exceeds 132 characters; contains 174 characters
(#102) Line exceeds 132 characters; contains 141 characters
(#118) Line exceeds 132 characters; contains 152 characters
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Variable "eventGroups" must be all lower-case
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Variable "daysField" must be all lower-case
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Variable "daysDescription" must be all lower-case
(#144) Variable "daysDescriptionElement" must be all lower-case
(#144) Variable "daysDescription" must be all lower-case
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Variable "eventGroups" must be all lower-case
(#148) Variable "daysField" must be all lower-case
(#148) Variable "daysDescriptionElement" must be all lower-case
(#150) Variable "eventGroups" must be all lower-case
(#150) Variable "eventGroups" must be all lower-case
(#150) Variable "daysField" must be all lower-case
(#151) Variable "eventGroups" must be all lower-case
(#151) Variable "eventGroups" must be all lower-case
(#151) Variable "daysDescriptionElement" must be all lower-case
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) Variable "eventGroups" must be all lower-case
(#158) Variable "groupName" must be all lower-case
(#159) Variable "groupName" must be all lower-case
(#159) Line exceeds 132 characters; contains 143 characters
(#172) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#178) Line exceeds maximum limit of 180 characters; contains 184 characters
(#180) Line exceeds 132 characters; contains 151 characters
(#188) Commas (,) must be followed by white space.
(#188) Short array syntax must be used to define arrays
(#188) Line exceeds 132 characters; contains 146 characters
(#189) Whitespace found at end of line
(#190) Whitespace found at end of line
(#191) Line exceeds 132 characters; contains 162 characters
(#195) Expected "if (...) {\n"; found "if(...){ \n"
(#195) Whitespace found at end of line
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) Short array syntax must be used to define arrays
(#204) Line exceeds 132 characters; contains 141 characters
(#206) Short array syntax must be used to define arrays
(#209) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) Line exceeds 132 characters; contains 144 characters
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#213) Line exceeds 132 characters; contains 136 characters
(#217) Whitespace found at end of line
(#220) Expected 1 space before "==="; 0 found
(#220) Expected 1 space after "==="; 0 found
(#220) Inline comments must start with a capital letter, digit or 3-dots sequence
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#220) No space found before comment text; expected "// will be false for the first time so we get the default value from config at this time" but found "//will be false for the first time so we get the default value from config at this time"
(#226) Line exceeds 132 characters; contains 151 characters
(#228) Variable "leveeGroups" must be all lower-case
(#232) Inline comments must start with a capital letter, digit or 3-dots sequence
(#232) No space found before comment text; expected "// attributs du champ." but found "//attributs du champ."
(#241) Inline comments must start with a capital letter, digit or 3-dots sequence
(#241) No space found before comment text; expected "// valeur par défaut." but found "//valeur par défaut."
(#249) Variable "descriptionElement" must be all lower-case
(#253) Variable "leveeGroups" must be all lower-case
(#253) Variable "descriptionElement" must be all lower-case
(#255) Variable "leveeGroups" must be all lower-case
(#255) Variable "leveeGroups" must be all lower-case
(#256) Variable "leveeGroups" must be all lower-case
(#256) Variable "leveeGroups" must be all lower-case
(#256) Variable "descriptionElement" must be all lower-case
(#265) Variable "leveeGroups" must be all lower-case
(#266) Variable "groupName" must be all lower-case
(#267) Variable "groupName" must be all lower-case
(#267) Line exceeds 132 characters; contains 142 characters
(#308) Line exceeds maximum limit of 180 characters; contains 181 characters
(#310) Inline comments must start with a capital letter, digit or 3-dots sequence
(#310) Inline comments must end in full-stops, exclamation marks, or question marks
(#310) No space found before comment text; expected "// js for levee restriction" but found "//js for levee restriction"
(#334) Missing docblock for function validation
(#335) Opening brace should be on the same line as the declaration
(#343) Line exceeds 132 characters; contains 151 characters
(#359) Line exceeds 132 characters; contains 152 characters
local/moofactory_notification/settings.php
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#75) Expected 1 space before "=>"; 0 found
(#75) Expected 1 space after "=>"; 0 found
(#76) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#105) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#106) Expected 1 space before "=>"; 0 found
(#106) Expected 1 space after "=>"; 0 found
(#107) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#136) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#137) Expected 1 space before "=>"; 0 found
(#137) Expected 1 space after "=>"; 0 found
(#138) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#168) Short array syntax must be used to define arrays
(#169) Short array syntax must be used to define arrays
(#169) Expected 1 space before "=>"; 0 found
(#169) Expected 1 space after "=>"; 0 found
(#170) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#199) Short array syntax must be used to define arrays
(#200) Short array syntax must be used to define arrays
(#200) Expected 1 space before "=>"; 0 found
(#200) Expected 1 space after "=>"; 0 found
(#201) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#207) This comment is 63% valid code; is this commented out code?
(#223) Line exceeds 132 characters; contains 138 characters
local/moofactory_notification/test.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) This comment is 54% valid code; is this commented out code?
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
local/moofactory_notification/version.php
(#32) Whitespace found at end of line

Javascript coding style problems

(21 errors, 11 warnings)

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

local/moofactory_notification/util.js
(#1) '$' is not defined. (no-undef)
(#1) 'event' is defined but never used. (no-unused-vars)
(#2) Expected space(s) after "if". (keyword-spacing)
(#2) '$' is not defined. (no-undef)
(#2) Missing space before opening brace. (space-before-blocks)
(#3) '$' is not defined. (no-undef)
(#4) '$' is not defined. (no-undef)
(#5) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#6) Expected space(s) after "else". (keyword-spacing)
(#7) '$' is not defined. (no-undef)
(#8) '$' is not defined. (no-undef)
(#12) 'initCheckAvailability' is defined but never used. (no-unused-vars)
(#12) Missing space before opening brace. (space-before-blocks)
(#13) Expected space(s) after "if". (keyword-spacing)
(#13) Missing space before opening brace. (space-before-blocks)
(#14) '$' is not defined. (no-undef)
(#15) '$' is not defined. (no-undef)
(#19) 'initModuleCheckAvailability' is defined but never used. (no-unused-vars)
(#19) Missing space before opening brace. (space-before-blocks)
(#20) Expected space(s) after "if". (keyword-spacing)
(#20) Missing space before opening brace. (space-before-blocks)
(#21) '$' is not defined. (no-undef)
(#22) '$' is not defined. (no-undef)
(#33) 'e' is defined but never used. (no-unused-vars)
(#34) '$' is not defined. (no-undef)
(#37) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#40) '$' is not defined. (no-undef)
(#40) '$' is not defined. (no-undef)
(#41) '$' is not defined. (no-undef)
(#42) Trailing spaces not allowed. (no-trailing-spaces)
(#44) '$' is not defined. (no-undef)
(#45) '$' is not defined. (no-undef)

CSS problems

(3 errors, 1 warnings)

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

local/moofactory_notification/styles.css
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#5) Expected single space before "{" (block-opening-brace-space-before)
(#6) Unexpected !important (declaration-no-important)
(#2) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(3 errors, 0 warnings)

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

local/moofactory_notification/lib.php
(#832) Phpdocs for function local_moofactory_notification_get_activities has incomplete parameters list
(#1024) Phpdocs for function local_moofactory_notification_percentage has incomplete parameters list
(#1808) Phpdocs for function local_moofactory_notification_fetch_variables has incomplete parameters list

Update savepoints problems

(5 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 (7) than 'savepoint' calls (3)
version 2021012700 is missing corresponding savepoint call
version 2021020900 is missing corresponding savepoint call
version 2021031500 is missing corresponding savepoint call
version 2024112800 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

(1 errors, 1 warnings)

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

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]