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

(11 errors, 12 warnings)

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

blocks/advnotifications/block_advnotifications.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Opening brace should be on the same line as the declaration for class block_advnotifications
(#172) File must end with a newline character
blocks/advnotifications/classes/base_table.php
(#226) File must end with a newline character
blocks/advnotifications/classes/event/notification_created.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/advnotifications/classes/event/notification_deleted.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/advnotifications/classes/event/notification_updated.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#74) Line exceeds 132 characters; contains 148 characters
(#75) Line exceeds 132 characters; contains 144 characters
blocks/advnotifications/classes/notifications_table.php
(#76) File must end with a newline character
blocks/advnotifications/classes/privacy/provider.php
(#40) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/advnotifications/classes/restore_table.php
(#73) File must end with a newline character
blocks/advnotifications/classes/task/advnotifications.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/advnotifications/db/access.php
(#77) File must end with a newline character
blocks/advnotifications/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#108) File must end with a newline character
blocks/advnotifications/edit_form.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#87) File must end with a newline character
blocks/advnotifications/locallib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/advnotifications/renderer.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Opening brace should be on the same line as the declaration for class block_advnotifications_renderer
(#243) File must end with a newline character
blocks/advnotifications/settings.php
(#140) File must end with a newline character

Javascript coding style problems

(3 errors, 0 warnings)

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

blocks/advnotifications/Gruntfile.js
(#45) @package should be empty. (jsdoc/empty-tags)
blocks/advnotifications/amd/src/custom.js
(#3) @package should be empty. (jsdoc/empty-tags)
blocks/advnotifications/amd/src/notif.js
(#3) @package should be empty. (jsdoc/empty-tags)

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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 3 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]

blocks/advnotifications/db/upgrade.php
Database modifications (new tables or columns) detected in the patch without any change to some important areas.
No changes detected to external functions, that may affect apps and other web service integrations, please verify!
No changes detected to backup and restore, that may affect storage and transportability, please verify!

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]