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

(4 errors, 2 warnings)

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

blocks/unanswered_discussions/block_unanswered_discussions.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
(#160) Expected "} else {\n"; found "}\n else {\n"
blocks/unanswered_discussions/db/access.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/unanswered_discussions/edit_form.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
(#66) Expected "} else {\n"; found "}\n else {\n"
blocks/unanswered_discussions/version.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

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

(19 errors, 0 warnings)

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

blocks/unanswered_discussions/block_unanswered_discussions.php
(#27) Class block_unanswered_discussions is not documented
(#40) Function block_unanswered_discussions::init is not documented
(#45) Function block_unanswered_discussions::applicable_formats is not documented
(#50) Function block_unanswered_discussions::instance_allow_multiple is not documented
(#55) Function block_unanswered_discussions::has_config is not documented
(#60) Function block_unanswered_discussions::specialization is not documented
(#88) Function block_unanswered_discussions::get_data is not documented
(#189) Function block_unanswered_discussions::get_content is not documented
(#30) Variable block_unanswered_discussions::$defaultlimits is not documented
(#35) Variable block_unanswered_discussions::$maxsubjectlength is not documented
(#36) Variable block_unanswered_discussions::$maxshowoption is not documented
(#37) Variable block_unanswered_discussions::$querylimit is not documented
(#21) Package contrib is not valid
blocks/unanswered_discussions/db/access.php
(#21) Package contrib is not valid
blocks/unanswered_discussions/edit_form.php
(#27) Class block_unanswered_discussions_edit_form is not documented
(#29) Function block_unanswered_discussions_edit_form::specific_definition is not documented
(#21) Package contrib is not valid
blocks/unanswered_discussions/lang/en/block_unanswered_discussions.php
(#21) Package contrib is not valid
blocks/unanswered_discussions/version.php
(#21) Package contrib 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]


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]