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

(2 errors, 0 warnings)

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

blocks/courseexpiry/block_courseexpiry.php
(#52) global $PAGE cannot be used in block classes. Use $this->page.
blocks/courseexpiry/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

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

(16 errors, 0 warnings)

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

blocks/courseexpiry/block_courseexpiry.php
(#29) Class block_courseexpiry is not documented
(#30) Function block_courseexpiry::init is not documented
(#33) Function block_courseexpiry::get_content is not documented
(#64) Function block_courseexpiry::hide_header is not documented
(#67) Function block_courseexpiry::has_config is not documented
(#70) Function block_courseexpiry::instance_allow_multiple is not documented
(#17) No one-line description found in phpdocs for file
blocks/courseexpiry/classes/privacy/provider.php
(#30) Class provider is not documented
(#33) Function provider::get_metadata is not documented
(#41) Function provider::export_user_preferences is not documented
(#17) No one-line description found in phpdocs for file
blocks/courseexpiry/db/access.php
(#17) No one-line description found in phpdocs for file
blocks/courseexpiry/db/caches.php
(#17) No one-line description found in phpdocs for file
blocks/courseexpiry/lang/de/block_courseexpiry.php
(#17) No one-line description found in phpdocs for file
blocks/courseexpiry/lang/en/block_courseexpiry.php
(#17) No one-line description found in phpdocs for file
blocks/courseexpiry/version.php
(#17) No one-line description found in phpdocs for file

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

(1 errors, 0 warnings)

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

blocks/courseexpiry/templates/warning.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error

Gherkin .feature problems

(0 errors, 0 warnings)

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