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

(129 errors, 41 warnings)

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

auth/ldap_syncplus/auth.php
(#68) Visibility must be declared on method "sync_users"
(#68) Variable "do_updates" must not contain underscores.
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) 3 slashes comments are not allowed; use "// Comment." instead
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) 4 slashes comments are not allowed; use "// Comment." instead
(#88) 4 slashes comments are not allowed; use "// Comment." instead
(#89) 4 slashes comments are not allowed; use "// Comment." instead
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Variable "ldap_pagedresults" must not contain underscores.
(#100) Variable "ldap_cookie" must not contain underscores.
(#108) Variable "ldap_pagedresults" must not contain underscores.
(#109) Variable "ldap_cookie" must not contain underscores.
(#113) Variable "ldap_result" must not contain underscores.
(#116) Variable "ldap_result" must not contain underscores.
(#118) Expected "if (...) {\n"; found "if(...) {\n"
(#118) Variable "ldap_result" must not contain underscores.
(#121) Variable "ldap_pagedresults" must not contain underscores.
(#122) Variable "ldap_result" must not contain underscores.
(#122) Variable "ldap_cookie" must not contain underscores.
(#124) Variable "ldap_result" must not contain underscores.
(#132) Variable "ldap_result" must not contain underscores.
(#133) Variable "ldap_pagedresults" must not contain underscores.
(#133) Variable "ldap_cookie" must not contain underscores.
(#133) Variable "ldap_cookie" must not contain underscores.
(#138) Variable "ldap_pagedresults" must not contain underscores.
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) 3 slashes comments are not allowed; use "// Comment." instead
(#144) 3 slashes comments are not allowed; use "// Comment." instead
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) 3 slashes comments are not allowed; use "// Comment." instead
(#153) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) 3 slashes comments are not allowed; use "// Comment." instead
(#158) 3 slashes comments are not allowed; use "// Comment." instead
(#169) Variable "remove_users" must not contain underscores.
(#169) Expected 1 space before "=>"; 0 found
(#169) Expected 1 space after "=>"; 0 found
(#171) Variable "remove_users" must not contain underscores.
(#172) Variable "remove_users" must not contain underscores.
(#174) Variable "remove_users" must not contain underscores.
(#176) Expected 1 space before "=>"; 0 found
(#176) Expected 1 space after "=>"; 0 found
(#176) Expected 1 space before "=>"; 0 found
(#176) Expected 1 space after "=>"; 0 found
(#176) Line exceeds 132 characters; contains 133 characters
(#184) Variable "remove_users" must not contain underscores.
(#194) Variable "remove_users" must not contain underscores.
(#194) Expected 1 space before "=>"; 0 found
(#194) Expected 1 space after "=>"; 0 found
(#196) Variable "remove_users" must not contain underscores.
(#197) Variable "remove_users" must not contain underscores.
(#199) Variable "remove_users" must not contain underscores.
(#204) Expected 1 space before "=>"; 0 found
(#204) Expected 1 space after "=>"; 0 found
(#204) Expected 1 space before "=>"; 0 found
(#204) Expected 1 space after "=>"; 0 found
(#210) Variable "remove_users" must not contain underscores.
(#213) Inline comments must end in full-stops, exclamation marks, or question marks
(#213) 3 slashes comments are not allowed; use "// Comment." instead
(#220) Variable "revive_users" must not contain underscores.
(#222) Variable "revive_users" must not contain underscores.
(#223) Variable "revive_users" must not contain underscores.
(#225) Variable "revive_users" must not contain underscores.
(#231) Expected 1 space before "=>"; 0 found
(#231) Expected 1 space after "=>"; 0 found
(#231) Expected 1 space before "=>"; 0 found
(#231) Expected 1 space after "=>"; 0 found
(#237) Variable "revive_users" must not contain underscores.
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#241) 3 slashes comments are not allowed; use "// Comment." instead
(#242) Expected "} else if (...) {\n"; found "}\n\n /// Grace Period Synchronisation\n else if (...) {\n"
(#244) Inline comments must end in full-stops, exclamation marks, or question marks
(#244) 3 slashes comments are not allowed; use "// Comment." instead
(#250) Variable "revive_users" must not contain underscores.
(#252) Variable "revive_users" must not contain underscores.
(#253) Variable "revive_users" must not contain underscores.
(#255) Variable "revive_users" must not contain underscores.
(#261) Expected 1 space before "=>"; 0 found
(#261) Expected 1 space after "=>"; 0 found
(#261) Expected 1 space before "=>"; 0 found
(#261) Expected 1 space after "=>"; 0 found
(#266) Variable "revive_users" must not contain underscores.
(#268) Inline comments must end in full-stops, exclamation marks, or question marks
(#268) 3 slashes comments are not allowed; use "// Comment." instead
(#276) Variable "remove_users" must not contain underscores.
(#276) Expected 1 space before "=>"; 0 found
(#276) Expected 1 space after "=>"; 0 found
(#278) Variable "remove_users" must not contain underscores.
(#279) Variable "remove_users" must not contain underscores.
(#281) Variable "remove_users" must not contain underscores.
(#287) Expected 1 space before "=>"; 0 found
(#287) Expected 1 space after "=>"; 0 found
(#287) Expected 1 space before "=>"; 0 found
(#287) Expected 1 space after "=>"; 0 found
(#293) Variable "remove_users" must not contain underscores.
(#295) Inline comments must end in full-stops, exclamation marks, or question marks
(#295) 3 slashes comments are not allowed; use "// Comment." instead
(#302) Variable "remove_users" must not contain underscores.
(#302) Expected 1 space before "=>"; 0 found
(#302) Expected 1 space after "=>"; 0 found
(#304) Variable "remove_users" must not contain underscores.
(#305) Variable "remove_users" must not contain underscores.
(#307) Variable "remove_users" must not contain underscores.
(#308) Inline comments must end in full-stops, exclamation marks, or question marks
(#313) Expected 1 space before "=>"; 0 found
(#313) Expected 1 space after "=>"; 0 found
(#313) Expected 1 space before "=>"; 0 found
(#313) Expected 1 space after "=>"; 0 found
(#313) Line exceeds 132 characters; contains 133 characters
(#319) Expected 1 space before "=>"; 0 found
(#319) Expected 1 space after "=>"; 0 found
(#319) Expected 1 space before "=>"; 0 found
(#319) Expected 1 space after "=>"; 0 found
(#319) Expected 1 space before "=>"; 0 found
(#319) Expected 1 space after "=>"; 0 found
(#319) Line exceeds 132 characters; contains 166 characters
(#325) Variable "remove_users" must not contain underscores.
(#328) Inline comments must end in full-stops, exclamation marks, or question marks
(#328) 3 slashes comments are not allowed; use "// Comment." instead
(#329) Variable "do_updates" must not contain underscores.
(#330) Inline comments must end in full-stops, exclamation marks, or question marks
(#331) Variable "all_keys" must not contain underscores.
(#333) Variable "all_keys" must not contain underscores.
(#337) Inline comments must end in full-stops, exclamation marks, or question marks
(#340) Inline comments must start with a capital letter, digit or 3-dots sequence
(#340) Inline comments must end in full-stops, exclamation marks, or question marks
(#347) Variable "all_keys" must not contain underscores.
(#351) Variable "do_updates" must not contain underscores.
(#351) Inline comments must start with a capital letter, digit or 3-dots sequence
(#351) Inline comments must end in full-stops, exclamation marks, or question marks
(#362) Inline comments must end in full-stops, exclamation marks, or question marks
(#375) Expected "} else {\n"; found "}\n else {\n"
(#378) Expected 1 space before "=>"; 0 found
(#378) Expected 1 space after "=>"; 0 found
(#378) Expected 1 space before "=>"; 0 found
(#378) Expected 1 space after "=>"; 0 found
(#378) Line exceeds 132 characters; contains 136 characters
(#381) Inline comments must end in full-stops, exclamation marks, or question marks
(#391) Inline comments must start with a capital letter, digit or 3-dots sequence
(#391) Inline comments must end in full-stops, exclamation marks, or question marks
(#393) Inline comments must start with a capital letter, digit or 3-dots sequence
(#393) Inline comments must end in full-stops, exclamation marks, or question marks
(#397) 3 slashes comments are not allowed; use "// Comment." instead
(#400) Inline comments must end in full-stops, exclamation marks, or question marks
(#406) Variable "add_users" must not contain underscores.
(#408) Variable "add_users" must not contain underscores.
(#409) Variable "add_users" must not contain underscores.
(#414) Inline comments must end in full-stops, exclamation marks, or question marks
(#420) Variable "add_users" must not contain underscores.
(#423) Inline comments must end in full-stops, exclamation marks, or question marks
(#428) Inline comments must start with a capital letter, digit or 3-dots sequence
(#429) Inline comments must end in full-stops, exclamation marks, or question marks
(#445) Expected 1 space before "=>"; 0 found
(#445) Expected 1 space after "=>"; 0 found
(#445) Expected 1 space before "=>"; 0 found
(#445) Expected 1 space after "=>"; 0 found
(#452) Inline comments must end in full-stops, exclamation marks, or question marks
(#459) Variable "add_users" must not contain underscores.
(#459) Inline comments must start with a capital letter, digit or 3-dots sequence
(#459) Inline comments must end in full-stops, exclamation marks, or question marks
(#482) Visibility must be declared on method "config_form"
(#482) Variable "user_fields" must not contain underscores.
(#496) Visibility must be declared on method "process_config"
(#497) Inline comments must end in full-stops, exclamation marks, or question marks
(#505) Line indented incorrectly; expected at least 12 spaces, found 9
(#619) Inline comments must end in full-stops, exclamation marks, or question marks
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

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 stylelint [More info]


PHPDocs style problems

(19 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
(#76) Found comment starting with three or more slashes
(#87) Found comment starting with three or more slashes
(#88) Found comment starting with three or more slashes
(#89) Found comment starting with three or more slashes
(#143) Found comment starting with three or more slashes
(#144) Found comment starting with three or more slashes
(#145) Found comment starting with three or more slashes
(#155) Found comment starting with three or more slashes
(#158) Found comment starting with three or more slashes
(#213) Found comment starting with three or more slashes
(#241) Found comment starting with three or more slashes
(#244) Found comment starting with three or more slashes
(#268) Found comment starting with three or more slashes
(#295) Found comment starting with three or more slashes
(#328) Found comment starting with three or more slashes
(#397) Found comment starting with three or more slashes
(#480) Phpdocs for function auth_plugin_ldap_syncplus::config_form has incomplete parameters list
(#493) Phpdocs for function auth_plugin_ldap_syncplus::process_config 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

(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]