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

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

blocks/alerts/block_alerts.php
(#20) Whitespace found at end of line
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Member variable "POSTALERTSORDER" must be all lower-case
blocks/alerts/edit_form.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#42) Variable "POSTALERTSORDER" must be all lower-case
blocks/alerts/settings.php
(#28) Variable "block_alerts_maxalerts" must not contain underscores.
(#37) Variable "block_alerts_maxalerts" must not contain underscores.
(#40) Variable "block_alerts_orderbyoptions" must not contain underscores.
(#41) Variable "POSTALERTSORDER" must be all lower-case
(#42) Variable "block_alerts_orderbyoptions" must not contain underscores.
(#48) Variable "block_alerts_orderbyoptions" must not contain underscores.
blocks/alerts/version.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) No space found before comment text; expected "// Maturity" but found "//Maturity"

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(11 errors, 0 warnings)

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

blocks/alerts/block_alerts.php
(#17) File-level phpdocs block is not found
(#36) Function block_alerts::applicable_formats is not documented
(#40) Function block_alerts::has_config is not documented
(#44) Function block_alerts::instance_allow_config is not documented
(#48) Function block_alerts::specialization is not documented
(#180) Function block_alerts::render_alert is not documented
(#194) Function block_alerts::render_alerts is not documented
(#27) Variable block_alerts::$POSTALERTSORDER is not documented
(#17) No one-line description found in phpdocs for class block_alerts
blocks/alerts/edit_form.php
(#26) Class block_alerts_edit_form is not documented
(#28) Function block_alerts_edit_form::specific_definition 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]