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

(0 errors, 1 warnings)

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

blocks/course_modulenavigation/classes/privacy/provider.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion

Javascript coding style problems

(3 errors, 2 warnings)

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

blocks/course_modulenavigation/Gruntfile.js
(#27) 'module' is not defined. (no-undef)
(#33) '__dirname' is not defined. (no-undef)
(#36) 'process' is not defined. (no-undef)
(#82) Unquoted reserved word 'import' used as key. (quote-props)
(#88) Unquoted reserved word 'import' used as key. (quote-props)

CSS problems

(0 errors, 1 warnings)

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

blocks/course_modulenavigation/styles.css
(#160) Expected line length to be no more than 132 characters (max-line-length)

PHPDocs style problems

(10 errors, 0 warnings)

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

blocks/course_modulenavigation/block_course_modulenavigation.php
(#320) Phpdocs for function block_course_modulenavigation::get_prev_next has incomplete parameters list
(#32) Class block_course_modulenavigation does not have @copyright tag
(#32) Class block_course_modulenavigation does not have @license tag
blocks/course_modulenavigation/classes/privacy/provider.php
(#31) Class provider is not documented
(#23) Invalid phpdocs tag @orignalauthor used
(#20) Package blocks/admin_presets is not valid
blocks/course_modulenavigation/edit_form.php
(#29) Class block_course_modulenavigation_edit_form does not have @copyright tag
(#29) Class block_course_modulenavigation_edit_form does not have @license tag
blocks/course_modulenavigation/renderer.php
(#31) Class block_course_modulenavigation_nav_renderer is not documented
(#35) Function block_course_modulenavigation_nav_renderer::render_nav 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, 2 warnings)

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

blocks/course_modulenavigation/templates/coursenav.mustache
(#1) Example context missing.
blocks/course_modulenavigation/templates/coursenav_onesection.mustache
(#1) Example context missing.