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

(2 errors, 0 warnings)

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

blocks/course_modulenavigation/block_course_modulenavigation.php
(#93) global $PAGE cannot be used in block classes. Use $this->page.
(#118) global $PAGE cannot be used in block classes. Use $this->page.

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)
(#27) Unexpected space before function parentheses. (space-before-function-paren)
(#38) '__dirname' is not defined. (no-undef)
(#41) 'process' is not defined. (no-undef)
(#73) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(1 errors, 0 warnings)

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

blocks/course_modulenavigation/styles.css
(#197) Expected single space after "+" (selector-combinator-space-after)

PHPDocs style problems

(2 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
(#439) Phpdocs for function block_course_modulenavigation::get_prev_next has incomplete parameters list
blocks/course_modulenavigation/renderer.php
(#42) Phpdocs for function block_course_modulenavigation_nav_renderer::render_nav has incomplete parameters list

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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]