Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

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


PHP coding style problems

(145 errors, 93 warnings)

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

auth/ldap_syncplus/auth.php
(#65) Visibility must be declared on method "sync_users"
(#65) Variable "do_updates" must not contain underscores.
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) 3 slashes comments are not allowed; use "// Comment." instead
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) 4 slashes comments are not allowed; use "// Comment." instead
(#85) 4 slashes comments are not allowed; use "// Comment." instead
(#86) 4 slashes comments are not allowed; use "// Comment." instead
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Variable "ldap_pagedresults" must not contain underscores.
(#97) Variable "ldap_cookie" must not contain underscores.
(#105) Variable "ldap_pagedresults" must not contain underscores.
(#106) Variable "ldap_cookie" must not contain underscores.
(#110) Variable "ldap_result" must not contain underscores.
(#113) Variable "ldap_result" must not contain underscores.
(#115) Expected "if (...) {\n"; found "if(...) {\n"
(#115) Variable "ldap_result" must not contain underscores.
(#118) Variable "ldap_pagedresults" must not contain underscores.
(#119) Variable "ldap_result" must not contain underscores.
(#119) Variable "ldap_cookie" must not contain underscores.
(#121) Variable "ldap_result" must not contain underscores.
(#129) Variable "ldap_result" must not contain underscores.
(#130) Variable "ldap_pagedresults" must not contain underscores.
(#130) Variable "ldap_cookie" must not contain underscores.
(#130) Variable "ldap_cookie" must not contain underscores.
(#135) Variable "ldap_pagedresults" must not contain underscores.
(#140) Inline comments must start with a capital letter, digit or 3-dots sequence
(#140) 3 slashes comments are not allowed; use "// Comment." instead
(#141) 3 slashes comments are not allowed; use "// Comment." instead
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) 3 slashes comments are not allowed; use "// Comment." instead
(#150) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#152) 3 slashes comments are not allowed; use "// Comment." instead
(#155) 3 slashes comments are not allowed; use "// Comment." instead
(#166) Variable "remove_users" must not contain underscores.
(#166) Expected 1 space before "=>"; 0 found
(#166) Expected 1 space after "=>"; 0 found
(#168) Variable "remove_users" must not contain underscores.
(#169) Variable "remove_users" must not contain underscores.
(#171) Variable "remove_users" must not contain underscores.
(#173) Expected 1 space before "=>"; 0 found
(#173) Expected 1 space after "=>"; 0 found
(#173) Expected 1 space before "=>"; 0 found
(#173) Expected 1 space after "=>"; 0 found
(#173) Line exceeds 132 characters; contains 133 characters
(#181) Variable "remove_users" must not contain underscores.
(#191) Variable "remove_users" must not contain underscores.
(#191) Expected 1 space before "=>"; 0 found
(#191) Expected 1 space after "=>"; 0 found
(#193) Variable "remove_users" must not contain underscores.
(#194) Variable "remove_users" must not contain underscores.
(#196) Variable "remove_users" must not contain underscores.
(#201) Expected 1 space before "=>"; 0 found
(#201) Expected 1 space after "=>"; 0 found
(#201) Expected 1 space before "=>"; 0 found
(#201) Expected 1 space after "=>"; 0 found
(#207) Variable "remove_users" must not contain underscores.
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) 3 slashes comments are not allowed; use "// Comment." instead
(#217) Variable "revive_users" must not contain underscores.
(#219) Variable "revive_users" must not contain underscores.
(#220) Variable "revive_users" must not contain underscores.
(#222) Variable "revive_users" must not contain underscores.
(#228) Expected 1 space before "=>"; 0 found
(#228) Expected 1 space after "=>"; 0 found
(#228) Expected 1 space before "=>"; 0 found
(#228) Expected 1 space after "=>"; 0 found
(#234) Variable "revive_users" must not contain underscores.
(#238) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) 3 slashes comments are not allowed; use "// Comment." instead
(#239) Expected "} else if (...) {\n"; found "}\n\n /// Grace Period Synchronisation\n else if (...) {\n"
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#241) 3 slashes comments are not allowed; use "// Comment." instead
(#247) Variable "revive_users" must not contain underscores.
(#249) Variable "revive_users" must not contain underscores.
(#250) Variable "revive_users" must not contain underscores.
(#252) Variable "revive_users" must not contain underscores.
(#258) Expected 1 space before "=>"; 0 found
(#258) Expected 1 space after "=>"; 0 found
(#258) Expected 1 space before "=>"; 0 found
(#258) Expected 1 space after "=>"; 0 found
(#263) Variable "revive_users" must not contain underscores.
(#265) Inline comments must end in full-stops, exclamation marks, or question marks
(#265) 3 slashes comments are not allowed; use "// Comment." instead
(#273) Variable "remove_users" must not contain underscores.
(#273) Expected 1 space before "=>"; 0 found
(#273) Expected 1 space after "=>"; 0 found
(#275) Variable "remove_users" must not contain underscores.
(#276) Variable "remove_users" must not contain underscores.
(#278) Variable "remove_users" must not contain underscores.
(#282) Inline comments must end in full-stops, exclamation marks, or question marks
(#284) Expected 1 space before "=>"; 0 found
(#284) Expected 1 space after "=>"; 0 found
(#284) Expected 1 space before "=>"; 0 found
(#284) Expected 1 space after "=>"; 0 found
(#290) Variable "remove_users" must not contain underscores.
(#292) Inline comments must end in full-stops, exclamation marks, or question marks
(#292) 3 slashes comments are not allowed; use "// Comment." instead
(#299) Variable "remove_users" must not contain underscores.
(#299) Expected 1 space before "=>"; 0 found
(#299) Expected 1 space after "=>"; 0 found
(#301) Variable "remove_users" must not contain underscores.
(#302) Variable "remove_users" must not contain underscores.
(#304) Variable "remove_users" must not contain underscores.
(#306) Commas (,) must be followed by white space.
(#306) Line exceeds 132 characters; contains 154 characters
(#306) Inline comments must end in full-stops, exclamation marks, or question marks
(#309) Expected 1 space before "=>"; 0 found
(#309) Expected 1 space after "=>"; 0 found
(#309) Expected 1 space before "=>"; 0 found
(#309) Expected 1 space after "=>"; 0 found
(#309) Line exceeds 132 characters; contains 133 characters
(#314) Inline comments must end in full-stops, exclamation marks, or question marks
(#315) Expected "} else {\n"; found "}\n // Otherwise inform about ongoing grace period\n else {\n"
(#316) Expected 1 space before "=>"; 0 found
(#316) Expected 1 space after "=>"; 0 found
(#316) Expected 1 space before "=>"; 0 found
(#316) Expected 1 space after "=>"; 0 found
(#316) Expected 1 space before "=>"; 0 found
(#316) Expected 1 space after "=>"; 0 found
(#316) Line exceeds 132 characters; contains 166 characters
(#322) Variable "remove_users" must not contain underscores.
(#325) Inline comments must end in full-stops, exclamation marks, or question marks
(#325) 3 slashes comments are not allowed; use "// Comment." instead
(#326) Variable "do_updates" must not contain underscores.
(#327) Inline comments must end in full-stops, exclamation marks, or question marks
(#328) Variable "all_keys" must not contain underscores.
(#330) Variable "all_keys" must not contain underscores.
(#334) Inline comments must end in full-stops, exclamation marks, or question marks
(#337) Inline comments must start with a capital letter, digit or 3-dots sequence
(#337) Inline comments must end in full-stops, exclamation marks, or question marks
(#341) Variable "all_keys" must not contain underscores.
(#345) Variable "do_updates" must not contain underscores.
(#345) Inline comments must start with a capital letter, digit or 3-dots sequence
(#345) Inline comments must end in full-stops, exclamation marks, or question marks
(#356) Inline comments must end in full-stops, exclamation marks, or question marks
(#369) Expected "} else {\n"; found "}\n else {\n"
(#372) Expected 1 space before "=>"; 0 found
(#372) Expected 1 space after "=>"; 0 found
(#372) Expected 1 space before "=>"; 0 found
(#372) Expected 1 space after "=>"; 0 found
(#372) Line exceeds 132 characters; contains 136 characters
(#375) Inline comments must end in full-stops, exclamation marks, or question marks
(#385) Inline comments must start with a capital letter, digit or 3-dots sequence
(#385) Inline comments must end in full-stops, exclamation marks, or question marks
(#387) Inline comments must start with a capital letter, digit or 3-dots sequence
(#387) Inline comments must end in full-stops, exclamation marks, or question marks
(#391) 3 slashes comments are not allowed; use "// Comment." instead
(#394) Inline comments must end in full-stops, exclamation marks, or question marks
(#400) Variable "add_users" must not contain underscores.
(#402) Variable "add_users" must not contain underscores.
(#403) Variable "add_users" must not contain underscores.
(#408) Inline comments must end in full-stops, exclamation marks, or question marks
(#414) Variable "add_users" must not contain underscores.
(#417) Inline comments must end in full-stops, exclamation marks, or question marks
(#422) Inline comments must start with a capital letter, digit or 3-dots sequence
(#423) Inline comments must end in full-stops, exclamation marks, or question marks
(#433) Expected 1 space before "=>"; 0 found
(#433) Expected 1 space after "=>"; 0 found
(#433) Expected 1 space before "=>"; 0 found
(#433) Expected 1 space after "=>"; 0 found
(#440) Inline comments must end in full-stops, exclamation marks, or question marks
(#447) Variable "add_users" must not contain underscores.
(#447) Inline comments must start with a capital letter, digit or 3-dots sequence
(#447) Inline comments must end in full-stops, exclamation marks, or question marks
(#470) Visibility must be declared on method "config_form"
(#470) Variable "user_fields" must not contain underscores.
(#484) Visibility must be declared on method "process_config"
(#485) Inline comments must end in full-stops, exclamation marks, or question marks
(#493) Line indented incorrectly; expected at least 12 spaces, found 9
(#601) Inline comments must end in full-stops, exclamation marks, or question marks
(#646) Visibility must be declared on method "loginpage_hook"
(#646) Expected 1 space after closing parenthesis; found 0
(#649) Inline comments must end in full-stops, exclamation marks, or question marks
(#651) Inline comments must end in full-stops, exclamation marks, or question marks
(#655) Inline comments must end in full-stops, exclamation marks, or question marks
(#658) Inline comments must end in full-stops, exclamation marks, or question marks
(#660) Inline comments must end in full-stops, exclamation marks, or question marks
(#664) Inline comments must end in full-stops, exclamation marks, or question marks
(#667) Inline comments must end in full-stops, exclamation marks, or question marks
(#669) Inline comments must end in full-stops, exclamation marks, or question marks
(#673) Line exceeds maximum limit of 180 characters; contains 205 characters
(#674) Line exceeds 132 characters; contains 174 characters
(#674) Inline comments must end in full-stops, exclamation marks, or question marks
(#677) Inline comments must end in full-stops, exclamation marks, or question marks
(#681) Inline comments must end in full-stops, exclamation marks, or question marks
(#684) Line exceeds 132 characters; contains 143 characters
(#684) Inline comments must end in full-stops, exclamation marks, or question marks
(#686) Inline comments must end in full-stops, exclamation marks, or question marks
(#690) Inline comments must end in full-stops, exclamation marks, or question marks
(#692) Line exceeds 132 characters; contains 137 characters
(#694) Inline comments must end in full-stops, exclamation marks, or question marks
(#697) Inline comments must end in full-stops, exclamation marks, or question marks
(#700) Inline comments must end in full-stops, exclamation marks, or question marks
(#702) Inline comments must end in full-stops, exclamation marks, or question marks
(#708) Inline comments must end in full-stops, exclamation marks, or question marks
(#710) Inline comments must end in full-stops, exclamation marks, or question marks
(#711) Variable "ldap_result" must not contain underscores.
(#713) Expected "} else {\n"; found "}\n else {\n"
(#714) Inline comments must end in full-stops, exclamation marks, or question marks
(#715) Variable "ldap_result" must not contain underscores.
(#718) Inline comments must end in full-stops, exclamation marks, or question marks
(#719) Variable "ldap_result" must not contain underscores.
(#723) Inline comments must end in full-stops, exclamation marks, or question marks
(#724) Variable "ldap_result" must not contain underscores.
(#726) Inline comments must end in full-stops, exclamation marks, or question marks
(#727) Variable "ldap_result" must not contain underscores.
(#728) Inline comments must end in full-stops, exclamation marks, or question marks
(#732) Inline comments must end in full-stops, exclamation marks, or question marks
(#733) Variable "ldap_entry" must not contain underscores.
(#733) Variable "ldap_result" must not contain underscores.
(#734) Inline comments must end in full-stops, exclamation marks, or question marks
(#738) Inline comments must end in full-stops, exclamation marks, or question marks
(#739) Variable "ldap_entry" must not contain underscores.
(#741) Line exceeds 132 characters; contains 152 characters
(#741) Inline comments must end in full-stops, exclamation marks, or question marks
(#743) Inline comments must end in full-stops, exclamation marks, or question marks
(#747) Inline comments must end in full-stops, exclamation marks, or question marks
(#750) Variable "ldap_result" must not contain underscores.
(#750) Inline comments must end in full-stops, exclamation marks, or question marks
(#753) Line exceeds 132 characters; contains 151 characters
(#753) Inline comments must end in full-stops, exclamation marks, or question marks
(#755) Inline comments must end in full-stops, exclamation marks, or question marks
(#758) Inline comments must end in full-stops, exclamation marks, or question marks
(#759) Expected "} else {\n"; found "}\n // Success! Replace the form data's username with the user attribute from LDAP, it will be held in the global $frm variable\n else {\n"
(#761) Inline comments must end in full-stops, exclamation marks, or question marks
auth/ldap_syncplus/classes/task/sync_task.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion
auth/ldap_syncplus/cli/sync_users.php
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) The use of function error_log() is forbidden
auth/ldap_syncplus/eventhandler.php
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(21 errors, 0 warnings)

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

auth/ldap_syncplus/auth.php
(#35) Class auth_plugin_ldap_syncplus is not documented
(#73) Found comment starting with three or more slashes
(#84) Found comment starting with three or more slashes
(#85) Found comment starting with three or more slashes
(#86) Found comment starting with three or more slashes
(#140) Found comment starting with three or more slashes
(#141) Found comment starting with three or more slashes
(#142) Found comment starting with three or more slashes
(#152) Found comment starting with three or more slashes
(#155) Found comment starting with three or more slashes
(#210) Found comment starting with three or more slashes
(#238) Found comment starting with three or more slashes
(#241) Found comment starting with three or more slashes
(#265) Found comment starting with three or more slashes
(#292) Found comment starting with three or more slashes
(#325) Found comment starting with three or more slashes
(#391) Found comment starting with three or more slashes
(#468) Phpdocs for function auth_plugin_ldap_syncplus::config_form has incomplete parameters list
(#481) Phpdocs for function auth_plugin_ldap_syncplus::process_config has incomplete parameters list
auth/ldap_syncplus/eventhandler.php
(#27) Function update_user_onevent is not documented
auth/ldap_syncplus/lang/en/auth_ldap_syncplus.php
(#20) Package auth_syncplus is not valid

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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