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

(147 errors, 92 warnings)

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

auth/ldap_syncplus/auth.php
(#39) PHP4 style constructors are not allowed; use "__construct()" instead
(#39) Visibility must be declared on method "auth_plugin_ldap_syncplus"
(#57) Visibility must be declared on method "sync_users"
(#57) Variable "do_updates" must not contain underscores.
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) 3 slashes comments are not allowed; use "// Comment." instead
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) 4 slashes comments are not allowed; use "// Comment." instead
(#77) 4 slashes comments are not allowed; use "// Comment." instead
(#78) 4 slashes comments are not allowed; use "// Comment." instead
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Variable "ldap_pagedresults" must not contain underscores.
(#89) Variable "ldap_cookie" must not contain underscores.
(#97) Variable "ldap_pagedresults" must not contain underscores.
(#98) Variable "ldap_cookie" must not contain underscores.
(#102) Variable "ldap_result" must not contain underscores.
(#105) Variable "ldap_result" must not contain underscores.
(#107) Expected "if (...) {\n"; found "if(...) {\n"
(#107) Variable "ldap_result" must not contain underscores.
(#110) Variable "ldap_pagedresults" must not contain underscores.
(#111) Variable "ldap_result" must not contain underscores.
(#111) Variable "ldap_cookie" must not contain underscores.
(#113) Variable "ldap_result" must not contain underscores.
(#121) Variable "ldap_result" must not contain underscores.
(#122) Variable "ldap_pagedresults" must not contain underscores.
(#122) Variable "ldap_cookie" must not contain underscores.
(#122) Variable "ldap_cookie" must not contain underscores.
(#127) Variable "ldap_pagedresults" must not contain underscores.
(#132) Inline comments must start with a capital letter, digit or 3-dots sequence
(#132) 3 slashes comments are not allowed; use "// Comment." instead
(#133) 3 slashes comments are not allowed; use "// Comment." instead
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) 3 slashes comments are not allowed; use "// Comment." instead
(#142) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) 3 slashes comments are not allowed; use "// Comment." instead
(#147) 3 slashes comments are not allowed; use "// Comment." instead
(#158) Variable "remove_users" must not contain underscores.
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#160) Variable "remove_users" must not contain underscores.
(#161) Variable "remove_users" must not contain underscores.
(#163) Variable "remove_users" must not contain underscores.
(#165) Expected 1 space before "=>"; 0 found
(#165) Expected 1 space after "=>"; 0 found
(#165) Expected 1 space before "=>"; 0 found
(#165) Expected 1 space after "=>"; 0 found
(#165) Line exceeds 132 characters; contains 133 characters
(#173) Variable "remove_users" must not contain underscores.
(#183) Variable "remove_users" must not contain underscores.
(#183) Expected 1 space before "=>"; 0 found
(#183) Expected 1 space after "=>"; 0 found
(#185) Variable "remove_users" must not contain underscores.
(#186) Variable "remove_users" must not contain underscores.
(#188) Variable "remove_users" must not contain underscores.
(#193) Expected 1 space before "=>"; 0 found
(#193) Expected 1 space after "=>"; 0 found
(#193) Expected 1 space before "=>"; 0 found
(#193) Expected 1 space after "=>"; 0 found
(#199) Variable "remove_users" must not contain underscores.
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
(#202) 3 slashes comments are not allowed; use "// Comment." instead
(#209) Variable "revive_users" must not contain underscores.
(#211) Variable "revive_users" must not contain underscores.
(#212) Variable "revive_users" must not contain underscores.
(#214) Variable "revive_users" must not contain underscores.
(#220) Expected 1 space before "=>"; 0 found
(#220) Expected 1 space after "=>"; 0 found
(#220) Expected 1 space before "=>"; 0 found
(#220) Expected 1 space after "=>"; 0 found
(#226) Variable "revive_users" must not contain underscores.
(#230) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) 3 slashes comments are not allowed; use "// Comment." instead
(#231) Expected "} else if (...) {\n"; found "}\n\n /// Grace Period Synchronisation\n else if (...) {\n"
(#233) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) 3 slashes comments are not allowed; use "// Comment." instead
(#239) Variable "revive_users" must not contain underscores.
(#241) Variable "revive_users" must not contain underscores.
(#242) Variable "revive_users" must not contain underscores.
(#244) Variable "revive_users" must not contain underscores.
(#250) Expected 1 space before "=>"; 0 found
(#250) Expected 1 space after "=>"; 0 found
(#250) Expected 1 space before "=>"; 0 found
(#250) Expected 1 space after "=>"; 0 found
(#255) Variable "revive_users" must not contain underscores.
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) 3 slashes comments are not allowed; use "// Comment." instead
(#265) Variable "remove_users" must not contain underscores.
(#265) Expected 1 space before "=>"; 0 found
(#265) Expected 1 space after "=>"; 0 found
(#267) Variable "remove_users" must not contain underscores.
(#268) Variable "remove_users" must not contain underscores.
(#270) Variable "remove_users" must not contain underscores.
(#274) Inline comments must end in full-stops, exclamation marks, or question marks
(#276) Expected 1 space before "=>"; 0 found
(#276) Expected 1 space after "=>"; 0 found
(#276) Expected 1 space before "=>"; 0 found
(#276) Expected 1 space after "=>"; 0 found
(#282) Variable "remove_users" must not contain underscores.
(#284) Inline comments must end in full-stops, exclamation marks, or question marks
(#284) 3 slashes comments are not allowed; use "// Comment." instead
(#291) Variable "remove_users" must not contain underscores.
(#291) Expected 1 space before "=>"; 0 found
(#291) Expected 1 space after "=>"; 0 found
(#293) Variable "remove_users" must not contain underscores.
(#294) Variable "remove_users" must not contain underscores.
(#296) Variable "remove_users" must not contain underscores.
(#298) Commas (,) must be followed by white space.
(#298) Line exceeds 132 characters; contains 154 characters
(#298) Inline comments must end in full-stops, exclamation marks, or question marks
(#301) Expected 1 space before "=>"; 0 found
(#301) Expected 1 space after "=>"; 0 found
(#301) Expected 1 space before "=>"; 0 found
(#301) Expected 1 space after "=>"; 0 found
(#301) Line exceeds 132 characters; contains 133 characters
(#306) Inline comments must end in full-stops, exclamation marks, or question marks
(#307) Expected "} else {\n"; found "}\n // Otherwise inform about ongoing grace period\n else {\n"
(#308) Expected 1 space before "=>"; 0 found
(#308) Expected 1 space after "=>"; 0 found
(#308) Expected 1 space before "=>"; 0 found
(#308) Expected 1 space after "=>"; 0 found
(#308) Expected 1 space before "=>"; 0 found
(#308) Expected 1 space after "=>"; 0 found
(#308) Line exceeds 132 characters; contains 166 characters
(#314) Variable "remove_users" must not contain underscores.
(#317) Inline comments must end in full-stops, exclamation marks, or question marks
(#317) 3 slashes comments are not allowed; use "// Comment." instead
(#318) Variable "do_updates" must not contain underscores.
(#319) Inline comments must end in full-stops, exclamation marks, or question marks
(#320) Variable "all_keys" must not contain underscores.
(#322) Variable "all_keys" must not contain underscores.
(#326) Inline comments must end in full-stops, exclamation marks, or question marks
(#329) Inline comments must start with a capital letter, digit or 3-dots sequence
(#329) Inline comments must end in full-stops, exclamation marks, or question marks
(#333) Variable "all_keys" must not contain underscores.
(#337) Variable "do_updates" must not contain underscores.
(#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
(#348) Inline comments must end in full-stops, exclamation marks, or question marks
(#361) Expected "} else {\n"; found "}\n else {\n"
(#364) Expected 1 space before "=>"; 0 found
(#364) Expected 1 space after "=>"; 0 found
(#364) Expected 1 space before "=>"; 0 found
(#364) Expected 1 space after "=>"; 0 found
(#364) Line exceeds 132 characters; contains 136 characters
(#367) Inline comments must end in full-stops, exclamation marks, or question marks
(#377) Inline comments must start with a capital letter, digit or 3-dots sequence
(#377) Inline comments must end in full-stops, exclamation marks, or question marks
(#379) Inline comments must start with a capital letter, digit or 3-dots sequence
(#379) Inline comments must end in full-stops, exclamation marks, or question marks
(#383) 3 slashes comments are not allowed; use "// Comment." instead
(#386) Inline comments must end in full-stops, exclamation marks, or question marks
(#392) Variable "add_users" must not contain underscores.
(#394) Variable "add_users" must not contain underscores.
(#395) Variable "add_users" must not contain underscores.
(#400) Inline comments must end in full-stops, exclamation marks, or question marks
(#406) Variable "add_users" must not contain underscores.
(#409) Inline comments must end in full-stops, exclamation marks, or question marks
(#414) Inline comments must start with a capital letter, digit or 3-dots sequence
(#415) Inline comments must end in full-stops, exclamation marks, or question marks
(#425) Expected 1 space before "=>"; 0 found
(#425) Expected 1 space after "=>"; 0 found
(#425) Expected 1 space before "=>"; 0 found
(#425) Expected 1 space after "=>"; 0 found
(#432) Inline comments must end in full-stops, exclamation marks, or question marks
(#439) Variable "add_users" must not contain underscores.
(#439) Inline comments must start with a capital letter, digit or 3-dots sequence
(#439) Inline comments must end in full-stops, exclamation marks, or question marks
(#462) Visibility must be declared on method "config_form"
(#462) Variable "user_fields" must not contain underscores.
(#476) Visibility must be declared on method "process_config"
(#477) Inline comments must end in full-stops, exclamation marks, or question marks
(#485) Line indented incorrectly; expected at least 12 spaces, found 9
(#593) Inline comments must end in full-stops, exclamation marks, or question marks
(#638) Visibility must be declared on method "loginpage_hook"
(#638) Expected 1 space after closing parenthesis; found 0
(#641) Inline comments must end in full-stops, exclamation marks, or question marks
(#643) Inline comments must end in full-stops, exclamation marks, or question marks
(#647) Inline comments must end in full-stops, exclamation marks, or question marks
(#650) Inline comments must end in full-stops, exclamation marks, or question marks
(#652) Inline comments must end in full-stops, exclamation marks, or question marks
(#656) Inline comments must end in full-stops, exclamation marks, or question marks
(#659) Inline comments must end in full-stops, exclamation marks, or question marks
(#661) Inline comments must end in full-stops, exclamation marks, or question marks
(#665) Line exceeds maximum limit of 180 characters; contains 205 characters
(#666) Line exceeds 132 characters; contains 174 characters
(#666) 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) Inline comments must end in full-stops, exclamation marks, or question marks
(#676) Line exceeds 132 characters; contains 143 characters
(#676) Inline comments must end in full-stops, exclamation marks, or question marks
(#678) Inline comments must end in full-stops, exclamation marks, or question marks
(#682) Inline comments must end in full-stops, exclamation marks, or question marks
(#684) Line exceeds 132 characters; contains 137 characters
(#686) Inline comments must end in full-stops, exclamation marks, or question marks
(#689) Inline comments must end in full-stops, exclamation marks, or question marks
(#692) Inline comments must end in full-stops, exclamation marks, or question marks
(#694) 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
(#703) Variable "ldap_result" must not contain underscores.
(#705) Expected "} else {\n"; found "}\n else {\n"
(#706) Inline comments must end in full-stops, exclamation marks, or question marks
(#707) Variable "ldap_result" must not contain underscores.
(#710) Inline comments must end in full-stops, exclamation marks, or question marks
(#711) Variable "ldap_result" must not contain underscores.
(#715) Inline comments must end in full-stops, exclamation marks, or question marks
(#716) 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.
(#720) Inline comments must end in full-stops, exclamation marks, or question marks
(#724) Inline comments must end in full-stops, exclamation marks, or question marks
(#725) Variable "ldap_entry" must not contain underscores.
(#725) Variable "ldap_result" must not contain underscores.
(#726) Inline comments must end in full-stops, exclamation marks, or question marks
(#730) Inline comments must end in full-stops, exclamation marks, or question marks
(#731) Variable "ldap_entry" must not contain underscores.
(#733) Line exceeds 132 characters; contains 152 characters
(#733) Inline comments must end in full-stops, exclamation marks, or question marks
(#735) Inline comments must end in full-stops, exclamation marks, or question marks
(#739) Inline comments must end in full-stops, exclamation marks, or question marks
(#742) Variable "ldap_result" must not contain underscores.
(#742) Inline comments must end in full-stops, exclamation marks, or question marks
(#745) Line exceeds 132 characters; contains 151 characters
(#745) 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) Inline comments must end in full-stops, exclamation marks, or question marks
(#751) 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"
(#753) Inline comments must end in full-stops, exclamation marks, or question marks
auth/ldap_syncplus/cli/sync_users.php
(#28) 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
(#31) 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
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) 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 jshint [More info]


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(27 errors, 0 warnings)

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

auth/ldap_syncplus/auth.php
(#34) Class auth_plugin_ldap_syncplus is not documented
(#65) Found comment starting with three or more slashes
(#76) Found comment starting with three or more slashes
(#77) Found comment starting with three or more slashes
(#78) Found comment starting with three or more slashes
(#132) Found comment starting with three or more slashes
(#133) Found comment starting with three or more slashes
(#134) Found comment starting with three or more slashes
(#144) Found comment starting with three or more slashes
(#147) Found comment starting with three or more slashes
(#202) Found comment starting with three or more slashes
(#230) Found comment starting with three or more slashes
(#233) Found comment starting with three or more slashes
(#257) Found comment starting with three or more slashes
(#284) Found comment starting with three or more slashes
(#317) Found comment starting with three or more slashes
(#383) Found comment starting with three or more slashes
(#460) Phpdocs for function auth_plugin_ldap_syncplus::config_form has incomplete parameters list
(#473) Phpdocs for function auth_plugin_ldap_syncplus::process_config has incomplete parameters list
(#20) Package auth is not valid
auth/ldap_syncplus/cli/sync_users.php
(#20) Package auth is not valid
auth/ldap_syncplus/db/events.php
(#20) Package auth is not valid
auth/ldap_syncplus/eventhandler.php
(#28) Function update_user_onevent is not documented
(#20) Package auth is not valid
auth/ldap_syncplus/lang/en/auth_ldap_syncplus.php
(#20) Package auth is not valid
auth/ldap_syncplus/locallib.php
(#20) Package auth is not valid
auth/ldap_syncplus/version.php
(#20) Package auth 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]