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

(5 errors, 3 warnings)

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

blocks/engagement/block_engagement.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#65) Expected 1 space before "=="; 0 found
(#65) Expected 1 space after "=="; 0 found
blocks/engagement/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Functions must not contain multiple empty lines in a row; found 2 empty lines
blocks/engagement/renderer.php
(#54) Variable "display_value" must not contain underscores.

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

(14 errors, 1 warnings)

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

blocks/engagement/block_engagement.php
(#25) Class block_engagement is not documented
(#60) Function block_engagement::instance_can_be_hidden is not documented
(#64) Function block_engagement::instance_can_be_docked is not documented
(#20) Package blocks_engagement is not valid
blocks/engagement/db/upgrade.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block is not found
(#18) There is no description in phpdocs for function xmldb_block_engagement_upgrade
(#20) Phpdocs for function xmldb_block_engagement_upgrade has incomplete parameters list
(#18) Package is not specified for function xmldb_block_engagement_upgrade. It is also not specified in file-level phpdocs
blocks/engagement/lang/en/block_engagement.php
(#20) Package blocks_engagement is not valid
blocks/engagement/renderer.php
(#32) Function block_engagement_renderer::user_risk_list is not documented
(#27) Class block_engagement_renderer does not have @copyright tag
(#27) Class block_engagement_renderer does not have @license tag
(#20) Package blocks_engagement is not valid
blocks/engagement/version.php
(#20) Package blocks_engagement is not valid

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]


Mustache template problems

(0 errors, 0 warnings)

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