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

(50 errors, 27 warnings)

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

auth/emailadmin/auth.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) 3 slashes comments are not allowed; use "// Comment." instead
(#16) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#31) PHP4 style constructors are not allowed; use "__construct()" instead
(#31) Visibility must be declared on method "auth_plugin_emailadmin"
(#44) Visibility must be declared on method "user_login"
(#46) Expected 1 space before "=>"; 0 found
(#46) Expected 1 space after "=>"; 0 found
(#46) Expected 1 space before "=>"; 0 found
(#46) Expected 1 space after "=>"; 0 found
(#62) Visibility must be declared on method "user_update_password"
(#67) Visibility must be declared on method "can_signup"
(#78) Visibility must be declared on method "user_signup"
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) 3 slashes comments are not allowed; use "// Comment." instead
(#89) Expected 1 space before "=>"; 0 found
(#89) Expected 1 space after "=>"; 0 found
(#93) Commas (,) must be followed by white space.
(#114) Visibility must be declared on method "can_confirm"
(#124) Visibility must be declared on method "user_confirm"
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Expected 1 space before "=>"; 0 found
(#136) Expected 1 space after "=>"; 0 found
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#147) Visibility must be declared on method "prevent_local_passwords"
(#156) Visibility must be declared on method "is_internal"
(#166) Visibility must be declared on method "can_change_password"
(#176) Visibility must be declared on method "change_password_url"
(#177) Inline comments must start with a capital letter, digit or 3-dots sequence
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) Visibility must be declared on method "can_reset_password"
(#197) Visibility must be declared on method "config_form"
(#197) Variable "user_fields" must not contain underscores.
(#198) "include" must be immediately followed by an open parenthesis
(#204) Visibility must be declared on method "process_config"
(#205) Inline comments must start with a capital letter, digit or 3-dots sequence
(#205) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) Inline comments must start with a capital letter, digit or 3-dots sequence
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#219) Visibility must be declared on method "is_captcha_enabled"
(#221) Line exceeds 132 characters; contains 136 characters
(#231) Visibility must be declared on method "send_confirmation_email_support"
(#233) Whitespace found at end of line
(#236) Whitespace found at end of line
(#236) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#244) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#245) Spaces must be used for alignment; tabs are not allowed
(#245) Tab found within whitespace
(#248) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Whitespace found at end of line
(#252) Whitespace found at end of line
(#254) Inline comments must start with a capital letter, digit or 3-dots sequence
(#254) Inline comments must end in full-stops, exclamation marks, or question marks
(#258) Whitespace found at end of line
(#259) Inline comments must end in full-stops, exclamation marks, or question marks
(#260) Whitespace found at end of line
(#261) Inline comments must start with a capital letter, digit or 3-dots sequence
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) No space found before comment text; expected "// directly email rather than using the messaging system to ensure its not routed to a popup or jabber" but found "//directly email rather than using the messaging system to ensure its not routed to a popup or jabber"
(#265) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) Visibility must be declared on method "list_custom_fields"
(#284) Expected "foreach (...) {\n"; found "foreach(...) {\n"
auth/emailadmin/confirm.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) No space found before comment text; expected "// directly email rather than using the messaging system to ensure its not routed to a popup or jabber" but found "//directly email rather than using the messaging system to ensure its not routed to a popup or jabber"
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
auth/emailadmin/lang/en/auth_emailadmin.php
(#2) The opening <?php tag must be followed by exactly one newline.
auth/emailadmin/version.php
(#31) 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

(16 errors, 3 warnings)

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

auth/emailadmin/auth.php
(#2) Empty line found after PHP open tag
(#67) Function auth_plugin_emailadmin::can_signup is not documented
(#147) Function auth_plugin_emailadmin::prevent_local_passwords is not documented
(#16) Found comment starting with three or more slashes
(#86) Found comment starting with three or more slashes
(#195) Phpdocs for function auth_plugin_emailadmin::config_form has incomplete parameters list
(#201) Phpdocs for function auth_plugin_emailadmin::process_config has incomplete parameters list
(#3) File-level phpdocs block does not have @copyright tag
(#23) Class auth_plugin_emailadmin does not have @copyright tag
(#23) Class auth_plugin_emailadmin does not have @license tag
(#6) Package moodle multiauth is not valid
auth/emailadmin/confirm.php
(#2) Empty line found after PHP open tag
(#31) Function send_confirmation_email_user is not documented
(#18) No one-line description found in phpdocs for file
(#22) Package core is not valid
auth/emailadmin/lang/en/auth_emailadmin.php
(#2) Empty line found after PHP open tag
(#18) 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]


Mustache template problems

(0 errors, 0 warnings)

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