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

(51 errors, 6 warnings)

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

auth/emailadmin/auth.php
(#226) Variable "user_fields" must not contain underscores.
(#308) Variable "admin_found" must not contain underscores.
(#316) Variable "send_list" must not contain underscores.
(#318) The use of function error_log() is forbidden
(#318) The use of function print_r() is forbidden
(#320) Variable "admin_found" must not contain underscores.
(#322) Variable "admin_found" must not contain underscores.
(#323) Variable "send_list" must not contain underscores.
(#331) Variable "send_list" must not contain underscores.
(#332) Variable "use_lang" must not contain underscores.
(#337) Variable "use_lang" must not contain underscores.
(#339) Variable "use_lang" must not contain underscores.
(#350) Variable "admin_found" must not contain underscores.
(#362) The use of function error_log() is forbidden
(#365) Variable "use_lang" must not contain underscores.
(#370) Variable "use_lang" must not contain underscores.
(#372) Variable "use_lang" must not contain underscores.
(#372) Line exceeds 132 characters; contains 136 characters
auth/emailadmin/classes/message.class.php
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) This comment is 100% valid code; is this commented out code?
(#28) No space found before comment text; expected "// require('../../config.php');" but found "//require('../../config.php');"
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Variable "lang_hack" must not contain underscores.
(#36) Variable "lang_hack" must not contain underscores.
(#37) Variable "lang_hack" must not contain underscores.
(#38) Variable "hack_backup" must not contain underscores.
(#39) Variable "hack_backup" must not contain underscores.
(#39) Variable "hack_backup_key" must not contain underscores.
(#39) Variable "hack_backup_value" must not contain underscores.
(#40) Variable "hack_backup" must not contain underscores.
(#40) Variable "hack_backup_key" must not contain underscores.
(#40) Variable "GLOBALS" must be all lower-case
(#40) Variable "hack_backup_key" must not contain underscores.
(#41) Variable "GLOBALS" must be all lower-case
(#41) Variable "hack_backup_key" must not contain underscores.
(#41) Variable "lang_hack" must not contain underscores.
(#43) Variable "use_lang" must not contain underscores.
(#44) Variable "hack_backup" must not contain underscores.
(#44) Variable "hack_backup_key" must not contain underscores.
(#44) Variable "hack_backup_value" must not contain underscores.
(#45) Variable "GLOBALS" must be all lower-case
(#45) Variable "hack_backup_key" must not contain underscores.
(#45) Variable "hack_backup_value" must not contain underscores.
(#51) Variable "use_lang" must not contain underscores.
(#56) Whitespace found at end of line
(#59) Whitespace found at end of line
(#64) Whitespace found at end of line
(#65) Variable "use_lang" must not contain underscores.
(#65) Must use "self::" for local static member reference
(#66) Variable "use_lang" must not contain underscores.
(#66) Line exceeds 132 characters; contains 152 characters
(#67) Whitespace found at end of line
(#72) Variable "use_lang" must not contain underscores.
(#74) Whitespace found at end of line
(#76) Whitespace found at end of line
(#78) Whitespace found at end of line

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

(18 errors, 0 warnings)

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

auth/emailadmin/auth.php
(#48) Function auth_plugin_emailadmin::auth_plugin_email is not documented
(#84) Function auth_plugin_emailadmin::can_signup is not documented
(#176) Function auth_plugin_emailadmin::prevent_local_passwords is not documented
(#224) Phpdocs for function auth_plugin_emailadmin::config_form has incomplete parameters list
(#230) Phpdocs for function auth_plugin_emailadmin::process_config has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#35) Class auth_plugin_emailadmin does not have @copyright tag
(#35) Class auth_plugin_emailadmin does not have @license tag
(#22) Package moodle multiauth is not valid
auth/emailadmin/classes/message.class.php
(#31) Class message is not documented
(#32) Function message::get_user_language is not documented
(#54) Function message::send_confirmation_email_user is not documented
(#20) Package moodle multiauth is not valid
auth/emailadmin/confirm.php
(#17) No one-line description found in phpdocs for file
(#21) Package core is not valid
auth/emailadmin/lang/en/auth_emailadmin.php
(#17) No one-line description found in phpdocs for file
auth/emailadmin/version.php
(#17) No one-line description found in phpdocs for file
(#21) 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]