Prechecker results: error


Overview

(0 errors, 0 warnings)

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


PHP lint problems

(1 errors, 0 warnings)

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

enrol/grabber/ajax.php
(#80) PHP Parse error: syntax error, unexpected token "else" in /enrol/grabber/ajax.php on line 80

PHP coding style problems

(629 errors, 193 warnings)

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

enrol/grabber/ajax.php
(#41) Short array syntax must be used to define arrays
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#43) Short array syntax must be used to define arrays
(#43) Expected 1 space before "=>"; 0 found
(#43) Expected 1 space after "=>"; 0 found
(#66) Line indented incorrectly; expected 0 spaces, found 4
(#69) Using 'break' outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#77) Line indented incorrectly; expected 0 spaces, found 8
(#80) Line indented incorrectly; expected 4 spaces, found 8
(#82) Line indented incorrectly; expected 4 spaces, found 8
(#83) Short array syntax must be used to define arrays
(#85) Line indented incorrectly; expected 4 spaces, found 8
(#87) Line indented incorrectly; expected 4 spaces, found 8
(#89) Line indented incorrectly; expected 4 spaces, found 8
(#90) Line indented incorrectly; expected 4 spaces, found 8
(#93) Short array syntax must be used to define arrays
(#94) Line indented incorrectly; expected 8 spaces, found 12
(#97) Line indented incorrectly; expected 8 spaces, found 12
(#99) Line indented incorrectly; expected 4 spaces, found 8
(#105) Using 'break' outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#114) Using 'break' outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
(#121) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#164) Expected 1 space before "*"; 0 found
(#164) Expected 1 space after "*"; 0 found
(#164) Expected 1 space before "*"; 0 found
(#164) Expected 1 space after "*"; 0 found
(#164) Expected 1 space before "*"; 0 found
(#164) Expected 1 space after "*"; 0 found
(#185) Using 'break' outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
(#188) Closing brace indented incorrectly; expected 8 spaces, found 0
enrol/grabber/bulkchangeforms.php
(#33) Closing brace must be on a line by itself
(#38) Closing brace must be on a line by itself
enrol/grabber/classes/privacy/provider.php
(#16) Missing @copyright tag
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) There must not be a space before the colon in a return type declaration
(#41) File must end with a newline character
enrol/grabber/db/access.php
(#28) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#34) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
(#40) Short array syntax must be used to define arrays
(#43) 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.
(#46) There should be a comma after the last array item in a multi-line array.
(#50) Short array syntax must be used to define arrays
(#53) 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.
(#60) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#66) There should be a comma after the last array item in a multi-line array.
(#70) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#76) There should be a comma after the last array item in a multi-line array.
(#80) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#84) There should be a comma after the last array item in a multi-line array.
enrol/grabber/db/install.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Missing docblock for function xmldb_enrol_grabber_install
enrol/grabber/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Missing docblock for function xmldb_enrol_grabber_upgrade
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) This comment is 70% valid code; is this commented out code?
(#30) No space found before comment text; expected "// $dbman = $DB->get_manager();" but found "//$dbman = $DB->get_manager();"
enrol/grabber/edit.php
(#1) Moodle boilerplate not found
(#22) Short array syntax must be used to define arrays
(#22) Expected 1 space before "=>"; 0 found
(#22) Expected 1 space after "=>"; 0 found
(#28) Short array syntax must be used to define arrays
(#28) Expected 1 space before "=>"; 0 found
(#28) Expected 1 space after "=>"; 0 found
(#31) Short array syntax must be used to define arrays
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#39) Short array syntax must be used to define arrays
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#43) Short array syntax must be used to define arrays
(#43) Expected 1 space before "=>"; 0 found
(#43) Expected 1 space after "=>"; 0 found
(#49) Short array syntax must be used to define arrays
(#57) Expected 1 space before "?"; 0 found
(#57) Expected 1 space after "?"; 0 found
(#57) Expected 1 space before ":"; 0 found
(#57) Expected 1 space after ":"; 0 found
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) No space found before comment text; expected "// retrieve customint2 value" but found "//retrieve customint2 value"
(#72) Variable "course_instances" must not contain underscores.
(#73) Variable "instance_tograb" must not contain underscores.
(#73) Variable "course_instances" must not contain underscores.
(#75) Variable "tograb_plugin" must not contain underscores.
(#75) Variable "instance_tograb" must not contain underscores.
(#76) Short array syntax must be used to define arrays
(#81) Variable "tograb_plugin" must not contain underscores.
(#81) Variable "instance_tograb" must not contain underscores.
(#81) There should be a comma after the last array item in a multi-line array.
(#83) Whitespace found at end of line
enrol/grabber/edit_form.php
(#31) Missing docblock for class enrol_grabber_edit_form
(#33) Missing docblock for function definition
(#33) Visibility must be declared on method "definition"
(#39) Whitespace found at end of line
(#43) Short array syntax must be used to define arrays
(#61) Whitespace found at end of line
(#62) Variable "enrol_instances" must not contain underscores.
(#64) Short array syntax must be used to define arrays
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#72) Variable "enrol_instances" must not contain underscores.
(#72) Variable "enrol_instance" must not contain underscores.
(#73) Expected "if (...) {\n"; found "if(...){\n"
(#73) Variable "enrol_instance" must not contain underscores.
(#74) Variable "enrol_instance" must not contain underscores.
(#75) Variable "enrol_instance" must not contain underscores.
(#75) Variable "enrol_instance" must not contain underscores.
(#82) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#82) Expected "if (...) {\n"; found "if (...){\n"
(#83) Commas (,) must be followed by white space.
(#84) Expected "} else {\n"; found "}else{\n"
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) No space found before comment text; expected "// not modifying associateenrolinstance" but found "//not modifying associateenrolinstance"
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) No space found before comment text; expected "// associateenrolinstance is the id of the grabber enrol instance, for same course" but found "//associateenrolinstance is the id of the grabber enrol instance, for same course"
(#91) Whitespace found at end of line
(#92) Expected "if (...) {\n"; found "if(...){\n"
(#95) Commas (,) must be followed by white space.
(#95) Commas (,) must be followed by white space.
(#95) Commas (,) must be followed by white space.
(#97) Commas (,) must be followed by white space.
(#98) Whitespace found at end of line
(#100) Line exceeds 132 characters; contains 163 characters
(#102) Whitespace found at end of line
(#108) Missing docblock for function validation
(#108) Visibility must be declared on method "validation"
(#112) Inline comments must start with a capital letter, digit or 3-dots sequence
(#112) No space found before comment text; expected "// customint1 must exists, have same course and not be grabber enrol method" but found "//customint1 must exists, have same course and not be grabber enrol method"
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) No space found before comment text; expected "// can't grab an already grabbed instance" but found "//can't grab an already grabbed instance"
(#115) Expected "if (...) {\n"; found "if(...){\n"
(#116) Short array syntax must be used to define arrays
(#116) Expected 1 space before "=>"; 0 found
(#116) Expected 1 space before "=>"; 0 found
(#116) Line exceeds maximum limit of 180 characters; contains 221 characters
(#117) Line indented incorrectly; expected 12 spaces, found 15
(#117) Expected "if (...) {\n"; found "if(...){\n"
(#117) Expected 1 space before ">"; 0 found
(#117) Expected 1 space after ">"; 0 found
(#118) Expected 1 space before "="; 0 found
(#118) Expected 1 space after "="; 0 found
(#119) Line indented incorrectly; expected 12 spaces, found 15
(#128) Visibility must be declared on method "get_data"
(#130) Line indented incorrectly; expected 8 spaces, found 9
(#130) Expected "if (...) {\n"; found "if(...){\n"
(#131) Line indented incorrectly; expected 12 spaces, found 14
(#131) Expected "if (...) {\n"; found "if(...){\n"
(#132) Expected 1 space before "="; 0 found
(#132) Expected 1 space after "="; 0 found
(#133) Line indented incorrectly; expected 12 spaces, found 14
(#134) Line indented incorrectly; expected 8 spaces, found 9
(#136) Whitespace found at end of line
enrol/grabber/lang/en/enrol_grabber.php
(#1) Moodle boilerplate not found
(#2) Missing @copyright tag
(#11) The string key "browsecohorts" is not in the correct order, it should be before "browseusers"
(#23) The string key "grabber:delete" is not in the correct order, it should be before "grabber:unenrolself"
(#23) Expected 1 space before "="; 0 found
(#30) The string key "statusdisabled" is not in the correct order, it should be before "statusenabled"
(#35) The string key "grabberenrolinstance" is not in the correct order, it should be before "unenrolusers"
(#36) The string key "cantusewithoutinstances" is not in the correct order, it should be before "grabberenrolinstance"
(#36) Expected 1 space before "="; 0 found
(#36) Expected 1 space after "="; 0 found
(#37) The string key "alreadygrabbedinstance" is not in the correct order, it should be before "cantusewithoutinstances"
(#38) Expected 1 space before "="; 0 found
(#38) Expected 1 space after "="; 0 found
(#39) Expected 1 space before "="; 0 found
(#39) Expected 1 space after "="; 0 found
(#41) The string key "grabbedenrolmethod" is not in the correct order, it should be before "privacy:metadata"
(#43) Unexpected string end, it should be a line feed after a semicolon
(#43) File must end with a newline character
enrol/grabber/lang/fr/enrol_grabber.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file enrol_grabber.php
(#1) Moodle boilerplate not found
(#4) The string key "browsecohorts" is not in the correct order, it should be before "browseusers"
(#16) The string key "grabber:delete" is not in the correct order, it should be before "grabber:unenrolself"
(#16) Expected 1 space before "="; 0 found
(#23) The string key "statusdisabled" is not in the correct order, it should be before "statusenabled"
(#28) The string key "grabberenrolinstance" is not in the correct order, it should be before "unenrolusers"
(#29) The string key "cantusewithoutinstances" is not in the correct order, it should be before "grabberenrolinstance"
(#29) Expected 1 space before "="; 0 found
(#29) Expected 1 space after "="; 0 found
(#30) The string key "alreadygrabbedinstance" is not in the correct order, it should be before "cantusewithoutinstances"
(#31) Expected 1 space before "="; 0 found
(#31) Expected 1 space after "="; 0 found
(#32) Expected 1 space before "="; 0 found
(#32) Expected 1 space after "="; 0 found
(#34) The string key "grabbedenrolmethod" is not in the correct order, it should be before "privacy:metadata"
(#36) Unexpected string end, it should be a line feed after a semicolon
(#36) File must end with a newline character
enrol/grabber/lib.php
(#17) Missing @copyright tag
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Missing docblock for class enrol_grabber_plugin
(#30) Missing member variable doc comment
(#31) Missing member variable doc comment
(#33) Missing docblock for function roles_protected
(#38) Missing docblock for function allow_enrol
(#43) Missing docblock for function allow_unenrol
(#48) Missing docblock for function allow_manage
(#67) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#75) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#78) Short array syntax must be used to define arrays
(#78) Expected 1 space before "=>"; 0 found
(#78) Expected 1 space after "=>"; 0 found
(#78) Expected 1 space before "=>"; 0 found
(#78) Expected 1 space after "=>"; 0 found
(#91) Logical operator "or" is prohibited; use "||" instead
(#110) Short array syntax must be used to define arrays
(#111) Logical operator "or" is prohibited; use "||" instead
(#112) Short array syntax must be used to define arrays
(#112) Expected 1 space before "=>"; 0 found
(#112) Expected 1 space after "=>"; 0 found
(#113) Short array syntax must be used to define arrays
(#113) Expected 1 space before "=>"; 0 found
(#113) Expected 1 space after "=>"; 0 found
(#113) Line exceeds 132 characters; contains 167 characters
(#127) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#159) Short array syntax must be used to define arrays
(#176) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#201) Logical operator "and" is prohibited; use "&&" instead
(#205) Short array syntax must be used to define arrays
(#205) Expected 1 space before "=>"; 0 found
(#205) Expected 1 space after "=>"; 0 found
(#205) Expected 1 space before "=>"; 0 found
(#205) Expected 1 space after "=>"; 0 found
(#230) Short array syntax must be used to define arrays
(#253) Short array syntax must be used to define arrays
(#259) There should be a comma after the last array item in a multi-line array.
(#262) Logical operator "and" is prohibited; use "&&" instead
(#341) Short array syntax must be used to define arrays
(#405) Variable "enrol_instances" must not contain underscores.
(#407) Short array syntax must be used to define arrays
(#408) Inline comments must end in full-stops, exclamation marks, or question marks
(#415) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#415) Variable "enrol_instances" must not contain underscores.
(#415) Variable "enrol_instance" must not contain underscores.
(#416) Expected "if (...) {\n"; found "if(...){\n"
(#416) Variable "enrol_instance" must not contain underscores.
(#417) Variable "enrol_instance" must not contain underscores.
(#418) Variable "enrol_instance" must not contain underscores.
(#418) Variable "enrol_instance" must not contain underscores.
(#423) Line exceeds 132 characters; contains 140 characters
(#425) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#425) Expected "if (...) {\n"; found "if (...){\n"
(#426) Commas (,) must be followed by white space.
(#427) Expected "} else {\n"; found "}else{\n"
(#430) Inline comments must start with a capital letter, digit or 3-dots sequence
(#430) No space found before comment text; expected "// not modifying associateenrolinstance" but found "//not modifying associateenrolinstance"
(#431) Inline comments must end in full-stops, exclamation marks, or question marks
(#431) No space found before comment text; expected "// associateenrolinstance is the id of the grabber enrol instance, for same course" but found "//associateenrolinstance is the id of the grabber enrol instance, for same course"
(#435) Expected "if (...) {\n"; found "if(...){\n"
(#438) Commas (,) must be followed by white space.
(#438) Commas (,) must be followed by white space.
(#438) Commas (,) must be followed by white space.
(#440) Commas (,) must be followed by white space.
(#443) Line exceeds 132 characters; contains 163 characters
(#461) Short array syntax must be used to define arrays
(#462) Inline comments must start with a capital letter, digit or 3-dots sequence
(#462) No space found before comment text; expected "// customint1 must exists, have same course and not be grabber enrol method" but found "//customint1 must exists, have same course and not be grabber enrol method"
(#463) Inline comments must end in full-stops, exclamation marks, or question marks
(#463) No space found before comment text; expected "// can't grab an already grabbed instance" but found "//can't grab an already grabbed instance"
(#464) Expected "if (...) {\n"; found "if(...){\n"
(#465) Short array syntax must be used to define arrays
(#465) Expected 1 space before "=>"; 0 found
(#465) Expected 1 space before "=>"; 0 found
(#465) Line exceeds maximum limit of 180 characters; contains 218 characters
(#466) Expected "if (...) {\n"; found "if(...){\n"
(#466) Expected 1 space before ">"; 0 found
(#466) Expected 1 space after ">"; 0 found
(#467) Expected 1 space before "="; 0 found
(#467) Expected 1 space after "="; 0 found
(#481) Expected "if (...) {\n"; found "if(...){\n"
(#481) Expected 1 space before "=="; 0 found
(#481) Expected 1 space after "=="; 0 found
(#482) Inline comments must start with a capital letter, digit or 3-dots sequence
(#482) Inline comments must end in full-stops, exclamation marks, or question marks
(#482) No space found before comment text; expected "// before delete instance give back enrollees to associated enrol instance if already exists" but found "//before delete instance give back enrollees to associated enrol instance if already exists"
(#483) Variable "course_instances" must not contain underscores.
(#484) Variable "associated_instance" must not contain underscores.
(#484) Variable "course_instances" must not contain underscores.
(#485) Expected "if (...) {\n"; found "if(...){\n"
(#485) Variable "associated_instance" must not contain underscores.
(#486) Variable "associated_instance" must not contain underscores.
(#492) Missing docblock for function add_instance
(#492) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $fields.
(#492) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#495) Variable "course_instances" must not contain underscores.
(#498) Variable "course_instances" must not contain underscores.
(#499) Variable "course_instances" must not contain underscores.
(#504) Expected 1 space before "?"; 0 found
(#505) Commas (,) must be followed by white space.
(#505) Commas (,) must be followed by white space.
(#509) Inline comments must start with a capital letter, digit or 3-dots sequence
(#509) Inline comments must end in full-stops, exclamation marks, or question marks
(#510) Variable "grabber_instanceid" must not contain underscores.
(#511) Variable "course_instances" must not contain underscores.
(#512) Variable "grabber_instance" must not contain underscores.
(#512) Variable "course_instances" must not contain underscores.
(#512) Variable "grabber_instanceid" must not contain underscores.
(#513) Inline comments must start with a capital letter, digit or 3-dots sequence
(#513) Inline comments must end in full-stops, exclamation marks, or question marks
(#513) No space found before comment text; expected "// grab enrollments" but found "//grab enrollments"
(#514) Variable "grabber_instance" must not contain underscores.
(#515) Variable "grabber_instanceid" must not contain underscores.
enrol/grabber/locallib.php
(#37) Missing member variable doc comment
(#39) Missing docblock for function __construct
(#44) Missing docblock for function get_options
(#57) Missing docblock for function get_options
(#71) Missing docblock for function process
(#79) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#148) There should be a comma after the last array item in a multi-line array.
(#197) Short array syntax must be used to define arrays
(#198) Short array syntax must be used to define arrays
(#209) Missing docblock for class enrol_grabber_utilities
(#209) Expected 1 space before opening brace; found 0
(#217) Line indented incorrectly; expected 4 spaces, found 5
(#217) Variable "grabber_instance" must not contain underscores.
(#217) Variable "instance_tograb" must not contain underscores.
(#219) Line indented incorrectly; expected 8 spaces, found 9
(#219) Variable "instance_tograb" must not contain underscores.
(#220) Variable "grabber_plugin" must not contain underscores.
(#221) Variable "course_context" must not contain underscores.
(#221) Variable "grabber_instance" must not contain underscores.
(#223) Short array syntax must be used to define arrays
(#223) Variable "instance_tograb" must not contain underscores.
(#223) Variable "grabber_instance" must not contain underscores.
(#231) Variable "tograb_enrolles_rs" must not contain underscores.
(#233) Line indented incorrectly; expected 12 spaces, found 13
(#233) Variable "tograb_enrolles_rs" must not contain underscores.
(#233) Variable "enrolment_tograb" must not contain underscores.
(#234) Inline comments must start with a capital letter, digit or 3-dots sequence
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) No space found before comment text; expected "// component empty for self and manual so can only check that for the instance with itemid and component" but found "//component empty for self and manual so can only check that for the instance with itemid and component"
(#235) Variable "component_to_grab" must not contain underscores.
(#235) Variable "instance_tograb" must not contain underscores.
(#235) Variable "instance_tograb" must not contain underscores.
(#236) Variable "instance_tograb" must not contain underscores.
(#237) Variable "itemid_tograb" must not contain underscores.
(#238) Variable "instance_tograb" must not contain underscores.
(#238) Variable "instance_tograb" must not contain underscores.
(#238) Variable "enrolment_tograb" must not contain underscores.
(#239) Variable "grabber_component" must not contain underscores.
(#239) Variable "grabber_instance" must not contain underscores.
(#239) Variable "grabber_instance" must not contain underscores.
(#240) Variable "grabber_instance" must not contain underscores.
(#241) Variable "grabber_itemid" must not contain underscores.
(#242) Variable "grabber_instance" must not contain underscores.
(#242) Variable "grabber_instance" must not contain underscores.
(#242) Variable "grabber_instance" must not contain underscores.
(#243) Short array syntax must be used to define arrays
(#243) Variable "itemid_tograb" must not contain underscores.
(#243) Variable "component_to_grab" must not contain underscores.
(#244) Variable "grabber_component" must not contain underscores.
(#244) Variable "grabber_itemid" must not contain underscores.
(#245) Variable "instance_tograb" must not contain underscores.
(#248) Line exceeds maximum limit of 180 characters; contains 208 characters
(#253) Inline comments must start with a capital letter, digit or 3-dots sequence
(#253) This comment is 77% valid code; is this commented out code?
(#253) No space found before comment text; expected "// $DB->delete_records_list('role_assignments', 'id', $ras);" but found "//$DB->delete_records_list('role_assignments', 'id', $ras);"
(#257) Line indented incorrectly; expected 16 spaces, found 17
(#257) Variable "component_to_grab" must not contain underscores.
(#261) Short array syntax must be used to define arrays
(#261) Variable "grabber_component" must not contain underscores.
(#261) Variable "grabber_itemid" must not contain underscores.
(#262) Variable "itemid_tograb" must not contain underscores.
(#262) Variable "component_to_grab" must not contain underscores.
(#263) Variable "course_context" must not contain underscores.
(#265) Line indented incorrectly; expected 16 spaces, found 17
(#266) Inline comments must start with a capital letter, digit or 3-dots sequence
(#266) No space found before comment text; expected "// can't simply identify update by which component role_assignments was created" but found "//can't simply identify update by which component role_assignments was created"
(#267) Inline comments must end in full-stops, exclamation marks, or question marks
(#268) Short array syntax must be used to define arrays
(#270) Variable "instance_tograb" must not contain underscores.
(#271) Variable "grabber_instance" must not contain underscores.
(#271) There should be a comma after the last array item in a multi-line array.
(#276) Whitespace found at end of line within string
(#286) Short array syntax must be used to define arrays
(#286) Variable "grabber_itemid" must not contain underscores.
(#286) Variable "grabber_component" must not contain underscores.
(#290) Line indented incorrectly; expected 16 spaces, found 17
(#293) Short array syntax must be used to define arrays
(#293) Variable "enrolment_tograb" must not contain underscores.
(#293) Variable "grabber_instance" must not contain underscores.
(#304) Short array syntax must be used to define arrays
(#304) Variable "enrolment_tograb" must not contain underscores.
(#304) Variable "grabber_instance" must not contain underscores.
(#306) Whitespace found at end of line within string
(#309) Line indented incorrectly; expected 12 spaces, found 13
(#310) Variable "tograb_enrolles_rs" must not contain underscores.
(#311) Line indented incorrectly; expected 8 spaces, found 9
(#312) Line indented incorrectly; expected 4 spaces, found 5
enrol/grabber/manage.php
(#33) Short array syntax must be used to define arrays
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#34) Short array syntax must be used to define arrays
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#44) Logical operator "and" is prohibited; use "&&" instead
(#54) Short array syntax must be used to define arrays
(#54) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space after "=>"; 0 found
(#61) Variable "enrol_grabber" must not contain underscores.
(#65) Variable "enrol_grabber" must not contain underscores.
(#67) Short array syntax must be used to define arrays
(#67) Expected 1 space before "=>"; 0 found
(#67) Expected 1 space after "=>"; 0 found
(#69) Variable "enrol_grabber" must not contain underscores.
(#71) Short array syntax must be used to define arrays
(#71) Expected 1 space before "=>"; 0 found
(#71) Expected 1 space after "=>"; 0 found
(#74) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#82) Expected 1 space before "="; 0 found
(#82) Expected 1 space after "="; 0 found
(#82) Expected 1 space before "<="; 0 found
(#82) Expected 1 space after "<="; 0 found
(#93) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#94) Variable "enrol_grabber" must not contain underscores.
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// TODO: log" but found "//TODO: log"
(#108) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#109) Variable "enrol_grabber" must not contain underscores.
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) No space found before comment text; expected "// TODO: log" but found "//TODO: log"
(#127) Missing docblock for file manage.php
(#128) Missing docblock for file manage.php
(#133) Missing docblock for file manage.php
(#134) Missing docblock for file manage.php
(#138) Missing docblock for file manage.php
(#138) Missing docblock for file manage.php
(#138) Missing docblock for file manage.php
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#138) Line exceeds maximum limit of 180 characters; contains 196 characters
(#142) Missing docblock for file manage.php
(#143) Missing docblock for file manage.php
(#148) Missing docblock for file manage.php
(#148) Missing docblock for file manage.php
(#148) Missing docblock for file manage.php
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#148) Line exceeds maximum limit of 180 characters; contains 205 characters
(#152) Missing docblock for file manage.php
(#153) Missing docblock for file manage.php
(#158) Missing docblock for file manage.php
enrol/grabber/settings.php
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) No space found before comment text; expected "// --- general settings -----------------------------------------------------------------------------------" but found "//--- general settings -----------------------------------------------------------------------------------"
(#35) Expected 1 space before comment text but found 7; use block comment if you need indentation
(#36) Short array syntax must be used to define arrays
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) No space found before comment text; expected "// TODO add settings" but found "//TODO add settings"
(#43) Whitespace found at end of line
(#44) Whitespace found at end of line
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) No space found before comment text; expected "// --- enrol instance defaults ----------------------------------------------------------------------------" but found "//--- enrol instance defaults ----------------------------------------------------------------------------"
(#52) Short array syntax must be used to define arrays
(#64) Commas (,) must be followed by white space.
(#64) Commas (,) must be followed by white space.
(#64) Line exceeds 132 characters; contains 173 characters
enrol/grabber/tests/backup_restore_test.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#37) Unit test backup_restore_test should be declared as final.
(#38) Missing member variable doc comment
(#39) Missing member variable doc comment
(#40) Missing member variable doc comment
(#47) Test method test_backup_restore_with_enrolment_method_and_user() is missing any coverage information, own or at class level
(#47) Test method test_backup_restore_with_enrolment_method_and_user() is missing a return type
(#47) Expected 1 space before opening brace; found 0
(#49) Short array syntax must be used to define arrays
(#59) Test method test_backup_restore_with_enrolments_without_user() is missing any coverage information, own or at class level
(#59) Test method test_backup_restore_with_enrolments_without_user() is missing a return type
(#59) Expected 1 space before opening brace; found 0
(#61) Short array syntax must be used to define arrays
(#71) Missing docblock for function create_enrolments in testcase
(#71) Expected 1 space before opening brace; found 0
(#86) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#87) Expected 1 space before "=>"; 0 found
(#87) Expected 1 space after "=>"; 0 found
(#87) Expected 1 space before "=>"; 0 found
(#87) Expected 1 space after "=>"; 0 found
(#88) Short array syntax must be used to define arrays
(#92) Commas (,) must be followed by white space.
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) No space found before comment text; expected "// backup delete mode" but found "//backup delete mode"
(#93) There should be a comma after the last array item in a multi-line array.
(#99) Short array syntax must be used to define arrays
(#99) Expected 1 space before "=>"; 0 found
(#101) Short array syntax must be used to define arrays
(#101) Expected 1 space before "=>"; 0 found
(#102) Short array syntax must be used to define arrays
(#102) Expected 1 space before "=>"; 0 found
(#115) No one-line description found in phpdocs for docblock of function perform_backup_restore
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Expected "foreach (...) {\n"; found "foreach(...) {\n"
enrol/grabber/tests/generator/lib.php
(#1) Moodle boilerplate not found
(#7) Incorrect @package tag for file lib.php. Expected enrol_grabber, found 2016 unistra {@link http://unistra.fr}.
(#7) Whitespace found at end of line
(#8) Whitespace found at end of line
(#15) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#25) Line indented incorrectly; expected 4 spaces, found 5
(#25) Missing docblock for function create_enrol_instance
(#25) Commas (,) must be followed by white space.
(#25) Expected 1 space before opening brace; found 0
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) No space found before comment text; expected "// retrieve plugin to add instance" but found "//retrieve plugin to add instance"
(#29) Line indented incorrectly; expected 4 spaces, found 5
enrol/grabber/tests/lib_test.php
(#1) Moodle boilerplate not found
(#7) Invalid @category tag value "phpunit".
(#23) Invalid @category tag value "phpunit".
(#28) Unit test lib_test should be declared as final.
(#29) Line indented incorrectly; expected 4 spaces, found 5
(#29) Test method test_grab_process() is missing any coverage information, own or at class level
(#29) Test method test_grab_process() is missing a return type
(#32) Whitespace found at end of line
(#34) Variable "localDataGenerator" must be all lower-case
(#36) Short array syntax must be used to define arrays
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#38) Short array syntax must be used to define arrays
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#40) Whitespace found at end of line
(#42) Whitespace found at end of line
(#44) Whitespace found at end of line
(#50) Variable "course_instances" must not contain underscores.
(#51) Variable "manual_instance" must not contain underscores.
(#52) Line indented incorrectly; expected 8 spaces, found 10
(#52) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#52) Variable "course_instances" must not contain underscores.
(#52) Variable "course_instance" must not contain underscores.
(#53) Line indented incorrectly; expected 12 spaces, found 15
(#53) Expected "if (...) {\n"; found "if(...){\n"
(#53) Variable "course_instance" must not contain underscores.
(#54) Variable "manual_instance" must not contain underscores.
(#54) Variable "course_instance" must not contain underscores.
(#56) Line indented incorrectly; expected 12 spaces, found 15
(#57) Line indented incorrectly; expected 8 spaces, found 10
(#58) Line indented incorrectly; expected 8 spaces, found 10
(#58) Expected "if (...) {\n"; found "if(...){\n"
(#58) Variable "manual_instance" must not contain underscores.
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) No space found before comment text; expected "// create manual instance" but found "//create manual instance"
(#60) Short array syntax must be used to define arrays
(#67) Variable "localDataGenerator" must be all lower-case
(#68) Variable "course_instances" must not contain underscores.
(#69) Variable "manual_instance" must not contain underscores.
(#69) Variable "course_instances" must not contain underscores.
(#70) Whitespace found at end of line
(#71) Line indented incorrectly; expected 8 spaces, found 10
(#72) Whitespace found at end of line
(#75) Variable "manual_instance" must not contain underscores.
(#76) Variable "manual_instance" must not contain underscores.
(#77) Variable "manual_instance" must not contain underscores.
(#78) Variable "manual_instance" must not contain underscores.
(#79) Whitespace found at end of line
(#80) Short array syntax must be used to define arrays
(#80) Expected 1 space before "=>"; 0 found
(#80) Variable "manual_instance" must not contain underscores.
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) No space found before comment text; expected "// role assignement" but found "//role assignement"
(#82) Commas (,) must be followed by white space.
(#82) Short array syntax must be used to define arrays
(#82) Expected 1 space before "=>"; 0 found
(#82) Expected 1 space after "=>"; 0 found
(#82) Expected 1 space before "=>"; 0 found
(#82) Line exceeds maximum limit of 180 characters; contains 241 characters
(#83) Commas (,) must be followed by white space.
(#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) Line exceeds maximum limit of 180 characters; contains 241 characters
(#84) Whitespace found at end of line
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) No space found before comment text; expected "// create grabber instance attached to manual instance" but found "//create grabber instance attached to manual instance"
(#87) Short array syntax must be used to define arrays
(#90) Variable "manual_instance" must not contain underscores.
(#91) Commas (,) must be followed by white space.
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) No space found before comment text; expected "// backup delete mode" but found "//backup delete mode"
(#92) Variable "manual_instance" must not contain underscores.
(#92) There should be a comma after the last array item in a multi-line array.
(#94) Variable "grabber_instanceid" must not contain underscores.
(#95) Variable "course_instances" must not contain underscores.
(#96) Variable "grabber_instance" must not contain underscores.
(#96) Variable "course_instances" must not contain underscores.
(#96) Variable "grabber_instanceid" must not contain underscores.
(#97) Short array syntax must be used to define arrays
(#97) Expected 1 space before "=>"; 0 found
(#97) Variable "manual_instance" must not contain underscores.
(#98) Short array syntax must be used to define arrays
(#98) Expected 1 space before "=>"; 0 found
(#98) Variable "grabber_instanceid" must not contain underscores.
(#99) Commas (,) must be followed by white space.
(#99) Short array syntax must be used to define arrays
(#99) Expected 1 space before "=>"; 0 found
(#99) Expected 1 space after "=>"; 0 found
(#99) Expected 1 space before "=>"; 0 found
(#99) Expected 1 space before "=>"; 0 found
(#99) Expected 1 space after "=>"; 0 found
(#99) Expected 1 space before "=>"; 0 found
(#99) Expected 1 space after "=>"; 0 found
(#99) Line exceeds maximum limit of 180 characters; contains 283 characters
(#100) Commas (,) must be followed by white space.
(#100) Short array syntax must be used to define arrays
(#100) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space after "=>"; 0 found
(#100) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space after "=>"; 0 found
(#100) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space after "=>"; 0 found
(#100) Line exceeds maximum limit of 180 characters; contains 283 characters
(#101) Commas (,) must be followed by white space.
(#101) Short array syntax must be used to define arrays
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#101) Expected 1 space before "=>"; 0 found
(#101) Expected 1 space after "=>"; 0 found
(#101) Variable "grabber_instanceid" must not contain underscores.
(#101) Line exceeds maximum limit of 180 characters; contains 314 characters
(#102) Commas (,) must be followed by white space.
(#102) Short array syntax must be used to define arrays
(#102) Expected 1 space before "=>"; 0 found
(#102) Expected 1 space after "=>"; 0 found
(#102) Expected 1 space before "=>"; 0 found
(#102) Expected 1 space before "=>"; 0 found
(#102) Expected 1 space after "=>"; 0 found
(#102) Expected 1 space before "=>"; 0 found
(#102) Expected 1 space after "=>"; 0 found
(#102) Variable "grabber_instanceid" must not contain underscores.
(#102) Line exceeds maximum limit of 180 characters; contains 314 characters
(#103) Whitespace found at end of line
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) No space found before comment text; expected "// delete grabber instance" but found "//delete grabber instance"
(#104) Whitespace found at end of line
(#105) Variable "grabber_instance" must not contain underscores.
(#106) Short array syntax must be used to define arrays
(#106) Expected 1 space before "=>"; 0 found
(#106) Variable "manual_instance" must not contain underscores.
(#107) Commas (,) must be followed by white space.
(#107) Short array syntax must be used to define arrays
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space after "=>"; 0 found
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space after "=>"; 0 found
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space after "=>"; 0 found
(#107) Line exceeds maximum limit of 180 characters; contains 283 characters
(#108) Commas (,) must be followed by white space.
(#108) Short array syntax must be used to define arrays
(#108) Expected 1 space before "=>"; 0 found
(#108) Expected 1 space after "=>"; 0 found
(#108) Expected 1 space before "=>"; 0 found
(#108) Expected 1 space before "=>"; 0 found
(#108) Expected 1 space after "=>"; 0 found
(#108) Expected 1 space before "=>"; 0 found
(#108) Expected 1 space after "=>"; 0 found
(#108) Line exceeds maximum limit of 180 characters; contains 283 characters
(#109) Whitespace found at end of line
(#110) Inline comments must start with a capital letter, digit or 3-dots sequence
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) No space found before comment text; expected "// create grabber instance attached to manual instance" but found "//create grabber instance attached to manual instance"
(#112) Short array syntax must be used to define arrays
(#115) Variable "manual_instance" must not contain underscores.
(#116) Commas (,) must be followed by white space.
(#116) Inline comments must start with a capital letter, digit or 3-dots sequence
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) No space found before comment text; expected "// not backup delete mode" but found "//not backup delete mode"
(#117) Variable "manual_instance" must not contain underscores.
(#117) There should be a comma after the last array item in a multi-line array.
(#119) Variable "grabber_instanceid" must not contain underscores.
(#120) Variable "course_instances" must not contain underscores.
(#121) Variable "grabber_instance" must not contain underscores.
(#121) Variable "course_instances" must not contain underscores.
(#121) Variable "grabber_instanceid" must not contain underscores.
(#122) Short array syntax must be used to define arrays
(#122) Expected 1 space before "=>"; 0 found
(#122) Variable "manual_instance" must not contain underscores.
(#123) Short array syntax must be used to define arrays
(#123) Expected 1 space before "=>"; 0 found
(#123) Variable "grabber_instanceid" must not contain underscores.
(#124) Commas (,) must be followed by white space.
(#124) Short array syntax must be used to define arrays
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space after "=>"; 0 found
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space after "=>"; 0 found
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space after "=>"; 0 found
(#124) Line exceeds maximum limit of 180 characters; contains 283 characters
(#125) Commas (,) must be followed by white space.
(#125) Short array syntax must be used to define arrays
(#125) Expected 1 space before "=>"; 0 found
(#125) Expected 1 space after "=>"; 0 found
(#125) Expected 1 space before "=>"; 0 found
(#125) Expected 1 space before "=>"; 0 found
(#125) Expected 1 space after "=>"; 0 found
(#125) Expected 1 space before "=>"; 0 found
(#125) Expected 1 space after "=>"; 0 found
(#125) Line exceeds maximum limit of 180 characters; contains 283 characters
(#126) Commas (,) must be followed by white space.
(#126) Short array syntax must be used to define arrays
(#126) Expected 1 space before "=>"; 0 found
(#126) Expected 1 space after "=>"; 0 found
(#126) Expected 1 space before "=>"; 0 found
(#126) Expected 1 space before "=>"; 0 found
(#126) Expected 1 space after "=>"; 0 found
(#126) Expected 1 space before "=>"; 0 found
(#126) Expected 1 space after "=>"; 0 found
(#126) Variable "grabber_instanceid" must not contain underscores.
(#126) Line exceeds maximum limit of 180 characters; contains 314 characters
(#127) Commas (,) must be followed by white space.
(#127) Short array syntax must be used to define arrays
(#127) Expected 1 space before "=>"; 0 found
(#127) Expected 1 space after "=>"; 0 found
(#127) Expected 1 space before "=>"; 0 found
(#127) Expected 1 space before "=>"; 0 found
(#127) Expected 1 space after "=>"; 0 found
(#127) Expected 1 space before "=>"; 0 found
(#127) Expected 1 space after "=>"; 0 found
(#127) Variable "grabber_instanceid" must not contain underscores.
(#127) Line exceeds maximum limit of 180 characters; contains 314 characters
(#128) Whitespace found at end of line
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) No space found before comment text; expected "// delete grabber instance" but found "//delete grabber instance"
(#130) Variable "grabber_instance" must not contain underscores.
(#131) Short array syntax must be used to define arrays
(#131) Expected 1 space before "=>"; 0 found
(#131) Variable "manual_instance" must not contain underscores.
(#132) Commas (,) must be followed by white space.
(#132) Short array syntax must be used to define arrays
(#132) Expected 1 space before "=>"; 0 found
(#132) Expected 1 space after "=>"; 0 found
(#132) Expected 1 space before "=>"; 0 found
(#132) Expected 1 space before "=>"; 0 found
(#132) Expected 1 space after "=>"; 0 found
(#132) Expected 1 space before "=>"; 0 found
(#132) Expected 1 space after "=>"; 0 found
(#132) Line exceeds maximum limit of 180 characters; contains 283 characters
(#133) Commas (,) must be followed by white space.
(#133) Short array syntax must be used to define arrays
(#133) Expected 1 space before "=>"; 0 found
(#133) Expected 1 space after "=>"; 0 found
(#133) Expected 1 space before "=>"; 0 found
(#133) Expected 1 space before "=>"; 0 found
(#133) Expected 1 space after "=>"; 0 found
(#133) Expected 1 space before "=>"; 0 found
(#133) Expected 1 space after "=>"; 0 found
(#133) Line exceeds maximum limit of 180 characters; contains 283 characters
(#134) Line indented incorrectly; expected 4 spaces, found 5
enrol/grabber/version.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(34 errors, 484 warnings)

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

enrol/grabber/yui/quickenrolment/quickenrolment.js
(#1) 'YUI' is not defined. (no-undef)
(#4) Extra space after key 'NAME'. (key-spacing)
(#6) Extra space after key 'BASE'. (key-spacing)
(#7) Extra space after key 'SEARCH'. (key-spacing)
(#8) Extra space after key 'SEARCHBTN'. (key-spacing)
(#9) Extra space after key 'PARAMS'. (key-spacing)
(#10) Extra space after key 'URL'. (key-spacing)
(#11) Extra space after key 'AJAXURL'. (key-spacing)
(#12) Extra space after key 'MULTIPLE'. (key-spacing)
(#13) Extra space after key 'PAGE'. (key-spacing)
(#14) Extra space after key 'COURSEID'. (key-spacing)
(#15) Extra space after key 'USERS'. (key-spacing)
(#16) Extra space after key 'USERCOUNT'. (key-spacing)
(#17) Extra space after key 'REQUIREREFRESH'. (key-spacing)
(#18) Extra space after key 'LASTSEARCH'. (key-spacing)
(#19) Extra space after key 'INSTANCES'. (key-spacing)
(#20) Extra space after key 'OPTIONSTARTDATE'. (key-spacing)
(#21) Extra space after key 'DEFAULTROLE'. (key-spacing)
(#22) Extra space after key 'DEFAULTSTARTDATE'. (key-spacing)
(#23) Extra space after key 'DEFAULTDURATION'. (key-spacing)
(#24) Extra space after key 'ASSIGNABLEROLES'. (key-spacing)
(#25) Extra space after key 'DISABLEGRADEHISTORY'. (key-spacing)
(#26) Extra space after key 'RECOVERGRADESDEFAULT'. (key-spacing)
(#27) Extra space after key 'ENROLCOUNT'. (key-spacing)
(#28) Extra space after key 'PERPAGE'. (key-spacing)
(#29) Extra space after key 'COHORTSAVAILABLE'. (key-spacing)
(#30) Extra space after key 'COHORTCOUNT'. (key-spacing)
(#34) Extra space after key 'PANEL'. (key-spacing)
(#35) Extra space after key 'WRAP'. (key-spacing)
(#36) Extra space after key 'HEADER'. (key-spacing)
(#37) Extra space after key 'CONTENT'. (key-spacing)
(#38) Extra space after key 'AJAXCONTENT'. (key-spacing)
(#39) Extra space after key 'SEARCHRESULTS'. (key-spacing)
(#40) Extra space after key 'TOTALUSERS'. (key-spacing)
(#41) Extra space after key 'USERS'. (key-spacing)
(#42) Extra space after key 'USER'. (key-spacing)
(#43) Extra space after key 'MORERESULTS'. (key-spacing)
(#44) Extra space after key 'LIGHTBOX'. (key-spacing)
(#45) Extra space after key 'LOADINGICON'. (key-spacing)
(#46) Extra space after key 'FOOTER'. (key-spacing)
(#47) Extra space after key 'ENROL'. (key-spacing)
(#48) Extra space after key 'ENROLLED'. (key-spacing)
(#49) Extra space after key 'COUNT'. (key-spacing)
(#50) Extra space after key 'PICTURE'. (key-spacing)
(#51) Extra space after key 'DETAILS'. (key-spacing)
(#52) Extra space after key 'FULLNAME'. (key-spacing)
(#53) Extra space after key 'EXTRAFIELDS'. (key-spacing)
(#54) Extra space after key 'OPTIONS'. (key-spacing)
(#55) Extra space after key 'ODD'. (key-spacing)
(#56) Extra space after key 'EVEN'. (key-spacing)
(#57) Extra space after key 'HIDDEN'. (key-spacing)
(#58) Extra space after key 'RECOVERGRADES'. (key-spacing)
(#59) Extra space after key 'RECOVERGRADESTITLE'. (key-spacing)
(#60) Extra space after key 'SEARCHOPTIONS'. (key-spacing)
(#61) Extra space after key 'COLLAPSIBLEHEADING'. (key-spacing)
(#62) Extra space after key 'COLLAPSIBLEAREA'. (key-spacing)
(#63) Extra space after key 'ENROLMENTOPTION'. (key-spacing)
(#64) Extra space after key 'SEARCHCONTROLS'. (key-spacing)
(#65) Extra space after key 'ROLE'. (key-spacing)
(#66) Extra space after key 'STARTDATE'. (key-spacing)
(#67) Extra space after key 'DURATION'. (key-spacing)
(#68) Extra space after key 'ACTIVE'. (key-spacing)
(#69) Extra space after key 'SEARCH'. (key-spacing)
(#70) Extra space after key 'SEARCHBTN'. (key-spacing)
(#71) Extra space after key 'CLOSE'. (key-spacing)
(#72) Extra space after key 'CLOSEBTN'. (key-spacing)
(#73) Extra space after key 'ENTITYSELECTOR'. (key-spacing)
(#74) Extra space after key 'COHORTS'. (key-spacing)
(#75) Extra space after key 'COHORT'. (key-spacing)
(#76) Extra space after key 'COHORTNAME'. (key-spacing)
(#77) Extra space after key 'TOTALCOHORTS'. (key-spacing)
(#81) 'config' is defined but never used. (no-unused-vars)
(#85) Extra space after key '_searchTimeout'. (key-spacing)
(#86) Extra space after key '_loadingNode'. (key-spacing)
(#87) Extra space after key '_escCloseEvent'. (key-spacing)
(#88) Extra space after key 'initializer'. (key-spacing)
(#88) 'config' is defined but never used. (no-unused-vars)
(#91) Operator '+' must be spaced. (space-infix-ops)
(#91) Operator '+' must be spaced. (space-infix-ops)
(#91) Operator '+' must be spaced. (space-infix-ops)
(#91) Operator '+' must be spaced. (space-infix-ops)
(#92) This line has a length of 164. Maximum allowed is 132. (max-len)
(#92) Operator '+' must be spaced. (space-infix-ops)
(#92) Operator '+' must be spaced. (space-infix-ops)
(#92) Operator '+' must be spaced. (space-infix-ops)
(#92) Operator '+' must be spaced. (space-infix-ops)
(#92) Operator '+' must be spaced. (space-infix-ops)
(#92) Operator '+' must be spaced. (space-infix-ops)
(#93) This line has a length of 160. Maximum allowed is 132. (max-len)
(#93) Operator '+' must be spaced. (space-infix-ops)
(#93) Operator '+' must be spaced. (space-infix-ops)
(#93) Operator '+' must be spaced. (space-infix-ops)
(#93) Operator '+' must be spaced. (space-infix-ops)
(#93) Operator '+' must be spaced. (space-infix-ops)
(#93) Operator '+' must be spaced. (space-infix-ops)
(#93) Missing semicolon. (semi)
(#96) Operator '+' must be spaced. (space-infix-ops)
(#96) Operator '+' must be spaced. (space-infix-ops)
(#96) Operator '+' must be spaced. (space-infix-ops)
(#96) Operator '+' must be spaced. (space-infix-ops)
(#97) Operator '+' must be spaced. (space-infix-ops)
(#97) Operator '+' must be spaced. (space-infix-ops)
(#98) Operator '+' must be spaced. (space-infix-ops)
(#98) Operator '+' must be spaced. (space-infix-ops)
(#99) Operator '+' must be spaced. (space-infix-ops)
(#99) Operator '+' must be spaced. (space-infix-ops)
(#100) Operator '+' must be spaced. (space-infix-ops)
(#100) Operator '+' must be spaced. (space-infix-ops)
(#101) Operator '+' must be spaced. (space-infix-ops)
(#101) Operator '+' must be spaced. (space-infix-ops)
(#102) Operator '+' must be spaced. (space-infix-ops)
(#102) Operator '+' must be spaced. (space-infix-ops)
(#103) This line has a length of 201. Maximum allowed is 132. (max-len)
(#103) Operator '+' must be spaced. (space-infix-ops)
(#103) Operator '+' must be spaced. (space-infix-ops)
(#103) Operator '+' must be spaced. (space-infix-ops)
(#103) Operator '+' must be spaced. (space-infix-ops)
(#103) Operator '+' must be spaced. (space-infix-ops)
(#103) Operator '+' must be spaced. (space-infix-ops)
(#104) This line has a length of 175. Maximum allowed is 132. (max-len)
(#104) Operator '+' must be spaced. (space-infix-ops)
(#104) Operator '+' must be spaced. (space-infix-ops)
(#106) Operator '+' must be spaced. (space-infix-ops)
(#106) Operator '+' must be spaced. (space-infix-ops)
(#107) Operator '+' must be spaced. (space-infix-ops)
(#107) Operator '+' must be spaced. (space-infix-ops)
(#108) This line has a length of 161. Maximum allowed is 132. (max-len)
(#108) Operator '+' must be spaced. (space-infix-ops)
(#108) Operator '+' must be spaced. (space-infix-ops)
(#108) Operator '+' must be spaced. (space-infix-ops)
(#108) Operator '+' must be spaced. (space-infix-ops)
(#109) Operator '+' must be spaced. (space-infix-ops)
(#109) Operator '+' must be spaced. (space-infix-ops)
(#109) Operator '+' must be spaced. (space-infix-ops)
(#109) Operator '+' must be spaced. (space-infix-ops)
(#115) Operator '+' must be spaced. (space-infix-ops)
(#115) Operator '+' must be spaced. (space-infix-ops)
(#116) Operator '+' must be spaced. (space-infix-ops)
(#116) Operator '+' must be spaced. (space-infix-ops)
(#116) Operator '+' must be spaced. (space-infix-ops)
(#116) Operator '+' must be spaced. (space-infix-ops)
(#117) Operator '+' must be spaced. (space-infix-ops)
(#117) Operator '+' must be spaced. (space-infix-ops)
(#120) Operator '+' must be spaced. (space-infix-ops)
(#120) Operator '+' must be spaced. (space-infix-ops)
(#121) This line has a length of 176. Maximum allowed is 132. (max-len)
(#121) Operator '+' must be spaced. (space-infix-ops)
(#121) Operator '+' must be spaced. (space-infix-ops)
(#121) Operator '+' must be spaced. (space-infix-ops)
(#121) Operator '+' must be spaced. (space-infix-ops)
(#123) This line has a length of 168. Maximum allowed is 132. (max-len)
(#123) Operator '+' must be spaced. (space-infix-ops)
(#123) Operator '+' must be spaced. (space-infix-ops)
(#123) Operator '+' must be spaced. (space-infix-ops)
(#123) Operator '+' must be spaced. (space-infix-ops)
(#125) Operator '+' must be spaced. (space-infix-ops)
(#125) Operator '+' must be spaced. (space-infix-ops)
(#126) This line has a length of 133. Maximum allowed is 132. (max-len)
(#126) Operator '+' must be spaced. (space-infix-ops)
(#126) Operator '+' must be spaced. (space-infix-ops)
(#134) Missing space before opening brace. (space-before-blocks)
(#139) Operator '+' must be spaced. (space-infix-ops)
(#139) Operator '+' must be spaced. (space-infix-ops)
(#139) Operator '+' must be spaced. (space-infix-ops)
(#140) Operator '+' must be spaced. (space-infix-ops)
(#140) Operator '+' must be spaced. (space-infix-ops)
(#140) Operator '+' must be spaced. (space-infix-ops)
(#140) Operator '+' must be spaced. (space-infix-ops)
(#141) Operator '+' must be spaced. (space-infix-ops)
(#141) Operator '+' must be spaced. (space-infix-ops)
(#141) Operator '+' must be spaced. (space-infix-ops)
(#143) ["id"] is better written in dot notation. (dot-notation)
(#150) Operator '+' must be spaced. (space-infix-ops)
(#151) This line has a length of 155. Maximum allowed is 132. (max-len)
(#152) This line has a length of 144. Maximum allowed is 132. (max-len)
(#152) Operator '+' must be spaced. (space-infix-ops)
(#152) Operator '+' must be spaced. (space-infix-ops)
(#153) This line has a length of 141. Maximum allowed is 132. (max-len)
(#154) This line has a length of 148. Maximum allowed is 132. (max-len)
(#154) Operator '+' must be spaced. (space-infix-ops)
(#154) Operator '+' must be spaced. (space-infix-ops)
(#158) Operator '+' must be spaced. (space-infix-ops)
(#166) Operator '+' must be spaced. (space-infix-ops)
(#166) Operator '+' must be spaced. (space-infix-ops)
(#167) Operator '+' must be spaced. (space-infix-ops)
(#167) Operator '+' must be spaced. (space-infix-ops)
(#169) Comments should not begin with a lowercase character. (capitalized-comments)
(#170) There should be no space after this paren. (space-in-parens)
(#170) There should be no space before this paren. (space-in-parens)
(#176) This line has a length of 161. Maximum allowed is 132. (max-len)
(#176) Operator '+' must be spaced. (space-infix-ops)
(#176) Operator '+' must be spaced. (space-infix-ops)
(#176) Operator '+' must be spaced. (space-infix-ops)
(#177) Operator '+' must be spaced. (space-infix-ops)
(#177) Operator '+' must be spaced. (space-infix-ops)
(#177) Operator '+' must be spaced. (space-infix-ops)
(#177) Missing space before opening brace. (space-before-blocks)
(#178) Operator '+' must be spaced. (space-infix-ops)
(#178) Operator '+' must be spaced. (space-infix-ops)
(#178) Operator '+' must be spaced. (space-infix-ops)
(#179) Operator '+' must be spaced. (space-infix-ops)
(#179) Operator '+' must be spaced. (space-infix-ops)
(#179) Operator '+' must be spaced. (space-infix-ops)
(#180) Operator '+' must be spaced. (space-infix-ops)
(#180) Operator '+' must be spaced. (space-infix-ops)
(#180) Operator '+' must be spaced. (space-infix-ops)
(#181) This line has a length of 169. Maximum allowed is 132. (max-len)
(#181) Operator '+' must be spaced. (space-infix-ops)
(#181) Operator '+' must be spaced. (space-infix-ops)
(#181) Operator '+' must be spaced. (space-infix-ops)
(#183) This line has a length of 167. Maximum allowed is 132. (max-len)
(#183) Operator '+' must be spaced. (space-infix-ops)
(#183) Operator '+' must be spaced. (space-infix-ops)
(#183) Operator '+' must be spaced. (space-infix-ops)
(#188) Extra space after key 'populateAssignableRoles'. (key-spacing)
(#189) Missing space before opening brace. (space-before-blocks)
(#191) Operator '+' must be spaced. (space-infix-ops)
(#191) Operator '+' must be spaced. (space-infix-ops)
(#191) Operator '+' must be spaced. (space-infix-ops)
(#191) Operator '+' must be spaced. (space-infix-ops)
(#193) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#196) Operator '+' must be spaced. (space-infix-ops)
(#196) Operator '+' must be spaced. (space-infix-ops)
(#196) Operator '+' must be spaced. (space-infix-ops)
(#196) Operator '+' must be spaced. (space-infix-ops)
(#207) Extra space after key 'getAssignableRoles'. (key-spacing)
(#207) Missing space before opening brace. (space-before-blocks)
(#208) Operator '+' must be spaced. (space-infix-ops)
(#209) Missing space before value for key 'method'. (key-spacing)
(#210) Missing space before value for key 'data'. (key-spacing)
(#210) Operator '+' must be spaced. (space-infix-ops)
(#210) Operator '+' must be spaced. (space-infix-ops)
(#210) Operator '+' must be spaced. (space-infix-ops)
(#212) 'args' is defined but never used. (no-unused-vars)
(#225) Missing space before value for key 'context'. (key-spacing)
(#228) Extra space after key 'preSearch'. (key-spacing)
(#230) Comments should not begin with a lowercase character. (capitalized-comments)
(#247) Extra space after key 'show'. (key-spacing)
(#253) Operator '/' must be spaced. (space-infix-ops)
(#254) Operator '-' must be spaced. (space-infix-ops)
(#254) Operator '/' must be spaced. (space-infix-ops)
(#255) Operator '*' must be spaced. (space-infix-ops)
(#256) Operator '*' must be spaced. (space-infix-ops)
(#258) A space is required after ','. (comma-spacing)
(#260) Operator '===' must be spaced. (space-infix-ops)
(#270) Extra space after key 'hide'. (key-spacing)
(#270) 'e' is defined but never used. (no-unused-vars)
(#280) Extra space after key 'currentEntity'. (key-spacing)
(#288) Extra space after key 'search'. (key-spacing)
(#295) 'on' is defined but never used. (no-unused-vars)
(#297) Operator '+' must be spaced. (space-infix-ops)
(#304) ["sesskey"] is better written in dot notation. (dot-notation)
(#305) ["action"] is better written in dot notation. (dot-notation)
(#306) ["search"] is better written in dot notation. (dot-notation)
(#307) ["page"] is better written in dot notation. (dot-notation)
(#308) ["enrolcount"] is better written in dot notation. (dot-notation)
(#309) ["perpage"] is better written in dot notation. (dot-notation)
(#312) Unexpected alert. (no-alert)
(#315) ["enrolid"] is better written in dot notation. (dot-notation)
(#317) Operator '+' must be spaced. (space-infix-ops)
(#318) Missing space before value for key 'method'. (key-spacing)
(#319) Missing space before value for key 'data'. (key-spacing)
(#319) 'build_querystring' is not defined. (no-undef)
(#320) Extra space after key 'on'. (key-spacing)
(#321) Extra space after key 'start'. (key-spacing)
(#323) Extra space after key 'end'. (key-spacing)
(#325) Missing space before value for key 'context'. (key-spacing)
(#326) Missing space before value for key 'arguments'. (key-spacing)
(#327) Missing space before value for key 'append'. (key-spacing)
(#328) Missing space before value for key 'enrolid'. (key-spacing)
(#328) ["enrolid"] is better written in dot notation. (dot-notation)
(#332) Extra space after key 'displayLoading'. (key-spacing)
(#335) Extra space after key 'removeLoading'. (key-spacing)
(#338) Extra space after key 'processSearchResults'. (key-spacing)
(#338) Expected to return a value at the end of method 'processSearchResults'. (consistent-return)
(#347) 'result' declared on line 340 column 21 is used outside of binding context. (block-scoped-var)
(#352) Operator '+' must be spaced. (space-infix-ops)
(#352) Operator '+' must be spaced. (space-infix-ops)
(#354) Operator '+' must be spaced. (space-infix-ops)
(#354) Operator '+' must be spaced. (space-infix-ops)
(#354) Operator '+' must be spaced. (space-infix-ops)
(#357) 'result' declared on line 340 column 21 is used outside of binding context. (block-scoped-var)
(#359) 'result' declared on line 340 column 21 is used outside of binding context. (block-scoped-var)
(#360) Operator '+' must be spaced. (space-infix-ops)
(#360) Operator '+' must be spaced. (space-infix-ops)
(#360) Operator '+' must be spaced. (space-infix-ops)
(#360) Operator '+' must be spaced. (space-infix-ops)
(#361) Operator '%' must be spaced. (space-infix-ops)
(#361) Operator '?' must be spaced. (space-infix-ops)
(#361) Operator ':' must be spaced. (space-infix-ops)
(#362) Operator '+' must be spaced. (space-infix-ops)
(#362) Operator '+' must be spaced. (space-infix-ops)
(#362) Operator '+' must be spaced. (space-infix-ops)
(#362) Operator '+' must be spaced. (space-infix-ops)
(#363) Operator '+' must be spaced. (space-infix-ops)
(#363) Operator '+' must be spaced. (space-infix-ops)
(#365) Operator '+' must be spaced. (space-infix-ops)
(#365) Operator '+' must be spaced. (space-infix-ops)
(#366) Operator '+' must be spaced. (space-infix-ops)
(#366) Operator '+' must be spaced. (space-infix-ops)
(#366) Operator '+' must be spaced. (space-infix-ops)
(#366) Operator '+' must be spaced. (space-infix-ops)
(#367) Operator '+' must be spaced. (space-infix-ops)
(#367) Operator '+' must be spaced. (space-infix-ops)
(#367) Operator '+' must be spaced. (space-infix-ops)
(#367) Operator '+' must be spaced. (space-infix-ops)
(#368) Operator '+' must be spaced. (space-infix-ops)
(#368) Operator '+' must be spaced. (space-infix-ops)
(#369) This line has a length of 137. Maximum allowed is 132. (max-len)
(#369) Operator '+' must be spaced. (space-infix-ops)
(#369) Operator '+' must be spaced. (space-infix-ops)
(#369) Operator '+' must be spaced. (space-infix-ops)
(#369) Operator '+' must be spaced. (space-infix-ops)
(#374) This line has a length of 187. Maximum allowed is 132. (max-len)
(#374) 'result' declared on line 340 column 21 is used outside of binding context. (block-scoped-var)
(#374) Operator '?' must be spaced. (space-infix-ops)
(#374) Operator ':' must be spaced. (space-infix-ops)
(#374) A space is required after ','. (comma-spacing)
(#374) 'result' declared on line 340 column 21 is used outside of binding context. (block-scoped-var)
(#375) Operator '+' must be spaced. (space-infix-ops)
(#375) Operator '+' must be spaced. (space-infix-ops)
(#376) Operator '+' must be spaced. (space-infix-ops)
(#376) Operator '+' must be spaced. (space-infix-ops)
(#376) Operator '+' must be spaced. (space-infix-ops)
(#376) Operator '+' must be spaced. (space-infix-ops)
(#378) 'result' declared on line 340 column 21 is used outside of binding context. (block-scoped-var)
(#378) Operator '+' must be spaced. (space-infix-ops)
(#378) Operator '*' must be spaced. (space-infix-ops)
(#379) This line has a length of 146. Maximum allowed is 132. (max-len)
(#379) Operator '+' must be spaced. (space-infix-ops)
(#379) Operator '+' must be spaced. (space-infix-ops)
(#379) Operator '+' must be spaced. (space-infix-ops)
(#379) Operator '+' must be spaced. (space-infix-ops)
(#381) Missing semicolon. (semi)
(#384) Operator '+' must be spaced. (space-infix-ops)
(#384) Operator '+' must be spaced. (space-infix-ops)
(#384) Operator '+' must be spaced. (space-infix-ops)
(#386) 'result' declared on line 340 column 21 is used outside of binding context. (block-scoped-var)
(#386) Operator '+' must be spaced. (space-infix-ops)
(#386) Operator '*' must be spaced. (space-infix-ops)
(#387) Operator '+' must be spaced. (space-infix-ops)
(#391) Extra space after key 'processCohortsSearchResults'. (key-spacing)
(#391) Expected to return a value at the end of method 'processCohortsSearchResults'. (consistent-return)
(#400) 'result' declared on line 393 column 21 is used outside of binding context. (block-scoped-var)
(#405) Operator '+' must be spaced. (space-infix-ops)
(#405) Operator '+' must be spaced. (space-infix-ops)
(#407) Operator '+' must be spaced. (space-infix-ops)
(#407) Operator '+' must be spaced. (space-infix-ops)
(#407) Operator '+' must be spaced. (space-infix-ops)
(#410) 'result' declared on line 393 column 21 is used outside of binding context. (block-scoped-var)
(#412) 'result' declared on line 393 column 21 is used outside of binding context. (block-scoped-var)
(#413) Operator '+' must be spaced. (space-infix-ops)
(#413) Operator '+' must be spaced. (space-infix-ops)
(#413) Operator '+' must be spaced. (space-infix-ops)
(#413) Operator '+' must be spaced. (space-infix-ops)
(#414) Operator '%' must be spaced. (space-infix-ops)
(#414) Operator '?' must be spaced. (space-infix-ops)
(#414) Operator ':' must be spaced. (space-infix-ops)
(#415) Operator '+' must be spaced. (space-infix-ops)
(#415) Operator '+' must be spaced. (space-infix-ops)
(#415) Operator '+' must be spaced. (space-infix-ops)
(#415) Operator '+' must be spaced. (space-infix-ops)
(#416) Operator '+' must be spaced. (space-infix-ops)
(#416) Operator '+' must be spaced. (space-infix-ops)
(#417) Operator '+' must be spaced. (space-infix-ops)
(#417) Operator '+' must be spaced. (space-infix-ops)
(#417) Operator '+' must be spaced. (space-infix-ops)
(#417) Operator '+' must be spaced. (space-infix-ops)
(#418) Operator '+' must be spaced. (space-infix-ops)
(#418) Operator '+' must be spaced. (space-infix-ops)
(#419) This line has a length of 163. Maximum allowed is 132. (max-len)
(#424) This line has a length of 189. Maximum allowed is 132. (max-len)
(#424) Comments should not begin with a lowercase character. (capitalized-comments)
(#424) Expected space or tab after '//' in comment. (spaced-comment)
(#425) 'result' declared on line 393 column 21 is used outside of binding context. (block-scoped-var)
(#426) Operator '+' must be spaced. (space-infix-ops)
(#426) Operator '+' must be spaced. (space-infix-ops)
(#427) Operator '+' must be spaced. (space-infix-ops)
(#427) Operator '+' must be spaced. (space-infix-ops)
(#427) Operator '+' must be spaced. (space-infix-ops)
(#427) Operator '+' must be spaced. (space-infix-ops)
(#429) 'result' declared on line 393 column 21 is used outside of binding context. (block-scoped-var)
(#429) Operator '+' must be spaced. (space-infix-ops)
(#429) Operator '*' must be spaced. (space-infix-ops)
(#430) This line has a length of 146. Maximum allowed is 132. (max-len)
(#430) Operator '+' must be spaced. (space-infix-ops)
(#430) Operator '+' must be spaced. (space-infix-ops)
(#430) Operator '+' must be spaced. (space-infix-ops)
(#430) Operator '+' must be spaced. (space-infix-ops)
(#432) Missing semicolon. (semi)
(#435) Operator '+' must be spaced. (space-infix-ops)
(#435) Operator '+' must be spaced. (space-infix-ops)
(#435) Operator '+' must be spaced. (space-infix-ops)
(#437) 'result' declared on line 393 column 21 is used outside of binding context. (block-scoped-var)
(#437) Operator '+' must be spaced. (space-infix-ops)
(#437) Operator '*' must be spaced. (space-infix-ops)
(#438) Operator '+' must be spaced. (space-infix-ops)
(#442) Extra space after key 'enrolUser'. (key-spacing)
(#445) Operator '+' must be spaced. (space-infix-ops)
(#447) ["id"] is better written in dot notation. (dot-notation)
(#449) ["userid"] is better written in dot notation. (dot-notation)
(#451) ["cohortid"] is better written in dot notation. (dot-notation)
(#453) ["enrolid"] is better written in dot notation. (dot-notation)
(#454) ["sesskey"] is better written in dot notation. (dot-notation)
(#455) ["action"] is better written in dot notation. (dot-notation)
(#456) ["role"] is better written in dot notation. (dot-notation)
(#456) Operator '+' must be spaced. (space-infix-ops)
(#456) Operator '+' must be spaced. (space-infix-ops)
(#456) Operator '+' must be spaced. (space-infix-ops)
(#456) Operator '+' must be spaced. (space-infix-ops)
(#457) ["startdate"] is better written in dot notation. (dot-notation)
(#457) Operator '+' must be spaced. (space-infix-ops)
(#457) Operator '+' must be spaced. (space-infix-ops)
(#457) Operator '+' must be spaced. (space-infix-ops)
(#457) Operator '+' must be spaced. (space-infix-ops)
(#458) ["duration"] is better written in dot notation. (dot-notation)
(#458) Operator '+' must be spaced. (space-infix-ops)
(#458) Operator '+' must be spaced. (space-infix-ops)
(#458) Operator '+' must be spaced. (space-infix-ops)
(#458) Operator '+' must be spaced. (space-infix-ops)
(#460) ["recovergrades"] is better written in dot notation. (dot-notation)
(#460) Operator '+' must be spaced. (space-infix-ops)
(#460) Operator '?' must be spaced. (space-infix-ops)
(#460) Operator ':' must be spaced. (space-infix-ops)
(#462) ["recovergrades"] is better written in dot notation. (dot-notation)
(#465) Operator '+' must be spaced. (space-infix-ops)
(#466) Missing space before value for key 'method'. (key-spacing)
(#467) Missing space before value for key 'data'. (key-spacing)
(#467) 'build_querystring' is not defined. (no-undef)
(#469) Extra space after key 'start'. (key-spacing)
(#470) Extra space after key 'complete'. (key-spacing)
(#470) Expected to return a value at the end of method 'complete'. (consistent-return)
(#477) Operator '+' must be spaced. (space-infix-ops)
(#479) Operator '+' must be spaced. (space-infix-ops)
(#486) Extra space after key 'end'. (key-spacing)
(#488) Missing space before value for key 'context'. (key-spacing)
(#489) Missing space before value for key 'arguments'. (key-spacing)
(#490) Extra space after key 'params'. (key-spacing)
(#491) Extra space after key 'entityNode'. (key-spacing)
(#497) Operator '+' must be spaced. (space-infix-ops)
(#497) Operator '+' must be spaced. (space-infix-ops)
(#497) Operator '+' must be spaced. (space-infix-ops)
(#500) Extra space after key 'NAME'. (key-spacing)
(#501) Extra space after key 'ATTRS'. (key-spacing)
(#502) Extra space after key 'url'. (key-spacing)
(#503) Extra space after key 'validator'. (key-spacing)
(#505) Extra space after key 'ajaxurl'. (key-spacing)
(#506) Extra space after key 'validator'. (key-spacing)
(#508) Extra space after key 'base'. (key-spacing)
(#509) Extra space after key 'setter'. (key-spacing)
(#512) Operator '+' must be spaced. (space-infix-ops)
(#517) Extra space after key 'users'. (key-spacing)
(#518) Extra space after key 'validator'. (key-spacing)
(#519) Extra space after key 'value'. (key-spacing)
(#521) Extra space after key 'courseid'. (key-spacing)
(#522) Extra space after key 'value'. (key-spacing)
(#524) Extra space after key 'params'. (key-spacing)
(#525) Extra space after key 'validator'. (key-spacing)
(#526) Extra space after key 'value'. (key-spacing)
(#528) Extra space after key 'instances'. (key-spacing)
(#529) Extra space after key 'validator'. (key-spacing)
(#530) Extra space after key 'setter'. (key-spacing)
(#531) A space is required after ','. (comma-spacing)
(#531) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#531) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#531) Operator '=' must be spaced. (space-infix-ops)
(#536) Operator '>' must be spaced. (space-infix-ops)
(#539) Extra space after key 'multiple'. (key-spacing)
(#540) Extra space after key 'validator'. (key-spacing)
(#541) Extra space after key 'value'. (key-spacing)
(#543) Extra space after key 'page'. (key-spacing)
(#544) Extra space after key 'validator'. (key-spacing)
(#545) Extra space after key 'value'. (key-spacing)
(#547) Extra space after key 'userCount'. (key-spacing)
(#548) Extra space after key 'value'. (key-spacing)
(#549) Extra space after key 'validator'. (key-spacing)
(#551) Extra space after key 'requiresRefresh'. (key-spacing)
(#552) Extra space after key 'value'. (key-spacing)
(#553) Extra space after key 'validator'. (key-spacing)
(#555) Extra space after key 'search'. (key-spacing)
(#556) Extra space after key 'setter'. (key-spacing)
(#559) Operator '+' must be spaced. (space-infix-ops)
(#564) Extra space after key 'lastPreSearchValue'. (key-spacing)
(#565) Extra space after key 'value'. (key-spacing)
(#566) Extra space after key 'validator'. (key-spacing)
(#568) Extra space after key 'strings'. (key-spacing)
(#569) Extra space after key 'value'. (key-spacing)
(#570) Extra space after key 'validator'. (key-spacing)
(#572) Extra space after key 'defaultRole'. (key-spacing)
(#573) Extra space after key 'value'. (key-spacing)
(#575) Extra space after key 'defaultStartDate'. (key-spacing)
(#576) Extra space after key 'value'. (key-spacing)
(#577) Extra space after key 'validator'. (key-spacing)
(#579) Extra space after key 'defaultDuration'. (key-spacing)
(#580) Extra space after key 'value'. (key-spacing)
(#582) Extra space after key 'assignableRoles'. (key-spacing)
(#583) Extra space after key 'value'. (key-spacing)
(#585) Extra space after key 'optionsStartDate'. (key-spacing)
(#586) Extra space after key 'value'. (key-spacing)
(#588) Extra space after key 'disableGradeHistory'. (key-spacing)
(#589) Extra space after key 'value'. (key-spacing)
(#591) Extra space after key 'recoverGradesDefault'. (key-spacing)
(#592) Extra space after key 'value'. (key-spacing)
(#594) Extra space after key 'enrolCount'. (key-spacing)
(#595) Extra space after key 'value'. (key-spacing)
(#596) Extra space after key 'validator'. (key-spacing)
(#598) Extra space after key 'perPage'. (key-spacing)
(#602) Extra space after key 'cohortCount'. (key-spacing)
(#603) Extra space after key 'value'. (key-spacing)
(#604) Extra space after key 'validator'. (key-spacing)
(#606) Extra space after key 'cohortsAvailable'. (key-spacing)
(#607) Extra space after key 'value'. (key-spacing)
(#613) Identifier 'enrol_grabber' is not in camel case. (camelcase)
(#615) Extra space after key 'init'. (key-spacing)
(#618) Missing semicolon. (semi)
(#620) This line has a length of 160. Maximum allowed is 132. (max-len)
(#620) Missing space before value for key 'requires'. (key-spacing)
(#620) A space is required after ','. (comma-spacing)

CSS problems

(450 errors, 20 warnings)

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

enrol/grabber/yui/quickenrolment/assets/skins/sam/quickenrolment.css
(#37) Expected newline before "}" (block-closing-brace-newline-before)
(#38) Expected newline before "}" (block-closing-brace-newline-before)
(#39) Expected newline before "}" (block-closing-brace-newline-before)
(#41) Expected newline before "}" (block-closing-brace-newline-before)
(#42) Expected newline before "}" (block-closing-brace-newline-before)
(#43) Expected newline before "}" (block-closing-brace-newline-before)
(#45) Expected newline before "}" (block-closing-brace-newline-before)
(#46) Expected newline before "}" (block-closing-brace-newline-before)
(#47) Expected newline before "}" (block-closing-brace-newline-before)
(#48) Expected newline before "}" (block-closing-brace-newline-before)
(#49) Expected newline before "}" (block-closing-brace-newline-before)
(#50) Expected newline before "}" (block-closing-brace-newline-before)
(#51) Expected newline before "}" (block-closing-brace-newline-before)
(#52) Expected newline before "}" (block-closing-brace-newline-before)
(#53) Expected newline before "}" (block-closing-brace-newline-before)
(#54) Expected newline before "}" (block-closing-brace-newline-before)
(#55) Expected newline before "}" (block-closing-brace-newline-before)
(#56) Expected newline before "}" (block-closing-brace-newline-before)
(#57) Expected newline before "}" (block-closing-brace-newline-before)
(#58) Expected newline before "}" (block-closing-brace-newline-before)
(#59) Expected newline before "}" (block-closing-brace-newline-before)
(#61) Expected newline before "}" (block-closing-brace-newline-before)
(#62) Expected newline before "}" (block-closing-brace-newline-before)
(#63) Expected newline before "}" (block-closing-brace-newline-before)
(#64) Expected newline before "}" (block-closing-brace-newline-before)
(#65) Expected newline before "}" (block-closing-brace-newline-before)
(#66) Expected newline before "}" (block-closing-brace-newline-before)
(#67) Expected newline before "}" (block-closing-brace-newline-before)
(#69) Expected newline before "}" (block-closing-brace-newline-before)
(#70) Expected newline before "}" (block-closing-brace-newline-before)
(#71) Expected newline before "}" (block-closing-brace-newline-before)
(#73) Expected newline before "}" (block-closing-brace-newline-before)
(#74) Expected newline before "}" (block-closing-brace-newline-before)
(#75) Expected newline before "}" (block-closing-brace-newline-before)
(#76) Expected newline before "}" (block-closing-brace-newline-before)
(#77) Expected newline before "}" (block-closing-brace-newline-before)
(#78) Expected newline before "}" (block-closing-brace-newline-before)
(#79) Expected newline before "}" (block-closing-brace-newline-before)
(#80) Expected newline before "}" (block-closing-brace-newline-before)
(#81) Expected newline before "}" (block-closing-brace-newline-before)
(#82) Expected newline before "}" (block-closing-brace-newline-before)
(#83) Expected newline before "}" (block-closing-brace-newline-before)
(#85) Expected newline before "}" (block-closing-brace-newline-before)
(#86) Expected newline before "}" (block-closing-brace-newline-before)
(#87) Expected newline before "}" (block-closing-brace-newline-before)
(#88) Expected newline before "}" (block-closing-brace-newline-before)
(#37) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#38) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#39) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#41) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#42) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#43) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#45) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#46) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#47) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#48) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#49) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#50) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#51) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#52) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#53) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#54) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#55) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#56) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#57) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#58) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#59) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#61) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#62) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#63) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#64) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#65) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#66) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#67) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#69) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#70) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#71) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#73) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#74) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#75) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#76) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#77) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#78) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#79) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#80) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#81) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#82) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#83) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#85) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#86) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#87) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#88) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#37) Expected newline after "{" (block-opening-brace-newline-after)
(#38) Expected newline after "{" (block-opening-brace-newline-after)
(#39) Expected newline after "{" (block-opening-brace-newline-after)
(#41) Expected newline after "{" (block-opening-brace-newline-after)
(#42) Expected newline after "{" (block-opening-brace-newline-after)
(#43) Expected newline after "{" (block-opening-brace-newline-after)
(#45) Expected newline after "{" (block-opening-brace-newline-after)
(#46) Expected newline after "{" (block-opening-brace-newline-after)
(#47) Expected newline after "{" (block-opening-brace-newline-after)
(#48) Expected newline after "{" (block-opening-brace-newline-after)
(#49) Expected newline after "{" (block-opening-brace-newline-after)
(#50) Expected newline after "{" (block-opening-brace-newline-after)
(#51) Expected newline after "{" (block-opening-brace-newline-after)
(#52) Expected newline after "{" (block-opening-brace-newline-after)
(#53) Expected newline after "{" (block-opening-brace-newline-after)
(#54) Expected newline after "{" (block-opening-brace-newline-after)
(#55) Expected newline after "{" (block-opening-brace-newline-after)
(#56) Expected newline after "{" (block-opening-brace-newline-after)
(#57) Expected newline after "{" (block-opening-brace-newline-after)
(#58) Expected newline after "{" (block-opening-brace-newline-after)
(#59) Expected newline after "{" (block-opening-brace-newline-after)
(#61) Expected newline after "{" (block-opening-brace-newline-after)
(#62) Expected newline after "{" (block-opening-brace-newline-after)
(#63) Expected newline after "{" (block-opening-brace-newline-after)
(#64) Expected newline after "{" (block-opening-brace-newline-after)
(#65) Expected newline after "{" (block-opening-brace-newline-after)
(#66) Expected newline after "{" (block-opening-brace-newline-after)
(#67) Expected newline after "{" (block-opening-brace-newline-after)
(#69) Expected newline after "{" (block-opening-brace-newline-after)
(#70) Expected newline after "{" (block-opening-brace-newline-after)
(#71) Expected newline after "{" (block-opening-brace-newline-after)
(#73) Expected newline after "{" (block-opening-brace-newline-after)
(#74) Expected newline after "{" (block-opening-brace-newline-after)
(#75) Expected newline after "{" (block-opening-brace-newline-after)
(#76) Expected newline after "{" (block-opening-brace-newline-after)
(#77) Expected newline after "{" (block-opening-brace-newline-after)
(#78) Expected newline after "{" (block-opening-brace-newline-after)
(#79) Expected newline after "{" (block-opening-brace-newline-after)
(#80) Expected newline after "{" (block-opening-brace-newline-after)
(#81) Expected newline after "{" (block-opening-brace-newline-after)
(#82) Expected newline after "{" (block-opening-brace-newline-after)
(#83) Expected newline after "{" (block-opening-brace-newline-after)
(#85) Expected newline after "{" (block-opening-brace-newline-after)
(#86) Expected newline after "{" (block-opening-brace-newline-after)
(#87) Expected newline after "{" (block-opening-brace-newline-after)
(#88) Expected newline after "{" (block-opening-brace-newline-after)
(#37) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#38) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#39) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#41) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#42) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#43) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#45) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#46) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#47) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#48) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#49) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#50) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#51) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#52) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#53) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#54) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#55) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#56) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#57) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#58) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#59) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#61) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#62) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#63) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#64) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#65) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#66) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#67) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#69) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#70) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#71) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#73) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#74) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#75) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#76) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#77) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#78) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#79) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#80) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#81) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#82) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#83) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#85) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#39) Expected "#FFF" to be "#fff" (color-hex-case)
(#46) Expected "#BBB" to be "#bbb" (color-hex-case)
(#50) Expected "#BBB" to be "#bbb" (color-hex-case)
(#53) Expected "#EEE" to be "#eee" (color-hex-case)
(#59) Expected "#BBB" to be "#bbb" (color-hex-case)
(#61) Expected "#BBB" to be "#bbb" (color-hex-case)
(#63) Expected "#EEE" to be "#eee" (color-hex-case)
(#69) Expected "#FFF" to be "#fff" (color-hex-case)
(#37) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#37) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#37) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#37) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#37) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#37) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#39) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#39) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#39) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#39) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#41) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#42) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#43) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#43) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#43) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#43) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#43) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#43) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#45) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#45) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#45) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#45) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#46) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#46) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#46) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#46) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#47) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#48) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#49) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#50) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#50) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#50) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#50) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#51) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#51) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#51) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#51) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#52) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#52) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#53) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#53) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#53) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#53) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#53) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#53) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#53) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#54) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#54) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#55) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#55) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#56) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#56) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#57) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#57) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#58) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#59) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#59) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#61) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#61) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#61) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#61) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#62) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#62) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#62) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#62) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#63) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#63) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#63) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#63) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#63) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#63) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#63) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#64) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#64) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#65) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#65) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#66) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#66) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#67) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#69) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#69) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#69) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#69) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#69) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#69) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#69) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#71) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#71) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#73) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#73) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#78) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#79) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#81) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#85) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#37) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#39) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#41) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#42) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#43) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#45) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#46) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#47) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#48) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#49) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#50) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#51) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#52) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#53) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#54) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#55) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#56) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#57) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#58) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#59) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#61) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#62) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#63) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#64) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#65) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#66) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#67) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#69) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#71) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#73) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#78) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#79) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#81) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#85) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#37) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#37) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#37) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#37) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#37) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#37) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#37) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#38) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#39) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#39) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#39) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#39) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#39) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#41) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#41) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#42) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#42) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#43) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#43) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#43) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#43) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#43) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#43) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#43) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#45) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#45) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#45) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#45) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#45) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#46) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#46) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#46) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#46) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#46) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#47) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#48) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#48) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#49) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#49) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#50) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#50) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#50) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#50) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#51) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#51) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#51) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#51) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#51) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#52) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#52) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#52) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#53) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#53) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#53) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#53) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#53) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#53) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#53) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#53) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#54) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#54) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#54) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#55) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#55) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#55) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#56) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#56) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#56) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#57) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#57) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#57) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#58) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#58) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#59) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#59) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#59) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#61) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#61) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#61) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#61) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#62) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#62) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#62) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#62) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#62) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#63) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#63) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#63) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#63) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#63) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#63) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#63) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#63) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#64) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#64) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#64) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#65) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#65) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#65) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#66) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#66) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#66) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#67) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#67) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#69) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#69) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#69) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#69) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#69) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#69) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#69) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#69) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#70) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#71) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#71) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#71) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#73) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#73) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#73) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#74) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#75) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#76) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#77) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#78) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#78) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#79) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#79) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#80) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#81) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#81) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#82) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#83) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#85) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#37) Expected line length to be no more than 132 characters (max-line-length)
(#43) Expected line length to be no more than 132 characters (max-line-length)
(#45) Expected line length to be no more than 132 characters (max-line-length)
(#46) Expected line length to be no more than 132 characters (max-line-length)
(#50) Expected line length to be no more than 132 characters (max-line-length)
(#51) Expected line length to be no more than 132 characters (max-line-length)
(#52) Expected line length to be no more than 132 characters (max-line-length)
(#53) Expected line length to be no more than 132 characters (max-line-length)
(#61) Expected line length to be no more than 132 characters (max-line-length)
(#62) Expected line length to be no more than 132 characters (max-line-length)
(#63) Expected line length to be no more than 132 characters (max-line-length)
(#69) Expected line length to be no more than 132 characters (max-line-length)
(#50) Unexpected unit "pt" (unit-disallowed-list)
(#51) Unexpected unit "pt" (unit-disallowed-list)
(#53) Unexpected unit "pt" (unit-disallowed-list)
(#56) Unexpected unit "pt" (unit-disallowed-list)
(#61) Unexpected unit "pt" (unit-disallowed-list)
(#62) Unexpected unit "pt" (unit-disallowed-list)
(#63) Unexpected unit "pt" (unit-disallowed-list)
(#65) Unexpected unit "pt" (unit-disallowed-list)

PHPDocs style problems

(4 errors, 0 warnings)

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

enrol/grabber/lib.php
(#274) Phpdocs for function enrol_grabber_plugin::restore_user_enrolment has incomplete parameters list
(#362) Phpdocs for function enrol_grabber_plugin::get_instance_name has incomplete parameters list
enrol/grabber/locallib.php
(#215) Phpdocs for function enrol_grabber_utilities::grab_plugin_enrolments has incomplete parameters list
enrol/grabber/tests/backup_restore_test.php
(#106) Phpdocs for function backup_restore_test::perform_backup_restore has incomplete parameters list

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "gherkinlint" 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

(3 errors, 0 warnings)

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

enrol/grabber/tests/behat/enrol_grabber_backup_restore.feature
(#77) Multiple empty lines are not allowed
enrol/grabber/tests/behat/enrol_grabber.feature
(#2) Feature name is already used in: enrol/grabber/tests/behat/enrol_grabber_backup_restore.feature
(#30) New line at EOF(end of file) is required