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

(14 errors, 15 warnings)

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

admin/tool/usersuspension/classes/config.php
(#37) Expected MOODLE_INTERNAL check or config.php inclusion
admin/tool/usersuspension/classes/event/user_suspended.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
admin/tool/usersuspension/classes/event/user_unsuspended.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
admin/tool/usersuspension/classes/exception.php
(#37) Expected MOODLE_INTERNAL check or config.php inclusion
admin/tool/usersuspension/classes/exclude/user/selector/current.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#47) Possible useless method overriding detected
admin/tool/usersuspension/classes/exclude/user/selector/potential.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
admin/tool/usersuspension/classes/exclusiontable.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
admin/tool/usersuspension/classes/forms/exclude/cohort.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#46) This comment is 50% valid code; is this commented out code?
admin/tool/usersuspension/classes/forms/exclude/user.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#62) This comment is 50% valid code; is this commented out code?
admin/tool/usersuspension/classes/forms/upload.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
admin/tool/usersuspension/classes/logtable.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
admin/tool/usersuspension/classes/processor/csv.php
(#37) Expected MOODLE_INTERNAL check or config.php inclusion
(#65) Whitespace found at end of line
admin/tool/usersuspension/classes/statustable.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#169) This comment is 50% valid code; is this commented out code?
(#194) This comment is 50% valid code; is this commented out code?
(#214) This comment is 50% valid code; is this commented out code?
(#233) This comment is 50% valid code; is this commented out code?
admin/tool/usersuspension/classes/task/logclean.php
(#38) Expected MOODLE_INTERNAL check or config.php inclusion
admin/tool/usersuspension/classes/task/suspend/deleteusers.php
(#38) Expected MOODLE_INTERNAL check or config.php inclusion
admin/tool/usersuspension/classes/task/suspend/fromfolder.php
(#39) Expected MOODLE_INTERNAL check or config.php inclusion
admin/tool/usersuspension/classes/task/suspend/mark.php
(#38) Expected MOODLE_INTERNAL check or config.php inclusion
admin/tool/usersuspension/classes/util.php
(#38) Expected MOODLE_INTERNAL check or config.php inclusion
(#645) Expected 1 space after "+"; newline found
(#649) Expected 1 space after "+"; newline found
admin/tool/usersuspension/version.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

(1 errors, 0 warnings)

This section shows CSS problems detected by csslint [More info]

admin/tool/usersuspension/styles.css
(#49) Expected a hex color but found '#00oo00' at line 49, col 12.

PHPDocs style problems

(0 errors, 0 warnings)

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


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]