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

(12 errors, 9 warnings)

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

auth/antihammer/auth.php
(#30) Expected 1 space before comment text but found 2; use block comment if you need indentation
auth/antihammer/blocked.php
(#29) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
auth/antihammer/classes/antihammer.php
(#41) Expected MOODLE_INTERNAL check or config.php inclusion
(#322) Expected 5 space(s) before asterisk; 1 found
(#323) Expected 5 space(s) before asterisk; 1 found
(#324) Expected 5 space(s) before asterisk; 1 found
(#325) Expected 5 space(s) before asterisk; 1 found
(#326) Expected 5 space(s) before asterisk; 1 found
(#327) Expected 5 space(s) before asterisk; 1 found
auth/antihammer/classes/config.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#101) Visibility must be declared on method "generate_callback_for"
auth/antihammer/classes/exception.php
(#41) Expected MOODLE_INTERNAL check or config.php inclusion
auth/antihammer/classes/logcleaner.php
(#41) Expected MOODLE_INTERNAL check or config.php inclusion
(#63) Line exceeds 132 characters; contains 133 characters
auth/antihammer/classes/logmessage.php
(#41) Expected MOODLE_INTERNAL check or config.php inclusion
auth/antihammer/classes/messaging.php
(#41) Expected MOODLE_INTERNAL check or config.php inclusion
auth/antihammer/classes/table.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
auth/antihammer/renderer.php
(#39) Expected MOODLE_INTERNAL check or config.php inclusion
(#187) Expected 1 space after "?"; newline found
auth/antihammer/settings.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

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

(2 errors, 0 warnings)

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

auth/antihammer/classes/config.php
(#17) File-level phpdocs block is not found
(#101) Function config::generate_callback_for is not documented

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]