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

(10 errors, 2 warnings)

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

blocks/simple_clock/block_simple_clock.php
(#27) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#142) Expected "if (...) {\n"; found "if(...) {\n"
(#145) Expected "} else {\n"; found "}\n else {\n"
(#151) Expected "} else {\n"; found "}\n else {\n"
(#174) Expected "} else {\n"; found "}\n else {\n"
(#197) Expected "} else {\n"; found "}\n else {\n"
blocks/simple_clock/db/access.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/simple_clock/edit_form.php
(#27) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#44) Expected 1 space after "=>"; newline found
(#46) Expected 1 space after "=>"; newline found
(#48) Expected 1 space after "=>"; newline found
blocks/simple_clock/version.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(0 errors, 3 warnings)

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

blocks/simple_clock/module.js
(#43) Implied eval. Consider passing a function instead of a string.
(#65) Expected '===' and instead saw '=='.
(#1) Missing semicolon.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(6 errors, 0 warnings)

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

blocks/simple_clock/block_simple_clock.php
(#21) Package contrib is not valid
blocks/simple_clock/db/access.php
(#21) Package contrib is not valid
blocks/simple_clock/edit_form.php
(#37) Function block_simple_clock_edit_form::specific_definition is not documented
(#21) Package contrib is not valid
blocks/simple_clock/lang/en/block_simple_clock.php
(#21) Package contrib is not valid
blocks/simple_clock/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]


Mustache template problems

(0 errors, 0 warnings)

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