Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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, 10 warnings)

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

admin/tool/resendnewaccountemail/classes/event/email_sent.php
(#18) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
admin/tool/resendnewaccountemail/classes/external/delete_task.php
(#39) Short array syntax must be used to define arrays
(#40) There should be a comma after the last array item in a multi-line array.
admin/tool/resendnewaccountemail/classes/form/dateselector.php
(#19) Missing @copyright tag
(#19) Missing @license tag
(#19) Missing docblock for class dateselector
(#21) Missing docblock for function definition
admin/tool/resendnewaccountemail/classes/task/sendemail.php
(#37) Missing docblock for function execute
(#41) Short array syntax must be used to define arrays
(#43) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#47) Logical operator "and" is prohibited; use "&&" instead
(#65) Line exceeds 132 characters; contains 141 characters
admin/tool/resendnewaccountemail/db/services.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <https://www.gnu.org/licenses/>.".
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
admin/tool/resendnewaccountemail/edit.php
(#49) Line exceeds 132 characters; contains 145 characters
admin/tool/resendnewaccountemail/index.php
(#43) There should be a comma after the last array item in a multi-line array.
(#53) Line exceeds 132 characters; contains 145 characters
admin/tool/resendnewaccountemail/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#27) Missing docblock for function tool_resendnewaccountemail_bulk_user_actions
admin/tool/resendnewaccountemail/resend.php
(#18) Whitespace found at end of line
(#51) Line exceeds 132 characters; contains 145 characters

Javascript coding style problems

(1 errors, 4 warnings)

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

admin/tool/resendnewaccountemail/amd/src/delete_task.js
(#41) Expected catch,fail,always() or return (promise/catch-or-return)
(#46) Each then() should return a value or throw (promise/always-return)
(#56) Avoid nesting promises. (promise/no-nesting)
(#56) Each then() should return a value or throw (promise/always-return)
(#58) Unexpected use of 'Notification'. (no-restricted-globals)

CSS problems

(0 errors, 0 warnings)

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


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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "eslint:amd" failed. Use --force to continue.

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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]