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

(131 errors, 49 warnings)

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

auth/ldap_syncplus/auth.php
(#38) PHP4 style constructors are not allowed; use "__construct()" instead
(#38) Visibility must be declared on method "auth_plugin_ldap_syncplus"
(#56) Visibility must be declared on method "sync_users"
(#56) Variable "do_updates" must not contain underscores.
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) 3 slashes comments are not allowed; use "// Comment." instead
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) 4 slashes comments are not allowed; use "// Comment." instead
(#76) 4 slashes comments are not allowed; use "// Comment." instead
(#77) 4 slashes comments are not allowed; use "// Comment." instead
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Variable "ldap_pagedresults" must not contain underscores.
(#88) Variable "ldap_cookie" must not contain underscores.
(#96) Variable "ldap_pagedresults" must not contain underscores.
(#97) Variable "ldap_cookie" must not contain underscores.
(#101) Variable "ldap_result" must not contain underscores.
(#104) Variable "ldap_result" must not contain underscores.
(#106) Expected "if (...) {\n"; found "if(...) {\n"
(#106) Variable "ldap_result" must not contain underscores.
(#109) Variable "ldap_pagedresults" must not contain underscores.
(#110) Variable "ldap_result" must not contain underscores.
(#110) Variable "ldap_cookie" must not contain underscores.
(#112) Variable "ldap_result" must not contain underscores.
(#119) Variable "ldap_result" must not contain underscores.
(#120) Variable "ldap_pagedresults" must not contain underscores.
(#120) Variable "ldap_cookie" must not contain underscores.
(#125) Variable "ldap_pagedresults" must not contain underscores.
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) 3 slashes comments are not allowed; use "// Comment." instead
(#131) 3 slashes comments are not allowed; use "// Comment." instead
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) 3 slashes comments are not allowed; use "// Comment." instead
(#140) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) 3 slashes comments are not allowed; use "// Comment." instead
(#145) 3 slashes comments are not allowed; use "// Comment." instead
(#156) Variable "remove_users" must not contain underscores.
(#156) Expected 1 space before "=>"; 0 found
(#156) Expected 1 space after "=>"; 0 found
(#158) Variable "remove_users" must not contain underscores.
(#159) Variable "remove_users" must not contain underscores.
(#160) Variable "remove_users" must not contain underscores.
(#162) Expected 1 space before "=>"; 0 found
(#162) Expected 1 space after "=>"; 0 found
(#162) Expected 1 space before "=>"; 0 found
(#162) Expected 1 space after "=>"; 0 found
(#162) Line exceeds 132 characters; contains 144 characters
(#170) Variable "remove_users" must not contain underscores.
(#180) Variable "remove_users" must not contain underscores.
(#180) Expected 1 space before "=>"; 0 found
(#180) Expected 1 space after "=>"; 0 found
(#182) Variable "remove_users" must not contain underscores.
(#183) Variable "remove_users" must not contain underscores.
(#185) Variable "remove_users" must not contain underscores.
(#190) Expected 1 space before "=>"; 0 found
(#190) Expected 1 space after "=>"; 0 found
(#190) Expected 1 space before "=>"; 0 found
(#190) Expected 1 space after "=>"; 0 found
(#190) Line exceeds 132 characters; contains 141 characters
(#196) Variable "remove_users" must not contain underscores.
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) 3 slashes comments are not allowed; use "// Comment." instead
(#206) Variable "revive_users" must not contain underscores.
(#208) Variable "revive_users" must not contain underscores.
(#209) Variable "revive_users" must not contain underscores.
(#211) Variable "revive_users" must not contain underscores.
(#217) Expected 1 space before "=>"; 0 found
(#217) Expected 1 space after "=>"; 0 found
(#217) Expected 1 space before "=>"; 0 found
(#217) Expected 1 space after "=>"; 0 found
(#217) Line exceeds 132 characters; contains 141 characters
(#223) Variable "revive_users" must not contain underscores.
(#227) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) 3 slashes comments are not allowed; use "// Comment." instead
(#228) Expected "} else if (...) {\n"; found "}\n\n /// Grace Period Synchronisation\n else if (...) {\n"
(#230) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) 3 slashes comments are not allowed; use "// Comment." instead
(#236) Variable "revive_users" must not contain underscores.
(#238) Variable "revive_users" must not contain underscores.
(#239) Variable "revive_users" must not contain underscores.
(#241) Variable "revive_users" must not contain underscores.
(#247) Expected 1 space before "=>"; 0 found
(#247) Expected 1 space after "=>"; 0 found
(#247) Expected 1 space before "=>"; 0 found
(#247) Expected 1 space after "=>"; 0 found
(#247) Line exceeds 132 characters; contains 137 characters
(#252) Variable "revive_users" must not contain underscores.
(#254) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) 3 slashes comments are not allowed; use "// Comment." instead
(#262) Variable "remove_users" must not contain underscores.
(#262) Expected 1 space before "=>"; 0 found
(#262) Expected 1 space after "=>"; 0 found
(#264) Variable "remove_users" must not contain underscores.
(#265) Variable "remove_users" must not contain underscores.
(#267) Variable "remove_users" must not contain underscores.
(#271) Inline comments must end in full-stops, exclamation marks, or question marks
(#273) Expected 1 space before "=>"; 0 found
(#273) Expected 1 space after "=>"; 0 found
(#273) Expected 1 space before "=>"; 0 found
(#273) Expected 1 space after "=>"; 0 found
(#273) Line exceeds 132 characters; contains 137 characters
(#279) Variable "remove_users" must not contain underscores.
(#281) Inline comments must end in full-stops, exclamation marks, or question marks
(#281) 3 slashes comments are not allowed; use "// Comment." instead
(#288) Variable "remove_users" must not contain underscores.
(#288) Expected 1 space before "=>"; 0 found
(#288) Expected 1 space after "=>"; 0 found
(#290) Variable "remove_users" must not contain underscores.
(#291) Variable "remove_users" must not contain underscores.
(#293) Variable "remove_users" must not contain underscores.
(#295) Commas (,) must be followed by white space.
(#295) Line exceeds 132 characters; contains 154 characters
(#295) Inline comments must end in full-stops, exclamation marks, or question marks
(#298) Expected 1 space before "=>"; 0 found
(#298) Expected 1 space after "=>"; 0 found
(#298) Expected 1 space before "=>"; 0 found
(#298) Expected 1 space after "=>"; 0 found
(#298) Line exceeds 132 characters; contains 144 characters
(#303) Inline comments must end in full-stops, exclamation marks, or question marks
(#304) Expected "} else {\n"; found "}\n // Otherwise inform about ongoing grace period\n else {\n"
(#305) Expected 1 space before "=>"; 0 found
(#305) Expected 1 space after "=>"; 0 found
(#305) Expected 1 space before "=>"; 0 found
(#305) Expected 1 space after "=>"; 0 found
(#305) Expected 1 space before "=>"; 0 found
(#305) Expected 1 space after "=>"; 0 found
(#305) Line exceeds 132 characters; contains 177 characters
(#311) Variable "remove_users" must not contain underscores.
(#314) Inline comments must end in full-stops, exclamation marks, or question marks
(#314) 3 slashes comments are not allowed; use "// Comment." instead
(#315) Variable "do_updates" must not contain underscores.
(#316) Inline comments must end in full-stops, exclamation marks, or question marks
(#317) Variable "all_keys" must not contain underscores.
(#319) Variable "all_keys" must not contain underscores.
(#323) Inline comments must end in full-stops, exclamation marks, or question marks
(#326) Inline comments must start with a capital letter, digit or 3-dots sequence
(#326) Inline comments must end in full-stops, exclamation marks, or question marks
(#330) Variable "all_keys" must not contain underscores.
(#335) Variable "do_updates" must not contain underscores.
(#335) Inline comments must start with a capital letter, digit or 3-dots sequence
(#335) Inline comments must end in full-stops, exclamation marks, or question marks
(#346) Inline comments must end in full-stops, exclamation marks, or question marks
(#356) Expected 1 space before "=>"; 0 found
(#356) Expected 1 space after "=>"; 0 found
(#356) Expected 1 space before "=>"; 0 found
(#356) Expected 1 space after "=>"; 0 found
(#357) Inline comments must start with a capital letter, digit or 3-dots sequence
(#357) Inline comments must end in full-stops, exclamation marks, or question marks
(#363) Inline comments must end in full-stops, exclamation marks, or question marks
(#373) Inline comments must start with a capital letter, digit or 3-dots sequence
(#373) Inline comments must end in full-stops, exclamation marks, or question marks
(#375) Inline comments must start with a capital letter, digit or 3-dots sequence
(#375) Inline comments must end in full-stops, exclamation marks, or question marks
(#379) 3 slashes comments are not allowed; use "// Comment." instead
(#382) Inline comments must end in full-stops, exclamation marks, or question marks
(#388) Variable "add_users" must not contain underscores.
(#390) Variable "add_users" must not contain underscores.
(#391) Variable "add_users" must not contain underscores.
(#396) Inline comments must end in full-stops, exclamation marks, or question marks
(#402) Variable "add_users" must not contain underscores.
(#405) Inline comments must end in full-stops, exclamation marks, or question marks
(#410) Inline comments must start with a capital letter, digit or 3-dots sequence
(#411) Inline comments must end in full-stops, exclamation marks, or question marks
(#421) Expected 1 space before "=>"; 0 found
(#421) Expected 1 space after "=>"; 0 found
(#421) Expected 1 space before "=>"; 0 found
(#421) Expected 1 space after "=>"; 0 found
(#428) Inline comments must end in full-stops, exclamation marks, or question marks
(#435) Variable "add_users" must not contain underscores.
(#435) Inline comments must start with a capital letter, digit or 3-dots sequence
(#435) Inline comments must end in full-stops, exclamation marks, or question marks
(#458) Visibility must be declared on method "config_form"
(#458) Variable "user_fields" must not contain underscores.
(#472) Visibility must be declared on method "process_config"
(#473) Inline comments must end in full-stops, exclamation marks, or question marks
(#481) Line indented incorrectly; expected at least 12 spaces, found 9
(#589) 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

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

(24 errors, 0 warnings)

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

auth/ldap_syncplus/auth.php
(#33) Class auth_plugin_ldap_syncplus is not documented
(#64) Found comment starting with three or more slashes
(#75) 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
(#130) Found comment starting with three or more slashes
(#131) Found comment starting with three or more slashes
(#132) Found comment starting with three or more slashes
(#142) Found comment starting with three or more slashes
(#145) Found comment starting with three or more slashes
(#199) Found comment starting with three or more slashes
(#227) Found comment starting with three or more slashes
(#230) Found comment starting with three or more slashes
(#254) Found comment starting with three or more slashes
(#281) Found comment starting with three or more slashes
(#314) Found comment starting with three or more slashes
(#379) Found comment starting with three or more slashes
(#456) Phpdocs for function auth_plugin_ldap_syncplus::config_form has incomplete parameters list
(#469) 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/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]


Mustache template problems

(0 errors, 0 warnings)

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