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
(#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.
(#285) Inline comments must end in full-stops, exclamation marks, or question marks
(#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.
(#309) Commas (,) must be followed by white space.
(#309) Line exceeds 132 characters; contains 154 characters
(#309) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) Expected 1 space before "=>"; 0 found
(#312) Expected 1 space after "=>"; 0 found
(#312) Expected 1 space before "=>"; 0 found
(#312) Expected 1 space after "=>"; 0 found
(#312) Line exceeds 132 characters; contains 133 characters
(#317) Inline comments must end in full-stops, exclamation marks, or question marks
(#318) Expected "} else {\n"; found "}\n // Otherwise inform about ongoing grace period\n else {\n"
(#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
(#666) Visibility must be declared on method "loginpage_hook"
(#666) Expected 1 space after closing parenthesis; found 0
(#669) Inline comments must end in full-stops, exclamation marks, or question marks
(#671) Inline comments must end in full-stops, exclamation marks, or question marks
(#675) 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
(#680) Inline comments must end in full-stops, exclamation marks, or question marks
(#684) Inline comments must end in full-stops, exclamation marks, or question marks
(#687) 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
(#693) Line exceeds maximum limit of 180 characters; contains 205 characters
(#694) Line exceeds 132 characters; contains 174 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
(#701) Inline comments must end in full-stops, exclamation marks, or question marks
(#704) Line exceeds 132 characters; contains 143 characters
(#704) Inline comments must end in full-stops, exclamation marks, or question marks
(#706) 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
(#712) Line exceeds 132 characters; contains 137 characters
(#714) Inline comments must end in full-stops, exclamation marks, or question marks
(#717) Inline comments must end in full-stops, exclamation marks, or question marks
(#720) Inline comments must end in full-stops, exclamation marks, or question marks
(#722) Inline comments must end in full-stops, exclamation marks, or question marks
(#728) 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_result" must not contain underscores.
(#733) Expected "} else {\n"; found "}\n else {\n"
(#734) Inline comments must end in full-stops, exclamation marks, or question marks
(#735) Variable "ldap_result" must not contain underscores.
(#738) Inline comments must end in full-stops, exclamation marks, or question marks
(#739) Variable "ldap_result" must not contain underscores.
(#743) Inline comments must end in full-stops, exclamation marks, or question marks
(#744) Variable "ldap_result" must not contain underscores.
(#746) Inline comments must end in full-stops, exclamation marks, or question marks
(#747) Variable "ldap_result" must not contain underscores.
(#748) Inline comments must end in full-stops, exclamation marks, or question marks
(#752) Inline comments must end in full-stops, exclamation marks, or question marks
(#753) Variable "ldap_entry" must not contain underscores.
(#753) Variable "ldap_result" must not contain underscores.
(#754) 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) Variable "ldap_entry" must not contain underscores.
(#761) Line exceeds 132 characters; contains 152 characters
(#761) Inline comments must end in full-stops, exclamation marks, or question marks
(#763) Inline comments must end in full-stops, exclamation marks, or question marks
(#767) Inline comments must end in full-stops, exclamation marks, or question marks
(#770) Variable "ldap_result" must not contain underscores.
(#770) Inline comments must end in full-stops, exclamation marks, or question marks
(#773) Line exceeds 132 characters; contains 151 characters
(#773) Inline comments must end in full-stops, exclamation marks, or question marks
(#775) Inline comments must end in full-stops, exclamation marks, or question marks
(#778) Inline comments must end in full-stops, exclamation marks, or question marks
(#779) 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"
(#781) 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
(#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
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]